ThresholdStatic Method (Image, Double, StaticThresholding)

CVB.Net Documentation
Create an output image that is the result of static thresholding.

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,
	double[] values,
	StaticThresholding comparison
)

Parameters

img
Type: Stemmer.CvbImage
Image to apply static thresholding to.
values
Type: SystemDouble
Threshold values - the array must contain at least one threshold per plane available in the image.
comparison
Type: Stemmer.Cvb.FoundationStaticThresholding
Comparison method.

Return Value

Type: Image
The thresholded image.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img is null or the values array is null
ObjectDisposedExceptionIf the input img has already been disposed
ArgumentExceptionIf the values array does not contain enough values
See Also

Reference