http://www.emgu.com
Copies scalar value to every selected element of the destination OclMat: OclMat(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 void SetTo(
	MCvScalar value,
	OclMat<byte> mask
)
Visual Basic
Public Sub SetTo ( 
	value As MCvScalar,
	mask As OclMat(Of Byte)
)
Visual C++
public:
void SetTo(
	MCvScalar value, 
	OclMat<unsigned char>^ mask
)
F#
member SetTo : 
        value : MCvScalar * 
        mask : OclMat<byte> -> unit 

Parameters

value
Type: Emgu.CV.Structure..::..MCvScalar
Fill value
mask
Type: Emgu.CV.OpenCL..::..OclMat<(Of <(<'Byte>)>)>
Operation mask, 8-bit single channel OclMat; specifies elements of destination array to be changed. Can be null if not used.

See Also