Properties
Protected Optional defaultOptions
description
description: string = "Applies fixed-level thresholding to a multiple-channel array. The function is typically used to get a bi-level (binary) image out of a grayscale image or for removing a noise, that is, filtering out pixels with too small or too large values. There are several types of thresholding supported by the function. They are determined by type parameter."
isInPlace
isInPlace: boolean = false
name
name: string = "Threshold"
noDst
noDst: boolean = false
noInPlace
noInPlace: boolean = false
optionsOrder
optionsOrder: ("dst" | "src" | "thresh" | "maxval" | "thresholdType")[] = ['src', 'dst', 'thresh', 'maxval', 'thresholdType'] as (keyof ThresholdOptions)[]
sameSizeAndType
sameSizeAndType: boolean = true
validChannels
validChannels: number[] | undefined = undefined
Protected validateEachExec
validateEachExec: boolean = false
Protected validated
validated: boolean = false
Applies fixed-level thresholding to a multiple-channel array. The function is typically used to get a bi-level (binary) image out of a grayscale image or for removing a noise, that is, filtering out pixels with too small or too large values. There are several types of thresholding supported by the function. They are determined by type parameter.