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.0.1717 (2.4.0.1717)

Syntax

C#
public void SetTo(
	MCvScalar value,
	GpuMat<byte> mask,
	Stream stream
)
Visual Basic
Public Sub SetTo ( _
	value As MCvScalar, _
	mask As GpuMat(Of Byte), _
	stream As Stream _
)
Visual C++
public:
void SetTo(
	MCvScalar value, 
	GpuMat<unsigned char>^ mask, 
	Stream^ stream
)

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.
stream
Type: Emgu.CV.GPU..::..Stream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).

See Also