使用霍夫变换进行矩形检测 [英] Rectangle detection with Hough transform

查看:81
本文介绍了使用霍夫变换进行矩形检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用

然后您必须执行第 4.3 节中的等式 (3) 给出的峰值配对或

where 表示平行线对应的角度阈值和 是相似长度线对应的归一化阈值.

I'm trying to implement rectangle detection using the Hough transform, based on this paper.

I programmed it using Matlab, but after the detection of parallel pair lines and orthogonal pairs, I must detect the intersection of these pairs. My question is about the quality of the two line intersection in Hough space.

I found the intersection points by solving four equation systems. Do these intersection points lie in cartesian or polar coordinate space?

解决方案

For those of you wondering about the paper, it's:

Rectangle Detection based on a Windowed Hough Transform by Cláudio Rosito Jung and Rodrigo Schramm.

Now according to the paper, the intersection points are expressed as polar coordinates, obviously you implementation may be different (the only way to tell is to show us your code).

Assuming you are being consistent with his notation, your peaks should be expressed as:

You must then perform peak paring given by equation (3) in section 4.3 or

where represents the angular threshold corresponding to parallel lines and is the normalized threshold corresponding to lines of similar length.

这篇关于使用霍夫变换进行矩形检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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