c#图像处理
文章平均质量分 72
NAO
来自三亚学院的NAO机器人
展开
-
c#图像处理-二值化
public static Bitmap BitmapToBlack(Bitmap img, Double hsb) { int w = img.Width; int h = img.Height; Bitmap bmp = new Bitmap(w, h, PixelFormat.Format1bpp原创 2012-05-14 20:42:26 · 2987 阅读 · 0 评论 -
c#图像处理-利用霍夫检测去除直线
public Bitmap hough_line(Bitmap bmpobj, int cross_num) { Bitmap I_out = bmpobj; int x = bmpobj.Width; int y = bmpobj.Height; for (int ii =原创 2012-05-14 20:47:26 · 4450 阅读 · 3 评论 -
c#图像处理-边缘检测
//边缘检测 public Bitmap cn(Bitmap x) { Color c1 = new Color(); Color c2 = new Color(); Color c3 = new Color(); Color c4 = new Color()原创 2012-05-14 20:45:37 · 4387 阅读 · 0 评论 -
c#图像处理-灰度处理(gray)
public Bitmap GrayByPixels(Bitmap bmpcode) { bmpcode = new Bitmap(bmpcode); for (int i = 0; i < bmpcode.Height; i++) { for (int j = 0;原创 2012-05-14 20:38:55 · 1385 阅读 · 0 评论 -
c#图像处理-利用霍夫检测得到未知圆坐标半径
public Bitmap circle(Bitmap img) { int[, ,] A = new int[img.Width, img.Height, 100]; for (int x = 0; x < img.Width; x++) { for (int y =原创 2012-05-14 20:50:35 · 3360 阅读 · 0 评论