DO I need Image processing tool box to upload image into GUI
5 次查看(过去 30 天)
显示 更早的评论
I dont have "imshow" command in my matlab 2012b,,,,is it because i don haver image processing toolbox
回答(2 个)
Jurgen
2013-1-22
编辑:Jurgen
2013-1-22
I think this should work?
I = imread('file_on_path.jpg')
imagesc(I);
3 个评论
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 ?
Image Analyst
2013-1-23
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Blue 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!