ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkRelabelLabelMapFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
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 &) |
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
Definition at line 46 of file itkRelabelLabelMapFilter.h.
typedef SmartPointer< const Self > itk::RelabelLabelMapFilter< TImage >::ConstPointer |
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 56 of file itkRelabelLabelMapFilter.h.
typedef ImageType::ConstPointer itk::RelabelLabelMapFilter< TImage >::ImageConstPointer |
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 61 of file itkRelabelLabelMapFilter.h.
typedef ImageType::Pointer itk::RelabelLabelMapFilter< TImage >::ImagePointer |
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 60 of file itkRelabelLabelMapFilter.h.
typedef TImage itk::RelabelLabelMapFilter< TImage >::ImageType |
Some convenient typedefs.
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 59 of file itkRelabelLabelMapFilter.h.
typedef ImageType::IndexType itk::RelabelLabelMapFilter< TImage >::IndexType |
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 63 of file itkRelabelLabelMapFilter.h.
typedef ImageType::LabelObjectType itk::RelabelLabelMapFilter< TImage >::LabelObjectType |
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 64 of file itkRelabelLabelMapFilter.h.
typedef ImageType::PixelType itk::RelabelLabelMapFilter< TImage >::PixelType |
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 62 of file itkRelabelLabelMapFilter.h.
typedef SmartPointer< Self > itk::RelabelLabelMapFilter< TImage >::Pointer |
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 55 of file itkRelabelLabelMapFilter.h.
typedef RelabelLabelMapFilter itk::RelabelLabelMapFilter< TImage >::Self |
Standard class typedefs.
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 51 of file itkRelabelLabelMapFilter.h.
typedef AttributeRelabelLabelMapFilter< TImage, typename Functor::LabelLabelObjectAccessor<typename TImage::LabelObjectType> > itk::RelabelLabelMapFilter< TImage >::Superclass |
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 54 of file itkRelabelLabelMapFilter.h.
itk::RelabelLabelMapFilter< TImage >::RelabelLabelMapFilter | ( | ) | [inline, protected] |
Begin concept checking End concept checking
Definition at line 87 of file itkRelabelLabelMapFilter.h.
itk::RelabelLabelMapFilter< TImage >::~RelabelLabelMapFilter | ( | ) | [inline, protected] |
Begin concept checking End concept checking
Definition at line 91 of file itkRelabelLabelMapFilter.h.
itk::RelabelLabelMapFilter< TImage >::RelabelLabelMapFilter | ( | const Self & | ) | [private] |
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 > >.
virtual const char* itk::RelabelLabelMapFilter< TImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
static Pointer itk::RelabelLabelMapFilter< TImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
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 > >.
const unsigned int itk::RelabelLabelMapFilter< TImage >::ImageDimension = TImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::AttributeRelabelLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 67 of file itkRelabelLabelMapFilter.h.