|
|
|
|
|
|
| Author |
Message |
Speed *nix forums beginner
Joined: 16 Feb 2006
Posts: 4
|
Posted: Thu Jul 20, 2006 1:50 pm Post subject:
Center of Contour
|
|
|
Hi,
Could you please tell me what is the most efficient way of finding the
center of mass of the area enclosed by a closed contour.
I have a considerable circular region with streaks coming out of it in
either direction. Basically i want to find the center of the circular
region but it is getting offset due to the presence of connected
outlier segments.
I am working with binary images only.
Thanks a ton,
Soumyadip. |
|
| Back to top |
|
 |
Victor Bazarov *nix forums Guru
Joined: 07 Apr 2005
Posts: 3949
|
Posted: Thu Jul 20, 2006 1:54 pm Post subject:
Re: Center of Contour
|
|
|
Speed wrote:
| Quote: | Could you please tell me what is the most efficient way of finding the
center of mass of the area enclosed by a closed contour.
|
Uh... What's the *C++ language* question here, again?
| Quote: | I have a considerable circular region with streaks coming out of it in
either direction. Basically i want to find the center of the circular
region but it is getting offset due to the presence of connected
outlier segments.
I am working with binary images only.
|
Good for you. Now, find a better place to ask your math question. I
can recommend to start in 'sci.math' newsgroup hierarchy.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask |
|
| Back to top |
|
 |
Robbie Hatley *nix forums Guru Wannabe
Joined: 12 Jun 2005
Posts: 174
|
Posted: Thu Jul 20, 2006 6:08 pm Post subject:
Re: Center of Contour
|
|
|
"Speed" <lostandhappy@gmail.com> wrote:
| Quote: | Could you please tell me what is the most efficient way of finding the
center of mass of the area enclosed by a closed contour.
|
As Victor mentioned, "sci.math" would be a good place to ask.
Also look-up "center of mass" in a calculus textbook.
Also try asking general programming and algorithm questions in
the "comp.programming" newsgroup.
Also try running the following search on www.google.com :
"center of mass" algorithm
Once you have an algorithm, and have implimented it in C++, if you
have problems with it, come back here and paste your code and ask
your C++ language questions here. :-)
--
Cheers,
Robbie Hatley
Tustin, CA, USA
lonewolfintj at pacbell dot net
(put "[usenet]" in subject to bypass spam filter)
http://home.pacbell.net/earnur/ |
|
| Back to top |
|
 |
Mark P *nix forums Guru Wannabe
Joined: 24 Mar 2005
Posts: 296
|
Posted: Fri Jul 21, 2006 12:06 am Post subject:
Re: Center of Contour
|
|
|
Speed wrote:
| Quote: | Hi,
Could you please tell me what is the most efficient way of finding the
center of mass of the area enclosed by a closed contour.
I have a considerable circular region with streaks coming out of it in
either direction. Basically i want to find the center of the circular
region but it is getting offset due to the presence of connected
outlier segments.
I am working with binary images only.
Thanks a ton,
Soumyadip.
|
If you have the contour then you can find the COM by integrating over
the boundary. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Mon Dec 01, 2008 7:56 pm | All times are GMT
|
|
Loans | Credit Counseling | Personal Loans | Loans | Personalized Gifts
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|