Results 1 to 7 of 7
Thread: finding area of something

Enjoy an ad free experience by logging in. Not a member yet? Register.



08062003 #1
finding area of something
http://www.angelfire.com/nd2/kylekon...18FM64test.jpgBIG K aka Kyle
Programming Forums
www.kylekonline.com
Please don\'t PM me for help ask in the forums instead!

08062003 #2
 Join Date
 Jun 2003
 Location
 Calgary, AB CANADA
 Posts
 496
Do you know spline theory?!?
Theorectically, the only way of figuring that out is through an approximation. Break it up into smaller pieces that you can easily find the area of (like squares, triangles, or other polygons) and get them as close as possible to the actual shape. With that picture you supplied, it's not going to be easy.
However, this might be worth a try:
Is this is a physical object you have access to? If there's some depth to it, and it's a consistant shape (same cross section all the way down) you could try filling it will liquid. Measure the amount of liquid to fill it, divide by the length and the result should be the area. Just have to watch out for units and conversertions...
g/l
\"Everything should be made as simple as possible, but not simpler.\"
Albert Einstein

08062003 #3
actaully, i guess it is a physical object but it is a terminal that has had a picture take of the cross section. the camera that took the picture is a special camera and magnifies the object that is in the picture is about this size.
this is in Inches jst so you know
Height .038"
Width .058"
and i have to write a vb program that will find the area of alot of these cross sections. it must be possible cause they have found a program that they could buy that would do this but they dont want to fork out $50,000 . the area doesnt have to be perfect the only reason they want the area is so they can see if the wires lost 25% of of the area they had before be terminated. so i was hoping there would be a good way i could do this will calculation that VB could handle.
i will look into that spline theory and see if i can use that thanks copper.
edit: i believe that photo is magnified 46 times. but not exactly sure.BIG K aka Kyle
Programming Forums
www.kylekonline.com
Please don\'t PM me for help ask in the forums instead!

08062003 #4
 Join Date
 Jun 2003
 Location
 Calgary, AB CANADA
 Posts
 496
Ahh, the actual difficulty in your problem rears it's ugly head.
/methinks this may be beyond what a VB program can handle. I'd guess that you'd need the computing power of Maple(my personal fav  Yeah Canada!) or Matlab. BTW, you're still looking at a few thousand bucks for these programs...
And in case I haven't already crushed your spirits, here's a taste of what spline theory is about:
Cubic Spline Interpolation
This approach will approximate your curve with a spline function, from which some highpowered math can solve for such things as area.
Maybe something simpler in VB will give a close enough approximation.
Let us know how you get on with it!\"Everything should be made as simple as possible, but not simpler.\"
Albert Einstein

08062003 #5
well that kind of sucks. im sure there has be to a way to find the area. i will let you know what i come up with. thank copper
BIG K aka Kyle
Programming Forums
www.kylekonline.com
Please don\'t PM me for help ask in the forums instead!

08062003 #6
 Join Date
 Jun 2003
 Location
 Calgary, AB CANADA
 Posts
 496
n/p  just wish I had a better answer for you.
If I think of anything else, I'll let you know...\"Everything should be made as simple as possible, but not simpler.\"
Albert Einstein

08062003 #7
 Join Date
 Jul 2003
 Location
 N/A
 Posts
 10
davidoff to the rescue!
I've done quite a bit of work in image analysis and so on and know of just the solution you're looking for. If you can get some way to calibrate the image (e.g. get the guy taking the picture to include a ruler in the shot), then you can use a program called tnimage to determine the area you're searching for. It takes a bit of learning, but I've used it in doing things like laser beam profiling, analysis of diffraction patterns, etc. Check out the following link:
http://entropy.brnijhu.org/tnimage.html
Again, this is a complicated bit of software, so think before you decide to commit to using it.