Key functions

  • templatematch.mis the function which tracks the displacement between two images. 
  • camera.m - is a class which can be used to project between pixel and world coordinates.
  • voxelviewshed.m - is a fast function for calculating the viewshed of a dem from a given viewpoint.
Please also look at the help to the individual function from within matlab. e.g. type "help camera.project" on the matlab prompt. 


  • Engabreen example. This is a rather complete feature tracking and georectification example. This is probably the best place to learn about many aspects of the toolbox. (demoengabreen.m)
  • Batura glacier example. This is an example of feature tracking between orthorectified images. (demobatura.m)
  • Schneefernerkopf example. This example shows how to calibrate a camera using GCPs and use it to project the DEM onto the 2d image plane.  (demoschneeferner.m)
  • Orthorectifying Engabreen. A simple example of how you could use ImGRAFT to orthorectify.  
  • Bindschadler example - a minimal feature tracking example.  (demobindschadler.m)


  • How do i do orientation correlation. Orientation correlation has been added to the templatematch function. It often out performs NCC, and has good performance on Landsat 7 images with SLC off.You can also do it ...
    Posted Sep 19, 2016, 9:45 AM by Aslak Grinsted
  • How do i get velocities from Landsat images? Here are a few tips:You can download landsat scenes from Earth Explorer. Usually it is best to use the high-resolution pan-chromatic band in feature tracking. It is ...
    Posted Aug 31, 2015, 3:30 AM by Aslak Grinsted
  • Monte Carlo sampling of uncertainties Monte Carlo sampling of uncertainties from different sources is a simple way to propagate uncertainties through the entire processing chain. On this page we show how you can use this ...
    Posted Dec 15, 2014, 12:18 AM by Aslak Grinsted
  • Preprocessing images for feature tracking In some cases you may improve the feature tracking by pre-processing the images. The aim of the preprocessing may be to reduce effects from different lighting conditions, remove noise ...
    Posted Nov 23, 2015, 3:42 AM by Aslak Grinsted
  • Nice 3D plots of velocities This example shows how you can make nice 3d plots of the output. In this case we show the downslope X,Y velocities from engabreen on top of the 3d ...
    Posted Jul 10, 2014, 2:25 AM by Aslak Grinsted
  • Exporting templatematch results in CIAS format. You can use the output of templatematch with Ice Tools if you save the results in CIAS format. The following piece of code shows how the ImGRAFT output of the ...
    Posted Jul 11, 2014, 1:05 AM by Aslak Grinsted
  • Tip: Batch processing of a time lapse sequence When batch processing a time-lapse sequence then it is a good idea to separate the work flow into smaller digestible chunks and then save the results along the way ...
    Posted Jul 6, 2014, 11:43 PM by Aslak Grinsted
Showing posts 1 - 7 of 7. View more »