Ejemplo n.º 1
0
        private void Bin_Reczna_Click(object sender, RoutedEventArgs e)
        {
            getOneValueWindow wi = new getOneValueWindow();

            if (wi.ShowDialog().Value)
            {
                BinarizationLibrary bl = new BinarizationLibrary();
                image.Source = BitmapToImageSource(bl.TransformBinary(imageDisplayed, wi._value));
            }
        }
Ejemplo n.º 2
0
        private void Rozjaśnij_Click(object sender, RoutedEventArgs e)
        {
            getOneValueWindow wi = new getOneValueWindow();

            if (wi.ShowDialog().Value)
            {
                HistogramLibrary srv = new HistogramLibrary();
                image.Source = BitmapToImageSource(srv.Rozjasnij(imageDisplayed, wi._value));
            }
        }