BIAS::AffineTransf Class Reference
[Geometry and Transformations]

last line of an affine transformation in 3d space is always 0 0 0 1 and can therefor be droped from this class for this reason it is necessairy to overload certain operators and functions e.g. More...

#include <Base/Geometry/AffineTransf.hh>

Inheritance diagram for BIAS::AffineTransf:

Inheritance graph
[legend]
Collaboration diagram for BIAS::AffineTransf:

Collaboration graph
[legend]

List of all members.

Public Types

typedef const T * const_iterator
typedef const T & const_reference
typedef T element_type
typedef T * iterator
typedef T * pointer
typedef T & reference
typedef Subscript size_type
typedef T value_type

Public Member Functions

void AbsIP ()
 absolute values of all elements of the matrix (in place)
Matrix< double > Adjoint () const
 computes the adjoint matrix
 AffineTransf ()
void clear ()
 stl conform interface
Subscript dim (Subscript d) const
void GaussJordan ()
 use the Gauss Jordan Algrithm to transform the matrix to reduced row echelon form.
Vector3< double > GetC () const
Matrix< double > GetMax (Matrix< double > &m)
 returns an matrix the same size as the matrix n and m with the largest elements taken from n or m
Matrix< double > GetMin (Matrix< double > &m)
 returns an matrix the same size as the matrix n and m with the smallest elements taken from n or m
RMatrixBase GetR () const
bool IsIdentity (double eps=0.0) const
 Checks if the matrix a an identity.
bool IsZero (double eps=0.0) const
 Checks if the matrix is a null matrix.
void Kronecker (Matrix< double > const B, Matrix< double > &dest) const
 Kronecker-product with matrix, result in dest.
Subscript lbound () const
int LoadBan (const std::string &filename, const unsigned int &Time=0)
 Loads a PMatrix from .ban file given by AddCameraKey and Time index.
