Problem with image function in GUI
1 回表示 (過去 30 日間)
古いコメントを表示
Is there any problem with function image() when creating GUI? when i am using it not in gui i dont have any problem. but in my GUI it just doesnt show anything but the grid, no data. If i use pcolor() instead of image() it works fine.
0 件のコメント
回答 (1 件)
Image Analyst
2013 年 12 月 10 日
No there is no problem. You probably overwrote it with a variable. Did you do anything like
image = imread('cameraman.tif');
?????
2 件のコメント
Image Analyst
2013 年 12 月 10 日
By the way, don't use pcolor for images because it chops off the last row and last column. Try this and see what you get:
pcolor(magic(4)) % Try to display a 4 by 4 image - only shows 3x3.
参考
カテゴリ
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!