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

Convert a LabelMap to a colored image. More...

#include <itkLabelMapToRGBImageFilter.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Functor::LabelToRGBFunctor
< InputImagePixelType,
OutputImagePixelType
FunctorType
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 LabelMapToRGBImageFilter 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

virtual void BeforeThreadedGenerateData ()
virtual void GenerateOutputInformation ()
 LabelMapToRGBImageFilter ()
virtual void ThreadedProcessLabelObject (LabelObjectType *labelObject)
 ~LabelMapToRGBImageFilter ()

Private Member Functions

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

Detailed Description

template<class TInputImage, class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
class itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >

Convert a LabelMap to a colored 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

Definition at line 43 of file itkLabelMapToRGBImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef SmartPointer<const Self> itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef Functor::LabelToRGBFunctor< InputImagePixelType, OutputImagePixelType > itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::FunctorType

Definition at line 68 of file itkLabelMapToRGBImageFilter.h.

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef OutputImageType::IndexType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::IndexType

Definition at line 66 of file itkLabelMapToRGBImageFilter.h.

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef InputImageType::ConstPointer itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImageConstPointer
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef InputImageType::PixelType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImagePixelType
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef InputImageType::Pointer itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImagePointer
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef InputImageType::RegionType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImageRegionType
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef TInputImage itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImageType

Some convenient typedefs.

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

Definition at line 54 of file itkLabelMapToRGBImageFilter.h.

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef InputImageType::LabelObjectType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::LabelObjectType
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef OutputImageType::ConstPointer itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImageConstPointer
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef OutputImageType::PixelType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImagePixelType
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef OutputImageType::Pointer itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImagePointer
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef OutputImageType::RegionType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImageRegionType

Superclass typedefs.

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

Definition at line 64 of file itkLabelMapToRGBImageFilter.h.

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef TOutputImage itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImageType

Some convenient typedefs.

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

Definition at line 55 of file itkLabelMapToRGBImageFilter.h.

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef SmartPointer<Self> itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef LabelMapToRGBImageFilter itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

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

Definition at line 48 of file itkLabelMapToRGBImageFilter.h.

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
typedef LabelMapFilter<TInputImage, TOutputImage> itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::LabelMapToRGBImageFilter ( ) [protected]
template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::~LabelMapToRGBImageFilter ( ) [inline, protected]

Definition at line 86 of file itkLabelMapToRGBImageFilter.h.

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::LabelMapToRGBImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
virtual void itk::LabelMapToRGBImageFilter< 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 = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
virtual::itk::LightObject::Pointer itk::LabelMapToRGBImageFilter< 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 = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
virtual void itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation ( ) [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 , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
virtual const char* itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Runtime information support.

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

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
static Pointer itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::New ( ) [static]

Standard New method.

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

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
void itk::LabelMapToRGBImageFilter< 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 = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
virtual void itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::ThreadedProcessLabelObject ( LabelObjectType labelObject) [protected, virtual]

Member Data Documentation

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
const unsigned int itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static]

ImageDimension constants

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

Definition at line 72 of file itkLabelMapToRGBImageFilter.h.

template<class TInputImage , class TOutputImage = Image< RGBPixel<unsigned char>, TInputImage::ImageDimension >>
const unsigned int itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static]

ImageDimension constants

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

Definition at line 74 of file itkLabelMapToRGBImageFilter.h.


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