how to use image pixel values to store in array form in x and y coordinates??
4 ビュー (過去 30 日間)
古いコメントを表示
i have 256*256 size image, now i want to store these image values in array form in x and y coordinates. There is any way in matlab to code this problem. please tell me the solution. How i can do this?
0 件のコメント
採用された回答
Image Analyst
2022 年 4 月 12 日
Not sure what you mean, but the attached code will save your image in a matrix like
[r, g, b, x, y]
one row for every pixel. If that's not what you want, give an example after you read this:
2 件のコメント
DGM
2022 年 4 月 12 日
How is that different than indexing into the array using basic subscripts? If there is a specific nontrivial thing you want, you have to describe it.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!