comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » reading 12-bit tiff image
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
reading 12-bit tiff image [message #37363] Mon, 08 December 2003 15:09
Dmitri Volfson is currently offline  Dmitri Volfson
Messages: 1
Registered: December 2003
Junior Member
Hello -

is it possible to read 12-bit tiff image with IDL ?

below is the output of "exifprobe" specifying the structure of the file.

thanks !

dmitri

---------------------------------------------------

$exifprobe saa.tif | cut -f2 -d:
FILE = saa.tif
File Format = TIFF
TIFF(II) 0x4949 0x42 ifd offset = 0x1fe008/2088968)
<IFD0> 16 entries starting at file offset 0x1fe00a=2088970
<0x00fe= 254> NewSubFileType [4 =LONG 1]
= 0 = "primary"
<0x0100= 256> ImageWidth [3 =SHORT 1]
= 1360
<0x0101= 257> ImageLength [3 =SHORT 1]
= 1024
<0x0102= 258> BitsPerSample [3 =SHORT 1]
= 12
<0x0103= 259> Compression [3 =SHORT 1]
= 1 = "uncompressed"
<0x0106= 262> PhotometricInterpretation [3 =SHORT 1]
= 1 = "black is 0"
<0x0111= 273> StripOffsets [4 =LONG 52]
= @0x1fe0ce=2089166
<0x0112= 274> Orientation [3 =SHORT 1]
= 1 = "0,0 is top left"
<0x0115= 277> SamplesPerPixel [3 =SHORT 1]
= 1
<0x0116= 278> RowsPerStrip [3 =SHORT 1]
= 20
<0x0117= 279> StripByteCounts [4 =LONG 52]
= @0x1fe19e=2089374
<0x0118= 280> MinSampleValue [3 =SHORT 1]
= 0
<0x0119= 281> MaxSampleValue [3 =SHORT 1]
= 4095
<0x011c= 284> PlanarConfiguration [3 =SHORT 1]
= 1 = "chunky/contig"
<0x0131= 305> Software [2 =ASCII 11]
= @0x1fe26e=2089582
<0x0132= 306> DateTime [2 =ASCII 20]
= @0x1fe27a=2089594
**** next IFD offset 0
============= VALUES, IFD0 ============
StripOffsets = 8,40808,81608 ... ,2080808 (52)
-> @2089370
StripByteCounts = 40800,40800,40800 ... ,8160 (52)
-> @2089578
Software = "SPOT 3.5.4\0"
DateTime = "2003
</IFD0>
Start of uncompressed primary image data, length 2088960 (IFD 0)
End of uncompressed primary image data
END OF FILE
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 2D FFT Slow. Any ideas?
Next Topic: Resolving Built-ins and FORWARD_FUNCTION

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:51:56 PDT 2025

Total time taken to generate the page: 0.00511 seconds