Commit 27b224ac authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3485 from mapycz:fix-calibrate-crash

parents 61886a61 d71e0017
...@@ -89,7 +89,7 @@ public: ...@@ -89,7 +89,7 @@ public:
int step_y = images[0].rows / y_points; int step_y = images[0].rows / y_points;
for(int i = 0, x = step_x / 2; i < x_points; i++, x += step_x) { for(int i = 0, x = step_x / 2; i < x_points; i++, x += step_x) {
for(int j = 0, y = step_y; j < y_points; j++, y += step_y) { for(int j = 0, y = step_y / 2; j < y_points; j++, y += step_y) {
sample_points.push_back(Point(x, y)); sample_points.push_back(Point(x, y));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment