DO I need Image processing tool box to upload image into GUI
古いコメントを表示
I dont have "imshow" command in my matlab 2012b,,,,is it because i don haver image processing toolbox
1 件のコメント
Walter Roberson
2013 年 1 月 22 日
Yes, imshow() is part of the Image Processing Toolbox.
回答 (2 件)
I think this should work?
I = imread('file_on_path.jpg')
imagesc(I);
3 件のコメント
Arun Badigannavar
2013 年 1 月 23 日
Walter Roberson
2013 年 1 月 23 日
What do you mean by "squeezing" ? Are you talking about the colors, or about the image size, or about the axis proportions ?
Arun Badigannavar
2013 年 1 月 23 日
Image Analyst
2013 年 1 月 23 日
0 投票
You can use image() without the Image Processing Toolbox. You can also use imagesc() but it applies some weird colormap by default that you'll most likely need to correct with colormap() function to a more appropriate colormap, like gray. image() applies a grayscale color map by default. With either one you can still call colormap to apply whatever colormap you want.
カテゴリ
ヘルプ センター および File Exchange で Red についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!