Hough transform from scratch using MATLAB code to detect a line

조회 수: 9 (최근 30일)
anteneh  tadesse
anteneh tadesse 2018년 12월 13일
댓글: Ntiranyibagira Lionel 2019년 10월 9일
Anyone, please give a hint a The Hough transform using MATLAB code to detect a line without using the built in Hough transform MATLAB function, from scratch. Thanks a lot.

답변 (1개)

Hans Scharler
Hans Scharler 2018년 12월 14일
Do you have access to the book, "Digital Image Processing Using MATLAB"?
Consider the normal representation of a line: x cos(theta) + y cos(theta) = rho.
You need to transform the image from [x,y] to [rho,theta] then for every non-background point in the xy plane, we let theta equal each of the allowed subdivision values on the theta-axis and solve for the corresponding rho using the equation rho = x cos theta + y sin (theta). The resulting rho-values are rounded off to the nearest allowed cell value along the rho-axis.
  댓글 수: 1
Ntiranyibagira Lionel
Ntiranyibagira Lionel 2019년 10월 9일
Thanks for the book. It explains very well the hough transform for lines. Is there any book that explain how to find circles, hough transform for circles.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by