How to convert image array to double array?

11 ビュー (過去 30 日間)
Mr M.
Mr M. 2015 年 2 月 18 日
コメント済み: Stephen23 2015 年 2 月 18 日
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?
  1 件のコメント
Stephen23
Stephen23 2015 年 2 月 18 日
try using double.

サインインしてコメントする。

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by