@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)
\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) |
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, 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 BestOf2NearestMatcher(Pointer p)
Pointer.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)
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 inlierspublic BestOf2NearestMatcher()
public BestOf2NearestMatcher position(long position)
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)
@opencv_core.Ptr public static BestOf2NearestMatcher create()
Copyright © 2020. All rights reserved.