[vtkusers] Writing multi-paged tiff image

Maarten Beek beekmaarten at yahoo.com
Wed Dec 17 16:42:58 EST 2014


Thanks for your reply David,
I would like to write multi-page tiffs, but I might not be smart enough. I see one tiff file with all images stitched together in a long column, so I am thinking of a missing page return or something. But I guess that's a over-simplification ;-)
vtkImageWriter works fine as long as I remember the extent, spacing and origin.
Last year I saw multi-page tiff phloro images, now I see multi-page tiff ct data; maybe vtktiffwriter will be 3d capable some day....
Maarten
 

     On Wednesday, December 17, 2014 4:30 PM, David Gobbi <david.gobbi at gmail.com> wrote:
   

 On Wed, Dec 17, 2014 at 2:10 PM, Maarten Beek <beekmaarten at yahoo.com> wrote:
Hi David,
Sorry, I'll try to remember. I did search the internet but couldn't find a clear answer.
I am a bit confused though, because vtkTiffReader reads multi-page tiffs fine. What is preventing a multi-page writer?

All that's missing is someone with the need to write multi-page files, who is willing to modify the writer so that it writes multi-page files!  It isn't a trivial project, because there are at least three different semi-standard ways of storing 3D data in TIFF, and they aren't entirely compatible with one another.
Even with the reader, multi-page files were troublesome for a long time, because it could read some 3D files but not others (again, because TIFF has  several semi-standard ways of storing 3D data).  TIFF was not initially designed to handle 3D, and all the ways of making it work with 3D are a bit hackish.


What are my options in vtk? What writers do write 3d images? Does a tool exist that puts multiple tiffs in one multi-page tiff?


Well, right now NIFTI is my favorite 3D image format.  I don't use TIFF much, so I don't know what TIFF tools are available.  
 - David 

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141217/80134495/attachment.html>


More information about the vtkusers mailing list