++1 for `enhance_contrast`.

I'd stay with "percentile", but as you already imply it would have been better to name the functions `mean`, `mean_percentile`, `mean_bilateral` rather than prepending the "percentile" and "bilateral". The question is whether it is worth the hassle to rename all of them… ?