Creating a 512 x 512 image from 600 x 800
조회 수: 2 (최근 30일)
이전 댓글 표시
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
채택된 답변
William Frane
2015년 2월 4일
B = imresize(A, [numrows numcols])
should allow you to scale an image without preserving the original aspect ratio.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!