Creating a 512 x 512 image from 600 x 800
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
bigdog
el 4 de Feb. de 2015
Comentada: bigdog
el 4 de Feb. de 2015
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 comentarios
Respuesta aceptada
William Frane
el 4 de Feb. de 2015
B = imresize(A, [numrows numcols])
should allow you to scale an image without preserving the original aspect ratio.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!