[Insight-users] Centerline length of a "pipe"

Luis Ibanez luis.ibanez@kitware.com
Wed, 09 Apr 2003 23:37:27 -0400


Hi Ramu,

Is the pipe like a hollow tube ?
or is it like a solid bar ?

You may want to take a look at the
Curve2DExtractor application in

InsightApplications/Curve2DExtractor
http://www.itk.org/HTML/Curve2DExtraction.htm

The process in this application can be
generalized to 3D. The only extra piece
of code to write is a filter that compute
eigevalues of 3x3 matrices.

You can also take a look at the Blox
objects which extract core atoms from
figures in the image.


If the only objective is to measure the
tube lenght, you could also program
  a cellular aggregate for reproducing
cells with radii ~= to the pipe radius.
By restricting the cells to reproduce
only inside the pipe, the final number
of cells will be proportional to the
pipelength. Take a look at the Morphogenesis
example in


   InsightApplications/Morphogenesis

This example uses bacteria with a
genome of less than ten genes.



    Regards,



      Luis



-------------------------------


ramu chandran wrote:
> Hello,
>           I have a "pipe" visual object which may be cylindrical
> conical or bent pipe. I want to calculate the center line length
> of the pipe. Is there any algorithm available in VTK for this?. I posted 
> this question to user list couple of times, but there was no answer. 
> please help me with this, I am stuck with the problem.
> 
> Thanks
> Ramu
> 
> 
> _______________________________________________________________________
> Odomos - the only  mosquito protection outside 4 walls -
> Click here to know more!
> http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn 
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>