Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how to test line's length

Solved!
Go to solution

hello everyone,

                          I want to test the line's length ,the picture as follow, i use Ni vision assistant to do it ,but i can't get the result, Any help is very grateful,

Download All
0 Kudos
Message 1 of 3
(2,549 Views)
Solution
Accepted by topic author longzeng1981

Hi longzeng,

 

Are you still looking for a solution to this problem. I think the best method in Vision Assistant will be to threshold the image and then perform a particle analysis on the result. The Particle Analysis step will have a very large selection of possible outputs. I have selected those that will likely be of the most interest in the Vision Assistant script attached below. You may need to do some tweaking to get reliable and consistant performance from the thresholding step, but I believe this will perform the functionality you are seeking.

 

Please let me know if you have any questions on this.

 

Thanks,

Matt
NI Community Team
National Instruments
0 Kudos
Message 2 of 3
(2,510 Views)

Hi Matt,

             thanks for your help, This method is very good.

0 Kudos
Message 3 of 3
(2,506 Views)