Measure the number of holes of all regions. Optionally computes the holes area and holes perimeter of all regions. \n
* Source image is IM_GRAY/IM_USHORT type (the result of \ref imAnalyzeFindRegions). \n
* count, area and perim has size the number of regions, if some is NULL it will be not calculated.
* Not using OpenMP when enabled.
*
* \verbatim im.AnalyzeMeasureHoles(image: imImage, connect: number, [region_count: number]) -> holes_count: number, holes_area: table of numbers, holes_perim: table of numbers [in Lua 5] \endverbatim
* The returned tables are zero indexed.
* \ingroup analyze
Measure the number of holes of all regions. Optionally computes the holes area and holes perimeter of all regions. \n * Source image is IM_GRAY/IM_USHORT type (the result of \ref imAnalyzeFindRegions). \n * count, area and perim has size the number of regions, if some is NULL it will be not calculated. * Not using OpenMP when enabled. * * \verbatim im.AnalyzeMeasureHoles(image: imImage, connect: number, [region_count: number]) -> holes_count: number, holes_area: table of numbers, holes_perim: table of numbers [in Lua 5] \endverbatim * The returned tables are zero indexed. * \ingroup analyze