classPiiImage::MeanStdThresholdFunction
#include <PiiThresholding.h>
A function that calculates a local threshold t as
, where r stands for
relativeThreshold.
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
|
(
|
|
template<class BinaryFunction, class UnaryFunction>
MeanStdThresholdFunction<
BinaryFunction, UnaryFunction >
|
(
Create a threshold function. |
Function details
-
MeanStdThresholdFunction
(- const BinaryFunction & thresholdFunc
- const UnaryFunction & transformFunc
- double relativeThreshold
[inline] -
BinaryFunction::result_type operator()
(- typename UnaryFunction::argument_type pixel
- double mu
- double var
[inline] -
template<class BinaryFunction, class UnaryFunction>
MeanStdThresholdFunction< BinaryFunction, UnaryFunction > meanStdThresholdFunction
(- const BinaryFunction & threshold
- const UnaryFunction & transform
- double r
Create a threshold function.
Add a note
Not a single note added yet. Be the first, add yours.