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)
Mostrar comentarios más antiguos
0 comentarios
Respuestas (1)
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, []);
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!