18 #ifndef itkOpeningByReconstructionImageFilter_h
19 #define itkOpeningByReconstructionImageFilter_h
54 template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
82 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
83 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
103 itkSetMacro(FullyConnected,
bool);
104 itkGetConstReferenceMacro(FullyConnected,
bool);
105 itkBooleanMacro(FullyConnected);
112 itkSetMacro(PreserveIntensities,
bool);
113 itkGetConstReferenceMacro(PreserveIntensities,
bool);
114 itkBooleanMacro(PreserveIntensities);
117 #ifdef ITK_USE_CONCEPT_CHECKING
127 PrintSelf(std::ostream & os,
Indent indent)
const override;
133 GenerateInputRequestedRegion()
override;
137 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
140 GenerateData()
override;
145 bool m_FullyConnected{};
146 bool m_PreserveIntensities{};
150 #ifndef ITK_MANUAL_INSTANTIATION
151 # include "itkOpeningByReconstructionImageFilter.hxx"