SSIMmap: The Structural Similarity Index Measure for Maps

Computes the Structural Similarity Index Measure (SSIM) and its components for raster images and irregular polygon maps. The raster method follows Wang et al. (2004) <doi:10.1109/TIP.2003.819861>. The polygon method uses geographically weighted summary statistics described by Brunsdon et al. (2002) <doi:10.1016/S0198-9715(01)00009-6> with an adaptive nearest-neighbor kernel. Provides bandwidth selection, value transformations, permutation-based inference, Fire Weather Index rasters, and Toronto census-derived example data.

Version: 0.4.3
Depends: R (≥ 3.6.0)
Imports: stats, scales, terra, ggplot2 (≥ 3.4.0), sf, knitr, FNN
Suggests: magick, RColorBrewer, testthat (≥ 3.0.0), rmarkdown, patchwork, tidyterra
Published: 2026-11-13
DOI: 10.32614/CRAN.package.SSIMmap
Author: Hui Jeong (Hailyee) Ha ORCID iD [aut, cre], Jed Long ORCID iD [aut]
Maintainer: Hui Jeong (Hailyee) Ha <hha24 at uwo.ca>
BugReports: https://github.com/Hailyee-Ha/SSIMmap/issues
License: MIT + file LICENSE
URL: https://github.com/Hailyee-Ha/SSIMmap
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: SSIMmap results

Documentation:

Reference manual: SSIMmap.html , SSIMmap.pdf
Vignettes: Introduction to SSIMmap (source, R code)

Downloads:

Package source: SSIMmap_0.4.3.tar.gz
Windows binaries: r-devel: SSIMmap_0.4.0.zip, r-release: SSIMmap_0.4.0.zip, r-oldrel: SSIMmap_0.4.0.zip
macOS binaries: r-release (arm64): SSIMmap_0.4.3.tgz, r-oldrel (arm64): SSIMmap_0.4.3.tgz, r-release (x86_64): SSIMmap_0.4.0.tgz, r-oldrel (x86_64): SSIMmap_0.4.3.tgz
Old sources: SSIMmap archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=SSIMmap to link to this page.