18 #ifndef itkStatisticsRelabelImageFilter_h
19 #define itkStatisticsRelabelImageFilter_h
44 template <
typename TInputImage,
typename TFeatureImage>
74 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
75 static constexpr
unsigned int OutputImageDimension = TInputImage::ImageDimension;
76 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
92 #ifdef ITK_USE_CONCEPT_CHECKING
113 itkGetConstMacro(ReverseOrdering,
bool);
114 itkSetMacro(ReverseOrdering,
bool);
115 itkBooleanMacro(ReverseOrdering);
126 this->SetAttribute(LabelObjectType::GetAttributeFromName(s));
135 this->SetNthInput(1, const_cast<TFeatureImage *>(input));
149 this->SetInput(input);
156 this->SetFeatureImage(input);
163 PrintSelf(std::ostream & os,
Indent indent)
const override;
169 GenerateInputRequestedRegion()
override;
173 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
178 GenerateData()
override;
187 #ifndef ITK_MANUAL_INSTANTIATION
188 # include "itkStatisticsRelabelImageFilter.hxx"