[vtkusers] Re: Re: Help needed using segmented data
Vidya Raghavan
vidya_raghavan at hotmail.com
Wed Nov 17 11:29:40 EST 2004
Hi VTK users,
Could anyone please run this Tcl script:
http://www.bioengineering-research.com/vtk/segmented.tcl
with my data at http://www.cs.northwestern.edu/~vidya/data
You basically need to change the filepath in the tcl script to wherever you
store the data. Please let me know if you can see any data in the rendering
window. I can't seem to see anything..
Thanks for your help!
-vidya
>From: "Goodwin Lawlor" <goodwin.lawlor at ucd.ie>
>To: vtkusers at public.kitware.com
>Subject: [vtkusers] Re: Re: Help needed using segmented data
>Date: Tue, 27 Jul 2004 16:41:58 +0100
>
> > Thanks for replying. Basically I need to be able to read in the
>segmented
> > data and model it (like the frog example) using the VTK pipeline
>process.
> > So, does ITK now suppport this or should I be using VTK itself. I'm a
>little
> > confused here.
>
>If you've got your segmentation done, VTK is all you need.
>
> >
> > The frog example reads in data like:
> >
> > P5
> > # pgm file written by the visualization toolkit
> > 500 470
> > 255
> >
> >
> > I don't see any information about segmented pixels at all here. So how
>does
> > the program read it and render it?
>
>The pgm files contain the pixel data in binary format which can't be read
>with
>an (ascii) text reader. The bit of text you can read is the image header.
>
> > All I need is a nice approach to be able to read in my slices and to be
>able
> > to render a model of that data. Should I be looking at other examples? I
> > just thought that the frog examples seemed to be in line with what I
>want.
> > Please clarify.
>
>You were almost there with the segmented16.tcl, except your data was in an
>unusual format.
>I've uploaded an updated tcl script that works with your data bmp.1 ...
>bmp.9 here:
>http://www.bioengineering-research.com/vtk/segmented.tcl
>
>The data spacing you had looks wrong (if you were reconstructing some tube
>like thing). I tried
>"1 1 30" instead.
>
>Good luck
>
>Goodwin
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
_________________________________________________________________
Get head-hunted by 10,500 recruiters.
http://www.naukri.com/msn/index.php?source=hottag Post your CV on naukri.com
today.
More information about the vtkusers
mailing list