hough

https://blog.csdn.net/shanchuan2012/article/details/74010561

https://blog.csdn.net/poem_qianmo/article/details/26977557

hough:笛卡尔坐标系y=kx+b

              极坐标r=xcos\theta +ysin\theta

在笛卡尔坐标系中经过该点的任一方向直线,在笛卡尔坐标系为一条曲线

line3

极坐标系中一对(r,\theta)就代表笛卡尔坐标系一条直线。

line32

则在极坐标系中多条曲线经过一点,代表直线上点的个数,也就是线段的长度,以此来判断是否有直线。

参考:https://blog.csdn.net/shanchuan2012/article/details/74010561

猜你喜欢

转载自blog.csdn.net/fanre/article/details/82702446