Calculates per-element bit-wise conjunction of array and scalar: dst(I)=src(I)&value if mask(I)!=0 Prior to the actual operation the scalar is converted to the same type as the arrays. In the case of floating-point arrays their bit representations are used for the operation. All the arrays must have the same type, except the mask, and the same size

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 static void cvAndS(
	IntPtr src,
	MCvScalar value,
	IntPtr dst,
	IntPtr mask
)
Public Shared Sub cvAndS ( _
	src As IntPtr, _
	value As MCvScalar, _
	dst As IntPtr, _
	mask As IntPtr _
)
public:
static void cvAndS(
	IntPtr src, 
	MCvScalar value, 
	IntPtr dst, 
	IntPtr mask
)

Parameters

src
IntPtr
The source array
value
MCvScalar
Scalar to use in the operation
dst
IntPtr
The destination array
mask
IntPtr
Operation mask, 8-bit single channel array; specifies elements of destination array to be changed

See Also