Introduction
A geo image is being used by other post-processors as background of model results. The standard post-processing tools (e.g. Quickplot, Matlab or Muppet) support images in “*.jpg” or “*.png” format..
Usage of the toolbox
The 'Geo Image' toolbox allows downloading satellite images and other sorts of maps on a window defined by mouse clicking. These images can be saved in “*.jpg” format. An image can be generate using the following steps:
- The image window is defined by clicking on “Draw Outline” in the Working Space and then selecting the window by mouse clicking
- Alternatively, the window can be defined by typing the coordinates besides the values “Xmin”, “Xmax”, “Ymin”, “Ymax“
- Zoom level” defines the resolution of the image with increasing level from 4 to 23. Default the 'auto' option is used.
- Different types of images are available under 'Type' namely
- Aerial (satellite) image
- Road image
- Hybrid: combination between a en b
Figure: With the Geo Image toolbox one can make an image of the area of interest in order the use as a layer for computational result. In this example we made a geo image of Barnegat Bay, NJ
Applying the image within Matlab
After the image is generated it can be used as a background image in Matlab. See the example below of how to do this:
% load your geoimage
filename = 'p:\1230691-sri-lanka\02_data\geo_image\overall'; % dont use an extension
[x,y,z,col] = georeference_image(filename);
% create the figure
figure; hold on;
plt1 = surf(x,y,z,squeeze(col));shading flat;
plt2 = scatter(Xpoint, Ypoints, [], Zpoints);