C#转换为灰度图的算法
摘要:
public static unsafe void GrayscaleImage(BitmapData sourceImage, IntPtr destBuffer) { int width = sourceImage.Width; int height = sourceImage.Height; // do the job var src = (byte*) sourceImage.Scan0.... 阅读全文
posted @ 2009-02-01 16:33 zengqs 阅读(1081) 评论(0) 推荐(0) 编辑