Read Me
This package implements non-linear 2D image registration algorithms.
To compile it, you should install the following packages first:
OpenEXR - OpenEXR HDR image format: http://www.openexr.org
libpng - Portable Network Graphics: http://www.libpng.org
libtiff - Tagged Image File format: http://www.remotesensing.org/libtiff/libtiff.html
What you have to install is:
An ANSI-compatible C++ compiler - GNU g++ (>=3.3) (http://gcc.gnu.org) is known to work.
The BOOST >= 1.33 (http://www.boost.org) library
GModule >= 2.0, a library provided by glib >= 2.0 (http.gtk.org)
popt, the RPM-command line parsing library is needed
(Doxygen, an automatic documentation generator is a plus.)
MIA:
This provides all the infrastructure needed for image IO, plugin handling, and command line parsing.
Currently there is no package ready, so you will need to get the subversion tree:
svn co https://mia.svn.sourceforge.net/svnroot/mia/mia2
After checking this one out, do
cd mia2
sh autogen.sh
./configure --prefix=<where you want this to be installed>
make
(make check)
make install
Then you can finally install this package
sh autogen.sh
./configure --prefix=<where you want this to be installed>
make
(make check)
make install
Run a fluid dynamics based registration of two images a.png and b.png like:
mia-nrreg2d -i a.png -r b.png -o ab.exr -V message -s 16 -p tri -m naviera:iter=400 -c ssd -t fluid
This will do a fluid dynamics based registration using the navier kernel with adaptive update,
a maximum of 400 SOR iterations, a start multigrid resolution of 16x16 (or what is close to
this by dividing the original size by 2^n). For interpolation, tri-linear interpolation
will be used. SSD will be the cost function and the result will be stored in ab.exr.
The programm will write alle messages above the "message"-level to stdout.