What is the difference between double() and im2double() ?

What is the difference between double() and im2double() ?

 採用された回答

blaat
blaat 2015 年 8 月 13 日

2 投票

The function double() only converts the specified array to a variable of type double, keeping the same values. The function im2double() also normalises to an interval of [0, 1], which is convenient when working with e.g., imshow().

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeConvert Image Type についてさらに検索

タグ

タグが未入力です。

質問済み:

2015 年 8 月 13 日

コメント済み:

2015 年 8 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by