ldpk
|
The rotation extender simply rotates the incident ray around the optical axis. We need this e.g. for the new-style squeeze-rotation anamorphic distortion model. More...
#include <ldpk_rotation_extender.h>
Public Types | |
typedef VEC2 | vec2_type |
typedef MAT2 | mat2_type |
![]() | |
typedef VEC2 | vec2_type |
typedef MAT2 | mat2_type |
Public Member Functions | |
void | set_phi (double phi) |
The rotation extender has one parameter called phi (in radians). | |
double | get_phi () const |
Getter. | |
vec2_type | eval (const vec2_type &p) const |
eval() is per definition removal of lens distortion (undistort). | |
vec2_type | eval_inv (const vec2_type &q) const |
eval_inv() is applying lens distortion (distort) | |
vec2_type | eval_inv (const vec2_type &q, const vec2_type &p_start) const |
Generally (but not here), an initial value is needed for calculating the inverse. | |
const mat2_type & | get_mat () const |
The matrix for this extender. | |
const mat2_type & | get_mat_inv () const |
The inverse matrix for this extender. | |
The rotation extender simply rotates the incident ray around the optical axis. We need this e.g. for the new-style squeeze-rotation anamorphic distortion model.