ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkLabelSelectionLabelMapFilter.h>
Public Types | |
typedef Superclass::AttributeAccessorType | AttributeAccessorType |
typedef Superclass::AttributeSetType | AttributeSetType |
typedef Superclass::AttributeValueType | AttributeValueType |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageType::ConstPointer | ImageConstPointer |
typedef ImageType::Pointer | ImagePointer |
typedef TImage | ImageType |
typedef ImageType::IndexType | IndexType |
typedef ImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
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 AttributeSetType & | GetLabelSet () 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 &) |
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
Definition at line 53 of file itkLabelSelectionLabelMapFilter.h.
typedef Superclass::AttributeAccessorType itk::LabelSelectionLabelMapFilter< TImage >::AttributeAccessorType |
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 71 of file itkLabelSelectionLabelMapFilter.h.
typedef Superclass::AttributeSetType itk::LabelSelectionLabelMapFilter< TImage >::AttributeSetType |
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 74 of file itkLabelSelectionLabelMapFilter.h.
typedef Superclass::AttributeValueType itk::LabelSelectionLabelMapFilter< TImage >::AttributeValueType |
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 72 of file itkLabelSelectionLabelMapFilter.h.
typedef SmartPointer<const Self> itk::LabelSelectionLabelMapFilter< TImage >::ConstPointer |
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 62 of file itkLabelSelectionLabelMapFilter.h.
typedef ImageType::ConstPointer itk::LabelSelectionLabelMapFilter< TImage >::ImageConstPointer |
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 67 of file itkLabelSelectionLabelMapFilter.h.
typedef ImageType::Pointer itk::LabelSelectionLabelMapFilter< TImage >::ImagePointer |
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 66 of file itkLabelSelectionLabelMapFilter.h.
typedef TImage itk::LabelSelectionLabelMapFilter< TImage >::ImageType |
Some convenient typedefs.
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 65 of file itkLabelSelectionLabelMapFilter.h.
typedef ImageType::IndexType itk::LabelSelectionLabelMapFilter< TImage >::IndexType |
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 69 of file itkLabelSelectionLabelMapFilter.h.
typedef ImageType::PixelType itk::LabelSelectionLabelMapFilter< TImage >::PixelType |
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 68 of file itkLabelSelectionLabelMapFilter.h.
typedef SmartPointer<Self> itk::LabelSelectionLabelMapFilter< TImage >::Pointer |
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 61 of file itkLabelSelectionLabelMapFilter.h.
typedef LabelSelectionLabelMapFilter itk::LabelSelectionLabelMapFilter< TImage >::Self |
Standard class typedefs.
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 58 of file itkLabelSelectionLabelMapFilter.h.
typedef AttributeSelectionLabelMapFilter<TImage, typename Functor::LabelLabelObjectAccessor< typename TImage::LabelObjectType > > itk::LabelSelectionLabelMapFilter< TImage >::Superclass |
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 60 of file itkLabelSelectionLabelMapFilter.h.
itk::LabelSelectionLabelMapFilter< TImage >::LabelSelectionLabelMapFilter | ( | ) | [inline, protected] |
Definition at line 126 of file itkLabelSelectionLabelMapFilter.h.
itk::LabelSelectionLabelMapFilter< TImage >::~LabelSelectionLabelMapFilter | ( | ) | [inline, protected] |
Definition at line 127 of file itkLabelSelectionLabelMapFilter.h.
itk::LabelSelectionLabelMapFilter< TImage >::LabelSelectionLabelMapFilter | ( | const Self & | ) | [private] |
void itk::LabelSelectionLabelMapFilter< TImage >::AddLabel | ( | const AttributeValueType & | attr | ) | [inline] |
Definition at line 120 of file itkLabelSelectionLabelMapFilter.h.
void itk::LabelSelectionLabelMapFilter< TImage >::ClearLabelSet | ( | ) | [inline] |
Definition at line 115 of file itkLabelSelectionLabelMapFilter.h.
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 > >.
const AttributeSetType& itk::LabelSelectionLabelMapFilter< TImage >::GetLabelSet | ( | ) | const [inline] |
Begin concept checking End concept checking
Definition at line 99 of file itkLabelSelectionLabelMapFilter.h.
virtual const char* itk::LabelSelectionLabelMapFilter< TImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
static Pointer itk::LabelSelectionLabelMapFilter< TImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
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 > >.
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.
void itk::LabelSelectionLabelMapFilter< TImage >::SetLabelSet | ( | const AttributeSetType & | set | ) | [inline] |
Definition at line 104 of file itkLabelSelectionLabelMapFilter.h.
const unsigned int itk::LabelSelectionLabelMapFilter< TImage >::ImageDimension = TImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::AttributeSelectionLabelMapFilter< TImage, Functor::LabelLabelObjectAccessor< TImage::LabelObjectType > >.
Definition at line 78 of file itkLabelSelectionLabelMapFilter.h.