Optimal physical preprocessing for example-based super-resolution A