int tsmChecksumPyramid_col (TsmHandle *tsmh, Pyramid *pyramid)

Calculate a pyramid's checksum

Documentation

Calculate a pyramid's checksum.

tsmChecksumPyramid_col computes and returns the checksum for a pyramid. The checksum is defined as the sum of all the bytes of all the tiles modulo TSM_CHECKSUM_MOD.

This variation requests one column of tiles at a time.

Trace levels:

1: Show pyramid id at start, and checksum/time at end. 2: Show "." after each column is done, and checksum/time after each level. 3: Show cumulative checksum after every column.

You can specify whether you want to check the lrbt or jpeg tiles by using tsmSetReadTileFormat().

Returns:
the pyramid's checksum
Parameters:
tsmh - the TSM session handle
pyramid - the Pyramid to be checksummed.
See Also:
tsmCalcChecksum, tsmChecksumPyramid


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page