Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

creation of multiple geometric template

Solved!
Go to solution

i also have a dobut

is it possible to create a circular  ROI when searching for geometric template.

bcoz if i am able to give oly the coin as the ROI , it would be easy to match the template and get accurate results.

-$hiv@
0 Kudos
Message 11 of 17
(1,377 Views)

Hi,

 

No, the ROI passed to the Match Pattern Vi must be a Rectangle or Rotated Rectangle and unfortunately, this VI does not take a mask as an input parameter.

Similarly, template can only be rectangular regions. However, when you define a template, you can define regions to ignore in the Customize Scoring tab of the NI Vision Template Editor to ignore the information located in the corner of the rectangular region if the data that defines the template is located in a circular region inside the rectangular area.


Christophe

0 Kudos
Message 12 of 17
(1,374 Views)

Thank you christophe

i am done with the algorithm and software part.

now all i have to do is to setup my hardware.

could u help me with it

first of all i need a conveyor to carry my coins and once the coin comes under my camera i have to detect the coin and stop the conveyor

the after the coin is analysed , it must be classified, i.e to be given to a sorting system.

 

-$hiv@
0 Kudos
Message 13 of 17
(1,371 Views)

Hello , 

 

         I have to match multilple geometric pattern which includes nut, bolt, clamp, washer and plate . I  made  their templates in feature based geometric matching using NI Template editor  . I also made a VI related to it by the help of " Match Multiple Geometric Pattern.vi"  which is in examples of LabVIEW 2012. 

 

But the problem is  ,  it doesnot shows any respected matches .

  I am attaching my templates and respected vi.

Please suggest me valuable solutions regarding the same.

 

Thanks

Download All
0 Kudos
Message 14 of 17
(1,297 Views)

-Please refere to this first for more info on Geometric matching and it''s variants. http://zone.ni.com/reference/en-XX/help/372916L-01/nivisionconcepts/geometric_matching_technique/#ch...
-You provided only templates and not sample images please provide those too.
-Does it show any error or simply doesn't give any result?
-One simple reason is the curves/ edges extracted in template doesn't match with curves extracted in image hence no matches will be found.
-So, you need to create template carefully first.

 

P.S. you don't have to post the same query in mutliple posts.

Thanks
uday
0 Kudos
Message 15 of 17
(1,287 Views)

Hello,

         I have to perform the task in live acquisition of camera so doesn't provide you sample images. The program is running succesfully but it doesn't shows any match. 

 

I have created two VI . 

1. I used Match multiple geometric pattern vi and used feature based technique in NI template editor .

2. I used Match geometric pattern 2 vi and used edge based technique in NI template editor .

Both  vi are showing no results.

 

I am attaching my both vi and templates. 

Please help me in finding the respected solution.

 

Download All
0 Kudos
Message 16 of 17
(1,278 Views)
-Couple of things to note: you want to use multiple geometric pattern search, but you have given one single template to IMAQ Match geometric pattern 2.vi
-Setting up the match geometric option is different from Learn geometric option.
-Please take a relook at each subvi used in example properly.
-the example is very much clear.Use most of the same subvis in example.
-concentrate on one may be edge based first then go to other to tryon.
Thanks
uday
0 Kudos
Message 17 of 17
(1,275 Views)