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.2.1.1062 (2.2.1.1062)

Syntax

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

Parameters

mat
IntPtr
The destination GpuMat
value
MCvScalar
Fill value
mask
IntPtr
Operation mask, 8-bit single channel GpuMat; specifies elements of destination array to be changed. Can be IntPtr.Zero if not used

See Also