Re: How to determine the roundness of a region
- From: Falco Hirschenberger <hirsch@xxxxxxxxxx>
- Date: Tue, 18 Mar 2008 15:43:38 +0100
lomas wrote:
Given a fully connected region, how to determine its roundness within
short time.
Hough Transform is not practical because I can't afford the time-cost
I am trying to solve this problem with the theorem: area of a square
is 4/pi of area of its inner circle.
It indeed holds some obvious faults.
Any suggestion is appreciated!
Best Regards,
LOMAS
There's a roundness formparameter derived from the perimeter and the area of
an object:
c = p^2/A
it is 4pi for perfect circles, 16 for squares and 12sqrt(3) for triangles.
Another way is by using Moments which describe excentricity:
e = ((my(2,0)-my(0,2))^2 + 4my(1,1)^2) / (my(2,0) + my(0,2))^2
e is 0 for circles and 1 for lines.
For more info see: Bernd Jähne "Digital image Processing" (2002)
Greetings,
Falco
.
- References:
- How to determine the roundness of a region
- From: lomas
- How to determine the roundness of a region
- Prev by Date: Re: ASTER influence of pointing angle on reflectance
- Next by Date: Re: Real-time JPEG decompression
- Previous by thread: Re: How to determine the roundness of a region
- Next by thread: Re: How to determine the roundness of a region
- Index(es):
Relevant Pages
|
|