Novel example-based method for super-resolution and denoising of medical images