Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | Related Functions | List of all members
BIAS::Matrix3x3< T > Class Template Reference

is a 'fixed size' quadratic matrix of dim. More...

#include <Base/Math/Matrix.hh>

+ Inheritance diagram for BIAS::Matrix3x3< T >:
+ Collaboration diagram for BIAS::Matrix3x3< T >:

Public Member Functions

void GetAbsMaxMin (T &max, T &min) const
 
template<>
void GetAbsMaxMin (double &max, double &min) const
 
template<>
void GetAbsMaxMin (float &max, float &min) const
 
void GetColumn (const unsigned int col, Vector3< T > &r) const
 extract one column ('Spalte') from this matrix (for convenience) More...
 
BIAS::Vector3< T > GetColumn (const unsigned int col) const
 
T * GetData ()
 
const T * GetData () const
 
GetDeterminant () const
 returns the Determinant |A| of this More...
 
int GetInverse (Matrix3x3< T > &inv) const
 Matrix inversion: inverts this and stores resulty in argument inv. More...
 
template<>
int GetInverse (Matrix3x3< unsigned int > &x) const
 
GetMax () const
 
void GetMaxMin (T &max, T &min) const
 return biggest and smallest entry More...
 
GetMin () const
 
unsigned GetNumElements () const
 
void GetRow (const unsigned int row, Vector3< T > &r) const
 extract one row ('Zeile') from ths matrix (for convenience) More...
 
Vector3< T > GetRow (const unsigned int row) const
 
int InvertIP ()
 In place matrix conversion. More...
 
template<>
int InvertIP ()
 
bool IsIdentity (const T eps=std::numeric_limits< T >::epsilon()) const
 
bool IsZero (const T eps=std::numeric_limits< T >::epsilon()) const
 
bool Load (const std::string &fname)
 
void MakeSymmetric ()
 
 Matrix3x3 (const MatrixInitType &i)
 init matrix with identity or zero More...
 
 Matrix3x3 (const Matrix3x3< T > &A)
 copy constructor More...
 
 Matrix3x3 ()
 default constructor More...
 
 Matrix3x3 (const T a0, const T a1, const T a2, const T a3, const T a4, const T a5, const T a6, const T a7, const T a8)
 constructor from 9 values More...
 
 Matrix3x3 (const Matrix< T > &A)
 cast constructor from Matrix More...
 
 Matrix3x3 (const TNT::Matrix< T > &A)
 cast constructor from TNT::Matrix More...
 
void Mult (const Vector3< T > &argvec, Vector3< T > &destvec) const
 matrix - vector multiplicate this matrix with Vector3, storing the result in destvec calculates: destvec = (this Matrix) * argvec More...
 
void Mult (const Matrix3x3< T > &argmat, Matrix3x3< T > &destmat) const
 matrix-matrix multiplication with other Matrix3x3, storing the result in destmat calculates: destmat = (this mat) * argmat More...
 
void Mult (const Matrix3x4< T > &argmat, Matrix3x4< T > &destmat) const
 
Normalize ()
 divide this by biggest absolute entry, returns biggest entry More...
 
double NormFrobenius () const
 
NormL1 () const
 
double NormL2 () const
 
bool operator!= (const Matrix3x3< T > &arg) const
 
Matrix3x3< T > & operator*= (const Matrix3x3< T > &arg)
 woelk 11/2007 (c) www.vision-n.de More...
 
Matrix3x3< T > & operator*= (const T &arg)
 woelk 11/2007 (c) www.vision-n.de More...
 
Matrix3x3< T > & operator+= (const Matrix3x3< T > &arg)
 
Matrix3x3< T > & operator-= (const Matrix3x3< T > &arg)
 
Matrix3x3< T > & operator/= (const T &arg)
 
Matrix3x3< T > & operator= (const Matrix3x3< T > &mat)
 assignment operator More...
 
bool operator== (const Matrix3x3< T > &arg) const
 
T * operator[] (const unsigned row)
 
const T * operator[] (const unsigned row) const
 
bool Save (const std::string &fname) const
 
void Scale (const T &scalar, Matrix3x3< T > &destmat) const
 scalar-matrix multiplication More...
 
