Gray-scale morphology

The same operations than in binary images can be defined for gray-scale level images, except that coefficients in the element structure are graylevel values. The way the kernel is created is the same as for the convolution applet.