Create a thresholded image using a transparency approach.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
public static Image StaticTransparent( Image img, StaticThresholding comparison, double[] thresholds )
Parameters
- img
- Type: Stemmer.CvbImage
Input image - comparison
- Type: Stemmer.Cvb.FoundationStaticThresholding
Thresholding condition. - thresholds
- Type: SystemDouble
Thresholds to apply (one per plane).
Return Value
Type: ImageThe thresholded image.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If img, or thresholds is null. |
ObjectDisposedException | If img has been disposed. |
ArgumentException | If thresholds has too few elements. |
Remarks
See Also