ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageToVectorImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImageType | InputImageType |
typedef VectorImage< PixelType, itkGetStaticConstMacro(Dimension) > | OutputImageType |
typedef TInputImage::InternalPixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
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 &) |
This class takes as input 'n' itk::Image's and composes them into a single itk::VectorImage.
filter->SetInput( 0, image0 ); filter->SetInput( 1, image1 ); ... filter->Update(); itk::VectorImage< PixelType, dimension >::Pointer = filter->GetOutput();
Definition at line 52 of file itkImageToVectorImageFilter.h.
typedef SmartPointer< const Self > itk::ImageToVectorImageFilter< TInputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 61 of file itkImageToVectorImageFilter.h.
typedef Superclass::InputImageType itk::ImageToVectorImageFilter< TInputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 73 of file itkImageToVectorImageFilter.h.
typedef VectorImage< PixelType, itkGetStaticConstMacro(Dimension) > itk::ImageToVectorImageFilter< TInputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 69 of file itkImageToVectorImageFilter.h.
typedef TInputImage::InternalPixelType itk::ImageToVectorImageFilter< TInputImage >::PixelType |
Definition at line 67 of file itkImageToVectorImageFilter.h.
typedef SmartPointer< Self > itk::ImageToVectorImageFilter< TInputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 60 of file itkImageToVectorImageFilter.h.
typedef Superclass::InputImageRegionType itk::ImageToVectorImageFilter< TInputImage >::RegionType |
Definition at line 75 of file itkImageToVectorImageFilter.h.
typedef ImageToVectorImageFilter itk::ImageToVectorImageFilter< TInputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 59 of file itkImageToVectorImageFilter.h.
typedef ImageToImageFilter< TInputImage, OutputImageType > itk::ImageToVectorImageFilter< TInputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
Definition at line 71 of file itkImageToVectorImageFilter.h.
itk::ImageToVectorImageFilter< TInputImage >::ImageToVectorImageFilter | ( | ) | [protected] |
Begin concept checking End concept checking
itk::ImageToVectorImageFilter< TInputImage >::ImageToVectorImageFilter | ( | const Self & | ) | [private] |
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 > >.
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.
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.
virtual const char* itk::ImageToVectorImageFilter< TInputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, VectorImage< TInputImage::InternalPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >.
static Pointer itk::ImageToVectorImageFilter< TInputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
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 > >.
virtual void itk::ImageToVectorImageFilter< TInputImage >::SetNthInput | ( | unsigned int | idx, |
const InputImageType * | inputImage | ||
) | [inline, virtual] |
Definition at line 77 of file itkImageToVectorImageFilter.h.
virtual void itk::ImageToVectorImageFilter< TInputImage >::SetNthInput | ( | unsigned int | num, |
DataObject * | input | ||
) | [inline, protected, virtual] |
Definition at line 95 of file itkImageToVectorImageFilter.h.
virtual void itk::ImageToVectorImageFilter< TInputImage >::ThreadedGenerateData | ( | const RegionType & | outputRegionForThread, |
ThreadIdType | |||
) | [protected, virtual] |
const unsigned int itk::ImageToVectorImageFilter< TInputImage >::Dimension = TInputImage::ImageDimension [static] |
Definition at line 65 of file itkImageToVectorImageFilter.h.