PostGIS  2.4.9dev-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 1612 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().

1612  {
1613  assert(NULL != band);
1614 
1615  return rt_pixtype_get_min_value(band->pixtype);
1616 }
rt_pixtype pixtype
Definition: librtcore.h:2265
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: