Example #1
0
 public   void ChangeSettings()
 {
     RtscSettings settings = new RtscSettings();
     settings.sug_thresh = (float)ConfigNPR.Instance.SuggestiveContours;
     settings.sh_thresh = (float)ConfigNPR.Instance.SuggestiveHlt;
     settings.ph_thresh = (float)ConfigNPR.Instance.PrincipalHlt;
     settings.rv_thresh = (float)ConfigNPR.Instance.RidgeValley;
     settings.ar_thresh = (float)ConfigNPR.Instance.ApparentRidges;
     //settings.use_hermite = 1;
     settings.draw_hidden = ConfigNPR.Instance.DrawHiddenLine ? 1 : 0;
     settings.DrawAll();
     settings.SetUp();
 }
Example #2
0
        public void ChangeSettings()
        {
            RtscSettings settings = new RtscSettings();

            settings.sug_thresh = (float)ConfigNPR.Instance.SuggestiveContours;
            settings.sh_thresh  = (float)ConfigNPR.Instance.SuggestiveHlt;
            settings.ph_thresh  = (float)ConfigNPR.Instance.PrincipalHlt;
            settings.rv_thresh  = (float)ConfigNPR.Instance.RidgeValley;
            settings.ar_thresh  = (float)ConfigNPR.Instance.ApparentRidges;
            //settings.use_hermite = 1;
            settings.draw_hidden = ConfigNPR.Instance.DrawHiddenLine ? 1 : 0;
            settings.DrawAll();
            settings.SetUp();
        }