ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkStreamingImageFilter.h>
Pipeline object to control data streaming for large data processing.
StreamingImageFilter is a pipeline object that allows the user to control how data is pulled through the pipeline. To generate its OutputRequestedRegion, this filter will divide the output into several pieces (controlled by SetNumberOfStreamDivisions), and call the upstream pipeline for each piece, tiling the individual outputs into one large output. This reduces the memory footprint for the application since each filter does not have to process the entire dataset at once. This filter will produce the entire output as one image, but the upstream filters will do their processing in pieces.
Definition at line 44 of file itkStreamingImageFilter.h.
typedef SmartPointer< const Self > itk::StreamingImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 51 of file itkStreamingImageFilter.h.
typedef Superclass::DataObjectPointer itk::StreamingImageFilter< TInputImage, TOutputImage >::DataObjectPointer |
Smart Pointer type to a DataObject.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 69 of file itkStreamingImageFilter.h.
typedef InputImageType::PixelType itk::StreamingImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkStreamingImageFilter.h.
typedef InputImageType::Pointer itk::StreamingImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 61 of file itkStreamingImageFilter.h.
typedef InputImageType::RegionType itk::StreamingImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 62 of file itkStreamingImageFilter.h.
typedef TInputImage itk::StreamingImageFilter< TInputImage, TOutputImage >::InputImageType |
Some typedefs for the input and output.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkStreamingImageFilter.h.
typedef OutputImageType::PixelType itk::StreamingImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 68 of file itkStreamingImageFilter.h.
typedef OutputImageType::Pointer itk::StreamingImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 66 of file itkStreamingImageFilter.h.
typedef OutputImageType::RegionType itk::StreamingImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 67 of file itkStreamingImageFilter.h.
typedef TOutputImage itk::StreamingImageFilter< TInputImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 65 of file itkStreamingImageFilter.h.
typedef SmartPointer< Self > itk::StreamingImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 50 of file itkStreamingImageFilter.h.
typedef SplitterType::Pointer itk::StreamingImageFilter< TInputImage, TOutputImage >::RegionSplitterPointer |
Definition at line 81 of file itkStreamingImageFilter.h.
typedef StreamingImageFilter itk::StreamingImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 48 of file itkStreamingImageFilter.h.
typedef ImageRegionSplitter< itkGetStaticConstMacro(InputImageDimension) > itk::StreamingImageFilter< TInputImage, TOutputImage >::SplitterType |
SmartPointer to a region splitting object
Definition at line 80 of file itkStreamingImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::StreamingImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 49 of file itkStreamingImageFilter.h.
itk::StreamingImageFilter< TInputImage, TOutputImage >::StreamingImageFilter | ( | ) | [protected] |
End concept checking
itk::StreamingImageFilter< TInputImage, TOutputImage >::~StreamingImageFilter | ( | ) | [protected] |
End concept checking
itk::StreamingImageFilter< TInputImage, TOutputImage >::StreamingImageFilter | ( | const StreamingImageFilter< TInputImage, TOutputImage > & | ) | [private] |
virtual::itk::LightObject::Pointer itk::StreamingImageFilter< TInputImage, 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 const char* itk::StreamingImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual const unsigned int& itk::StreamingImageFilter< TInputImage, TOutputImage >::GetNumberOfStreamDivisions | ( | ) | [virtual] |
Get the number of pieces to divide the input. The upstream pipeline will be executed this many times.
virtual SplitterType* itk::StreamingImageFilter< TInputImage, TOutputImage >::GetRegionSplitter | ( | ) | [virtual] |
Get the helper class for dividing the input into chunks.
static Pointer itk::StreamingImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::StreamingImageFilter< TInputImage, TOutputImage >::operator= | ( | const StreamingImageFilter< TInputImage, TOutputImage > & | ) | [private] |
void itk::StreamingImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual void itk::StreamingImageFilter< TInputImage, TOutputImage >::PropagateRequestedRegion | ( | DataObject * | output | ) | [virtual] |
Override PropagateRequestedRegion from ProcessObject Since inside UpdateOutputData we iterate over streaming pieces we don't need to proapage up the pipeline
Reimplemented from itk::ProcessObject.
virtual void itk::StreamingImageFilter< TInputImage, TOutputImage >::SetNumberOfStreamDivisions | ( | unsigned int | _arg | ) | [virtual] |
Set the number of pieces to divide the input. The upstream pipeline will be executed this many times.
virtual void itk::StreamingImageFilter< TInputImage, TOutputImage >::SetRegionSplitter | ( | SplitterType * | _arg | ) | [virtual] |
Set the helper class for dividing the input into chunks.
itk::StreamingImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::SameDimension< InputImageDimension, OutputImageDimension > | ) |
Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, OutputImageDimension > )
itk::StreamingImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< InputImagePixelType, OutputImagePixelType > | ) |
This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< InputImagePixelType, OutputImagePixelType > )
virtual void itk::StreamingImageFilter< TInputImage, TOutputImage >::UpdateOutputData | ( | DataObject * | output | ) | [virtual] |
Override UpdateOutputData() from ProcessObject to divide upstream updates into pieces. This filter does not have a GenerateData() or ThreadedGenerateData() method. Instead, all the work is done in UpdateOutputData() since it must update a little, execute a little, update some more, execute some more, etc.
Reimplemented from itk::ProcessObject.
const unsigned int itk::StreamingImageFilter< TInputImage, TOutputImage >::InputImageDimension = InputImageType::ImageDimension [static] |
Dimension of input image.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 73 of file itkStreamingImageFilter.h.
unsigned int itk::StreamingImageFilter< TInputImage, TOutputImage >::m_NumberOfStreamDivisions [private] |
Definition at line 132 of file itkStreamingImageFilter.h.
RegionSplitterPointer itk::StreamingImageFilter< TInputImage, TOutputImage >::m_RegionSplitter [private] |
Definition at line 133 of file itkStreamingImageFilter.h.
const unsigned int itk::StreamingImageFilter< TInputImage, TOutputImage >::OutputImageDimension = OutputImageType::ImageDimension [static] |
Dimension of input image.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 75 of file itkStreamingImageFilter.h.