← Latest papers
💻 computer science

A Large-Scale Algorithmic Synthetic Dataset for Pixel-Level Segmentation of Internal Pipeline Corrosion

This paper presents a large-scale, algorithmic synthetic dataset and parametric framework for generating pixel-level segmentation labels of internal pipeline corrosion, which overcomes the limitations of real data collection and demonstrates high effectiveness in training deep learning models for corrosion detection.

Original authors: Mohammad Hossein Babajani, Ali Najafi Ardekany, Samir Neisy Minaei

Published 2026-11-23
📖 5 min read🧠 Deep dive

Original authors: Mohammad Hossein Babajani, Ali Najafi Ardekany, Samir Neisy Minaei

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Pipelines are the hidden arteries of modern industry, carrying oil, gas, and water across vast distances. Over time, the metal walls inside these pipes can eat away from the inside out, a process called corrosion. If this damage goes unnoticed, the pipe can thin and eventually fail, leading to leaks or ruptures. To prevent this, inspectors need to see inside the pipes, but the environment is dark, cramped, and difficult to reach. In recent years, engineers have turned to computers and cameras to automate this inspection, using software that can scan images and point out exactly where the metal is damaged. However, teaching a computer to recognize these tiny, irregular spots of rust requires thousands of examples, each with a perfect map showing exactly which pixels are corroded and which are not. Gathering these real-world examples is slow, expensive, and often impossible because the pipes are buried or in use.

This is where a new approach comes in. Instead of waiting for real pipes to corrode and then photographing them, a team of researchers at K.N. Toosi University of Technology decided to build a digital factory that creates the images itself. They developed a system that generates thousands of synthetic pictures of pipe interiors, complete with realistic-looking rust and a perfect, computer-generated map of where that rust is located. The core idea is to treat the inside of a pipe like a flat sheet of paper that has been rolled into a tube. The researchers first create a flat image with a background texture and a pattern of rust, then mathematically wrap that flat image around a virtual cylinder to mimic the view of a camera looking down a pipe. Because the computer knows exactly how the flat sheet was wrapped, it automatically knows the exact location of every rust spot without needing a human to draw it. This method avoids the need for complex 3D models, relying instead on a direct, pixel-by-pixel translation from a flat surface to a curved view.

The researchers used this system to create a massive collection of 6,576 image pairs. Each pair consists of a high-resolution picture of a pipe interior and its corresponding "mask," which is a black-and-white map where white represents the background and black represents the corrosion. To make the data useful for training real-world software, the team added layers of realism. They simulated the accumulation of sediment at the bottom of the pipe, which can hide some rust, and adjusted the lighting to create the uneven shadows typical of a camera moving through a dark tunnel. They also varied the position of the virtual camera to show the same pipe damage from different angles, ensuring the software learns to recognize corrosion regardless of where it is viewed from. Crucially, the team organized the data so that all views of a single pipe profile were kept together; if one view of a specific pipe was used to train the software, no other view of that same pipe was used to test it. This prevents the computer from simply memorizing the shape of a specific pipe and forces it to learn the general patterns of corrosion.

To test if this digital factory produced useful results, the researchers trained three different types of artificial intelligence models on their synthetic dataset. These models were tasked with identifying the rust in the images. When tested on the unseen synthetic images, all three models performed with remarkable accuracy, correctly identifying the location and shape of the corrosion in nearly every case. The software was able to distinguish between the background and the rust with a high degree of precision, achieving a score that indicates it got almost every pixel right. The researchers then took a further step to see if this digital training would hold up in the real world. They applied the models, without any further training, to 116 actual photographs taken from ten physical pipe specimens in a laboratory. While they could not measure the exact accuracy on these real images because they lacked perfect maps for comparison, a visual inspection showed that the models produced coherent and logical results. The software successfully highlighted areas that looked like corrosion, suggesting that the patterns it learned from the synthetic world were transferable to the physical one.

The study demonstrates that it is possible to generate a large, high-quality dataset for pipeline inspection without the bottlenecks of real-world data collection. By separating the shape of the rust from its visual texture and using a direct mapping technique, the researchers created a tool that can produce endless variations of damage scenarios. The findings suggest that this synthetic approach is a viable path forward for developing automated inspection systems. While the models have not yet been proven to work perfectly in every real-world operating condition, the ability to train them on such a vast and controlled dataset provides a strong foundation. The work offers a practical solution to the data shortage that has long hindered the development of computer vision for industrial safety, proving that a carefully designed digital simulation can teach machines to see the invisible threats inside our infrastructure.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →