MATLAB Answers

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

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

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!