Into

Modules

Documentation

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

(
  • const BinaryFunction & thresholdFunc
  • const UnaryFunction & transformFunc
  • double relativeThreshold
  • double maxStd
)

Public member functions

BinaryFunction::result_type
(
  • typename UnaryFunction::argument_type pixel
  • double mu
  • double var
)

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]
Notes (0)

Add a note

Not a single note added yet. Be the first, add yours.