Hi Paul, If the background is relatively uniform: Then a simple algorithm could be used, to distinguish foreground from background points. Essentially, returning a logical matrix. Otherwise, I'm assuming that suitable pooling/convolution operations could be used for this purpose. Then you could estimate *relative* measures of height and mass from the logical matrix. (With more precise measures being possible, if you know the image scales). There are a number of R packages for reading images. Currently, I mainly use Simon Urbanek's package, "png". I'm currently creating a package with support for pooling/convolution operations, and related utility functions. However, it's not ready yet. Another option is Jeroen Ooms' package, "magick". best, B.
On Mon, Mar 1, 2021 at 5:39 AM Paul Bernal <paulbernal07 at gmail.com> wrote:
Hello everyone,
Does anyone know about any package for image processing, for example, to
calculate body mass index pased on a picture, silouette or image.
Any guidance will be greatly appreciated.
Best regards,
Paul
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.