Filter for the dominant lines