s-news
[Top] [All Lists]

read BSQ, BIP, BIL file formats

To: <s-news@lists.biostat.wustl.edu>
Subject: read BSQ, BIP, BIL file formats
From: "Potgieter, Andries B" <Andries.Potgieter@dpi.qld.gov.au>
Date: Wed, 18 May 2005 15:45:10 +1000
Importance: normal
Thread-index: AcVPKSRXvd4sTKJsTMyxXHdGO8sQxgMQy6zw
Thread-topic: Error in reading: "data values"
Dear S-PLus news list,

Does anyone know if it is possible to read and write BSQ, BIP or BIL file 
formats in S-Plus?

thanks
ap
Description of the file formats as copied from ENVI:

BSQ (Band Sequential Format) 
In its simplest form, the data is in BSQ format, with each line of the data 
followed immediately by the next line in the same spectral band. This format is 
optimal for spatial (X, Y) access of any part of a single spectral band. 

BIP (Band Interleaved by Pixel Format) 
Images stored in BIP format have the first pixel for all bands in sequential 
order, followed by the second pixel for all bands, followed by the third pixel 
for all bands, etc., interleaved up to the number of pixels. This format 
provides optimum performance for spectral (Z) access of the image data. 

BIL (Band Interleaved by Line Format) 
Images stored in BIL format have the first line of the first band followed by 
the 
first line of the second band, followed by the first line of the third band, 
interleaved up to the number of bands. Subsequent lines for each band are 
interleaved in 
similar fashion. This format provides a compromise in performance between 
spatial and spectral processing and is the recommended file format for most 
ENVI processing tasks. 





                Andries Potgieter 
                Research Scientist
                Climate and System Technologies
                Emerging Technologies
                Delivery
                Department of Primary Industries and Fisheries

                Telephone 07  4688 1417  Facsimile 07  4688 1193
                Email andries.potgieter@dpi.qld.gov.au   
<mailto:andries.potgieter@dpi.qld.gov.au>Mobile 0408 715 514
                Website www.dpi.qld.gov.au  Call Centre 13 25 23

                Profitable primary industries for Queensland 

********************************DISCLAIMER****************************
The information contained in the above e-mail message or messages 
(which includes any attachments) is confidential and may be legally 
privileged.  It is intended only for the use of the person or entity 
to which it is addressed.  If you are not the addressee any form of 
disclosure, copying, modification, distribution or any action taken 
or omitted in reliance on the information is unauthorised.  Opinions 
contained in the message(s) do not necessarily reflect the opinions 
of the Queensland Government and its authorities.  If you received 
this communication in error, please notify the sender immediately and 
delete it from your computer system network. 


<Prev in Thread] Current Thread [Next in Thread>
  • read BSQ, BIP, BIL file formats, Potgieter, Andries B <=