Error in double command code
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
i have created a code using double command. However, there is no error. Nevertheless, the image did not appear.
the command:
--------------------------
Im1 = rgb2gray(image1);
I1 = double(Im1);
axes(handles.axes2);
imshow(I1);
Pls HELP.
0 件のコメント
採用された回答
Walter Roberson
2012 年 11 月 15 日
Use
imshow(I1, [])
or, better yet, instead of using
I1 = double(Im1);
use
I1 = im2double(Im1);
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!