SE_rasbandinfo_get_stats_mean

Retrieves the average pixel value in a raster band.

Usage syntax

LONG SE_rasbandinfo_get_stats_mean (const SE_RASBANDINFO rasterband, LFLOAT *mean);

Parameters
rasterband The SE_RASBANDINFO handle
mean A pointer to the average pixel value
Description

SE_rasbandinfo_get_stats_mean retrieves the average pixel value in a raster band. Statistics must be created on the band and the band must exist before a meaningful value can be returned.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_OPERATION_NOT_ALLOWED

SE_RASTERBAND_NO_STATS