Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx013.isp.belgacom.be (inmx013.isp.belgacom.be [195.238.2.216])
        by mailst006.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i6BIldYd006861
        for <joris.at.lebbeke@skynet.be>; Sun, 11 Jul 2004 20:47:39 +0200
        (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 inmx013.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i6BIlX2c026060
        for <joris.at.lebbeke@skynet.be>; Sun, 11 Jul 2004 20:47:34 +0200
        (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 953AB11C890; Sun, 11 Jul 2004 14:47:21 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from pegazus.phys.klte.hu (pegazus.phys.klte.hu [193.6.139.221])
	by xserve.flids.com (Postfix) with ESMTP id 32D0011C87F
	for <tiff@remotesensing.org>; Sun, 11 Jul 2004 14:47:20 -0400 (EDT)
Received: from pegazus.phys.klte.hu (pegazus.phys.klte.hu [193.6.139.221])
	by pegazus.phys.klte.hu (Postfix) with ESMTP id CE5C268118
	for <tiff@remotesensing.org>; Sun, 11 Jul 2004 20:47:18 +0200 (CEST)
Date: Sun, 11 Jul 2004 20:47:18 +0200 (CEST)
From: Balint Radics <radbal@pegazus.phys.klte.hu>
To: tiff@remotesensing.org
Message-ID: <Pine.LNX.4.58.0407112036230.14307@pegazus.phys.klte.hu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Tiff] sampleper pixel
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: 81f7ea89f89cf6e735bd7a63ea8db35c

Hi,

I am balint and I have some question concerning tiff and libtiff.
I have a tiff picture.This picture was made such that there was a 
measurment 
where single photons fell into the pixels of a detector and thus we got a 
matrix of (let's say) float or int data in each matrix element.Then we 
saved the picture in .tiff format.There are only one directories in each 
tiff file.I have a simple question:how can I read the data of each pixels 
from the file?Because what I don't understand in libtiff is that I can 
read the file following the "scanline" method to a buf:

    buf = _TIFFmalloc(TIFFScanlineSize(Tif));                                 
     for (int row = 0; row < ImageHeight; row++){                                        
      TIFFReadScanline(Tif, buf, row);             
 	"reading the buff somehow";
      }

but the problem is that I cannot get the single (let's say float or int
type) datas of single pixels from the buff array.

Can anyone tell me how I can do that?

Thank you in advance,

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