[vtkusers] mesh to image conversion

Pallavi Joshi pallavi.joshi at vanderbilt.edu
Fri Oct 1 10:15:18 EDT 2004


  Hi,
  I did it that way and it works as well....but the problem is the code 
takes toooo much time to execute as my images are 256x256x124 sized. Do you 
know any other way which will give the same result but will take less time ?

  thanks,
  --pallavi

  ----- Original Message ----- 
  From: "Toon Huysmans" <denhuys at hotmail.com>
  To: "Joshi, Pallavi" <pallavi.joshi at Vanderbilt.Edu>
  Cc: "VtkUsers" <vtkusers at vtk.org>
  Sent: Friday, October 01, 2004 5:14 AM
  Subject: Re: [vtkusers] mesh to image conversion


  > something like this should do the trick:
  >
  > vtkImageData                       -- |
  >                                                | -->
  > vtkImageStencil   --> vtkImageData
  > vtkPolyDataToImageStencil   --|
  >
  >
  > Toon.
  > ----- Original Message ----- 
  > From: "Joshi, Pallavi" <pallavi.joshi at Vanderbilt.Edu>
  > To: "Toon Huysmans" <denhuys at hotmail.com>
  > Cc: <vtkusers at vtk.org>
  > Sent: Friday, October 01, 2004 11:29 AM
  > Subject: [vtkusers] mesh to image conversion
  >
  >
  >> Hi,
  >> I need some help from you regarding this posting of yours. I have a
  > skull(i
  >> extract it by thresholding the bones of a CT volume) and then I convert 
it
  > to a
  >> polygonal mesh. I now want to paint the inside of this mesh into an 3D
  > image.
  >> Can you please tell how how to go about this ?
  >>
  >> Any help will be greatly appreciated.
  >>
  >> Thank You,
  >> --Pallavi
  >>
  >>
  >> Quoting Toon Huysmans <denhuys at hotmail.com>:
  >>
  >> > Hi Raghu,
  >> >
  >> >     I once used
  >> > 
http://www.vtk.org/doc/nightly/html/classvtkPolyDataToImageStencil.html,
  > but
  >> > the input must be polygonal
  >> >     i think. It can be used to paint the inner of the polygonal 
dataset
  > into
  >> > an image(3D).
  >> >
  >> >     Maybe you could be a little more clear about your problem...
  >> >
  >> > Toon.
  >> >
  >> > ----- Original Message ----- 
  >> > From: "Raghu Venkatram" <raghu.venkatram at gmail.com>
  >> > To: <vtkusers at vtk.org>
  >> > Sent: Monday, September 27, 2004 7:06 PM
  >> > Subject: [vtkusers] mesh to image conversion
  >> >
  >> >
  >> > > hello VTK users,
  >> > >
  >> > > We have a biomechanical model of the brain represented as a set of
  >> > > points in 3d space, with x,y,z in millimeters. I would like to 
convert
  >> > > this to 3 orthogonal image views. I heard from Luis Ibanez, that 
VTK
  >> > > has some tools to rasterize, I would be glad if somebody could give 
me
  >> > > some pointers.
  >> > >
  >> > > Thanks in advance,
  >> > > Raghu
  >> > > _______________________________________________
  >> > > 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
  >> > >
  >> > _______________________________________________
  >> > 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
  >> >
  >>
  >>
  >> -----------------------------------------------------------------
  >> Joshi, Pallavi
  >> Vanderbilt University
  >> Email: pallavi.joshi at Vanderbilt.Edu
  >>
  >




More information about the vtkusers mailing list