IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
EigenDecomposition.h
Go to the documentation of this file.
1 // EigenDecomposition.h:
3 // ---------------------
4 //
14 
15 #ifndef __IPSDKMATH_EIGENDECOMPOSITION_H__
16 #define __IPSDKMATH_EIGENDECOMPOSITION_H__
17 
21 
22 namespace ipsdk {
23 namespace math {
24 
27 
39 IPSDKMATH_API void
40 eigenDecomposition(const ipReal64 mXX, const ipReal64 mXY, const ipReal64 mYY,
41  ipReal64& lambdaMin, ipReal64& lambdaMax, ipReal64& theta);
42 
56 template <typename T>
57 IPSDKMATH_API void
58 eigenDecomposition(const T mXX, const T mXY, const T mXZ,
59  const T mYY, const T mYZ, const T mZZ,
60  T& lambdaMin, T& lambdaInter, T& lambdaMax,
61  T& vMinX, T& vMinY, T& vMinZ,
62  T& vInterX, T& vInterY, T& vInterZ,
63  T& vMaxX, T& vMaxY, T& vMaxZ);
64 template <typename T>
65 IPSDKMATH_API void
66 eigenDecomposition(const T mXX, const T mXY, const T mXZ,
67  const T mYY, const T mYZ, const T mZZ,
68  T& lambdaMin, T& lambdaInter, T& lambdaMax,
69  T& chi, T& beta, T& alpha);
71 
86 eigenDecomposition(const Matrix& mat,
87  Vector& eigenValues, Matrix& eigenVectors);
88 
103 IPSDKMATH_API void
105  Vector& eigenValues, Matrix& eigenVectors);
106 
109 
110 } // end of namespace math
111 } // end of namespace ipsdk
112 
113 #endif // __IPSDKMATH_EIGENDECOMPOSITION_H__
Definition of import/export macro for library.
boost::numeric::ublas::matrix< ipReal64 > Matrix
matrix type associated to library
Definition: LinearAlgebraTypes.h:48
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Predefined types for linear algebra management.
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
boost::numeric::ublas::vector< ipReal64 > Vector
vector type associated to library
Definition: LinearAlgebraTypes.h:36
#define IPSDKMATH_API
Import/Export macro for library IPSDKMath.
Definition: IPSDKMathExports.h:27
IPSDKMATH_API void eigenPartialDecomposition(const Matrix &mat, Vector &eigenValues, Matrix &eigenVectors)
eigen decomposition of symetric NxN matrix with search for only M greatest values On output : ...
Definition: EigenDecomposition.cpp:449
Predefined types associated to instruction set management.
IPSDKMATH_API void eigenDecomposition(const ipReal64 mXX, const ipReal64 mXY, const ipReal64 mYY, ipReal64 &lambdaMin, ipReal64 &lambdaMax, ipReal64 &theta)
eigen decomposition of symetric 2x2 matrix On output value are granted such that : ...
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53