h_compute - computes the homography matrix H from a list of correspondances between 2D points of two images
h_compute [-nl|--non-linear] [-hg|--homogeneous] [-?|-h|--help]
h_compute computes the homography matrix H from a list of correspondances between 2D points of two images. It takes its input from the standard input and returns the result (a 3x3 matrix) to the standard output. A homography is a bijection that maps lines to lines. This program can be used for image rectification. In that case, consider using homography.tcl, a GUI using pixelpos(1) to measure image point coordinates, h_compute(1) to compute the homography matrix and h_remap(1) to produce the rectified image.
input stream (or file):
Returns the manual page
homogeneous points are entered: uli vli wli uri vri wri (instead of only: uli vli uri vri)
this option triggers a non-linear least-square optimisation of the parameters of H, after the linear estimation (Levenberg-Marquardt algorithm). The 'right' coordinates are supposed exact.
Written by Pierre Smars (first version: 2008)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 2015 Pierre Smars. License GPLv2 <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
h_remap(1), pixelpos(1), homography.tcl