This function performs thresholding of an input image with
pixel-by-pixel thresholds stored in the pixels of a
thresholds image.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
public static Image Static( Image img, Image thresholds, StaticThresholding comparison )
Parameters
- img
- Type: Stemmer.CvbImage
Image to be thresholded. - thresholds
- Type: Stemmer.CvbImage
Image containing the threshold values for the pixels of the input img. - comparison
- Type: Stemmer.Cvb.FoundationStaticThresholding
Comparison to apply
Return Value
Type: ImageThe thresholded image.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input img or thresholds is null. |
ObjectDisposedException | If the input img or thresholds has already been disposed. |
Remarks
See Also