Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas016.isp.belgacom.be (localhost [127.0.0.1])
        by inav015.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k2V5ueGq026281
        for <joris.at.lebbeke@skynet.be>; Fri, 31 Mar 2006 07:56:40 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx009.isp.belgacom.be (inmx009.isp.belgacom.be [195.238.5.146])
        by inas016.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k2V5ubsS013959
        for <joris.at.lebbeke@skynet.be>; Fri, 31 Mar 2006 07:56:39 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx009.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k2V5uZD4024218
        for <joris.at.lebbeke@skynet.be>; Fri, 31 Mar 2006 07:56:36 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k2V5oLoM016795;
	Fri, 31 Mar 2006 00:51:18 -0500
Received: from web51702.mail.yahoo.com (web51702.mail.yahoo.com
	[206.190.38.220])
	by duke.maptools.org (8.12.11/8.12.10) with SMTP id k2V5oJYN016792
	for <tiff@lists.maptools.org>; Fri, 31 Mar 2006 00:50:19 -0500
Received: (qmail 45240 invoked by uid 60001); 31 Mar 2006 05:49:42 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au;
	h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=Vf2zKrnSyQdy66zJtPrsqcPU57/nNxmqJ/Z8JZSfCgiZuf2cPDDeUkhXuEoP48rX7aJLMe5cUjev53+I1dWldEmhnLwvi8+bh3jbQW+xV9Iyp3/0Zdqoe08UYuTkxu1eZ1diVh6VIJcw6dSSvUUGjmZm02eCvwKMxB6nVLNgHvA=
	; 
Message-ID: <20060331054942.45238.qmail@web51702.mail.yahoo.com>
Received: from [220.245.178.141] by web51702.mail.yahoo.com via HTTP;
	Fri, 31 Mar 2006 15:49:42 EST
Date: Fri, 31 Mar 2006 15:49:42 +1000 (EST)
From: "Chris L." <brezey2@yahoo.com.au>
To: tiff@lists.maptools.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Subject: [Tiff] 16-bit TIFF to 8-bit BMP/TIF ???
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00001494
X-MSP-STORE: Fri, 31 Mar 2006 07:56:41 +0200
Status:   

Hi,

I am in the process of writing a program using openCV
that analyses 8 bit images. The problem I have is that
images produced from a fluorescent camera are
16 bit unsigned greyscale TIFF images (industry
standard).

This is a major project for University (DNA Microarray
Image Analysis)

I would like to convert this image to an 8 bit
greyscale image so that I can analyse and display the
image with intensities in proportion with the original
image.

The way I would like to do this is to get every pixels
intensity value (16 bit) and Square root it to bring
it into the range between 0 and 255.

I am very much a newbie to the LibTIF package so any
help will be greatly appreciated.

I would like to steer away from using other programs
to accomplish this task so I can combine it into the
analysis program.

This part is pretty urgent. The analysis is complete I
am now trying to get TIFF images working with it.

Regards,
   Chris Le Brese


	

	
		
____________________________________________________ 
On Yahoo!7 
Messenger - Make free PC-to-PC calls to your friends overseas. 
http://au.messenger.yahoo.com 

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
