18 #ifndef itkLabelStatisticsOpeningImageFilter_h
19 #define itkLabelStatisticsOpeningImageFilter_h
45 template <
typename TInputImage,
typename TFeatureImage>
75 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
76 static constexpr
unsigned int OutputImageDimension = TInputImage::ImageDimension;
77 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
93 #ifdef ITK_USE_CONCEPT_CHECKING
112 itkGetConstMacro(Lambda,
double);
113 itkSetMacro(Lambda,
double);
122 itkGetConstMacro(ReverseOrdering,
bool);
123 itkSetMacro(ReverseOrdering,
bool);
124 itkBooleanMacro(ReverseOrdering);
136 this->SetAttribute(LabelObjectType::GetAttributeFromName(s));
145 this->SetNthInput(1, const_cast<TFeatureImage *>(input));
149 const FeatureImageType *
159 this->SetInput(input);
166 this->SetFeatureImage(input);
173 PrintSelf(std::ostream & os,
Indent indent)
const override;
179 GenerateInputRequestedRegion()
override;
183 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
188 GenerateData()
override;
193 bool m_ReverseOrdering{};
198 #ifndef ITK_MANUAL_INSTANTIATION
199 # include "itkLabelStatisticsOpeningImageFilter.hxx"