boundary_mask_surf function

Boundary region of a mask