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

Converts the LabelObjects of a LabelMap to a differente type of LabelObejct. More...

#include <itkConvertLabelMapFilter.h>

Inheritance diagram for itk::ConvertLabelMapFilter< TInputImage, TOutputImage >:
Collaboration diagram for itk::ConvertLabelMapFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef OutputImageType::IndexType IndexType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef
InputImageType::LabelObjectType 
LabelObjectType
typedef
OutputImageType::ConstPointer 
OutputImageConstPointer
typedef OutputImageType::PixelType OutputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef TOutputImage OutputImageType
typedef
OutputImageType::LabelObjectType 
OutputLabelObjectType
typedef SmartPointer< SelfPointer
typedef ConvertLabelMapFilter Self
typedef LabelMapFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension

Protected Member Functions

 ConvertLabelMapFilter ()
virtual void GenerateData ()
 ~ConvertLabelMapFilter ()

Private Member Functions

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

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::ConvertLabelMapFilter< TInputImage, TOutputImage >

Converts the LabelObjects of a LabelMap to a differente type of LabelObejct.

The LabelObjects are copied and not simply dynamically casted so the filter ensures that the type of the label objects are of the type specified with TOutputImage.

Author:
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.

This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176

See also:
LabelMapToBinaryImageFilter, LabelMapMaskImageFilter

Definition at line 43 of file itkConvertLabelMapFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::ConstPointer

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 51 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::IndexType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::IndexType

Definition at line 66 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::ConstPointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImageConstPointer

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 57 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::PixelType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImagePixelType

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 59 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::Pointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImagePointer

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 56 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::RegionType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImageRegionType

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 58 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef TInputImage itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImageType

Some convenient typedefs.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 54 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::LabelObjectType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::LabelObjectType

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 60 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::ConstPointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageConstPointer

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 63 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::PixelType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImagePixelType

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 65 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::Pointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImagePointer

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 62 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::RegionType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageRegionType

Superclass typedefs.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 64 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef TOutputImage itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 55 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::LabelObjectType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputLabelObjectType

Definition at line 67 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::Pointer

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 50 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef ConvertLabelMapFilter itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 48 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
typedef LabelMapFilter< TInputImage, TOutputImage > itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::Superclass

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 49 of file itkConvertLabelMapFilter.h.


Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::ConvertLabelMapFilter ( ) [inline, protected]

Definition at line 81 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::~ConvertLabelMapFilter ( ) [inline, protected]

Definition at line 82 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::ConvertLabelMapFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::ConvertLabelMapFilter< 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::LabelMapFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual void itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::GenerateData ( ) [protected, virtual]

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual const char* itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Runtime information support.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
static Pointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::New ( ) [static]

Standard New method.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::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::LabelMapFilter< TInputImage, TOutputImage >.


Member Data Documentation

template<class TInputImage , class TOutputImage >
const unsigned int itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static]

ImageDimension constants

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 70 of file itkConvertLabelMapFilter.h.

template<class TInputImage , class TOutputImage >
const unsigned int itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static]

ImageDimension constants

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 71 of file itkConvertLabelMapFilter.h.


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