ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkChangeLabelImageFilter.h>
Public Types | |
typedef std::map < InputPixelType, OutputPixelType > | ChangeMapType |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::PixelType | InputPixelType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
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 &) |
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.
Definition at line 112 of file itkChangeLabelImageFilter.h.
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.
typedef SmartPointer< const Self > itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 129 of file itkChangeLabelImageFilter.h.
typedef TInputImage::PixelType itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::InputPixelType |
Pixel types.
Definition at line 135 of file itkChangeLabelImageFilter.h.
typedef TOutputImage::PixelType itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 139 of file itkChangeLabelImageFilter.h.
typedef SmartPointer< Self > itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 128 of file itkChangeLabelImageFilter.h.
typedef ChangeLabelImageFilter itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 121 of file itkChangeLabelImageFilter.h.
typedef UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< typename TInputImage::PixelType, typename TOutputImage::PixelType > > itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 126 of file itkChangeLabelImageFilter.h.
itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::ChangeLabelImageFilter | ( | ) | [protected] |
End concept checking
virtual itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::~ChangeLabelImageFilter | ( | ) | [inline, protected, virtual] |
End concept checking
Definition at line 164 of file itkChangeLabelImageFilter.h.
itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::ChangeLabelImageFilter | ( | const Self & | ) | [private] |
void itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::ClearChangeMap | ( | ) |
Clears the entire change map
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 > >.
virtual const char* itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >.
static Pointer itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >.
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 > >.
void itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
void itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::SetChange | ( | const InputPixelType & | original, |
const OutputPixelType & | result | ||
) |
Set up a change of a single label
void itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::SetChangeMap | ( | const ChangeMapType & | changeMap | ) |
Set the entire change map
itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< InputPixelType, OutputPixelType > | ) |
Begin concept checking This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< InputPixelType, OutputPixelType > )
itk::ChangeLabelImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Comparable< InputPixelType > | ) |
This class requires PixelTypeComparable in the form of ( Concept::Comparable< InputPixelType > )