18#ifndef itkStatisticsRelabelImageFilter_h
19#define itkStatisticsRelabelImageFilter_h
44template <
typename TInputImage,
typename TFeatureImage>
109 itkGetConstMacro(ReverseOrdering,
bool);
110 itkSetMacro(ReverseOrdering,
bool);
111 itkBooleanMacro(ReverseOrdering);
131 this->
SetNthInput(1,
const_cast<TFeatureImage *
>(input));
183#ifndef ITK_MANUAL_INSTANTIATION
184# include "itkStatisticsRelabelImageFilter.hxx"
Base class for all data objects in ITK.
virtual void SetInput(const InputImageType *input)
Control indentation during Print() invocation.
convert a labeled image to a label collection image
Converts a LabelMap to a labeled image.
Templated n-dimensional image to store labeled objects.
virtual void SetNthInput(DataObjectPointerArraySizeType idx, DataObject *input)
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
Implements transparent reference counting.
The valuator class for the StatisticsLabelObject.
A Label object to store the common attributes related to the statistics of the object.
static AttributeType GetAttributeFromName(const std::string &s)
unsigned int AttributeType
typename InputImageType::RegionType InputImageRegionType
LabelMapToLabelImageFilter< LabelMapType, OutputImageType > BinarizerType
StatisticsRelabelImageFilter Self
virtual void SetAttribute(AttributeType _arg)
StatisticsLabelMapFilter< LabelMapType, TFeatureImage > LabelObjectValuatorType
typename OutputImageType::RegionType OutputImageRegionType
StatisticsLabelObject< InputImagePixelType, Self::ImageDimension > LabelObjectType
void PrintSelf(std::ostream &os, Indent indent) const override
typename OutputImageType::Pointer OutputImagePointer
OutputImagePixelType m_BackgroundValue
TFeatureImage FeatureImageType
LabelImageToLabelMapFilter< InputImageType, LabelMapType > LabelizerType
typename InputImageType::ConstPointer InputImageConstPointer
ImageToImageFilter< TInputImage, TInputImage > Superclass
typename FeatureImageType::PixelType FeatureImagePixelType
typename FeatureImageType::Pointer FeatureImagePointer
StatisticsRelabelLabelMapFilter< LabelMapType > RelabelType
typename LabelObjectType::AttributeType AttributeType
static constexpr unsigned int InputImageDimension
void SetAttribute(const std::string &s)
AttributeType m_Attribute
TInputImage OutputImageType
void SetInput1(InputImageType *input)
StatisticsRelabelImageFilter()
void SetInput2(FeatureImageType *input)
void SetFeatureImage(TFeatureImage *input)
typename OutputImageType::PixelType OutputImagePixelType
static constexpr unsigned int OutputImageDimension
void EnlargeOutputRequestedRegion(DataObject *output) override
typename InputImageType::Pointer InputImagePointer
LabelMap< LabelObjectType > LabelMapType
void GenerateInputRequestedRegion() override
SmartPointer< const Self > ConstPointer
typename InputImageType::PixelType InputImagePixelType
static constexpr unsigned int ImageDimension
FeatureImageType * GetFeatureImage()
SmartPointer< Self > Pointer
void GenerateData() override
typename FeatureImageType::ConstPointer FeatureImageConstPointer
TInputImage InputImageType
~StatisticsRelabelImageFilter() override=default
typename OutputImageType::ConstPointer OutputImageConstPointer
relabel objects according to their shape attributes
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....