18 #ifndef itkMaskNeighborhoodOperatorImageFilter_h
19 #define itkMaskNeighborhoodOperatorImageFilter_h
50 template<
typename TInputImage,
typename TMaskImage,
typename TOutputImage,
typename TOperatorValueType =
51 typename TOutputImage::PixelType >
61 TInputImage, TOutputImage, TOperatorValueType >;
83 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
84 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
85 static constexpr
unsigned int MaskImageDimension = TMaskImage::ImageDimension;
107 void SetMaskImage(
const TMaskImage *mask);
112 const TMaskImage * GetMaskImage()
const;
126 itkSetMacro(UseDefaultValue,
bool);
129 itkGetConstReferenceMacro(UseDefaultValue,
bool);
132 itkBooleanMacro(UseDefaultValue);
134 #ifdef ITK_USE_CONCEPT_CHECKING
155 void PrintSelf(std::ostream & os,
Indent indent)
const override;
162 void GenerateInputRequestedRegion()
override;
175 void DynamicThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread)
override;
180 bool m_UseDefaultValue{
true};
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkMaskNeighborhoodOperatorImageFilter.hxx"
typename TInputImage::PixelType InputPixelType
typename TMaskImage::PixelType MaskPixelType
Define numeric traits for std::vector.
typename TMaskImage::InternalPixelType MaskInternalPixelType
typename TOutputImage::PixelType OutputPixelType
Applies a single NeighborhoodOperator to an image, processing only those pixels that are under a mask...
typename TInputImage::InternalPixelType InputInternalPixelType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
typename TOutputImage::InternalPixelType OutputInternalPixelType
TInputImage InputImageType
typename Superclass::OperatorValueType OperatorValueType
typename InputImageType::Pointer InputImagePointer
MaskNeighborhoodOperatorImageFilter()
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
OutputPixelType m_DefaultValue
Control indentation during Print() invocation.
typename Superclass::OutputNeighborhoodType OutputNeighborhoodType
Applies a single NeighborhoodOperator to an image region.
typename MaskImageType::Pointer MaskImagePointer
#define itkConceptMacro(name, concept)