Very large dimension photo

1 次查看(过去 30 天)
Ali Ibrahim
Ali Ibrahim 2017-6-25
The code is working properly with a one photo size and not working for other. Can you please help? The message : Warning: Image is too big to fit on screen; displaying at 17% Attached the code and the image.. The dimension of the image is too big..(Webp.net-compress-image.jpg), but for (CIMG8351.JPG) it is ok..

回答(2 个)

Walter Roberson
Walter Roberson 2017-6-25
That is not an error, that is a warning. Your image is simply too large display all at one time -- it is 4320 by 2432 . What behavior would you like to have happen instead? Display only the upper left corner?
  2 个评论
Ali Ibrahim
Ali Ibrahim 2017-6-25
Sorry, how can I do that? .. can you please give me instructions for that? Thanks
Walter Roberson
Walter Roberson 2017-6-25
I have attached revised source files.

请先登录,再进行评论。


Image Analyst
Image Analyst 2017-6-25
That doesn't mean it's not working properly. It's only a notification that your image is being shrunk down so that you can see it on the screen. All computations will be done on the full sized image.
If you want to turn off that warning (along with some other common ones), see attached file TurnOffWarnings.m
See attached example of how to zoom and scroll your image.

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by