SE_rasbandinfo_get_stats_mean |
Retrieves the average pixel value in a raster band.
LONG SE_rasbandinfo_get_stats_mean (const SE_RASBANDINFO rasterband, LFLOAT *mean);
rasterband | The SE_RASBANDINFO handle |
mean | A pointer to the average pixel value |
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.
SE_SUCCESS
SE_INVALID_POINTER
SE_OPERATION_NOT_ALLOWED
SE_RASTERBAND_NO_STATS