[Insight-developers] Some update on charlene tiff image

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Nov 8 16:44:32 EST 2004


Julien,

	I'll assume you are the guru for multipages tiff.
	Jim recently send me a bug report about a broken tiff image ITK 1.8 
used to read. The problem is that this is a 'random access tiff' image. 
Here is a tiffinfo (*), it used to work in previous version since only 
the first page was read.
	If I understand correctly they are only interested in the first page 
since I could not find any software that could read the second slice 
(you can extract the second slice using 'tiffsplit'). It seems that the 
second image is to be considered toward the first one, and you can not 
decorelate them.

	Anyway could you please look into it ?

	Another /much simpler/ solution would be to only read the first page.

Thanks
Mathieu

(*)
$ tiffinfo /tmp/20xDIC-1.tif 

/tmp/20xDIC-1.tif: Warning, unknown field with tag 37553 (0x92b1) ignored.
/tmp/20xDIC-1.tif: Warning, unknown field with tag 37554 (0x92b2) ignored.
TIFF Directory at offset 0x154008
   Subfile Type: (0 = 0x0)
   Image Width: 1360 Image Length: 1024
   Bits/Sample: 8
   Compression Scheme: None
   Photometric Interpretation: min-is-black
   Date & Time: "2004:11:01 16:51:16"
   Software: "SPOT 4.0"
   Orientation: row 0 top, col 0 lhs
   Samples/Pixel: 1
   Rows/Strip: 20
   Min Sample Value: 0
   Max Sample Value: 255
   Planar Configuration: single image plane
TIFF Directory at offset 0x1545ca
   Subfile Type: reduced-resolution image (1 = 0x1)
   Image Width: 61 Image Length: 46
   Bits/Sample: 8
   Compression Scheme: JPEG
   Photometric Interpretation: min-is-black
   Orientation: row 0 top, col 0 lhs
   Samples/Pixel: 1
   Rows/Strip: 32
   Min Sample Value: 0
   Max Sample Value: 255
   Planar Configuration: single image plane
   JPEG Tables: (289 bytes)




More information about the Insight-developers mailing list