From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Area Image Magic Wand Example

 I would like to use the example of labview "Magic Wand Example" to calculate the area that was selected.

How could I do that.

 

Thank you.

 

Eliel

0 Kudos
Message 1 of 5
(2,419 Views)

Hello,

You just have to pass the binary image created by the magic wand function to the IMAQ particle Analysis Report. You will have your area in pixels in the first element of the array.

Regards

NTA_LabView_certified_Developper.jpg
0 Kudos
Message 2 of 5
(2,410 Views)

I was able to measure the area in pixels but how can i do measure in cm ²?

What should I do to turn PIXEL in  AREA (cm ²)

 

Thank you

 

Eliel

0 Kudos
Message 3 of 5
(2,404 Views)

Hello

You have to calibrate your image in order to have a conversion from pixel to real world unit or vice versa.

Check the examples for that.

Once your image is calibrated, every function that output measurement of any kind will do it in real world unit.

Regards

NTA_LabView_certified_Developper.jpg
0 Kudos
Message 4 of 5
(2,391 Views)

How can i do the calibrate in my image?

0 Kudos
Message 5 of 5
(2,372 Views)