Points&Forces (survey)
Software tools facilitating the task of surveying architecture
Public Member Functions | Protected Attributes | List of all members
a_radial_distorsion Class Reference
+ Inheritance diagram for a_radial_distorsion:
+ Collaboration diagram for a_radial_distorsion:

Public Member Functions

void read (const std::string &name)
 read the image to be processed More...
 
void box_out ()
 compute the bounding box of the new image More...
 
double diag () const
 
void centre ()
 
void centre (double xc, double yc)
 
void k (double k1, double k2, double k3)
 
void xc (double xc)
 
void yc (double yc)
 
void new_coordinates (double xo, double yo, double &xn, double &yn)
 gives the pixel coordinates in the output image in function of the pixel coordinates in the input image More...
 
bool old_coordinates (double xn, double yn, double &xo, double &yo)
 gives the pixel coordinates in the input image in function of the pixel coordinates in the output image More...
 
double rdefo (double rexact)
 
- Public Member Functions inherited from a_image_defo
 a_image_defo ()
 
void write (const std::string &name)
 write the processed image to a file More...
 
void xm (const int val)
 impose the size of the output bounding box More...
 
void xM (const int val)
 impose the size of the output bounding box More...
 
void ym (const int val)
 impose the size of the output bounding box More...
 
void yM (const int val)
 impose the size of the output bounding box More...
 
void get_box_out () const
 
void deform ()
 deform the image More...
 

Protected Attributes

double r_max_
 
double xc_
 
double yc_
 
double k0_
 
double k1_
 
double k2_
 
double k3_
 
- Protected Attributes inherited from a_image_defo
vtkImageData * in_
 
vtkImageData * out_
 
int box_in_ [6]
 
int box_out_ [6]
 

Additional Inherited Members

- Protected Member Functions inherited from a_image_defo
void box_out_reset ()
 reset the value of the bounding box More...
 

Detailed Description

Definition at line 46 of file unwarp.cxx.

Member Function Documentation

◆ box_out()

void a_radial_distorsion::box_out ( )
virtual

compute the bounding box of the new image

Reimplemented from a_image_defo.

Definition at line 71 of file unwarp.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ centre() [1/2]

void a_radial_distorsion::centre ( )
inline

Definition at line 52 of file unwarp.cxx.

+ Here is the caller graph for this function:

◆ centre() [2/2]

void a_radial_distorsion::centre ( double  xc,
double  yc 
)
inline

Definition at line 53 of file unwarp.cxx.

+ Here is the call graph for this function:

◆ diag()

double a_radial_distorsion::diag ( ) const
inline

Definition at line 51 of file unwarp.cxx.

+ Here is the caller graph for this function:

◆ k()

void a_radial_distorsion::k ( double  k1,
double  k2,
double  k3 
)
inline

Definition at line 54 of file unwarp.cxx.

+ Here is the caller graph for this function:

◆ new_coordinates()

void a_radial_distorsion::new_coordinates ( double  xo,
double  yo,
double &  xn,
double &  yn 
)
virtual

gives the pixel coordinates in the output image in function of the pixel coordinates in the input image

Implements a_image_defo.

Definition at line 101 of file unwarp.cxx.

+ Here is the caller graph for this function:

◆ old_coordinates()

bool a_radial_distorsion::old_coordinates ( double  xn,
double  yn,
double &  xo,
double &  yo 
)
virtual

gives the pixel coordinates in the input image in function of the pixel coordinates in the output image

Implements a_image_defo.

Definition at line 111 of file unwarp.cxx.

+ Here is the call graph for this function:

◆ rdefo()

double a_radial_distorsion::rdefo ( double  rexact)

Definition at line 77 of file unwarp.cxx.

+ Here is the caller graph for this function:

◆ read()

void a_radial_distorsion::read ( const std::string &  name)
inlinevirtual

read the image to be processed

Reimplemented from a_image_defo.

Definition at line 49 of file unwarp.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xc()

void a_radial_distorsion::xc ( double  xc)
inline

Definition at line 55 of file unwarp.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ yc()

void a_radial_distorsion::yc ( double  yc)
inline

Definition at line 56 of file unwarp.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ k0_

double a_radial_distorsion::k0_
protected

Definition at line 64 of file unwarp.cxx.

◆ k1_

double a_radial_distorsion::k1_
protected

Definition at line 65 of file unwarp.cxx.

◆ k2_

double a_radial_distorsion::k2_
protected

Definition at line 66 of file unwarp.cxx.

◆ k3_

double a_radial_distorsion::k3_
protected

Definition at line 67 of file unwarp.cxx.

◆ r_max_

double a_radial_distorsion::r_max_
protected

Definition at line 61 of file unwarp.cxx.

◆ xc_

double a_radial_distorsion::xc_
protected

Definition at line 62 of file unwarp.cxx.

◆ yc_

double a_radial_distorsion::yc_
protected

Definition at line 63 of file unwarp.cxx.


The documentation for this class was generated from the following file: