[algogeeks] Re: arc length

2008-01-07 Thread hc busy
Now it's harder. For arbitrary image, you'll have to identify where the circle is. But Jame's answer seems fine if the ONLY thing on the picture is the circle and the two segments. just look for the left most intersection and the right most intersection then follow the line. On Jan 4, 5:15 pm,

[algogeeks] Re: arc length

2008-01-06 Thread Daniel Bastidas
Hi. Ok it is a extreme solution but I will try. thanks. bye On Jan 6, 2008 7:34 AM, drugz' <[EMAIL PROTECTED]> wrote: > > Hello Daniel, > > You can follow Hough Transform for line detection. > > These two lines from center to circumference will be become two points > on the Hough Transform Axes.

[algogeeks] Re: arc length

2008-01-06 Thread drugz'
Hello Daniel, You can follow Hough Transform for line detection. These two lines from center to circumference will be become two points on the Hough Transform Axes. By comparing the thetas(on theta axis of Hough transform) of these two points correspondign to each line, you can find out theta r

[algogeeks] Re: arc length

2008-01-05 Thread Daniel Bastidas
Hi. No. The radius that I talking about is the radius of the circumference, is the only thing that I know in the original picture, I don´t know the angle theta, I don´t know the intersecting points between lines and circumference. I know that I need to find theta to calculate the arc length but I d

[algogeeks] Re: arc length

2008-01-05 Thread drugz'
Which ratio are talking about ? Do you mean, ratio of Arc length with Circumference? On Jan 5, 8:29 pm, "Daniel Bastidas" <[EMAIL PROTECTED]> wrote: > Hi. > > Sorry for my poor english, maybe I don´t  explain me well. > Ok, if A is the area of the circumference then: > *A = PI*r^2* and *r* =

[algogeeks] Re: arc length

2008-01-05 Thread Daniel Bastidas
Hi. Sorry for my poor english, maybe I don´t explain me well. Ok, if A is the area of the circumference then: *A = PI*r^2* and *r* = radius of the circumference as shown in figure So a mathematic expression for the radius will be: *r = (A/PI)^1/2* If C is the circumference, *C = **2 * PI * r*

[algogeeks] Re: arc length

2008-01-05 Thread chandra kumar
Hi, By ratio of circumference, I assume L / C (i.e. the ratio of L:C) You mentioned that you know that ratio i.e., you know L / C = k,where k is the ratio of L to C which impliesL = k * C Then by the circumference formula C = 2 * PI * r L = k * 2 * PI * r By any cha

[algogeeks] Re: arc length

2008-01-04 Thread Daniel Bastidas
ups.. sorry When I said radio I wanted to said ratio or radius of circumference. for clarify. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@goo

[algogeeks] Re: arc length

2008-01-04 Thread Daniel Bastidas
Hi Chandra, I think that it is necessary find the angle theta, because the arc length depends on that. When I said radio I wanted to said ratio or dadius of circumference. bye. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[algogeeks] Re: arc length

2008-01-04 Thread Daniel Bastidas
Hi everybody. thanks for reply. Clarification: 1. When I said radio I wanted to said ratio of circumference. (sorry) 2. I am not solve the problem for this specific picture, I try to solve for any picture. Chandra could you explain me why L = k*C? I can see it. thanks again and happy new year f

[algogeeks] Re: arc length

2008-01-04 Thread hc busy
If you can scan pixels, why not just count # of pixels in the arc and multiply by size of each pixel? finding line intersection seems like a hard thing especially on a scanned image like this one. oh wait minute, it's an image... do you mean you want to find the ratio of arc to circumference?

[algogeeks] Re: arc length

2008-01-04 Thread chandra kumar
Hi, I assume radio or circumference as ratio of circumference and take that as L / C = k , where k is the ratio of circumferece and C is the circumference If so then C = 2 * PI * r L = k * C = k * 2 * PI * r But I'm not sure that my assumption is right or i

[algogeeks] Re: arc length

2008-01-03 Thread James Fang
It’s possible. Scan the digital picture pixel by pixel and line by line until you find the first line with two black pixels ( the adjacent pixels is counted as only one ),name the two pixels a1(xa1,ya1) and b1(xb1,yb2), continue scaning and you will get a2(xa2,ya2) and b2(xb2,yb2), a3(xa3,ya

[algogeeks] Re: arc length

2008-01-03 Thread Arun
hmmm, how can u find w/o knowing theta? otherwise, 2*pi*r*(theta/360) On Jan 3, 2008 6:18 PM, Daniel Bastidas <[EMAIL PROTECTED]> wrote: > Hi everybody. > > How can I find the arc length (L) in the picture attach if the only thing > I know is the radio of circumference. > I don´t know the coorden