image display in Matlab

The image should be like the 1st image but its coming like the 2nd image. What can be done in this?

댓글 수: 3

Walter Roberson
Walter Roberson 2019년 6월 19일
How is the image being brought into MATLAB?
ACHALA SHAKYA
ACHALA SHAKYA 2019년 6월 19일
By using imshow only.
Walter Roberson
Walter Roberson 2019년 6월 19일
imshow() with no parameters gives an error. This is different than calling image() with no paramters, which puts up a default image.
If you are using imshow, you must be getting the information to display from somewhere. EIther you are are passing a matrix of data to imshow() or else you are passing a filename or URL to imshow and having it read the file on your behalf. Where is the data to be displayed coming from? How are you getting that data into MATLAB in order to pass it to imshow() ?

답변 (0개)

이 질문은 마감되었습니다.

질문:

2019년 6월 19일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by