http://www.emgu.com
Copies scalar value to every selected element of the destination OclMat: arr(I)=value if mask(I)!=0

Namespace: Emgu.CV.OpenCL
Assembly: Emgu.CV.OpenCL (in Emgu.CV.OpenCL.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void OclMatSetTo(
	IntPtr mat,
	MCvScalar value,
	IntPtr mask
)
Visual Basic
Public Shared Sub OclMatSetTo ( 
	mat As IntPtr,
	value As MCvScalar,
	mask As IntPtr
)
Visual C++
public:
static void OclMatSetTo(
	IntPtr mat, 
	MCvScalar value, 
	IntPtr mask
)
F#
static member OclMatSetTo : 
        mat : IntPtr * 
        value : MCvScalar * 
        mask : IntPtr -> unit 

Parameters

mat
Type: System..::..IntPtr
The destination OclMat
value
Type: Emgu.CV.Structure..::..MCvScalar
Fill value
mask
Type: System..::..IntPtr
Operation mask, 8-bit single channel OclMat; specifies elements of destination OclMat to be changed. Can be IntPtr.Zero if not used

See Also