DO I need Image processing tool box to upload image into GUI

5 ビュー (過去 30 日間)
Arun Badigannavar
Arun Badigannavar 2013 年 1 月 22 日
I dont have "imshow" command in my matlab 2012b,,,,is it because i don haver image processing toolbox
  1 件のコメント
Walter Roberson
Walter Roberson 2013 年 1 月 22 日
Yes, imshow() is part of the Image Processing Toolbox.

サインインしてコメントする。

回答 (2 件)

Jurgen
Jurgen 2013 年 1 月 22 日
編集済み: Jurgen 2013 年 1 月 22 日
I think this should work?
I = imread('file_on_path.jpg')
imagesc(I);
  3 件のコメント
Walter Roberson
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
Arun Badigannavar 2013 年 1 月 23 日
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

サインインしてコメントする。


Image Analyst
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.
  1 件のコメント
Arun Badigannavar
Arun Badigannavar 2013 年 1 月 23 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeBlue についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by