0
hough_in = bwareaopen(bin_im(:,:,n),20);
% Compute the Hough transform of the image using the hough function
[H,T,R] = hough(hough_in);
P = houghpeaks(H,3,'threshold',ceil(0.3*max(H(:))));
x = T(P(:,2));
y = R(P(:,1));
lines = houghlines(hough_in,T,R,P,'FillGap',5,'MinLength',7);
x
과 y
은 무엇입니까?Hough 변형 소스 코드 설명
왜 인덱스되고 사용 P? – anonymous
@anonymous P는 Hough 배열에있는 봉우리의 좌표를 포함하기 때문에. 설명서를 읽으십시오, 거기에 모두 있습니다 ... – Piglet