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

回答(2 个)

I think this should work?
I = imread('file_on_path.jpg')
imagesc(I);

3 个评论

I am able to read image and show it,,,but it is squuezing image,,,i am uploading a simulink model image on gui,,,but its not so clear,,,any other way to import image roperly
What do you mean by "squeezing" ? Are you talking about the colors, or about the image size, or about the axis proportions ?
about the image size,,,the connections of simulink model which i am uploading are not visible and blocks are squeezed,,,and charecters which are there in the image re not clear

请先登录,再进行评论。

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.

1 个评论

AAccording Mr jurgen i tried but up;oaded image is not clear,,,irts squeezing the image...any other way to import image with altering it

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Red 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by