2 ***********************************************************
3 $SNARK_Header: S N A R K 1 4 - A PICTURE RECONSTRUCTION PROGRAM $
4 $HeadURL: svn://dig.cs.gc.cuny.edu/snark/trunk/src/snark/projfile.h $
5 $LastChangedRevision: 80 $
6 $Date: 2014-07-01 21:01:54 -0400 (Tue, 01 Jul 2014) $
8 ***********************************************************
23 #include "DIGFileSnarkProj.h"
25 extern class SnarkPrjFile: private DIGFileSnarkProj
29 unsigned INTEGER NumberOfRays; // usrays
30 unsigned INTEGER NumberOfProjections; // prjnum
31 char Angles, Reading, Writing;
37 INTEGER Open(const char* FileName);INTEGER Open(const char* FileName, INTEGER usrays, INTEGER prjnum);
39 INTEGER ReadHeader(char* name, Noise_class* Noise, spctrm_class* Spct, anglst_class* Anglst);
41 INTEGER ReadProj(INTEGER np, REAL* data, unsigned INTEGER nsize);
43 INTEGER WriteHeader(char* name, Geometry_class* Geo, Noise_class* Noise, spctrm_class* Spct);
45 INTEGER WriteAngles(REAL* bth);INTEGER WriteProj(INTEGER np, REAL* iprjec);