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 comentario

Walter Roberson
Walter Roberson el 19 de Nov. de 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?

Respuestas (1)

Haritha
Haritha el 19 de Nov. de 2018
Editada: madhan ravi el 19 de Nov. de 2018

0 votos

Hi,
Before using imshow use the below command:
figure;

La pregunta está cerrada.

Etiquetas

Preguntada:

el 18 de Nov. de 2018

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by