how to use image pixel values to store in array form in x and y coordinates??
9 次查看(过去 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!