Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Need some help

I discovered that there is a line detector already in the IMAQ searching and matching palette. It seems to do a pretty good job. The attached vi lets you select line detection settings, open an image file, select of region of interest and then displays detected lines on the original image. Help text is selectable from the front panel. Experiment with the settings to improve the results. The line detection image updates as you adjust the settings.

root

 



Message Edited by Root Canal on 08-11-2008 02:25 PM

global variables make robots angry


Download All
0 Kudos
Message 11 of 16
(1,628 Views)
rss,

Probably the easiest way to check if these lines are parallel is to run a Find Straight Edge Step  for each line, then compare the angle of each line to one another. If the angle is the same they are parallel, if they are off by a certain tolerance then they are not parallel.

Does this make sense?
--Michelle

National Instruments
0 Kudos
Message 12 of 16
(1,614 Views)

Thanks for the help........line detection tool is working fine for this seat but not working properly for the other texture.....

 

Warm Regards

Orooj Ahmed

0 Kudos
Message 13 of 16
(1,595 Views)
Obviously I wont and it shouldnt.Can you elaborate on the "texture"?
0 Kudos
Message 14 of 16
(1,591 Views)

In version 8.5 of the Vision Development Module, NI introduced a new advanced straight edge detection tool that uses several different algorithms.  One of them is a Hough-based edge detector that worked very well on the three images in this thread.  In version 8.6, we included these algorithms in other edge dection tools like the circular edge detector.

 

Kyle V

0 Kudos
Message 15 of 16
(1,573 Views)
Nicely done! That's a very clean result.

global variables make robots angry


0 Kudos
Message 16 of 16
(1,564 Views)