dilation

PIL/Numpy: enlarging white areas of black/white mask image

PIL/Numpy: enlarging white areas of black/white mask image Question: I want to produce a Python algorithm which takes in a ‘mask’ RGB image comprised exclusively of black and white pixels. Basically, each mask is a black image with one or more white shapes on it (see below). I want to transform this image by enlarging …

Total answers: 1