evaluateImageRetrieval
Evaluate image search results
Syntax
Description
returns
the average precision metric for measuring the accuracy of image search
results for the averagePrecision
= evaluateImageRetrieval(queryImage
,imageIndex
,expectedIDs
)queryImage
. The expectedIDs
input
contains the indices of images within imageIndex
that
are known to be similar to the query image.
[
optionally
returns the indices corresponding to images within averagePrecision
,imageIDs
,scores
]
= evaluateImageRetrieval(queryImage
,imageIndex
,expectedIDs
)imageIndex
that
are visually similar to the query image. It also returns the corresponding
similarity scores.
[
uses
additional options specified by one or more averagePrecision
,imageIDs
,scores
]
= evaluateImageRetrieval(___,Name,Value
)Name,Value
pair
arguments, using any of the preceding syntaxes.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2015a