Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use IMAQ Dtect Shapes.vi

Solved!
Go to solution

hello everyone,

                        I'm learning NI Vision, i don't understand how to use IMAQ Dtect Shapes.vi to detect shape, such as lines, ellipses, who can give me an example, thanks.

0 Kudos
Message 1 of 4
(4,883 Views)
Solution
Accepted by topic author longzeng1981

Hello,

This function uses the edges of the object and tries to fit them with different shapes such as cirles, lines or rectangles.

First you have to set the parameters to extract the edges of your objetcs. You specifie the threshold (in order to find the correct edges of your object). Then you can choose the parameters of the shape to fit. For example if you want to fit with a circle, you set the min and max possible radius.

 

Try this with vision assistant, it will be easier. And try it with well contrasted images too.

Regards

NTA_LabView_certified_Developper.jpg
Message 2 of 4
(4,880 Views)

thanks, I find it

0 Kudos
Message 3 of 4
(4,873 Views)

Hello,

 

Is there any documentation as to what underlying conceptual method is being used for the detection and geometric fitting? I am performing sensitive camera calibration applications and require high accuracy, and would like to know what the program is doing under the hood.

 

Thank you,

AC

0 Kudos
Message 4 of 4
(4,596 Views)