How do I display an images - .jpg ?

조회 수: 25 (최근 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 CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by