PostGIS  2.1.10dev-r@@SVN_REVISION@@
double rt_band_get_min_value ( rt_band  band)

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

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

Definition at line 3073 of file rt_api.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().

3073  {
3074  assert(NULL != band);
3076  return rt_pixtype_get_min_value(band->pixtype);
3077 }
rt_pixtype pixtype
Definition: rt_api.h:2239
double rt_pixtype_get_min_value(rt_pixtype pixtype)
Return minimum value possible for pixel type.
Definition: rt_api.c:1206

Here is the call graph for this function:

Here is the caller graph for this function: