compute_centroid: Centroid of an image

Description Usage Arguments Value Author(s)

Description

Computes the centroid of an image.

Usage

1
compute_centroid(img, x_grid, y_grid)

Arguments

img

An image represented by a matrix

x_grid

Vector with the coordinates of x

y_grid

Vector with coordinates of y

Value

A vector of size two with the centroid.

Author(s)

Guillermo Basulto-Elias


gbasulto/solefinder documentation built on May 20, 2019, 2:45 p.m.