PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ rt_band_get_min_value()

double rt_band_get_min_value ( rt_band  band)

Returns the minimal possible value for the band according to the pixel type.

Parameters
band: the band to get info from
Returns
the minimal possible value for the band.

Definition at line 1745 of file rt_band.c.

References rt_band_t::pixtype, and rt_pixtype_get_min_value().

Referenced by _rti_iterator_arg_populate(), RASTER_clip(), RASTER_mapAlgebraExpr(), RASTER_mapAlgebraFct(), RASTER_mapAlgebraFctNgb(), RASTER_neighborhood(), RASTER_nMapAlgebra(), RASTER_nMapAlgebraExpr(), RASTER_setPixelValuesArray(), RASTER_tile(), RASTER_union_transfn(), and rt_raster_iterator().

1745  {
1746  assert(NULL != band);
1747 
1748  return rt_pixtype_get_min_value(band->pixtype);
1749 }
rt_pixtype pixtype
Definition: librtcore.h:2314
double rt_pixtype_get_min_value(rt_pixtype pixtype)
Return minimum value possible for pixel type.
Definition: rt_pixel.c:148
Here is the call graph for this function:
Here is the caller graph for this function: