18#ifndef itkDigitizerFunctor_h
19#define itkDigitizerFunctor_h
29template <
typename TInput1,
typename TInput2 = TInput1,
typename TOutput = TInput1>
66 return !(*
this != other);
77 else if (inputPixel < this->
m_Min || inputPixel >=
m_Max)
Define additional traits for native types such as int or float.
bool operator!=(const Digitizer &other) const
NumericTraits< PixelType >::RealType m_Min
bool operator==(const Digitizer &other) const
TOutput operator()(const MaskPixelType &maskPixel, const PixelType &inputPixel) const
Digitizer(unsigned int numberOfBinsPerAxis, MaskPixelType maskValue, PixelType min, PixelType max)
unsigned int m_NumberOfBinsPerAxis
MaskPixelType m_MaskValue
NumericTraits< PixelType >::RealType m_Max
Floor(TInput x) template< TReturn
Round towards minus infinity.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....