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

Syntax

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

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.

See Also