How to adjust image size in GUI
Show older comments
Hi! I'm solving this problem in Matlab GUI
I'm trying to show to images in the same uipanel one over another for example first image is apple and second image is contour of apple so second image should be displayed over the first.
I'm using this code
I=imread('apple.gif');
plot(handles.uipanel2);
imshow(double(I), 'InitialMagnification', 'fit');
hold on;
plot(Contour(:,2),Contour(:,1),'r');
Problem is the size of image and it is showen outside the uipanel and the image is huge
How can I show it inside the uipanel with smaller size?
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!