Ejemplo n.º 1
0
 public MainWindow()
 {
     InitializeComponent();
     CurrentImageToDisplay = ImageToDisplay.None;
     ImageHandler          = new ImageHandler();
     LengthCollector       = new LengthCollector();
     EmguImgBox.SizeMode   = PictureBoxSizeMode.Zoom;
     //hogy ne lehessen pan-elni és zoomolni
     //EmguImgBox.FunctionalMode = Emgu.CV.UI.ImageBox.FunctionalModeOption.Minimum;
     //EmguImgBox.VerticalScrollBar.KeyPress
     ImgToDisplay              = new Mat();
     Switch                    = false;
     OgImgBtn.IsChecked        = true;
     ProcessedImgBtn.IsChecked = false;
     SettingsWindow            = new SettingsWindow {
         Visibility = Visibility.Collapsed
     };
     LengthWindow = new LengthWindow {
         Visibility = Visibility.Collapsed
     };
     ImageProcessorExaminer = new ImageProcessorExaminer()
     {
         Visibility = Visibility.Collapsed
     };
 }
Ejemplo n.º 2
0
 private void ExaminerClick(object sender, RoutedEventArgs e)
 {
     ImageProcessorExaminer.Show();
 }