【发布时间】:2016-01-18 12:24:39
【问题描述】:
我想找到图像中标出的直线,坐标点A,点B是线段的起点和终点。请帮我! img:enter image description here 来源:enter image description here
【问题讨论】:
我想找到图像中标出的直线,坐标点A,点B是线段的起点和终点。请帮我! img:enter image description here 来源:enter image description here
【问题讨论】:
称为“霍夫变换”
您可以使用 Mathlab 之类的工具进行实验,然后使用 opencv houghtransform 实现它。
https://github.com/Itseez/opencv/blob/master/samples/cpp/houghlines.cpp
【讨论】: