Image restoration via human perception and Lie groups