Smooth the edges of a root binary image
Arguments
- img
A binary image of root systems (imager cimg object)
- kernel_shape
Shape of the kernel: "square", "diamond", or "disk"
- kernel_size
Size of the kernel for morphological operations (odd integer). Use larger kernels for higher image resolution
- iterations
Number of iterations for the smoothing process