A new median formula with applications to PDE based denoising | Synapse