Add mean gray value filter