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

Public Member Functions

 a_h_remap (const vnl_matrix< double > &H)
 
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...
 
- Public Member Functions inherited from a_image_defo
 a_image_defo ()
 
virtual void read (const std::string &name)
 read the image to be processed More...
 
void write (const std::string &name)
 write the processed image to a file More...
 
virtual void box_out ()
 compute the bounding box of the new image 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

vnl_matrix< double > H_
 
vnl_matrix< double > Hinv_
 
- 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 41 of file h_remap.cxx.

Constructor & Destructor Documentation

◆ a_h_remap()

a_h_remap::a_h_remap ( const vnl_matrix< double > &  H)

Definition at line 53 of file h_remap.cxx.

Member Function Documentation

◆ new_coordinates()

void a_h_remap::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 67 of file h_remap.cxx.

◆ old_coordinates()

bool a_h_remap::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 79 of file h_remap.cxx.

Member Data Documentation

◆ H_

vnl_matrix<double> a_h_remap::H_
protected

Definition at line 48 of file h_remap.cxx.

◆ Hinv_

vnl_matrix<double> a_h_remap::Hinv_
protected

Definition at line 49 of file h_remap.cxx.


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