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];
177 void Zeros(Image* Input,
short type);
179 void Ones(Image* Input,
short type);
180 void Copy(Image* Input,
short type);
183 void ByteSwap(
int* i);
184 void ByteSwap(
short* s);
185 void ByteSwap(
float* f);
186 void ByteSwap(
double* d);
void Copy(Image *Input, short type)
Copy image.
Definition GIPL_ImageFormat.cxx:650
void GetMinMaxValue()
Get minimum and maximum gray values in image.
Definition GIPL_ImageFormat.cxx:247
void ByteSwapHeader()
Swap bytes (little/big endian conversion).
Definition GIPL_ImageFormat.cxx:422
void GiplRead(char *filename)
Read data from GIPL filename.
Definition GIPL_ImageFormat.cxx:130
void Initialize(Image *Input, short type)
Initialize image data by with the dimension of the input image.
Definition GIPL_ImageFormat.cxx:556
void ReadGiplHeader(std::fstream *myFile)
Read GIPL header.
Definition GIPL_ImageFormat.cxx:283
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 Ones(Image *Input, short type)
Initialize one image.
Definition GIPL_ImageFormat.cxx:525