Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How do I convert g into a double then store it in a new variable then rescale the image with new values that range from 0 to 1 and then plot it?

1 visualización (últimos 30 días)

Respuestas (1)

Image Analyst
Image Analyst el 9 de Nov. de 2018
Try this:
g2 = mat2gray(g);
I don't know what it means to "plot" an image, but if you want to "display" it, use imshow():
imshow(g2, []);

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by