Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx016.isp.belgacom.be (inmx016.isp.belgacom.be [195.238.2.219])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j1FFioSJ031159
        for <joris.at.lebbeke@skynet.be>; Tue, 15 Feb 2005 16:44:50 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx016.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j1FFiNgt003012
        for <joris.at.lebbeke@skynet.be>; Tue, 15 Feb 2005 16:44:25 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 5415A7B4038; Tue, 15 Feb 2005 10:44:08 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from ngate.noida.hcltech.com (unknown [202.54.110.230])
	by xserve.flids.com (Postfix) with ESMTP id 399537B4007
	for <tiff@remotesensing.org>; Tue, 15 Feb 2005 10:44:05 -0500 (EST)
Received: from exch-03.noida.hcltech.com ([204.160.254.29])
	by ngate.noida.hcltech.com (8.12.5/8.12.5) with ESMTP id j1FFtktd022430
	for <tiff@remotesensing.org>; Tue, 15 Feb 2005 21:25:58 +0530
Received: by exch-03.noida.hcltech.com with Internet Mail Service (5.5.2653.19)
	id <1VM5YDV0>; Tue, 15 Feb 2005 21:10:53 +0530
Message-ID: <267988DEACEC5A4D86D5FCD780313FBB047B1E23@exch-03.noida.hcltech.com>
From: "Chinku Miandad M, Noida" <chinkum@noida.hcltech.com>
To: tiff@remotesensing.org
Date: Tue, 15 Feb 2005 21:10:40 +0530
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Subject: [Tiff] Regarding the decoding of uncompressed Big Endian RGB TIFF
	files.
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 2580ec72d7fc2d4ba5dfd2fd65129e65

Hi,

      I am facing some problem in the decoding of uncompressed big endian
RGB TIFF images. I am doing the testing with a particular file.

 I found that in the file the value of the "SamplesPerPixel" tag is 3. Also
the value of the "BitsPerSample" tag is 8, 8, 8 . Also the value of the
"Planar configuration" tag is one which means that the image data is present
in the chunky format. i.e. RGBRGBRGBRGBRGB..........

But I am not getting the proper image after decoding.

The decoded image appears like a grayscale one. Also colored lines are
appearing above the image. It seems like the image lines are getting
corrupted slightly. 

Do I need to do some swapping in the RGB data that I read from the image
file? I am asking this since the file is of a big endian type.  

I think I am getting the luminance component correct. But it seems like
there is some problems with the chrominance components since I am not
getting the proper color.

The same method is working fine with little endian RGB files. 

Please give some comments on the same. 

Any help will be deeply appreciated.  

with regards,
 
Chinku Miandad M
Member Technical Staff
HCL technologies
A-5, Sector 24
Noida, Uttar Pradesh - 201301
http://www.hcltechnologies.com
Office Phone: +91-120-2411502, Ext.: 2341
mobile - 9871340518
 
 

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