18#ifndef itkMaskNeighborhoodOperatorImageFilter_h
19#define itkMaskNeighborhoodOperatorImageFilter_h
50template <
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
154 PrintSelf(std::ostream & os,
Indent indent)
const override;
162 GenerateInputRequestedRegion()
override;
181 bool m_UseDefaultValue{
true };
185#ifndef ITK_MANUAL_INSTANTIATION
186# include "itkMaskNeighborhoodOperatorImageFilter.hxx"
Base class for all process objects that output image data.
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
TInputImage InputImageType
typename InputImageType::Pointer InputImagePointer
Control indentation during Print() invocation.
Applies a single NeighborhoodOperator to an image, processing only those pixels that are under a mask...
typename TMaskImage::InternalPixelType MaskInternalPixelType
typename MaskImageType::Pointer MaskImagePointer
typename TMaskImage::PixelType MaskPixelType
typename TInputImage::InternalPixelType InputInternalPixelType
typename TOutputImage::InternalPixelType OutputInternalPixelType
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::PixelType InputPixelType
Applies a single NeighborhoodOperator to an image region.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....