ENH: Add mean and median filters

Change-Id: Id9041074c8cdd032a2477318bbcddce7ad87ada8
Merge "ENH: Add mean and median filters"