OPENING WITH SPHERE
Macro: PROGSMOPE
Function: Closing is the operation erosion followed by dilation. The structuring element used is a sphere. 
Parameters:
1. Radius of cylinder.
2. Input output image planes.
