This function applies mean filter among 9 neighbors to a given image.
meanImg(img)
img
object of imagematrix class whose the size is as same as target
data(logo) plot(meanImg(logo))