enhancement median filter (debug output)