MatOfDouble3 Constructor (MatOfDouble3, Rect)
|
creates a matrix header for a part of the bigger matrix
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic MatOfDouble3(
MatOfDouble3 m,
Rect roi
)
Public Sub New (
m As MatOfDouble3,
roi As Rect
)
public:
MatOfDouble3(
MatOfDouble3^ m,
Rect roi
)
new :
m : MatOfDouble3 *
roi : Rect -> MatOfDouble3
OpenCvSharp.MatOfDouble3 = function(m, roi);
Parameters
- m
- Type: OpenCvSharpMatOfDouble3
Array that (as a whole or partly) is assigned to the constructed matrix.
No data is copied by these constructors. Instead, the header pointing to m data or its sub-array
is constructed and associated with it. The reference counter, if any, is incremented.
So, when you modify the matrix formed using such a constructor, you also modify the corresponding elements of m .
If you want to have an independent copy of the sub-array, use Mat.Clone() . - roi
- Type: OpenCvSharpRect
Region of interest.
See Also