Clear Filters
Clear Filters

Very large dimension photo

3 views (last 30 days)
Ali Ibrahim
Ali Ibrahim on 25 Jun 2017
Answered: Image Analyst on 25 Jun 2017
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..

Answers (2)

Walter Roberson
Walter Roberson on 25 Jun 2017
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 Comments
Ali Ibrahim
Ali Ibrahim on 25 Jun 2017
Sorry, how can I do that? .. can you please give me instructions for that? Thanks
Walter Roberson
Walter Roberson on 25 Jun 2017
I have attached revised source files.

Sign in to comment.


Image Analyst
Image Analyst on 25 Jun 2017
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.

Categories

Find more on Read, Write, and Modify Image 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!