예제 #1
0
 /// <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);
 }
 /// <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);
 }