ArithmeticMultiply Method (Image, Image, PixelOverflow)

CVB.Net Documentation
Multiply the pixel values of both input images to obtain the output 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 img1,
	Image img2,
	PixelOverflow overflow
)

Parameters

img1
Type: Stemmer.CvbImage
Input image 1
img2
Type: Stemmer.CvbImage
Input image 2
overflow
Type: Stemmer.Cvb.FoundationPixelOverflow
Defines how arithmetic overflow is handled.

Return Value

Type: Image
Result image
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img1/img2 is null.
ObjectDisposedExceptionIf the input img1/img2 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).

If the sizes of the two input images differ, the result image will contain the biggest rectangle common to both input images.

See Also

Reference