MatSetTo Method (Scalar, InputArray) OpenCvSharp Class Library
Sets all or some of the array elements to the specified value.

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

public Mat SetTo(
	Scalar value,
	InputArray mask = null
)

Parameters

value
Type: OpenCvSharp.CPlusPlusScalar

[Missing <param name="value"/> documentation for "M:OpenCvSharp.CPlusPlus.Mat.SetTo(OpenCvSharp.CPlusPlus.Scalar,OpenCvSharp.CPlusPlus.InputArray)"]

mask (Optional)
Type: OpenCvSharp.CPlusPlusInputArray

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

Return Value

Type: Mat

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

See Also

Reference