how to resize the image in matlab? not using resize function.
2 ビュー (過去 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!