How do you convert a .PNG image to a matrix of values using MATLAB?

Is it possible to convert a .PNG image to an array of numerical values (e.g. red, green, blue values) that I can work with using MATLAB? If so, how can I do this?

1 answer

  • answered 2017-08-12 09:38 deltavisions

    not sure what you mean. if you import imread('someImage.png') you get a n x m x 3matrix