| synopsis || arguments || prev || next |
void get_valid_tiles( kdu_dims & indices)
Java: void Get_valid_tiles( Kdu_dims indices)
[Declared in "../coresys/common/kdu_compressed.h"]
Retrieves the range of tile indices which correspond to the current region of interest (or the whole image, if no region of interest has been defined). The indices of the first tile within the region of interest are returned via indices.pos. Note that these may be negative, if geometric transformations were specified via the change_appearance function. The number of tiles in each direction within the region of interest is returned via indices.size.
Note that tile indices in the range indices.pos through indices.pos+ indices.size-1 are apparent tile indices, rather than actual code-stream tile indices. They are affected not only by the prevailing region of interest, but also by the geometric transformation flags supplied during any call to change_appearance. The caller should not attempt to attach any interpretation to the absolute values of these indices.