18 #ifndef itkMaskNeighborhoodOperatorImageFilter_h
19 #define itkMaskNeighborhoodOperatorImageFilter_h
50 template <
typename TInputImage,
52 typename TOutputImage,
53 typename TOperatorValueType =
typename TOutputImage::PixelType>
84 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
85 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
86 static constexpr
unsigned int MaskImageDimension = TMaskImage::ImageDimension;
99 using typename Superclass::OutputImageRegionType;
100 using typename Superclass::OperatorValueType;
103 using typename Superclass::OutputNeighborhoodType;
109 SetMaskImage(
const TMaskImage * mask);
115 GetMaskImage()
const;
129 itkSetMacro(UseDefaultValue,
bool);
132 itkGetConstReferenceMacro(UseDefaultValue,
bool);
135 itkBooleanMacro(UseDefaultValue);
137 #ifdef ITK_USE_CONCEPT_CHECKING
152 ~MaskNeighborhoodOperatorImageFilter()
override =
default;
154 PrintSelf(std::ostream & os, Indent indent)
const override;
162 GenerateInputRequestedRegion()
override;
176 DynamicThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread)
override;
181 bool m_UseDefaultValue{
true };
185 #ifndef ITK_MANUAL_INSTANTIATION
186 # include "itkMaskNeighborhoodOperatorImageFilter.hxx"