[vtkusers] Create volume form coordinates

polys_poly at hotmail.com polys_poly at hotmail.com
Tue Jan 29 08:03:09 EST 2008


Hello,

I have some files which have coordinates in this format:

    302.66    305.11

    305.76    305.63

    307.57    307.18    

    310.42    310.54

    311.71    313.13

The first in each line is the x coordinate and the second is the y coordinate.

Each of this set of coordinates form a polygon (first and last point in the file are the same). And each set represents a lesion in the brain (from MRI images). What i want to do is create the brain volume (which i already did) and together the lesions from these coordinates. Each textfile refers to a specific slice of MRI image. For example if i have these images 

IM_00104

IM_00105

IM_00106

IM_00107

IM_00108

IM_00109

and for IM_00105 i have 3 textfiles, one for each lesion in that slice. Same happens for IM_00106 but with one lesion. How do i create a volume for polygons in consecutive images or just create the polygons in each image (for example if i have a lesion in IM_00108 but not a lesion in images IM_00107 and IM_00109)?

Thanks in advance, Polys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080129/5ccb5178/attachment.htm>


More information about the vtkusers mailing list