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.
~HistogramToProbabilityImageFilter() override=default
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()
unsigned long SizeValueType
~HistogramProbabilityFunction()=default
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...
HistogramToProbabilityImageFilter()=default
TImage::PixelType OutputPixelType