→ etrexetrex:在我的flash裡θ的單位是度,不是徑度 08/28 17:23
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