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

#include <itkChangeLabelImageFilter.h>

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

List of all members.

Public Types

typedef std::map
< InputPixelType,
OutputPixelType
ChangeMapType
typedef SmartPointer< const SelfConstPointer
typedef TInputImage::PixelType InputPixelType
typedef TOutputImage::PixelType OutputPixelType
typedef SmartPointer< SelfPointer
typedef ChangeLabelImageFilter Self
typedef
UnaryFunctorImageFilter
< TInputImage, TOutputImage,
Functor::ChangeLabel< typename
TInputImage::PixelType,
typename
TOutputImage::PixelType > > 
Superclass

Public Member Functions

void ClearChangeMap ()
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
void SetChange (const InputPixelType &original, const OutputPixelType &result)
void SetChangeMap (const ChangeMapType &changeMap)
 typedef (Concept::Convertible< InputPixelType, OutputPixelType >) InputConvertibleToOutputCheck
 typedef (Concept::Comparable< InputPixelType >) PixelTypeComparable

Static Public Member Functions

static Pointer New ()

Protected Member Functions

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

Private Member Functions

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

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 112 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 142 of file itkChangeLabelImageFilter.h.

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

Pixel types.

Definition at line 135 of file itkChangeLabelImageFilter.h.

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

Definition at line 139 of file itkChangeLabelImageFilter.h.

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

Constructor & Destructor Documentation

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

End concept checking

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

End concept checking

Definition at line 164 of file itkChangeLabelImageFilter.h.

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

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::itk::LightObject::Pointer itk::ChangeLabelImageFilter< 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::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >.

template<class TInputImage , class TOutputImage >
virtual const char* itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]
template<class TInputImage , class TOutputImage >
static Pointer itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::New ( ) [static]
template<class TInputImage , class TOutputImage >
void itk::ChangeLabelImageFilter< 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::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >.

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

End concept checking

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

template<class TInputImage , class TOutputImage >
itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::typedef ( Concept::Convertible< InputPixelType, OutputPixelType )

Begin concept checking This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< InputPixelType, OutputPixelType > )

template<class TInputImage , class TOutputImage >
itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::typedef ( Concept::Comparable< InputPixelType )

This class requires PixelTypeComparable in the form of ( Concept::Comparable< InputPixelType > )


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