Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

In Pattern matching angle remains Zero even if the rotated

Solved!
Go to solution

in example find pattern matching the angle remaings zero .. even the image is rotated 

0 Kudos
Message 1 of 7
(5,232 Views)

Hello,

 

are you using rotation invariant method (also for template calibration)?

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 7
(5,224 Views)

hi Klemen,

        1.    in vision assistant if i enable Rotate and search . the angle is able to find ..

        2.   and also i have to give proper template (template created by vision assistant) ..

 

So . I need to help regarding template creation for pattern matching . Do YOU HAVE ANY vi CODE THAT CREATE AND SAVE TEMPLATE FROM Live Camera Image (Grab ) ..

 

 (Note : in example file of vision i found some code in create template . that one is single image snap and also in event Structure..)

 

 

 

    

0 Kudos
Message 3 of 7
(5,215 Views)
Solution
Accepted by topic author SaranVenkateshS

Hello,

 

see a simple example in the attachment (saved for LV 2012).

Yes, you could also use event based structure.

 

Hope this helps.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
Message 4 of 7
(5,205 Views)

hi Klemen,,

       

              Thanks a lot for you kind response ..

              I am going to work with vision and motion based project (GigE) Camera ..

              How to frame the code for Vision and motion ?

              How to do Camera Calibration for (1mm x 1mm)?  ( In website i have seen some Calibrationn Grid Image )

              

           

            

0 Kudos
Message 5 of 7
(5,196 Views)

hi Klemen,

 

       for finding angle (rotation invariant method) . whats the angle range i should specify

 

 

0 Kudos
Message 6 of 7
(5,184 Views)

Hello,

 

depends on the degree of rotation you expect. Selecting a wider interval of angles, the detection speed will also decrease.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 7 of 7
(5,171 Views)