I have looked through all the OpenCV documentation that I could find and googled for what I’m looking for, but I think I must be using the wrong terminology.
What I want to do is something similar to template matching, but I do not need to search for instances of my image in another image. I need to compare my image to a library of other images and determine which is the best match. Is there a name for this kind of matching?
If there is no existing library for it, I am planning just to use a correlation function for each image in the library and take the best match.
Well you want to match a template in a lot of images.
You can create a loop for matching teplates to images.
And find minMaxLoc and values.
So you can see which image how match to template.