Description Usage Arguments Details Value See Also
This function implements the multiscale structural similarity index of Wang et al. (2003) formulated
for comparison of raster
spatial objects at multiple scales.
1 2 3 |
img1 |
is a |
img2 |
is a |
w |
is the width of the neighbourhood in number of pixels out from centre cell |
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. |
level |
is the number of scales to evaulate statistic at, default is 5 |
weight |
is the weights for scales in |
method |
is the method for combining SSIM components, currently the only option |
GFil |
is a binary flag for whether a Gaussian filter should be applied as a smoothing function |
The msssim
function can be used to generate the global multiscale ssim. Local values are not supported. The weights used in the default are those given in Wang et al. (2003) and were determined empirically for a five-level application. The weights determine how cross-scale values of the SSIM are weighted.
msssim
returns a vector with the value of the multiscale structural similarity index
ssim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.