hasHole edit page

test if a grain has a hole or not

Syntax

h = hasHole(grains)

Input

grains grain2d

Output

h logical array, |true| if a grain has hole