|
ifw-odp 5.0.0
|
Topics | |
| Alignment Options | |
| Available transformation options. These options can be combined bit-wise to allow respective transformation options. | |
Functions | |
| cpl_error_code | clipm_align_points (const cpl_matrix *ref_points, const cpl_matrix *in_points, const cpl_matrix *ref_variances, const cpl_matrix *in_variances, clipm_align_opt align_mode_bitmask, cpl_matrix **transform_matrix, cpl_matrix **shift, cpl_matrix **residuals) |
| The linear transformation between two sets of point coordinates is determined. | |
This module provides functions for the alignment of objects.
| cpl_error_code clipm_align_points | ( | const cpl_matrix * | ref_points, |
| const cpl_matrix * | in_points, | ||
| const cpl_matrix * | ref_variances, | ||
| const cpl_matrix * | in_variances, | ||
| clipm_align_opt | align_mode_bitmask, | ||
| cpl_matrix ** | transform_matrix, | ||
| cpl_matrix ** | shift, | ||
| cpl_matrix ** | residuals ) |
The linear transformation between two sets of point coordinates is determined.
| ref_points | Reference point coordinates (column-based) |
| in_points | Input point coordinates (column-based) |
| ref_variances | Optional reference point (co-)variances, can be NULL, read below! |
| in_variances | Optional input point (co-)variances, can be NULL, read below! |
| align_mode_bitmask | Alignment mode |
| transform_matrix | Output transformation matrix, can be NULL |
| shift | Output shifting coordinate, can be NULL |
| residuals | Output residual coordinates, can be NULL |
![\[ points = \left( \begin{array}{lllc}
x_0 & x_1 & \cdots & x_{N-1} \\
y_0 & y_1 & \cdots & y_{N-1} \\
z_0 & z_1 & \cdots & z_{N-1} \\
\vdots & \vdots & & \vdots
\end{array} \right) \]](form_0.png)
![\[ p_n' = M\times p_n + s. \]](form_1.png)
![\[ d_n = r_n - p_n'. \]](form_2.png)