An enhanced image restoration using deep learning and transformer based contextual optimization algorithm | Synapse