Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

imwrite and imshow problem

1 visualizzazione (ultimi 30 giorni)
Fatima Rashid
Fatima Rashid il 18 Nov 2018
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Hi all,
I have a problem, matlab is showing different images in imshow and imwrite. How to solve this problem?
  1 Commento
Walter Roberson
Walter Roberson il 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?

Risposte (1)

Haritha
Haritha il 19 Nov 2018
Modificato: madhan ravi il 19 Nov 2018
Hi,
Before using imshow use the below command:
figure;

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by