How to resize imtool window?
显示 更早的评论
Hi,
when I magnify the image 2 times, the imtool window size doesn't grow to accomodate the Image new size. So, the magnified image is not displayed full because the window size remains the same. Is there a way to make the window bigger automatically when it's displaying the magnified result? So that I don't have to manually make the window bigger to show the whole new (magnified) image.
imtool(Rimage,[900 1000], InitialMagnification=200);
Thank you!
采纳的回答
更多回答(1 个)
DGM
2023-9-14
Set the figure properties as you choose.
inpict = imread('peppers.png');
hi = imtool(inpict,'initialmagnification',200);
set(hi,'units','normalized','position',[0 0 1 1])
类别
在 帮助中心 和 File Exchange 中查找有关 Explore and Edit Images with Image Viewer App 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!