Image Denoising Based on Multiscale Singularity Detection