ArithmeticAdd Method (Image, Double, PixelOverflow)

CVB.Net Documentation
Add constant offsets to 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 Add(
	Image img,
	double[] values,
	PixelOverflow overflow
)

Parameters

img
Type: Stemmer.CvbImage
Input image
values
Type: SystemDouble
Values to be added (at least one per plane in img
overflow
Type: Stemmer.Cvb.FoundationPixelOverflow
Defines how arithmetic overflow is handled.

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

If the parameter overflow is set to Scale, the resulting pixel values are divided to fit the dynamic range of the image (truncated otherwise).
See Also

Reference