ImageTColor, TDepthCmp Method (ImageTColor, TDepth, CmpType) |
http://www.emgu.com
Compare the current image with img2 and returns the comparison 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, byte> Cmp(
Image<TColor, TDepth> img2,
CmpType cmpType
)
Public Function Cmp (
img2 As Image(Of TColor, TDepth),
cmpType As CmpType
) As Image(Of TColor, Byte)
public:
Image<TColor, unsigned char>^ Cmp(
Image<TColor, TDepth>^ img2,
CmpType cmpType
)
member Cmp :
img2 : Image<'TColor, 'TDepth> *
cmpType : CmpType -> Image<'TColor, byte>
Parameters
- img2
- Type: Emgu.CVImageTColor, TDepth
The other image to compare with - cmpType
- Type: Emgu.CV.CvEnumCmpType
The comparison type
Return Value
Type:
ImageTColor,
ByteThe result of the comparison as a mask
See Also