diff options
author | Florian Jung <florian.a.jung@web.de> | 2012-11-29 17:56:36 +0100 |
---|---|---|
committer | Florian Jung <florian.a.jung@web.de> | 2012-11-29 17:56:36 +0100 |
commit | 4e9200578b3f371292495c7d2dc413c211333b9e (patch) | |
tree | 0c23f8cd725e36d04f2ed414d7efdc3631e2a3be | |
parent | 0138b99160080b967bd2182e38879df6383a5c0c (diff) |
nix
-rw-r--r-- | detect_road_borders.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/detect_road_borders.cpp b/detect_road_borders.cpp index 69e739e..b8b1dba 100644 --- a/detect_road_borders.cpp +++ b/detect_road_borders.cpp @@ -306,13 +306,7 @@ void find_steering_point(Mat orig_img, int** contour_map, Mat& drawing) // orig_ memset(contour_map[j],0,img.rows*sizeof(**contour_map)); for (int j=0;j<contour.size(); j++) // fill it contour_map[contour[j].x][contour[j].y]=j; - - /*int j; - for (j=0;j<contour.size();j++) - if (contour[j].y < contour[0].y-1) break; - for (;j<contour.size();j++) - circle(drawing, contour[j], 2, Scalar( 0,255-( j *255/contour.size()),( j *255/contour.size()))); - */ + line(drawing, Point(0,high_y), Point(drawing.cols,high_y), Scalar(127,127,127)); |