How to extract coordinates from the pattern
显示 更早的评论
Dear sir, i would like to extract all coordinates (white pixels) from the attached image. plz help to sort out, thanks in advance
回答(1 个)
Thorsten
2016-10-26
white = 1; % or 255, depending on the format of your image
[cy, cx] = ind2sub(size(I), find(I==1));
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!