#include "keypoint.h"


Go to the source code of this file.
Classes | |
| struct | DistortParams |
Functions | |
| void | distort (const float u, const float v, float distorted[2], const DistortParams &p=defaultCam) |
| Computes distorted coordinates from normalized ones. | |
| void | undistort (const float distorted_u, const float distorted_v, float uv[2], const DistortParams &p=defaultCam) |
| Undistort image coordinates to normalized ones. | |
| void | undistort (keypoint *kpt, const DistortParams &p=defaultCam) |
| convenient function to undistort a keypoint | |
Variables | |
| DistortParams | defaultCam |
| void distort | ( | const float | u, | |
| const float | v, | |||
| float | distorted[2], | |||
| const DistortParams & | p = defaultCam | |||
| ) |
Computes distorted coordinates from normalized ones.
Definition at line 51 of file distortion.cpp.
References DistortParams::cx, DistortParams::cy, DistortParams::fx, DistortParams::fy, DistortParams::k, and DistortParams::p.
| void undistort | ( | keypoint * | kpt, | |
| const DistortParams & | p = defaultCam | |||
| ) |
convenient function to undistort a keypoint
Definition at line 60 of file distortion.cpp.
References keypoint::fr_u(), keypoint::fr_v(), keypoint::u_undist, undistort(), and keypoint::v_undist.
Referenced by pyr_yape::detect(), and undistort().
| void undistort | ( | const float | distorted_u, | |
| const float | distorted_v, | |||
| float | uv[2], | |||
| const DistortParams & | p = defaultCam | |||
| ) |
Undistort image coordinates to normalized ones.
Definition at line 68 of file distortion.cpp.
References DistortParams::cx, DistortParams::cy, DistortParams::fx, DistortParams::fy, DistortParams::k, and DistortParams::p.
1.5.9