[R] Image processing in R for BMI calculation
@purd|e@@ @end|ng |rom gm@||@com
Mon Mar 1 01:52:54 CET 2021
If the background is relatively uniform:
Then a simple algorithm could be used, to distinguish foreground from
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".
On Mon, Mar 1, 2021 at 5:39 AM Paul Bernal <paulbernal07 using 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,
> [[alternative HTML version deleted]]
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help