LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi guys. Please help calculate the area of round shapes and elongated rods.

Please help calculate the area of round shapes and image-23379M616.jpgimage-23379M612.jpgelongated rods.

0 Kudos
Message 1 of 9
(3,781 Views)

If you are Hiring, you posted this in the wrong Forum (see LabVIEW Developers Seeking Employment, below).  If you are asking for help with code you are developing yourself, you forgot to post your code and to focus on the specific issue giving you problems.

 

Bob Schor

0 Kudos
Message 2 of 9
(3,776 Views)

Round shapes: A = pi . r^2 (approximate as circles)

Rods: A = L . W (approximate as rectangles)

0 Kudos
Message 3 of 9
(3,706 Views)

Or just count the number of pixels comprising the desired shape. (I assume you can identify the outline of the areas of interest by some algorithm).

Since the image is quantized to pixels, you won't get much more accurate than that.

0 Kudos
Message 4 of 9
(3,682 Views)

Have a look at the NI Vision software, or the open source "ImageJ" application (I used both for similar tasks during my PhD and they work nice + easy learning curve).

 

 

0 Kudos
Message 5 of 9
(3,660 Views)

лабй.jpg

0 Kudos
Message 6 of 9
(3,607 Views)

How do I count on your formula? To enter this formula?

0 Kudos
Message 7 of 9
(3,605 Views)

In order to use the formulas, you need to fit the relevant image parts to a 2D model that contains the desired parameters. It also assumes that the areas are perfect circles or perfect rods, which does not seem to be the case. I think counting pixels as suggested is sufficient. To get the actual area, you need to know the area/pixel.

0 Kudos
Message 8 of 9
(3,573 Views)

Here's a very simple draft how you could calculate the area percentange of pixels that are darker than a certain threshold. Maybe it can give you some ideas.

 

 

Download All
0 Kudos
Message 9 of 9
(3,561 Views)