How can I plot an image in matlab. This is giving me a Black png image!
Ältere Kommentare anzeigen
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 Kommentare
sixwwwwww
am 4 Dez. 2013

I am getting this image from your code. Is it correct?
Rafael Freire
am 4 Dez. 2013
Akzeptierte Antwort
Weitere Antworten (1)
barbara anderson
am 15 Apr. 2020
0 Stimmen
Convert it into greyscale image and plot it.
Kategorien
Mehr zu Lighting, Transparency, and Shading finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!