18#ifndef itkHistogramToLogProbabilityImageFilter_h
19#define itkHistogramToLogProbabilityImageFilter_h
49template <
typename TInput,
typename TOutput =
double>
95template <
typename THistogram,
typename TImage = Image<
double, 3>>
99 Function::HistogramLogProbabilityFunction<SizeValueType, typename TImage::PixelType>>
~HistogramLogProbabilityFunction()=default
SizeValueType m_TotalFrequency
OutputPixelType operator()(const TInput &A) const
void SetTotalFrequency(SizeValueType n)
SizeValueType GetTotalFrequency() const
HistogramLogProbabilityFunction()=default
This class takes a histogram as an input and returns an image of type specified by the functor.
The class takes a histogram as an input and gives the log probability image as the output....
~HistogramToLogProbabilityImageFilter() override=default
HistogramToLogProbabilityImageFilter()=default
Light weight base class for most itk classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType