26 #include "TrifocalTensorBase.hh"
47 cout <<
"TRIFOCAL TENSOR [T1,T2,T3]: " << endl;
48 cout <<
" T1 = " << T1 << endl;
49 cout <<
" T2 = " << T2 << endl;
50 cout <<
" T3 = " << T3 << endl;
64 R1i.
Mult((C2 - C1), C2n);
65 R1i.
Mult((C3 - C1), C3n);
77 Compose(R1, R2, R3, c1, c2, c3);
void GetRow(const unsigned int row, Vector3< T > &r) const
extract one row ('Zeile') from ths matrix (for convenience)
void GetEuclidean(Vector3< HOMGPOINT3D_TYPE > &dest) const
calculate affine coordinates of this and write them to dest affine coordinates are projective coordin...
class HomgPoint2D describes a point with 2 degrees of freedom in projective coordinates.
TrifocalTensorBase & operator=(const TrifocalTensorBase &t)
void OuterProduct(const Vector3< T > &v, Matrix3x3< T > &res) const
outer product, constructs a matrix.
Tensor3D3x3x3< T > & operator=(const Tensor3D3x3x3< T > &t)
void LeftContravariantContraction1(Vector3< TRIFOCALTENSOR_TYPE > &v, Matrix3x3< TRIFOCALTENSOR_TYPE > &res)
computes the contraction of index 1 from left with contravariant vector , i.e.
void Mult(const Vector3< T > &argvec, Vector3< T > &destvec) const
matrix - vector multiplicate this matrix with Vector3, storing the result in destvec calculates: dest...
is a 'fixed size' quadratic matrix of dim.
class HomgPoint3D describes a point with 3 degrees of freedom in projective coordinates.
Matrix3x3< T > Transpose() const
returns transposed matrix tested 12.06.2002
void GetMatrices(Matrix3x3< TRIFOCALTENSOR_TYPE > &T1, Matrix3x3< TRIFOCALTENSOR_TYPE > &T2, Matrix3x3< TRIFOCALTENSOR_TYPE > &T3) const
Implements a 3D rotation matrix.
void SetFromMatrices(const Matrix3x3< TRIFOCALTENSOR_TYPE > &T1, const Matrix3x3< TRIFOCALTENSOR_TYPE > &T2, const Matrix3x3< TRIFOCALTENSOR_TYPE > &T3)
void SetAsCrossProductMatrix(const Vector3< T > &vec)
Sets matrix from vector as cross product matrix of this vector.
void CheckPointCorr(HomgPoint2D &p1, HomgPoint2D &p2, HomgPoint2D &p3, Matrix3x3< double > &res)
Vector3< T > & Normalize()
normalize this vector to length 1
void Compose(RMatrixBase &R1, RMatrixBase &R2, RMatrixBase &R3, Vector3< double > &C1, Vector3< double > &C2, Vector3< double > &C3)
composition for "normalized" (with K^-1) image points