Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Gige + pattern matching

 Hi all,

 

           I am new to Labview image processing . 

           i need to achive pattern match. from that i need to find fiducail location . but here i am facing some problems like .

 

           1. aquiring image is corrupted like black lines (i am using GigE camera 5MP 2/3" ) . 

           2. here i am doing pattern match by live grab method ( like continous aquring) . so that my CPU uasge is reachs nearlly  90 %

           3. my task is to find fiducail using pattern match from that i need to assign ROI for main pattern  (is it possible to snap image -> pattern match - > result) 

           

            i have attached my vi code and image .. 

Download All
0 Kudos
Message 1 of 9
(5,515 Views)

The "corrupted black lines" come from packet loss over your Ethernet connection. Try using good cables, don't bend them too much.

Have you allowed Jumbo frames of maximum size in your network card?

.. But the most important thing is to adjust the "Peak Bandwidth"-one of the Advanced Ethernet parameters in GigE. Turn it down from 1000 to 200 or something like that.

0 Kudos
Message 2 of 9
(5,483 Views)

Hi . MY gIgE camera Sentech GE500A take long time to acquire single image .. 5000ms . I am using Cat70 Ethernet Cable 

0 Kudos
Message 3 of 9
(5,463 Views)

Hi please learn basics and then apply over...

1)What are the black lines in image? you didn't provide any screenshot/corrupted image.
    -Are you getting images properly NI MAX?

    -Did you allow jumbo packets ?

2)Please understand what is grab and snap by using built-in examples provides. And your cpu usage is not because of continuous acquisition.

   -I cannot comment on the cpu usage now, but sure it's not because of gab.

   -Use producer-consumer pattern to do parallel acquisition and processing.

3)Once you understand the difference between grab and snap, this you'll understand automatically.

Thanks
uday
0 Kudos
Message 4 of 9
(5,458 Views)

Hi Uday , 

        

           1.  do you have any example file  producer-consumer pattern to do parallel acquisition and processing 

            2.  have you got solution for your own thread http://forums.ni.com/t5/Machine-Vision/Profile-Performance-in-LabVIEWvs-Performance-meter-in-Vision/...   

0 Kudos
Message 5 of 9
(5,449 Views)

i found the rason for the Black line (corrupted image) my Lan Driver is Problem so i goes to (100% usage so i am facing frame loss)  ,

 

and windows 8 also one of the reason ,

 

another PC with Windows 7 64 bit . i am not seeing any corrupted image .. 

 

 

0 Kudos
Message 6 of 9
(5,448 Views)

-For overview on design patterns: http://www.ni.com/white-paper/7605/en/ 
-For producer-consumer design pattern:https://www.ni.com/en/support/documentation/supplemental/21/producer-consumer-architecture-in-labvie...
-Well for that answer is, you are not supposed to compare and at the same time "The smallest resolution in LabVIEW's profile is 15.6 msec." so if you have to find time you have to use tick counts or other methods...What's your question in it?

Thanks
uday
0 Kudos
Message 7 of 9
(5,441 Views)

hi uday,

 

   Image Grab.png

 

       Is this formate is correct for image Grab ?

0 Kudos
Message 8 of 9
(5,319 Views)

Hi uday,,

 

       i need to do Program like this

 

       [START] -  [SNAP] - [ PATTERN MATCH] - [RESULT].

 

 

     1.HOW TO DO THIS IN Producer and consumer Loop.

     2. Is it Possbile to have more than One Consumer loop (One for teach ROI location and create template ) other for Main Pattern match.

     3. is it possible to have Event Structure in Consumer loop

 

 

0 Kudos
Message 9 of 9
(5,317 Views)