How to convert image array to double array?

21 Ansichten (letzte 30 Tage)
Mr M.
Mr M. am 18 Feb. 2015
Kommentiert: Stephen23 am 18 Feb. 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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by