Hi Stefan.
I confirm the behaviour (I have never used an internal contour in conjunction with IMAQ ColorMatch before). The documentation does not mention a Match Score of -1000. Instead, values between 0 and 1000 should be reported. I have been creating different ROIs with internal contours -> Match Score is always -1000.
But: The documentation says, that a Match Score for each region is calculated (!!!) Obviously, IMAQ ColorMatch uses the -1000 to indicate a problem with a specific region. This is smarter than reporting an error. (BTW: Good job of the code of "IMAQ ColorMatch".)
"ColorMatching" your "ring" will require an ROI Descriptor with one(!) contour.
Could someone from NI please give me a link or a note about Match Score = -1000? Am I wrong? Is there anything else to consider? Thanks in advance.
Guenter