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