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

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

Syntax

C#
public static void GpuMatSetTo(
	IntPtr mat,
	MCvScalar value,
	IntPtr mask,
	IntPtr stream
)
Visual Basic
Public Shared Sub GpuMatSetTo ( _
	mat As IntPtr, _
	value As MCvScalar, _
	mask As IntPtr, _
	stream As IntPtr _
)
Visual C++
public:
static void GpuMatSetTo(
	IntPtr mat, 
	MCvScalar value, 
	IntPtr mask, 
	IntPtr stream
)

Parameters

mat
Type: System..::..IntPtr
The destination GpuMat
value
Type: Emgu.CV.Structure..::..MCvScalar
Fill value
mask
Type: System..::..IntPtr
Operation mask, 8-bit single channel GpuMat; specifies elements of destination GpuMat to be changed. Can be IntPtr.Zero if not used
stream
Type: System..::..IntPtr
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).

See Also