mango.image.centre_of_mass

mango.image.centre_of_mass((object)input) → object :

Calculates the centre of mass of the elements of the mango.Dds array.

Parameters:input (mango.Dds) – Data from which centre-of-mass is calculated.
Return type:float coordinate
Returns:Centre of mass coordinate (cz,cy,cx).
C++ signature :
boost::python::api::object centre_of_mass(boost::python::api::object)

Previous topic

mango.image.histogramdd

Next topic

mango.image.moment_of_inertia

This Page