An 8x8 image f[i,j] has gray levels given by the following equation:
f [i , j]= ? i-j ? ; i,j=0,1,2,3,4,5,6,7.
a. Calculate the gray level value for all the pixels in the 8x8 image based on the above formula. (You should obtain 64 gray level values).
b. Find the output image obtained by applying 3x3 median filter on the whole image f[i,j] which was calculated from part (a); note that the border pixels remain unchanged.