[vtkusers] TiffReader reading single 3D-Tiff-File

Lars Matthäus lars.matthaeus at web.de
Thu Jun 23 11:12:52 EDT 2005


Hi Jim,

thanks for your reply! But using ITK is not really an option for me
since I'm doing my programming in JAVA (where I haven't got a running
ITK version and have never sen one).
So it seems that a split in several images is best. I'll try tiffsplit next.

Lars

James Carroll schrieb:
> Hi Lars,
> 
> The VTK only takes the first image in the stack.  The ITK is aware of tiffs that have whole stacks, and the best advice I've heard so far is to use the ITK to read the stack, then the ITK to VTK functions to bright it into VTK, then VTK will be able to render it.
> 
> There's also a way to split the tiff file into individual files using tiffsplit from the libtiff tools, then use VTK to read the files using a filename pattern.  
> 
> Since the software that I'm using already has a TIFF stack reader, I'm gluing the code that takes the data already in memory and creates the VTK image volume, avoiding the VTK reader problems all together.
> 
> -Jim



More information about the vtkusers mailing list