예제 #1
0
 public static Bitmap ToBlackAndWhite(this Bitmap bitmap)
 {
     AForge.Imaging.Filters.GrayscaleY filter = new AForge.Imaging.Filters.GrayscaleY();
     return filter.Apply(bitmap);
 }
예제 #2
0
 public static Bitmap ToBlackAndWhite(this Bitmap bitmap)
 {
     AForge.Imaging.Filters.GrayscaleY filter = new AForge.Imaging.Filters.GrayscaleY();
     return(filter.Apply(bitmap));
 }