← back to roto on ba3a.dev

dilate

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

A pixel becomes foreground when anything in the square around it is foreground.