02-16-2009 08:38 AM
Hi,
Briefly speaking, I have two shapes (images included). I'd like to match them with color template (done easily with Color Pattern Matching). I thereafter want to measure the length of each side (maybe using rake better than caliper I think since the actual images may not form perfect straight line).
So this could be smmarised in :
I know it is very trivial process. I blame myself for being away from IMAQ for 3 months. I'm under stress and hope to receive this help from my friends here.
I hope you can post "the solution project" and not only ideas. Thanks colleagues.
02-19-2009 02:18 PM
What if you use CWIMAQPatternMatchReportItem.BoundingPoints to create another region for the rake or caliper...
Basically the steps are...
- Find color pattern
- use CWIMAQPatternMatchReportItem object to obtain detected pattern coordinates
- create a new region(s) based on the pattern coordinates for the Rake method to measure the sides
- display results
If I get a chance I'll try and create a simple application, looks like an interesting project...