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?

 채택된 답변

Viju
Viju 2015년 2월 18일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

질문:

2015년 2월 18일

댓글:

2015년 2월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by