Percolation analysis of voids for different orders of median filtering