imwrite and imshow problem

Hi all,
I have a problem, matlab is showing different images in imshow and imwrite. How to solve this problem?

댓글 수: 1

Walter Roberson
Walter Roberson 2018년 11월 19일
What is class() and size() of your data? If it is floating point, what is min() and max() of the data? Is your code using colormap() anywhere?

답변 (1개)

Haritha
Haritha 2018년 11월 19일
편집: madhan ravi 2018년 11월 19일

0 개 추천

Hi,
Before using imshow use the below command:
figure;

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

질문:

2018년 11월 18일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by