/// <summary> /// Load the Mat from file /// </summary> /// <param name="fileName">The name of the file</param> /// <param name="loadType">File loading method</param> public Mat(String fileName, CvEnum.LoadImageType loadType) : this(MatInvoke.cvMatCreate(), true, false) { using (CvString s = new CvString(fileName)) CvInvoke.cveImread(s, loadType, this); }
/// <summary> /// Create an empty cv::Mat /// </summary> public Mat() : this(MatInvoke.cvMatCreate(), true, true) { }