void SetAsCrossProductMatrix (const Vector3< T > &vec)
 Sets matrix from vector as cross product matrix of this vector. More...
 
void SetAsCrossProductMatrix (const T &x, const T &y, const T &z)
 Sets matrix from vector as cross product matrix of a vector. More...
 
template<>
void SetAsCrossProductMatrix (const unsigned int &, const unsigned int &, const unsigned int &)
 
template<>
void SetAsCrossProductMatrix (const Vector3< unsigned int > &)
 
void SetColumn (const unsigned int col, const Vector3< T > &c)
 
void SetFromColumnVectors (const BIAS::Vector3< T > &v0, const BIAS::Vector3< T > &v1, const BIAS::Vector3< T > &v2)
 set this matrix from 3 vectors each representating a column More...
 
void SetFromRowVectors (const BIAS::Vector3< T > &v0, const BIAS::Vector3< T > &v1, const BIAS::Vector3< T > &v2)
 set this matrix from 3 vectors, each representating a row More...
 
void SetFromVector (const TNT::Vector< T > &vec)
 sets the diagonalelements of this 3x3 Matrix rowwise with the values of the 9 (x1) vector More...
 
void SetIdentity ()
 set the elements of this matrix to the identity matrix (possibly overriding the inherited method) More...
 
void SetRow (const unsigned int row, const Vector3< T > &r)
 
void SetZero ()
 
Trace () const
 return the trace of the matrix More...
 
Matrix3x3< T > Transpose () const
 returns transposed matrix tested 12.06.2002 More...
 
void Transpose (const Matrix3x3< T > &arg)
 sets this as transposed arg, fw More...
 
void TransposedMult (const Vector3< T > &argvec, Vector3< T > &destvec) const
 multiplies matrix from left with transposed argvec, resulting in transposed destvec More...
 
void TransposeIP ()
 tranpose this matrix "in place" example: 0 1 2 –> 0 3 6 3 4 5 –> 1 4 7 6 7 8 –> 2 5 8 More...
 
virtual ~Matrix3x3 ()
 destructor More...
 

Protected Attributes

Data_ [9]
 

Related Functions

(Note that these are not member functions.)

template<class T >
Matrix3x3< T > operator* (const Matrix3x3< T > &mat, const T &arg)
 
template<class T >
Matrix3x3< T > operator* (const T &arg, const Matrix3x3< T > &mat)
 
template<class T >
Matrix2x3< T > operator* (const Matrix2x3< T > &mat, const Matrix3x3< T > &argmat)
 
template<class T >
Matrix3x3< T > operator* (const Matrix3x3< T > &argL, const Matrix3x3< T > &argR)
 
template<class T >
Matrix3x3< T > operator+ (const Matrix3x3< T > &left, const Matrix3x3< T > &right)
 
template<class T >
Matrix3x3< T > operator- (const Matrix3x3< T > &left, const Matrix3x3< T > &right)
 
template<class T >
Matrix3x3< T > operator/ (const Matrix3x3< T > &mat, const T &arg)
 

Detailed Description

template<class T>
class BIAS::Matrix3x3< T >

is a 'fixed size' quadratic matrix of dim.

3 x 3 which is templated over the element-type.

complete rewrite of class with fixed internal memory, to avoid calling of allocator new[]

Author
woelk 11/2007 (c) www.vision-n.de
Examples:
ExampleSymmetricMatrix3x3.cpp, and ExampleTrackerBaseInterface.cpp.

Definition at line 54 of file Matrix.hh.

Constructor & Destructor Documentation

template<class T>
BIAS::Matrix3x3< T >::Matrix3x3 ( )
inline

default constructor

Definition at line 61 of file Matrix3x3.hh.

template<class T>
BIAS::Matrix3x3< T >::Matrix3x3 ( const T  a0,
const T  a1,
const T  a2,
const T  a3,
const T  a4,
const T  a5,
const T  a6,
const T  a7,
const T  a8 
)

constructor from 9 values

Definition at line 46 of file Matrix3x3.cpp.

template<class T>
BIAS::Matrix3x3< T >::Matrix3x3 ( const MatrixInitType i)
explicit

