SE_rasbandinfo_get_stats_max

Retrieves the maximum pixel value in a raster band

Usage syntax

LONG SE_rasbandinfo_get_stats_max (const SE_RASBANDINFO rasterband, LFLOAT *max);

Parameters
rasterband The SE_RASBANDINFO handle
max A pointer to the maximum pixel value
Description

SE_rasbandinfo_get_stats_max retrieves the maximum pixel value in a raster band. The raster band must exist and have statistics created on it before meaningful data can be returned.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_OPERATION_NOT_ALLOWED

SE_RASTERBAND_NO_STATS