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!