In order to filter the data sampled from inner-contour generatrix of pipe figure measured by laser,a new effective weighted average recursive filter based on energy difference is proposed.In counting the weight of the filter proposed,the idea is that more weight will be distributed to those data in which the components of energy spectrum relatively concentrate and less weight to other aberration data disturbed by noise.Proper length of filter window is got from simulation results.The well performance of the filter verified by simulations and experiments indicates the idea's rationality.