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