DO I need Image processing tool box to upload image into GUI
6 views (last 30 days)
Show older comments
I dont have "imshow" command in my matlab 2012b,,,,is it because i don haver image processing toolbox
1 Comment
Answers (2)
Jurgen
on 22 Jan 2013
Edited: Jurgen
on 22 Jan 2013
I think this should work?
I = imread('file_on_path.jpg')
imagesc(I);
3 Comments
Walter Roberson
on 23 Jan 2013
What do you mean by "squeezing" ? Are you talking about the colors, or about the image size, or about the axis proportions ?
Image Analyst
on 23 Jan 2013
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.
See Also
Categories
Find more on Blue in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!