@Namespace(value="cv") @NoOffset @Properties(inherit=opencv_core.class) public class LDA extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
LDA() |
LDA(GpuMatVector src,
GpuMat labels) |
LDA(GpuMatVector src,
GpuMat labels,
int num_components) |
LDA(GpuMatVector src,
Mat labels) |
LDA(GpuMatVector src,
Mat labels,
int num_components) |
LDA(GpuMatVector src,
UMat labels) |
LDA(GpuMatVector src,
UMat labels,
int num_components) |
LDA(int num_components)
\brief constructor
Initializes a LDA with num_components (default 0).
|
LDA(MatVector src,
GpuMat labels) |
LDA(MatVector src,
GpuMat labels,
int num_components) |
LDA(MatVector src,
Mat labels) |
LDA(MatVector src,
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.
|
LDA(MatVector src,
UMat labels) |
LDA(MatVector src,
UMat labels,
int num_components) |
LDA(Pointer p)
Pointer cast constructor.
|
LDA(UMatVector src,
GpuMat labels) |
LDA(UMatVector src,
GpuMat labels,
int num_components) |
LDA(UMatVector src,
Mat labels) |
LDA(UMatVector src,
Mat labels,
int num_components) |
LDA(UMatVector src,
UMat labels) |
LDA(UMatVector src,
UMat labels,
int num_components) |
Modifier and Type | Method and Description |
---|---|
void |
compute(GpuMatVector src,
GpuMat labels) |
void |
compute(GpuMatVector src,
Mat labels) |
void |
compute(GpuMatVector src,
UMat labels) |
void |
compute(MatVector src,
GpuMat labels) |
void |
compute(MatVector src,
Mat labels)
Compute the discriminants for data in src (row aligned) and labels.
|
void |
compute(MatVector src,
UMat labels) |
void |
compute(UMatVector src,
GpuMat labels) |
void |
compute(UMatVector src,
Mat labels) |
void |
compute(UMatVector src,
UMat labels) |
Mat |
eigenvalues()
Returns the eigenvalues of this LDA.
|
Mat |
eigenvectors()
Returns the eigenvectors of this LDA.
|
void |
load(BytePointer filename)
Deserializes this object from a given filename.
|
void |
load(FileStorage node)
Deserializes this object from a given cv::FileStorage.
|
void |
load(String filename) |
Mat |
project(GpuMat src) |
Mat |
project(Mat src)
Projects samples into the LDA subspace.
|
Mat |
project(UMat src) |
Mat |
reconstruct(GpuMat src) |
Mat |
reconstruct(Mat src)
Reconstructs projections from the LDA subspace.
|
Mat |
reconstruct(UMat src) |
void |
save(BytePointer filename)
Serializes this object to a given filename.
|
void |
save(FileStorage fs)
Serializes this object to a given cv::FileStorage.
|
void |
save(String filename) |
static Mat |
subspaceProject(GpuMat W,
GpuMat mean,
GpuMat src) |
static Mat |
subspaceProject(Mat W,
Mat mean,
Mat src) |
static Mat |
subspaceProject(UMat W,
UMat mean,
UMat src) |
static Mat |
subspaceReconstruct(GpuMat W,
GpuMat mean,
GpuMat src) |
static Mat |
subspaceReconstruct(Mat W,
Mat mean,
Mat src) |
static Mat |
subspaceReconstruct(UMat W,
UMat mean,
UMat src) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public LDA(Pointer p)
Pointer.Pointer(Pointer)
.public LDA(int num_components)
public LDA()
public LDA(@ByVal MatVector src, @ByVal Mat labels, int num_components)
public LDA(@ByVal UMatVector src, @ByVal Mat labels, int num_components)
public LDA(@ByVal UMatVector src, @ByVal Mat labels)
public LDA(@ByVal GpuMatVector src, @ByVal Mat labels, int num_components)
public LDA(@ByVal GpuMatVector src, @ByVal Mat labels)
public LDA(@ByVal UMatVector src, @ByVal UMat labels, int num_components)
public LDA(@ByVal UMatVector src, @ByVal UMat labels)
public LDA(@ByVal GpuMatVector src, @ByVal UMat labels, int num_components)
public LDA(@ByVal GpuMatVector src, @ByVal UMat labels)
public LDA(@ByVal UMatVector src, @ByVal GpuMat labels, int num_components)
public LDA(@ByVal UMatVector src, @ByVal GpuMat labels)
public LDA(@ByVal GpuMatVector src, @ByVal GpuMat labels, int num_components)
public LDA(@ByVal GpuMatVector src, @ByVal GpuMat labels)
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 FileStorage fs)
public void load(@Const @ByRef FileStorage node)
public void compute(@ByVal MatVector src, @ByVal Mat labels)
public void compute(@ByVal UMatVector src, @ByVal Mat labels)
public void compute(@ByVal GpuMatVector src, @ByVal Mat labels)
public void compute(@ByVal UMatVector src, @ByVal UMat labels)
public void compute(@ByVal GpuMatVector src, @ByVal UMat labels)
public void compute(@ByVal UMatVector src, @ByVal GpuMat labels)
public void compute(@ByVal GpuMatVector src, @ByVal GpuMat labels)
@ByVal public Mat project(@ByVal Mat src)
@ByVal public Mat reconstruct(@ByVal Mat src)
@ByVal public static Mat subspaceProject(@ByVal Mat W, @ByVal Mat mean, @ByVal Mat src)
@ByVal public static Mat subspaceProject(@ByVal UMat W, @ByVal UMat mean, @ByVal UMat src)
@ByVal public static Mat subspaceProject(@ByVal GpuMat W, @ByVal GpuMat mean, @ByVal GpuMat src)
@ByVal public static Mat subspaceReconstruct(@ByVal Mat W, @ByVal Mat mean, @ByVal Mat src)
@ByVal public static Mat subspaceReconstruct(@ByVal UMat W, @ByVal UMat mean, @ByVal UMat src)
Copyright © 2020. All rights reserved.