Beispiel #1
0
 private void Filter_Median(object sender, RoutedEventArgs e)
 {
     FilteredPic.Source = FileHelper.getBitmapSourceFromBitmap(FilterHelper.medianFilter(FileHelper.getBitmapFromBitmapSource((BitmapSource)SourcePic.Source)));
 }
Beispiel #2
0
 private void bw_DoWork(object sender, DoWorkEventArgs e)
 {
     map = FilterHelper.filterRed(FileHelper.getBitmapFromBitmapSource((BitmapSource)SourcePic.Source));
 }