Emgu CV Library Documentation
cvCmpS Method (src, value, dst, cmpOp)
NamespacesEmgu.CVCvInvokecvCmpS(IntPtr, Double, IntPtr, CMP_TYPE)

www.emgu.com/wiki
Compares the corresponding elements of array and scalar and fills the destination mask array: dst(I)=src(I) op scalar, where op is '=', '>', '>=', '<', '<=' or '!='. dst(I) is set to 0xff (all '1'-bits) if the particular relation between the elements is true and 0 otherwise. All the arrays must have the same size (or ROI size)
Declaration Syntax
C#Visual BasicVisual C++
public static void cvCmpS(
	IntPtr src,
	double value,
	IntPtr dst,
	CMP_TYPE cmpOp
)
Public Shared Sub cvCmpS ( _
	src As IntPtr, _
	value As Double, _
	dst As IntPtr, _
	cmpOp As CMP_TYPE _
)
public:
static void cvCmpS(
	IntPtr src, 
	double value, 
	IntPtr dst, 
	CMP_TYPE cmpOp
)
Parameters
src (IntPtr)
The source array, must have a single channel
value (Double)
The scalar value to compare each array element with
dst (IntPtr)
The destination array, must have 8u or 8s type
cmpOp (CMP_TYPE)
The flag specifying the relation between the elements to be checked

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)