coglyphr: Compute Glyph Centers of Gravity from Image Data (original) (raw)
Computes the center of gravity (COG) of character-like binary images using three different methods. This package provides functions for estimating stroke-based, contour-based, and potential energy-based COG. It is useful for analyzing glyph structure in areas such as visual cognition research and font development. The contour-based method was originally proposed by Kotani et al. (2004) <https://ipsj.ixsq.nii.ac.jp/records/36793> and Kotani (2011) <https://shonan-it.repo.nii.ac.jp/records/2000243>, while the potential energy-based method was introduced by Kotani et al. (2006) <doi:10.11371/iieej.35.296>.
| Version: | 1.0.4 |
|---|---|
| Depends: | R (≥ 4.4.0) |
| Imports: | imager, dplyr, sp |
| Suggests: | testthat (≥ 3.0.0) |
| Published: | 2025-09-30 |
| DOI: | 10.32614/CRAN.package.coglyphr |
| Author: | Hiroyuki Muto |
| Maintainer: | Hiroyuki Muto |
| BugReports: | https://github.com/mutopsy/coglyphr/issues |
| License: | GPL-3 |
| URL: | https://github.com/mutopsy/coglyphr,https://mutopsy.github.io/coglyphr/ |
| NeedsCompilation: | no |
| Citation: | coglyphr citation info |
| Materials: | README, NEWS |
| CRAN checks: | coglyphr results |
Documentation:
| Reference manual: | coglyphr.html , <coglyphr.pdf> |
|---|
Downloads:
| Package source: | coglyphr_1.0.4.tar.gz |
|---|---|
| Windows binaries: | r-devel: coglyphr_1.0.4.zip, r-release: coglyphr_1.0.4.zip, r-oldrel: coglyphr_1.0.4.zip |
| macOS binaries: | r-release (arm64): coglyphr_1.0.4.tgz, r-oldrel (arm64): coglyphr_1.0.4.tgz, r-release (x86_64): coglyphr_1.0.4.tgz, r-oldrel (x86_64): coglyphr_1.0.4.tgz |
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=coglyphrto link to this page.