Creating a 512 x 512 image from 600 x 800
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
The idea is to have 512 pixels in both rows and columns of my image. I'm not sure which function I would use to do so. Any ideas?
0 Commenti
Risposta accettata
William Frane
il 4 Feb 2015
B = imresize(A, [numrows numcols])
should allow you to scale an image without preserving the original aspect ratio.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!