@Namespace(value="cv::xfeatures2d") @Properties(inherit=opencv_xfeatures2d.class) public class LATCH extends Feature2D
LATCH is a binary descriptor based on learned comparisons of triplets of image patches.
bytes is the size of the descriptor - can be 64, 32, 16, 8, 4, 2 or 1 rotationInvariance - whether or not the descriptor should compansate for orientation changes. half_ssd_size - the size of half of the mini-patches size. For example, if we would like to compare triplets of patches of size 7x7x then the half_ssd_size should be (7-1)/2 = 3. sigma - sigma value for GaussianBlur smoothing of the source image. Source image will be used without smoothing in case sigma value is 0.
Note: the descriptor can be coupled with any keypoint extractor. The only demand is that if you use set rotationInvariance = True then you will have to use an extractor which estimates the patch orientation (in degrees). Examples for such extractors are ORB and SIFT.
Note: a complete example can be found under /samples/cpp/tutorial_code/xfeatures2D/latch_match.cpp
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
LATCH()
Default native constructor.
|
LATCH(long size)
Native array allocator.
|
LATCH(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static LATCH |
create() |
static LATCH |
create(int bytes,
boolean rotationInvariance,
int half_ssd_size,
double sigma) |
LATCH |
position(long position) |
compute, compute, compute, compute, compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, empty, getDefaultName, read, read, read, write, write, write, write, writeaddress, 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, zeropublic LATCH()
public LATCH(long size)
Pointer.position(long).public LATCH(Pointer p)
Pointer.Pointer(Pointer).@opencv_core.Ptr public static LATCH create(int bytes, @Cast(value="bool") boolean rotationInvariance, int half_ssd_size, double sigma)
@opencv_core.Ptr public static LATCH create()
Copyright © 2020. All rights reserved.