Пример #1
0
        private void CropWindow_Closing(object sender, CancelEventArgs e)
        {
            var oP = new OptionsProperties();

            oP.SetOption("ContourThickness", SecimValue.Value);
            oP.SetOption("SuccessRate", DogrulukValue.Value);
            ContourOptions.SaveOption("AdaptiveThresholdBlockSize", DetailSlider.Value);
        }
Пример #2
0
 private void YeniButon_Click(object sender, RoutedEventArgs e)
 {
     ContourOptions.SaveOption("AdaptiveThresholdBlockSize", DetailSlider.Value);
     _lockSelection         = false;
     _processor             = ContourOptions.Processor;
     _croppedImage          = null;
     _designedSamples       = new Templates();
     AlanSayisi.Text        = ResLocalization.SavedTemplateCount + " :0";
     PaintCanvas.Background = Brushes.White;
     PaintCanvas.Children.Clear();
 }
Пример #3
0
 public VideoSettings(ImageProcessor processor)
 {
     ContourOptions.SaveOption("AdaptiveThresholdBlockSize", processor.adaptiveThresholdBlockSize);
     InitializeComponent();
     Processor = processor;
 }