How to extract coordinates from the pattern
조회 수: 5 (최근 30일)
이전 댓글 표시
Dear sir, i would like to extract all coordinates (white pixels) from the attached image. plz help to sort out, thanks in advance
댓글 수: 0
답변 (1개)
Thorsten
2016년 10월 26일
white = 1; % or 255, depending on the format of your image
[cy, cx] = ind2sub(size(I), find(I==1));
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!