| MatSetTo Method (Scalar, Mat) |
Sets all or some of the array elements to the specified value.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public Mat SetTo(
Scalar value,
Mat mask = null
)
Public Function SetTo (
value As Scalar,
Optional mask As Mat = Nothing
) As Mat
public:
Mat^ SetTo(
Scalar value,
Mat^ mask = nullptr
)
member SetTo :
value : Scalar *
?mask : Mat
(* Defaults:
let _mask = defaultArg mask null
*)
-> Mat
Parameters
- value
- Type: OpenCvSharpScalar
[Missing <param name="value"/> documentation for "M:OpenCvSharp.Mat.SetTo(OpenCvSharp.Scalar,OpenCvSharp.Mat)"]
- mask (Optional)
- Type: OpenCvSharpMat
[Missing <param name="mask"/> documentation for "M:OpenCvSharp.Mat.SetTo(OpenCvSharp.Scalar,OpenCvSharp.Mat)"]
Return Value
Type:
Mat[Missing <returns> documentation for "M:OpenCvSharp.Mat.SetTo(OpenCvSharp.Scalar,OpenCvSharp.Mat)"]
See Also