Perform morphological $(LINK3 https://en.wikipedia.org/wiki/Closing_(morphology),closing).
Performs dilation, than on the resulting dilated image performs erosion.
Note: Closing works only for 2D binary images.
Input image slice, to be eroded.
Erosion/Dilation kernel. Default value is radialKernel!T(3).
Optional pre-allocated buffer to hold result.
Optional TaskPool instance used to parallelize computation.
Closed image slice, of same type as input image.
See Implementation
Perform morphological $(LINK3 https://en.wikipedia.org/wiki/Closing_(morphology),closing).
Performs dilation, than on the resulting dilated image performs erosion.
Note: Closing works only for 2D binary images.