[Insight-users] TIFF codes

Richard Beare richard.beare at gmail.com
Thu Sep 15 19:56:22 EDT 2011


Usually this sort of thing relates to proprietary tags included by
some software. TIFF allows you to add extra tags to describe
acquisition parameters, or whatever else you like, but usually
software will need to deal explicitly with those extensions.

Sometimes the tiffinfo utility, which is part of the libtiff suite,
will give you more information about the tags.

Also, I wrote a modified tiff reader

 http://hdl.handle.net/10380/3170

that aims to put these tags into the metadata dictionary. I needed
this because one software package put scaling factors into tiff tags,
and it was necessary to rescale the images based on these in order to
process 3D volumes.


On Fri, Sep 16, 2011 at 7:00 AM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:
> Not strictly an ITK question, but someone may know this:  I am reading a set
> of tiffs (16-bit, with the pixel values stored as 12-bit numbers), and every
> one gives the same warnings:
>
> TIFFReadDirectory: Warning, zzz.tif: unknown field with tag 317 (0x13d)
> encountered.
> TIFFReadDirectory: Warning, zzz.tif: unknown field with tag 33628 (0x835c)
> encountered.
> TIFFReadDirectory: Warning, zzz.tif: unknown field with tag 33629 (0x835d)
> encountered.
> TIFFReadDirectory: Warning, zzz.tif: unknown field with tag 33630 (0x835e)
> encountered.
>
> If I open a file with Irfanview and save it, I do not get these messages
> from ITK.  What do they mean?
>
> Thanks
> Gib
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list