[vtkusers] Creating a 3DImageData from slices

Romuald BERTRAND beromuald at wanadoo.fr
Fri May 23 03:14:57 EDT 2008


Thanks Amy, I will try this.

Bye,
Romu
 
 
 

> Message du 22/05/08 17:10
> De : "Amy Squillacote" 
> A : "Romuald BERTRAND" 
> Copie à : vtkusers at vtk.org
> Objet : Re: [vtkusers] Creating a 3DImageData from slices
> 
> Hi Romu,
> 
> Are the slices already loaded in VTK (i.e., multiple 2D vtkImageData 
> objects), or are you reading the slices from files?
> 
> If they're already 2D vtkImageData objects, take a look at 
> vtkImageAppend 
> (http://www.vtk.org/doc/nightly/html/classvtkImageAppend.html). If you 
> have X-Y slices, then the "append axis" should be the Z axis.
> 
> If you're reading the slices from files, subclasses of vtkImageReader2 
> (http://www.vtk.org/doc/nightly/html/classvtkImageReader2.html) will 
> handle this for you. You can pass in either a list of file names or a 
> file pattern to tell the reader how to get the data files.
> 
> - Amy
> 
> Romuald BERTRAND wrote:
> >
> > Hi all,
> >
> > Someone know how creating a 3DImageData from 2D slices?
> > Thanks for answers,
> >
> > Romu
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >   
> 
> -- 
> Amy Squillacote                    Phone: (256) 726-4839
> Computer Scientist                 Fax: (256) 726-4806
> CFD Research Corporation           Web: http://www.cfdrc.com
> 215 Wynn Drive, Suite 501
> Huntsville, AL  35805
> 
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080523/2d99eb5f/attachment.htm>


More information about the vtkusers mailing list