is there a matlab command that gives me the RGB matlab code of each pixel of a given image ?

1 view (last 30 days)
such a given image ones(4,4) for example

Accepted Answer

Image Analyst
Image Analyst on 7 Oct 2018
Not sure what you're asking (please read this link ) but if you want a csv file with x,y,r,g,b as a row in a CSV file, for each pixel in the image, the attached m-file does that.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by