detectLoop
Syntax
Description
[
compares oriented FAST and rotated BRIEF (ORB) loopViewIDs
,similarityScores
] = detectLoop(loopDetector
,features
)features
, against
features in a prepopulated loopDetector
BoW database. It returns the
indices of images, loopViewIDs
, in the database that resemble the
feature descriptors in features
and it returns a quantitative measure
of how similar each detected pair of images is in
similarityScores
.
By using the detectLoop
function with the specified inputs, you can
effectively search a database for images that are similar to a given set of query images,
while ignoring those that are closely connected.
[
finds images within a BoW database that are similar to an image represented by ORB feature
descriptors, loopViewIDs
,similarityScores
] = detectLoop(___,connectedViewIds
,relativeThreshold
)features
, while ignoring those that are closely connected,
specified by connectedViewIds
. The
relativeThreshold
allows you to fine-tune the sensitivity of the
search to ensure that only the most relevant, non-connected similar images are identified
and returned.
[___] = detectLoop(___,NumResults=Value)
sets the maximum number of results to return in addition to all input arguments from the
previous syntax. Specify Value
as a positive integer. The default value
is set to 20
.
Examples
Input Arguments
Output Arguments
References
[1] Galvez-López, D., and J. D. Tardos. “Bags of Binary Words for Fast Place Recognition in Image Sequences.” IEEE Transactions on Robotics, vol. 28, no. 5, Oct. 2012, pp. 1188–97. DOI.org (Crossref), https://doi.org/10.1109/TRO.2012.2197158.
Version History
Introduced in R2024b