MatOfPoint Constructor (MatOfPoint, Rect) OpenCvSharp Class Library
creates a matrix header for a part of the bigger matrix

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

public MatOfPoint(
	MatOfPoint m,
	Rect roi
)

Parameters

m
Type: OpenCvSharp.CPlusPlusMatOfPoint
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: OpenCvSharp.CPlusPlusRect
Region of interest.
See Also

Reference