博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年11月21日

摘要: public static short[][] GetPixs(Bitmap bitmap) { int height = bitmap.Height; int width = bitmap.Width; byte tempB, tempG, tempR; short[][] spOriginData = new short[height][]; for (int i = 0; i 255) spOriginData[y][x] = 255; else if (data < 0) spOriginData[y][x] = 0; else spOriginData[y][x] = (sho 阅读全文

posted @ 2013-11-21 17:08 米拉多 阅读(235) 评论(0) 推荐(0) 编辑