catsim
Binary and Categorical Image Similarity Index
Description
Computes a structural similarity metric (after the style of MS-SSIM for images) for binary and categorical 2D and 3D images. Can be based on accuracy (simple matching), Cohen's kappa, Rand index, adjusted Rand index, Jaccard index, Dice index, normalized mutual information, or adjusted mutual information. In addition, has fast computation of Cohen's kappa, the Rand indices, and the two mutual informations. Implements the methods of Thompson and Maitra (2020) <doi:10.48550/arXiv.2004.09073>.
Downloads
304
Last 30 days
15232nd
766
Last 90 days
3.1K
Last year
Trend: +53.5% (30d vs prior 30d)
24
Last 30 days
117
Last 90 days
411
Last year
Trend: -41.5% (30d vs prior 30d)
3
Last 7 days
17
Last 30 days
1
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
installed package size
installed size is 6.6Mb
sub-directories of 1Mb or more:
libs 6.4Mb
installed package size
installed size is 6.5Mb
sub-directories of 1Mb or more:
libs 6.3Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/catsim.Rcheck/00install.out' for details.
installed package size
installed size is 6.6Mb
sub-directories of 1Mb or more:
libs 6.4Mb
installed package size
installed size is 6.5Mb
sub-directories of 1Mb or more:
libs 6.3Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
installed package size
installed size is 6.6Mb
sub-directories of 1Mb or more:
libs 6.4Mb
installed package size
installed size is 6.5Mb
sub-directories of 1Mb or more:
libs 6.3Mb
Code
Structure
Lines of code
3,163
Files
40
Compiled share
18.1%
Has compiled src
Yes
Language breakdown
API
Exported functions
14
Internal functions
26
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.23
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.6
System requirements
–
C++ standard
–
License
GPL-3
License flags
SPDX valid, OSI approved
History
Versions
4
First release
2020-04-28
Latest release
2024-10-01
Avg cadence
223 days
Cold removal rate
–
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.