SE_rasterattr_get_interleave

Gets the band interleave type used to store the pixel data.

Usage syntax

LONG SE_rasterattr_get_interleave (SE_RASTERATTR handle, SE_RASTER_INTERLEAVE_TYPE *type);

Parameters
handle The SE_RASTERATTR handle
type The interleave type, defaults to SE_RASTER_INTERLEAVE_BSQ
Description

SE_rasterattr_get_interleave returns the type of band interleave that is used to store the data.

The band interleave enumeration SE_RASTER_INTERLEAVE_TYPE contains the following types:

SE_RASTER_INTERLEAVE_BSQ band sequential
SE_RASTER_INTERLEAVE_BIP interleave by pixel


If the interleave is set to SE_RASTER_INTERLEAVE_BIP, the pixel data is stored in band interleave pixel format. Storing the data in band interleave pixel format is only supported for 3 band 8-bit data. When the data is stored this way it is actually stored as an integrated single band. Applying JPEG and JPEG2000 compression to pixel data stored this way, achieves a compression factor that is actually greater than what it would be when it is stored as separate bands using band sequential interleave.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_RASTERATTR_OBJECT

SE_NET_FAILURE

SE_SDE_NOT_STARTED