All Products
Search
Document Center

PolarDB:ST_BuildHistogram

Last Updated:Mar 28, 2026

Computes the histogram of a band set of a raster object.

Syntax

raster ST_BuildHistogram(raster raster_obj)

Parameters

ParameterDescription
raster_objThe raster object.

Examples

UPDATE raster_table SET raster_obj = st_buildhistogram(raster_obj) WHERE id = 1;
--------------------------------
(1 row)