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.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
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