/// <summary> /// Create a mat header for the specific ROI /// </summary> /// <param name="mat">The mat where the new Mat header will share data from</param> /// <param name="roi">The region of interest</param> public Mat(Mat mat, Rectangle roi) : this(MatInvoke.cveMatCreateFromRect(mat.Ptr, ref roi), true, true) { }