[PS3-3-2] Band interleaved by pixel (BIP)

Band interleaved by pixel (BIP) is one of three primary methods for encoding image data for multiband raster images in the geospatial domain, such as images obtained from satellites. This simple uncompressed raster data encoding is easily and frequently described, requiring no formal specification. BIP is not in itself an image format, but is a method for encoding the actual pixel values of an image in a file. The raw data has a simple form and is easily interpreted if the image dimensions in pixels, the number of spectral bands, and the number of bits per band are known. 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. The BIP data organization can handle any number of bands, and thus accommodates black and white, grayscale, pseudocolour, true colour, and multi-spectral image data. BIP data stores pixel information for separate bands within the same file, so that the user can choose to display just one specific band in a multi-band image. Therefore, BIP encoding provides optimal processing performance for spectral analysis (as compared with BIL or BSQ raster organization) as it supports efficient extraction of individual spectra and spectral averages. Additional information is needed to interpret the image data, such as the numbers of rows, columns, and bands, and relate the image to geospatial locations. This information may be supplied in a file header (typical on the tapes originally used for satellite image data) or in files associated with a raw image data file. Spatial resolution and bit-depth are not limited by the BIP encoding per se but may be constrained in some usage contexts. There is no support for colour management in the BIP encoding. Documentation of spectral values for bands, or interpretation of false colours should be supplied in an accompanying data structure.

External resources

Learning outcomes

Self assessment

Completed

Outgoing relations

Contributors