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!