[Insight-users] TIFF codes

Gib Bogle g.bogle at auckland.ac.nz
Thu Sep 15 20:41:02 EDT 2011


Ah, thanks Richard.  Maybe the codes are saying that the data are using only 12 
bits, which I've deduced anyway.  I think I can safely ignore the messages.

Cheers
Gib

On 16/09/2011 11:56 a.m., Richard Beare wrote:
> 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
>>


-- 
Dr. Gib Bogle
Senior Research Fellow
Auckland Bioengineering Institute
University of Auckland
New Zealand

http://www.bioeng.auckland.ac.nz

g.bogle at auckland.ac.nz
(64-9) 373-7599 Ext. 87030



More information about the Insight-users mailing list