Thus the central pixel has the maximum contribution in determining its modified value. In the averaging procedure the membership values themselves serve as the weights of the gray levels of the pixels in the neighborhood. In light of above discussions the algorithm can be presented concisely as follows