Hello Laura,
Here is a good KnowledgeBase of when to use the Correlate function when pattern matching:
How Do I Match Patterns or Shapes in IMAQ Vision. Here it talks about comparing a whole image with a smaller, template image. With IMAQ Correlate, higher values are left behind when the image is a close match.
Though your use of the Correlate function is correct, it may not be the best for your application. Something that I typically do when comparing two images is an operation on the two images, like a subtraction of one from the other. One operation that I find works best is the Exclusive Or (XOR). When comparing two images with this
function, anything that is different will be left behind. If the two images are exactly the same, then the image output would be totally black.
Hope this helps,
BB_Phil