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

28 visualizaciones (últimos 30 días)
D Joseph
D Joseph el 13 de Ag. de 2015
Comentada: D Joseph el 13 de Ag. de 2015
What is the difference between double() and im2double() ?

Respuesta aceptada

blaat
blaat el 13 de Ag. de 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().

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by