Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-i.one.com (mx-i.one.com [91.198.169.56])
	by mail6.b-one.net (Postfix) with ESMTP id 55F9380103FBC
	for <filtered@awaresystems.be>; Tue, 19 Jun 2012 15:56:00 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"
Received-SPF: pass (mx-i: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.160.48 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48])
	by mx-i.one.com (Postfix) with ESMTP id C12EF6DEA38
	for <filtered@awaresystems.be>; Tue, 19 Jun 2012 13:55:59 +0000 (UTC)
Received: by pbbrq8 with SMTP id rq8so10750896pbb.21
        for <filtered@awaresystems.be>; Tue, 19 Jun 2012 06:55:58 -0700 (PDT)
Received: by 10.68.233.193 with SMTP id ty1mr39360453pbc.47.1340114158315;
        Tue, 19 Jun 2012 06:55:58 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.143.92.14 with SMTP id u14csp161738wfl;
        Tue, 19 Jun 2012 06:55:57 -0700 (PDT)
Received: by 10.68.192.73 with SMTP id he9mr65895931pbc.17.1340114155790;
        Tue, 19 Jun 2012 06:55:55 -0700 (PDT)
Received-SPF: softfail (google.com: best guess record for domain of transitioning tiff-bounces@lists.maptools.org does not designate 91.198.169.250 as permitted sender) client-ip=91.198.169.250;
Received: by 10.130.141.15 with POP3 id o15mf5072103dad.9;
        Tue, 19 Jun 2012 06:55:55 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-s.one.com (mx-s.one.com [91.198.169.250])
	by mail6.b-one.net (Postfix) with ESMTP id 9223E80103FC0
	for <info@awaresystems.be>; Tue, 19 Jun 2012 15:45:01 +0200 (CEST)
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-s.one.com (Postfix) with ESMTP id 2A398951EB2
	for <info@awaresystems.be>; Tue, 19 Jun 2012 13:45:00 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 7589E3AD99E;
	Tue, 19 Jun 2012 08:43:41 -0500 (EST)
Received: from mail-gh0-f172.google.com (mail-gh0-f172.google.com
	[209.85.160.172])
	by lists.maptools.org (Postfix) with ESMTPS id 3FFAA3AD99E
	for <tiff@lists.maptools.org>; Tue, 19 Jun 2012 08:40:34 -0500 (EST)
Received: by ghbg16 with SMTP id g16so4496753ghb.3
	for <tiff@lists.maptools.org>; Tue, 19 Jun 2012 06:40:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.30.233 with SMTP id v9mr19637488oeh.6.1340113233863; Tue,
	19 Jun 2012 06:40:33 -0700 (PDT)
Received: by 10.76.135.198 with HTTP; Tue, 19 Jun 2012 06:40:33 -0700 (PDT)
In-Reply-To: <CA+YzLBfb4hoOV0ZfBk_K1SqjWZ1Jx3K4AnwsFZS_hXAkwWYTNg@mail.gmail.com>
References: <2874C5A1-5AE9-4F98-A7B4-E0837AE01BDE@gmail.com>
	<CA+YzLBfb4hoOV0ZfBk_K1SqjWZ1Jx3K4AnwsFZS_hXAkwWYTNg@mail.gmail.com>
Date: Tue, 19 Jun 2012 15:40:33 +0200
Message-ID: <CADH5xWribU+QBY5ozqQikGfHHRYaJpyH3vFyPWf+7wZQKNwLrw@mail.gmail.com>
From: Jorge Martin <jormarfe@gmail.com>
To: Frank Warmerdam <warmerdam@pobox.com>
Cc: "tiff@lists.maptools.org" <tiff@lists.maptools.org>
Subject: Re: [Tiff] How the multi-planar image should be read/written
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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>
Content-Type: multipart/mixed; boundary="===============1368343415=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============1368343415==
Content-Type: multipart/alternative; boundary=e89a8ff1c7c84362eb04c2d36dbc

--e89a8ff1c7c84362eb04c2d36dbc
Content-Type: text/plain; charset=ISO-8859-1

Many thanks for your answers!!

I am developing a library to read/write some type of GeoTIFF images, and
for validate the tool I am looking to a GeoTIFF written in Tiles and which
has multiplanar configuration (PlanarConfiguration = 2), Do you have any
example of this type of image?


