/// <summary> /// /// </summary> /// <param name="model">name of the file where the model is stored</param> /// <param name="howToGetFeatures">optional object inheriting from RFFeatureGetter. You need it only if you would like to train your own forest, pass NULL otherwise</param> public StructuredEdgeDetection(String model, RFFeatureGetter howToGetFeatures) { using (CvString sModel = new CvString(model)) _ptr = XimgprocInvoke.cveStructuredEdgeDetectionCreate(sModel, howToGetFeatures); }