ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageSeriesReader.h>
Data source that reads image data from a series of disk files.
This class builds an n-dimension image from multiple n-1 dimension image files. The files stored in a vector of strings are read using the ImageFileReader. File format may vary between the files, but the image data must have the same Size for all dimensions.
Definition at line 44 of file itkImageSeriesReader.h.
typedef const DictionaryArrayType* itk::ImageSeriesReader< TOutputImage >::DictionaryArrayRawPointer |
Definition at line 74 of file itkImageSeriesReader.h.
typedef std::vector< DictionaryRawPointer > itk::ImageSeriesReader< TOutputImage >::DictionaryArrayType |
Definition at line 73 of file itkImageSeriesReader.h.
typedef MetaDataDictionary* itk::ImageSeriesReader< TOutputImage >::DictionaryRawPointer |
Definition at line 72 of file itkImageSeriesReader.h.
typedef MetaDataDictionary itk::ImageSeriesReader< TOutputImage >::DictionaryType |
The pixel type of the output image.
Definition at line 71 of file itkImageSeriesReader.h.
typedef std::vector< std::string > itk::ImageSeriesReader< TOutputImage >::FileNamesContainer |
Definition at line 76 of file itkImageSeriesReader.h.
typedef TOutputImage::RegionType itk::ImageSeriesReader< TOutputImage >::ImageRegionType |
The region of the output image.
Definition at line 65 of file itkImageSeriesReader.h.
typedef TOutputImage::IndexType itk::ImageSeriesReader< TOutputImage >::IndexType |
The index of the output image.
Definition at line 62 of file itkImageSeriesReader.h.
typedef TOutputImage::PixelType itk::ImageSeriesReader< TOutputImage >::OutputImagePixelType |
The pixel type of the output image.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 68 of file itkImageSeriesReader.h.
typedef SmartPointer< Self > itk::ImageSeriesReader< TOutputImage >::Pointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 50 of file itkImageSeriesReader.h.
typedef ImageFileReader< TOutputImage > itk::ImageSeriesReader< TOutputImage >::ReaderType [private] |
Definition at line 196 of file itkImageSeriesReader.h.
typedef ImageSeriesReader itk::ImageSeriesReader< TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 48 of file itkImageSeriesReader.h.
typedef TOutputImage::SizeType itk::ImageSeriesReader< TOutputImage >::SizeType |
The size of the output image.
Definition at line 56 of file itkImageSeriesReader.h.
typedef ImageSource< TOutputImage > itk::ImageSeriesReader< TOutputImage >::Superclass |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 49 of file itkImageSeriesReader.h.
itk::ImageSeriesReader< TOutputImage >::ImageSeriesReader | ( | ) | [inline, protected] |
Set the stream On or Off
Definition at line 162 of file itkImageSeriesReader.h.
itk::ImageSeriesReader< TOutputImage >::~ImageSeriesReader | ( | ) | [protected] |
Set the stream On or Off
itk::ImageSeriesReader< TOutputImage >::ImageSeriesReader | ( | const Self & | ) | [private] |
void itk::ImageSeriesReader< TOutputImage >::AddFileName | ( | std::string const & | name | ) | [inline] |
Add a single filename to the list of files. To add a vector of filenames, use the AddFileNames method.
Definition at line 107 of file itkImageSeriesReader.h.
int itk::ImageSeriesReader< TOutputImage >::ComputeMovingDimensionIndex | ( | ReaderType * | reader | ) | [private] |
virtual::itk::LightObject::Pointer itk::ImageSeriesReader< TOutputImage >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
virtual void itk::ImageSeriesReader< TOutputImage >::EnlargeOutputRequestedRegion | ( | DataObject * | output | ) | [virtual] |
Give the reader a chance to indicate that it will produce more output than it was requested to produce. ImageSeriesReader cannot currently read a portion of an image (since the ImageIO objects cannot read a portion of an image), so the ImageSeriesReader must enlarge the RequestedRegion to the size of the image on disk.
Reimplemented from itk::ProcessObject.
virtual void itk::ImageSeriesReader< TOutputImage >::GenerateData | ( | ) | [protected, virtual] |
Does the real work.
Reimplemented from itk::ImageSource< TOutputImage >.
virtual void itk::ImageSeriesReader< TOutputImage >::GenerateOutputInformation | ( | void | ) | [virtual] |
Prepare the allocation of the output image during the first back propagation of the pipeline.
Reimplemented from itk::ProcessObject.
const FileNamesContainer& itk::ImageSeriesReader< TOutputImage >::GetFileNames | ( | ) | const [inline] |
Definition at line 90 of file itkImageSeriesReader.h.
virtual ImageIOBase* itk::ImageSeriesReader< TOutputImage >::GetImageIO | ( | ) | [virtual] |
Set/Get the ImageIO helper class. By default, the ImageSeriesReader uses the factory mechanism of the ImageFileReader to determine the file type. This method can be used to specify which IO to use.
DictionaryArrayRawPointer itk::ImageSeriesReader< TOutputImage >::GetMetaDataDictionaryArray | ( | ) | const |
Get access to the Array of MetaDataDictionaries which are updated in the GenerateData methods
virtual bool itk::ImageSeriesReader< TOutputImage >::GetMetaDataDictionaryArrayUpdate | ( | ) | const [virtual] |
virtual const char* itk::ImageSeriesReader< TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageSource< TOutputImage >.
virtual bool itk::ImageSeriesReader< TOutputImage >::GetReverseOrder | ( | ) | const [virtual] |
ReverseOrderOn changes the order of travesal of the file names from last to first
virtual const bool& itk::ImageSeriesReader< TOutputImage >::GetUseStreaming | ( | ) | [virtual] |
Set the stream On or Off
virtual void itk::ImageSeriesReader< TOutputImage >::MetaDataDictionaryArrayUpdateOff | ( | ) | [virtual] |
virtual void itk::ImageSeriesReader< TOutputImage >::MetaDataDictionaryArrayUpdateOn | ( | ) | [virtual] |
static Pointer itk::ImageSeriesReader< TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::ImageSeriesReader< TOutputImage >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::ImageSource< TOutputImage >.
void itk::ImageSeriesReader< TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Set the stream On or Off
Reimplemented from itk::ProcessObject.
virtual void itk::ImageSeriesReader< TOutputImage >::ReverseOrderOff | ( | ) | [virtual] |
ReverseOrderOn changes the order of travesal of the file names from last to first
virtual void itk::ImageSeriesReader< TOutputImage >::ReverseOrderOn | ( | ) | [virtual] |
ReverseOrderOn changes the order of travesal of the file names from last to first
void itk::ImageSeriesReader< TOutputImage >::SetFileName | ( | std::string const & | name | ) | [inline] |
Set the first file name to be processed. This deletes previous filenames.
Definition at line 97 of file itkImageSeriesReader.h.
void itk::ImageSeriesReader< TOutputImage >::SetFileNames | ( | const FileNamesContainer & | name | ) | [inline] |
Set the vector of strings that contains the file names. Files are processed in sequential order.
Definition at line 80 of file itkImageSeriesReader.h.
virtual void itk::ImageSeriesReader< TOutputImage >::SetImageIO | ( | ImageIOBase * | _arg | ) | [virtual] |
Set/Get the ImageIO helper class. By default, the ImageSeriesReader uses the factory mechanism of the ImageFileReader to determine the file type. This method can be used to specify which IO to use.
virtual void itk::ImageSeriesReader< TOutputImage >::SetMetaDataDictionaryArrayUpdate | ( | bool | _arg | ) | [virtual] |
Set/Get MetaDataDictionaryArrayUpdate enables the updating of the MetaDataDictionaryArray.
By default this is enabled. It may be advantageous to disable this feature when streaming, if this array is not need, as it may redure the number of times each file is read.
virtual void itk::ImageSeriesReader< TOutputImage >::SetReverseOrder | ( | bool | _arg | ) | [virtual] |
ReverseOrderOn changes the order of travesal of the file names from last to first
virtual void itk::ImageSeriesReader< TOutputImage >::SetUseStreaming | ( | bool | _arg | ) | [virtual] |
Set the stream On or Off
virtual void itk::ImageSeriesReader< TOutputImage >::UseStreamingOff | ( | ) | [virtual] |
Set the stream On or Off
virtual void itk::ImageSeriesReader< TOutputImage >::UseStreamingOn | ( | ) | [virtual] |
Set the stream On or Off
FileNamesContainer itk::ImageSeriesReader< TOutputImage >::m_FileNames [protected] |
A list of filenames to be processed.
Definition at line 178 of file itkImageSeriesReader.h.
ImageIOBase::Pointer itk::ImageSeriesReader< TOutputImage >::m_ImageIO [protected] |
The image format, 0 will use the factory mechnism.
Definition at line 172 of file itkImageSeriesReader.h.
DictionaryArrayType itk::ImageSeriesReader< TOutputImage >::m_MetaDataDictionaryArray [protected] |
Array of MetaDataDictionaries. This allows to hold information from the ImageIO objects after reading every sub image in the series
Definition at line 189 of file itkImageSeriesReader.h.
TimeStamp itk::ImageSeriesReader< TOutputImage >::m_MetaDataDictionaryArrayMTime [private] |
Modified time of the MetaDataDictionaryArray
Definition at line 201 of file itkImageSeriesReader.h.
bool itk::ImageSeriesReader< TOutputImage >::m_MetaDataDictionaryArrayUpdate [private] |
Indicated if the MMDA should be updated
Definition at line 204 of file itkImageSeriesReader.h.
unsigned int itk::ImageSeriesReader< TOutputImage >::m_NumberOfDimensionsInImage [protected] |
The number of independent variables in the images that comprise the series. This is also used as the slice moving dimension index for the output image. That is for reading a series of 2D images into a 3D image, the moving dimension index is 2.
Definition at line 185 of file itkImageSeriesReader.h.
bool itk::ImageSeriesReader< TOutputImage >::m_ReverseOrder [protected] |
Select the traversal order.
Definition at line 175 of file itkImageSeriesReader.h.
bool itk::ImageSeriesReader< TOutputImage >::m_UseStreaming [protected] |
Definition at line 191 of file itkImageSeriesReader.h.