キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

defect in golden comparison

解決済み
解決策を見る

Hey!

 

 

So the first VI is used for automatic creation of golden and pattern template. This VI creates template from an input image, puts mask over it (Default,Ignore,Edge) and saves it to a specific location. 

 

The other VI- the one for inspection uses vision assistant. In VA I use the input picture form a camera, make pattern matching using the template created in the previous VI(pattern), I set coordinate system on the best match, and then use this c.s. To reposition the template created in the previous VI(golden) to make golden template inspection.

 

So, this algorithm works fine most of the time, but sometimes there is a problem with golden template inspection. Match is found, c.s is set, but when I use the template created in the previous VI, the region where there is no mask(pixels set to 0 in mask) are shown/presented as a defect. This happens quite often(one of ten inspections). Why is this region shown as a defect since there is no defect there. I made an inspection on the same peace several times and sometimes there is a defect and other times everyting is ok.

 

I am not allowed to post printscreens or VI's, since this is a commercial project. I am sorry, but please help me, ask questions etc. I have to solve this problem.

 

Thank you!

 

Matej

0 件の賞賛
メッセージ1/10
5,246件の閲覧回数
Can you attach the image and the template that you have used?
0 件の賞賛
メッセージ2/10
5,244件の閲覧回数

In this rar file there is the input picture from camera, matching template with vision info and golden template with vision info.

 

http://www.box.net/shared/v74t9mebkr


One thing that I discovered from my last post is, that  if I put Moms "Wait for ms next multiple"  (delay) in each sequence,  the algorithm works fine. What happens?

 

Tnx

 

Matej

0 件の賞賛
メッセージ3/10
5,234件の閲覧回数
I ment 10 ms, not M0ms 🙂
0 件の賞賛
メッセージ4/10
5,233件の閲覧回数

blo.JPG

 

I get this. You are you complicating it . You can directly attach the images use "add attachments" seen Below the post button.

0 件の賞賛
メッセージ5/10
5,230件の閲覧回数
here they are..
すべてをダウンロード
0 件の賞賛
メッセージ6/10
5,227件の閲覧回数
I dont see any difference difference other than the file size in your attached first two picture. Can you explain what you are trying to find out? I also feel the pattern is two similar in the whole image and will add confusion when you use pattern matching. Can you give details like what is your final goal?
0 件の賞賛
メッセージ7/10
5,215件の閲覧回数
Open them in Template editor and you will see the difference.
0 件の賞賛
メッセージ8/10
5,186件の閲覧回数

Dear mate47,

 

  I saw your first post, that you can't upload anything confidential but I think we would succeed in solving your problem faster if we had at least the small 4 step script that you described. Can you prepair that script that will reproduce your issue for us please!

 

Thanks!

 

David Varga

Applications Engineer

NIH

0 件の賞賛
メッセージ9/10
5,079件の閲覧回数
解決策
受理者 mate47

Dear DavidVr,

 

 

I noticed that if I split one template in two everything works fine. So I think the problem was that I saved Pattern matching template and golden tamplate in the same file, althougt the picture was the same. So now when I run the VI for automatic creation of templates it saves the two temlates as a two seperate files and everything is OK. Thank you!

 

 

Matej

0 件の賞賛
メッセージ10/10
5,074件の閲覧回数