Three structuring element shapes are currently available with this function:
x_filter_dimension = 3
y_filter_dimension = 3
z_filter_dimension = 3
shape = sphere
max_gray_level = 10
iterations = 1
The ``filter_dimension'' parameters specify the size of the structuring element in voxels. The x, y, and z values specified here correspond to the a, b, and c values used to compute the structuring element (see above).
The parameter ``shape'' specifies the shape of the structuring element to be used when performing the dilation. The available structuring elements are a sphere, paraboloid, and cone.
The parameter ``max_gray_level'' corresponds to the D value (see above) used to set the highest intensity value within the structuring element.