18 #ifndef itkAttributeRelabelLabelMapFilter_h
19 #define itkAttributeRelabelLabelMapFilter_h
43 template <
typename TImage,
44 typename TAttributeAccessor =
45 typename Functor::AttributeLabelObjectAccessor<typename TImage::LabelObjectType>>
69 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
77 #ifdef ITK_USE_CONCEPT_CHECKING
93 itkSetMacro(ReverseOrdering,
bool);
94 itkGetConstReferenceMacro(ReverseOrdering,
bool);
95 itkBooleanMacro(ReverseOrdering);
103 GenerateData()
override;
106 PrintSelf(std::ostream & os,
Indent indent)
const override;
112 operator()(
const typename LabelObjectType::Pointer & a,
const typename LabelObjectType::Pointer & b)
114 return m_Accessor(a) < m_Accessor(b);
128 operator()(
const typename LabelObjectType::Pointer & a,
const typename LabelObjectType::Pointer & b)
130 return m_Accessor(a) > m_Accessor(b);
147 #ifndef ITK_MANUAL_INSTANTIATION
148 # include "itkAttributeRelabelLabelMapFilter.hxx"