@Namespace(value="cv::detail::tracking::tbm") @NoOffset @Properties(inherit=opencv_tracking.class) public class CosDistance extends IDescriptorDistance
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CosDistance(Pointer p)
Pointer cast constructor.
|
CosDistance(Size descriptor_size)
\brief CosDistance constructor.
|
| Modifier and Type | Method and Description |
|---|---|
float |
compute(Mat descr1,
Mat descr2)
\brief Computes distance between two descriptors.
|
FloatPointer |
compute(MatVector descrs1,
MatVector descrs2)
\brief Computes distances between two descriptors in batches.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic CosDistance(Pointer p)
Pointer(Pointer).public float compute(@Const @ByRef Mat descr1, @Const @ByRef Mat descr2)
compute in class IDescriptorDistancedescr1 - First descriptor.descr2 - Second descriptor.@StdVector public FloatPointer compute(@Const @ByRef MatVector descrs1, @Const @ByRef MatVector descrs2)
compute in class IDescriptorDistancedescrs - [in] 1 Batch of first descriptors.descrs - [in] 2 Batch of second descriptors.Copyright © 2021. All rights reserved.