Can't index images with imageIndex
2 views (last 30 days)
Show older comments
I try to run this code:
queryImage = imread('clutteredDesk.jpg');
queryROI = [130 175 330 365];
Use the imrect function to select an ROI interactively
queryROI = getPosition(imrect)
figure
imshow(queryImage)
rectangle('Position',queryROI,'EdgeColor','yellow')
imageIndex = indexImages(imgSet,'Verbose',false);
imageIDs = retrieveImages(queryImage,imageIndex,'ROI',queryROI)
However, I get such error:
_ *Undefined function 'invertedImageIndex' for input arguments of type 'bagOfFeatures'.
Error in retrieve_images (line 41) imageIndex = invertedImageIndex(bag);*_
0 Comments
Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!