Basic Image AlgorithmS Library
2.8.0
|
#include <Geometry/ProjectionError.hh>
Public Types | |
enum | EInnerOuter { Inner, Outer } |
enum | ELeftRight { Left, Right } |
Public Member Functions | |
double | ComputeDiff (double z, double offset) |
double | GetBaseline () const |
const ProjectionParametersPerspective * | GetCam (ELeftRight which) |
void | Init (int res, double depth, double angle) |
Initiates cameras and calculates the length of the baseline based on minDepth and angle. More... | |
void | Init (int res, double baseline) |
ProjectionError () | |
Definition at line 33 of file ProjectionError.hh.
Enumerator | |
---|---|
Inner | |
Outer |
Definition at line 41 of file ProjectionError.hh.
Enumerator | |
---|---|
Left | |
Right |
Definition at line 36 of file ProjectionError.hh.
BIAS::ProjectionError::ProjectionError | ( | ) |
Definition at line 30 of file ProjectionError.cpp.
double BIAS::ProjectionError::ComputeDiff | ( | double | z, |
double | offset | ||
) |
Definition at line 61 of file ProjectionError.cpp.
References BIAS::SVD::Invert(), BIAS::HomgPoint2D::IsAtInfinity(), and BIAS::Vector3< T >::Length().
double BIAS::ProjectionError::GetBaseline | ( | ) | const |
Definition at line 127 of file ProjectionError.cpp.
const ProjectionParametersPerspective * BIAS::ProjectionError::GetCam | ( | ELeftRight | which | ) |
Definition at line 119 of file ProjectionError.cpp.
void BIAS::ProjectionError::Init | ( | int | res, |
double | depth, | ||
double | angle | ||
) |
Initiates cameras and calculates the length of the baseline based on minDepth and angle.
depth | Depth for which the baseline shall be calculated. |
angle | camera1 - object - camera2 (degree) |
Definition at line 55 of file ProjectionError.cpp.
void BIAS::ProjectionError::Init | ( | int | res, |
double | baseline | ||
) |
Definition at line 35 of file ProjectionError.cpp.
References BIAS::Matrix3x3< T >::SetIdentity(), and BIAS::RMatrixBase::SetXYZ().