@Namespace(value="cv") @NoOffset @Properties(inherit=opencv_core.class) public class DMatch extends Pointer
query descriptor index, train descriptor index, train image index, and distance between descriptors.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DMatch() |
DMatch(int _queryIdx,
int _trainIdx,
float _distance) |
DMatch(int _queryIdx,
int _trainIdx,
int _imgIdx,
float _distance) |
DMatch(long size)
Native array allocator.
|
DMatch(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
distance() |
DMatch |
distance(float setter) |
DMatch |
getPointer(long i) |
int |
imgIdx()
train image index
|
DMatch |
imgIdx(int setter) |
boolean |
lessThan(DMatch m) |
DMatch |
position(long position) |
int |
queryIdx()
query descriptor index
|
DMatch |
queryIdx(int setter) |
int |
trainIdx()
train descriptor index
|
DMatch |
trainIdx(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public DMatch(Pointer p)
Pointer(Pointer)
.public DMatch(long size)
Pointer.position(long)
.public DMatch()
public DMatch(int _queryIdx, int _trainIdx, float _distance)
public DMatch(int _queryIdx, int _trainIdx, int _imgIdx, float _distance)
public DMatch getPointer(long i)
getPointer
in class Pointer
public int queryIdx()
public DMatch queryIdx(int setter)
public int trainIdx()
public DMatch trainIdx(int setter)
public int imgIdx()
public DMatch imgIdx(int setter)
public float distance()
public DMatch distance(float setter)
Copyright © 2024. All rights reserved.