sif_tile Struct Reference

A struct for storing a SIF tile header in memory. It stores important information related to a tile, including which of its bands are uniform, and the uniform pixel values of the bands. More...

#include <sif-io.h>


Data Fields

u_char * uniform_flags
 A byte sequence where the i'th bit in the sequence indicates whether the i'th band in the tile is uniform. The number of bytes is Ceil(n_bands / 8).
u_char * uniform_pixel_values
 A sequence of pixel data units. The i'th data unit represents the uniform pixel value for the i'th band. The number of bytes is n_bands * data_unit_size.
long block_num
 The block location of the file where the tile is stored.


Detailed Description

A struct for storing a SIF tile header in memory. It stores important information related to a tile, including which of its bands are uniform, and the uniform pixel values of the bands.


Field Documentation

long sif_tile::block_num

The block location of the file where the tile is stored.

This number is -1 if the tile is completely uniform, i.e. each band in the tile is completely uniform. Note that the bands of a tile (i.e. slices) may have different uniform pixel values. A tile or block is uniform iff each of its slices is uniform.

u_char* sif_tile::uniform_flags

A byte sequence where the i'th bit in the sequence indicates whether the i'th band in the tile is uniform. The number of bytes is Ceil(n_bands / 8).

u_char* sif_tile::uniform_pixel_values

A sequence of pixel data units. The i'th data unit represents the uniform pixel value for the i'th band. The number of bytes is n_bands * data_unit_size.


The documentation for this struct was generated from the following file:
Generated on Tue Dec 4 11:02:10 2007 for SIF by  doxygen 1.4.7