Principal Component Analysis
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusPCA
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The PCA type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PCA | Initializes a new instance of the PCA class | |
PCA(InputArray, InputArray, PCAFlag, Double) | Initializes a new instance of the PCA class | |
PCA(InputArray, InputArray, PCAFlag, Int32) | Initializes a new instance of the PCA class |
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.) | |
Eigenvalues |
eigenvalues of the covariation matrix
| |
Eigenvectors |
eigenvalues of the covariation matrix
| |
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.) | |
Mean |
mean value subtracted before the projection and added after the back projection
|
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.) | |
BackProject(InputArray) |
reconstructs the original vector from the projection
| |
BackProject(InputArray, OutputArray) |
reconstructs the original vector from the projection
| |
Compute |
operator that performs PCA. The previously stored data, if any, is released
| |
ComputeVar |
operator that performs PCA. The previously stored data, if any, is released
| |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the PCA 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.) | |
Project(InputArray) |
projects vector from the original space to the principal components subspace
| |
Project(InputArray, OutputArray) |
projects vector from the original space to the principal components subspace
| |
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