NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
ITK IO class to load INRIA image format. More...
Public Types | |
typedef INRImageIO | Self |
typedef ImageIOBase | Superclass |
typedef SmartPointer< Self > | Pointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual bool | CanReadFile (const char *) override |
virtual void | ReadImageInformation () override |
virtual void | Read (void *buffer) override |
virtual bool | ReadHeader () |
virtual void | ReadVolume (void *buffer) |
virtual unsigned int | GetComponentSize () const override |
virtual bool | CanWriteFile (const char *) override |
virtual void | WriteImageInformation () override |
virtual void | Write (const void *buffer) override |
Static Public Member Functions | |
static Pointer | New () |
Public Attributes | |
unsigned int | m_pixelSize |
Protected Member Functions | |
INRImageIO () | |
virtual | ~INRImageIO () |
virtual bool | GetParamFromHeader (char *headerPtr, const char *variableToFind, const char *patternToFind, int *target) |
virtual bool | GetParamFromHeader (char *headerPtr, const char *variableToFind, const char *patternToFind, char *target) |
virtual bool | GetParamFromHeader (char *headerPtr, const char *variableToFind, const char *patternToFind, float *target) |
virtual bool | GetParamFromHeader (char *headerPtr, const char *variableToFind, const char *patternToFind, int *target, int defaultValue) |
virtual bool | GetParamFromHeader (char *headerPtr, const char *variableToFind, const char *patternToFind, unsigned int *target, unsigned int defaultValue) |
virtual bool | GetParamFromHeader (char *headerPtr, const char *variableToFind, const char *patternToFind, float *target, float defaultValue) |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | WriteSlice (std::string &fileName, const void *buffer) |
void | SwapBytesIfNecessary (void *buffer, unsigned long numberOfPixels) |
ITK IO class to load INRIA image format.
typedef SmartPointer<Self> itk::INRImageIO::Pointer |
typedef INRImageIO itk::INRImageIO::Self |
Standard class typedefs.
typedef ImageIOBase itk::INRImageIO::Superclass |
|
protected |
|
protectedvirtual |
|
overridevirtual |
Determine the file type. Returns true if this ImageIO can read the file specified.
|
overridevirtual |
Determine the file type. Returns true if this ImageIO can read the file specified.
|
virtual |
Run-time type information (and related methods).
|
overridevirtual |
Compute the size (in bytes) of the components of a pixel. For example, and RGB pixel of unsigned char would have a component size of 1 byte.
|
protectedvirtual |
Get an integer field from the header
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
static |
Method for creation through the object factory.
|
overrideprotected |
Reads the data from disk into the memory buffer provided.
|
virtual |
Read header and setup data
|
overridevirtual |
Set the spacing and diemention information for the set filename.
Reads 3D data from multiple files assuming one slice per file.
|
protected |
Warning this code is stole from DicomImageIO.cxx
Writes the data to disk from the memory buffer provided. Make sure that the IORegion has been set properly.
Writes the spacing and dimentions of the image. Assumes SetFileName has been called with a valid file name.
|
protected |
unsigned int itk::INRImageIO::m_pixelSize |