Ejemplo n.º 1
0
        private void FiltrM5x5_Click(object sender, RoutedEventArgs e)
        {
            FiltrLibrary lib    = new FiltrLibrary();
            Bitmap       result = lib.FiltrMediana(imageDisplayed, null, 2);

            MessageBox.Show("Koniec");
            image.Source = BitmapToImageSource(result);
        }
Ejemplo n.º 2
0
        private void Filtr_konwolucyjny_Click(object sender, RoutedEventArgs e)
        {
            var getMask = new GetMask();

            getMask.ShowDialog();

            var mask = getMask._mask;

            FiltrLibrary lib    = new FiltrLibrary();
            Bitmap       result = lib.FiltrKonwolucyjny(imageDisplayed, mask);

            MessageBox.Show("Koniec");
            image.Source = BitmapToImageSource(result);
        }