Elementwise add img2 with the current image, using a mask

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public Image<TColor, TDepth> Add(
	Image<TColor, TDepth> img2,
	Image<Gray, byte> mask
)
Public Function Add ( _
	img2 As Image(Of TColor, TDepth), _
	mask As Image(Of Gray, Byte) _
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ Add(
	Image<TColor, TDepth>^ img2, 
	Image<Gray, unsigned char>^ mask
)

Parameters

img2
Image<(Of <(TColor, TDepth>)>)
The image to be added to the current image
mask
Image<(Of <(Gray, Byte>)>)
The mask for the add operation

Return Value

The result of elementwise adding img2 to the current image, using the specific mask

See Also