作者etrexetrex (moonet)
看板Flash
标题[作品] Hough transform
时间Fri Aug 28 17:20:33 2009
Hough transform
可用来作向量化的依据
wiki : Hough transform
http://en.wikipedia.org/wiki/Hough_transform
观察 2D Hough Space 与其直线方程式的对应关系 (flash)
http://cgm.cs.ntust.edu.tw/etrex/Hough%20transform.html
请拖曳右侧红点
简单说明:
直线方程式 y = mx + b
parameter space 就是 (b,m) 这空间中的点会对应到一条直线
但是因为 m 跟 b 没有上下界
所以这个 space 就很大
为了让 parameter space 有 bound 所以需要 Hough transform
直线方程式改为 y = (-cosθ/sinθ)x + r/sinθ
parameter space 是 (r,θ)
其中
r > 0 , 0 ≦θ< 2PI
--
blog:
http://etrex.blogspot.com/
site:
http://web.ntust.edu.tw/~B9409041/
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.118.9.202
1F:→ etrexetrex:在我的flash里θ的单位是度,不是径度 08/28 17:23
2F:推 skylight68:好深澳 08/28 17:57