rasterLocalQuantiles finds the quantile within the positive valued neighborhood
An in memory raster image.
A matrix of weights used to specify a local neighborhood. The quantile
kernel will be applied to each pixel in
A quantile. This value is required to be in the inclusive interval from 0 to 100.
A spatial neighborhood is calculated for each pixel in
The spatial neighborhood for each pixel is defined by the weight matrix
W, where the center of the odd dimensioned matrix
W is identified
with the target pixel. The target pixel value is replaced with the
quantile of the neighborhood identified by
W. Only non-missing or neighbors
with non-zero weights are used in the calculation. Quantile calculation uses
the inverse empirical CDF transform, equivalent to
An in memory raster image of local quantiles.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.