ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkLabelMapToRGBImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
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 &) |
Convert a LabelMap to a colored image.
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 43 of file itkLabelMapToRGBImageFilter.h.
typedef SmartPointer<const Self> itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 51 of file itkLabelMapToRGBImageFilter.h.
typedef Functor::LabelToRGBFunctor< InputImagePixelType, OutputImagePixelType > itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::FunctorType |
Definition at line 68 of file itkLabelMapToRGBImageFilter.h.
typedef OutputImageType::IndexType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::IndexType |
Definition at line 66 of file itkLabelMapToRGBImageFilter.h.
typedef InputImageType::ConstPointer itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkLabelMapToRGBImageFilter.h.
typedef InputImageType::PixelType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 59 of file itkLabelMapToRGBImageFilter.h.
typedef InputImageType::Pointer itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 56 of file itkLabelMapToRGBImageFilter.h.
typedef InputImageType::RegionType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 58 of file itkLabelMapToRGBImageFilter.h.
typedef TInputImage itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkLabelMapToRGBImageFilter.h.
typedef InputImageType::LabelObjectType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::LabelObjectType |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 60 of file itkLabelMapToRGBImageFilter.h.
typedef OutputImageType::ConstPointer itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImageConstPointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkLabelMapToRGBImageFilter.h.
typedef OutputImageType::PixelType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 65 of file itkLabelMapToRGBImageFilter.h.
typedef OutputImageType::Pointer itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 62 of file itkLabelMapToRGBImageFilter.h.
typedef OutputImageType::RegionType itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 64 of file itkLabelMapToRGBImageFilter.h.
typedef TOutputImage itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 55 of file itkLabelMapToRGBImageFilter.h.
typedef SmartPointer<Self> itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 50 of file itkLabelMapToRGBImageFilter.h.
typedef LabelMapToRGBImageFilter itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 48 of file itkLabelMapToRGBImageFilter.h.
typedef LabelMapFilter<TInputImage, TOutputImage> itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 49 of file itkLabelMapToRGBImageFilter.h.
itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::LabelMapToRGBImageFilter | ( | ) | [protected] |
itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::~LabelMapToRGBImageFilter | ( | ) | [inline, protected] |
Definition at line 86 of file itkLabelMapToRGBImageFilter.h.
itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::LabelMapToRGBImageFilter | ( | const Self & | ) | [private] |
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 >.
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 >.
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.
virtual const char* itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
static Pointer itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
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 >.
virtual void itk::LabelMapToRGBImageFilter< TInputImage, TOutputImage >::ThreadedProcessLabelObject | ( | LabelObjectType * | labelObject | ) | [protected, virtual] |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
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.
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.