perimeter

(method of grain2d)

calculates the perimeter of a grain without or without inclusions

Syntax

grains.perimeter
perimter(grains)
perimter(grains,'withInclusions')

Input

grains

grain2d

Output

peri

perimeter (in measurement units)

See also

grain2d/equivalentPerimeter