← back to roto on ba3a.dev

close

fun close(mask: Mask, radius: Int): Mask

Closing, dilation then erosion: fills gaps and notches narrower than the square.