霍夫变换圆检测算法我要分享

Hough transform algorithm for circle detection

关注次数: 237

下载次数: 0

文件大小: 3.54 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:根据极坐标,圆上任意一点的坐标可以表示为如上形式, 所以对于任意一个圆, 假设中心像素点p(x0, y0)像素点已知, 圆半径已知,则旋转360由极坐标方程可以得到每个点上得坐标同样,如果只是知道图像上像素点, 圆半径,旋转360°则中心点处的坐标值必定最强.这正是霍夫变换检测圆的数学原理.


English Description:

According to the polar coordinates, the coordinates of any point on the circle can be expressed in the above form. Therefore, for any circle, assuming that the center pixel P (x0, Y0) is known and the radius of the circle is known, the coordinates of each point can be obtained by rotating 360 according to the polar coordinate equation. Similarly, if only the pixel on the image is known and the radius of the circle is known, Rotating 360 degrees, the coordinate value at the center point must be the strongest. This is the mathematical principle of Hough transform to detect circle


代码预览

相关推荐