LDA Class |
Namespace: OpenCvSharp
The LDA type exposes the following members.
Name | Description | |
---|---|---|
LDA(Int32) |
constructor
| |
LDA(InputArray, InputArray, Int32) |
Initializes and performs a Discriminant Analysis with Fisher's
Optimization Criterion on given data in src and corresponding labels
in labels.If 0 (or less) number of components are given, they are
automatically determined for given data in computation.
|
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.) | |
DataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
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.) |
Name | Description | |
---|---|---|
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
Compute |
Compute the discriminants for data in src (row aligned) and labels.
| |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Releases the resources
(Inherited from DisposableObject.) | |
DisposeManaged |
Releases managed resources
(Inherited from DisposableObject.) | |
DisposeUnmanaged |
Releases unmanaged resources
(Overrides DisposableCvObjectDisposeUnmanaged.) | |
Eigenvalues |
Returns the eigenvalues of this LDA.
| |
Eigenvectors |
Returns the eigenvectors of this LDA.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load(String) |
Deserializes this object from a given filename.
| |
Load(FileStorage) |
Deserializes this object from a given cv::FileStorage.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
Project |
Projects samples into the LDA subspace.
src may be one or more row aligned samples.
| |
Reconstruct |
Reconstructs projections from the LDA subspace.
src may be one or more row aligned projections.
| |
Save(String) |
Serializes this object to a given filename.
| |
Save(FileStorage) |
Serializes this object to a given cv::FileStorage.
| |
SubspaceProject | ||
SubspaceReconstruct | ||
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ptr |
Data pointer
(Inherited from DisposableCvObject.) |