The median filtering is a common method in image processing
but it is limited when it faces the swash noise of space high density
because it depends on the fixed windows and the data points.This article uses the MATLAB tool box to improve the method of common median filtering.The improved one can solve the problem better when compared with the common one.