PostGIS  2.5.0dev-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.

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

Definition at line 1697 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().

1697  {
1698  assert(NULL != band);
1700  return rt_pixtype_get_min_value(band->pixtype);
1701 }
rt_pixtype pixtype
Definition: librtcore.h:2294
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: