Hough transformation
조회 수: 25 (최근 30일)
이전 댓글 표시
Hi! I have a problem with the function houghlines : it returns me an empty struct 1x1. Moreover : do you know how to transform the struct in a list of equations of the lines ?? Thank you very much
imm = [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0, 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0, 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0, 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0, 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0, 0 0 0 0 1 1 0 0 0 1 1 1 0 0 0 0, 1 1 1 1 0 0 1 1 1 0 0 0 1 1 1 1, 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0, 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0, 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0, 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0, 0 0 0 0 0 0 0 0 1 0 0 1 1 1 0 0, 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1, 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0, 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0, 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0];
imshow (imm);
[H, THETA, RHO] = hough(imm);
picchi = houghpeaks(H,50
linee = houghlines(imm, THETA, RHO, picchi);
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!