11-10-2010 03:16 PM
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
11-10-2010 05:55 PM
sorry here the original file
11-11-2010 10:02 AM
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
11-11-2010 12:14 PM
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
11-11-2010 01:21 PM
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
11-11-2010 03:41 PM
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
11-12-2010 09:28 AM
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
11-12-2010 09:35 AM
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)