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

#include <itkLabelSelectionLabelMapFilter.h>

+ Inheritance diagram for itk::LabelSelectionLabelMapFilter< TImage >:
+ Collaboration diagram for itk::LabelSelectionLabelMapFilter< TImage >:

List of all members.

Public Types

typedef
Superclass::AttributeAccessorType 
AttributeAccessorType
typedef
Superclass::AttributeSetType 
AttributeSetType
typedef
Superclass::AttributeValueType 
AttributeValueType
typedef SmartPointer< const SelfConstPointer
typedef ImageType::ConstPointer ImageConstPointer
typedef ImageType::Pointer ImagePointer
typedef TImage ImageType
typedef ImageType::IndexType IndexType
typedef ImageType::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef
LabelSelectionLabelMapFilter 
Self
typedef
AttributeSelectionLabelMapFilter
< TImage, typename
Functor::LabelLabelObjectAccessor
< typename
TImage::LabelObjectType > > 
Superclass

Public Member Functions

void AddLabel (const AttributeValueType &attr)
void ClearLabelSet ()
virtual ::itk::LightObject::Pointer CreateAnother (void) const
const AttributeSetTypeGetLabelSet () const
virtual const char * GetNameOfClass () const
void SetLabel (const AttributeValueType &attr)
void SetLabelSet (const AttributeSetType &set)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension

Protected Member Functions

 LabelSelectionLabelMapFilter ()
 ~LabelSelectionLabelMapFilter ()

Private Member Functions

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

Detailed Description

template<class TImage>
class itk::LabelSelectionLabelMapFilter< TImage >

remove the objects according to the value of their attribute

LabelSelectionLabelMapFilter removes the objects in a label collection image with an attribute value inside or outside a set of attribute values passed by the user. The attribute is provide by an attribute accessor given in template parameter. Contrary to the other filters made to remove some object of a LabelMap, no ordering relation for the attribute is needed in that filter.

This code was contributed in the Insight Journal paper: "Label object representation and manipulation with ITK" by Lehmann G. http://hdl.handle.net/1926/584 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:
AttributeLabelObject

Definition at line 53 of file itkLabelSelectionLabelMapFilter.h.


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Definition at line 126 of file itkLabelSelectionLabelMapFilter.h.

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

Definition at line 127 of file itkLabelSelectionLabelMapFilter.h.

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

Member Function Documentation

template<class TImage >
void itk::LabelSelectionLabelMapFilter< TImage >::AddLabel ( const AttributeValueType attr) [inline]

Definition at line 120 of file itkLabelSelectionLabelMapFilter.h.

template<class TImage >
void itk::LabelSelectionLabelMapFilter< TImage >::ClearLabelSet ( ) [inline]

Definition at line 115 of file itkLabelSelectionLabelMapFilter.h.

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

template<class TImage >
const AttributeSetType& itk::LabelSelectionLabelMapFilter< TImage >::GetLabelSet ( ) const [inline]

Begin concept checking End concept checking

Definition at line 99 of file itkLabelSelectionLabelMapFilter.h.

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

template<class TImage >
void itk::LabelSelectionLabelMapFilter< TImage >::SetLabel ( const AttributeValueType attr) [inline]

Clear the attribute set, and add the attribute passed in parameter

Definition at line 110 of file itkLabelSelectionLabelMapFilter.h.

template<class TImage >
void itk::LabelSelectionLabelMapFilter< TImage >::SetLabelSet ( const AttributeSetType set) [inline]

Definition at line 104 of file itkLabelSelectionLabelMapFilter.h.


Member Data Documentation

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

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