histogram — A composite type used as record output of the ST_Histogram and ST_ApproxHistogram functions.


A composite type used as record outputs of the ST_Histogram ST_ApproxHistogram functions. Note that depending on exclude_nodata_value of function, may or may not contain nodata pixels.

Each histogram record in results corresponds to a bin for a selected raster band.

min double precision

minimum pixel value in this bin

max double precision

Maximum pixel value in this bin.

count integer

count of pixels in this bin.

percent double precision

Percent of pixels of the overall population in this bin.

See Also