MatOfByte3 Constructor (MatOfByte3,Range[])
|
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 MatOfByte3(
MatOfByte3 m,
params Range[] ranges
)
Public Sub New (
m As MatOfByte3,
ParamArray ranges As Range()
)
public:
MatOfByte3(
MatOfByte3^ m,
... array<Range>^ ranges
)
new :
m : MatOfByte3 *
ranges : Range[] -> MatOfByte3
OpenCvSharp.MatOfByte3 = function(m, ... ranges);
Parameters
- m
- Type: OpenCvSharp.MatOfByte3
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() . - ranges
- Type:OpenCvSharp.Range[]
Array of selected ranges of m along each dimensionality.
See Also