How to convert image array to double array?
조회 수: 19 (최근 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
2015년 2월 18일
Take your integer array - let's call it 'intArray' and do the following:
dblArray = double(intArray);
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!