@Namespace(value="cv::detail") @NoOffset @Properties(inherit=opencv_stitching.class) public class AffineBestOf2NearestMatcher extends BestOf2NearestMatcher
Unlike cv::detail::BestOf2NearestMatcher this matcher uses affine transformation (affine transformation estimate will be placed in matches_info).
cv::detail::BestOf2NearestMatcher
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AffineBestOf2NearestMatcher() |
AffineBestOf2NearestMatcher(boolean full_affine,
boolean try_use_gpu,
float match_conf,
int num_matches_thresh1)
\brief Constructs a "best of 2 nearest" matcher that expects affine transformation
between images
|
AffineBestOf2NearestMatcher(long size)
Native array allocator.
|
AffineBestOf2NearestMatcher(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
AffineBestOf2NearestMatcher |
position(long position) |
collectGarbage, create, create
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 AffineBestOf2NearestMatcher(Pointer p)
Pointer.Pointer(Pointer)
.public AffineBestOf2NearestMatcher(long size)
Pointer.position(long)
.public AffineBestOf2NearestMatcher(@Cast(value="bool") boolean full_affine, @Cast(value="bool") boolean try_use_gpu, float match_conf, int num_matches_thresh1)
full_affine
- whether to use full affine transformation with 6 degress of freedom or reduced
transformation with 4 degrees of freedom using only rotation, translation and uniform scalingtry_use_gpu
- Should try to use GPU or notmatch_conf
- Match distances ration thresholdnum_matches_thresh1
- Minimum number of matches required for the 2D affine transform
estimation used in the inliers classification step
cv::estimateAffinePartial2D
public AffineBestOf2NearestMatcher()
public AffineBestOf2NearestMatcher position(long position)
position
in class BestOf2NearestMatcher
Copyright © 2020. All rights reserved.