ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkAttributeSelectionLabelMapFilter.h>
Public Types | |
typedef TAttributeAccessor | AttributeAccessorType |
typedef std::set < AttributeValueType > | AttributeSetType |
typedef AttributeAccessorType::AttributeValueType | AttributeValueType |
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 AttributeSelectionLabelMapFilter | Self |
typedef InPlaceLabelMapFilter < TImage > | Superclass |
Public Member Functions | |
void | AddAttribute (const AttributeValueType &attr) |
void | ClearAttributeSet () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
const AttributeSetType & | GetAttributeSet () const |
void | SetAttributeSet (const AttributeSetType &set) |
virtual bool | GetExclude () const |
virtual void | SetExclude (bool _arg) |
virtual void | ExcludeOn () |
virtual void | ExcludeOff () |
void | SetAttribute (const AttributeValueType &attr) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TImage::ImageDimension |
Protected Member Functions | |
AttributeSelectionLabelMapFilter () | |
void | GenerateData () |
void | PrintSelf (std::ostream &os, Indent indent) const |
~AttributeSelectionLabelMapFilter () | |
Private Member Functions | |
AttributeSelectionLabelMapFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
AttributeSetType | m_AttributeSet |
bool | m_Exclude |
remove the objects according to the value of their attribute
AttributeSelectionLabelMapFilter 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 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 49 of file itkAttributeSelectionLabelMapFilter.h.
typedef TAttributeAccessor itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::AttributeAccessorType |
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 67 of file itkAttributeSelectionLabelMapFilter.h.
typedef std::set<AttributeValueType> itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::AttributeSetType |
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 70 of file itkAttributeSelectionLabelMapFilter.h.
typedef AttributeAccessorType::AttributeValueType itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::AttributeValueType |
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 68 of file itkAttributeSelectionLabelMapFilter.h.
typedef SmartPointer<const Self> itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::ConstPointer |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 57 of file itkAttributeSelectionLabelMapFilter.h.
typedef ImageType::ConstPointer itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::ImageConstPointer |
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 62 of file itkAttributeSelectionLabelMapFilter.h.
typedef ImageType::Pointer itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::ImagePointer |
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 61 of file itkAttributeSelectionLabelMapFilter.h.
typedef TImage itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::ImageType |
Some convenient typedefs.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 60 of file itkAttributeSelectionLabelMapFilter.h.
typedef ImageType::IndexType itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::IndexType |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 64 of file itkAttributeSelectionLabelMapFilter.h.
typedef ImageType::LabelObjectType itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::LabelObjectType |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Definition at line 65 of file itkAttributeSelectionLabelMapFilter.h.
typedef ImageType::PixelType itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::PixelType |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 63 of file itkAttributeSelectionLabelMapFilter.h.
typedef SmartPointer<Self> itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::Pointer |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 56 of file itkAttributeSelectionLabelMapFilter.h.
typedef AttributeSelectionLabelMapFilter itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::Self |
Standard class typedefs.
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 54 of file itkAttributeSelectionLabelMapFilter.h.
typedef InPlaceLabelMapFilter<TImage> itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::Superclass |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 55 of file itkAttributeSelectionLabelMapFilter.h.
itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::AttributeSelectionLabelMapFilter | ( | ) | [protected] |
itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::~AttributeSelectionLabelMapFilter | ( | ) | [inline, protected] |
Definition at line 147 of file itkAttributeSelectionLabelMapFilter.h.
itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::AttributeSelectionLabelMapFilter | ( | const Self & | ) | [private] |
void itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::AddAttribute | ( | const AttributeValueType & | attr | ) | [inline] |
Definition at line 135 of file itkAttributeSelectionLabelMapFilter.h.
void itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::ClearAttributeSet | ( | ) | [inline] |
Definition at line 126 of file itkAttributeSelectionLabelMapFilter.h.
virtual::itk::LightObject::Pointer itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::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::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
virtual void itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::ExcludeOff | ( | ) | [virtual] |
Set/Get whether the objects with the specified attribute values should be kept or excluded.
virtual void itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::ExcludeOn | ( | ) | [virtual] |
Set/Get whether the objects with the specified attribute values should be kept or excluded.
void itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::GenerateData | ( | void | ) | [protected, virtual] |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TImage >.
const AttributeSetType& itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::GetAttributeSet | ( | ) | const [inline] |
Begin concept checking End concept checking Set/Get the threshold used to keep or remove the objects.
Definition at line 98 of file itkAttributeSelectionLabelMapFilter.h.
virtual bool itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::GetExclude | ( | ) | const [virtual] |
Set/Get whether the objects with the specified attribute values should be kept or excluded.
virtual const char* itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
static Pointer itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
void itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::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::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
void itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
void itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::SetAttribute | ( | const AttributeValueType & | attr | ) | [inline] |
Clear the attribute set, and add the attribute passed in parameter
Definition at line 119 of file itkAttributeSelectionLabelMapFilter.h.
void itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::SetAttributeSet | ( | const AttributeSetType & | set | ) | [inline] |
Begin concept checking End concept checking Set/Get the threshold used to keep or remove the objects.
Definition at line 102 of file itkAttributeSelectionLabelMapFilter.h.
virtual void itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::SetExclude | ( | bool | _arg | ) | [virtual] |
Set/Get whether the objects with the specified attribute values should be kept or excluded.
const unsigned int itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::ImageDimension = TImage::ImageDimension [static] |
ImageDimension constants
Reimplemented in itk::LabelSelectionLabelMapFilter< TImage >.
Definition at line 74 of file itkAttributeSelectionLabelMapFilter.h.
AttributeSetType itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::m_AttributeSet [private] |
Definition at line 157 of file itkAttributeSelectionLabelMapFilter.h.
bool itk::AttributeSelectionLabelMapFilter< TImage, TAttributeAccessor >::m_Exclude [private] |
Definition at line 158 of file itkAttributeSelectionLabelMapFilter.h.