init matrix with identity or zero

Author
koeser

Definition at line 58 of file Matrix3x3.cpp.

References BIAS::MatrixIdentity, and BIAS::MatrixZero.

template<class T>
BIAS::Matrix3x3< T >::Matrix3x3 ( const Matrix3x3< T > &  A)

copy constructor

Definition at line 76 of file Matrix3x3.cpp.

References BIAS::Matrix3x3< T >::Data_.

template<class T>
BIAS::Matrix3x3< T >::Matrix3x3 ( const Matrix< T > &  A)

cast constructor from Matrix

Definition at line 84 of file Matrix3x3.cpp.

References BIAS::Matrix< T >::GetData(), TNT::Matrix< T >::num_cols(), and TNT::Matrix< T >::num_rows().

template<class T>
BIAS::Matrix3x3< T >::Matrix3x3 ( const TNT::Matrix< T > &  A)

cast constructor from TNT::Matrix

Definition at line 97 of file Matrix3x3.cpp.

References TNT::Matrix< T >::num_cols(), and TNT::Matrix< T >::num_rows().

template<class T >
BIAS::Matrix3x3< T >::~Matrix3x3 ( )
virtual

destructor

Definition at line 118 of file Matrix3x3.cpp.

Member Function Documentation

template<class T>
void BIAS::Matrix3x3< T >::GetAbsMaxMin ( T &  max,
T &  min 
) const
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 669 of file Matrix3x3.cpp.

template<>
void BIAS::Matrix3x3< double >::GetAbsMaxMin ( double &  max,
double &  min 
) const

Definition at line 678 of file Matrix3x3.cpp.

template<>
void BIAS::Matrix3x3< float >::GetAbsMaxMin ( float &  max,
float &  min 
) const

Definition at line 691 of file Matrix3x3.cpp.

template<class T>
void BIAS::Matrix3x3< T >::GetColumn ( const unsigned int  col,
BIAS::Vector3< T > &  v 
) const

extract one column ('Spalte') from this matrix (for convenience)

Definition at line 299 of file Matrix3x3.cpp.

Referenced by BIAS::PoseParametrizationCovariance::Transform().

template<class T>
BIAS::Vector3<T> BIAS::Matrix3x3< T >::GetColumn ( const unsigned int  col) const
inline

Definition at line 202 of file Matrix3x3.hh.

template<class T>
T* BIAS::Matrix3x3< T >::GetData ( )
inline
template<class T>
const T* BIAS::Matrix3x3< T >::GetData ( ) const
inline
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 103 of file Matrix3x3.hh.

template<class T >
T BIAS::Matrix3x3< T >::GetDeterminant ( ) const
template<class T>
int BIAS::Matrix3x3< T >::GetInverse ( Matrix3x3< T > &  inv) const
template<>
int BIAS::Matrix3x3< unsigned int >::GetInverse ( Matrix3x3< unsigned int > &  x) const

Definition at line 362 of file Matrix3x3.cpp.

template<class T >
T BIAS::Matrix3x3< T >::GetMax ( ) const
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 606 of file Matrix3x3.cpp.

template<class T>
void BIAS::Matrix3x3< T >::GetMaxMin ( T &  max,
T &  min 
) const

return biggest and smallest entry

Author
woelk 08/2004

Definition at line 642 of file Matrix3x3.cpp.

template<class T >
T BIAS::Matrix3x3< T >::GetMin ( ) const
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 624 of file Matrix3x3.cpp.

template<class T>
unsigned BIAS::Matrix3x3< T >::GetNumElements ( ) const
inline
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 107 of file Matrix3x3.hh.

template<class T>
void BIAS::Matrix3x3< T >::GetRow ( const unsigned int  row,
Vector3< T > &  r 
) const
template<class T>
Vector3<T> BIAS::Matrix3x3< T >::GetRow ( const unsigned int  row) const
inline

Definition at line 196 of file Matrix3x3.hh.

template<class T >
int BIAS::Matrix3x3< T >::InvertIP ( )

In place matrix conversion.

Returns -1 if determinant is zero, 0 on success.

