From 5be9f6cbf768e308b7342c22c3a4624a4e603531 Mon Sep 17 00:00:00 2001 From: g-spacewhale <17550607+g-spacewhale@users.noreply.github.com> Date: Tue, 23 Jan 2018 13:09:58 +0100 Subject: [PATCH] refined comments --- .../AbstractionLayers/Layer1/AbstractionLayer_1.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.cpp b/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.cpp index eb100a8..c62fc8f 100644 --- a/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.cpp +++ b/Source/functions/AbstractionLayers/Layer1/AbstractionLayer_1.cpp @@ -1103,7 +1103,7 @@ unsigned char analyseParts::analyseContour(vector corners, vector } } - //saves length between Corners and Poempel + //saves length between Corners and Poempel top diff = corners[3] - contour_top_new[max_dist_idx]; PoempelPosition[0] = cv::sqrt(diff.x*diff.x + diff.y*diff.y); diff = corners[2] - contour_top_new[max_dist_idx]; @@ -1133,7 +1133,7 @@ unsigned char analyseParts::analyseContour(vector corners, vector } } - //saves length between Corners and Poempel + //saves length between Corners and Poempel left diff = corners[1] - contour_left_new[max_dist_idx]; PoempelPosition[6] = cv::sqrt(diff.x*diff.x + diff.y*diff.y); diff = corners[3] - contour_left_new[max_dist_idx]; @@ -1160,6 +1160,7 @@ unsigned char analyseParts::analyseContour(vector corners, vector max_dist_idx = i; } } + //saves length between Corners and Poempel left diff = corners[0] - contour_bottom_new[max_dist_idx]; PoempelPosition[4] = cv::sqrt(diff.x*diff.x + diff.y*diff.y); diff = corners[1] - contour_bottom_new[max_dist_idx];