/// <summary> /// Create multi-dimension mat using existing data. /// </summary> /// <param name="sizes">The sizes of each dimension</param> /// <param name="type">The type of data</param> /// <param name="data">The pointer to the unmanaged data</param> /// <param name="steps">The steps</param> public Mat(int[] sizes, CvEnum.DepthType type, IntPtr data, IntPtr[] steps = null) : this(MatInvoke.cveMatCreateMultiDimWithData(sizes, type, data, steps), true, true) { }