How do I display an images - .jpg ?

24 ビュー (過去 30 日間)
Ted
Ted 2012 年 9 月 2 日
コメント済み: Walter Roberson 2019 年 4 月 4 日
I want to display an image that shows what the programs I create are solviing, How do I import or view a file .jpg or any format? I've used imageview but it only shows half of the picture.

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 9 月 2 日
data=imread('image.jpg')
imshow(data)
  4 件のコメント
Yara Srinivas
Yara Srinivas 2019 年 2 月 6 日
i=imread('boy.jpg');
imshow(i)
Error: File: image.m Line: 1 Column: 5
Unexpected MATLAB expression.
This error was showing.
How can i solve this problem
Walter Roberson
Walter Roberson 2019 年 4 月 4 日
You accidentally created your own image.m file that is interfering with MATLAB's image function.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by