Description Usage Arguments Value Author(s)
Computes the centroid of an image.
1 | compute_centroid(img, x_grid, y_grid)
|
img |
An image represented by a matrix |
x_grid |
Vector with the coordinates of x |
y_grid |
Vector with coordinates of y |
A vector of size two with the centroid.
Guillermo Basulto-Elias
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.