Calculate the centroid position of all regions. Holes are not included. \n
* Source image is IM_GRAY/IM_USHORT type (the result of \ref imAnalyzeFindRegions). \n
* area, cx and cy have size the number of regions. If area is NULL will be internally calculated.
*
* \verbatim im.AnalyzeMeasureCentroid(image: imImage, [area: table of numbers], [region_count: number]) -> cx: table of numbers, cy: table of numbers [in Lua 5] \endverbatim
* The returned tables are zero indexed.
* \ingroup analyze
Calculate the centroid position of all regions. Holes are not included. \n * Source image is IM_GRAY/IM_USHORT type (the result of \ref imAnalyzeFindRegions). \n * area, cx and cy have size the number of regions. If area is NULL will be internally calculated. * * \verbatim im.AnalyzeMeasureCentroid(image: imImage, [area: table of numbers], [region_count: number]) -> cx: table of numbers, cy: table of numbers [in Lua 5] \endverbatim * The returned tables are zero indexed. * \ingroup analyze