Best Regards,


Jorge Martin


2012/6/19 Frank Warmerdam <warmerdam@pobox.com>

> On Mon, Jun 18, 2012 at 4:15 PM, Jorge <jormarfe@gmail.com> wrote:
> > Hello
> >
> >  As far I know, the bands of a multiplanar Image ( planarConfiguration
> tag = 2)  should be written one after the other. But for me, this is not
> clear. Please, let me write an example to explain my understanding:
> >
> >    We have an image withe the following parameters:
> >
> >     Lines = 6000
> >     Columns = 1500
> >     The image has 5 different bands ( samplePerPixel = 5 ), and
> planarconfiguration = 2
> >      The image is stripped, with the parameter RowsPerStrip = 100, so
> there are 60 strips
> >
> >      If I want to read this image using the function readEncodedStrip
> from libtiff library. The number of strips to be read is 5*60? The first 60
> strips corresponds to the first band, the next 60 strips corresponds to the
> second band and so on. Are this statements correct?
>
> Jorge,
>
> Yes, this all sounds right.
>
> And given five bands/samples you will have 60*5 = 300 strips.
>
> >
> >     For Tiled image the approach should be similar, isn't it?
>
> Yes.
>
> Best regards,
> --
>
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam@pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Software Developer
>

--e89a8ff1c7c84362eb04c2d36dbc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Many thanks for your answers!!=A0<div><br></div><div>I am developing a libr=
ary to read/write some type of GeoTIFF images, and for validate the tool I =
am looking to a GeoTIFF written in Tiles and which has multiplanar configur=
ation (PlanarConfiguration =3D 2), Do you have any example of this type of =
image?=A0</div>
<div><br></div><div><br></div><div>Best Regards,</div><div><br></div><div><=
br></div><div>Jorge Martin</div><br class=3D"Apple-interchange-newline"><br=
><div class=3D"gmail_quote">2012/6/19 Frank Warmerdam <span dir=3D"ltr">&lt=
;<a href=3D"mailto:warmerdam@pobox.com" target=3D"_blank">warmerdam@pobox.c=
om</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On Mon, Jun 18, 2012 at 4:=
15 PM, Jorge &lt;<a href=3D"mailto:jormarfe@gmail.com">jormarfe@gmail.com</=
a>&gt; wrote:<br>

&gt; Hello<br>
&gt;<br>
&gt; =A0As far I know, the bands of a multiplanar Image ( planarConfigurati=
on tag =3D 2) =A0should be written one after the other. But for me, this is=
 not clear. Please, let me write an example to explain my understanding:<br=
>

&gt;<br>
&gt; =A0 =A0We have an image withe the following parameters:<br>
&gt;<br>
&gt; =A0 =A0 Lines =3D 6000<br>
&gt; =A0 =A0 Columns =3D 1500<br>
&gt; =A0 =A0 The image has 5 different bands ( samplePerPixel =3D 5 ), and =
planarconfiguration =3D 2<br>
&gt; =A0 =A0 =A0The image is stripped, with the parameter RowsPerStrip =3D =
100, so there are 60 strips<br>
&gt;<br>
</div><div class=3D"im">&gt; =A0 =A0 =A0If I want to read this image using =
the function readEncodedStrip from libtiff library. The number of strips to=
 be read is 5*60? The first 60 strips corresponds to the first band, the ne=
xt 60 strips corresponds to the second band and so on. Are this statements =
correct?<br>

<br>
</div>Jorge,<br>
<br>
Yes, this all sounds right.<br>
<br>
And given five bands/samples you will have 60*5 =3D 300 strips.<br>
<div class=3D"im"><br>
&gt;<br>
&gt; =A0 =A0 For Tiled image the approach should be similar, isn&#39;t it?<=
br>
<br>
</div>Yes.<br>
<br>
Best regards,<br>
<span class=3D"HOEnZb"><font color=3D"#888888">--<br>
---------------------------------------+-----------------------------------=
---<br>
I set the clouds in motion - turn up=A0=A0 | Frank Warmerdam, <a href=3D"ma=
ilto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href=3D"http://pobox.com/~warme=
rdam" target=3D"_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush=A0 =A0 | Geospatial Software Developer<=
br>
</font></span></blockquote></div><br>

--e89a8ff1c7c84362eb04c2d36dbc--

--===============1368343415==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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