Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > The Coffee Lounge
Reload this Page finding area of something
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Coffee Lounge General chat about anything that goes, a good place to introduce yourself and say hi, tell a Joke, or just relax.

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-06-2003   #1 (permalink)
Linux Engineer
 
big_k105's Avatar
 
Join Date: May 2003
Location: Fargo, ND
Posts: 901
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
finding area of something

ok i couldnt think of where else to go so can some one here help me find the area of this white area in the picture. or on any odd shape like this with no set number of sides
http://www.angelfire.com/nd2/kylekon...18FM64test.jpg
__________________
BIG K aka Kyle
Programming Forums
www.kylekonline.com
Please don\'t PM me for help-- ask in the forums instead!
big_k105 is offline   Reply With Quote
Old 08-06-2003   #2 (permalink)
Linux User
 
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
CopperTop is offline   Reply With Quote
Old 08-06-2003   #3 (permalink)
Linux Engineer
 
big_k105's Avatar
 
Join Date: May 2003
Location: Fargo, ND
Posts: 901
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
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!
big_k105 is offline   Reply With Quote
Old 08-06-2003   #4 (permalink)
Linux User
 
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 high-powered 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
CopperTop is offline   Reply With Quote
Old 08-06-2003   #5 (permalink)
Linux Engineer
 
big_k105's Avatar
 
Join Date: May 2003
Location: Fargo, ND
Posts: 901
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
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!
big_k105 is offline   Reply With Quote
Old 08-06-2003   #6 (permalink)
Linux User
 
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
CopperTop is offline   Reply With Quote
Old 08-07-2003   #7 (permalink)
Just Joined!
 
Join Date: Jul 2003
Location: Cork, Ireland
Posts: 10
Send a message via ICQ to davidoff404
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.brni-jhu.org/tnimage.html

Again, this is a complicated bit of software, so think before you decide to commit to using it.
__________________
--------------
davidoff404
========
davidoff404 is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 01:28 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0