Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

compute_xfm.c File Reference

#include <volume_io/internal_volume_io.h>
#include <bicpl/trans.h>
#include <bicpl/numerical.h>

Include dependency graph for compute_xfm.c:

Include dependency graph

Go to the source code of this file.

Functions

private void compute_procrustes_transform (int npoints, Real **tag_list1, Real **tag_list2, Trans_type trans_type, General_transform *transform)
private void compute_arb_param_transform (int npoints, Real **tag_list1, Real **tag_list2, Trans_type trans_type, General_transform *transform)
private void compute_12param_transform (int npoints, Real **tag_list1, Real **tag_list2, Trans_type trans_type, General_transform *transform)
private void compute_tps_transform (int npoints, Real **tag_list1, Real **tag_list2, Trans_type trans_type, General_transform *transform)
private void concat_transformation_matrix (Transform *lt, Real center[], Real translations[], Real scales[], Real shears[], Transform *rotation)
public void compute_transform_from_tags (int npoints, Real **tag_list1, Real **tag_list2, Trans_type trans_type, General_transform *transform)
private void make_rots (Transform *xmat, Real rot_x, Real rot_y, Real rot_z)
public void build_transformation_matrix (Transform *lt, Real center[], Real translations[], Real scales[], Real shears[], Real rotations[])


Function Documentation

public void build_transformation_matrix Transform *  lt,
Real  center[],
Real  translations[],
Real  scales[],
Real  shears[],
Real  rotations[]
 

Definition at line 444 of file compute_xfm.c.

References concat_transformation_matrix(), and make_rots().

Referenced by compute_arb_param_transform(), and fit_function().

private void compute_12param_transform int  npoints,
Real **  tag_list1,
Real **  tag_list2,
Trans_type  trans_type,
General_transform *  transform
 

Definition at line 483 of file compute_xfm.c.

References least_squares(), and TRANS_LSQ12.

Referenced by compute_transform_from_tags().

private void compute_arb_param_transform int  npoints,
Real **  tag_list1,
Real **  tag_list2,
Trans_type  trans_type,
General_transform *  transform
 

Definition at line 284 of file compute_xfm.c.

References build_transformation_matrix(), optimize_simplex(), procrustes(), rotmat_to_ang(), TRANS_LSQ10, and TRANS_LSQ9.

Referenced by compute_transform_from_tags().

private void compute_procrustes_transform int  npoints,
Real **  tag_list1,
Real **  tag_list2,
Trans_type  trans_type,
General_transform *  transform
 

Definition at line 227 of file compute_xfm.c.

References concat_transformation_matrix(), procrustes(), and TRANS_LSQ6.

Referenced by compute_transform_from_tags().

private void compute_tps_transform int  npoints,
Real **  tag_list1,
Real **  tag_list2,
Trans_type  trans_type,
General_transform *  transform
 

Definition at line 559 of file compute_xfm.c.

References get_nonlinear_warp(), and TRANS_TPS.

Referenced by compute_transform_from_tags().

public void compute_transform_from_tags int  npoints,
Real **  tag_list1,
Real **  tag_list2,
Trans_type  trans_type,
General_transform *  transform
 

Definition at line 149 of file compute_xfm.c.

References compute_12param_transform(), compute_arb_param_transform(), compute_procrustes_transform(), compute_tps_transform(), MIN_POINTS_LINEAR, MIN_POINTS_TPS, TRANS_LSQ10, TRANS_LSQ12, TRANS_LSQ6, TRANS_LSQ7, TRANS_LSQ9, and TRANS_TPS.

Referenced by safe_compute_transform_from_tags().

private void concat_transformation_matrix Transform *  lt,
Real  center[],
Real  translations[],
Real  scales[],
Real  shears[],
Transform *  rotation
 

Definition at line 393 of file compute_xfm.c.

References make_rots(), make_scale_transform(), and make_translation_transform().

Referenced by build_transformation_matrix(), and compute_procrustes_transform().

private void make_rots Transform *  xmat,
Real  rot_x,
Real  rot_y,
Real  rot_z
 

Definition at line 362 of file compute_xfm.c.

References make_rotation_transform().

Referenced by build_transformation_matrix(), and concat_transformation_matrix().


Generated on Wed Jul 28 09:11:01 2004 for BICPL by doxygen 1.3.7