imAnalyzeMeasurePerimeter

Measure the total perimeter of all regions (external and internal). \n * Source image is IM_GRAY/IM_USHORT type (the result of imAnalyzeFindRegions). \n * It uses a half-pixel inter distance for 8 neighbors in a perimeter of a 4 connected region. \n * This function can also be used to measure line length. \n * perim has size the number of regions. * * \verbatim im.AnalyzeMeasurePerimeter(image: imImage) -> perim: table of numbers [in Lua 5] \endverbatim * \ingroup analyze

extern (C) @safe nothrow
void
imAnalyzeMeasurePerimeter
(
const(imImage)* image
,
float* perim
,)

Meta