NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Class that defines how to read Nifti file format. Nifti IMAGE FILE FORMAT - As much information as I can determine from sourceforge.net/projects/Niftilib. More...
Public Types | |
typedef NiftiImageIO3201 | Self |
typedef ImageIOBase | Superclass |
typedef SmartPointer< Self > | Pointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual bool | CanReadFile (const char *FileNameToRead) override |
virtual void | ReadImageInformation () override |
virtual void | Read (void *buffer) override |
virtual bool | CanWriteFile (const char *FileNameToWrite) override |
virtual void | WriteImageInformation () override |
virtual void | Write (const void *buffer) override |
virtual ImageIORegion | GenerateStreamableReadRegionFromRequestedRegion (const ImageIORegion &requestedRegion) const override |
virtual void | SetLegacyAnalyze75Mode (bool _arg) |
virtual bool | GetLegacyAnalyze75Mode () const |
virtual bool | SupportsDimension (unsigned long dim) override |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
NiftiImageIO3201 () | |
~NiftiImageIO3201 () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual bool | GetUseLegacyModeForTwoFileWriting (void) const |
Class that defines how to read Nifti file format. Nifti IMAGE FILE FORMAT - As much information as I can determine from sourceforge.net/projects/Niftilib.
typedef SmartPointer<Self> itk::NiftiImageIO3201::Pointer |
Standard class typedefs.
typedef ImageIOBase itk::NiftiImageIO3201::Superclass |
|
protected |
|
protected |
|
overridevirtual |
Determine if the file can be read with this ImageIO implementation.
FileNameToRead | The name of the file to test for reading. |
|
overridevirtual |
Determine if the file can be written with this ImageIO implementation.
FileNameToWrite | The name of the file to test for writing. |
|
overridevirtual |
Calculate the region of the image that can be efficiently read in response to a given requested region.
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
inlineprotectedvirtual |
|
static |
Method for creation through the object factory.
|
overrideprotected |
Reads the data from disk into the memory buffer provided.
|
overridevirtual |
Set the spacing and dimension information for the set filename.
|
virtual |
A mode to allow the Nifti filter to read and write to the LegacyAnalyze75 format as interpreted by the nifti library maintainers. This format does not properly respect the file orientation fields. The itkAnalyzeImageIO file reader/writer should be used to match the Analyze75 file definitions as specified by the Mayo Clinic BIR laboratory. By default this is set to false.
|
overridevirtual |
Supports dimensions 2, 3 and 4. The same fix is applied by the MITK in their internal (not exposed) NIfTI reader.
Writes the data to disk from the memory buffer provided. Make sure that the IORegions has been set properly.
Write the image Information before writing data
Image intent is vector image
Set the spacing and dimension information for the set filename.
For Nifti this does not write a file, it only fills in the appropriate header information.