how to use image pixel values to store in array form in x and y coordinates??

7 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Image Analyst
Image Analyst il 12 Apr 2022
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:

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by