Interface ThresholdOptionsThreshold

interface ThresholdOptionsThreshold {
    out?: Mask;
    slots?: number;
    threshold: number;
}

Hierarchy

  • ThresholdOptionsBase
    • ThresholdOptionsThreshold

Properties

Properties

out?: Mask

Image to use as the output.

slots?: number

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

threshold: number

Threshold value that should be used. Threshold is a value in range [0,1], which will be interpreted as a percentage of image.maxValue.