Click or drag to resize

ImageTColor, TDepthSub Method (ImageTColor, TDepth, ImageGray, Byte)

http://www.emgu.com
Elementwise subtract another image from the current image, using a mask

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public Image<TColor, TDepth> Sub(
	Image<TColor, TDepth> img2,
	Image<Gray, byte> mask
)

Parameters

img2
Type: Emgu.CVImageTColor, TDepth
The image to be subtracted from the current image
mask
Type: Emgu.CVImageGray, Byte
The mask for the subtract operation

Return Value

Type: ImageTColor, TDepth
The result of elementwise subtracting img2 from the current image, using the specific mask
See Also