Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

imwrite and imshow problem

1 Ansicht (letzte 30 Tage)
Fatima Rashid
Fatima Rashid am 18 Nov. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi all,
I have a problem, matlab is showing different images in imshow and imwrite. How to solve this problem?
  1 Kommentar
Walter Roberson
Walter Roberson am 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?

Antworten (1)

Haritha
Haritha am 19 Nov. 2018
Bearbeitet: madhan ravi am 19 Nov. 2018
Hi,
Before using imshow use the below command:
figure;

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by