Skip to content
Snippets Groups Projects
Commit 96a91757 authored by am0ebe's avatar am0ebe
Browse files

.

parent 82cbbe85
Branches
No related tags found
No related merge requests found
...@@ -57,6 +57,7 @@ std::vector<std::vector<cv::Point>> TToolBox::applyCannyEdgeAndCalcCountours(cv: ...@@ -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::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"; cv::String outpath= "/homes/tb55xemi/work/dev/bgslibrary-bgslib_qtgui_2.0.0/build/test0815/results";
std::ostringstream convert; std::ostringstream convert;
convert << outpath << "test_countour_canny_edge.jpg"; convert << outpath << "test_countour_canny_edge.jpg";
......
...@@ -42,6 +42,7 @@ public: ...@@ -42,6 +42,7 @@ public:
static std::vector<std::vector<cv::Point>> applyCannyEdgeAndCalcCountours(cv::Mat imgSource, double threshholdMin, double threshholdMax, int apertureSize); static std::vector<std::vector<cv::Point>> applyCannyEdgeAndCalcCountours(cv::Mat imgSource, double threshholdMin, double threshholdMax, int apertureSize);
//! will test if file is not corrupted //! will test if file is not corrupted
//! Requires: 'identify' cmd from ImageMagick
//! @return 1 if corrupted //! @return 1 if corrupted
//! @return 0 if not //! @return 0 if not
static int checkFileCorrupted(std::string filename); static int checkFileCorrupted(std::string filename);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment