Click here to Skip to main content
15,893,663 members
Articles / Programming Languages / C

Image Alignment Algorithms - Part II

Rate me:
Please Sign up or sign in to vote.
4.13/5 (23 votes)
21 Apr 2008CPOL11 min read 94.2K   4.9K   75  
Implementing and comparing the forwards compositional and the Hager-Belhumeur algorithms.
Params: 0 0 0 1.05

===============================================
Algorithm: forwards additive.
Caclulation time: 0.859 sec.
Iteration count: 100
Approximation: wz_a=-0.001189 tx_a=0.162542 ty_a=0.641183 s_a=1.047245
Epsilon: 0.000010
Resulting mean error: 5.087051
===============================================

===============================================
Algorithm: inverse additive.
Caclulation time: 0.594 sec.
Iteration count: 100
Approximation: wz_a=0.014231 tx_a=5.838348 ty_a=-0.242283 s_a=1.015881
Epsilon: 0.000010
Resulting mean_error: 24.136780
===============================================

===============================================
Algorithm: forwards compositional.
Caclulation time: 1.11 sec.
Iteration count: 100
Epsilon: 0.000010
Resulting mean error: 29.541159
===============================================

===============================================
Algorithm: inverse compositional.
Caclulation time: 0.469 sec.
Iteration count: 100
Epsilon: 0.000010
Resulting mean_error: 22.628626
===============================================

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions