Weighted median filters: a tutorial | Synapse