how to zoom a image

5 次查看(过去 30 天)
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.

采纳的回答

Image Analyst
Image Analyst 2021-9-1
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 个评论
Image Analyst
Image Analyst 2021-9-1
Those don't look zoomed to me. They just look degraded.
If you want to pixelate the image, see my attached blockproc() demos.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by