Change the size of structure element

114 Views Asked by At

I'm doing some tests of morphological operators in Julia. So I would like to apply dilation, erosion, etc. to a given image. When I use the command ImageMorphology.dilate(), I get the dilation of an image with the structuring element a 3-sided square.

I would like to increase my structuring element to a square of size 4 x 4, 5 x 5, 6 x 6 and etc. and I can't do that in Julia. I've read the documentation and can't find anything like it. Do you know how to proceed?

0

There are 0 best solutions below