Image enhancement and restoration