How to convert image array to double array?

21 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by