Package: catsim 0.2.3

catsim: Binary and Categorical Image Similarity Index

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) <arxiv:2004.09073>.

Authors:Geoffrey Thompson [aut, cre]

catsim_0.2.3.tar.gz
catsim_0.2.3.zip(r-4.5)catsim_0.2.3.zip(r-4.4)catsim_0.2.3.zip(r-4.3)
catsim_0.2.3.tgz(r-4.4-x86_64)catsim_0.2.3.tgz(r-4.4-arm64)catsim_0.2.3.tgz(r-4.3-x86_64)catsim_0.2.3.tgz(r-4.3-arm64)
catsim_0.2.3.tar.gz(r-4.5-noble)catsim_0.2.3.tar.gz(r-4.4-noble)
catsim_0.2.3.tgz(r-4.4-emscripten)catsim_0.2.3.tgz(r-4.3-emscripten)
catsim.pdf |catsim.html
catsim/json (API)
NEWS

# Install 'catsim' in R:
install.packages('catsim', repos = c('https://gzt.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/gzt/catsim/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

binary-databinary-image-classificationbinary-image-processingcategorical-datacategorical-imagesclassificationimage-processing

14 exports 5 stars 1.16 score 32 dependencies 5 scripts 915 downloads

Last updated 4 years agofrom:8744abc76f. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-win-x86_64OKSep 04 2024
R-4.5-linux-x86_64OKSep 04 2024
R-4.4-win-x86_64OKSep 04 2024
R-4.4-mac-x86_64OKSep 04 2024
R-4.4-mac-aarch64OKSep 04 2024
R-4.3-win-x86_64OKSep 04 2024
R-4.3-mac-x86_64OKSep 04 2024
R-4.3-mac-aarch64OKSep 04 2024

Exports:adj_randadjusted_mibinssimcatmssim_2dcatmssim_3d_cubecatmssim_3d_slicecatsimcohen_kappaginiginicorrnormalized_mirand_indexsqrtginisqrtginicorr

Dependencies:briocallrclicrayondescdiffobjdigestevaluatefansifsgluejsonlitelifecyclemagrittrpillarpkgbuildpkgconfigpkgloadpraiseprocessxpsR6Rcpprematch2rlangrprojroottestthattibbleutf8vctrswaldowithr

Two-Dimensional Examples of CatSIM

Rendered fromtwo-dimensional-example.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2020-12-08
Started: 2020-03-23

Readme and manuals

Help Manual

Help pageTopics
A hand-constructed image from Besag (1986)besag
Categorical Structural Similarity Index Metric (whole image)binssim
Multiscale Categorical Structural Similarity Index Measure (2D)catmssim_2d
Multiscale Categorical Structural Similarity Index Measure for a Cube (3D)catmssim_3d_cube
Multiscale Categorical Structural Similarity Index Measure by Slice (3D)catmssim_3d_slice
Multiscale Categorical Structural Similarity Index Measurecatsim
Diversity IndicesCorrected Gini-Simpson index gini ginicorr Modified Corrected Gini index Modified Gini-Simpson index sqrtgini sqrtginicorr
An example fMRI phantomhoffmanphantom
Similarity IndicesAdjusted Mutual Information Adjusted Rand Index adjusted_mi adj_rand Cohen's kappa cohen_kappa Normalized Mutual Information normalized_mi rand rand_index