@Namespace(value="cv::flann") @NoOffset @Properties(inherit=opencv_flann.class) public class Index extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Index() |
Index(GpuMat features,
IndexParams params) |
Index(GpuMat features,
IndexParams params,
int distType) |
Index(long size)
Native array allocator.
|
Index(Mat features,
IndexParams params) |
Index(Mat features,
IndexParams params,
int distType) |
Index(Pointer p)
Pointer cast constructor.
|
Index(UMat features,
IndexParams params) |
Index(UMat features,
IndexParams params,
int distType) |
Modifier and Type | Method and Description |
---|---|
void |
build(GpuMat features,
IndexParams params) |
void |
build(GpuMat features,
IndexParams params,
int distType) |
void |
build(Mat features,
IndexParams params) |
void |
build(Mat features,
IndexParams params,
int distType) |
void |
build(UMat features,
IndexParams params) |
void |
build(UMat features,
IndexParams params,
int distType) |
int |
getAlgorithm() |
int |
getDistance() |
void |
knnSearch(GpuMat query,
GpuMat indices,
GpuMat dists,
int knn) |
void |
knnSearch(GpuMat query,
GpuMat indices,
GpuMat dists,
int knn,
SearchParams params) |
void |
knnSearch(Mat query,
Mat indices,
Mat dists,
int knn) |
void |
knnSearch(Mat query,
Mat indices,
Mat dists,
int knn,
SearchParams params) |
void |
knnSearch(UMat query,
UMat indices,
UMat dists,
int knn) |
void |
knnSearch(UMat query,
UMat indices,
UMat dists,
int knn,
SearchParams params) |
boolean |
load(GpuMat features,
BytePointer filename) |
boolean |
load(GpuMat features,
String filename) |
boolean |
load(Mat features,
BytePointer filename) |
boolean |
load(Mat features,
String filename) |
boolean |
load(UMat features,
BytePointer filename) |
boolean |
load(UMat features,
String filename) |
Index |
position(long position) |
int |
radiusSearch(GpuMat query,
GpuMat indices,
GpuMat dists,
double radius,
int maxResults) |
int |
radiusSearch(GpuMat query,
GpuMat indices,
GpuMat dists,
double radius,
int maxResults,
SearchParams params) |
int |
radiusSearch(Mat query,
Mat indices,
Mat dists,
double radius,
int maxResults) |
int |
radiusSearch(Mat query,
Mat indices,
Mat dists,
double radius,
int maxResults,
SearchParams params) |
int |
radiusSearch(UMat query,
UMat indices,
UMat dists,
double radius,
int maxResults) |
int |
radiusSearch(UMat query,
UMat indices,
UMat dists,
double radius,
int maxResults,
SearchParams params) |
void |
release() |
void |
save(BytePointer filename) |
void |
save(String filename) |
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, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public Index(Pointer p)
Pointer.Pointer(Pointer)
.public Index(long size)
Pointer.position(long)
.public Index()
public Index(@ByVal Mat features, @Const @ByRef IndexParams params, @Cast(value="cvflann::flann_distance_t") int distType)
public Index(@ByVal Mat features, @Const @ByRef IndexParams params)
public Index(@ByVal UMat features, @Const @ByRef IndexParams params, @Cast(value="cvflann::flann_distance_t") int distType)
public Index(@ByVal UMat features, @Const @ByRef IndexParams params)
public Index(@ByVal GpuMat features, @Const @ByRef IndexParams params, @Cast(value="cvflann::flann_distance_t") int distType)
public Index(@ByVal GpuMat features, @Const @ByRef IndexParams params)
public void build(@ByVal Mat features, @Const @ByRef IndexParams params, @Cast(value="cvflann::flann_distance_t") int distType)
public void build(@ByVal Mat features, @Const @ByRef IndexParams params)
public void build(@ByVal UMat features, @Const @ByRef IndexParams params, @Cast(value="cvflann::flann_distance_t") int distType)
public void build(@ByVal UMat features, @Const @ByRef IndexParams params)
public void build(@ByVal GpuMat features, @Const @ByRef IndexParams params, @Cast(value="cvflann::flann_distance_t") int distType)
public void build(@ByVal GpuMat features, @Const @ByRef IndexParams params)
public void knnSearch(@ByVal Mat query, @ByVal Mat indices, @ByVal Mat dists, int knn, @Const @ByRef(nullValue="cv::flann::SearchParams()") SearchParams params)
public void knnSearch(@ByVal UMat query, @ByVal UMat indices, @ByVal UMat dists, int knn, @Const @ByRef(nullValue="cv::flann::SearchParams()") SearchParams params)
public void knnSearch(@ByVal GpuMat query, @ByVal GpuMat indices, @ByVal GpuMat dists, int knn, @Const @ByRef(nullValue="cv::flann::SearchParams()") SearchParams params)
public void knnSearch(@ByVal GpuMat query, @ByVal GpuMat indices, @ByVal GpuMat dists, int knn)
public int radiusSearch(@ByVal Mat query, @ByVal Mat indices, @ByVal Mat dists, double radius, int maxResults, @Const @ByRef(nullValue="cv::flann::SearchParams()") SearchParams params)
public int radiusSearch(@ByVal Mat query, @ByVal Mat indices, @ByVal Mat dists, double radius, int maxResults)
public int radiusSearch(@ByVal UMat query, @ByVal UMat indices, @ByVal UMat dists, double radius, int maxResults, @Const @ByRef(nullValue="cv::flann::SearchParams()") SearchParams params)
public int radiusSearch(@ByVal UMat query, @ByVal UMat indices, @ByVal UMat dists, double radius, int maxResults)
public int radiusSearch(@ByVal GpuMat query, @ByVal GpuMat indices, @ByVal GpuMat dists, double radius, int maxResults, @Const @ByRef(nullValue="cv::flann::SearchParams()") SearchParams params)
public int radiusSearch(@ByVal GpuMat query, @ByVal GpuMat indices, @ByVal GpuMat dists, double radius, int maxResults)
public void save(@opencv_core.Str BytePointer filename)
public void save(@opencv_core.Str String filename)
@Cast(value="bool") public boolean load(@ByVal Mat features, @opencv_core.Str BytePointer filename)
@Cast(value="bool") public boolean load(@ByVal UMat features, @opencv_core.Str String filename)
@Cast(value="bool") public boolean load(@ByVal UMat features, @opencv_core.Str BytePointer filename)
@Cast(value="bool") public boolean load(@ByVal GpuMat features, @opencv_core.Str BytePointer filename)
@Cast(value="bool") public boolean load(@ByVal GpuMat features, @opencv_core.Str String filename)
public void release()
Copyright © 2020. All rights reserved.