Description Usage Arguments Details Value Examples
Compute composite measures, GCSM, CMSC or SSIM, on spatial windows.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | cmsc_sw(
x,
y,
rescale = FALSE,
xmin = NA_real_,
xmax = NA_real_,
ymin = NA_real_,
ymax = NA_real_,
ksize = 9,
globe = FALSE,
comp = "si"
)
cmsc_e1_sw(
x,
y,
rescale = FALSE,
xmin = NA_real_,
xmax = NA_real_,
ymin = NA_real_,
ymax = NA_real_,
ksize = 9,
globe = FALSE,
comp = "si"
)
cmsc_e2_sw(
x,
y,
rescale = FALSE,
xmin = NA_real_,
xmax = NA_real_,
ymin = NA_real_,
ymax = NA_real_,
ksize = 9,
globe = FALSE,
comp = "si"
)
gcsm_sw(
x,
y,
rescale = FALSE,
xmin = NA_real_,
xmax = NA_real_,
ymin = NA_real_,
ymax = NA_real_,
ksize = 9,
globe = FALSE,
comp = "si"
)
ssim_sw(
x,
y,
rescale = FALSE,
xmin = NA_real_,
xmax = NA_real_,
ymin = NA_real_,
ymax = NA_real_,
ksize = 11,
sigma = 1.5,
globe = FALSE,
comp = "si"
)
|
x |
A matrix. |
y |
The other matrix. |
rescale |
Rescale or not before computation. |
xmin, xmax, ymin, ymax |
Normalization parameters. If |
ksize |
Side length of spatial windows. |
globe |
Are data at the global scale? If |
comp |
Variable to return. If |
sigma |
Standard deviation of Gaussian weighting function depending on the distance between the cell and kernel center. |
These functions slide the spatial window over space. Missing values are
omitted. Normalization parameters are used to rescale x
and y
, and
determine the global minimum (min) and maximum (max). If rescale
is
TRUE
, x
and y
are rescaled to (x-xmin)/(xmax-xmin)
and
(y-ymin)/(ymax-ymin)
; and set min=0
, max=1
. If FALSE
,
min=min(xmin,ymin)
, max=max(xmax,ymax)
. OpenMP is used for parallel
computing.
A matrix.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.