Azzera filtri
Azzera filtri

how to zoom a image

5 visualizzazioni (ultimi 30 giorni)
Roye Vadana
Roye Vadana il 1 Set 2021
Commentato: Roye Vadana il 5 Set 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.

Risposta accettata

Image Analyst
Image Analyst il 1 Set 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 Commenti
Image Analyst
Image Analyst il 1 Set 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 il 5 Set 2021
thanks

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by