This function applies a mask matrix to a jpeg image and extract statstical metrics for each chromatic coordinate on R, G and B.
a character string, path to the JPEG file
a binary mask, mask binary matrix (0 for included, 1 for not)
The function returns statistical metrics for each color channel. It returns NULL, if dimensions do not agree.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.