19#ifndef rtkXimImageIO_h
20#define rtkXimImageIO_h
28#if defined(_MSC_VER) && (_MSC_VER < 1600)
66 Int4 dCompressionIndicator;
68 Int4 compressedPixelBufferSize;
69 Int4 unCompressedPixelBufferSize;
73 Int4 numberOfProperties;
74 unsigned int nPixelOffset;
83 double dIDUResolutionX;
84 double dIDUResolutionY;
85 double dImageResolutionX;
86 double dImageResolutionY;
91 double dCTProjectionAngle;
92 double dDetectorOffsetX;
93 double dDetectorOffsetY;
94 double dCTNormChamber;
95 double dGatingTimeTag;
96 double dGating4DInfoX;
97 double dGating4DInfoY;
98 double dGating4DInfoZ;
135 Write(
const void * buffer)
override;
138 template <
typename T>
Abstract superclass defines image IO interface.
Implements transparent reference counting.
bool CanWriteFile(const char *filename) override
itk::SmartPointer< Self > Pointer
itk::ImageIOBase Superclass
void ReadImageInformation() override
signed short int PixelType
void Write(const void *buffer) override
virtual void WriteImageInformation(bool)
void Read(void *buffer) override
bool CanReadFile(const char *FileNameToRead) override
struct xim_header { char sFileType[32]; Int4 FileVersion; Int4 SizeX; Int4 SizeY; Int4 dBitsPerPixel; Int4 dBytesPerPixel; Int4 dCompressionIndicator; Int4 lookUpTableSize; Int4 compressedPixelBufferSize; Int4 unCompressedPixelBufferSize; Int4 binsInHistogram; Int4 * histogramData; Int4 numberOfProperties; unsigned int nPixelOffset; double dCollX1; double dCollX2; double dCollY1; double dCollY2; double dCollRtn; double dCouchVrt; double dCouchLng; double dCouchLat; double dIDUResolutionX; double dIDUResolutionY; double dImageResolutionX; double dImageResolutionY; double dEnergy; double dDoseRate; double dXRayKV; double dXRayMA; double dCTProjectionAngle; double dDetectorOffsetX; double dDetectorOffsetY; double dCTNormChamber; double dGatingTimeTag; double dGating4DInfoX; double dGating4DInfoY; double dGating4DInfoZ; } Xim_header
vcl_size_t SetPropertyValue(char *property_name, Int4 value_length, FILE *fp, Xim_header *xim)
void WriteImageInformation() override