| 1034 | cv::rectangle(img, cv::Point(img.cols-NN,0), cv::Point(img.cols-1, img.rows-1), cv::Scalar(0), CV_FILLED); |
| 1035 | } |
| 1036 | void LSWMS::drawLSegs(cv::Mat &img, std::vector<LSEG> &lSegs, cv::Scalar color, int thickness) |
| 1037 | { |
| 1038 | for(unsigned int i=0; i<lSegs.size(); i++) |
| 1039 | cv::line(img, lSegs[i][0], lSegs[i][1], color, thickness); |
| 1040 | } |
| 1041 | void LSWMS::drawLSegs(cv::Mat &img, std::vector<LSEG> &lSegs, std::vector<double> &errors, int thickness) |
| 1042 | { |
| 1043 | std::vector<cv::Scalar> colors; |