@Namespace(value="cv::detail") @NoOffset @Properties(inherit=opencv_stitching.class) public class BestOf2NearestMatcher extends FeaturesMatcher
detail::FeaturesMatcher
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
BestOf2NearestMatcher() |
BestOf2NearestMatcher(boolean try_use_gpu,
float match_conf,
int num_matches_thresh1,
int num_matches_thresh2,
double matches_confindece_thresh)
\brief Constructs a "best of 2 nearest" matcher.
|
BestOf2NearestMatcher(long size)
Native array allocator.
|
BestOf2NearestMatcher(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
collectGarbage()
\brief Frees unused memory allocated before if there is any.
|
static BestOf2NearestMatcher |
create() |
static BestOf2NearestMatcher |
create(boolean try_use_gpu,
float match_conf,
int num_matches_thresh1,
int num_matches_thresh2,
double matches_confindece_thresh) |
BestOf2NearestMatcher |
getPointer(long i) |
BestOf2NearestMatcher |
position(long position) |
apply, apply2, apply2, isThreadSafe
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 BestOf2NearestMatcher(Pointer p)
Pointer(Pointer)
.public BestOf2NearestMatcher(long size)
Pointer.position(long)
.public BestOf2NearestMatcher(@Cast(value="bool") boolean try_use_gpu, float match_conf, int num_matches_thresh1, int num_matches_thresh2, double matches_confindece_thresh)
try_use_gpu
- Should try to use GPU or notmatch_conf
- Match distances ration thresholdnum_matches_thresh1
- Minimum number of matches required for the 2D projective transform
estimation used in the inliers classification stepnum_matches_thresh2
- Minimum number of matches required for the 2D projective transform
re-estimation on inliersmatches_confindece_thresh
- Matching confidence threshold to take the match into account.
The threshold was determined experimentally and set to 3 by default.public BestOf2NearestMatcher()
public BestOf2NearestMatcher position(long position)
public BestOf2NearestMatcher getPointer(long i)
getPointer
in class Pointer
public void collectGarbage()
FeaturesMatcher
collectGarbage
in class FeaturesMatcher
@opencv_core.Ptr public static BestOf2NearestMatcher create(@Cast(value="bool") boolean try_use_gpu, float match_conf, int num_matches_thresh1, int num_matches_thresh2, double matches_confindece_thresh)
@opencv_core.Ptr public static BestOf2NearestMatcher create()
Copyright © 2024. All rights reserved.