13 #ifndef __itkMaskedNaryStatisticsImageFilter_h
14 #define __itkMaskedNaryStatisticsImageFilter_h
16 #include "itkImageToImageFilter.h"
17 #include "itkImageIterator.h"
31 template<
class TInputImage,
class TMaskImage = ::itk::Image<
unsigned char, TInputImage::ImageDimension> >
33 public ImageToImageFilter< TInputImage, TInputImage >
39 typedef ImageToImageFilter< TInputImage, TInputImage >
Superclass;
53 typedef typename NumericTraits< InputImagePixelType >::RealType
RealType;
75 InputImageDimension,
unsigned int, TInputImage::ImageDimension);
77 #ifdef ITK_USE_CONCEPT_CHECKING
79 itkConceptMacro( SameDimensionCheck,
80 ( Concept::SameDimension< InputImageDimension, InputImageDimension > ) );
81 itkConceptMacro( OutputHasZeroCheck,
82 ( Concept::HasZero< InputImagePixelType > ) );
89 void GenerateData()
override;
93 void operator=(
const Self &);
95 RealVectorType m_Mean;
96 RealVectorType m_Sigma;
97 RealVectorType m_Variance;
99 PixelVectorType m_Minimum;
100 PixelVectorType m_Maximum;
102 MaskImageConstPointer m_Mask;
106 #ifndef ITK_MANUAL_INSTANTIATION
107 #include "itkMaskedNaryStatisticsImageFilter.hxx"