Author
woelk 07/2005

Definition at line 420 of file Matrix3x3.cpp.

Referenced by BIAS::PMatrixBase::Backproject(), BIAS::PMatrix::Compose(), BIAS::clfTrimmedICP::ComputeOptimalMotion_(), BIAS::HMatrix::GetReprojectionError(), and BIAS::Quadric3::Optimize().

template<>
int BIAS::Matrix3x3< unsigned int >::InvertIP ( )

Definition at line 409 of file Matrix3x3.cpp.

template<class T>
bool BIAS::Matrix3x3< T >::IsIdentity ( const T  eps = std::numeric_limits<T>::epsilon()) const
Author
woelk 12/2007 (c) www.vision-n.de

Definition at line 518 of file Matrix3x3.cpp.

References BIAS::Equal().

Referenced by BIAS::PMDImageProc::FitDepthTo2DImageHomogr_(), and BIAS::PMDImageProc::FitDepthTo2DImageKOnly_().

template<class T>
bool BIAS::Matrix3x3< T >::IsZero ( const T  eps = std::numeric_limits<T>::epsilon()) const
template<class T >
bool BIAS::Matrix3x3< T >::Load ( const std::string &  fname)

Definition at line 546 of file Matrix3x3.cpp.

template<class T >
void BIAS::Matrix3x3< T >::MakeSymmetric ( )
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 593 of file Matrix3x3.cpp.

template<class T>
void BIAS::Matrix3x3< T >::Mult ( const Vector3< T > &  argvec,
Vector3< T > &  destvec 
) const
inline

matrix - vector multiplicate this matrix with Vector3, storing the result in destvec calculates: destvec = (this Matrix) * argvec

Author
Ingo Thomsen, Jan Woetzel untested (04/17/2002)

Definition at line 302 of file Matrix3x3.hh.

