comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: the length of line
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: the length of line [message #31051 is a reply to message #31046] Tue, 04 June 2002 08:25 Go to previous messageGo to previous message
Xiaoying Jin is currently offline  Xiaoying Jin
Messages: 20
Registered: May 2002
Junior Member
"Kenneth P. Bowman" <kpb@null.com> wrote in message
news:kpb-232A7A.07172004062002@corp.supernews.com...
> In article <adgr20$5r5$1@dipsy.missouri.edu>,
> "Xiaoying Jin" <xje4e@mizzou.edu> wrote:
>
>> How can I trace this line and get the length of the line?
>
> With n pixels at coordinates (i,j)
>
> length = TOTAL(SQRT((i[0:n-2]-i[1:n-1])^2 + (j[0:n-2]-j[1:n-1])^2))

In that case, you still need to trace the line and order the points on the
line. That's my question.
And in my case, there are a lot of branchs on the line, we still need to sum
the length of these branchs up.

Xiaoying Jin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to modify the default 'printf' format
Next Topic: segmentation of more channel images

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:59:27 PDT 2025

Total time taken to generate the page: 0.88684 seconds