I use this code to load the image in the Matlab axis in gui:
[FileName,PathName] = uigetfile('*.jpg','PLease select an image');
axes(handles.axes1)
rgb = imread(strcat(PathName,FileName));
imagesc(200,200,rgb)
My problem is that when I load an image, the axes are automatically resized to the image size, is there any way to stop this? "I googled alot"!
and when it comes to large images (e.g. 1 MB), loading and displaying takes about 30 seconds !!! any workaround for faster loading?
I want to do edge detection for the loaded image and display it in the second axes, any sources / code for this?
I'm new to Matlap, can you help?
Thank.
source
share