I'm currently working on an image processing pipeline. For this project I'm segmenting images and creating labels that are sort of oval. I was wondering if it is possible to increase the size of these labels by a defined factor, e.g. 20 px into each direction, to analyze the surrounding of the objects.
I'm new to this kind of analysis and any suggestions for a solution are highly appreciated. If necessary I can also provide an example picture.