If there is a need to recognise edges on a raster image or a bitmap or any kind of a matrix, one can find packages
that does only 90 degrees vectorization. Typically the nature of artefact images is linear and can be vectorized in much more
efficient way than draw a series of 90 degrees lines. The fasteraster package does recognition of lines using only one pass.
It also allows to calculate mass and the mass centers for the recognized zones or polygons.

c(
person("Noam", "Ross", , "ross@ecohealthalliance.org",
role = c("aut", "cre"),
comment=c(ORCID = "0000-0002-1642-628X")),
person("Michael", "Sumner", role = "ctb",
comment=c(ORCID = "0000-0002-2471-7511")),
person("EcoHealth Alliance", role="cph"))
Provides a drop-in replacement for rasterize() from the 'raster'
package that takes 'sf'-type objects, and is much faster. There is support
for the main options provided by the rasterize() function, including
setting the field used and background value, and options for
aggregating multi-layer rasters. Uses the scan line algorithm attributed to
Wylie et al. (1967) <doi:10.1145/1465611.1465619>.
testthat, microbenchmark, knitr, rmarkdown, sf
Noam Ross [aut, cre] (<https://orcid.org/0000-0002-1642-628X>),
Michael Sumner [ctb] (<https://orcid.org/0000-0002-2471-7511>),
EcoHealth Alliance [cph]

c(
person("Noam", "Ross", , "ross@ecohealthalliance.org",
role = c("aut", "cre"),
comment=c(ORCID = "0000-0002-2136-0000")),
person("Michael", "Sumner", role = "ctb",
comment=c(ORCID = "0000-0002-2471-7511")),
person("EcoHealth Alliance", role="cph"),
person("USAID PREDICT", role = "fnd"))
Noam Ross [aut, cre] (<https://orcid.org/0000-0002-2136-0000>),
Michael Sumner [ctb] (<https://orcid.org/0000-0002-2471-7511>),
EcoHealth Alliance [cph],
USAID PREDICT [fnd]

Fast and Stable Fitting of Generalized Linear Models using
'RcppEigen'
c(
person("Jared", "Huling", , "jaredhuling@gmail.com", c("aut", "cre")),
person("Douglas", "Bates", , , c("cph")),
person("Dirk", "Eddelbuettel", , , c("cph")),
person("Romain", "Francois", , , c("cph")),
person("Yixuan", "Qiu", , , c("cph"))
)
Fits generalized linear models efficiently using 'RcppEigen'. The iteratively reweighted least squares
implementation utilizes the step-halving approach of Marschner (2011) <doi:10.32614/RJ-2011-012> to help safeguard
against convergence issues.
Jared Huling [aut, cre],
Douglas Bates [cph],
Dirk Eddelbuettel [cph],
Romain Francois [cph],
Yixuan Qiu [cph]