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 个评论

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
Hi,
Before using imshow use the below command:
figure;

此问题已关闭。

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by