17 center = values[n / 2];
21 for (i = 0; i < n; i++) {
26 if (values[i] != center)
35 *result = (diff * 100.0 + (count / 2)) / count + 1;
#define Rast_is_d_null_value(dcellVal)
void c_intr(DCELL *result, DCELL *values, int n, const void *closure)
void Rast_set_d_null_value(DCELL *, int)
To set a number of DCELL raster values to NULL.