In this step we take the input image and divide it up into N x N squares. In each square we find the mean and variance. We then normalize the image according to our preferred mean and variance (100 and 100 respectively). This equation is listed below:
Figure - Normalization Formula
Where I(I,j) is the grayscale value of the image, M0 is the sample mean, VAR0 is the local variance, and M and VAR are the preferred mean and variance. G
(i,j) is the output of this filtering for each pixel (i,j) in the input image I.
لو سمحتو ممكن حديساعدني بكتابة هاي المعادلة عالماتلاب لاني حاولت فيها كتير ما زبطت