Homography Calculation

Author:Jin Zhou (ferryzhou@gmail.com)

Overview

compute homography that transform the second image to the first one based on point correspondences

Usage

H_Calculator version 1.0:

H_Calculator version 2.0

usage: %s -i <pc.txt> [options]

reads point corresondences file
runs homography estimation
write homography and overlay image

options:
-o dir         output dir
-i input       input file, point correspondences
-t threshold   threshold
-f filaname    write homography matrix to output file
-L left_image  left image
-R right_image right image
-d             draw intemediate images
-s             save intemediate images to icos1.jpg, icos2.jpg, icos1.jpg, ocos2.jpg, im1_h.jpg, overlay.jpg
-P prefix      set prefix of output file names
-e extension   set extension of output image files
-q             quiet (turn off debugging output)

Examples

example1:

H_calculator -i pc.txt -f H.txt -d -L box_left.jpg -R box_right.jpg -c -e

Table Of Contents

Previous topic

Fundamental Matrix Calculation

Next topic

Two View Reconstruction

This Page

Quick search