01-08-2010 09:20 AM
01-08-2010 12:04 PM
01-10-2010 10:10 PM
Can I hold many images in Golden template as reference image?
and compare those with the single acquired image??
01-10-2010 10:43 PM
01-11-2010 01:16 AM
01-11-2010 08:50 AM
Parvathi wrote:
still it is not solving the sorting issue. There should be some means to go with the diameter of the coins. will thresholding , particle filter or particle filter take care of that
I am going to tell this one last time. You cant measure using template matching.You can measure using particle filter. Can you post what you have tried?
01-11-2010 08:55 AM
guangli wrote:Hi, Muks,Thank you very much for your reply and kindness!I'm not sure if I need to open a new thread for the following question?I kind of have the same error with Error Message -1074395247: Invalid template descriptor .this error is not because I run the code likes " Pattern matching example".It is because I get the static image a few minutes when USB camera is on. And I use command "CWIMAQVision.ReadImageAndVisionInfo", which need to set the path. In my case, I don't have to save the image. The only what I need really is a temp image to get the position of point such as the centroid.Likes this coin sorter, we only need to get a temp image and compare it with template, which may extract from the first image of one coin. So, we don't have to save these images, right? I am stuck by this for a long time.Thank you very much!Guangli
Do you mean to say you want to create templates dynamically?
01-11-2010 10:15 AM
Muks, Thank you for asking!
No, I just want to get the template in first shot from UAB Cam. Then I will get static image per minute(example) from USB Cam. I will search template in these static images right after I got one. I will tell the position when I find the template. Actually, the template is only one point with some stuff, like braiding point with braids. After I get the position, I will decide to tell how the motor move.
01-11-2010 10:40 PM
guangli wrote:Muks, Thank you for asking!
No, I just want to get the template in first shot from UAB Cam. Then I will get static image per minute(example) from USB Cam. I will search template in these static images right after I got one. I will tell the position when I find the template. Actually, the template is only one point with some stuff, like braiding point with braids. After I get the position, I will decide to tell how the motor move.
can it be done in this way
1. You create a template.
2. The position accuracy you determine by thresholding and particle analysis.
3. You apply the template to see the match.
01-12-2010 09:42 AM