Get from Ico-github-logo

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

  • Batura Glacier, Karakoram
  • Bindschadler Ice Stream e...
  • Schneefernerkopf example ...
  • demoengabreen
  • downloadDemoData
  • templatematch
  • voxelviewshed
  • LMFnlsq.m
  • alphawarp(x,y,c,alpha)
    ALPHAWARP drapes a semi-transparent and possibly distorted image over a figure.
  • animatepair(A,B,maxframer...
    Animate an image pair in a figure window
  • geoimread(filename,varargin)
    GEOIMREAD reads a sub region of a geotiff or geojp2 image.
  • publishexamples
    publish examples.
  • showimg(x,y,A)
    Display an image
  • camera
    camera class - a distorted camera model.
  • View all files
5.0 | 3 ratings Rate this file 35 Downloads (last 30 days) File Size: 14.6 MB File ID: #47140 Version: 1.1
image thumbnail



Aslak Grinsted (view profile)


04 Jul 2014 (Updated )

An Image Georectification and Feature Tracking toolbox

| Watch this File

File Information

* Feature tracking between image pairs using template matching.
* Full processing line from feature tracking to georectification.
* Distorted camera model. This allows the use of cheaper camera setups.
* No need for traditional image registration as a pre-processing step which can degrade the images due to resampling.
* Projecting between pixel and real world coordinates. 2D ↔ 3D
* Easily scriptable as it is a toolbox.
* Minimal dependencies.
* Inputs to feature tracking: two images
* Inputs to georectification: a DEM and some ground control points.



Lm Fnlsq Solution Of Nonlinear Least Squares inspired this file.

This file inspired Modis Mosaic Of Antarctica.

Required Products MATLAB
MATLAB release MATLAB 8.3 (R2014a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
19 Dec 2014 Matthew

Very nice work removing MATLAB Toolbox dependencies.

Echoing @Chad's comments, the code provided here is clearly written and easily followed.

Thanks for sharing Aslak :-)

18 Dec 2014 Chad Greene

Chad Greene (view profile)

I have used the templatematch function extensively in my research. It efficiently performs feature tracking in a user-friendly manner. Each function in this package has example files which are easy to follow. ImGRAFT has saved me a tremendous amount of time and I have learned quite a bit by exploring the inner workings of templatematch. Thank you for writing and sharing these scripts, Aslak.

17 Dec 2014 Aslak Grinsted

Aslak Grinsted (view profile)

@mark: Thank you. I have been sweeping the code for dependencies today, and believe they are all gone.

Comment only
16 Dec 2014 Mark Shore

Functions call padarray and fspecial which require the image processing toolbox. Unable to run demos without it.

Comment only
13 Dec 2014 Aslak Grinsted

Aslak Grinsted (view profile)

@matthew: We have strived to make the toolbox free of dependencies. There may still be some dependencies in the demos, but there really should not be any in the toolbox itself.

If you stumble across some then please let us know where exactly, and we will try to remove them.

Comment only
13 Dec 2014 Matthew

MATLAB toolbox dependencies? Mapping toolbox + ...

05 Oct 2016 1.1

added an image

Contact us