AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.01.23 04:48 "[Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Pushkar Pradhan
2004.01.23 05:15 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 07:39 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Andrey Kiselev
2004.01.23 15:18 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 15:48 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 15:57 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 16:44 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 18:59 "RE: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Pushkar Pradhan
2004.01.23 20:29 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Andrey Kiselev
2004.01.23 17:16 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Joris Van Damme
2004.01.23 17:38 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 17:57 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Joris Van Damme
2004.01.23 18:55 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 19:15 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Joris Van Damme
2004.01.23 19:19 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 19:24 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Frank Warmerdam
2004.01.23 20:12 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Chris Cox
2004.01.23 20:30 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 20:52 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Chris Cox
2004.01.23 19:15 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Bob Friesenhahn
2004.01.23 20:17 "Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Andy Cave

2004.01.23 04:48 "[Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB", by Pushkar Pradhan

When I create a subset image (to take only 3 bands out of 6) IMAGINE software creates a MINISBLACK TIF file (there seems to be no option to change this). This is what tiffinfo reports:

TIFFReadDirectory: Warning, data/ms-denver.tif: unknown field with tag 33550 (0x830e) encountered.
TIFFReadDirectory: Warning, data/ms-denver.tif: unknown field with tag 33922 (0x8482) encountered.
TIFFReadDirectory: Warning, data/ms-denver.tif: unknown field with tag 34735 (0x87af) encountered.
TIFFReadDirectory: Warning, data/ms-denver.tif: unknown field with tag 34737 (0x87b1) encountered.
TIFF Directory at offset 0xcd6a
  Image Width: 138 Image Length: 127
  Resolution: 1, 1 (unitless)
  Bits/Sample: 8
  Sample Format: unsigned integer
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  Extra Samples: 2<unspecified, unspecified>
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 3
  Rows/Strip: 59
  Planar Configuration: single image plane
  Software: IMAGINE TIFF Support Copyright 1991 - 1999 by ERDAS, Inc. All Rights Reserved @(#)$RCSfile: etif.c $ $Revision: 1.9.2.2 $ $Date: 2002/01/14 13:57:53EST $

Now I want to read this file in MATLAB whose TIFF reader is limited to reading RGB and PALETTED images (that too only 8-bit and 16-bit). Thus it only reads the 1st band of this file.

I saw there is utility pal2rgb but is there something similar to min-is-black images to RGB interpretation?

Thanks,
Pushkar Pradhan