Interface ThresholdOptionsAlgorithm

interface ThresholdOptionsAlgorithm {
    algorithm?: ThresholdAlgorithm;
    out?: Mask;
    slots?: number;
}

Hierarchy

  • ThresholdOptionsBase
    • ThresholdOptionsAlgorithm

Properties

algorithm?: ThresholdAlgorithm

Specify a function to computes the threshold value.

Default

'otsu'

out?: Mask

Image to use as the output.

slots?: number

Number of slots that histogram can have. Slots must be a power of 2.