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

Home » Public Forums » archive » the length of line
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
the length of line [message #31063] Mon, 03 June 2002 15:42
Xiaoying Jin is currently offline  Xiaoying Jin
Messages: 20
Registered: May 2002
Junior Member
Hi, there,

I have an image having a line on it. The line has one-pixel width. The
approxiamate method to calculate the length of the line is like this:
the length is calculated as the sum of distances between adjacent pixels on
the line, where 1 is the vertical or horizontal distance between adjacent
pixels and sqrt(2) is the distance between pixels on diagonals.

My question is:
How can I trace this line and get the length of the line?

Any suggestion will be appreciated.

Regards,

Xiaoying Jin
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: bwfill in IDL?
Next Topic: READF data containing numbers and strings

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

Current Time: Fri Oct 10 13:34:17 PDT 2025

Total time taken to generate the page: 0.47911 seconds