|
4 | 4 |
|
5 | 5 | #include "test_precomp.hpp"
|
6 | 6 | #include "opencv2/ximgproc/sparse_table_morphology.hpp"
|
| 7 | +#include <vector> |
7 | 8 |
|
8 | 9 | namespace opencv_test {
|
9 | 10 | namespace {
|
@@ -232,7 +233,7 @@ TEST(ximgproc_StMorph_dev, compare_with_original_erode)
|
232 | 233 | Mat diff;
|
233 | 234 | cv::absdiff(expected, actual, diff);
|
234 | 235 |
|
235 |
| -#if 1 |
| 236 | +#if 0 |
236 | 237 | putText(expected, std::to_string(originalTime), cv::Point(10, 20), HersheyFonts::FONT_HERSHEY_TRIPLEX, 1, Scalar(250, 40, 40), 1, LineTypes::FILLED);
|
237 | 238 | putText(actual, std::to_string(proposalTime), cv::Point(10, 20), HersheyFonts::FONT_HERSHEY_TRIPLEX, 1, Scalar(250, 40, 40), 1, LineTypes::FILLED);
|
238 | 239 | Mat con;
|
@@ -289,7 +290,7 @@ TEST(ximgproc_StMorph_dev, POW2RECT_COVERING)
|
289 | 290 | cv::line(kernel, rb, rt, color[i % 20], 2);
|
290 | 291 | cv::line(kernel, rt, lt, color[i % 20], 2);
|
291 | 292 | }
|
292 |
| - imshow("kernel", kernel); |
| 293 | + //imshow("kernel", kernel); |
293 | 294 |
|
294 | 295 | waitKey();
|
295 | 296 | destroyAllWindows();
|
@@ -332,7 +333,7 @@ TEST(ximgproc_StMorph_dev, PLANNING)
|
332 | 333 | cv::line(m, Point(edge.dimCol * g + g / 2, edge.dimRow * g + g / 2), Point((edge.dimCol + 1) * g + g / 2, edge.dimRow * g + g / 2), Scalar(100, 100, 100), 2);
|
333 | 334 | }
|
334 | 335 | }
|
335 |
| - imshow("Map", m); |
| 336 | +// imshow("Map", m); |
336 | 337 |
|
337 | 338 | waitKey();
|
338 | 339 | destroyAllWindows();
|
|
0 commit comments