Ejemplo n.º 1
0
        private void OpenHistogram(object sender, RoutedEventArgs e)
        {
            //open window where user can see image and it's histograms for r/g/b channels and average channel
            var histogramwindow = new HistogramWindow((BitmapSource)ModifiedImgSingleton.Source);

            histogramwindow.Show();
        }
Ejemplo n.º 2
0
 internal static void HistogramExecuted(Window parent, ExecutedRoutedEventArgs e)
 {
     if (histogramWindow == null)
     {
         histogramWindow = new HistogramWindow(parent);
     }
     histogramWindow.Show();
     histogramWindow.Activate();
     e.Handled = true;
 }
Ejemplo n.º 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            HistogramWindow hw = new HistogramWindow();

            hw.Show();
        }