ImageTColor, TDepthAnd Method (TColor, ImageGray, Byte) |
http://www.emgu.com Perform an binary AND operation with some color 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> And(
TColor val,
Image<Gray, byte> mask
)
Public Function And (
val As TColor,
mask As Image(Of Gray, Byte)
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ And(
TColor val,
Image<Gray, unsigned char>^ mask
)
member And :
val : 'TColor *
mask : Image<Gray, byte> -> Image<'TColor, 'TDepth>
Parameters
- val
- Type: TColor
The color for the AND operation - mask
- Type: Emgu.CVImageGray, Byte
The mask for the AND operation
Return Value
Type:
ImageTColor,
TDepth The result of the AND operation
See Also