Edge-preserving multilevel methods for deblurring, denoising, and segmentation