 |
ITK
5.4.0
Insight Toolkit
|
Go to the documentation of this file.
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;
114 return m_Accessor(a) < m_Accessor(b);
130 return m_Accessor(a) > m_Accessor(b);
141 bool m_ReverseOrdering{};
147 #ifndef ITK_MANUAL_INSTANTIATION
148 # include "itkAttributeRelabelLabelMapFilter.hxx"
typename ImageType::PixelType PixelType
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
typename ImageType::ConstPointer ImageConstPointer
typename ImageType::IndexType IndexType
Base class for filters that takes an image as input and overwrites that image as the output.
typename AttributeAccessorType::AttributeValueType AttributeValueType
Control indentation during Print() invocation.
ImageBaseType::IndexType IndexType
AttributeAccessorType m_Accessor
Light weight base class for most itk classes.
bool operator()(const typename LabelObjectType::Pointer &a, const typename LabelObjectType::Pointer &b)
typename ImageType::LabelObjectType LabelObjectType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename ImageType::Pointer ImagePointer
AttributeAccessorType m_Accessor
relabel objects according to their shape attributes
TAttributeAccessor AttributeAccessorType
bool operator()(const typename LabelObjectType::Pointer &a, const typename LabelObjectType::Pointer &b)
typename LabelObjectType::LabelType AttributeValueType