Memory Effect Based Filter to Improve Imaging Quality Through Scattering Layers