@Namespace(value="cv::detail") @NoOffset @Properties(inherit=opencv_stitching.class) public class FeaturesMatcher extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FeaturesMatcher(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(ImageFeatures features1,
ImageFeatures features2,
MatchesInfo matches_info)
\overload
|
void |
apply2(ImageFeatures features,
MatchesInfo pairwise_matches) |
void |
apply2(ImageFeatures features,
MatchesInfo pairwise_matches,
UMat mask)
\brief Performs images matching.
|
void |
collectGarbage()
\brief Frees unused memory allocated before if there is any.
|
boolean |
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, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public FeaturesMatcher(Pointer p)
Pointer.Pointer(Pointer)
.@Name(value="operator ()") public void apply(@Const @ByRef ImageFeatures features1, @Const @ByRef ImageFeatures features2, @ByRef MatchesInfo matches_info)
features1
- First image featuresfeatures2
- Second image featuresmatches_info
- Found matches@Name(value="operator ()") public void apply2(@StdVector ImageFeatures features, @StdVector MatchesInfo pairwise_matches, @Const @ByRef(nullValue="cv::UMat()") UMat mask)
features
- Features of the source imagespairwise_matches
- Found pairwise matchesmask
- Mask indicating which image pairs must be matched
The function is parallelized with the TBB library.
detail::MatchesInfo
@Name(value="operator ()") public void apply2(@StdVector ImageFeatures features, @StdVector MatchesInfo pairwise_matches)
@Cast(value="bool") public boolean isThreadSafe()
public void collectGarbage()
Copyright © 2020. All rights reserved.