Referenced by BIAS::ThreeDOut::AddPMatrix(), BIAS::ProjectionParametersSphericalSimple::Angles2GlobalOrientation(), BIAS::TrifocalTensorBase::CheckPointCorr(), BIAS::TrifocalTensorBase::Compose(), BIAS::PMatrixBase::Compose(), BIAS::FMatrixBase::Compose(), BIAS::PMatrix::Decompose_(), BIAS::FMatrixBase::GetCosAngleErrorHomogenized(), BIAS::TrifocalTensor::GetFMatrix21(), BIAS::TrifocalTensor::GetFMatrix31(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::PMatrix::GetImagePlane(), BIAS::Conic2D::GetLinearizedOffset(), BIAS::TrifocalTensor::GetPMatrix2(), BIAS::TrifocalTensor::GetPMatrix3(), BIAS::PMatrix::GetRayWorldCoo(), BIAS::AbsoluteOrientation::GetResidualErrors(), BIAS::Normalization::Hartley(), BIAS::OnlyRotationControl::LeftMouseDoubleClicked(), BIAS::OnlyRotationControl::LeftMouseMoved(), BIAS::OnlyRotationControl::MiddleMouseMoved(), BIAS::FlyControl::MoveDirection(), BIAS::Vector3< T >::operator*(), BIAS::Matrix3x3< T >::operator*(), BIAS::Matrix3x4< T >::operator*(), BIAS::Matrix3x3< ROTATION_MATRIX_TYPE >::operator*=(), BIAS::Quadric3::Optimize(), BIAS::ProjectionParametersSphericalSimple::Pixel2GlobalOrientation(), BIAS::OnlyRotationControl::RightMouseMoved(), BIAS::FMatrixBase::Set(), BIAS::ProjectionParametersPerspective::UnProjectCovLocal(), BIAS::ProjectionParametersBase::UnProjectToRay(), and BIAS::Normalization::Woelk().

template<class T>
void BIAS::Matrix3x3< T >::Mult ( const Matrix3x3< T > &  argmat,
Matrix3x3< T > &  destmat 
) const
inline

matrix-matrix multiplication with other Matrix3x3, storing the result in destmat calculates: destmat = (this mat) * argmat

Author
Ingo Thomsen, Jan Woetzel untested (04/17/2002)

Definition at line 344 of file Matrix3x3.hh.

References BIAS::Matrix3x3< T >::GetData().

template<class T>
void BIAS::Matrix3x3< T >::Mult ( const Matrix3x4< T > &  argmat,
Matrix3x4< T > &  destmat 
) const
Author
woelk 06 2003

Definition at line 459 of file Matrix3x3.cpp.

References BIAS::Matrix< T >::GetData().

template<class T >
T BIAS::Matrix3x3< T >::Normalize ( )

divide this by biggest absolute entry, returns biggest entry

Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 580 of file Matrix3x3.cpp.

Referenced by BIAS::FMatrixEstimation::Optimize(), and BIAS::ProjectionParametersPerspective::ViewDifference().

template<class T >
double BIAS::Matrix3x3< T >::NormFrobenius ( ) const
inline
template<class T >
T BIAS::Matrix3x3< T >::NormL1 ( ) const
inline

Definition at line 457 of file Matrix3x3.hh.

template<class T>
double BIAS::Matrix3x3< T >::NormL2 ( ) const
inline

Definition at line 255 of file Matrix3x3.hh.

Referenced by BIAS::Conic2D::GetLines().

template<class T>
bool BIAS::Matrix3x3< T >::operator!= ( const Matrix3x3< T > &  arg) const
inline

Definition at line 274 of file Matrix3x3.hh.

template<class T>
Matrix3x3<T>& BIAS::Matrix3x3< T >::operator*= ( const Matrix3x3< T > &  arg)
inline

woelk 11/2007 (c) www.vision-n.de

Definition at line 143 of file Matrix3x3.hh.

template<class T>
Matrix3x3< T > & BIAS::Matrix3x3< T >::operator*= ( const T &  arg)

woelk 11/2007 (c) www.vision-n.de

Definition at line 144 of file Matrix3x3.cpp.

template<class T>
Matrix3x3< T > & BIAS::Matrix3x3< T >::operator+= ( const Matrix3x3< T > &  arg)
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 124 of file Matrix3x3.cpp.

References BIAS::Matrix3x3< T >::Data_.

template<class T>
Matrix3x3< T > & BIAS::Matrix3x3< T >::operator-= ( const Matrix3x3< T > &  arg)
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 134 of file Matrix3x3.cpp.

References BIAS::Matrix3x3< T >::Data_.

template<class T>
Matrix3x3< T > & BIAS::Matrix3x3< T >::operator/= ( const T &  arg)
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 155 of file Matrix3x3.cpp.

References BIAS::Equal().

template<class T>
Matrix3x3< T > & BIAS::Matrix3x3< T >::operator= ( const Matrix3x3< T > &  mat)
template<class T>
bool BIAS::Matrix3x3< T >::operator== ( const Matrix3x3< T > &  arg) const

Definition at line 536 of file Matrix3x3.cpp.

References BIAS::Matrix3x3< T >::Data_, and BIAS::Equal().

template<class T>
T* BIAS::Matrix3x3< T >::operator[] ( const unsigned  row)
inline
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 91 of file Matrix3x3.hh.

template<class T>
const T* BIAS::Matrix3x3< T >::operator[] ( const unsigned  row) const
inline
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 95 of file Matrix3x3.hh.

template<class T >
bool BIAS::Matrix3x3< T >::Save ( const std::string &  fname) const

Definition at line 563 of file Matrix3x3.cpp.

template<class T>
void BIAS::Matrix3x3< T >::Scale ( const T &  scalar,
Matrix3x3< T > &  destmat 
) const
inline

scalar-matrix multiplication

Definition at line 374 of file Matrix3x3.hh.

References BIAS::Matrix3x3< T >::GetData().

Referenced by BIAS::Parametrization::FMatrixToParams().

template<class T>
void BIAS::Matrix3x3< T >::SetAsCrossProductMatrix ( const Vector3< T > &  vec)
template<class T>
void BIAS::Matrix3x3< T >::SetAsCrossProductMatrix ( const T &  x,
const T &  y,
const T &  z 
)

Sets matrix from vector as cross product matrix of a vector.

with components (x, y, z)

Definition at line 254 of file Matrix3x3.cpp.

template<>
void BIAS::Matrix3x3< unsigned int >::SetAsCrossProductMatrix ( const unsigned int &  ,
const unsigned int &  ,
const unsigned int &   
)

Definition at line 244 of file Matrix3x3.cpp.

template<>
void BIAS::Matrix3x3< unsigned int >::SetAsCrossProductMatrix ( const Vector3< unsigned int > &  )

Definition at line 266 of file Matrix3x3.cpp.

template<class T>
void BIAS::Matrix3x3< T >::SetColumn ( const unsigned int  col,
const Vector3< T > &  c 
)
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 323 of file Matrix3x3.cpp.

Referenced by BIAS::PoseParametrizationCovariance::Transform().

template<class T>
void BIAS::Matrix3x3< T >::SetFromColumnVectors ( const BIAS::Vector3< T > &  v0,
const BIAS::Vector3< T > &  v1,
const BIAS::Vector3< T > &  v2 
)

set this matrix from 3 vectors each representating a column

Definition at line 208 of file Matrix3x3.cpp.

Referenced by BIAS::CamPoseCalib::GuessInitialCam_().

template<class T>
void BIAS::Matrix3x3< T >::SetFromRowVectors ( const BIAS::Vector3< T > &  v0,
const BIAS::Vector3< T > &  v1,
const BIAS::Vector3< T > &  v2 
)

set this matrix from 3 vectors, each representating a row

Definition at line 226 of file Matrix3x3.cpp.

template<class T>
void BIAS::Matrix3x3< T >::SetFromVector ( const TNT::Vector< T > &  vec)

sets the diagonalelements of this 3x3 Matrix rowwise with the values of the 9 (x1) vector

Author
Ingo Thomsen, Jan Woetzel

Definition at line 190 of file Matrix3x3.cpp.

References TNT::Vector< T >::size().

template<class T >
void BIAS::Matrix3x3< T >::SetIdentity ( )
inline
template<class T>
void BIAS::Matrix3x3< T >::SetRow ( const unsigned int  row,
const Vector3< T > &  r 
)
Author
woelk 11/2007 (c) www.vision-n.de

Definition at line 311 of file Matrix3x3.cpp.

template<class T >
void BIAS::Matrix3x3< T >::SetZero ( )
inline
template<class T>
T BIAS::Matrix3x3< T >::Trace ( ) const
inline

return the trace of the matrix

Author
woelk 04/2006

Definition at line 230 of file Matrix3x3.hh.

template<class T >
Matrix3x3< T > BIAS::Matrix3x3< T >::Transpose ( ) const

returns transposed matrix tested 12.06.2002

Author
Felix Woelk

Definition at line 167 of file Matrix3x3.cpp.

References BIAS::Matrix3x3< T >::GetData().

Referenced by BIAS::ThreeDOut::AddEllipsoid(), BIAS::ThreeDOut::AddPMatrix(), BIAS::PMatrixEstimation::AutoCalib_(), BIAS::DPPanTiltControlExtended::CompensateHeliMovement(), BIAS::TrifocalTensorBase::Compose(), BIAS::FMatrixBase::Compose(), BIAS::PMatrixEstimation::ComputeFromFDirect(), BIAS::FMatrixEstimation::ComputeNormFParam(), BIAS::PMatrixEstimation::ComputeRotation(), BIAS::PMatrixEstimation::ComputeRotationCenter(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::EpipolarLine::DrawDistortedLine(), BIAS::CamPoseCalib::Estimate(), BIAS::RotationAveraging::GeodesicL1Mean(), BIAS::RotationAveraging::GeodesicL2Mean(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::Conic2D::GetLines(), BIAS::TrifocalTensor::GetPMatrix3(), BIAS::AbsoluteOrientation::GetResidualErrors(), BIAS::CamPoseCalib::GetRotation(), BIAS::EMatrix::GetRotationTranslation(), BIAS::CamPoseCalib::GuessInitialCam_(), BIAS::PMDImageProc::HFromMeta_(), BIAS::HomgPoint2DCov::Homogenize(), BIAS::EMatrix::InitFromF(), BIAS::FMatrixEstimation::Linear(), BIAS::glfMatrix::MakeViewMatrix(), BIAS::HMatrix::MapAcrossPlane(), BIAS::HomgPoint2DCov::Normalize(), BIAS::Vector3< T >::Normalize(), BIAS::FMatrixBase::Set(), BIAS::CamPoseCalib::SetInitialCamera(), BIAS::GenSynthMatchesRig::Setup_(), BIAS::FMatrixEstimation::SevenPoint(), BIAS::CamPoseCalib::SolveLM_(), BIAS::CamPoseCalib::TransformVec(), BIAS::ProjectionParametersPerspective::UnProjectCovLocal(), BIAS::Projection::UnProjectToRayLocal(), BIAS::ThreeDOut::UpdateEllipsoid(), BIAS::GLProjectionParametersBase::UpdateGLModelViewMatrix_(), and BIAS::CoordinateTransform3D::UpdateMatrix_().

template<class T>
void BIAS::Matrix3x3< T >::Transpose ( const Matrix3x3< T > &  arg)
inline

sets this as transposed arg, fw

Definition at line 410 of file Matrix3x3.hh.

References BIAS::Matrix3x3< T >::GetData().

template<class T>
void BIAS::Matrix3x3< T >::TransposedMult ( const Vector3< T > &  argvec,
Vector3< T > &  destvec 
) const
inline

multiplies matrix from left with transposed argvec, resulting in transposed destvec

Author
woelk 05/2003

Definition at line 323 of file Matrix3x3.hh.

Referenced by BIAS::Triangulation::CorrectCorrespondences(), BIAS::ProjectionParametersSphericalSimple::GlobalOrientation2Angles(), and BIAS::ProjectionParametersSphericalSimple::GlobalOrientation2Pixel().

template<class T >
void BIAS::Matrix3x3< T >::TransposeIP ( )
inline

tranpose this matrix "in place" example: 0 1 2 –> 0 3 6 3 4 5 –> 1 4 7 6 7 8 –> 2 5 8

Definition at line 385 of file Matrix3x3.hh.

Referenced by BIAS::PMatrixBase::Compose(), BIAS::PMatrix::GetIntersectionOfImagePlanes(), BIAS::EMatrix::GetRotationTranslation(), and BIAS::GenSynthMatchesRig::Setup_().

Friends And Related Function Documentation

template<class T >
Matrix3x3< T > operator* ( const Matrix3x3< T > &  mat,
const T &  arg 
)
related

Definition at line 479 of file Matrix3x3.hh.

template<class T >
Matrix3x3< T > operator* ( const T &  arg,
const Matrix3x3< T > &  mat 
)
related

Definition at line 484 of file Matrix3x3.hh.

template<class T >
Matrix2x3< T > operator* ( const Matrix2x3< T > &  mat,
const Matrix3x3< T > &  argmat 
)
related

untested

Definition at line 811 of file Operators.hh.

References BIAS::Matrix3x3< T >::GetData(), and BIAS::Matrix< T >::GetData().

template<class T >
Matrix3x3< T > operator* ( const Matrix3x3< T > &  argL,
const Matrix3x3< T > &  argR 
)
related

matrix-matrix multiplication using 'Mult'

Author
Jan Woetzel, tested (04/17/2002)

Definition at line 853 of file Operators.hh.

References BIAS::Matrix3x3< T >::Mult().

template<class T >
Matrix3x3< T > operator+ ( const Matrix3x3< T > &  left,
const Matrix3x3< T > &  right 
)
related
Author
woelk (c) www.vision-n.de

Definition at line 864 of file Operators.hh.

template<class T >
Matrix3x3< T > operator- ( const Matrix3x3< T > &  left,
const Matrix3x3< T > &  right 
)
related
Author
woelk (c) www.vision-n.de

Definition at line 870 of file Operators.hh.

template<class T >
Matrix3x3< T > operator/ ( const Matrix3x3< T > &  mat,
const T &  arg 
)
related

Definition at line 474 of file Matrix3x3.hh.

Member Data Documentation

template<class T>
T BIAS::Matrix3x3< T >::Data_[9]
protected

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