How to extract coordinates from the pattern
7 ビュー (過去 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!