Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (localhost [127.0.0.1])
	by at1895.spb.edu (8.12.1/8.12.1/Debian -1) with ESMTP id g0MASqtp008757
	for <dron@localhost>; Tue, 22 Jan 2002 13:28:52 +0300
Received: from eudoramail.com [209.185.123.45]
	by localhost with POP3 (fetchmail-5.9.0)
	for dron@localhost (single-drop); Tue, 22 Jan 2002 13:28:52 +0300 (MSK)
Received: from gate7.olympiakos.com ([207.176.88.85]) by shared1-mail.whowhere.com; Sun Jan 20 21:40:03 2002
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id AAA14814;
	Mon, 21 Jan 2002 00:27:01 -0500
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Mon, 21 Jan 2002 00:25:33 -0500
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id AAA14766
	for tiff-outgoing; Mon, 21 Jan 2002 00:25:32 -0500
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id AAA14763
	for <tiff@olympiakos.com>; Mon, 21 Jan 2002 00:25:29 -0500
Received: from adsl ([216.103.51.136])
 by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May  7 2001))
 with SMTP id <0GQ9005QHWEEHZ@mta7.pltn13.pbi.net> for tiff@olympiakos.com;
 Sun, 20 Jan 2002 21:25:27 -0800 (PST)
Date: Sun, 20 Jan 2002 21:21:13 -0800
From: Peter Montgomery <pjmonty@csi.com>
Subject: Re: How to interpret 16-bit GrayScale image?
To: tiff@olympiakos.com
Message-id: <002001c1a23c$2600ab00$0201a8c0@pacbell.net>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit
X-Priority: 3
X-MSMail-priority: Normal
References: <F72K4xDh9vXsFFsAitV000220cb@hotmail.com>
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 4020
Lines: 143

Bad,

    How are you getting the current HBitmap?  Are you calling Windows
with a 16 bit image and looking to get the right thing back from it?  If
so, then that's the problem.  However, it's not clear from your email
what you are doing.  Please give some more info.

    Thanks,
    PeterM

----- Original Message -----
From: "Bad Badtz" <badtzbad@hotmail.com>
To: <paul.beaty@arch.gatech.edu>; <tiff@olympiakos.com>
Sent: Sunday, January 20, 2002 7:06 PM
Subject: RE: How to interpret 16-bit GrayScale image?


>
> Hi,
>
> Thanks Paul and Marti Maria for responding to my previous email.
>
> From ur replies, can I say that TIFF does support both unsigned 16-bit
RGB
> and grayscale images?
>
> The problem i encountered now is that I need to construct a HBitmap
using
> the grayscale image data, but instead of getting a grayscale image, I
am
> always getting a colored image. It seems that once the number of bits
per
> pixel is more than 8, it assumes that it is a RGB image. Therefore,
instead
> of using each image data as an index to the color table (i have
constructed
> the color table with size 65536), each individual value is taken as a
RGB
> value.
>
> Does anyone have a solution to my problem? Would converting the
unsigned
> 16-bit grayscale image to a RGB image works?
>
> Please help! Thanks!!!
>
>
>
> regards,
> Nicole
>
>
> >From: "Paul Beaty" <paul.beaty@arch.gatech.edu>
> >To: <tiff@olympiakos.com>, "Bad Badtz" <badtzbad@hotmail.com>
> >Subject: RE: How to interpret 16-bit GrayScale image?
> >Date: Wed, 16 Jan 2002 09:52:42 -0500
> >
> >Nichole,
> >
> >Unsigned 16-bit data means you have the possibility of a total value
range
> >of 65536 (0 - 65535) values. This does not mean they are all being
used.
> >Typically, when GIS and remote sensing data are stored as unsigned
16-bit,
> >there is a good reason. This may indicate the values represent
something
> >other than a simple shade or color. How do you interpret the
values....
> >first, what type of data do you have? DEM, vegetation index,
satellite
> >image, scanned photo, GIS thematic data?
> >
> >If file size is an issue, use pack-bit compression to compress the
non-used
> >values. Note that pack-bit compression is a loss-less compression.
> >
> >Good Luck,
> >
> >Paul
> >
> > > -----Original Message-----
> > > From: owner-tiff@olympiakos.com
[mailto:owner-tiff@olympiakos.com]On
> > > Behalf Of Bad Badtz
> > > Sent: Wednesday, January 16, 2002 6:07 AM
> > > To: tiff@olympiakos.com
> > > Subject: How to interpret 16-bit GrayScale image?
> > >
> > >
> > > Hi,
> > >
> > > I have a GeoTIFF image that looks like a grayscale image when
viewed
> >with
> > > Erdas Imagine. This image has 16 bits per sample and 1 sample per
> > > pixel. The
> > > photometric interpretation is 1, meaning that it is a grayscale
> > > image, and
> > > this image has no color table.
> > >
> > > How do i interpret the pixel values then? Should I construct an
> > > index table
> > > with 65536 colors? Are there so many colors? Or can I change the
image
> >to
> > > RGB colored instead?
> > >
> > > Urgent!! Please help!!! Thanks in advance!!
> > >
> > > regards,
> > > Nicole
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Send and receive Hotmail on your mobile device:
http://mobile.msn.com
> > >
> > >
> > > To subscribe or unsubscribe email tiff-request@olympiakos.com
> > > with subscribe
> > > or unsubscribe in the email body.  Libtiff home page:
> > > http://www.libtiff.org
> >
>
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> To subscribe or unsubscribe email tiff-request@olympiakos.com with
subscribe
> or unsubscribe in the email body.  Libtiff home page:
http://www.libtiff.org
>


To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

