Perform an elementwise AND operation with another image, using a mask, and return the result

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

Syntax

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

Parameters

img2
Image<(Of <(<'TColor, TDepth>)>)>
The second image for the AND operation
mask
Image<(Of <(<'Gray, Byte>)>)>
The mask for the AND operation

Return Value

The result of the AND operation

See Also