@Namespace(value="cv") @NoOffset public static class opencv_core.LDA extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_core.LDA() |
opencv_core.LDA(int num_components)
\brief constructor
Initializes a LDA with num_components (default 0).
|
opencv_core.LDA(long size)
Native array allocator.
|
opencv_core.LDA(opencv_core.MatVector src,
opencv_core.Mat labels) |
opencv_core.LDA(opencv_core.MatVector src,
opencv_core.Mat labels,
int num_components)
Initializes and performs a Discriminant Analysis with Fisher's
Optimization Criterion on given data in src and corresponding labels
in labels.
|
opencv_core.LDA(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
compute(opencv_core.MatVector src,
opencv_core.Mat labels)
Compute the discriminants for data in src (row aligned) and labels.
|
opencv_core.Mat |
eigenvalues()
Returns the eigenvalues of this LDA.
|
opencv_core.Mat |
eigenvectors()
Returns the eigenvectors of this LDA.
|
void |
load(BytePointer filename)
Deserializes this object from a given filename.
|
void |
load(opencv_core.FileStorage node)
Deserializes this object from a given cv::FileStorage.
|
void |
load(String filename) |
opencv_core.LDA |
position(long position) |
opencv_core.Mat |
project(opencv_core.Mat src)
Projects samples into the LDA subspace.
|
opencv_core.Mat |
reconstruct(opencv_core.Mat src)
Reconstructs projections from the LDA subspace.
|
void |
save(BytePointer filename)
Serializes this object to a given filename.
|
void |
save(opencv_core.FileStorage fs)
Serializes this object to a given cv::FileStorage.
|
void |
save(String filename) |
static opencv_core.Mat |
subspaceProject(opencv_core.Mat W,
opencv_core.Mat mean,
opencv_core.Mat src) |
static opencv_core.Mat |
subspaceReconstruct(opencv_core.Mat W,
opencv_core.Mat mean,
opencv_core.Mat src) |
address, asBuffer, asByteBuffer, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic opencv_core.LDA(Pointer p)
Pointer.Pointer(Pointer).public opencv_core.LDA(long size)
Pointer.position(long).public opencv_core.LDA(int num_components)
public opencv_core.LDA()
public opencv_core.LDA(@ByVal opencv_core.MatVector src, @ByVal opencv_core.Mat labels, int num_components)
public opencv_core.LDA(@ByVal opencv_core.MatVector src, @ByVal opencv_core.Mat labels)
public opencv_core.LDA position(long position)
public void save(@opencv_core.Str BytePointer filename)
public void save(@opencv_core.Str String filename)
public void load(@opencv_core.Str BytePointer filename)
public void load(@opencv_core.Str String filename)
public void save(@ByRef opencv_core.FileStorage fs)
public void load(@Const@ByRef opencv_core.FileStorage node)
public void compute(@ByVal opencv_core.MatVector src, @ByVal opencv_core.Mat labels)
@ByVal public opencv_core.Mat project(@ByVal opencv_core.Mat src)
@ByVal public opencv_core.Mat reconstruct(@ByVal opencv_core.Mat src)
@ByVal public opencv_core.Mat eigenvectors()
@ByVal public opencv_core.Mat eigenvalues()
@ByVal public static opencv_core.Mat subspaceProject(@ByVal opencv_core.Mat W, @ByVal opencv_core.Mat mean, @ByVal opencv_core.Mat src)
@ByVal public static opencv_core.Mat subspaceReconstruct(@ByVal opencv_core.Mat W, @ByVal opencv_core.Mat mean, @ByVal opencv_core.Mat src)
Copyright © 2016. All rights reserved.