Perform morphological $(LINK3 https://en.wikipedia.org/wiki/Dilation_(morphology),dilation).
Use given kernel matrix to estimate image dilation for given image slice. Given slice is considered to be binarized with threshold method.
For given input slice:
0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1 1 0 0 1 1 1 1 0 0 1 1 1 0 0 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 0 0 1 1 0 0 0 1 1 1 1 0 0 1 1 0 0 0 1 1 1 1 0 0 1 1 0 0 0 1 1 1 1 0 0 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
... And dilation kernel of:
1 1 1 1 1 1 1 1 1
... Resulting slice is:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 0 0
Note: Dilation works only for 2D binary images.
Input image slice, to be eroded.
Dilation kernel. Default value is radialKernel!T(3).
Optional pre-allocated buffer to hold result.
Optional TaskPool instance used to parallelize computation.
Dilated image slice, of same type as input image.
See Implementation
Perform morphological $(LINK3 https://en.wikipedia.org/wiki/Dilation_(morphology),dilation).
Use given kernel matrix to estimate image dilation for given image slice. Given slice is considered to be binarized with threshold method.
For given input slice:
... And dilation kernel of:
... Resulting slice is:
Note: Dilation works only for 2D binary images.