{
  "_id": "6acf52dad9de2f3f33fcaf6b",
  "Package": "catsim",
  "Type": "Package",
  "Title": "Binary and Categorical Image Similarity Index",
  "Version": "0.2.4",
  "Authors@R": "person(\"Geoffrey\", \"Thompson\",email=\"gzthompson@gmail.com\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = '0000-0003-2436-8822'))",
  "Description": "Computes a structural similarity metric (after the style\nof MS-SSIM for images) for binary and categorical 2D and 3D\nimages. Can be based on accuracy (simple matching), Cohen's\nkappa, Rand index, adjusted Rand index, Jaccard index, Dice\nindex, normalized mutual information, or adjusted mutual\ninformation. In addition, has fast computation of Cohen's\nkappa, the Rand indices, and the two mutual informations.\nImplements the methods of Thompson and Maitra (2020)\n<doi:10.48550/arXiv.2004.09073>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://gzt.github.io/catsim/",
  "BugReports": "https://github.com/gzt/catsim/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libuv1-dev",
  "Repository": "https://gzt.r-universe.dev",
  "Date/Publication": "2024-09-30 19:51:08 UTC",
  "RemoteUrl": "https://github.com/gzt/catsim",
  "RemoteRef": "HEAD",
  "RemoteSha": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-14 09:30:31 UTC",
    "User": "root"
  },
  "Author": "Geoffrey Thompson [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2436-8822>)",
  "Maintainer": "Geoffrey Thompson <gzthompson@gmail.com>",
  "_user": "gzt",
  "_type": "src",
  "_file": "catsim_0.2.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/a73271d288c69a9fe2d58a16eca27123680eb4228520f13672bec6d0e19feb41",
  "_filesize": 269952,
  "_sha256": "a73271d288c69a9fe2d58a16eca27123680eb4228520f13672bec6d0e19feb41",
  "_expires": "2027-01-22T10:00:56.000Z",
  "_created": "2026-10-14T09:30:31.000Z",
  "_published": "2026-10-14T10:00:58.299Z",
  "_buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115781879031,
      "time": 128,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11883296728"
    },
    {
      "job": 115781879009,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11883700142"
    },
    {
      "job": 115781878959,
      "time": 124,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11882529718"
    },
    {
      "job": 115781878943,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11883416416"
    },
    {
      "job": 115781878858,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11883879328"
    },
    {
      "job": 115781878884,
      "time": 338,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11883531390"
    },
    {
      "job": 115781878929,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11884253788"
    },
    {
      "job": 115781878931,
      "time": 427,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11883402449"
    },
    {
      "job": 115780137516,
      "time": 253,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11882634243"
    },
    {
      "job": 115781878952,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11883381261"
    },
    {
      "job": 115781879014,
      "time": 204,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11882938382"
    },
    {
      "job": 115781879053,
      "time": 147,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11882579635"
    },
    {
      "job": 115781879242,
      "time": 118,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11883471072"
    },
    {
      "job": 115781879109,
      "time": 229,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11882992812"
    },
    {
      "job": 115781878886,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11883331542"
    }
  ],
  "_upstream": "https://github.com/gzt/catsim",
  "_commit": {
    "id": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
    "author": "gzt <gzthompson@gmail.com>",
    "committer": "gzt <gzthompson@gmail.com>",
    "message": "update NEWS to Arxiv\n",
    "time": 1727725868
  },
  "_maintainer": {
    "name": "Geoffrey Thompson",
    "email": "gzthompson@gmail.com",
    "login": "gzt",
    "description": "Data Scientist and Statistician. Interests: clustering, multivariate statistics, unsupervised learning, semisupervised learning. R, some C",
    "uuid": 2553342,
    "orcid": "0000-0003-2436-8822"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "testthat",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "gzt",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "binary-data",
    "binary-image-classification",
    "binary-image-processing",
    "categorical-data",
    "categorical-images",
    "classification",
    "image-processing",
    "cpp"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "gzt",
      "count": 248,
      "uuid": 2553342
    }
  ],
  "_userbio": {
    "uuid": 2553342,
    "type": "user",
    "name": "g z thompson",
    "followers": 11,
    "description": "Data Scientist and Statistician. Interests: clustering, multivariate statistics, unsupervised learning, semisupervised learning. R, some C"
  },
  "_downloads": {
    "count": 367,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/catsim"
  },
  "_devurl": "https://github.com/gzt/catsim",
  "_pkgdown": "https://gzt.github.io/catsim/",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/catsim.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/gzt/catsim",
  "_realowner": "gzt",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2020-04-28"
    },
    {
      "version": "0.2.1",
      "date": "2020-05-06"
    },
    {
      "version": "0.2.3",
      "date": "2020-12-16"
    },
    {
      "version": "0.2.4",
      "date": "2024-10-01"
    }
  ],
  "_exports": [
    "adj_rand",
    "adjusted_mi",
    "binssim",
    "catmssim_2d",
    "catmssim_3d_cube",
    "catmssim_3d_slice",
    "catsim",
    "cohen_kappa",
    "gini",
    "ginicorr",
    "normalized_mi",
    "rand_index",
    "sqrtgini",
    "sqrtginicorr"
  ],
  "_datasets": [
    {
      "name": "besag",
      "title": "A hand-constructed image from Besag (1986)",
      "object": "besag",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "hoffmanphantom",
      "title": "An example fMRI phantom",
      "object": "hoffmanphantom",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "besag",
      "title": "A hand-constructed image from Besag (1986)",
      "topics": [
        "besag"
      ]
    },
    {
      "page": "binssim",
      "title": "Categorical Structural Similarity Index Metric (whole image)",
      "topics": [
        "binssim"
      ]
    },
    {
      "page": "catmssim_2d",
      "title": "Multiscale Categorical Structural Similarity Index Measure (2D)",
      "topics": [
        "catmssim_2d"
      ]
    },
    {
      "page": "catmssim_3d_cube",
      "title": "Multiscale Categorical Structural Similarity Index Measure for a Cube (3D)",
      "topics": [
        "catmssim_3d_cube"
      ]
    },
    {
      "page": "catmssim_3d_slice",
      "title": "Multiscale Categorical Structural Similarity Index Measure by Slice (3D)",
      "topics": [
        "catmssim_3d_slice"
      ]
    },
    {
      "page": "catsim",
      "title": "Multiscale Categorical Structural Similarity Index Measure",
      "topics": [
        "catsim"
      ]
    },
    {
      "page": "gini",
      "title": "Diversity Indices",
      "topics": [
        "Corrected Gini-Simpson index",
        "gini",
        "ginicorr",
        "Modified Corrected Gini index",
        "Modified Gini-Simpson index",
        "sqrtgini",
        "sqrtginicorr"
      ]
    },
    {
      "page": "hoffmanphantom",
      "title": "An example fMRI phantom",
      "topics": [
        "hoffmanphantom"
      ]
    },
    {
      "page": "rand",
      "title": "Similarity Indices",
      "topics": [
        "Adjusted Mutual Information",
        "Adjusted Rand Index",
        "adjusted_mi",
        "adj_rand",
        "Cohen's kappa",
        "cohen_kappa",
        "Normalized Mutual Information",
        "normalized_mi",
        "rand",
        "rand_index"
      ]
    }
  ],
  "_readme": "https://github.com/gzt/catsim/raw/HEAD/README.md",
  "_rundeps": [
    "brio",
    "callr",
    "cli",
    "crayon",
    "desc",
    "diffobj",
    "evaluate",
    "fs",
    "glue",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "otel",
    "pkgbuild",
    "pkgload",
    "praise",
    "processx",
    "ps",
    "R6",
    "Rcpp",
    "rlang",
    "rprojroot",
    "testthat",
    "waldo",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "two-dimensional-example.Rmd",
      "filename": "two-dimensional-example.html",
      "title": "Two-Dimensional Examples of CatSIM",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction to CatSIM",
        "How CatSIM works",
        "Constructing a binary illustration",
        "Constructing a multiclass example",
        "Computing Image Similarity",
        "CatSIM options",
        "Advanced Functionality",
        "References"
      ],
      "created": "2020-03-23 16:16:22",
      "modified": "2024-09-30 16:51:52",
      "commits": 32
    }
  ],
  "_score": 4.3979400086720375,
  "_indexed": true,
  "_nocasepkg": "catsim",
  "_universes": [
    "gzt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-10-14T09:32:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/aa3bd3e6fb28d8910b650c27c9906a94a67660144d301cf51616bd8d93f96d69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-10-14T09:32:42.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/3f87c6158a08c2e0b0190f53f09dd43764b40c771f27f514c44288ed4b6ce0e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-10-14T09:32:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/fc622061b644dbeb850c34dff34f9230ebeef57060188599a3956fc404172789",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-10-14T09:32:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/b92afaa0971b362be611cff3e7b58620aa453ca572b756376911a920ae05a5a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-10-14T09:57:31.000Z",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/7e850ee1b8fb943be3b6e96da9238d527e2cdcf720c24a03f1c6a13f2c3f768a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-10-14T09:34:58.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/4566216d8714bd6f4fc9aeaa2f925d7accf3b2c846a96ab9906064107077f3bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-10-14T09:59:54.000Z",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/d514e679cd2316b5178e2126eb9e57124a06fbdf5829290daf2c2ed795635322",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-10-14T09:35:06.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/088461f5addaa0df9748b8d9379c5c81d7395af94f0e7864209652b5d65febaa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.4",
      "date": "2026-10-14T09:32:42.000Z",
      "arch": "emscripten",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/51cef718b558b1315f16e7de600e318cf6a6f83cd5b1eabfb1bd532953181f04",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-10-14T09:34:02.000Z",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/830f75963ea6cbe8006d493d8308ce1425209c9c5d46166c7ca910e9bcc1d4a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-10-14T09:32:06.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/05423c2ad23824b9c52eb0e01220bc973ba843152b344102e162503281a4765d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-10-14T09:31:59.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/45dcef56c6b44bd7c45a3f6db5ffc44a05a377a5f6d2bb2030c532560af362bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-10-14T09:34:11.000Z",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/0fb4cacd70c2733084f3cd81c2e7f7bbcd2bf180b164c0b519198dfa8b083c1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-10-14T09:31:53.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/abc3e5d810af755057d131ff852b37704d5d44f725564d2061fec864127cd293",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/38542366269"
    }
  ]
}