Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ChangeLabelImageFilter< TInputImage, TOutputImage > Class Template Reference
[Intensity Image FiltersMultithreaded Filters]

Change Sets of Labels. More...

#include <itkChangeLabelImageFilter.h>

Inheritance diagram for itk::ChangeLabelImageFilter< TInputImage, TOutputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::ChangeLabelImageFilter< TInputImage, TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ChangeLabelImageFilter Self
typedef UnaryFunctorImageFilter<
TInputImage, TOutputImage,
Functor::ChangeLabel< typename
TInputImage::PixelType, typename
TOutputImage::PixelType > > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage::PixelType InputPixelType
typedef TOutputImage::PixelType OutputPixelType
typedef std::map< InputPixelType,
OutputPixelType
ChangeMapType
enum  { PixelTypeComparable = 0 }

Public Member Functions

virtual const char * GetNameOfClass () const
void SetChange (const InputPixelType &original, const OutputPixelType &result)
void SetChangeMap (const ChangeMapType &changeMap)
void ClearChangeMap ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 ChangeLabelImageFilter ()
virtual ~ChangeLabelImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

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

Change Sets of Labels.

This filter produces an output image whose pixels are either copied from the input if they are not being changed or are rewritten based on the change parameters

This filter is templated over the input image type and the output image type.

The filter expect both images to have the same number of dimensions.

Author:
Tim Kelliher. GE Research, Niskayuna, NY.
Note:
This work was supported by a grant from DARPA, executed by the U.S. Army Medical Research and Materiel Command/TATRC Assistance Agreement, Contract# W81XWH-05-2-0059.

Definition at line 98 of file itkChangeLabelImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage>
typedef std::map<InputPixelType, OutputPixelType> itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::ChangeMapType
 

Type of the change map to use for change requests

Definition at line 130 of file itkChangeLabelImageFilter.h.

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

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 114 of file itkChangeLabelImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage::PixelType itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::InputPixelType
 

Pixel types.

Definition at line 123 of file itkChangeLabelImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TOutputImage::PixelType itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::OutputPixelType
 

Definition at line 124 of file itkChangeLabelImageFilter.h.

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

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 113 of file itkChangeLabelImageFilter.h.

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

Standard class typedefs.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 107 of file itkChangeLabelImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef UnaryFunctorImageFilter<TInputImage,TOutputImage, Functor::ChangeLabel< typename TInputImage::PixelType, typename TOutputImage::PixelType> > itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::Superclass
 

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 112 of file itkChangeLabelImageFilter.h.


Member Enumeration Documentation

template<class TInputImage, class TOutputImage>
anonymous enum
 

The input pixel type must support comparison operators.

Enumeration values:
PixelTypeComparable 

Definition at line 127 of file itkChangeLabelImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage>
itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::ChangeLabelImageFilter  )  [protected]
 

template<class TInputImage, class TOutputImage>
virtual itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::~ChangeLabelImageFilter  )  [inline, protected, virtual]
 

Definition at line 143 of file itkChangeLabelImageFilter.h.


Member Function Documentation

template<class TInputImage, class TOutputImage>
void itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::ClearChangeMap  ) 
 

Clears the entire change map

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

Run-time type information (and related methods).

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

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

Method for creation through the object factory.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

template<class TInputImage, class TOutputImage>
void itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

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

template<class TInputImage, class TOutputImage>
void itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::SetChange const InputPixelType original,
const OutputPixelType result
 

Set up a change of a single label

template<class TInputImage, class TOutputImage>
void itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::SetChangeMap const ChangeMapType changeMap  ) 
 

Set the entire change map


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:35:37 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000