{
  "_id": "6a1ea8ebb25058d4daad945e",
  "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-06-02 09:48:40 UTC",
    "User": "root"
  },
  "Author": "Geoffrey Thompson [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2436-8822>)",
  "Maintainer": "Geoffrey Thompson <gzthompson@gmail.com>",
  "MD5sum": "73e93ab9d8f826fae685c36b8fb6279b",
  "_user": "gzt",
  "_type": "src",
  "_file": "catsim_0.2.4.tar.gz",
  "_fileid": "f743957341ab6c3e745a6ca965fb542e2ed87942aab8533192ce7c8cb19848d3",
  "_filesize": 269552,
  "_sha256": "f743957341ab6c3e745a6ca965fb542e2ed87942aab8533192ce7c8cb19848d3",
  "_created": "2026-06-02T09:48:40.000Z",
  "_published": "2026-06-02T09:56:59.757Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79044195571,
      "time": 143,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354466866"
    },
    {
      "job": 79044195611,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354470000"
    },
    {
      "job": 79044195590,
      "time": 143,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354467415"
    },
    {
      "job": 79044195581,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354467411"
    },
    {
      "job": 79044195560,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354454487"
    },
    {
      "job": 79044195577,
      "time": 444,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354572268"
    },
    {
      "job": 79044195582,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354444951"
    },
    {
      "job": 79044195683,
      "time": 284,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354515897"
    },
    {
      "job": 79043452269,
      "time": 262,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354413608"
    },
    {
      "job": 79044195548,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354457431"
    },
    {
      "job": 79044195696,
      "time": 123,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354458611"
    },
    {
      "job": 79044195555,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354454194"
    },
    {
      "job": 79044195564,
      "time": 139,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354464458"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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",
    "description": "Data Scientist and Statistician. Interests: clustering, multivariate statistics, unsupervised learning, semisupervised learning. R, some C"
  },
  "_downloads": {
    "count": 195,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/catsim"
  },
  "_devurl": "https://github.com/gzt/catsim",
  "_pkgdown": "https://gzt.github.io/catsim/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/catsim.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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",
    "pkgbuild",
    "pkgload",
    "praise",
    "processx",
    "ps",
    "R6",
    "Rcpp",
    "rlang",
    "rprojroot",
    "testthat",
    "waldo",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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-06-02T09:51:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "8d2a6e9f4fba6e7ca240efb6db8e08d744137717c15b90f8843e2520c75aad76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-06-02T09:51:08.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "c123700efc3f15c11103a48a6b59009a1250e0164d67f1be4453bbcbcc9366cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-06-02T09:51:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "0de8a1344e32e08951502008a0e430e05071c7812b33bef61ab740ff3dd31771",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-06-02T09:51:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "d8956870eaf7bd62aa91fe0d2fcd1fa5887455aeb34a5b3ca5a2b1a2601c32af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-06-02T09:50:41.000Z",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "e6ce42f534e310071bebb7711f1c54e9b8a52af50d1b8b142255ccfbd314f156",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-06-02T09:53:17.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "2794607ecbb343fb99fe794ebd16a96f23896e70e66246a4b0bb6750825e31cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-06-02T09:50:16.000Z",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "7b1b7abe1c2f621dbcf3a52de1135d073f9d2476012f60a817bfdc43489b7540",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-06-02T09:52:41.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "795a61cdc40c7addf8090413442cbb3c7a8d657e892e76646d6c886f3ae2f6d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.4",
      "date": "2026-06-02T09:51:04.000Z",
      "arch": "emscripten",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "d14f3118d56a2190b816b2050fc0abd49ffc413b4066b5b58deed227aaaf1368",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-06-02T09:50:10.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "7d466d30882844a0d587279c863a28e00c166345edde3903d6af18e5ac1fa179",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-06-02T09:50:04.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "5f10ca9511e4afdceddd4c97bbbba3be6936afae7a6ac63b19a285a8f68976db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-06-02T09:50:09.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "416dc89b374572dcf3cf0e78f5cf412eacecba1e763ec84d5fb2f985ec451c25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/26811776882"
    }
  ]
}