|
ifw-odp 5.0.0
|
#include "ifw/odp/clipm/clipm_align.h"#include "ifw/odp/clipm/clipm_centroiding.h"#include "ifw/odp/clipm/clipm_compatibility_replacements.h"#include "ifw/odp/clipm/clipm_math.h"#include "ifw/odp/clipm/clipm_math_correlation.h"#include "ifw/odp/clipm/clipm_math_regression.h"#include "ifw/odp/clipm/clipm_priv_array.h"#include "ifw/odp/clipm/clipm_priv_checks.h"#include "ifw/odp/clipm/clipm_priv_error.h"#include "ifw/odp/clipm/clipm_priv_matrix.h"#include <stdlib.h>#include <stdio.h>#include <string.h>Macros | |
| #define | CLIPM_ALIGN_OPTDESC_MAXLEN 6 |
| #define | CLIPM_ALIGN_OPT_MAXSTRLEN |
| #define | _clipm_align_TRY_CHECK_NPOINTS(npoints, ndims) |
| #define | _clipm_align_TRY_EXIT_BADMODE(void) |
Functions | |
| void | clipm_align_opt_sprint_literal (char *str, clipm_align_opt opt) |
| Print alignment option in human-readable form into a string. | |
| 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. | |
| cpl_error_code | clipm_align_correlate (const cpl_image *ref_img, const cpl_image *test_img, const cpl_matrix *ref_locations, const cpl_matrix *test_locations, unsigned int area_size, double max_distance, clipm_align_opt align_mode_bitmask, cpl_matrix **pixel_transform_matrix, cpl_matrix **pixel_transshiftvector, cpl_matrix **all_pixelshifts, cpl_matrix **all_locationshifts, cpl_matrix **all_uncertainties, cpl_array **all_error_codes) |
| Align two images by correlation of sub-regions. | |
Variables | |
| const clipm_align_opt | CLIPM_ALIGN_SHIFT = ((unsigned) 1 << 1) |
| Shifting allowed. | |
| const clipm_align_opt | CLIPM_ALIGN_SCALE = ((unsigned) 1 << 2) |
| Scaling allowed. | |
| const clipm_align_opt | CLIPM_ALIGN_ROTATE = ((unsigned) 1 << 3) |
| Rotation allowed. | |
| const clipm_align_opt | CLIPM_ALIGN_FREE = ((unsigned) 1 << 4) |
| All parameters are free. | |
| const clipm_align_opt | CLIPM_ALIGN_ROBUST = ((unsigned) 1 << 5) |
| Robust computation, ignore outliers. | |
| #define _clipm_align_TRY_CHECK_NPOINTS | ( | npoints, | |
| ndims ) |
| #define _clipm_align_TRY_EXIT_BADMODE | ( | void | ) |
| #define CLIPM_ALIGN_OPT_MAXSTRLEN |
| #define CLIPM_ALIGN_OPTDESC_MAXLEN 6 |