{
  "_id": "6af6f617b90b31e79afd7911",
  "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-11-13 11:29:50 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/83a9c0cee61484524a6db6915703615d33eaa6c45f9746e328c9120288fed647",
  "_filesize": 270092,
  "_sha256": "83a9c0cee61484524a6db6915703615d33eaa6c45f9746e328c9120288fed647",
  "_expires": "2027-02-21T11:35:49.000Z",
  "_created": "2026-11-13T11:29:50.000Z",
  "_published": "2026-11-13T11:35:51.527Z",
  "_upstream": "https://github.com/gzt/catsim",
  "_status": "success",
  "_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"
  },
  "_jobs": [
    {
      "job": 131859299832,
      "time": 117,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14032113509"
    },
    {
      "job": 131859299838,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14032717049"
    },
    {
      "job": 131859299800,
      "time": 101,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14033215623"
    },
    {
      "job": 131859299809,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14032930994"
    },
    {
      "job": 131859299833,
      "time": 147,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14032966464"
    },
    {
      "job": 131859299851,
      "time": 277,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14033251202"
    },
    {
      "job": 131859299907,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14032996447"
    },
    {
      "job": 131859299848,
      "time": 310,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14032348330"
    },
    {
      "job": 131857473365,
      "time": 245,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14032052315"
    },
    {
      "job": 131859299770,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14031673986"
    },
    {
      "job": 131859299900,
      "time": 198,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14032567471"
    },
    {
      "job": 131859299837,
      "time": 264,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14032711751"
    },
    {
      "job": 131859299965,
      "time": 226,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14032761509"
    },
    {
      "job": 131859299888,
      "time": 217,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14031924479"
    },
    {
      "job": 131859299936,
      "time": 240,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14031484856"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332",
  "_commit": {
    "id": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
    "author": "gzt <gzthompson@gmail.com>",
    "committer": "gzt <gzthompson@gmail.com>",
    "message": "update NEWS to Arxiv\n",
    "time": 1727725868
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 427,
    "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,
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_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-11-13T11:31:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/9b6df00aee0ababd16bae03274e6ec6126852fb258d8fce2a1150119d7d35d00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-11-13T11:31:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/c8adc45cf752c8398fa8927a20743ac7bfa7f514e6ff6431e7dff974c2adba23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-11-13T11:31:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/6789defa2cd1838a60476a8e7e7be132452131a3af22f6a9cc376e4e0aa79373",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-11-13T11:31:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/7e3320ad624132b8886b931c444187ddfb54166e4dfdde7b81d6cb1a6220b765",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-11-13T11:32:04.000Z",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/d6cae60526513af93800a46d6d64c3d01bf79bc600e8d5e2ec65ad8a5f6932f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-11-13T11:33:29.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/2b19b062ede49ea8a4e3985f6d48bec930cb2ec79a4544e8e5eb35f66700d4d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-11-13T11:31:40.000Z",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/c0f9ebdc5e1a811aa5f17a157142128800738c9e5614b1c9582e947bdcf80d66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-11-13T11:33:34.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/bd988921df362f9ee99fac31e4232cdbad79f2af18590dcd6ff0ecc265ec2093",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.4",
      "date": "2026-11-13T11:31:53.000Z",
      "arch": "emscripten",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/817cfd4c76d54ee46bce07d7553c670682e6a0c3b99f5d54ca7cc51b400b959f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-11-13T11:32:48.000Z",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/82c94319c5ffaf641d0ea63494dff66e833cf7f8f43845a2908718939f079fdd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-11-13T11:31:58.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/587543345f2032a7b73aa644adc8f372c3bfb925f1b5f94245d6cdb49e7ca0e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-11-13T11:32:19.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/062208a5d5774b6ebf3d1b28415f8c7b026c62e9b1d035cbbc0fd0a539456ce7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-11-13T11:33:10.000Z",
      "arch": "aarch64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/e49cd4e6a460f66d85ae58387cc639c3997f819e4baab5c1440f57c8dda4730b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-11-13T11:32:30.000Z",
      "arch": "x86_64",
      "commit": "eceeb92f1b40b9afaf4af94737fcfdff2c586c62",
      "fileid": "https://r2.ropensci.org/fdaeea1415f6da47b6f64ec28687f9a14b07ec8884cf1593d8d36abb65783b9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gzt/actions/runs/43417007332"
    }
  ]
}