Return-Path: <tiff-admin@remotesensing.org>
Received: from zed.skynet.be (zed.skynet.be [195.238.3.233])
        by twentyeight.skynet.be (8.12.9/8.12.9/Skynet-MAILSTORE-2.14) with ESMTP id i0NG2uur005650
        for <joris.at.lebbeke@skynet.be>; Fri, 23 Jan 2004 17:02:57 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com ([208.24.120.42])
        by zed.skynet.be (8.12.9/8.12.9/Skynet-IN-2.32) with ESMTP id i0NG0emw002651
        for <joris.at.lebbeke@skynet.be>; Fri, 23 Jan 2004 17:00:41 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com (localhost.localdomain [127.0.0.1])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i0NFxWl07943;
	Fri, 23 Jan 2004 10:59:32 -0500
Received: from fuzzylog.simplesystems.org (fuzzylog.simplesystems.org [65.66.246.65])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i0NFvrl07869
	for <tiff@remotesensing.org>; Fri, 23 Jan 2004 10:57:53 -0500
Received: from scooby.simplesystems.org (scooby.simplesystems.org [65.66.246.67])
	by fuzzylog.simplesystems.org (8.9.3/8.9.3) with ESMTP id JAA24913;
	Fri, 23 Jan 2004 09:57:25 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@scooby.simplesystems.org
To: Frank Warmerdam <warmerdam@pobox.com>
cc: Andrey Kiselev <dron@ak4719.spb.edu>,
   "Tiff@Remotesensing.Org" <tiff@remotesensing.org>
Subject: Re: [Tiff] How to convert MINISBLACK to PHOTOMETRIC_RGB
In-Reply-To: <40114259.5060103@pobox.com>
Message-ID: <Pine.GSO.4.44.0401230953060.29988-100000@scooby.simplesystems.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: tiff-admin@remotesensing.org
Errors-To: tiff-admin@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Post: <mailto:tiff@remotesensing.org>
List-Subscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
List-Id: TIFF and libtiff discussion <tiff.remotesensing.org>
List-Unsubscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://remotesensing.org/pipermail/tiff/>
Date: Fri, 23 Jan 2004 09:57:26 -0600 (CST)
X-UIDL: 62368bc4ab5e897a26a50ed08b112369

On Fri, 23 Jan 2004, Frank Warmerdam wrote:

> Bob Friesenhahn wrote:
> > How does this treat the two extra samples?  Does it ignore them?
>
> I believe that GDAL treats the 3 samples as red, green and blue in the
> command shown by Andrey.

And GraphicsMagick will only extract the primary gray channel.

> PS. I don't think the Imagine generated TIFF file is so odd.  In the
> satellite imaging community it is common for us to use MINISBLACK for
> multispectral tiff files. The only odd part, in my mind, is the use of
> the unspecified ExtraSamples tag.  When I see multi-sample MINISBLACK
> TIFF files I assume that each sample should be treated as MINISBLACK with
> no obvious pre-set RGB sample combinations.

Right. MINISBLACK is pretty ordinary. The intent/meaning of the extra
samples is undefined and may be proprietary. Perhaps they could be
some sort of mask, or overlays which can be enabled/disabled in
viewing software.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://remotesensing.org/mailman/listinfo/tiff
