Description Usage Arguments Value
adopted from package 'spatialcompare'
1 2 |
img1 |
is a |
img2 |
is a |
w |
is the width of the neighbourhood in number of pixels out from centre cell |
gauss_filter |
is a binary flag for whether a Gaussian filter should be applied as a smoothing function |
edge |
is a binary flag for whether a torroidal edge correction should be applied |
ks |
is a vector of length 2 which contains values for constants in the SSIM formula. If ignored default values will be used. |
global_values |
a binary flag whether overall index values should be returned or else raster stack with cell-by-cell values |
A list of length 4 or a raster stack with 4 bands. List objects / layer contain the composite index, luminance, contrast, and structure components respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.