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

28 Ansichten (letzte 30 Tage)
D Joseph
D Joseph am 13 Aug. 2015
Kommentiert: D Joseph am 13 Aug. 2015
What is the difference between double() and im2double() ?

Akzeptierte Antwort

blaat
blaat am 13 Aug. 2015
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().

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by