Median filtering is a simple and important method for processing salt-and-pepper noise image,but the traditional median filtering is appropriate for the weak salt-and-pepper noise image,not for the strong.In this paper,a twice adaptive median filter algorithm is proposed on the basis of median filtering,which has a simple implementation,low complexity and a better adaptability characteristics.Experimental results demonstrate that the method has a good processing effect for strong salt-and-pepper noise images,especially for the high-strong noise more than 50 percent.