ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions
itk::RelabelLabelMapFilter< TImage > Class Template Reference

This filter relabels the LabelObjects; the new labels are arranged consecutively with consideration for the background value. More...

#include <itkRelabelLabelMapFilter.h>

Inheritance diagram for itk::RelabelLabelMapFilter< TImage >:
Collaboration diagram for itk::RelabelLabelMapFilter< TImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef ImageType::ConstPointer ImageConstPointer
typedef ImageType::Pointer ImagePointer
typedef TImage ImageType
typedef ImageType::IndexType IndexType
typedef ImageType::LabelObjectType LabelObjectType
typedef ImageType::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef RelabelLabelMapFilter Self
typedef
AttributeRelabelLabelMapFilter
< TImage, typename
Functor::LabelLabelObjectAccessor
< typename
TImage::LabelObjectType > > 
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 ImageDimension = TImage::ImageDimension

Protected Member Functions

 RelabelLabelMapFilter ()
 ~RelabelLabelMapFilter ()

Private Member Functions

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

Detailed Description

template<class TImage>
class itk::RelabelLabelMapFilter< TImage >

This filter relabels the LabelObjects; the new labels are arranged consecutively with consideration for the background value.

This filter takes the LabelObjects from the input and reassigns them to the output by calling the PushLabelObject method, which by default, attempts to reorganize the labels consecutively. The user can assign an arbitrary value to the background; the filter will assign the labels consecutively by skipping the background value.

This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176

Author:
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.
See also:
ShapeLabelObject, RelabelComponentImageFilter

Definition at line 46 of file itkRelabelLabelMapFilter.h.


Member Typedef Documentation

template<class TImage >
typedef SmartPointer< const Self > itk::RelabelLabelMapFilter< TImage >::ConstPointer
template<class TImage >
typedef ImageType::ConstPointer itk::RelabelLabelMapFilter< TImage >::ImageConstPointer
template<class TImage >
typedef ImageType::Pointer itk::RelabelLabelMapFilter< TImage >::ImagePointer
template<class TImage >
typedef TImage itk::RelabelLabelMapFilter< TImage >::ImageType
template<class TImage >
typedef ImageType::IndexType itk::RelabelLabelMapFilter< TImage >::IndexType
template<class TImage >
typedef ImageType::LabelObjectType itk::RelabelLabelMapFilter< TImage >::LabelObjectType
template<class TImage >
typedef ImageType::PixelType itk::RelabelLabelMapFilter< TImage >::PixelType
template<class TImage >
typedef SmartPointer< Self > itk::RelabelLabelMapFilter< TImage >::Pointer
template<class TImage >
typedef RelabelLabelMapFilter itk::RelabelLabelMapFilter< TImage >::Self
template<class TImage >
typedef AttributeRelabelLabelMapFilter< TImage, typename Functor::LabelLabelObjectAccessor<typename TImage::LabelObjectType> > itk::RelabelLabelMapFilter< TImage >::Superclass

Constructor & Destructor Documentation

template<class TImage >
itk::RelabelLabelMapFilter< TImage >::RelabelLabelMapFilter ( ) [inline, protected]

Begin concept checking End concept checking

Definition at line 87 of file itkRelabelLabelMapFilter.h.

template<class TImage >
itk::RelabelLabelMapFilter< TImage >::~RelabelLabelMapFilter ( ) [inline, protected]

Begin concept checking End concept checking

Definition at line 91 of file itkRelabelLabelMapFilter.h.

template<class TImage >
itk::RelabelLabelMapFilter< TImage >::RelabelLabelMapFilter ( const Self ) [private]

Member Function Documentation

template<class TImage >
virtual::itk::LightObject::Pointer itk::RelabelLabelMapFilter< TImage >::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::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.

template<class TImage >
virtual const char* itk::RelabelLabelMapFilter< TImage >::GetNameOfClass ( ) const [virtual]
template<class TImage >
static Pointer itk::RelabelLabelMapFilter< TImage >::New ( ) [static]
template<class TImage >
void itk::RelabelLabelMapFilter< TImage >::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::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.


Member Data Documentation

template<class TImage >
const unsigned int itk::RelabelLabelMapFilter< TImage >::ImageDimension = TImage::ImageDimension [static]

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