How to convert image array to double array?

21 vues (au cours des 30 derniers jours)
Mr M.
Mr M. le 18 Fév 2015
Commenté : Stephen23 le 18 Fév 2015
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?

Réponse acceptée

Viju
Viju le 18 Fév 2015
Take your integer array - let's call it 'intArray' and do the following:
dblArray = double(intArray);

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by