Error using entropy expected input number to be real.
1 回表示 (過去 30 日間)
古いコメントを表示
The following error appears when applying an image enhancement code. The errors appears only with jpeg images. Could you please help me?Error using entropy expected input number to be real.
0 件のコメント
採用された回答
Image Analyst
2022 年 3 月 20 日
Evidently your input is not real. If it's complex, use real() to get the real part. If it's an integer, like uint8, use double() to cast the integer variable to double.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Filtering and Enhancement についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!