Info

此问题已关闭。 请重新打开它进行编辑或回答。

imwrite and imshow problem

1 次查看(过去 30 天)
Fatima Rashid
Fatima Rashid 2018-11-18
关闭: MATLAB Answer Bot 2021-8-20
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
Hi,
Before using imshow use the below command:
figure;

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by