Package: catsim 0.2.4

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) <doi:10.48550/arXiv.2004.09073>.

Authors:Geoffrey Thompson [aut, cre]

catsim_0.2.4.tar.gz
catsim_0.2.4.zip(r-4.5)catsim_0.2.4.zip(r-4.4)catsim_0.2.4.zip(r-4.3)
catsim_0.2.4.tgz(r-4.4-x86_64)catsim_0.2.4.tgz(r-4.4-arm64)catsim_0.2.4.tgz(r-4.3-x86_64)catsim_0.2.4.tgz(r-4.3-arm64)
catsim_0.2.4.tar.gz(r-4.5-noble)catsim_0.2.4.tar.gz(r-4.4-noble)
catsim_0.2.4.tgz(r-4.4-emscripten)catsim_0.2.4.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

4.40 score 5 stars 5 scripts 429 downloads 14 exports 32 dependencies

Last updated 2 months agofrom:eceeb92f1b. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 30 2024
R-4.5-win-x86_64OKOct 30 2024
R-4.5-linux-x86_64OKOct 30 2024
R-4.4-win-x86_64OKOct 30 2024
R-4.4-mac-x86_64OKOct 30 2024
R-4.4-mac-aarch64OKOct 30 2024
R-4.3-win-x86_64OKOct 30 2024
R-4.3-mac-x86_64OKOct 30 2024
R-4.3-mac-aarch64OKOct 30 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 Oct 30 2024.

Last update: 2024-09-30
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