Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

imwrite and imshow problem

1 vue (au cours des 30 derniers jours)
Fatima Rashid
Fatima Rashid le 18 Nov 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi all,
I have a problem, matlab is showing different images in imshow and imwrite. How to solve this problem?
  1 commentaire
Walter Roberson
Walter Roberson le 19 Nov 2018
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?

Réponses (1)

Haritha
Haritha le 19 Nov 2018
Modifié(e) : madhan ravi le 19 Nov 2018
Hi,
Before using imshow use the below command:
figure;

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by