floodfill with mask from canny