How to convert image array to double array?

filter.*image is not working, because filter is a double array and image is an integer array. I think MATLAB should convert integer to double by default in this case, but how can I do by hand?

 Respuesta aceptada

Viju
Viju el 18 de Feb. de 2015
Take your integer array - let's call it 'intArray' and do the following:
dblArray = double(intArray);

Más respuestas (0)

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Preguntada:

el 18 de Feb. de 2015

Comentada:

el 18 de Feb. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by