Main Page   Modules   Compound List   File List   Compound Members   File Members  

affine33_fit.c File Reference

#include <math.h>
#include <gandalf/vision/affine33_fit.h>
#include <gandalf/common/misc_error.h>
#include <gandalf/linalg/pseudo_inverse.h>

Defines

#define gel(M, i, j)   gan_mat_get_el(M,i,j)
#define sel(M, i, j, v)   gan_mat_set_el(M,i,j,v)

Functions

Gan_Bool gan_affine33_increment_p (Gan_PseudoInverseStruct *pis, Gan_Vector3 *X, Gan_Vector3 *x, double scale, int *eq_count)
 Increments the calculation of a 3x3 affine homography for a point.

Gan_Bool gan_affine33_increment_le (Gan_PseudoInverseStruct *pis, Gan_Vector3 *X, Gan_Vector3 *l, double scale, int *eq_count)
 Increments the calculation of a 3x3 homography for a line.

Gan_Bool gan_affine33_solve (Gan_PseudoInverseStruct *pis, int eq_count, Gan_Matrix23 *P)
 Solves for the 3x3 affine homography between two planes.

Gan_Bool gan_affine33_fit (Gan_Homog33Match *match, unsigned nmatches, Gan_Matrix23 *H)
 Computes the 2D affine transformation between points and lines.


Detailed Description

Module: Fit a 2D affine transformation to point/line data

Part of: Gandalf Library

Revision: Last edited: Author:

Copyright: (c) 2000 Imagineer Software Limited


Generated on Mon Oct 13 16:14:40 2003 by doxygen1.3-rc1