Image must already be a 2D binary raster. See examples in image_mask
algo_Conte(img, x = image_center(img))
img | matrix |
---|---|
x | where to start a length 2 integer vector. Default to image_center |
Used to be the core of retired Momocs' import_jpg
Borrowed from Julien Claude's (2008) Morphometrics using R. Retained argument naming.