VHTRKVisionX V4 NAME

vhtrk − models the centerline points of the pulmonary vessel above heart.

SYNOPSIS

vhtrk x1=<x1> y1=<y1> z1=<z1> r1=<r1> x2=<x2> y2=<y2> z2=<z2> r2=<r2> of=<outfile>

DESCRIPTION

vhtrk

vhtrk models the centerline of the pulmonary vessel above heart based on the two estimated centerpoints at two ends of the vessel. The vessel is modeled as a cylinder with constant radius. (x1,y1,z1,r1) and (x2,y2,z2,2) are estimated centerpoints and radii from vhtop. The centerline is modeled as a straight line connected by (x1,y1,z1) and (x2,y2,z2). vhtrk output (x,y,z) coordinates of 9 points on the centerline. The first 2 points are (x1,y1,z1) and (x2,y2,z2). Point 3 is the middle point of the first 2 points, i.e. (x1+x2,y1+y2,z1+z2)/2. Point 4 is the middle point of point 1 and 3. Point 5 is the middle point of point 2 and 3, so on so forth.

CONSTRAINT

Input (x1,y1,z1,r1) and (x2,y2,z2,r2) are the output from vhtop. Output of is a VX_GFLOAT containing the (x.y,z) coordinates of 9 points on the centerline.

OPTIONS

<x1,y1,z1>=

coordinates of the first centerpoint

r1=

radius of the circle centered at (x1,y1,z1)

<x2,y2,z2>=

coordinates of the second centerpoint

r2=

radius of the circle centered at (x2,y2,z2)

SEE ALSO

vhtop(1), vpvhrt(1)

AUTHOR

Y. Xie