30 #ifndef __itkAnalyzeImageIO_h
31 #define __itkAnalyzeImageIO_h
114 virtual bool CanReadFile(
const char *FileNameToRead);
117 virtual void ReadImageInformation();
120 virtual void Read(
void *buffer);
130 virtual bool CanWriteFile(
const char *FileNameToWrite);
133 virtual void WriteImageInformation();
137 virtual void Write(
const void *buffer);
140 virtual std::vector< double > GetDirection(
unsigned int i)
const;
144 virtual std::vector< double > GetDefaultDirection(
unsigned int i)
const;
149 void PrintSelf(std::ostream & os,
Indent indent)
const;
185 } ValidAnalyzeOrientationFlags;
188 void operator=(
const Self &);
190 void SwapBytesIfNecessary(
void *buffer, SizeType numberOfPixels);
198 void SwapHeaderBytesIfNecessary(
struct dsr *
const imageheader);
205 void DefineHeaderObjectDataType(
void);
207 #if defined( REORIENT_IMAGES )
208 void ReorientIfNecessary(
char *p);
210 struct ipl_dimensions {
211 unsigned int slicestride;
212 unsigned int rowstride;
213 unsigned int componentstride; x
214 unsigned int pixelsize;
228 void GetAllDimensions(ipl_dimensions & dim);
230 ipl_dimensions m_OldDim, m_NewDim;
257 #endif // __itkAnalyzeImageIO_h