ArithmeticDivide Method (Image, Image, Int32)

CVB.Net Documentation
Divide the pixel values of img2 by the pixel values of img2 to obtain the output image and shift them up by upShift bits to preserve information.

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

public static Image Divide(
	Image img1,
	Image img2,
	int upShift
)

Parameters

img1
Type: Stemmer.CvbImage
Input image 1
img2
Type: Stemmer.CvbImage
Input image 2
upShift
Type: SystemInt32
Result shift parameter

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 sizes of the two input images differ, the result image will contain the biggest rectangle common to both input images.
See Also

Reference