ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting a threshold object's height and width

Solved!
Go to solution

Hey there guys,

 

I'm currently working on human sillouhette extraction. I'm currently trying to extract the height and width of a human sillhouhette for further analysis. Are there any built in VIs for this? Or can anyone of you recommend a method? I really need help. The 2 images below should illustrate what I'm talking about. Do note that I have multiple (varying) images to analyse.. a video. Help is really appreciated. Thanks.

 

Regards

Download All
0 Kudos
Message 1 of 4
(3,457 Views)
Solution
Accepted by theriver

This task could be perform with IMAQ Particle Analysis Report.vi.

Please note that this VI is installed with Vision Development Module.

0 Kudos
Message 2 of 4
(3,436 Views)

Hi Kate,

 

Is there a way to extract the data from the report? Let's say I want to obtain the values of 'Height' and 'Width' so I can imput it into a chart or spreadsheet. I've tried unbundle and cluster to 1D array but I can't seem to get it. Thanks.

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

edit: Manged to use Particle Analysis.vi to complete the task. Thanks.

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