This function computes the histogram of a band set of a raster object.
Syntax
raster ST_BuildHistogram(raster raster_obj);
Parameters
Parameter | Description |
---|
Parameter | Description |
---|---|
raster_obj | The raster object. |
Examples
UPDATE raster_table SET raster_obj = st_buildhistogram(raster_obj) WHERE id = 1;
--------------------------------
(1 row)