用opencv的cvHoughLines2提取一些线,想控制一下画出线的斜率,该怎么做 10
for(inti=0;i<lines->total;i++){CvPoint*line=(CvPoint*)cvGetSeqElem(lines,i);{cvLine(s...
for (int i = 0; i < lines->total; i++)
{
CvPoint* line = (CvPoint*)cvGetSeqElem (lines, i);
{
cvLine (src, line[0], line[1], CV_RGB(255,0,0), 3, 8);
}
} 展开
{
CvPoint* line = (CvPoint*)cvGetSeqElem (lines, i);
{
cvLine (src, line[0], line[1], CV_RGB(255,0,0), 3, 8);
}
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询