18#ifndef itkAttributeKeepNObjectsLabelMapFilter_h
19#define itkAttributeKeepNObjectsLabelMapFilter_h
42template <
typename TImage,
43 typename TAttributeAccessor =
88 itkSetMacro(ReverseOrdering,
bool);
89 itkGetConstReferenceMacro(ReverseOrdering,
bool);
90 itkBooleanMacro(ReverseOrdering);
114 operator()(
const typename LabelObjectType::Pointer & a,
const typename LabelObjectType::Pointer & b)
130 operator()(
const typename LabelObjectType::Pointer & a,
const typename LabelObjectType::Pointer & b)
150#ifndef ITK_MANUAL_INSTANTIATION
151# include "itkAttributeKeepNObjectsLabelMapFilter.hxx"
AttributeAccessorType m_Accessor
bool operator()(const typename LabelObjectType::Pointer &a, const typename LabelObjectType::Pointer &b)
AttributeAccessorType m_Accessor
bool operator()(const typename LabelObjectType::Pointer &a, const typename LabelObjectType::Pointer &b)
typename AttributeAccessorType::AttributeValueType AttributeValueType
AttributeKeepNObjectsLabelMapFilter Self
~AttributeKeepNObjectsLabelMapFilter() override=default
typename ImageType::LabelObjectType LabelObjectType
TAttributeAccessor AttributeAccessorType
typename ImageType::Pointer ImagePointer
SmartPointer< Self > Pointer
static constexpr unsigned int ImageDimension
InPlaceLabelMapFilter< TImage > Superclass
void GenerateData() override
void PrintSelf(std::ostream &os, Indent indent) const override
AttributeKeepNObjectsLabelMapFilter()
typename ImageType::IndexType IndexType
SmartPointer< const Self > ConstPointer
typename ImageType::PixelType PixelType
typename ImageType::ConstPointer ImageConstPointer
SizeValueType m_NumberOfObjects
InPlaceLabelMapFilter()=default
Control indentation during Print() invocation.
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType