Transforms and median filters