Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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);