public static class opencv_core.PCA extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_core.PCA()
default constructor
|
opencv_core.PCA(int size) |
opencv_core.PCA(opencv_core.Mat data,
opencv_core.Mat mean,
int flags) |
opencv_core.PCA(opencv_core.Mat data,
opencv_core.Mat mean,
int flags,
double retainedVariance) |
opencv_core.PCA(opencv_core.Mat data,
opencv_core.Mat mean,
int flags,
int maxComponents)
the constructor that performs PCA
|
opencv_core.PCA(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
opencv_core.PCA |
apply(opencv_core.Mat data,
opencv_core.Mat mean,
int flags) |
opencv_core.PCA |
apply(opencv_core.Mat data,
opencv_core.Mat mean,
int flags,
int maxComponents)
operator that performs PCA.
|
opencv_core.Mat |
backProject(opencv_core.Mat vec)
reconstructs the original vector from the projection
|
void |
backProject(opencv_core.Mat vec,
opencv_core.Mat result)
reconstructs the original vector from the projection
|
opencv_core.PCA |
computeVar(opencv_core.Mat data,
opencv_core.Mat mean,
int flags,
double retainedVariance) |
opencv_core.Mat |
eigenvalues()
eigenvalues of the covariation matrix
|
opencv_core.PCA |
eigenvalues(opencv_core.Mat eigenvalues) |
opencv_core.Mat |
eigenvectors()
eigenvectors of the covariation matrix
|
opencv_core.PCA |
eigenvectors(opencv_core.Mat eigenvectors) |
opencv_core.Mat |
mean()
mean value subtracted before the projection and added after the back projection
|
opencv_core.PCA |
mean(opencv_core.Mat mean) |
opencv_core.PCA |
position(int position) |
opencv_core.Mat |
project(opencv_core.Mat vec)
projects vector from the original space to the principal components subspace
|
void |
project(opencv_core.Mat vec,
opencv_core.Mat result)
projects vector from the original space to the principal components subspace
|
address, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic opencv_core.PCA(Pointer p)
public opencv_core.PCA(int size)
public opencv_core.PCA()
public opencv_core.PCA(opencv_core.Mat data, opencv_core.Mat mean, int flags, int maxComponents)
public opencv_core.PCA(opencv_core.Mat data, opencv_core.Mat mean, int flags)
public opencv_core.PCA(opencv_core.Mat data, opencv_core.Mat mean, int flags, double retainedVariance)
public opencv_core.PCA position(int position)
public opencv_core.PCA apply(opencv_core.Mat data, opencv_core.Mat mean, int flags, int maxComponents)
public opencv_core.PCA apply(opencv_core.Mat data, opencv_core.Mat mean, int flags)
public opencv_core.PCA computeVar(opencv_core.Mat data, opencv_core.Mat mean, int flags, double retainedVariance)
public opencv_core.Mat project(opencv_core.Mat vec)
public void project(opencv_core.Mat vec, opencv_core.Mat result)
public opencv_core.Mat backProject(opencv_core.Mat vec)
public void backProject(opencv_core.Mat vec, opencv_core.Mat result)
public opencv_core.Mat eigenvectors()
public opencv_core.PCA eigenvectors(opencv_core.Mat eigenvectors)
public opencv_core.Mat eigenvalues()
public opencv_core.PCA eigenvalues(opencv_core.Mat eigenvalues)
public opencv_core.Mat mean()
public opencv_core.PCA mean(opencv_core.Mat mean)
Copyright © 2014. All Rights Reserved.