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)
Syntaxpublic Image<TColor, TDepth> Sub(
Image<TColor, TDepth> img2,
Image<Gray, byte> mask
)
Public Function Sub (
img2 As Image(Of TColor, TDepth),
mask As Image(Of Gray, Byte)
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ Sub(
Image<TColor, TDepth>^ img2,
Image<Gray, unsigned char>^ mask
)
member Sub :
img2 : Image<'TColor, 'TDepth> *
mask : Image<Gray, byte> -> Image<'TColor, 'TDepth>
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