How to convert image into matrix
586 views (last 30 days)
Dear readers, i am new to matlab and want to learn how to convert or represent a picture in bmp or jpeg format in matrix form so that manipulations can be carried out on it. your suggestions will be worth for me..
Andreas Goser on 27 Apr 2012
If you import a picture, it is actually a matrix, so I am not sure what do are looking for. Try:
imdata = imread('ngc6543a.jpg');
Omar Omari on 31 Jan 2019
How can I take a picture from a camera my labtop and draw it into matrices and vice versa