ArithmeticMultiply Method (Image, Double, PixelOverflow)

CVB.Net Documentation
Multiply constant values 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 Multiply(
	Image img,
	double value,
	PixelOverflow overflow
)

Parameters

img
Type: Stemmer.CvbImage
Input image
value
Type: SystemDouble
Value to be multiplied to each plane
overflow
Type: Stemmer.Cvb.FoundationPixelOverflow
Defines how arithmetic overflow is handled.

Return Value

Type: Image
Result image
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img 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