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

24 vues (au cours des 30 derniers jours)
D Joseph
D Joseph le 13 Août 2015
Commenté : D Joseph le 13 Août 2015
What is the difference between double() and im2double() ?

Réponse acceptée

blaat
blaat le 13 Août 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().

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by