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::LabelMapToLabelImageFilter< TInputImage, TOutputImage > Class Template Reference

Converts a LabelMap to a labeled image. More...

#include <itkLabelMapToLabelImageFilter.h>

Inheritance diagram for itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >:
Collaboration diagram for itk::LabelMapToLabelImageFilter< 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 SmartPointer< SelfPointer
typedef LabelMapToLabelImageFilter Self
typedef LabelMapFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
 typedef (Concept::SameDimension< InputImageDimension, OutputImageDimension >) SameDimensionCheck

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

virtual void BeforeThreadedGenerateData ()
 LabelMapToLabelImageFilter ()
virtual void ThreadedProcessLabelObject (LabelObjectType *labelObject)
 ~LabelMapToLabelImageFilter ()

Private Member Functions

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

Detailed Description

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

Converts a LabelMap to a labeled image.

LabelMapToBinaryImageFilter to a label image.

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
Wiki Examples:

Definition at line 46 of file itkLabelMapToLabelImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef OutputImageType::IndexType itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::IndexType

Definition at line 69 of file itkLabelMapToLabelImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::ConstPointer itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::InputImageConstPointer
template<class TInputImage , class TOutputImage >
typedef InputImageType::PixelType itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::InputImagePixelType
template<class TInputImage , class TOutputImage >
typedef InputImageType::Pointer itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::InputImagePointer
template<class TInputImage , class TOutputImage >
typedef InputImageType::RegionType itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::InputImageRegionType
template<class TInputImage , class TOutputImage >
typedef TInputImage itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::InputImageType

Some convenient typedefs.

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

Definition at line 57 of file itkLabelMapToLabelImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::LabelObjectType itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::LabelObjectType
template<class TInputImage , class TOutputImage >
typedef OutputImageType::ConstPointer itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::OutputImageConstPointer
template<class TInputImage , class TOutputImage >
typedef OutputImageType::PixelType itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::OutputImagePixelType
template<class TInputImage , class TOutputImage >
typedef OutputImageType::Pointer itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::OutputImagePointer
template<class TInputImage , class TOutputImage >
typedef OutputImageType::RegionType itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::OutputImageRegionType

Superclass typedefs.

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

Definition at line 67 of file itkLabelMapToLabelImageFilter.h.

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

Some convenient typedefs.

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

Definition at line 58 of file itkLabelMapToLabelImageFilter.h.

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

Standard class typedefs.

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

Definition at line 51 of file itkLabelMapToLabelImageFilter.h.

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

Constructor & Destructor Documentation

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

Definition at line 88 of file itkLabelMapToLabelImageFilter.h.

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

Member Function Documentation

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

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::LabelMapToLabelImageFilter< 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 const char* itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Runtime information support.

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

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

Standard New method.

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

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

template<class TInputImage , class TOutputImage >
virtual void itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::ThreadedProcessLabelObject ( LabelObjectType labelObject) [protected, virtual]
template<class TInputImage , class TOutputImage >
itk::LabelMapToLabelImageFilter< TInputImage, TOutputImage >::typedef ( Concept::SameDimension< InputImageDimension, OutputImageDimension )

This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, OutputImageDimension > )


Member Data Documentation

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

ImageDimension constants

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

Definition at line 72 of file itkLabelMapToLabelImageFilter.h.

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

ImageDimension constants

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

Definition at line 73 of file itkLabelMapToLabelImageFilter.h.


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