evaluateImageRetrieval
评估图像的年代earch results
Syntax
Description
returns the average precision metric for measuring the accuracy of image search results for theaveragePrecision
= evaluateImageRetrieval(queryImage
,imageIndex
,expectedIDs
)queryImage
. TheexpectedIDs
input contains the indices of images withinimageIndex
that are known to be similar to the query image.
[
optionally returns the indices corresponding to images withinaveragePrecision
,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 moreaveragePrecision
,imageIDs
,scores
] = evaluateImageRetrieval(___,Name,Value
)Name,Value
pair arguments, using any of the preceding syntaxes.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015a