Added a sample to show usage of the class.

This commit is contained in:
Daniel Angelov
2013-07-13 04:09:14 +03:00
parent e51e00ac5f
commit 6bd5e12be3
3 changed files with 59 additions and 7 deletions

View File

@@ -899,7 +899,7 @@ public:
* @param lines2 The second lines that need to be drawn. Color - Red.
* @return The number of mismatching pixels between lines1 and lines2.
*/
static int compareSegments(cv::Size& size, const std::vector<cv::Vec4i>& lines1, const std::vector<cv::Vec4i> lines2, cv::Mat* image = 0);
static int compareSegments(const cv::Size& size, const std::vector<cv::Vec4i>& lines1, const std::vector<cv::Vec4i> lines2, cv::Mat* image = 0);
private:
cv::Mat image;