summaryrefslogtreecommitdiff
path: root/detect_road_borders.cpp
diff options
context:
space:
mode:
authorFlorian Jung <florian.a.jung@web.de>2012-11-29 17:56:36 +0100
committerFlorian Jung <florian.a.jung@web.de>2012-11-29 17:56:36 +0100
commit4e9200578b3f371292495c7d2dc413c211333b9e (patch)
tree0c23f8cd725e36d04f2ed414d7efdc3631e2a3be /detect_road_borders.cpp
parent0138b99160080b967bd2182e38879df6383a5c0c (diff)
nix
Diffstat (limited to 'detect_road_borders.cpp')
-rw-r--r--detect_road_borders.cpp8
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));