Total variation based image restoration with free local constraints | Synapse