how to resize the image in matlab? not using resize function.
1 次查看(过去 30 天)
显示 更早的评论
For example my matlab output image is (476 by 476) pixels and I want to resize it (512 by 512) pixels exactly. If anyone have an idea please share. Thanks
0 个评论
回答(2 个)
KSSV
2017-8-10
编辑:KSSV
2017-8-10
Use interp2 if you don't want to use resize .... resize also does the same in fact.
1 个评论
Walter Roberson
2017-8-10
However, think carefully about which interpolation algorithm you wish to use.
Walter Roberson
2017-8-10
编辑:Walter Roberson
2017-8-10
Besides interp2, you can also use fft() to resample.
There is also imcrop()
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!