This function computes the statistics about a band set of a raster object.

Syntax

raster ST_SummaryStats(raster raster_obj);

Parameters

Parameter Description
raster_obj The raster object.

Examples

update raster_obj set raster_obj=ST_SummaryStats(raster_obj) where id = 1;
__________________________________
(1 row)