Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

new to NI vision builder: Calculating the area of a component

Solved!
Go to solution

Hi all,

 

I am new to this whole NI vision builder. I would like to  know what are the steps that need to be taken to calculate an area of a component.

Thank you

0 Kudos
Message 1 of 3
(3,587 Views)
Solution
Accepted by stealthengineer

first you have to calibrate your image and after that if you want to do your calculation automatically should use some binary action and some particle detection algorithm exist in morphology 

Message 2 of 3
(3,566 Views)
Solution
Accepted by stealthengineer

The Detect Objects step located in the Locate Features tab returns the area of objects. As Hatef mentioned, you must calibrate the image first if you want to get results in real-world values.

Check out the following examples:

C:\Program Files (x86)\National Instruments\Vision Builder AI 2014\Examples\Calibrate Image Step Example.vbai

C:\Program Files (x86)\National Instruments\Vision Builder AI 2014\Examples\Detect Objects Example.vbai

 

Hope this helps.

 

Christophe

Message 3 of 3
(3,558 Views)