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.2.1.1150 (2.2.1.1150)

Syntax

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

Parameters

value
MCvScalar
Fill value
mask
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
Stream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).

See Also