18 #ifndef itkBinaryStatisticsOpeningImageFilter_h
19 #define itkBinaryStatisticsOpeningImageFilter_h
49 template <
typename TInputImage,
typename TFeatureImage>
79 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
80 static constexpr
unsigned int OutputImageDimension = TInputImage::ImageDimension;
81 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
105 itkSetMacro(FullyConnected,
bool);
106 itkGetConstReferenceMacro(FullyConnected,
bool);
107 itkBooleanMacro(FullyConnected);
110 #ifdef ITK_USE_CONCEPT_CHECKING
137 itkGetConstMacro(Lambda,
double);
138 itkSetMacro(Lambda,
double);
147 itkGetConstMacro(ReverseOrdering,
bool);
148 itkSetMacro(ReverseOrdering,
bool);
149 itkBooleanMacro(ReverseOrdering);
161 this->SetAttribute(LabelObjectType::GetAttributeFromName(s));
170 this->SetNthInput(1, const_cast<TFeatureImage *>(input));
174 const FeatureImageType *
184 this->SetInput(input);
191 this->SetFeatureImage(input);
198 PrintSelf(std::ostream & os,
Indent indent)
const override;
203 GenerateInputRequestedRegion()
override;
207 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
212 GenerateData()
override;
215 bool m_FullyConnected{};
219 bool m_ReverseOrdering{};
224 #ifndef ITK_MANUAL_INSTANTIATION
225 # include "itkBinaryStatisticsOpeningImageFilter.hxx"