Pad and increase image area to fit dilation output | opencv | python

206 views Asked by At

I am applying image dilation using opencv-python.

This is the input image,

enter image description here

After, applying dilation, the output is as follows,

enter image description here

The dilated image is getting clipped by the edges of image. How can we increase the area of the output image automatically to fit the output of the dilation operation.

0

There are 0 answers