how to resize the image in matlab? not using resize function.

2 ビュー (過去 30 日間)
Ahmad
Ahmad 2017 年 8 月 10 日
編集済み: Walter Roberson 2017 年 8 月 10 日
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

回答 (2 件)

KSSV
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
Walter Roberson 2017 年 8 月 10 日
However, think carefully about which interpolation algorithm you wish to use.

サインインしてコメントする。


Walter Roberson
Walter Roberson 2017 年 8 月 10 日
編集済み: Walter Roberson 2017 年 8 月 10 日
Besides interp2, you can also use fft() to resample.
There is also imcrop()

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by