Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

RadialLensCorrection Class Reference

#include <RadialLensCorrection.h>

Inheritance diagram for RadialLensCorrection:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 14 of file RadialLensCorrection.h.

Public Member Functions

 RadialLensCorrection (double cx, double cy, double sx, double sy, double k2, double k4=0)
 RadialLensCorrection (double k2)
 RadialLensCorrection (int w, int h, double k2)
void map (double x1, double y1, double *x2, double *y2)
 Map (x1, y1) to (x2, y2).
vnl_double_2 map (const vnl_vector< double > &in)
 x2 = map(x1);.
void inverse_map (double x1, double y1, double *x2, double *y2)
 Inverse map (x2, y2) to (x1, y1).
vnl_double_2 inverse_map (const vnl_vector< double > &in)
 x1 = $map^{-1}(x1)$;.

Protected Member Functions

virtual void implement_map (double x1, double y1, double *x2, double *y2)
virtual void implement_inverse_map (double x2, double y2, double *x1, double *y1)
void init (double cx, double cy, double sx, double sy, double k2, double k4)

Protected Attributes

double _cx
double _cy
double _sx
double _sy
double _k2
double _k4
double _invsx
double _invsy


Constructor & Destructor Documentation

RadialLensCorrection::RadialLensCorrection double  cx,
double  cy,
double  sx,
double  sy,
double  k2,
double  k4 = 0
 

Definition at line 12 of file RadialLensCorrection.cxx.

RadialLensCorrection::RadialLensCorrection double  k2  ) 
 

Definition at line 17 of file RadialLensCorrection.cxx.

RadialLensCorrection::RadialLensCorrection int  w,
int  h,
double  k2
 

Definition at line 22 of file RadialLensCorrection.cxx.


Member Function Documentation

void RadialLensCorrection::implement_inverse_map double  x2,
double  y2,
double *  x1,
double *  y1
[protected, virtual]
 

Implements Mapping_2d_2d.

Definition at line 66 of file RadialLensCorrection.cxx.

void RadialLensCorrection::implement_map double  x1,
double  y1,
double *  x2,
double *  y2
[protected, virtual]
 

Implements Mapping_2d_2d.

Definition at line 47 of file RadialLensCorrection.cxx.

void RadialLensCorrection::init double  cx,
double  cy,
double  sx,
double  sy,
double  k2,
double  k4
[protected]
 

Definition at line 28 of file RadialLensCorrection.cxx.

vnl_double_2 Mapping_2d_2d::inverse_map const vnl_vector< double > &  in  )  [inline, inherited]
 

x1 = $map^{-1}(x1)$;.

Definition at line 47 of file Mapping_2d_2d.h.

void Mapping_2d_2d::inverse_map double  x1,
double  y1,
double *  x2,
double *  y2
[inline, inherited]
 

Inverse map (x2, y2) to (x1, y1).

Definition at line 42 of file Mapping_2d_2d.h.

vnl_double_2 Mapping_2d_2d::map const vnl_vector< double > &  in  )  [inline, inherited]
 

x2 = map(x1);.

Definition at line 35 of file Mapping_2d_2d.h.

void Mapping_2d_2d::map double  x1,
double  y1,
double *  x2,
double *  y2
[inline, inherited]
 

Map (x1, y1) to (x2, y2).

Definition at line 30 of file Mapping_2d_2d.h.


Member Data Documentation

double RadialLensCorrection::_cx [protected]
 

Definition at line 27 of file RadialLensCorrection.h.

double RadialLensCorrection::_cy [protected]
 

Definition at line 28 of file RadialLensCorrection.h.

double RadialLensCorrection::_invsx [protected]
 

Definition at line 33 of file RadialLensCorrection.h.

double RadialLensCorrection::_invsy [protected]
 

Definition at line 34 of file RadialLensCorrection.h.

double RadialLensCorrection::_k2 [protected]
 

Definition at line 31 of file RadialLensCorrection.h.

double RadialLensCorrection::_k4 [protected]
 

Definition at line 32 of file RadialLensCorrection.h.

double RadialLensCorrection::_sx [protected]
 

Definition at line 29 of file RadialLensCorrection.h.

double RadialLensCorrection::_sy [protected]
 

Definition at line 30 of file RadialLensCorrection.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:46:08 2008 for contrib/oxl/oxp by  doxygen 1.4.4