Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. lines = houghlines(X(:,:,1),T,R,peak,'FillGap',5,'MinLength',2);
  2. figure, imshow(X), hold on
  3. for k = 1:length(lines)
  4. xy = [lines(k).point1; lines(k).point2];
  5. plot(xy(:,1),xy(:,2),'LineWidth',2,'Color','red');
  6. end
  7. title('chess.jpg with houghlines');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement