GpuMatSetTo Method OpenCvSharp Class Library
sets some of the matrix elements to s, according to the mask

Namespace:  OpenCvSharp.CPlusPlus.Gpu
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public GpuMat SetTo(
	Scalar s,
	GpuMat mask = null
)

Parameters

s
Type: OpenCvSharp.CPlusPlusScalar

[Missing <param name="s"/> documentation for "M:OpenCvSharp.CPlusPlus.Gpu.GpuMat.SetTo(OpenCvSharp.CPlusPlus.Scalar,OpenCvSharp.CPlusPlus.Gpu.GpuMat)"]

mask (Optional)
Type: OpenCvSharp.CPlusPlus.GpuGpuMat

[Missing <param name="mask"/> documentation for "M:OpenCvSharp.CPlusPlus.Gpu.GpuMat.SetTo(OpenCvSharp.CPlusPlus.Scalar,OpenCvSharp.CPlusPlus.Gpu.GpuMat)"]

Return Value

Type: GpuMat

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Gpu.GpuMat.SetTo(OpenCvSharp.CPlusPlus.Scalar,OpenCvSharp.CPlusPlus.Gpu.GpuMat)"]

See Also

Reference