[Insight-users] Following a straight line through an image

Dirk Boye body at nabla.org
Fri Apr 30 04:15:12 EDT 2010


Dear list,

I'd like to follow a straight line through an image.
The starting point of the line is outside the image, the end point is
somewhere inside.
What I need to know are the pixel indeces the line passed
and also the length of the line in each pixel. (this is very important)

The image will have anisotropic spacing (like 0.7 x 0.7 x 4)

Can i do this with itkPolyLineParametricPath?
I couldn't find any example code for that.


Thanks,
Dirk


More information about the Insight-users mailing list