Import Image from Screen Capture of Google Earth.

5 vues (au cours des 30 derniers jours)
Amanda
Amanda le 4 Sep 2012
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

Réponse acceptée

Walter Roberson
Walter Roberson le 4 Sep 2012
  1 commentaire
Amanda
Amanda le 4 Sep 2012
OK. I thought it would be a different process.
Thanks.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Mapping Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by