Pipeline transportation is the most economic and reasonable transport means of petroleum and natural gas. Influenced by complex corrosion environment, it is challenging to detect anomalies accurately with precise boundaries. Inspired by the idea of…