Decribes a filtering method for use with surfaces having stratified functional properties. The surfaces have a relatively small amount of waviness. This filtering method suppresses the valley influence on the reference line such that a more satisfactory line is generated.