Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

curve detection

Hi evryone

Can some tell me or its possible to detect and calc a curve and display a result

 

like this curve has a radius     22  meters

 

so i want to know or its possible to do this with vision

 

 

0 Kudos
Message 1 of 8
(4,285 Views)

sorry here the original file

0 Kudos
Message 2 of 8
(4,270 Views)

cees10,

 

You can find and measure curves in an image using the IMAQ Find Circular Edge 2 VI.  This VI allows you to select an area of interest and finds a circular edge and returns information about that edge including the radius in pixels.  It is possible to calibrate your system to convert the pixel value into a real life measurement.  Belos is a link the the help file for IMAQ Find Circular Edge 2 VI.  It contains more information about how it works.

 

IMAQ Find Circular Edge 2 VI

http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/imaq_find_circular_edge_2/

 

Regards,

 

Sam K

Applications Engineer

National Instruments

www.ni.com/support

0 Kudos
Message 3 of 8
(4,232 Views)

i trid and tried   did not succeed

meaby i took the wrong module  is it possble to point out in a  pic   with item should pick   (since there is no circle)  only a curve

0 Kudos
Message 4 of 8
(4,221 Views)

cees10,

 

The IMAQ Fit Circle 2 VI may be of use to you.  This VI takes a set of 3 or more points and tries to fit a circle to them.  It returns the center, radius, area and perimeter.

 

IMAQ Fit Circle 2 VI

http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/imaq_fit_circle_2/

 

Regards,

 

Sam K

Applications Engineer

National Instruments

www.ni.com/support

0 Kudos
Message 5 of 8
(4,216 Views)

sammy thanks for the answer

but did you tried this with my example 

and did you succeed with it?

 

if so can you sent me a screendump of it.

regards

cees

0 Kudos
Message 6 of 8
(4,210 Views)

Cees10,

 

I did not try this with your specific image.  You should be able to get this to work with your image, however it would help if there was more curvature to the image.  You may want to try to get a more 'zoomed out' image if possible.

 

Regards,

 

Sam K

Applications Engineer

National Instruments

www.ni.com/support

0 Kudos
Message 7 of 8
(4,186 Views)

well thats one of my problems 

 

The first image it totaly zoomed out

the last one is a zoomed in 

 

and the curve is 22 meter    /radius

 

i can not get it to work   because   it seems that vison sees it like a straight line     (but its not)

 

0 Kudos
Message 8 of 8
(4,181 Views)