After obtaining the pixel values of an image..how to store those pixel values in an array?
17 views (last 30 days)
More Answers (3)
Walter Roberson on 18 Dec 2018
The pixel values are already stored in my_image and do not need to be stored again .
Saipraveen on 30 Sep 2019
For the information of other users, In this file exchange - https://www.mathworks.com/matlabcentral/fileexchange/72535-image-to-c-c-array-converter, I have written a script to generate an array from an image. I convert the input image to monochrome and store the pixel values in hex format in a different file. It could be modified to suit your needs.
Hope that helps.