Woolz Image Processing Version 1.4.0
|
A tiled value table for both 2 an 3D domain objects. Typedef: WlzTiledValues. More...
Data Fields | |
WlzObjectType | type |
int | linkcount |
void * | freeptr |
int | dim |
int | kol1 |
int | lastkl |
int | line1 |
int | lastln |
int | plane1 |
int | lastpl |
WlzPixelV | bckgrnd |
size_t | tileSz |
size_t | tileWidth |
size_t | numTiles |
int * | nIdx |
unsigned int * | indices |
int | fd |
long | tileOffset |
WlzGreyP | tiles |
A tiled value table for both 2 an 3D domain objects. Typedef: WlzTiledValues.
The grey values are stored in square or cubic tiles with tileSz being the number of values in each tile irespective of the grey value type. An index to the tiles is stored as a simple one dimensional array.
To access a grey value at some position which is known to be within the tiled value table: First the position relative to the first column (
), line (
) and plane (
)of the value table is computed:
. The tile index (
) and within tile offset (
) are then computed:
Where is the index table and
the start of the tile data.
The tile data may be memory mapped instead of read into memory in which case the file descriptor will have a non-negative value. This can be used to close the file.
From WlzCoreValues: built from WLZ_GREY_TAB_TILED and the grey value type.
Referenced by WlzFreeTiledValues(), WlzMakeTiledValues(), and WlzMakeTiledValuesTiles().
From WlzCoreValues.
Referenced by WlzFreeTiledValues().
void* _WlzTiledValues::freeptr |
From WlzCoreValues, although this won't free the values themselves.
The dimension of the value table, ie 2 or 3D.
Referenced by WlzMakeTiledValues().
First column.
Referenced by WlzShiftValues().
Last column.
Referenced by WlzShiftValues().
First line.
Referenced by WlzShiftValues().
Last line.
Referenced by WlzShiftValues().
First plane.
Referenced by WlzShiftValues().
Last plane.
Referenced by WlzShiftValues().
Background value.
Referenced by WlzGetBackground(), and WlzGreyValueMakeWSp().
size_t _WlzTiledValues::tileSz |
The number of values in each tile which may be less than the number of bytes.
Referenced by WlzFreeTiledValues(), and WlzMakeTiledValuesTiles().
size_t _WlzTiledValues::tileWidth |
Width of the tiles ( ).
size_t _WlzTiledValues::numTiles |
The total number of tiles.
Referenced by WlzFreeTiledValues(), and WlzMakeTiledValuesTiles().
Number of index columns, lines, ....
Referenced by WlzFreeTiledValues(), and WlzMakeTiledValues().
unsigned int* _WlzTiledValues::indices |
Table of tile indices.
Referenced by WlzFreeTiledValues().
File descriptor if tiles are memory mapped else -1.
Referenced by WlzFreeTiledValues(), WlzMakeTiledValues(), and WlzMakeTiledValuesTiles().
Offset from the start of the file to the tiles. This may be set even if not memory mapped.
The tiles.
Referenced by WlzFreeTiledValues(), and WlzMakeTiledValuesTiles().