示例#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));
 }