63 #ifndef __GIPL_IMAGE_H 64 # define __GIPL_IMAGE_H 83 Image(
const int num_voxels,
const short data_type_case);
104 float m_matrixElements[12];
113 char m_orientationFlag;
128 float m_pixval_offset;
140 unsigned int m_magic_number;
146 int ParametersDimension;
162 short vDownsample[3];
183 void ByteSwap(
int* i);
184 void ByteSwap(
short* s);
185 void ByteSwap(
float* f);
186 void ByteSwap(
double* d);
void GetMinMaxValue()
Get minimum and maximum gray values in image.
Definition: GIPL_ImageFormat.cxx:247
void Initialize(Image *Input, short type)
Initialize image data by with the dimension of the input image.
Definition: GIPL_ImageFormat.cxx:556
void Zeros()
Initialize zero image.
Definition: GIPL_ImageFormat.cxx:493
void GiplWrite(const char *filename)
Write image data to GIPL output file.
Definition: GIPL_ImageFormat.cxx:319
void WriteGiplHeader(std::fstream *myFile)
Write GIPL header to output file.
Definition: GIPL_ImageFormat.cxx:388
void ReadGiplHeader(std::fstream *myFile)
Read GIPL header.
Definition: GIPL_ImageFormat.cxx:283
void Ones(Image *Input, short type)
Initialize one image.
Definition: GIPL_ImageFormat.cxx:525
void ByteSwapHeader()
Swap bytes (little/big endian conversion).
Definition: GIPL_ImageFormat.cxx:422
void Copy(Image *Input, short type)
Copy image.
Definition: GIPL_ImageFormat.cxx:650
Reading and writing gipl files.
Definition: GIPL_ImageFormat.h:79
void GiplRead(char *filename)
Read data from GIPL filename.
Definition: GIPL_ImageFormat.cxx:130