i3d::ImageReader Class Reference
[Image input/output methods]
#include <imgfiles.h>
Inheritance diagram for i3d::ImageReader:

Public Member Functions | |
ImageReader () | |
constructor | |
ImageReader (const char *fname, VOI< size_t > *voi=NULL) | |
constructor | |
virtual | ~ImageReader () |
destructor | |
virtual size_t | GetFileNames (std::vector< std::string > &fl) |
get the image files name associtated to this image | |
ImgVoxelType | GetVoxelType () |
get image voxel type | |
Vector3d< size_t > | GetDim () |
get the image dimension | |
Offset | GetOffset () |
get offet of the image | |
void | ChooseChannel (int chan) |
choose the channel for reading | |
Vector3d< float > * | GetResolution () |
get the image resolution | |
virtual void | LoadImageInfo ()=0 |
load image header | |
virtual void | LoadImageData (GRAY8 *data)=0 |
load gray8 image data | |
virtual void | LoadImageData (BINARY *data)=0 |
load binary image data | |
virtual void | LoadImageData (RGB *data)=0 |
load rgb image data | |
virtual void | LoadImageData (GRAY16 *data)=0 |
load gray16 image data | |
virtual void | LoadImageData (RGB16 *data)=0 |
load rgb16 image data | |
virtual void | LoadImageData (float *data) |
load float data - empty function | |
virtual void | LoadImageData (double *data) |
load float data - empty function | |
virtual void | LoadImageData (int *data) |
load int data - empty function | |
virtual void | LoadImageData (Vector3d< float > *data) |
load Vector3d<float> data - empty function | |
virtual void | LoadImageData (Vector3d< double > *data) |
load Vector3d<double> data - empty function | |
Protected Attributes | |
ImageFileHeader | header |
image file header structure instantiation | |
VOI< size_t > * | crop |
Detailed Description
General (abstract) object for reading image file formats
Member Function Documentation
size_t i3d::ImageReader::GetFileNames | ( | std::vector< std::string > & | fl | ) | [virtual] |
get the image files name associtated to this image
return the count of files
Reimplemented in i3d::SequenceReader, i3d::I3DReader, i3d::ICSReader, and i3d::METAIOReader.
Member Data Documentation
VOI<size_t>* i3d::ImageReader::crop [protected] |
Request to read only specific part of the image. In general, this is not supported in all image formats. Here, it will be defined in selected formats only.
The documentation for this class was generated from the following files:
- imgfiles.h
- imgfiles.cc