How does the imreisze function works?
    6 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Hello everyone. I was trying out the built-in hallway photo in MATLAB. I resized it by 1.5 times and 2 times than the original image. But somehow the 1.5 times version looks bigger to the naked eye? For low-res images, 1.5 times and 2 times resized images look their size though.
I was wondering if one could explain how the resize function is working here. Thanks!
0 件のコメント
採用された回答
  Image Analyst
      
      
 2020 年 5 月 18 日
        If the image cannot fit fully on the screen, it will reduce the axes control until it will fit comfortably.  Maybe the 1.5 just barely fit but the 2 would not and it resized the 2 to be smaller than the 1.5.  You can always turn on the tick marks to see the actual pixel count:
axis('on', 'image');
Also, see attached zooming example.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

