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 value
)

Parameters

img
Type: Stemmer.CvbImage
Input image
value
Type: SystemDouble
Value to be subtracted to each plane

Return Value

Type: Image
Result image
Exceptions

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

Negative results are saturated at MinVal.
See Also

Reference