MCPcopy Create free account
hub / github.com/creatale/node-dv / drawLSegs

Method drawLSegs

deps/lswms/LSWMS.cpp:1036–1040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1034 cv::rectangle(img, cv::Point(img.cols-NN,0), cv::Point(img.cols-1, img.rows-1), cv::Scalar(0), CV_FILLED);
1035}
1036void 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}
1041void LSWMS::drawLSegs(cv::Mat &img, std::vector<LSEG> &lSegs, std::vector<double> &errors, int thickness)
1042{
1043 std::vector<cv::Scalar> colors;

Callers

nothing calls this directly

Calls 3

lineFunction · 0.85
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected