I am trying to find the size of an image I have loaded into matlab.
image=imread('text.jpg');
[x,y]=size(image);
This return the error:
Indexing cannot yield multiple results.
Does imread not read the image into a 2d array, which should therefore have two sizes?