18 #ifndef itkAttributeRelabelLabelMapFilter_h
19 #define itkAttributeRelabelLabelMapFilter_h
42 template<
typename TImage,
typename TAttributeAccessor=
43 typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType > >
67 TImage::ImageDimension);
76 #ifdef ITK_USE_CONCEPT_CHECKING
92 itkSetMacro( ReverseOrdering,
bool );
93 itkGetConstReferenceMacro( ReverseOrdering,
bool );
94 itkBooleanMacro( ReverseOrdering );
108 bool operator()(
const typename LabelObjectType::Pointer & a,
const typename LabelObjectType::Pointer & b )
110 return m_Accessor( a ) < m_Accessor( b );
120 bool operator()(
const typename LabelObjectType::Pointer & a,
const typename LabelObjectType::Pointer & b )
139 #ifndef ITK_MANUAL_INSTANTIATION
140 #include "itkAttributeRelabelLabelMapFilter.hxx"
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
static const unsigned int ImageDimension
ImageType::PixelType PixelType
~AttributeRelabelLabelMapFilter()
LabelObjectType::LabelType AttributeValueType
ImageType::Pointer ImagePointer
SmartPointer< Self > Pointer
ImageType::IndexType IndexType
ImageType::ConstPointer ImageConstPointer
bool operator()(const typename LabelObjectType::Pointer &a, const typename LabelObjectType::Pointer &b)
AttributeAccessorType::AttributeValueType AttributeValueType
void operator=(const Self &)
Base class for filters that takes an image as input and overwrites that image as the output...
AttributeRelabelLabelMapFilter()
relabel objects according to their shape attributes
AttributeRelabelLabelMapFilter Self
SmartPointer< const Self > ConstPointer
TAttributeAccessor AttributeAccessorType
AttributeAccessorType m_Accessor
Control indentation during Print() invocation.
void GenerateData() override