三维霍夫空间 [英] Three Dimensional Hough Space

查看:260
本文介绍了三维霍夫空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

搜索图像中的圆的半径和中心坐标。已经尝试过2D霍夫变换。但我的圆半径也是未知的。我仍然是一个初学者,计算机视觉,所以需要公会线,并帮助实现三维空间。

Im searching for radius and the center coordinates of circle in a image. have already tried 2D Hough transform. but my circle radius is also a unknown. Im still a beginner to Computer vision so need guild lines and help for implementing three dimensional hough space.

推荐答案

2D霍夫空间,但带有一个附加参数。伪代码如下所示:

You implement it just like 2D Hough space, but with an additional parameter. Pseudo code would look like this:

for each (x,y) in image
     for each test_radius in [min_radius .. max_radius]
         for each point (tx,ty) in the circle with radius test_radius around (x,y)
             HoughSpace(tx,ty,test_radius) += image(x,y)

这篇关于三维霍夫空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