Basic Image AlgorithmS Library
2.8.0
|
class HomgPoint2D describes a point with 2 degrees of freedom in projective coordinates. More...
#include <Base/Geometry/HomgPoint2D.hh>
Public Types | |
enum | ELocation { LOC_LEFT, LOC_RIGHT, LOC_MIDDLE, LOC_UPPER, LOC_LOWER, LOC_undef } |
enum | EPosition { Left, Right, Bottom, Top, TopLeft, TopRight, BottomLeft, BottomRight, Center, Infinity, InvalidPosition } |
typedef HOMGPOINT2D_TYPE | value_type |
Public Member Functions | |
enum EPosition | DeterminePosition (unsigned int width, unsigned int height) |
enum EPosition | DeterminePosition (const double &minx, const double &miny, const double &maxx, const double &maxy) |
give point position relative to image borders the parameters minx=0, miny=0, maxx=width-1, maxy=height-1 represent a typical image More... | |
HOMGPOINT2D_TYPE | Distance (const HomgPoint2D &point) const |
HOMGPOINT2D_TYPE | DistanceSquared (const HomgPoint2D &point) const |
void | GetEuclidean (Vector2< HOMGPOINT2D_TYPE > &dest) const |
calculate affine coordinates of this and write them to dest affine coordinates are projective coordinates with last element w == 1; Only possible for w !=0 because w==0 describes points of infinity which are not in euclidean space (but may be interpreted as directions) More... | |
Vector2< HOMGPOINT2D_TYPE > | GetEuclidean () const |
return the euclidean coordinates of this homg 2D point Only possible for w !=0 because w==0 describes points of infinity which are not in euclidean space (but may be interpreted as directions) More... | |
HOMGPOINT2D_TYPE | GetEuclideanX () const |
return the euclidean coordinates Only possible for w !=0 because w==0 describes points of infinity which are not in euclidean space (but may be interpreted as directions) More... | |
HOMGPOINT2D_TYPE | GetEuclideanY () const |
void | GetEuclidian (Vector2< HOMGPOINT2D_TYPE > &dest) const |
Vector2< HOMGPOINT2D_TYPE > | GetEuclidian () const |
HOMGPOINT2D_TYPE | GetEuclidianX () const |
HOMGPOINT2D_TYPE | GetEuclidianY () const |
bool | GetImageCoo (unsigned int width, unsigned int height, unsigned int coo[2]) |
return image coordinates for drawing , coo[0]=x, coo[1]=y More... | |
HOMGPOINT2D_TYPE | GetW () const |
HomgPoint2D () | |
default constructor More... | |
HomgPoint2D (const HomgPoint2D &p) | |
constructor More... | |
HomgPoint2D (const HOMGPOINT2D_TYPE &scalar) | |
assignment with a constant value for all elements More... | |
HomgPoint2D (const HOMGPOINT2D_TYPE *pv) | |
assignment with an array of values which is copied into this ones class members More... | |
HomgPoint2D (char *s) | |
constructor with element assignment More... | |
HomgPoint2D (const Vector3< double > &vec) | |
constructor from Vector3 More... | |
HomgPoint2D (const Vector2< HOMGPOINT2D_TYPE > &vec) | |
constructor More... | |
HomgPoint2D (const HOMGPOINT2D_TYPE &x, const HOMGPOINT2D_TYPE &y) | |
constructor using euclidic coordinates, setting the 3rd HomgPoint2D component to 1 More... | |
HomgPoint2D (const HOMGPOINT2D_TYPE &x, const HOMGPOINT2D_TYPE &y, const HOMGPOINT2D_TYPE &w) | |
constructor More... | |
HomgPoint2D & | Homogenize () |
homogenize class data member elements to W==1 by divison by W More... | |
HomgPoint2D & | Homogenize (Matrix3x3< double > &cov) |
homogenizes the point and transforms the associated covariance matrix More... | |
bool | IsAtInfinity () const |
bool | IsHomogenized () const |
bool | IsInROI (const HOMGPOINT2D_TYPE &xmin, const HOMGPOINT2D_TYPE &ymin, const HOMGPOINT2D_TYPE &xmax, const HOMGPOINT2D_TYPE &ymax) const |
determines if point is within rectangular RegionOfInterest More... | |
bool | IsInROIHomogenized (const HOMGPOINT2D_TYPE &xmin, const HOMGPOINT2D_TYPE &ymin, const HOMGPOINT2D_TYPE &xmax, const HOMGPOINT2D_TYPE &ymax) const |
determines if point is within rectangular RegionOfInterest More... | |
bool | IsNormalized () const |
bool | operator!= (const HomgPoint2D &arg) const |
Comparison operator 'not equal'. More... | |
HomgPoint2D & | operator= (const Vector3< HOMGPOINT2D_TYPE > &vec) |
assignment operator set the elements of this HomgPoint to the element of vec More... | |
HomgPoint2D & | operator= (const HOMGPOINT2D_TYPE &scalar) |
assignment operator set the vector elementwise to scalar value More... | |
bool | operator== (const HomgPoint2D &arg) const |
Comparison operator 'equal'. More... | |
void | Set (const HOMGPOINT2D_TYPE &x, const HOMGPOINT2D_TYPE &y) |
set elementwise with given 2 euclidean scalar values. More... | |
void | Set (const HOMGPOINT2D_TYPE &x, const HOMGPOINT2D_TYPE &y, const HOMGPOINT2D_TYPE &z) |
void | Set (const Vector< HOMGPOINT2D_TYPE > &vec) |
Sets this form elements of Vector<T>. More... | |
void | Set (const Vector2< HOMGPOINT2D_TYPE > &vec) |
set from Vector2 More... | |
~HomgPoint2D () | |
destructor More... | |
Iterator Functions | |
HOMGPOINT2D_TYPEconst * | begin () const |
Iterator to first component of vector. More... | |
HOMGPOINT2D_TYPE * | begin () |
HOMGPOINT2D_TYPEconst * | end () const |
Iterator pointing to one element after the last vector element. More... | |
HOMGPOINT2D_TYPE * | end () |
Set Functions | |
void | Set (const HOMGPOINT2D_TYPE *pv) |
copy the array of vectorsize beginning at *T to this->data_ More... | |
void | Set (const HOMGPOINT2D_TYPE &scalar) |
set all elements to a scalar value More... | |
void | SetZero () |
set all values to 0 More... | |
void | clear () |
stl conform interface More... | |
Get Functions | |
const unsigned int | Size () const |
const unsigned int | size () const |
const unsigned int | GetNumElements () const |
bool | IsZero () const |
double | Length () const |
returns the Euclidean Length of the Vector More... | |
const HOMGPOINT2D_TYPE * | GetData () const |
get the data pointer the member function itself is const (before {..}) because it doesn't change the this object. More... | |
HOMGPOINT2D_TYPE * | GetData () |
HOMGPOINT2D_TYPE | NormL1 () const |
Return the L1 norm: |a| + |b| + |c|. More... | |
double | NormL2 () const |
the L2 norm sqrt(a^2 + b^2 + c^2) More... | |
double | Dist (const Vector3< HOMGPOINT2D_TYPE > &vec) const |
Return the euclidean distance of 2 vectors. More... | |
double | DistLinf (const Vector3< HOMGPOINT2D_TYPE > &vec) const |
Return the L inf distance of 2 vectors. More... | |
Normalization | |
Vector3< HOMGPOINT2D_TYPE > & | Normalize () |
normalize this vector to length 1 More... | |
Vector3< HOMGPOINT2D_TYPE > & | Normalize (Matrix3x3< HOMGPOINT2D_TYPE > &cov) |
normalizes the vector to 1 and transfroms the associated covariance matrix More... | |
BIAS::Vector3< HOMGPOINT2D_TYPE > | GetNormalized () const |
return a normalized vector of this More... | |
Arithmetic | |
void | CrossProduct (const Vector3< HOMGPOINT2D_TYPE > &argvec, Vector3< HOMGPOINT2D_TYPE > &destvec) const |
cross product of two vectors destvec = this x argvec More... | |
Vector3< HOMGPOINT2D_TYPE > | CrossProduct (const Vector3< HOMGPOINT2D_TYPE > &argvec) const |
void | ScalarProduct (const Vector3< HOMGPOINT2D_TYPE > &argvec, HOMGPOINT2D_TYPE &result) const |
scalar product (=inner product) of two vectors, storing the result in result More... | |
HOMGPOINT2D_TYPE | ScalarProduct (const Vector3< HOMGPOINT2D_TYPE > &argvec) const |
scalar product (=inner product) of two vectors returns a scalar More... | |
void | ElementwiseProduct (const Vector3< HOMGPOINT2D_TYPE > &argvec, Vector3< HOMGPOINT2D_TYPE > &destvec) const |
multiply two vectors elementwise and store the result vector to destvec More... | |
Vector3< HOMGPOINT2D_TYPE > | ElementwiseProduct (const Vector3< HOMGPOINT2D_TYPE > &argvec) const |
multiply two vectors elementwise and return the result vector More... | |
void | ElementwiseDivision (const Vector3< HOMGPOINT2D_TYPE > &argvec, Vector3< HOMGPOINT2D_TYPE > &destvec) const |
Vector3< HOMGPOINT2D_TYPE > | ElementwiseDivision (const Vector3< HOMGPOINT2D_TYPE > &argvec) const |
divide elementwise More... | |
void | AddIP (const HOMGPOINT2D_TYPE &scalar) |
Addition (in place) of an scalar. More... | |
void | AddIP (const Vector3< HOMGPOINT2D_TYPE > &argvec) |
in place adding More... | |
void | Add (const HOMGPOINT2D_TYPE &scalar, Vector3< HOMGPOINT2D_TYPE > &dest) const |
Addition with a scalar, storing results in destionation vector. More... | |
void | Add (const Vector3< HOMGPOINT2D_TYPE > &argvec, Vector3< HOMGPOINT2D_TYPE > &destvec) const |
adding of two vectors, storing the result in destvec More... | |
void | SubIP (const HOMGPOINT2D_TYPE &scalar) |
Substraction (in place) of an scalar. More... | |
void | SubIP (const Vector3< HOMGPOINT2D_TYPE > &argvec) |
in place substraction More... | |
void | Sub (const HOMGPOINT2D_TYPE &scalar, Vector3< HOMGPOINT2D_TYPE > &dest) const |
Substraction with a scalar, storing results in destination vector. More... | |
void | Sub (const Vector3< HOMGPOINT2D_TYPE > &argvec, Vector3< HOMGPOINT2D_TYPE > &destvec) const |
subtracting of two Vectors, storing the result in destvec More... | |
void | MultiplyIP (const HOMGPOINT2D_TYPE &scalar) |
Multiplication (in place) of an scalar. More... | |
void | MultIP (const HOMGPOINT2D_TYPE &scalar) |
void | Multiply (const HOMGPOINT2D_TYPE &scalar, Vector3< HOMGPOINT2D_TYPE > &dest) const |
Multiplication with a scalar, storing results in destination vector. More... | |
void | Mult (const HOMGPOINT2D_TYPE &scalar, Vector3< HOMGPOINT2D_TYPE > &dest) const |
void | DivideIP (const HOMGPOINT2D_TYPE &scalar) |
Division (in place) of an scalar. More... | |
void | DivIP (const HOMGPOINT2D_TYPE &scalar) |
void | Divide (const HOMGPOINT2D_TYPE &scalar, Vector3< HOMGPOINT2D_TYPE > &dest) const |
Division with a scalar, storing results in destination vector. More... | |
void | Div (const HOMGPOINT2D_TYPE &scalar, Vector3< HOMGPOINT2D_TYPE > &dest) const |
Misc | |
void | OuterProduct (const Vector3< HOMGPOINT2D_TYPE > &v, Matrix3x3< HOMGPOINT2D_TYPE > &res) const |
outer product, constructs a matrix. More... | |
Matrix3x3< HOMGPOINT2D_TYPE > | OuterProduct (const Vector3< HOMGPOINT2D_TYPE > &v) const |
Matrix< HOMGPOINT2D_TYPE > | GetSkewSymmetricMatrix () const |
constructs a skew symmetric 3x3 matrix from (*this), which can be used instead of the cross product More... | |
BIAS::Vector3< HOMGPOINT2D_TYPE > | CoordSphereToEuclidean () const |
coordinate transfrom. More... | |
BIAS::Vector3< HOMGPOINT2D_TYPE > | PolarToCartesian () const |
BIAS::Vector3< HOMGPOINT2D_TYPE > | CoordSphereToEuclidian () const |
BIAS::Vector3< HOMGPOINT2D_TYPE > | CoordEuclideanToSphere () const |
coordinate transform. More... | |
BIAS::Vector3< HOMGPOINT2D_TYPE > | CartesianToPolar () const |
BIAS::Vector3< HOMGPOINT2D_TYPE > | CoordEuclidianToSphere () const |
HOMGPOINT2D_TYPE & | Radius () |
r for polar/sphere content JW More... | |
HOMGPOINT2D_TYPE | Radius () const |
HOMGPOINT2D_TYPE & | Phi () |
HOMGPOINT2D_TYPE | Phi () const |
HOMGPOINT2D_TYPE & | Theta () |
HOMGPOINT2D_TYPE | Theta () const |
int | LoadBogTC (const std::string &filename) |
reads the TC part of a BOG file which is used by Daimler Chrysler for storing Camera center position. More... | |
bool | Load (const std::string &filename) |
method to load directly from a given filename. More... | |
bool | Save (const std::string &filename) const |
method to save directly to a given filename. More... | |
Operators | |
const HOMGPOINT2D_TYPE & | operator[] (const int i) const |
access an element of the vector with 0-based indizes. More... | |
HOMGPOINT2D_TYPE & | operator[] (const int i) |
access an element of the vector with 0-based indizes. More... | |
bool | operator== (const Vector3< HOMGPOINT2D_TYPE > &arg) const |
Comparison operator 'equal'. More... | |
bool | operator!= (const Vector3< HOMGPOINT2D_TYPE > &arg) const |
Comparison operator 'not equal'. More... | |
Protected Attributes | |
HOMGPOINT2D_TYPE | data_ [VECTOR3_SIZE] |
class HomgPoint2D describes a point with 2 degrees of freedom in projective coordinates.
manual loop unrolling is used if possible. The Vector is in row-major order (3 rows, 1 column) the indizes begin with zero (to size-1)
constructors and assignment operators are never inherited, so they are wrapped (or reimplemented) here.
Definition at line 67 of file HomgPoint2D.hh.
|
inherited |
Definition at line 76 of file Vector3.hh.
Enumerator | |
---|---|
LOC_LEFT | |
LOC_RIGHT | |
LOC_MIDDLE | |
LOC_UPPER | |
LOC_LOWER | |
LOC_undef |
Definition at line 70 of file HomgPoint2D.hh.
Enumerator | |
---|---|
Left | |
Right | |
Bottom | |
Top | |
TopLeft | |
TopRight | |
BottomLeft | |
BottomRight | |
Center | |
Infinity | |
InvalidPosition |
Definition at line 73 of file HomgPoint2D.hh.
|
inline |
default constructor
Definition at line 79 of file HomgPoint2D.hh.
|
inline |
constructor
Definition at line 90 of file HomgPoint2D.hh.
|
inlineexplicit |
assignment with a constant value for all elements
Definition at line 96 of file HomgPoint2D.hh.
|
inlineexplicit |
assignment with an array of values which is copied into this ones class members
Definition at line 102 of file HomgPoint2D.hh.
|
inlineexplicit |
constructor with element assignment
Definition at line 107 of file HomgPoint2D.hh.
|
inline |
constructor from Vector3
Definition at line 110 of file HomgPoint2D.hh.
|
inlineexplicit |
constructor
Definition at line 118 of file HomgPoint2D.hh.
|
inline |
constructor using euclidic coordinates, setting the 3rd HomgPoint2D component to 1
Definition at line 125 of file HomgPoint2D.hh.
|
inline |
constructor
Definition at line 135 of file HomgPoint2D.hh.
|
inline |
destructor
Definition at line 144 of file HomgPoint2D.hh.
|
inlineinherited |
Addition with a scalar, storing results in destionation vector.
|
inlineinherited |
adding of two vectors, storing the result in destvec
|
inlineinherited |
Addition (in place) of an scalar.
Definition at line 310 of file Vector3.hh.
|
inlineinherited |
in place adding
Definition at line 349 of file Vector3.hh.
|
inlineinherited |
Iterator to first component of vector.
Definition at line 134 of file Vector3.hh.
|
inlineinherited |
Definition at line 137 of file Vector3.hh.
|
inlineinherited |
Definition at line 422 of file Vector3.hh.
|
inlineinherited |
stl conform interface
|
inherited |
coordinate transform.
compute the sphere coordinates(r, phi, theta) for (this) given euclidean point p=(x,y,z) with radius : distance to center, theta : radian angle between positive z-axis and p=(x,y,z). (0-pi) phi : radian angle between positive x-axis and projection of p=(x,y,z) into XY plane. (0-2pi) assume (x,y,z) is in orthogonal right-hand-system.
|
inlineinherited |
Definition at line 426 of file Vector3.hh.
|
inherited |
coordinate transfrom.
compute the euclidean coord p=(x,y,z) for (this) given sphere coord sph=(radius, phi, theta) with radius : distance to center, theta : radian angle between positive z-axis and p=(x,y,z). (0-pi) phi : radian angle between positive x-axis and projection of p=(x,y,z) into XY plane. (0-2pi) assume (x,y,z) is in orthogonal right-hand-system.
|
inlineinherited |
Definition at line 407 of file Vector3.hh.
|
inlineinherited |
cross product of two vectors destvec = this x argvec
|
inlineinherited |
Definition at line 267 of file Vector3.hh.
|
inline |
Definition at line 403 of file HomgPoint2D.hh.
Referenced by BIAS::EpipolarLine::DrawDistortedLine(), and BIAS::EpipolarLine::Init().
|
inline |
give point position relative to image borders the parameters minx=0, miny=0, maxx=width-1, maxy=height-1 represent a typical image
Definition at line 408 of file HomgPoint2D.hh.
References Bottom, BottomLeft, BottomRight, Center, InvalidPosition, IsAtInfinity(), Left, LOC_LEFT, LOC_LOWER, LOC_MIDDLE, LOC_RIGHT, LOC_undef, LOC_UPPER, Right, Top, TopLeft, and TopRight.
|
inlineinherited |
Return the euclidean distance of 2 vectors.
|
inline |
Definition at line 367 of file HomgPoint2D.hh.
References BIAS::Vector3< HOMGPOINT2D_TYPE >::data_.
Referenced by BIAS::TrackerSynth< StorageType, CalculationType >::FindNearest_().
|
inline |
Definition at line 377 of file HomgPoint2D.hh.
References BIAS::Vector3< HOMGPOINT2D_TYPE >::data_.
Referenced by BIAS::PMatrix::GetProjectionError(), and BIAS::HMatrix::GetReprojectionError().
|
inlineinherited |
Return the L inf distance of 2 vectors.
|
inlineinherited |
Definition at line 343 of file Vector3.hh.
|
inlineinherited |
Division with a scalar, storing results in destination vector.
|
inlineinherited |
Division (in place) of an scalar.
|
inlineinherited |
Definition at line 338 of file Vector3.hh.
|
inlineinherited |
|
inlineinherited |
divide elementwise
Definition at line 300 of file Vector3.hh.
|
inlineinherited |
multiply two vectors elementwise and store the result vector to destvec
|
inlineinherited |
multiply two vectors elementwise and return the result vector
Definition at line 288 of file Vector3.hh.
|
inlineinherited |
Iterator pointing to one element after the last vector element.
Definition at line 143 of file Vector3.hh.
|
inlineinherited |
Definition at line 146 of file Vector3.hh.
|
inlineinherited |
get the data pointer the member function itself is const (before {..}) because it doesn't change the this object.
Definition at line 202 of file Vector3.hh.
|
inlineinherited |
Definition at line 203 of file Vector3.hh.
|
inline |
calculate affine coordinates of this and write them to dest affine coordinates are projective coordinates with last element w == 1; Only possible for w !=0 because w==0 describes points of infinity which are not in euclidean space (but may be interpreted as directions)
Definition at line 244 of file HomgPoint2D.hh.
References BIAS::Vector2< T >::GetData().
Referenced by BIAS::TriangleMesh::GenerateTexturedQuad(), and BIAS::TriangleMesh::GenerateTexturedQuadStrip().
|
inline |
return the euclidean coordinates of this homg 2D point Only possible for w !=0 because w==0 describes points of infinity which are not in euclidean space (but may be interpreted as directions)
Definition at line 256 of file HomgPoint2D.hh.
|
inline |
return the euclidean coordinates Only possible for w !=0 because w==0 describes points of infinity which are not in euclidean space (but may be interpreted as directions)
Definition at line 276 of file HomgPoint2D.hh.
|
inline |
Definition at line 283 of file HomgPoint2D.hh.
|
inline |
Definition at line 263 of file HomgPoint2D.hh.
|
inline |
Definition at line 266 of file HomgPoint2D.hh.
|
inline |
Definition at line 291 of file HomgPoint2D.hh.
|
inline |
Definition at line 294 of file HomgPoint2D.hh.
|
inline |
return image coordinates for drawing , coo[0]=x, coo[1]=y
Definition at line 388 of file HomgPoint2D.hh.
References BIAS::Vector3< HOMGPOINT2D_TYPE >::data_, and Homogenize().
|
inherited |
return a normalized vector of this
norm. to length 1
|
inlineinherited |
Definition at line 187 of file Vector3.hh.
|
inherited |
constructs a skew symmetric 3x3 matrix from (*this), which can be used instead of the cross product
|
inline |
Definition at line 140 of file HomgPoint2D.hh.
|
inline |
homogenize class data member elements to W==1 by divison by W
Definition at line 215 of file HomgPoint2D.hh.
Referenced by BIAS::GenSynthMatches::_IsSeen(), BIAS::FMatrixBase::Compose(), BIAS::HMatrix::ComputeLinearizationError(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::GenGroundTruth::CreateIdealMatches(), BIAS::OutputLensDistortion::CreateLookupTable(), BIAS::GenGroundTruth::CreateMatches(), BIAS::ProjectionParametersZoom::Distort(), BIAS::ProjectionParametersPerspective::DistortNormalized(), BIAS::ProjectionParametersOrthographic::DoesPointProjectIntoImageLocal(), BIAS::ProjectionParametersCylindric::DoesPointProjectIntoImageLocal(), BIAS::Conic2D::Draw(), BIAS::EpipolarLine::DrawDistortedLine(), BIAS::EpipolarLine::DrawWhole(), BIAS::Tracker< StorageType, CalculationType >::FillUpPoints(), BIAS::Parametrization::FMatrixToParams(), BIAS::LocalAffineFrame::FractionInImage(), BIAS::TriangleMesh::GenerateTexturedQuad(), BIAS::TriangleMesh::GenerateTexturedQuadStrip(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::GetBoundingBox(), BIAS::Triangulation::GetCovariance2D(), BIAS::FMatrixBase::GetEpipolarError(), BIAS::FMatrix::GetEpipolesHomogenized(), BIAS::HMatrixEstimation::GetError(), BIAS::LocalAffineFrame::GetHomographyTransformed(), BIAS::ProjectionParametersPerspective::GetIdealK(), GetImageCoo(), BIAS::HomgLine2D::GetIntersectionsWithImage(), BIAS::HMatrix::GetLinearized(), BIAS::HMatrix::GetMappedError(), BIAS::HMatrix::GetMappedRange(), BIAS::HomgLine2D::GetPerpendicularLine(), BIAS::Conic2D::GetPoint(), BIAS::PMatrix::GetProjectionError(), BIAS::HMatrix::GetReprojectionError(), BIAS::CovMatrix3x3::GetSearchArea(), BIAS::HomographyMapping< InputStorageType, OutputStorageType >::GetSourceCoordinates_(), BIAS::Normalization::Hartley(), BIAS::HMatrixEstimation::HErrorFunction_(), BIAS::HomgPoint2DCov::Homogenize(), BIAS::DistortionRendering::Init(), BIAS::Conic2D::IntersectLine(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::TextureTransformHomography::MapBackward(), BIAS::TextureTransformHomography::MapForward(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::EpipolarLine::ProjectEpipolarPlane(), BIAS::ProjectionParametersZoom::ProjectLocal(), BIAS::ProjectionParametersPerspective::ProjectLocal(), BIAS::Tracker< StorageType, CalculationType >::ReplaceAllPoints(), BIAS::Tracker< StorageType, CalculationType >::ReplacePoints(), BIAS::FMatrixBase::Set(), BIAS::ProjectionParametersSpherical::TransfCoordCalibImage2Sphere_(), BIAS::ProjectionParametersSphericalFast::TransfCoordImage2Sphere_(), BIAS::ProjectionParametersSpherical::TransfCoordImage2Sphere_(), BIAS::Cov3Dto2DPoseCertain::Transform_(), BIAS::Covariance3Dto2D::Transform_(), BIAS::ProjectionParametersZoom::Undistort(), and BIAS::ProjectionParametersPerspective::Undistort().
HomgPoint2D& BIAS::HomgPoint2D::Homogenize | ( | Matrix3x3< double > & | cov | ) |
homogenizes the point and transforms the associated covariance matrix
|
inline |
Definition at line 165 of file HomgPoint2D.hh.
Referenced by BIAS::ProjectionError::ComputeDiff(), DeterminePosition(), BIAS::ProjectionParametersPerspective::DistortNormalized(), BIAS::Triangulation::GetCovariance(), BIAS::HomgPoint2DCov::Homogenize(), BIAS::CornerMatcher::NCC(), BIAS::CornerMatcher::NCCSearch(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), BIAS::Tracker< StorageType, CalculationType >::ReplaceAllPoints(), BIAS::Conic2D::SetPointAndCovariance(), BIAS::CornerMatcher::SSD(), BIAS::ProjectionParametersPerspective::Undistort(), and BIAS::ProjectionParametersSphericalSimple::UnProjectLocal().
|
inline |
Definition at line 202 of file HomgPoint2D.hh.
Referenced by BIAS::Triangulation::GetCovariance(), BIAS::Triangulation::GetCovarianceAnalytic(), BIAS::HMatrix::GetJacobian(), BIAS::ProjectionParametersBase::GetUnProjectionJacobian(), and IsInROIHomogenized().
|
inline |
determines if point is within rectangular RegionOfInterest
Definition at line 512 of file HomgPoint2D.hh.
References BIAS::Vector3< HOMGPOINT2D_TYPE >::data_.
|
inline |
determines if point is within rectangular RegionOfInterest
Definition at line 494 of file HomgPoint2D.hh.
References BIAS::Vector3< HOMGPOINT2D_TYPE >::data_, and IsHomogenized().
|
inline |
Definition at line 208 of file HomgPoint2D.hh.
References BIAS::Equal().
|
inlineinherited |
|
inlineinherited |
returns the Euclidean Length of the Vector
Definition at line 193 of file Vector3.hh.
|
inherited |
method to load directly from a given filename.
internally using stream operator
|
inherited |
reads the TC part of a BOG file which is used by Daimler Chrysler for storing Camera center position.
|
inlineinherited |
Definition at line 332 of file Vector3.hh.
|
inlineinherited |
Definition at line 327 of file Vector3.hh.
|
inlineinherited |
Multiplication with a scalar, storing results in destination vector.
|
inlineinherited |
Multiplication (in place) of an scalar.
Definition at line 326 of file Vector3.hh.
|
inlineinherited |
normalize this vector to length 1
|
inherited |
normalizes the vector to 1 and transfroms the associated covariance matrix
|
inlineinherited |
Return the L1 norm: |a| + |b| + |c|.
|
inlineinherited |
the L2 norm sqrt(a^2 + b^2 + c^2)
|
inline |
Comparison operator 'not equal'.
Definition at line 320 of file HomgPoint2D.hh.
|
inlineinherited |
Comparison operator 'not equal'.
Definition at line 505 of file Vector3.hh.
|
inline |
assignment operator set the elements of this HomgPoint to the element of vec
Definition at line 150 of file HomgPoint2D.hh.
References BIAS::Vector3< T >::GetData(), and BIAS::Vector3< T >::Set().
|
inline |
assignment operator set the vector elementwise to scalar value
Definition at line 159 of file HomgPoint2D.hh.
|
inline |
Comparison operator 'equal'.
Definition at line 308 of file HomgPoint2D.hh.
|
inlineinherited |
Comparison operator 'equal'.
Definition at line 500 of file Vector3.hh.
References BIAS::Vector3< T >::data_.
|
inlineinherited |
access an element of the vector with 0-based indizes.
read only (no write) member function const because it doesn't change this object
|
inlineinherited |
access an element of the vector with 0-based indizes.
write allowed
|
inherited |
outer product, constructs a matrix.
Often written as (*this) * v^T for col vectors made it fast
|
inlineinherited |
Definition at line 379 of file Vector3.hh.
|
inlineinherited |
Definition at line 436 of file Vector3.hh.
|
inlineinherited |
Definition at line 438 of file Vector3.hh.
|
inlineinherited |
Definition at line 403 of file Vector3.hh.
|
inlineinherited |
r for polar/sphere content JW
Definition at line 431 of file Vector3.hh.
|
inlineinherited |
Definition at line 433 of file Vector3.hh.
|
inherited |
method to save directly to a given filename.
internally using stream operator
|
inlineinherited |
scalar product (=inner product) of two vectors, storing the result in result
|
inlineinherited |
scalar product (=inner product) of two vectors returns a scalar
|
inlineinherited |
copy the array of vectorsize beginning at *T to this->data_
|
inlineinherited |
set all elements to a scalar value
Definition at line 160 of file Vector3.hh.
|
inline |
set elementwise with given 2 euclidean scalar values.
the additional W-coordinate is set to 1
Definition at line 174 of file HomgPoint2D.hh.
References BIAS::Vector3< T >::Set().
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::GenSynthMatches::_CreateMoving2DPoints(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_EnforceMinimumDistance(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::EpipolarLine::DetermineIntersectionsAndEpipoleDistances_(), BIAS::RectificationViaProjectionMappingBase< InputStorageType, OutputStorageType >::Disp2Depth(), BIAS::EpipolarLine::EpipolarLine(), BIAS::TriangleMesh::GenerateTexturedQuad(), BIAS::Triangulation::GetCovariance(), BIAS::Triangulation::GetCovariance2D(), BIAS::Triangulation::GetCovarianceAnalytic(), BIAS::FMatrix::GetEpipoles(), BIAS::GeometryGL::GetImgCorner3d(), BIAS::Conic2D::GetTangentPoints(), BIAS::Primitives::LocalPerspectivePatches(), BIAS::Primitives::LocalPerspectivePatchOverLine(), BIAS::Primitives::LocalPerspectiveQuad(), BIAS::CornerMatcher::NCCSearch(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), BIAS::ProjectionParametersSphericalSimple::ProjectLocal(), BIAS::ProjectionParametersPerspective::ProjectLocal(), BIAS::clfTrimmedICP::setFromDepthMap_(), and BIAS::ProjectionParametersPerspective::Undistort().
|
inline |
Definition at line 177 of file HomgPoint2D.hh.
References BIAS::Vector3< T >::Set().
|
inline |
Sets this form elements of Vector<T>.
Definition at line 182 of file HomgPoint2D.hh.
References TNT::Vector< T >::size().
|
inline |
set from Vector2
Definition at line 194 of file HomgPoint2D.hh.
|
inlineinherited |
set all values to 0
|
inlineinherited |
Definition at line 183 of file Vector3.hh.
|
inlineinherited |
Definition at line 185 of file Vector3.hh.
|
inlineinherited |
Substraction with a scalar, storing results in destination vector.
|
inlineinherited |
subtracting of two Vectors, storing the result in destvec
|
inlineinherited |
Substraction (in place) of an scalar.
Definition at line 318 of file Vector3.hh.
|
inlineinherited |
in place substraction
Definition at line 359 of file Vector3.hh.
|
inlineinherited |
Definition at line 441 of file Vector3.hh.
|
inlineinherited |
Definition at line 443 of file Vector3.hh.
|
protectedinherited |
Definition at line 514 of file Vector3.hh.
Referenced by Distance(), DistanceSquared(), GetImageCoo(), IsInROI(), and IsInROIHomogenized().