classPiiImage::SauvolaThresholdFunction
#include <PiiThresholding.h>
A function that calculates a local threshold t as
, where r stands for
relativeThreshold and
for the maximum possible standard
deviation.
Inherits Pii::TernaryFunction< UnaryFunction::argument_type, double, double, BinaryFunction::result_type >
Description
The output of the function is thresholdFunc(transformFunc(pixel), t).
See also
Constructors and destructor
|
(
|
Public member functions
|
BinaryFunction::result_type
|
(
|
Function details
-
SauvolaThresholdFunction
(- const BinaryFunction & thresholdFunc
- const UnaryFunction & transformFunc
- double relativeThreshold
- double maxStd
[inline] -
BinaryFunction::result_type operator()
(- typename UnaryFunction::argument_type pixel
- double mu
- double var
[inline]
Add a note
Not a single note added yet. Be the first, add yours.