detect clumps in a binary mask