NAME
draw_keypoint_correspondences - Visualize a correspondence
SYNOPSIS
#include "kpt/keypoint.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
int draw_keypoint_correspondences
(
const KJB_image *img1_ip,
const KJB_image *img2_ip,
const Keypoint_vector *img1_kvp,
const Keypoint_vector *img2_kvp,
KJB_image **result_ip
);
DESCRIPTION
The function draws the two images one underneath the other
and connects via lines the locations of the corresponing keypoints
provided in the Keypoint vectors.
img1_kvp->elements[0] is assumed to match img2_kvp->elements[0], etc.
Input parameters:
KJB_image* img1_ip - a handle to the image
KJB_image* img2_ip - a handle to another image
KJB_image** result_ip - a handle to the resulting image
Keypoint_vector* img1_kvp - the keypoints for img1
Keypoint_vector* img2_kvp - the keypoints for img2
RETURNS
NO_ERROR or an error set by the image_draw routines.
An ERROR is also returned if the Keypoint vectors differ
in size.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Kobus Barnard
SEE ALSO
create_keypoint
,
get_target_keypoint
,
copy_keypoint
,
set_keypoint_from_vector
,
free_keypoint
,
read_vl_keypoints_into_matrix
,
read_vl_keypoint_vector_from_file
,
extract_selected_keypoints_positions
,
extract_keypoints_positions
,
create_keypoint_vector
,
get_keypoint_vector_from_matrix
,
copy_keypoint_vector
,
copy_keypoint_vector_selected_rows
,
write_vl_keypoint_vector
,
get_vector_from_keypoint
,
free_keypoint_vector
,
get_target_keypoint_vector
,
create_keypoint_vector_vector
,
get_target_keypoint_vector_vector
,
free_keypoint_vector_vector
,
free_keypoint_vector_descriptors
,
keypoint_euclidean_distance
,
get_keypoint_match
,
get_local_keypoint_match
,
draw_oriented_keypoint
,
draw_oriented_keypoint_1
,
draw_ubc_keypoints_from_file
,
fp_draw_vl_keypoints
,
draw_vl_keypoints_from_file
,
draw_keypoints_from_keypoint_vector
,
draw_vl_keypoint_vector_with_mask
,
draw_vl_keypoint_vector_with_mask_value
,
draw_keypoint_matches
,
draw_keypoint_matches_1
,
draw_ransac_matches