diff --git a/src/algorithms/ttoolbox.cpp b/src/algorithms/ttoolbox.cpp index e5005a3d1267ce358322aa4a95850bba375409f5..2fc4ab50863c70d3709b00c87311fe8376191b95 100644 --- a/src/algorithms/ttoolbox.cpp +++ b/src/algorithms/ttoolbox.cpp @@ -57,6 +57,7 @@ std::vector<std::vector<cv::Point>> TToolBox::applyCannyEdgeAndCalcCountours(cv: cv::drawContours( imgContour, contours, i, color, 1, cv::LINE_AA, hierarchy, 0, cv::Point() ); } + cv::String outpath= "/homes/tb55xemi/work/dev/bgslibrary-bgslib_qtgui_2.0.0/build/test0815/results"; std::ostringstream convert; convert << outpath << "test_countour_canny_edge.jpg"; diff --git a/src/algorithms/ttoolbox.h b/src/algorithms/ttoolbox.h index ee2ca9b194ff94b72a7c73bf7382b640c556bb8d..656a048324eea785ee4e16a6dad0efdfc23d4aa3 100644 --- a/src/algorithms/ttoolbox.h +++ b/src/algorithms/ttoolbox.h @@ -42,6 +42,7 @@ public: static std::vector<std::vector<cv::Point>> applyCannyEdgeAndCalcCountours(cv::Mat imgSource, double threshholdMin, double threshholdMax, int apertureSize); //! will test if file is not corrupted + //! Requires: 'identify' cmd from ImageMagick //! @return 1 if corrupted //! @return 0 if not static int checkFileCorrupted(std::string filename);