示例#1
0
        private void CropWindow_Loaded(object sender, RoutedEventArgs e)
        {
            var oP = new OptionsProperties();

            SecimValue.Value    = oP.GetOption <double>("ContourThickness");
            DogrulukValue.Value = oP.GetOption <double>("SuccessRate");
            DetailSlider.Value  = ContourOptions.GetOption <double>("AdaptiveThresholdBlockSize");
        }
示例#2
0
        private void MenuItem_Click_3(object sender, RoutedEventArgs e)
        {
            var videoSettings = new VideoSettings(_processor);

            videoSettings.ShowDialog();
            _processor         = videoSettings.Processor;
            DetailSlider.Value = ContourOptions.GetOption <double>("AdaptiveThresholdBlockSize");
        }