check which of the indexed grains border with the map/ domain boundary - use this function to find boundary grains if they were reconstructed using alphaShapes
Syntax
out = isOuterBoundary(grains)Input
| grains | grain2d | 
Output
| out | logical | 
Options
| delta | double (default 0.95; 0 = convex hull, 1 = envelop touching all points) |