ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions
itk::ImageToVectorImageFilter< TInputImage > Class Template Reference

This class takes as input 'n' itk::Image's and composes them into a single itk::VectorImage. More...

#include <itkImageToVectorImageFilter.h>

Inheritance diagram for itk::ImageToVectorImageFilter< TInputImage >:
Collaboration diagram for itk::ImageToVectorImageFilter< TInputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef Superclass::InputImageType InputImageType
typedef VectorImage< PixelType,
itkGetStaticConstMacro(Dimension) > 
OutputImageType
typedef
TInputImage::InternalPixelType 
PixelType
typedef SmartPointer< SelfPointer
typedef
Superclass::InputImageRegionType 
RegionType
typedef ImageToVectorImageFilter Self
typedef ImageToImageFilter
< TInputImage, OutputImageType
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual void SetNthInput (unsigned int idx, const InputImageType *inputImage)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int Dimension = TInputImage::ImageDimension

Protected Member Functions

virtual void BeforeThreadedGenerateData ()
virtual void GenerateOutputInformation (void)
 ImageToVectorImageFilter ()
virtual void SetNthInput (unsigned int num, DataObject *input)
virtual void ThreadedGenerateData (const RegionType &outputRegionForThread, ThreadIdType)

Private Member Functions

 ImageToVectorImageFilter (const Self &)
void operator= (const Self &)

Detailed Description

template<class TInputImage>
class itk::ImageToVectorImageFilter< TInputImage >

This class takes as input 'n' itk::Image's and composes them into a single itk::VectorImage.

Inputs and Usage
    filter->SetInput( 0, image0 );
    filter->SetInput( 1, image1 );
    ...
    filter->Update();
    itk::VectorImage< PixelType, dimension >::Pointer = filter->GetOutput();
All input images are expected to have the same template parameters and have the same size and origin.
See also:
VectorImage
Wiki Examples:

Definition at line 52 of file itkImageToVectorImageFilter.h.


Member Typedef Documentation

template<class TInputImage >
typedef SmartPointer< const Self > itk::ImageToVectorImageFilter< TInputImage >::ConstPointer
template<class TInputImage >
typedef Superclass::InputImageType itk::ImageToVectorImageFilter< TInputImage >::InputImageType
template<class TInputImage >
typedef VectorImage< PixelType, itkGetStaticConstMacro(Dimension) > itk::ImageToVectorImageFilter< TInputImage >::OutputImageType
template<class TInputImage >
typedef TInputImage::InternalPixelType itk::ImageToVectorImageFilter< TInputImage >::PixelType

Definition at line 67 of file itkImageToVectorImageFilter.h.

template<class TInputImage >
typedef SmartPointer< Self > itk::ImageToVectorImageFilter< TInputImage >::Pointer
template<class TInputImage >
typedef Superclass::InputImageRegionType itk::ImageToVectorImageFilter< TInputImage >::RegionType

Definition at line 75 of file itkImageToVectorImageFilter.h.

template<class TInputImage >
typedef ImageToVectorImageFilter itk::ImageToVectorImageFilter< TInputImage >::Self
template<class TInputImage >
typedef ImageToImageFilter< TInputImage, OutputImageType > itk::ImageToVectorImageFilter< TInputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage >
itk::ImageToVectorImageFilter< TInputImage >::ImageToVectorImageFilter ( ) [protected]

Begin concept checking End concept checking

template<class TInputImage >
itk::ImageToVectorImageFilter< TInputImage >::ImageToVectorImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage >
virtual void itk::ImageToVectorImageFilter< TInputImage >::BeforeThreadedGenerateData ( void  ) [protected, virtual]

If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.

Reimplemented from itk::ImageSource< VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.

template<class TInputImage >
virtual::itk::LightObject::Pointer itk::ImageToVectorImageFilter< TInputImage >::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.

template<class TInputImage >
virtual void itk::ImageToVectorImageFilter< TInputImage >::GenerateOutputInformation ( void  ) [protected, virtual]

Generate the information decribing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented from itk::ProcessObject.

template<class TInputImage >
virtual const char* itk::ImageToVectorImageFilter< TInputImage >::GetNameOfClass ( ) const [virtual]
template<class TInputImage >
static Pointer itk::ImageToVectorImageFilter< TInputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage >
void itk::ImageToVectorImageFilter< TInputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::ImageToImageFilter< TInputImage, VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.

template<class TInputImage >
virtual void itk::ImageToVectorImageFilter< TInputImage >::SetNthInput ( unsigned int  num,
DataObject input 
) [inline, protected, virtual]

Definition at line 95 of file itkImageToVectorImageFilter.h.

template<class TInputImage >
virtual void itk::ImageToVectorImageFilter< TInputImage >::SetNthInput ( unsigned int  idx,
const InputImageType inputImage 
) [inline, virtual]

Definition at line 77 of file itkImageToVectorImageFilter.h.

template<class TInputImage >
virtual void itk::ImageToVectorImageFilter< TInputImage >::ThreadedGenerateData ( const RegionType outputRegionForThread,
ThreadIdType   
) [protected, virtual]

Member Data Documentation

template<class TInputImage >
const unsigned int itk::ImageToVectorImageFilter< TInputImage >::Dimension = TInputImage::ImageDimension [static]

Definition at line 65 of file itkImageToVectorImageFilter.h.


The documentation for this class was generated from the following file: