{
  "_id": "6a0fedbcacfb0bcc41c740f7",
  "Package": "gdi",
  "Title": "Volumetric Analysis using Graphic Double Integration",
  "Version": "1.10.0",
  "Date": "2025-11-24",
  "Authors@R": "person(\"Darius\", \"Nau\", , \"dariusnau@gmx.at\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0000-4343-6830\"))",
  "Maintainer": "Darius Nau <dariusnau@gmx.at>",
  "Description": "Tools implementing an automated version of the graphic\ndouble integration technique (GDI) for volume implementation,\nand some other related utilities for paleontological\nimage-analysis. GDI was first employed by Jerison (1973)\n<ISBN:9780323141086> and Hurlburt (1999)\n<doi:10.1080/02724634.1999.10011145> and is primarily used for\nvolume or mass estimation of (extinct) animals. The package\n'gdi' aims to make this technique as convenient and versatile\nas possible. The core functions of 'gdi' provide utilities for\nautomatically measuring diameters from digital silhouettes\nprovided as image files and calculating volume via graphic\ndouble integration with simple elliptical, superelliptical\n(following Motani 2001\n<doi:10.1666/0094-8373(2001)027%3C0735:EBMFST%3E2.0.CO;2>) or\ncomplex cross-sectional geometries (see also Zhao 2024\n<doi:10.7717/peerj.17479>). Additionally, the package provides\nfunctions for estimating the center of mass position (COM), the\nmoment of inertia (I) for 3D shapes and the second moment of\narea (Ix, Iy, Iz) of 2D cross-sections, as well as for the\nvisualization of results.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 05:43:21 UTC",
    "User": "root"
  },
  "Author": "Darius Nau [aut, cre] (ORCID:\n<https://orcid.org/0009-0000-4343-6830>)",
  "Config/pak/sysreqs": "libjpeg-dev libpng-dev",
  "Repository": "https://theropod1.r-universe.dev",
  "Date/Publication": "2025-11-25 11:32:10 UTC",
  "RemoteUrl": "https://github.com/cran/gdi",
  "RemoteRef": "HEAD",
  "RemoteSha": "e756e3ecbe9928b31e44d27249b8a6e8b48f881c",
  "MD5sum": "cce79fc8c0ac718856bfa23926b9633f",
  "_user": "theropod1",
  "_type": "src",
  "_file": "gdi_1.10.0.tar.gz",
  "_fileid": "d0d374a56eede7a65fac04f485b0e59891ba27deb2f83f6f5b7dd93cf5aa6901",
  "_filesize": 438348,
  "_sha256": "d0d374a56eede7a65fac04f485b0e59891ba27deb2f83f6f5b7dd93cf5aa6901",
  "_created": "2026-05-22T05:43:21.000Z",
  "_published": "2026-05-22T05:46:36.468Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77323275787,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7153594338"
    },
    {
      "job": 77323275782,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153595656"
    },
    {
      "job": 77323275802,
      "time": 148,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7153598344"
    },
    {
      "job": 77323275794,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153593658"
    },
    {
      "job": 77323003208,
      "time": 168,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153570431"
    },
    {
      "job": 77323275788,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153592397"
    },
    {
      "job": 77323275819,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7153590962"
    },
    {
      "job": 77323275818,
      "time": 76,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7153586504"
    },
    {
      "job": 77323275841,
      "time": 72,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153585623"
    }
  ],
  "_buildurl": "https://github.com/r-universe/theropod1/actions/runs/26209135222",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/gdi",
  "_commit": {
    "id": "e756e3ecbe9928b31e44d27249b8a6e8b48f881c",
    "author": "Darius Nau <dariusnau@gmx.at>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.10.0\n",
    "time": 1764070330
  },
  "_maintainer": {
    "name": "Darius Nau",
    "email": "dariusnau@gmx.at",
    "login": "theropod1",
    "description": "",
    "uuid": 109037333
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "jpeg",
      "role": "Depends"
    },
    {
      "package": "png",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-48",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.10.0",
      "date": "2025-11-25"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "theropod1",
      "count": 6,
      "uuid": 109037333
    }
  ],
  "_userbio": {
    "uuid": 109037333,
    "type": "user",
    "name": "Darius Nau"
  },
  "_downloads": {
    "count": 185,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gdi"
  },
  "_searchresults": 19,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gdi.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "theropod1",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.1.1",
      "date": "2023-05-04"
    },
    {
      "version": "1.2.2",
      "date": "2023-06-07"
    },
    {
      "version": "1.4.1",
      "date": "2023-08-07"
    },
    {
      "version": "1.5.4",
      "date": "2023-09-07"
    },
    {
      "version": "1.6.0",
      "date": "2024-04-21"
    },
    {
      "version": "1.10.0",
      "date": "2025-11-25"
    }
  ],
  "_exports": [
    "cscorr",
    "csI",
    "expandConvexHull",
    "fdetect",
    "gdi",
    "hCOM",
    "imghist",
    "inter_corr",
    "measuresil",
    "plot_sil",
    "rotI",
    "sellipse",
    "sellipse.coo",
    "transfer_ratio",
    "vCOM"
  ],
  "_help": [
    {
      "page": "cscorr",
      "title": "Measure and analyze cross-sectional geometry supplied as an image.",
      "topics": [
        "cscorr"
      ]
    },
    {
      "page": "csI",
      "title": "Calculates the second moment of area (=area moment of inertia, Ix and Iy) and polar moment of inertia (Iz or J) for a cross-section given as an image.",
      "topics": [
        "csI"
      ]
    },
    {
      "page": "expandConvexHull",
      "title": "Estimate soft tissue expansion factors following Macaulay et al. 2023",
      "topics": [
        "expandConvexHull"
      ]
    },
    {
      "page": "fdetect",
      "title": "Tool to help determine which threshold value and method to use with measuresil() or cscorr(). The function analyzes all pixels along the edges of the image to determine the background color, to help with deciding on appropriate settings and avoid errors introduced by inappropriate settings",
      "topics": [
        "fdetect"
      ]
    },
    {
      "page": "gdi",
      "title": "Estimate volume using Graphic Double Integration.",
      "topics": [
        "gdi"
      ]
    },
    {
      "page": "hCOM",
      "title": "Finds the horizontal (x axis, i.e. the axis vertical to the cross-sections) position of the center of mass (COM) of the volume. Experimental; only valid for \"raw\" gdi results with segment volumes approximated as elliptical prisms, or for manually supplied segment COMs. COM is calculated as a weighted mean of all segment COMs, with the segment mass as the weighting factor.",
      "topics": [
        "hCOM"
      ]
    },
    {
      "page": "imghist",
      "title": "Simple histogram analysis for all color values in an input image. Can be used to help assess whether a chosen threshold value is appropriate for differentiating the silhouette from the background, or for general image analysis purposes.",
      "topics": [
        "imghist"
      ]
    },
    {
      "page": "inter_corr",
      "title": "Helper function for interpolating cross-sectional metrics over the length of a silhouette",
      "topics": [
        "inter_corr"
      ]
    },
    {
      "page": "measuresil",
      "title": "Take pixel-by-pixel measurements of a silhouette in jpeg or png format for use with the gdi function.",
      "topics": [
        "measuresil"
      ]
    },
    {
      "page": "plot_sil",
      "title": "Plots a silhouette read by measuresil()",
      "topics": [
        "plot_sil"
      ]
    },
    {
      "page": "rotI",
      "title": "Calculates the rotational inertia of a body. Only works with simple circular/elliptical and rectangular cross-sections, thus pixel-precise estimates are recommended.",
      "topics": [
        "rotI"
      ]
    },
    {
      "page": "sellipse",
      "title": "Estimate area of a superellipse. Assistant function for gdi.",
      "topics": [
        "sellipse"
      ]
    },
    {
      "page": "sellipse.coo",
      "title": "calculate coordinates for plotting a superellipse for visualizing body cross-sections",
      "topics": [
        "sellipse.coo"
      ]
    },
    {
      "page": "transfer_ratio",
      "title": "Transfer a vector of aspect ratios onto another body profile",
      "topics": [
        "transfer_ratio"
      ]
    },
    {
      "page": "vCOM",
      "title": "Finds the vertical (y axis, i.e. the axis parallel to the cross-section diameter) position of the center of mass (COM) of the volume. Experimental; only valid for \"raw\" gdi results with segment volumes approximated as elliptical prisms, or for manually supplied segment COMs. COM is calculated as a weighted mean of all segment COMs, with the segment mass as the weighting factor. Estimates have lower accuracy compared to hCOM, because cross-sectional geometry and variation in density throughout the cross-section is not taken into account.",
      "topics": [
        "vCOM"
      ]
    }
  ],
  "_rundeps": [
    "jpeg",
    "png"
  ],
  "_vignettes": [
    {
      "source": "estimating_COM.Rmd",
      "filename": "estimating_COM.html",
      "title": "Estimating Center of Mass",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-08-07 17:30:56",
      "modified": "2024-04-22 02:35:34",
      "commits": 3
    },
    {
      "source": "gdi.Rmd",
      "filename": "gdi.html",
      "title": "gdi",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-05-04 07:20:02",
      "modified": "2023-08-07 17:30:56",
      "commits": 3
    },
    {
      "source": "misc.Rmd",
      "filename": "misc.html",
      "title": "Miscellaneous Applications",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-09-07 23:30:44",
      "modified": "2024-04-22 02:35:34",
      "commits": 2
    }
  ],
  "_score": 2.7558748556724915,
  "_indexed": true,
  "_nocasepkg": "gdi",
  "_universes": [
    "theropod1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.10.0",
      "date": "2026-05-22T05:45:13.000Z",
      "distro": "noble",
      "commit": "e756e3ecbe9928b31e44d27249b8a6e8b48f881c",
      "fileid": "982a46564d60b52d9edc7f4e49a1a73916c145f8ddeb7687d01e8cbe627999ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/theropod1/actions/runs/26209135222"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.10.0",
      "date": "2026-05-22T05:45:21.000Z",
      "distro": "noble",
      "commit": "e756e3ecbe9928b31e44d27249b8a6e8b48f881c",
      "fileid": "3c1eab013db4eb56974d744014193f83c6e0c24d14efccdb51fa68271e61ca02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/theropod1/actions/runs/26209135222"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.10.0",
      "date": "2026-05-22T05:45:38.000Z",
      "commit": "e756e3ecbe9928b31e44d27249b8a6e8b48f881c",
      "fileid": "c846745f83bcb833e3c3cde5036e819bfc4e6bea43b7894bc19b12cf62edec5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/theropod1/actions/runs/26209135222"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.10.0",
      "date": "2026-05-22T05:45:17.000Z",
      "commit": "e756e3ecbe9928b31e44d27249b8a6e8b48f881c",
      "fileid": "e2253bb56585bf4cf6611ced9356b9796b6e77d5d1eef66f02eba17ffff140ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/theropod1/actions/runs/26209135222"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.10.0",
      "date": "2026-05-22T05:45:20.000Z",
      "commit": "e756e3ecbe9928b31e44d27249b8a6e8b48f881c",
      "fileid": "0735a35e6881c29f7fa0dfc69f68ac69cb84c4c1138f2f9cea6652c10cb5ea7d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/theropod1/actions/runs/26209135222"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.10.0",
      "date": "2026-05-22T05:44:51.000Z",
      "commit": "e756e3ecbe9928b31e44d27249b8a6e8b48f881c",
      "fileid": "ea8751e9177d89291e78c97d88fc8944f4517a83b3ae726de2850af2cc6a4345",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/theropod1/actions/runs/26209135222"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.10.0",
      "date": "2026-05-22T05:44:29.000Z",
      "commit": "e756e3ecbe9928b31e44d27249b8a6e8b48f881c",
      "fileid": "00371b700b3e320492d94481e1be9119e5e361b4643c75279cfe5bdff8b934b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/theropod1/actions/runs/26209135222"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.10.0",
      "date": "2026-05-22T05:44:24.000Z",
      "commit": "e756e3ecbe9928b31e44d27249b8a6e8b48f881c",
      "fileid": "82746d10b9f100d3c5e686cf51d2c0a33a037c51e77fc674c09559248aa20464",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/theropod1/actions/runs/26209135222"
    }
  ]
}