Import Image from Screen Capture of Google Earth.
조회 수: 5 (최근 30일)
이전 댓글 표시
I am applying screen capture to produce an image of the US using
Google Earth. However, when I read the image into MATLAB to plot
data over it the image becomes all white -- no red,green, or blue.
Note: it does display correctly without plotting any additional data
and using imshow.
My code is:
I = double(imread('USA.png'));
img = flipdim(I,1)
B = IMPRESIZE(img,[500,500],'nearest')
colormap HSV;
hold on;
....Plot Data....
Is there a way to import the image and plot scatter data over it?
Thanks,
Amanda
댓글 수: 0
채택된 답변
Walter Roberson
2012년 9월 4일
Same answer as for your earlier question http://www.mathworks.co.uk/matlabcentral/answers/47069-loaded-image-doesn-t-retain-separate-colors
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Mapping Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!