How can I plot an image in matlab. This is giving me a Black png image!
古いコメントを表示
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 件のコメント
sixwwwwww
2013 年 12 月 4 日

I am getting this image from your code. Is it correct?
Rafael Freire
2013 年 12 月 4 日
採用された回答
その他の回答 (1 件)
barbara anderson
2020 年 4 月 15 日
0 投票
Convert it into greyscale image and plot it.
カテゴリ
ヘルプ センター および File Exchange で Image Arithmetic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!