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

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 日

0 投票

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 日

0 投票

Besides interp2, you can also use fft() to resample.
There is also imcrop()

カテゴリ

ヘルプ センター および File ExchangeRead, Write, and Modify Image についてさらに検索

タグ

質問済み:

2017 年 8 月 10 日

編集済み:

2017 年 8 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by