I want to add a picture to matlab , and need this image's matrix too. and I don't have more information from image proccessing. have you some matlab command to do this?
Kshitij Singh answered .
2025-11-20
do you have the image processing toolbox? if so:
I = imread('imagename.extension');
The result will be a 2- or 3-D matrix I which can be visualized by the command imshow
figure(1), imshow(I)