18 #ifndef __itkHistogramToProbabilityImageFilter_h
19 #define __itkHistogramToProbabilityImageFilter_h
49 template<
typename TInput,
typename TOutput =
float >
86 template<
typename THistogram,
typename TImage=Image<
float, 3> >
89 Function::HistogramProbabilityFunction< SizeValueType, typename TImage::PixelType > >
OutputPixelType operator()(const TInput &A) const
SizeValueType GetTotalFrequency() const
Light weight base class for most itk classes.
~HistogramProbabilityFunction()
The class takes a histogram as an input and gives the probability image as the output. A pixel, at position I, in the output image is given by.
HistogramProbabilityFunction()
virtual ~HistogramToProbabilityImageFilter()
HistogramToProbabilityImageFilter Self
SmartPointer< const Self > ConstPointer
unsigned long SizeValueType
HistogramToImageFilter< THistogram, TImage, Function::HistogramProbabilityFunction< SizeValueType, typename TImage::PixelType > > Superclass
HistogramToProbabilityImageFilter()
void SetTotalFrequency(SizeValueType n)
SizeValueType m_TotalFrequency
This class takes a histogram as an input and returns an image of type specified by the functor...
SmartPointer< Self > Pointer
void operator=(const Self &)