Hi I am trying to get the image size of the uploaded image in MATLAB. So far I have got :
read=imread(image.png) ymax=size(read) (1); xmax=size(read) (2);
However this gives me an error. The image size is 300px by 256px, and I want my
xmax to automatically get the pixel values. How do I do this?