Clear Filters
Clear Filters

how to zoom a image

5 views (last 30 days)
Roye Vadana
Roye Vadana on 1 Sep 2021
Commented: Roye Vadana on 5 Sep 2021
Hey,
I try to zoom some image but i cant to save the zoomed image data, i can only to show it by zoom().
there is any way to zoom image and stay in the same resolution and save the zoomed image data?
thanks.

Accepted Answer

Image Analyst
Image Analyst on 1 Sep 2021
Did you try getframe()? That basically grabs a screenshot of the image in the axes. Or try exportgraphics() if you have R2020a or later.
  5 Comments
Image Analyst
Image Analyst on 1 Sep 2021
Those don't look zoomed to me. They just look degraded.
If you want to pixelate the image, see my attached blockproc() demos.
Roye Vadana
Roye Vadana on 5 Sep 2021
thanks

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!