int LoadPARTXT (const std::string &filenameParTxt, const unsigned int &index, std::string &correspImgFilename, int &nTotal)
 Load a PMatrix from a _par.txt (S.
void Mult (const Matrix4x4< double > &argmat, Matrix3x4< double > &destmat) const
 matrix-matrix multiplication with Matrix4x4 storing the result in destmat
void Mult (const Vector4< double > &argvec, Vector3< double > &destvec) const
 matrix - vector multiplicate this matrix with Vector4, storing the result in destvec calculates: destvec = (this Matrix) * argvec
void Mult (Vector4< double > &argv, Vector4< double > &destv)
 args must be of type Vector4<double> because this should work not only for HomgPoint3D but also for HomPLane3D, .
Matrix< T > & newsize (Subscript M, Subscript N)
Matrix3x4newsize (int rows, int cols)
 just neccessary to avoid resizing of this 'fixed size' matrix because it is derived from the resizable Matrix Should be removed if Matrix3x4 becomes a base class.
Subscript num_cols () const
Subscript num_rows () const
const_reference operator() (Subscript i, Subscript j) const
reference operator() (Subscript i, Subscript j)
const_reference operator() (Subscript i) const
reference operator() (Subscript i)
HomgPoint3D operator* (HomgPoint3D &argv)
AffineTransfoperator= (const AffineTransf &arg)
const T * operator[] (Subscript i) const
T * operator[] (Subscript i)
std::ostream & Print (std::ostream &s, const bool intCastOutput=false, const bool binaryOutput=false, const bool forceFullPrecision=false) const
std::istream & Read (std::istream &s, const bool intCastInput=false, const bool binaryInput=false)
 JW.
void SetAsRotationMatrix (Matrix3x3< double > &R)
void SetIdentity ()
 set the elements of this matrix to the matrix 1 0 0 0 0 1 0 0 0 0 1 0 which is no strict identity (!)
Subscript size () const
void SwapRows (const int i, const int r)
 swaps two rows
Matrix< double > Transpose () const
 transpose function, storing data destination matrix
void Vec (Vector< double > &dest) const
 vec-operator returns the elements of the matrix columwise as vector
 ~AffineTransf ()
Arithmetic
void Add (const double &scalar, Matrix< double > &dest) const
 addition function, storing data destination matrix
void AddIP (const Matrix< double > &arg)
 Adds arg to this.
void AddIP (const double &scalar)
 in place addition function
void Divide (const double &scalar, Matrix< double > &dest) const
 division function, storing data destination matrix
void DivideElementwise (const Matrix< double > &arg)
 elementwise division function in place
void DivideIP (const double &scalar)
 in place division function
void GetSystemMatrix (Matrix< double > &dest) const
 compute square system matrix dest = A^T * A
void Mult (const Vector< double > &arg, Vector< double > &result) const
 matrix vector multiplication, result is not allocated
void Mult (const Matrix< double > &arg)
 in Place matrix multiplication this is equal to M = M * arg, but faster
void Mult (const Matrix< double > &arg, Matrix< double > &result) const
 matrix multiplication, result is not allocated
void Multiply (const double &scalar, Matrix< double > &dest) const
 multiplication function, storing data destination matrix
void MultiplyIP (const double &scalar)
 in place multiplication function
void MultLeft (const Vector< double > &arg, Vector< double > &result) const
 vector matrix multiplication result=arg*this.
void MultLeft (const Matrix< double > &arg)
 in Place matrix multiplication this is equal to M = arg*M, but faster
void Sub (const double &scalar, Matrix< double > &dest) const
 substraction function, storing data destination matrix
void SubIP (const double &scalar)
 in place subtraction function
void SubIP (const Matrix< double > &arg)
 Subtracts arg from this
this -= arg.
Input / Output
bool BinRead (const char *filename) const
 This method reads a matrix from a given file in binary format.
bool BinWrite (const char *filename) const
 This method writes a matrix to a given file in binary format.
bool Load (const std::string &filename)
 method to load directly from a given filename.
bool Save (const std::string &filename) const
 method to save directly to a given filename.
int WriteMatlab (std::ostream &ostr, const std::string &name) const
 Write the matrix in Matlab format to the given stream.
Get Functions
double DetSquare () const
void GetAbsMaxMin (double &max, double &min) const
 return biggest and smallest absolute values
Vector< double > GetCol (const int &col) const
 return a copy of column "col", zero based counting
unsigned int GetCols () const
const double * GetData () const
double * GetData ()
 get the pointer to the data array of the matrix (for faster direct memeory access)
double ** GetDataArray ()
const double ** GetDataArray () const
 returns zero based arry for data access
double ** GetDataArray1 () const
 returns 1 based array to data access
double * GetDataLast ()
const double * GetDataLast () const
 Get a pointer to the last data element Do not use this on unitilized matrices with <= on pointers because on an unitilized matrix GetData() will be NULL and last Element < (typically FFFFF8) We don't want an if here for performance reasons of the innerst loop.
double GetMax () const
 Returns the maximum value of the matrix elements.
void GetMaxMin (double &max, double &min) const
 return biggest and smallest entry
double GetMean () const
 Returns the mean value of the matrix elements.
double GetMin () const
 Returns the minimum value of the matrix elements.
int GetNumElements () const
 Returns the total number of elements.
Vector< double > GetRow (const int &row) const
 return a copy of row "row" of this matrix, zero based counting
unsigned int GetRows () const
double NormFrobenius () const
 Return Frobenius norm = sqrt(trace(A^t * A)).
double NormL1 () const
 Return the L1 norm: |a| + |b| + |c| + .
double NormL2 () const
 Return the L2 norm: a^2 + b^2 + c^2 + .
void Set (const int row, const int col, const Vector< double > &data)
 Copies the contents of data into this at the position indicated by row and col.
void Set (const int row, const int col, const Matrix< double > &data)
 Copies the contents of data into this at the position indicated by row and col.
void SetCol (const int row, const Vector< double > &data)
 set a col of matrix from vector
void SetRow (const int row, const Vector< double > &data)
 set a row of matrix from vector
void SetTranspose (const int row, const int col, const Vector< double > &data)
 Copies the contents of data into this at the position indicated by row and col.
double Trace () const
Set Functions
void Fill (const double &scalar)
 Takes the elements of a Vector and put them as diagonal elements into a matrix.
void MakeSymmetric ()
 componentwise: this = 0.5(this + this^T) yields symmetric matrix only allowed for square shaped matrices
void SetZero ()
 Sets all values to zero.
Scaling and Normalization
double Normalize ()
 Normalizes the matrix by the entry with the biggest absolute value by dividing all elements with this one.
void NormalizeCols ()
 Normalizes each coloumn to L_2 norm one.
void NormalizeColsToOne (const int norm_row_index)
 divides each column of the matrix through the element norm_row_index.
void NormalizeRows ()
 Normalizes each row to L2 norm one.
void NormalizeRowsToOne (const int norm_col_index)
 divides each row of the matrix through the element norm_col_index.
void ScaleCol (int NoCol, doublescale)
 Scales column NoCol with scale.
void ScaleRow (int NoRow, doublescale)
 Scales row NoRow with scale.

Protected Member Functions

void copy (const T *v)
void destroy ()
void initialize (Subscript M, Subscript N)
void set (const T &val)

Protected Attributes

Vector3< double > C_
Subscript m_
Subscript mn_
Subscript n_
RMatrixBase R_
T ** row_
T ** rowm1_
T * v_
T * vm1_

Related Functions

(Note that these are not member functions.)

template<class T>
Vector< T > operator* (const Matrix< T > &A, const Vector< T > &x)
template<class T>
Matrix< T > operator* (const Matrix< T > &A, const Matrix< T > &B)
template<class T>
Matrix< T > operator+ (const Matrix< T > &A, const Matrix< T > &B)
template<class T>
Matrix< T > operator- (const Matrix< T > &A, const Matrix< T > &B)
template<class T>
std::ostream & operator<< (std::ostream &s, const Matrix< T > &A)
std::ostream & operator<< (std::ostream &s, const Matrix< unsigned char > &A)
std::ostream & operator<< (std::ostream &s, const Matrix< char > &A)
template<class T>
std::istream & operator>> (std::istream &s, Matrix< T > &A)
std::istream & operator>> (std::istream &s, Matrix< char > &A)
std::istream & operator>> (std::istream &s, Matrix< unsigned char > &A)


Detailed Description

last line of an affine transformation in 3d space is always 0 0 0 1 and can therefor be droped from this class for this reason it is necessairy to overload certain operators and functions e.g.

*, Mult, ...

Definition at line 43 of file AffineTransf.hh.


Member Typedef Documentation

template<class T>
typedef const T* TNT::Matrix< T >::const_iterator [inherited]

Definition at line 77 of file cmat.h.

template<class T>
typedef const T& TNT::Matrix< T >::const_reference [inherited]

Definition at line 78 of file cmat.h.

template<class T>
typedef T TNT::Matrix< T >::element_type [inherited]

Definition at line 73 of file cmat.h.

template<class T>
typedef T* TNT::Matrix< T >::iterator [inherited]

Definition at line 75 of file cmat.h.

template<class T>
typedef T* TNT::Matrix< T >::pointer [inherited]

Definition at line 74 of file cmat.h.

template<class T>
typedef T& TNT::Matrix< T >::reference [inherited]

Definition at line 76 of file cmat.h.

template<class T>
typedef Subscript TNT::Matrix< T >::size_type [inherited]

Definition at line 71 of file cmat.h.

template<class T>
typedef T TNT::Matrix< T >::value_type [inherited]

Definition at line 72 of file cmat.h.


Constructor & Destructor Documentation

AffineTransf::AffineTransf (  ) 

Definition at line 31 of file AffineTransf.cpp.

AffineTransf::~AffineTransf (  ) 

Definition at line 35 of file AffineTransf.cpp.


Member Function Documentation

void BIAS::Matrix< double >::AbsIP (  )  [inherited]

absolute values of all elements of the matrix (in place)

Author:
bangerer 01/2009

void BIAS::Matrix< double >::Add ( const double &  scalar,
Matrix< double > &  dest 
) const [inline, inherited]

addition function, storing data destination matrix

implementation

Author:
Ingo Thomsen tested

void BIAS::Matrix< double >::AddIP ( const Matrix< double > &  arg  )  [inline, inherited]

Adds arg to this.

Author:
grest,2004

void BIAS::Matrix< double >::AddIP ( const double &  scalar  )  [inline, inherited]

in place addition function

Author:
Ingo Thomsen tested

Definition at line 356 of file Matrix.hh.

Matrix<double > BIAS::Matrix< double >::Adjoint (  )  const [inline, inherited]

computes the adjoint matrix

Author:
Christian Beder

bool BIAS::Matrix< double >::BinRead ( const char *  filename  )  const [inherited]

This method reads a matrix from a given file in binary format.

The file is not human read-/editable but provides full precision. A dimension check is performed.

Returns:
true on success
Author:
mdunda 04 2004

bool BIAS::Matrix< double >::BinWrite ( const char *  filename  )  const [inherited]

This method writes a matrix to a given file in binary format.

The file is not human read-/editable but provides full precision.

Returns:
true on success
Author:
mdunda 04 2004

void BIAS::Matrix3x4< double >::clear (  )  [inline, virtual, inherited]

stl conform interface

Reimplemented from BIAS::Matrix< double >.

Definition at line 160 of file Matrix3x4.hh.

template<class T>
void TNT::Matrix< T >::copy ( const T *  v  )  [inline, protected, inherited]

Definition at line 121 of file cmat.h.

Referenced by TNT::Matrix< EP_TYPE >::Matrix(), and TNT::Matrix< EP_TYPE >::operator=().

template<class T>
void TNT::Matrix< T >::destroy (  )  [inline, protected, inherited]

double BIAS::Matrix< double >::DetSquare (  )  const [inline, inherited]

Author:
koeser
Warning:
very slow, generic implementation (order "n!"), better to use matrix decomposition (see BIAS/MathAlgo/Lapack.hh)

Definition at line 310 of file Matrix.hh.

template<class T>
Subscript TNT::Matrix< T >::dim ( Subscript  d  )  const [inline, inherited]

Definition at line 309 of file cmat.h.

void BIAS::Matrix< double >::Divide ( const double &  scalar,
Matrix< double > &  dest 
) const [inline, inherited]

division function, storing data destination matrix

Author:
Ingo Thomsen tested

void BIAS::Matrix< double >::DivideElementwise ( const Matrix< double > &  arg  )  [inline, inherited]

elementwise division function in place

Author:
Ingo Schiller tested

void BIAS::Matrix< double >::DivideIP ( const double &  scalar  )  [inline, inherited]

in place division function

Author:
Ingo Thomsen tested

Definition at line 422 of file Matrix.hh.

void BIAS::Matrix< double >::Fill ( const double &  scalar  )  [inherited]

Takes the elements of a Vector and put them as diagonal elements into a matrix.

The size of this Vector must be exactly min( matrix.width, matrix.height). Optionally all other elements may be set to zero

Author:
Ingo Thomsen
Parameters:
zero_others Must be true, if all non-diagonal elements shall be set to zero

void BIAS::Matrix< double >::GaussJordan (  )  [inherited]

use the Gauss Jordan Algrithm to transform the matrix to reduced row echelon form.

Author:
woelk 05/2008 www.vision-n.de

void BIAS::Matrix< double >::GetAbsMaxMin ( double &  max,
double &  min 
) const [inherited]

return biggest and smallest absolute values

Vector3<double> BIAS::AffineTransf::GetC (  )  const [inline]

Definition at line 53 of file AffineTransf.hh.

Referenced by operator=().

Vector<double > BIAS::Matrix< double >::GetCol ( const int &  col  )  const [inherited]

return a copy of column "col", zero based counting

Author:
Jan Woetzel

unsigned int BIAS::Matrix< double >::GetCols (  )  const [inline, inherited]

Definition at line 203 of file Matrix.hh.

const double * BIAS::Matrix< double >::GetData (  )  const [inline, inherited]

Definition at line 187 of file Matrix.hh.

double * BIAS::Matrix< double >::GetData (  )  [inline, inherited]

get the pointer to the data array of the matrix (for faster direct memeory access)

the order of the data is linewise, which means an elemnt sequence of e.g. [0] = M(0,0) [1] = M(0,1) [2] = M(0,2) [3] = M(1,0) // next line [4] = M(1,1) ...

Author:
Jan Woetzel
Returns:
a pointer to the data array (beginning with GetData[0]) alpha (02/27/2002) -added const (jw) 03/12/2002

Definition at line 184 of file Matrix.hh.

Referenced by BIAS::EuclideanTransf3D::Set().

double ** BIAS::Matrix< double >::GetDataArray (  )  [inline, inherited]

Definition at line 194 of file Matrix.hh.

const double ** BIAS::Matrix< double >::GetDataArray (  )  const [inline, inherited]

returns zero based arry for data access

Definition at line 191 of file Matrix.hh.

double ** BIAS::Matrix< double >::GetDataArray1 (  )  const [inline, inherited]

returns 1 based array to data access

Definition at line 198 of file Matrix.hh.

double * BIAS::Matrix< double >::GetDataLast (  )  [inline, inherited]

Definition at line 218 of file Matrix.hh.

const double * BIAS::Matrix< double >::GetDataLast (  )  const [inline, inherited]

Get a pointer to the last data element Do not use this on unitilized matrices with <= on pointers because on an unitilized matrix GetData() will be NULL and last Element < (typically FFFFF8) We don't want an if here for performance reasons of the innerst loop.

Author:
Ingo Thomsen, Jan Woetzel
Date:
04/11/2002

Definition at line 212 of file Matrix.hh.

double BIAS::Matrix< double >::GetMax (  )  const [inherited]

Returns the maximum value of the matrix elements.

Author:
Ingo Thomsen
Date:
04/11/2002 tested

Matrix<double > BIAS::Matrix< double >::GetMax ( Matrix< double > &  m  )  [inherited]

returns an matrix the same size as the matrix n and m with the largest elements taken from n or m

Author:
bangerer 01/2009

void BIAS::Matrix< double >::GetMaxMin ( double &  max,
double &  min 
) const [inherited]

return biggest and smallest entry

double BIAS::Matrix< double >::GetMean (  )  const [inherited]

Returns the mean value of the matrix elements.

Author:
Ingo Thomsen
Date:
04/11/2002 tested

double BIAS::Matrix< double >::GetMin (  )  const [inherited]

Returns the minimum value of the matrix elements.

Author:
Ingo Thomsen
Date:
04/11/2002 tested

Matrix<double > BIAS::Matrix< double >::GetMin ( Matrix< double > &  m  )  [inherited]

returns an matrix the same size as the matrix n and m with the smallest elements taken from n or m

Author:
bangerer 01/2009

int BIAS::Matrix< double >::GetNumElements (  )  const [inline, inherited]

Returns the total number of elements.

Author:
Ingo Thomsen
Date:
04/11/2002 tested

Definition at line 262 of file Matrix.hh.

RMatrixBase BIAS::AffineTransf::GetR (  )  const [inline]

Definition at line 50 of file AffineTransf.hh.

Referenced by operator=().

Vector<double > BIAS::Matrix< double >::GetRow ( const int &  row  )  const [inherited]

return a copy of row "row" of this matrix, zero based counting

Author:
Jan Woetzel

unsigned int BIAS::Matrix< double >::GetRows (  )  const [inline, inherited]

Definition at line 201 of file Matrix.hh.

void BIAS::Matrix< double >::GetSystemMatrix ( Matrix< double > &  dest  )  const [inline, inherited]

compute square system matrix dest = A^T * A

Parameters:
dest holds result of this->Transpose * this
If you want to solve A * x = b, where A has more rows than columns, a common technique is to solve x = (A^T * A)^-1 * A^T * b. This function provides a fast way to compute A^T*A from A.
Author:
grest/koeser

template<class T>
void TNT::Matrix< T >::initialize ( Subscript  M,
Subscript  N 
) [inline, protected, inherited]

bool BIAS::Matrix< double >::IsIdentity ( double  eps = 0.0  )  const [inherited]

Checks if the matrix a an identity.

I.e. all elements with index i==j are equal 1 and all others are zero.

Author:
mdunda 12 2003
Returns:
true if matrix is identity

bool BIAS::Matrix< double >::IsZero ( double  eps = 0.0  )  const [inherited]

Checks if the matrix is a null matrix.

Author:
mdunda 12 2003
Returns:
true if all elements are zero

void BIAS::Matrix< double >::Kronecker ( Matrix< double > const   B,
Matrix< double > &  dest 
) const [inherited]

Kronecker-product with matrix, result in dest.

Kronecker-product with matrix B, result in dest.

template<class T>
Subscript TNT::Matrix< T >::lbound (  )  const [inline, inherited]

Definition at line 80 of file cmat.h.

bool BIAS::Matrix< double >::Load ( const std::string &  filename  )  [inherited]

method to load directly from a given filename.

internally using stream operator

Author:
Jan Woetzel 05/2003
Returns:
false in case of error, true in case of success

int BIAS::Matrix3x4< double >::LoadBan ( const std::string &  filename,
const unsigned int &  Time = 0 
) [inherited]

Loads a PMatrix from .ban file given by AddCameraKey and Time index.

Returns:
0 in case of success and negative nr. in case of error.
Author:
Jan Woetzel

int BIAS::Matrix3x4< double >::LoadPARTXT ( const std::string &  filenameParTxt,
const unsigned int &  index,
std::string &  correspImgFilename,
int &  nTotal 
) [inherited]

Load a PMatrix from a _par.txt (S.

Seitz' format)

Useful to load camera parameters of S. Seitz' sequences, e.g. temple Ring "templeR_par.txt". The file format is: There is one line for each image. The format for each line is: "imgname.png k11 k12 k13 k21 k22 k23 k31 k32 k33 r11 r12 r13 r21 r22 r23 r31 r32 r33 t1 t2 t3" The Seitz' projection matrix representation is given by K*[R t] in contrast to BIAS::PMatrix semantics. However, we convert into our 3x4 PMatrix representation on Load internally.

Parameters:
filenameParTxt input xxx_par.txt file in Steven Seitz' format with linewise camparams
index desired image nr.
correspImgFilename corresponding "original" image filename
nTotal total number of cameras for that sequence, given at beginning of file.
Author:
Jan Woetzel, Marc Grauel

void BIAS::Matrix< double >::MakeSymmetric (  )  [inline, inherited]

componentwise: this = 0.5(this + this^T) yields symmetric matrix only allowed for square shaped matrices

Author:
koeser 01/2007

Definition at line 458 of file Matrix.hh.

void BIAS::Matrix< double >::Mult ( const Vector< double > &  arg,
Vector< double > &  result 
) const [inline, inherited]

matrix vector multiplication, result is not allocated

Author:
Felix Woelk

void BIAS::Matrix< double >::Mult ( const Matrix< double > &  arg  )  [inline, inherited]

in Place matrix multiplication this is equal to M = M * arg, but faster

Author:
Daniel Grest

void BIAS::Matrix< double >::Mult ( const Matrix< double > &  arg,
Matrix< double > &  result 
) const [inline, inherited]

matrix multiplication, result is not allocated

Author:
Felix Woelk

void BIAS::Matrix3x4< double >::Mult ( const Matrix4x4< double > &  argmat,
Matrix3x4< double > &  destmat 
) const [inline, inherited]

matrix-matrix multiplication with Matrix4x4 storing the result in destmat

Definition at line 167 of file Matrix3x4.hh.

void BIAS::Matrix3x4< double >::Mult ( const Vector4< double > &  argvec,
Vector3< double > &  destvec 
) const [inline, inherited]

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

Author:
Jan Woetzel untested (04/17/2002)

void AffineTransf::Mult ( Vector4< double > &  argv,
Vector4< double > &  destv 
)

args must be of type Vector4<double> because this should work not only for HomgPoint3D but also for HomPLane3D, .

..

Definition at line 46 of file AffineTransf.cpp.

References TNT::Matrix< T >::v_.

Referenced by BIAS::PMatrix::GetIntersectionOfImagePlanes(), and operator*().

void BIAS::Matrix< double >::Multiply ( const double &  scalar,
Matrix< double > &  dest 
) const [inline, inherited]

multiplication function, storing data destination matrix

Author:
Ingo Thomsen tested
Examples:
ExampleSparseMatrix.cpp.

void BIAS::Matrix< double >::MultiplyIP ( const double &  scalar  )  [inline, inherited]

in place multiplication function

Author:
Ingo Thomsen tested

Definition at line 389 of file Matrix.hh.

void BIAS::Matrix< double >::MultLeft ( const Vector< double > &  arg,
Vector< double > &  result 
) const [inline, inherited]

vector matrix multiplication result=arg*this.

Author:
Marcel Lilienthal

void BIAS::Matrix< double >::MultLeft ( const Matrix< double > &  arg  )  [inline, inherited]

in Place matrix multiplication this is equal to M = arg*M, but faster

Author:
Daniel Grest

template<class T>
Matrix<T>& TNT::Matrix< T >::newsize ( Subscript  M,
Subscript  N 
) [inline, inherited]

Definition at line 268 of file cmat.h.

Referenced by BIAS::Matrix< T >::Add(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::TrackerBaseWeighted1D< StorageType >::CalcGaussianWeightMatrix_(), BIAS::TrackerBaseWeighted< StorageType >::CalcGaussianWeightMatrix_(), BIAS::ContourBSplineData::ComputeAreaCoefficientMatrix_(), BIAS::ComputeCovariance(), BIAS::ContourBSplineShapeMatrix::ComputeRegularisationMatrix(), BIAS::ContourBSplineData::ComputeSplineMetricMatrix_(), BIAS::ContourBSplineData::ComputeSplineMetricMatrixParametric_(), BIAS::Matrix< T >::Conv(), BIAS::FilterMask::CreateFloatFilter(), BIAS::FilterMask::CreateIntFilter(), BIAS::CamPoseCalib::CreateSecDMatrix_(), BIAS::Matrix< T >::Divide(), Eigenproblem_quadratic_matrix(), BIAS::CamPoseCalib::Estimate(), BIAS::TrackerBaseInterface< StorageType >::EvaluateResult_(), BIAS::TrackerBaseAffine2< StorageType >::EvaluateResult_(), BIAS::TrackerBaseAffine< StorageType >::EvaluateResult_(), BIAS::TrackerBaseInterface< StorageType >::Filter_ByMask(), BIAS::TrackerBaseInterface< StorageType >::Filter_BySeparableMask(), BIAS::TrackerBaseInterface< StorageType >::Filter_GradXSobel3x3(), BIAS::TrackerBaseInterface< StorageType >::Filter_GradYSobel3x3(), BIAS::TrackerBaseInterface< StorageType >::FilterLowpass_Binomial3x3(), BIAS::TrackerBaseInterface< StorageType >::FilterLowpass_ByMask(), BIAS::TrackerBaseInterface< StorageType >::FilterLowpass_BySeparableMask(), Fortran_Matrix_to_Matrix(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), BIAS::SparseMatrix::GetAsDense(), BIAS::Random::GetMeanAndCovariance(), BIAS::PMatrixLinear::GetPEstSystemHom(), BIAS::PMatrixLinear::GetPEstSystemInHom(), BIAS::Matrix< T >::GetSystemMatrix(), BIAS::Kalman::Init(), BIAS::LeastSquaresBase::Init(), BIAS::Interpolator::Interpolator(), BIAS::SparseMatrix::Invert(), BIAS::SparseMatrix::InvertAndSolve(), BIAS::Matrix< T >::Kronecker(), Lapack_Cholesky_SymmetricPositiveDefinit(), BIAS::RegionMatcher::LinearRegionX(), BIAS::Matrix< T >::Mult(), BIAS::Matrix< T >::Multiply(), BIAS::RegionMatcher::NCC(), BIAS::TextureTransformRotation::ParameterInversionJacobian(), BIAS::TextureTransformHomography::ParameterInversionJacobian(), BIAS::TextureTransformEuclidian::ParameterInversionJacobian(), BIAS::TextureTransformDisplacement::ParameterInversionJacobian(), BIAS::TextureTransformDisparity::ParameterInversionJacobian(), BIAS::TextureTransformAffine::ParameterInversionJacobian(), BIAS::TextureTransformSimilar::ParameterJacobianBackward(), BIAS::TextureTransformRotation::ParameterJacobianBackward(), BIAS::TextureTransformHomography::ParameterJacobianBackward(), BIAS::TextureTransformEuclidian::ParameterJacobianBackward(), BIAS::TextureTransformDisplacement::ParameterJacobianBackward(), BIAS::TextureTransformDisparity::ParameterJacobianBackward(), BIAS::TextureTransformAffine::ParameterJacobianBackward(), BIAS::TextureTransform::ParameterJacobianBackward(), BIAS::TextureTransformSimilar::ParameterJacobianForward(), BIAS::TextureTransformRotation::ParameterJacobianForward(), BIAS::TextureTransformHomography::ParameterJacobianForward(), BIAS::TextureTransformEuclidian::ParameterJacobianForward(), BIAS::TextureTransformDisplacement::ParameterJacobianForward(), BIAS::TextureTransformDisparity::ParameterJacobianForward(), BIAS::TextureTransformAffine::ParameterJacobianForward(), BIAS::TextureTransform::ParameterJacobianForward(), BIAS::Pose::Pose(), BIAS::UnVignette::PrepareLeastSquaresMin_(), BIAS::Covariance3Dto2DHomg::Project(), BIAS::Covariance3Dto2D::Project(), TNT::Matrix< T >::Read(), BIAS::PlaneRANSAC::RefineSolution(), BIAS::RegionMatcher::RegionMatcher(), BIAS::FilterMask::ResetFloatFilter(), BIAS::FilterMask::ResetIntFilter(), BIAS::TrackerBaseInterface< StorageType >::Resize_(), BIAS::ContourBSplineShapeMatrix::SetShapeSpaceEuclidian(), BIAS::ContourBSplineShapeMatrix::SetShapeSpaceIdentity(), BIAS::ContourBSplineShapeMatrix::SetShapeSpaceMatrix(), BIAS::ContourBSplineShapeMatrix::SetShapeSpacePlanarAffin(), BIAS::ContourBSplineShapeMatrix::SetSubShapeSpaceZero(), BIAS::Matrix< T >::Sub(), BIAS::SVD3x3::SVD3x3(), BIAS::TrackerBaseAffine< StorageType >::TrackAffine_(), BIAS::TrackerBaseAffine2< StorageType >::TrackerBaseAffine2(), BIAS::UnscentedTransform::Transform(), BIAS::MonteCarloTransform::Transform(), BIAS::Tracker< StorageType, CalculationType >::Vector2FilterMask_(), and BIAS::LeastSquaresLapack::WeightedSolve().

Matrix3x4& BIAS::Matrix3x4< double >::newsize ( int  rows,
int  cols 
) [inherited]

just neccessary to avoid resizing of this 'fixed size' matrix because it is derived from the resizable Matrix Should be removed if Matrix3x4 becomes a base class.

(04/17/2002)

Author:
Jan Woetzel

double BIAS::Matrix< double >::Normalize (  )  [inherited]

Normalizes the matrix by the entry with the biggest absolute value by dividing all elements with this one.

Returns:
value of the element the matrix is normalized with
Author:
mdunda 09 2003

void BIAS::Matrix< double >::NormalizeCols (  )  [inherited]

Normalizes each coloumn to L_2 norm one.

Attention each column is normaized by its own scale!

void BIAS::Matrix< double >::NormalizeColsToOne ( const int  norm_row_index  )  [inherited]

divides each column of the matrix through the element norm_row_index.

index runs [0..num_rows-1] for example: 2 3 4 5 normalized with row '1' will be 2/4 3/5 1 1

void BIAS::Matrix< double >::NormalizeRows (  )  [inherited]

Normalizes each row to L2 norm one.

Attention each row is normaized by its own scale!

void BIAS::Matrix< double >::NormalizeRowsToOne ( const int  norm_col_index  )  [inherited]

divides each row of the matrix through the element norm_col_index.

index runs [0..num_cols-1] for example: 2 3 4 5 normalized with row '1' will be 2/3 1 4/5 1

double BIAS::Matrix< double >::NormFrobenius (  )  const [inline, inherited]

Return Frobenius norm = sqrt(trace(A^t * A)).

this method is deprecated because it is equivalent to NormL2

This function is deprecated, because it is equivalent to NormL2.

Author:
koeser 02/2004

double BIAS::Matrix< double >::NormL1 (  )  const [inline, inherited]

Return the L1 norm: |a| + |b| + |c| + .

..

Author:
Ingo Thomsen
Date:
04/11/2002 untested

double BIAS::Matrix< double >::NormL2 (  )  const [inline, inherited]

Return the L2 norm: a^2 + b^2 + c^2 + .

..

Author:
woelk 07/2004

template<class T>
Subscript TNT::Matrix< T >::num_cols (  )  const [inline, inherited]

Definition at line 319 of file cmat.h.

Referenced by BIAS::Matrix< T >::AbsIP(), BIAS::SVD::AbsLeftNullspaceDim(), BIAS::SVD::AbsNullspaceDim(), BIAS::Matrix< T >::Add(), BIAS::Matrix< T >::AddIP(), BIAS::Matrix< T >::Adjoint(), BIAS::ImageAlignment::Align(), BIAS::CamPoseCalib::ApplyCoVariances_(), BIAS::ImageAlignment::AutoAlign(), BIAS::SVD3x3::Compute(), BIAS::TrackerBaseAffine< StorageType >::ComputeIntensityDifferenceAffine_(), BIAS::GaussHelmert::ComputeNormalSystem_(), BIAS::ContourBSplineShapeMatrix::ComputeRegularisationMatrix(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Matrix< T >::Conv(), BIAS::FilterMask::CreateFloatFilter(), BIAS::FilterMask::CreateIntFilter(), BIAS::Matrix< T >::Divide(), BIAS::Matrix< T >::DivideElementwise(), Eigenproblem_quadratic_matrix(), Eigenvalue_solve(), BIAS::CamPoseCalib::Estimate(), BIAS::ContourDetectorBSpline< StorageType >::Fit_(), Fortran_Matrix_to_Matrix(), BIAS::Matrix< T >::GaussJordan(), BIAS::SVD::General_Eigenproblem_GeneralMatrix_Lapack(), General_singular_value_decomposition(), BIAS::Matrix< T >::GetCol(), BIAS::CamPoseCalib::GetCov(), BIAS::CamPoseCalib::GetCoVarMatrix(), BIAS::TrackerBaseAffine2< StorageType >::GetGradientWinAffine_(), BIAS::Matrix< T >::GetMax(), BIAS::Matrix< T >::GetMin(), BIAS::SVD::GetNullvector(), BIAS::Matrix< T >::GetRow(), BIAS::Matrix< T >::GetSystemMatrix(), BIAS::Kalman::Init(), BIAS::SVD::Invert(), BIAS::Matrix< T >::IsIdentity(), BIAS::Matrix< T >::IsZero(), BIAS::Matrix< T >::Kronecker(), Lapack_Cholesky_SymmetricPositiveDefinit(), Lapack_LLS_QR_linear_solve(), Lapack_LU_linear_solve(), Lapack_WLLS_solve(), BIAS::Matrix2x2< T >::Matrix2x2(), BIAS::Matrix3x3< T >::Matrix3x3(), BIAS::Matrix4x4< T >::Matrix4x4(), BIAS::Matrix< T >::Mult(), BIAS::Matrix< T >::Multiply(), BIAS::Matrix< T >::MultLeft(), TNT::Matrix< EP_TYPE >::newsize(), BIAS::Matrix< T >::Normalize(), BIAS::Matrix< T >::NormalizeCols(), BIAS::Matrix< T >::NormalizeColsToOne(), BIAS::TrackerBaseInterface< StorageType >::NormalizeRegion_(), BIAS::Matrix< T >::NormalizeRows(), BIAS::Matrix< T >::NormalizeRowsToOne(), BIAS::Vector4< T >::operator*(), BIAS::Vector3< T >::operator*(), BIAS::Vector< T >::operator*(), TNT::Matrix< T >::operator+(), TNT::Matrix< T >::operator-(), BIAS::Matrix4x4< T >::operator=(), BIAS::Matrix3x4< T >::operator=(), BIAS::PMatrix::PMatrix(), BIAS::PMatrixBase::PMatrixBase(), BIAS::CovTransformPose::PoseEulerZYXToQuat(), BIAS::CovTransformPose::PoseQuatToEulerZYX(), BIAS::Kalman::Predict(), BIAS::Covariance3Dto2DHomg::Project(), BIAS::SVD::Rank(), TNT::Matrix< T >::Read(), BIAS::SVD::RelLeftNullspaceDim(), BIAS::SVD::RelNullspaceDim(), BIAS::FilterMask::ResetFloatFilter(), BIAS::FilterMask::ResetIntFilter(), BIAS::RMatrix::RMatrix(), BIAS::RMatrixBase::RMatrixBase(), BIAS::Matrix< T >::ScaleRow(), BIAS::Matrix< T >::Set(), BIAS::Matrix< T >::SetCol(), BIAS::RParametrization::SetCovarianceMatrix(), BIAS::PoseParametrization::SetCovarianceMatrix(), BIAS::EParametrization::SetCovarianceMatrix(), BIAS::LocalAffineFrame::SetFromMatrix(), BIAS::Matrix< T >::SetIdentity(), BIAS::Matrix< T >::SetRow(), BIAS::ContourBSplineShapeMatrix::SetShapeSpaceMatrix(), BIAS::ContourBSplineShapeMatrix::SetSubShapeSpaceZero(), BIAS::Matrix< T >::SetTranspose(), BIAS::SVD::Solve(), BIAS::LeastSquaresSVD::Solve(), BIAS::GaussHelmert::Solve(), BIAS::CamPoseCalib::SolveLM_(), BIAS::SVD::Sqrt(), BIAS::SVD::SqrtT(), BIAS::ImageAlignment::StrictPyramidAlign(), BIAS::Matrix< T >::Sub(), BIAS::Matrix< T >::SubIP(), BIAS::Matrix< T >::SwapRows(), BIAS::SymmetricMatrix3x3< T >::SymmetricMatrix3x3(), BIAS::Matrix< T >::Trace(), BIAS::TrackerBaseAffine< StorageType >::TrackAffine_(), BIAS::UnscentedTransform::Transform(), BIAS::MonteCarloTransform::Transform(), BIAS::CovTransformPose::TransformPoint3D(), BIAS::CovTransformPose::TransformPose(), BIAS::Matrix< T >::Transpose(), BIAS::Kalman::Update(), Upper_symmetric_eigenvalue_solve(), BIAS::Matrix< T >::Vec(), and BIAS::Matrix< T >::WriteMatlab().

template<class T>
Subscript TNT::Matrix< T >::num_rows (  )  const [inline, inherited]

Definition at line 318 of file cmat.h.

Referenced by BIAS::Matrix< T >::AbsIP(), BIAS::SVD::AbsLeftNullspaceDim(), BIAS::SVD::AbsNullspaceDim(), BIAS::Matrix< T >::Add(), BIAS::Matrix< T >::AddIP(), BIAS::Matrix< T >::Adjoint(), BIAS::ImageAlignment::Align(), BIAS::ImageAlignment::AutoAlign(), BIAS::SVD3x3::Compute(), BIAS::ImageBlender::ComputeCylCamGeometry(), BIAS::TrackerBaseAffine< StorageType >::ComputeIntensityDifferenceAffine_(), BIAS::ContourBSplineShapeMatrix::ComputeRegularisationMatrix(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Matrix< T >::Conv(), BIAS::FilterMask::CreateFloatFilter(), BIAS::FilterMask::CreateIntFilter(), BIAS::Matrix< T >::Divide(), BIAS::Matrix< T >::DivideElementwise(), Eigenproblem_quadratic_matrix(), Eigenvalue_solve(), BIAS::CamPoseCalib::Estimate(), Fortran_Matrix_to_Matrix(), BIAS::Matrix< T >::GaussJordan(), BIAS::SVD::General_Eigenproblem_GeneralMatrix_Lapack(), General_singular_value_decomposition(), BIAS::Matrix< T >::GetCol(), BIAS::CamPoseCalib::GetCov(), BIAS::CamPoseCalib::GetCoVarMatrix(), BIAS::TrackerBaseAffine2< StorageType >::GetGradientWinAffine_(), BIAS::SVD::GetLeftNullvector(), BIAS::Matrix< T >::GetMax(), BIAS::Matrix< T >::GetMin(), BIAS::Matrix< T >::GetRow(), BIAS::Matrix< T >::GetSystemMatrix(), BIAS::Kalman::Init(), BIAS::SVD::Invert(), BIAS::Matrix< T >::IsIdentity(), BIAS::Matrix< T >::IsZero(), BIAS::Matrix< T >::Kronecker(), Lapack_Cholesky_SymmetricPositiveDefinit(), Lapack_LLS_QR_linear_solve(), Lapack_LU_linear_solve(), Lapack_WLLS_solve(), BIAS::Matrix2x2< T >::Matrix2x2(), BIAS::Matrix3x3< T >::Matrix3x3(), BIAS::Matrix4x4< T >::Matrix4x4(), BIAS::Matrix< T >::Mult(), BIAS::Matrix< T >::Multiply(), BIAS::Matrix< T >::MultLeft(), TNT::Matrix< EP_TYPE >::newsize(), BIAS::Matrix< T >::Normalize(), BIAS::Matrix< T >::NormalizeCols(), BIAS::Matrix< T >::NormalizeColsToOne(), BIAS::TrackerBaseInterface< StorageType >::NormalizeRegion_(), BIAS::Matrix< T >::NormalizeRows(), BIAS::Matrix< T >::NormalizeRowsToOne(), BIAS::Vector4< T >::operator*(), BIAS::Vector3< T >::operator*(), BIAS::Vector< T >::operator*(), TNT::Matrix< T >::operator+(), TNT::Matrix< T >::operator-(), BIAS::Matrix4x4< T >::operator=(), BIAS::Matrix3x4< T >::operator=(), BIAS::PMatrix::PMatrix(), BIAS::PMatrixBase::PMatrixBase(), BIAS::CovTransformPose::PoseEulerZYXToQuat(), BIAS::CovTransformPose::PoseQuatToEulerZYX(), BIAS::Kalman::Predict(), BIAS::SVD::Rank(), TNT::Matrix< T >::Read(), BIAS::SVD::RelLeftNullspaceDim(), BIAS::SVD::RelNullspaceDim(), BIAS::FilterMask::ResetFloatFilter(), BIAS::FilterMask::ResetIntFilter(), BIAS::RMatrix::RMatrix(), BIAS::RMatrixBase::RMatrixBase(), BIAS::Matrix< T >::ScaleCol(), BIAS::Matrix< T >::Set(), BIAS::Matrix< T >::SetCol(), BIAS::RParametrization::SetCovarianceMatrix(), BIAS::PoseParametrization::SetCovarianceMatrix(), BIAS::EParametrization::SetCovarianceMatrix(), BIAS::LocalAffineFrame::SetFromMatrix(), BIAS::Matrix< T >::SetIdentity(), BIAS::Matrix< T >::SetRow(), BIAS::ContourBSplineShapeMatrix::SetShapeSpaceMatrix(), BIAS::ContourBSplineShapeMatrix::SetSubShapeSpaceZero(), BIAS::Matrix< T >::SetTranspose(), BIAS::SVD::Solve(), BIAS::LeastSquaresSVD::Solve(), BIAS::GaussHelmert::Solve(), BIAS::CamPoseCalib::SolveLM_(), BIAS::SVD::Sqrt(), BIAS::SVD::SqrtT(), SquaredMahalanobisDistance(), BIAS::ImageAlignment::StrictPyramidAlign(), BIAS::Matrix< T >::Sub(), BIAS::Matrix< T >::SubIP(), BIAS::SymmetricMatrix3x3< T >::SymmetricMatrix3x3(), BIAS::Matrix< T >::Trace(), BIAS::TrackerBaseAffine2< StorageType >::TrackAffine_(), BIAS::UnscentedTransform::Transform(), BIAS::MonteCarloTransform::Transform(), BIAS::CovTransformPose::TransformPoint3D(), BIAS::CovTransformPose::TransformPose(), BIAS::Matrix< T >::Transpose(), BIAS::Kalman::Update(), Upper_symmetric_eigenvalue_solve(), BIAS::Matrix< T >::Vec(), BIAS::LeastSquaresLapack::WeightedSolve(), and BIAS::Matrix< T >::WriteMatlab().

template<class T>
const_reference TNT::Matrix< T >::operator() ( Subscript  i,
Subscript  j 
) const [inline, inherited]

Definition at line 375 of file cmat.h.

template<class T>
reference TNT::Matrix< T >::operator() ( Subscript  i,
Subscript  j 
) [inline, inherited]

Definition at line 362 of file cmat.h.

template<class T>
const_reference TNT::Matrix< T >::operator() ( Subscript  i  )  const [inline, inherited]

Definition at line 351 of file cmat.h.

template<class T>
reference TNT::Matrix< T >::operator() ( Subscript  i  )  [inline, inherited]

Definition at line 342 of file cmat.h.

HomgPoint3D AffineTransf::operator* ( HomgPoint3D argv  ) 

Definition at line 38 of file AffineTransf.cpp.

References Mult().

AffineTransf & AffineTransf::operator= ( const AffineTransf arg  ) 

Definition at line 68 of file AffineTransf.cpp.

References C_, GetC(), BIAS::Matrix< T >::GetData(), GetR(), R_, and TNT::Matrix< T >::v_.

template<class T>
const T* TNT::Matrix< T >::operator[] ( Subscript  i  )  const [inline, inherited]

Definition at line 333 of file cmat.h.

template<class T>
T* TNT::Matrix< T >::operator[] ( Subscript  i  )  [inline, inherited]

Definition at line 324 of file cmat.h.

template<class T>
std::ostream& TNT::Matrix< T >::Print ( std::ostream &  s,
const bool  intCastOutput = false,
const bool  binaryOutput = false,
const bool  forceFullPrecision = false 
) const [inline, inherited]

Author:
Jan Woetzel
Examples:
ExampleSparseMatrix.cpp.

template<class T>
std::istream & TNT::Matrix< T >::Read ( std::istream &  s,
const bool  intCastInput = false,
const bool  binaryInput = false 
) [inline, inherited]

bool BIAS::Matrix< double >::Save ( const std::string &  filename  )  const [inherited]

method to save directly to a given filename.

internally using stream operator

Author:
Jan Woetzel 05/2003
Returns:
false in case of error, true in case of success

void BIAS::Matrix< double >::ScaleCol ( int  NoCol,
double   scale 
) [inherited]

Scales column NoCol with scale.

void BIAS::Matrix< double >::ScaleRow ( int  NoRow,
double   scale 
) [inherited]

Scales row NoRow with scale.

template<class T>
void TNT::Matrix< T >::set ( const T &  val  )  [inline, protected, inherited]

Definition at line 151 of file cmat.h.

void BIAS::Matrix< double >::Set ( const int  row,
const int  col,
const Vector< double > &  data 
) [inherited]

Copies the contents of data into this at the position indicated by row and col.

The size of *this must be big enought to carry data. Data i interpreted as column vector

Author:
woelk 05/2008 (c) www.vision-n.de

void BIAS::Matrix< double >::Set ( const int  row,
const int  col,
const Matrix< double > &  data 
) [inherited]

Copies the contents of data into this at the position indicated by row and col.

The size of *this must be big enought to carry data

Author:
woelk 05/2008 (c) www.vision-n.de

void AffineTransf::SetAsRotationMatrix ( Matrix3x3< double > &  R  ) 

void BIAS::Matrix< double >::SetCol ( const int  row,
const Vector< double > &  data 
) [inherited]

set a col of matrix from vector

Author:
woelk 08/2004

void BIAS::Matrix3x4< double >::SetIdentity (  )  [inline, inherited]

set the elements of this matrix to the matrix 1 0 0 0 0 1 0 0 0 0 1 0 which is no strict identity (!)

Author:
Jan Woetzel
Date:
04/17/2002 untested

Reimplemented from BIAS::Matrix< double >.

void BIAS::Matrix< double >::SetRow ( const int  row,
const Vector< double > &  data 
) [inherited]

set a row of matrix from vector

Author:
woelk 08/2004

void BIAS::Matrix< double >::SetTranspose ( const int  row,
const int  col,
const Vector< double > &  data 
) [inherited]

Copies the contents of data into this at the position indicated by row and col.

The size of *this must be big enought to carry data. Data is interpreted as row vector.

Author:
woelk 05/2008 (c) www.vision-n.de

void BIAS::Matrix< double >::SetZero (  )  [inline, inherited]

Sets all values to zero.

Author:
Ingo Thomsen, JW
Date:
04/11/2002 tested

Reimplemented in BIAS::Matrix2x2< double >.

Referenced by BIAS::HomgPoint3DCov::SetEuclidean().

template<class T>
Subscript TNT::Matrix< T >::size (  )  const [inline, inherited]

void BIAS::Matrix< double >::Sub ( const double &  scalar,
Matrix< double > &  dest 
) const [inline, inherited]

substraction function, storing data destination matrix

Author:
Ingo Thomsen tested

void BIAS::Matrix< double >::SubIP ( const double &  scalar  )  [inline, inherited]

in place subtraction function

Author:
Ingo Thomsen tested

Definition at line 378 of file Matrix.hh.

void BIAS::Matrix< double >::SubIP ( const Matrix< double > &  arg  )  [inline, inherited]

Subtracts arg from this
this -= arg.

Author:
grest, 2004

void BIAS::Matrix< double >::SwapRows ( const int  i,
const int  r 
) [inherited]

swaps two rows

Author:
woelk 05/2008 www.vision-n.de

double BIAS::Matrix< double >::Trace (  )  const [inline, inherited]

Author:
koeser

Matrix<double > BIAS::Matrix< double >::Transpose (  )  const [inline, inherited]

transpose function, storing data destination matrix

Author:
JMF

Reimplemented in BIAS::Matrix2x2< double >, and BIAS::Matrix4x4< double >.

void BIAS::Matrix< double >::Vec ( Vector< double > &  dest  )  const [inherited]

vec-operator returns the elements of the matrix columwise as vector

vec-operator returns the elements of the matrix columnwise as vector

int BIAS::Matrix< double >::WriteMatlab ( std::ostream &  ostr,
const std::string &  name 
) const [inherited]

Write the matrix in Matlab format to the given stream.

Parameters:
name Is the name of the Matlab variable
Author:
streckel 08/2006
Returns:
negativev if error


Friends And Related Function Documentation

template<class T>
Vector< T > operator* ( const Matrix< T > &  A,
const Vector< T > &  x 
) [related, inherited]

Definition at line 816 of file cmat.h.

template<class T>
Matrix< T > operator* ( const Matrix< T > &  A,
const Matrix< T > &  B 
) [related, inherited]

Definition at line 743 of file cmat.h.

template<class T>
Matrix< T > operator+ ( const Matrix< T > &  A,
const Matrix< T > &  B 
) [related, inherited]

Definition at line 631 of file cmat.h.

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

template<class T>
Matrix< T > operator- ( const Matrix< T > &  A,
const Matrix< T > &  B 
) [related, inherited]

Definition at line 653 of file cmat.h.

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

template<class T>
std::ostream & operator<< ( std::ostream &  s,
const Matrix< T > &  A 
) [related, inherited]

Author:
Jan Woetzel

Definition at line 596 of file cmat.h.

template<class T>
std::ostream & operator<< ( std::ostream &  s,
const Matrix< unsigned char > &  A 
) [related, inherited]

Author:
Jan Woetzel

Definition at line 571 of file cmat.h.

template<class T>
std::ostream & operator<< ( std::ostream &  s,
const Matrix< char > &  A 
) [related, inherited]

Author:
Jan Woetzel

Definition at line 564 of file cmat.h.

template<class T>
std::istream & operator>> ( std::istream &  s,
Matrix< T > &  A 
) [related, inherited]

Author:
Jan Woetzel

Definition at line 620 of file cmat.h.

References TNT::Matrix< T >::Read().

template<class T>
std::istream & operator>> ( std::istream &  s,
Matrix< char > &  A 
) [related, inherited]

Author:
Jan Woetzel

Definition at line 612 of file cmat.h.

References TNT::Matrix< T >::Read().

template<class T>
std::istream & operator>> ( std::istream &  s,
Matrix< unsigned char > &  A 
) [related, inherited]

Author:
Jan Woetzel

Definition at line 604 of file cmat.h.

References TNT::Matrix< T >::Read().


Member Data Documentation

Vector3<double> BIAS::AffineTransf::C_ [protected]

Definition at line 68 of file AffineTransf.hh.

Referenced by operator=().

template<class T>
Subscript TNT::Matrix< T >::m_ [protected, inherited]

template<class T>
Subscript TNT::Matrix< T >::mn_ [protected, inherited]

template<class T>
Subscript TNT::Matrix< T >::n_ [protected, inherited]

Definition at line 67 of file AffineTransf.hh.

Referenced by operator=().

template<class T>
T** TNT::Matrix< T >::row_ [protected, inherited]

template<class T>
T** TNT::Matrix< T >::rowm1_ [protected, inherited]

template<class T>
T* TNT::Matrix< T >::v_ [protected, inherited]

template<class T>
T* TNT::Matrix< T >::vm1_ [protected, inherited]


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

Generated on Mon Mar 15 01:06:40 2010 for Basic Image AlgorithmS Library by  doxygen 1.5.6