Singular Value Decomposition class
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusSVD
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The SVD type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SVD |
the default constructor
| |
SVD(InputArray, SVDFlag) |
the constructor that performs SVD
|
Properties
Name | Description | |
---|---|---|
AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
U |
eigenvalues of the covariation matrix
| |
Vt |
mean value subtracted before the projection and added after the back projection
| |
W |
eigenvalues of the covariation matrix
|
Methods
Name | Description | |
---|---|---|
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
BackSubst(InputArray, OutputArray) |
performs back substitution, so that dst is the solution or pseudo-solution of m*dst = rhs, where m is the decomposed matrix
| |
BackSubst(InputArray, InputArray, InputArray, InputArray, OutputArray) |
performs back substitution
| |
Compute(InputArray, OutputArray, SVDFlag) |
computes singular values of a matrix
| |
Compute(InputArray, OutputArray, OutputArray, OutputArray, SVDFlag) |
decomposes matrix and stores the results to user-provided matrices
| |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the SVD and optionally releases the managed resources (Overrides DisposableCvObjectDispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
Run |
the operator that performs SVD. The previously allocated SVD::u, SVD::w are SVD::vt are released.
| |
SolveZ |
finds dst = arg min_{|dst|=1} |m*dst|
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
ptr |
Data pointer
(Inherited from DisposableCvObject.) |
See Also