Elementwise subtrace another image from the current image, using a mask
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public Image<TColor, TDepth> Sub( Image<TColor, TDepth> img2, Image<Gray, byte> mask ) |
Visual Basic (Declaration) |
---|
Public Function Sub ( _ img2 As Image(Of TColor, TDepth), _ mask As Image(Of Gray, Byte) _ ) As Image(Of TColor, TDepth) |
Visual C++ |
---|
public: Image<TColor, TDepth>^ Sub( Image<TColor, TDepth>^ img2, Image<Gray, unsigned char>^ mask ) |
Parameters
- img2
- Type: Emgu.CV..::.Image<(Of <(TColor, TDepth>)>)
The image to be subtraced from the current image
- mask
- Type: Emgu.CV..::.Image<(Of <(Gray, Byte>)>)
The mask for the subtract operation