ArithmeticSubtract Method (Image, Double)

CVB.Net Documentation
Subtract constant offsets from the pixel values of the input image.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static Image Subtract(
	Image img,
	double[] values
)

Parameters

img
Type: Stemmer.CvbImage
Input image
values
Type: SystemDouble
Values to be subtracted (at least one per plane inimg

Return Value

Type: Image
Result image
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img or values is null.
ObjectDisposedExceptionIf the input img has already been disposed
Remarks

Negative results are saturated at MinVal.
See Also

Reference