[vtkusers] Help needed using segmented data

Vidya Raghavan vidya_raghavan at hotmail.com
Mon Jul 26 15:42:11 EDT 2004


Dear VTK users,

I had posted this question earlier, but didn't get any response yet. So, I'm 
reposting it. Hope someone can help me.

Basically, I am trying to model segmented data in VTK, based on the tutorial 
provided in:

http://www.crd.ge.com/~lorensen/seg12/, where the input data is described as 
"a set of slices that have the same resolution as the original data, but 
grayscale values have been replaced with integer segmentation labels.".

There were some errors in the scripts as they used an older verison of VTK. 
I now have these scripts working for VTK 4.2 and there are at 
http://www.cs.northwestern.edu/~vidya/VTK/scripts

Now I am trying to use my own segmented data with the above scripts, where 
they represent 256 X 256 segmented data, with each pixel represented by an 
integer.

The segmented data I have used is at: 
http://www.cs.northwestern.edu/~vidya/VTK/data

The script I have written to describe these parameters is region1.tcl

When I run region1.tcl I should get a vtk file region1.vtk. Instead it is 
empty and no polygons are generated. I am really trying to understand what 
is wrong, but since I'm new to VTK I still cannot figure it out.

Could someone please help?

Thanks.

_________________________________________________________________
Marriage?  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join 
BharatMatrimony.com for free.




More information about the vtkusers mailing list