Constrained restoration and the recovery of discontinuities | Synapse