Projection-based depth functions and associated medians | Synapse