Blind Photographic Images Restoration with Discontinuities Preservation