Points&Forces (survey)
Software tools facilitating the task of surveying architecture
Classes | Enumerations | Functions | Variables
h_compute.cxx File Reference
#include <iostream>
#include <vector>
#include <mvl/HMatrix2D.h>
#include <mvl/HMatrix2DComputeLinear.h>
#include <vnl/vnl_least_squares_function.h>
#include <vnl/algo/vnl_levenberg_marquardt.h>
#include <vgl/vgl_distance.h>
#include "a_point.h"
#include "SimpleOpt.h"
#include "h_compute.help"
+ Include dependency graph for h_compute.cxx:

Go to the source code of this file.

Classes

class  a_homography_function
 homography solver More...
 

Enumerations

enum  { OPT_HELP , OPT_NONLIN , OPT_HOMG , OPT_VERB }
 

Functions

int error (int val)
 
void normalise_h (vnl_double_3x3 &h)
 
int main (int argc, char **argv)
 

Variables

CSimpleOpt::SOption g_rgOptions []
 
bool verbose = false
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OPT_HELP 
OPT_NONLIN 
OPT_HOMG 
OPT_VERB 

Definition at line 26 of file h_compute.cxx.

Function Documentation

◆ error()

int error ( int  val)

Definition at line 42 of file h_compute.cxx.

+ Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 99 of file h_compute.cxx.

+ Here is the call graph for this function:

◆ normalise_h()

void normalise_h ( vnl_double_3x3 &  h)

Definition at line 66 of file h_compute.cxx.

+ Here is the caller graph for this function:

Variable Documentation

◆ g_rgOptions

CSimpleOpt::SOption g_rgOptions[]
Initial value:
= {
{ OPT_NONLIN, _T("-nl"), SO_NONE },
{ OPT_NONLIN, _T("--non-linear"), SO_NONE },
{ OPT_HOMG, _T("-hg"), SO_NONE },
{ OPT_HOMG, _T("--homogeneous"), SO_NONE },
{ OPT_VERB, _T("-v"), SO_NONE },
{ OPT_VERB, _T("--verbose"), SO_NONE },
{ OPT_HELP, _T("-?"), SO_NONE },
{ OPT_HELP, _T("-h"), SO_NONE },
{ OPT_HELP, _T("--help"), SO_NONE },
SO_END_OF_OPTIONS
}
@ OPT_HELP
Definition: h_compute.cxx:26
@ OPT_VERB
Definition: h_compute.cxx:26
@ OPT_HOMG
Definition: h_compute.cxx:26
@ OPT_NONLIN
Definition: h_compute.cxx:26

Definition at line 28 of file h_compute.cxx.

◆ verbose

bool verbose = false

Definition at line 40 of file h_compute.cxx.