Very large dimension photo

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

Sorry, how can I do that? .. can you please give me instructions for that? Thanks
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 Convert Image Type in Help Center and File Exchange

Asked:

on 25 Jun 2017

Answered:

on 25 Jun 2017

Community Treasure Hunt

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

Start Hunting!