lentil.centroid#

lentil.centroid(img)[source]#

Compute image centroid location.

Parameters:

img (array_like) – Input array.

Returns:

(r,c) centroid location.

Return type:

tuple