CenterOfGravity
is a small Julia package to compute centers of gravity in
images (that is 2-dimensional arrays). By playing with the arguments of the
center_of_gravity
method, a variety of algorithms for computing the center of
gravity can be emulated by this package.
The easiest way to install CenterOfGravity
is via Julia registry
EmmtRegistry
:
using Pkg
pkg"registry add General" # if not yet any registries
pkg"registry add https://github.com/emmt/EmmtRegistry"
pkg"add CenterOfGravity"