18 #ifndef itkAttributeRelabelLabelMapFilter_h
19 #define itkAttributeRelabelLabelMapFilter_h
42 template<
typename TImage,
typename TAttributeAccessor=
43 typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType > >
66 itkStaticConstMacro(ImageDimension,
unsigned int,
67 TImage::ImageDimension);
76 #ifdef ITK_USE_CONCEPT_CHECKING
92 itkSetMacro( ReverseOrdering,
bool );
93 itkGetConstReferenceMacro( ReverseOrdering,
bool );
94 itkBooleanMacro( ReverseOrdering );
101 void GenerateData() ITK_OVERRIDE;
110 return m_Accessor( a ) < m_Accessor( b );
122 return m_Accessor( a ) > m_Accessor( b );
138 #ifndef ITK_MANUAL_INSTANTIATION
139 #include "itkAttributeRelabelLabelMapFilter.hxx"
virtual void PrintSelf(std::ostream &os, Indent indent) const override
InPlaceLabelMapFilter< TImage > Superclass
Light weight base class for most itk classes.
bool operator()(const typename LabelObjectType::Pointer &a, const typename LabelObjectType::Pointer &b)
AttributeAccessorType m_Accessor
ImageType::LabelObjectType LabelObjectType
ImageType::PixelType PixelType
~AttributeRelabelLabelMapFilter()
LabelObjectType::LabelType AttributeValueType
ImageType::Pointer ImagePointer
SmartPointer< Self > Pointer
SmartPointer< Self > Pointer
ImageType::IndexType IndexType
ImageType::ConstPointer ImageConstPointer
bool operator()(const typename LabelObjectType::Pointer &a, const typename LabelObjectType::Pointer &b)
AttributeAccessorType::AttributeValueType AttributeValueType
Base class for filters that takes an image as input and overwrites that image as the output...
SmartPointer< const Self > ConstPointer
relabel objects according to their shape attributes
AttributeRelabelLabelMapFilter Self
SmartPointer< const Self > ConstPointer
TAttributeAccessor AttributeAccessorType
AttributeAccessorType m_Accessor
Control indentation during Print() invocation.