How can I plot an image in matlab. This is giving me a Black png image!
Mostrar comentarios más antiguos
URL ='http://structures.wishartlab.com/molecules/HMDB00126/image.png'
filename='test.png'
urlwrite(URL,filename)
[y,z]=imread(filename,'png');
figure, imshow(y);
colormap(z)
This is giving me a Black image! How can i Plot it without getting all black?
2 comentarios
sixwwwwww
el 4 de Dic. de 2013

I am getting this image from your code. Is it correct?
Rafael Freire
el 4 de Dic. de 2013
Respuesta aceptada
Más respuestas (1)
barbara anderson
el 15 de Abr. de 2020
0 votos
Convert it into greyscale image and plot it.
Categorías
Más información sobre Lighting, Transparency, and Shading en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!