C# Class OpenCvSharp.SVD

Singular Value Decomposition class
Inheritance: OpenCvSharp.DisposableCvObject
Show file Open project: shimat/opencvsharp Class Usage Examples

Public Methods

Method Description
BackSubst ( InputArray w, InputArray u, InputArray vt, InputArray rhs, OutputArray dst ) : void

performs back substitution

BackSubst ( InputArray rhs, OutputArray dst ) : void

performs back substitution, so that dst is the solution or pseudo-solution of m*dst = rhs, where m is the decomposed matrix

Compute ( InputArray src, OutputArray w, Flags flags ) : void

computes singular values of a matrix

Compute ( InputArray src, OutputArray w, OutputArray u, OutputArray vt, Flags flags ) : void

decomposes matrix and stores the results to user-provided matrices

Run ( InputArray src, Flags flags ) : SVD

the operator that performs SVD. The previously allocated SVD::u, SVD::w are SVD::vt are released.

SVD ( ) : System

the default constructor

SVD ( InputArray src, Flags flags ) : System

the constructor that performs SVD

SolveZ ( InputArray src, OutputArray dst ) : void

finds dst = arg min_{|dst|=1} |m*dst|

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

BackSubst() public static method

performs back substitution
public static BackSubst ( InputArray w, InputArray u, InputArray vt, InputArray rhs, OutputArray dst ) : void
w InputArray
u InputArray
vt InputArray
rhs InputArray
dst OutputArray
return void

BackSubst() public method

performs back substitution, so that dst is the solution or pseudo-solution of m*dst = rhs, where m is the decomposed matrix
public BackSubst ( InputArray rhs, OutputArray dst ) : void
rhs InputArray
dst OutputArray
return void

Compute() public static method

computes singular values of a matrix
public static Compute ( InputArray src, OutputArray w, Flags flags ) : void
src InputArray
w OutputArray
flags System.Flags
return void

Compute() public static method

decomposes matrix and stores the results to user-provided matrices
public static Compute ( InputArray src, OutputArray w, OutputArray u, OutputArray vt, Flags flags ) : void
src InputArray
w OutputArray
u OutputArray
vt OutputArray
flags System.Flags
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Run() public method

the operator that performs SVD. The previously allocated SVD::u, SVD::w are SVD::vt are released.
public Run ( InputArray src, Flags flags ) : SVD
src InputArray
flags System.Flags
return SVD

SVD() public method

the default constructor
public SVD ( ) : System
return System

SVD() public method

the constructor that performs SVD
public SVD ( InputArray src, Flags flags ) : System
src InputArray
flags System.Flags
return System

SolveZ() public static method

finds dst = arg min_{|dst|=1} |m*dst|
public static SolveZ ( InputArray src, OutputArray dst ) : void
src InputArray
dst OutputArray
return void