Anomaly detection
UAT 453 UAS for Infrastructure, Energy and Utility Inspection
Lesson
By the end of this module you will be able to
- Explain anomaly detection by comparison with a baseline
- Use thermal images to find abnormal conveyor idlers from ΔT against the same set
- Compute percent rusted area from a segmented image and grade it under ASTM D610
- Identify the limits of automatic detection and the inspector's role
Why this matters
One inspection round produces hundreds to thousands of images. Inspectors struggle to examine every one in detail, and individuals judge differently. Good anomaly detection needs a clear baseline and numerical criteria that people and software apply alike, with a qualified inspector confirming the final result.
What is an anomaly?
An anomaly is something different from the expected condition. There are three kinds of baseline:
- Compare with like items in the set: idlers under the same load should run at similar temperatures, and one hotter than the group is an anomaly
- Compare with a standard or criterion, such as percent rusted area under ASTM D610
- Compare with the previous inspection, such as rust growth since last year (module 14)
Comparing with like items cancels environmental effects such as sun and air temperature, which affect every item equally. Use the median rather than the mean as baseline, so an abnormally hot item does not pull the baseline up.
Thermal images of conveyor idlers
An idler bearing that is starting to fail has more friction and runs hotter before it seizes and cuts the belt. Thermal inspection must be done while the belt is running under load, because stationary idlers are not hot. This mission therefore flies a week before the shutdown, and the results are used to replace idlers during it.
Example 1 Which idler is abnormal?
Temperatures of 12 idlers on the same section of belt. The plant’s (assumed) criteria: ΔT above 5 °C means monitor; above 15 °C means replace during the shutdown.
import statistics as st
# temperatures of 12 conveyor idlers (°C) from thermal images
temps = [41.2, 40.8, 42.0, 41.5, 63.4, 41.9, 40.6, 42.3, 41.1, 48.9, 41.7, 40.9]
act, watch = 15, 5 # plant ΔT criteria (assumed)
base = st.median(temps) # use the median of the same set as baseline
print(f"baseline (median) {base:.1f} C")
for i, t in enumerate(temps, start=1):
dt = t - base
if dt > watch:
level = "replace at shutdown" if dt > act else "monitor"
print(f"idler {i:2d}: {t:.1f} C, dT = {dt:+.1f} C -> {level}")
baseline (median) 41.6 C
idler 5: 63.4 C, dT = +21.8 C -> replace at shutdown
idler 10: 48.9 C, dT = +7.3 C -> monitor
The baseline is the median, 41.6 °C. Idler 5 is 21.8 °C above it and must be replaced; idler 10 is 7.3 °C above and should be monitored. Using the mean of 43.9 °C as baseline would make idler 10 look more normal than it is.
Drone thermal images read surface temperature reasonably when emissivity, distance and reflected temperature are set correctly (Vollmer and Möllmann, 2017), but judging by differences within the same set tolerates errors in absolute values much better.
Rusted area and ASTM D610 grades
ASTM D610 grades rust on painted steel from 10 (no more than 0.01% rusted) to 0 (more than half the area) by percent rusted area. Image segmentation software labels each pixel as rust or not, then counts the proportion.
Example 2 What grade is this panel?
One tank-wall image, cropped to 1,000,000 pixels; the segmentation marks 18,000 rust pixels.
# rust area from a segmented image (pixels) of one tank panel
panel_px, rust_px = 1_000_000, 18_000
# ASTM D610: (grade, maximum percent rusted)
d610 = [(10, 0.01), (9, 0.03), (8, 0.1), (7, 0.3), (6, 1.0), (5, 3.0),
(4, 10.0), (3, 16.0), (2, 33.0), (1, 50.0), (0, 100.0)]
pct = rust_px / panel_px * 100
grade = next(g for g, limit in d610 if pct <= limit)
print(f"rusted area {pct:.2f} % -> ASTM D610 rust grade {grade}")
rusted area 1.80 % -> ASTM D610 rust grade 5
The rusted area is 1.80%, between 1% and 3%, so grade 5. This grade means the paint is clearly deteriorating and recoating should be planned. Before trusting the result, sample the images to check that the segmentation did not count molasses stains or shadows as rust.
Automatic detection and the inspector
Software can quickly shortlist suspect images from thousands, but it has limits:
- False alarms dirt, shadows, welds and signs are taken for rust
- Misses rust under paint that has not yet blistered, or areas with poor light
- No context the same finding can differ in severity by location; rust near the tank’s base weld matters more than rust high on the wall
The practical approach is for software to screen and a qualified inspector to decide, with the screening tool’s performance measured (module 15). RBI under API RP 580 likewise stresses that decisions need a clearly responsible person.
Module lab
Lab: anomalies in thermal and rust images
- Take thermal images of a set of identical equipment under load, such as fan motors or breakers in a building
- Read the temperatures and find anomalies with the code in Example 1; try the mean instead of the median and explain the difference
- Photograph a rusty steel plate, segment it with a simple colour threshold, and compute the grade with the code in Example 2
- Check the segmented image by eye and record over-counted and missed areas
Common mistakes
Watch out
- Taking thermal images with the machinery stopped, so friction heat is invisible
- Using the mean as baseline, letting a hot item pull it up
- Trusting absolute temperatures on shiny metal without setting emissivity
- Counting stains or shadows as rust without sampling the segmentation
- Letting software decide without an inspector’s confirmation
Summary
- An anomaly differs from a baseline: like items in a set, a standard, or the previous inspection
- Abnormal idlers are found from against the set’s median, while running under load
- ASTM D610 grades rust from 10 to 0 by percent rusted area, which segmentation can compute
- Software screens; a qualified inspector decides
Check your understanding
- Temperatures are 40, 41, 42, 58 and 41 °C. What is the median, and how far above it is the fourth?
- From question 1, under the plant criteria in this module, what should happen to the fourth item?
- A 2,000,000-pixel panel has 5,000 rust pixels. What is the percent rusted, and the grade?
- Why must idler thermal images be taken with the belt running?
- What might segmentation wrongly count as rust?
Answers
- The median is 41 °C; the fourth is 17 °C above it
- It is over 15 °C, so replace it during the shutdown
- , above 0.1% up to 0.3%, so grade 7
- Heat from a failing bearing comes from friction while turning under load, so it is not visible when stopped
- Molasses stains, shadows, welds and signs
Key formulas
| Temperature difference from baseline | |
| Percent rusted area |
Key references
- Vollmer, M., & Möllmann, K.-P. (2017). Infrared thermal imaging: Fundamentals, research and applications (2nd ed.). Wiley-VCH. link
- ASTM International. (2025). Standard practice for evaluating degree of rusting on painted steel surfaces (ASTM D610-25). link
- Barnhart, R. K., Marshall, D. M., & Shappee, E. (Eds.). (2021). Introduction to unmanned aircraft systems (3rd ed.). CRC Press. link
- American Petroleum Institute. (2023). Elements of a risk-based inspection program (API RP 580, 4th ed.). link
Further reading
Study the assigned knowledge units in advance, review media and take the module quiz
หลักการภาพถ่ายความร้อน
การวิเคราะห์วิดีโออัจฉริยะ
Checking image quality and reading AI metrics
Originals, hashes and traceable reports
In class / field
Lab or field practice from worksheets with a safety checklist
Learning evidence: Checked worksheets and quiz results