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

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

Syntax

C#
public void SetTo(
	MCvScalar value,
	GpuMat<byte> mask
)
Visual Basic
Public Sub SetTo ( 
	value As MCvScalar,
	mask As GpuMat(Of Byte)
)
Visual C++
public:
void SetTo(
	MCvScalar value, 
	GpuMat<unsigned char>^ mask
)
F#
member SetTo : 
        value : MCvScalar * 
        mask : GpuMat<byte> -> unit 

Parameters

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

See Also