Industrial anomaly detection is strongly affected by illumination changes for highly reflective objects, whose appearance can vary because of brightness shifts, specular reflections, and partial saturation even when the inspected component remains unchanged. This thesis investigates whether photometric preprocessing can improve anomaly detection robustness for a highly reflective electric-vehicle charger panel. We developed a controlled acquisition pipeline combining ArUco-based localization, perspective rectification, and photometric preprocessing. We compared the original RGB representation with URetinex-Net reflectance and Log-based normalization strategies. A dataset of 1,137 images acquired under four controlled illumination groups was evaluated with PatchCore, GLASS, INP-Former, and Reverse Distillation using a Leave-One-Light-Group-Out protocol. Image AUROC, Pixel AUROC, and AUPRO assessed detection and localization performance. The results show that photometric preprocessing improved generalization to unseen illumination most clearly at the localization level. Log-based and URetinex-derived Log representations provided the strongest gains for PatchCore and INP-Former, with broader cross-metric improvements when the unseen condition shifted toward standard or bright illumination. Overall, illumination-oriented preprocessing can improve robustness to unseen acquisition conditions, but its benefit depends on both the direction of the illumination shift and the downstream anomaly detection method. The results highlight the importance of evaluating preprocessing together with the downstream detector and under explicitly held-out illumination conditions.
Il rilevamento di anomalie in ambito industriale è fortemente influenzato dalle variazioni di illuminazione nel caso di oggetti altamente riflettenti, il cui aspetto può variare a causa di cambiamenti di luminosità, riflessioni speculari e saturazione parziale, anche quando il componente ispezionato rimane invariato. Questa tesi analizza se il pre-processing fotometrico possa migliorare la robustezza del rilevamento di anomalie per un pannello altamente riflettente di una stazione di ricarica per veicoli elettrici. Abbiamo sviluppato una pipeline di acquisizione controllata che combina localizzazione basata su ArUco, rettifica prospettica e pre-processing fotometrico. Abbiamo confrontato la rappresentazione RGB originale con rappresentazioni di riflettanza ottenute mediante URetinex-Net e strategie di normalizzazione basate sul Log. Un dataset di 1.137 immagini, acquisito in quattro gruppi di illuminazione controllata, è stato valutato con PatchCore, GLASS, INP-Former e Reverse Distillation utilizzando un protocollo Leave-One-Light-Group-Out. Image AUROC, Pixel AUROC e AUPRO sono stati utilizzati per valutare le prestazioni di rilevamento e localizzazione. I risultati mostrano che il pre-processing fotometrico ha migliorato la generalizzazione a condizioni di illuminazione non osservate, con benefici particolarmente evidenti a livello di localizzazione. Le rappresentazioni basate sul Log e quelle Log derivate da URetinex hanno fornito i miglioramenti più consistenti per PatchCore e INP-Former, con benefici più ampi su più metriche quando la condizione non osservata si spostava verso un’illuminazione standard o intensa. Nel complesso, il pre-processing orientato all’illuminazione può migliorare la robustezza rispetto a condizioni di acquisizione non osservate, ma il suo beneficio dipende sia dalla direzione della variazione dell’illuminazione sia dal metodo di rilevamento delle anomalie utilizzato a valle. I risultati evidenziano l’importanza di valutare il pre-processing insieme al rilevatore utilizzato a valle e in condizioni di illuminazione esplicitamente escluse durante lo sviluppo del modello.
Robust anomaly detection for highly reflective objects under varying lighting conditions
LIU, BING
2025/2026
Abstract
Industrial anomaly detection is strongly affected by illumination changes for highly reflective objects, whose appearance can vary because of brightness shifts, specular reflections, and partial saturation even when the inspected component remains unchanged. This thesis investigates whether photometric preprocessing can improve anomaly detection robustness for a highly reflective electric-vehicle charger panel. We developed a controlled acquisition pipeline combining ArUco-based localization, perspective rectification, and photometric preprocessing. We compared the original RGB representation with URetinex-Net reflectance and Log-based normalization strategies. A dataset of 1,137 images acquired under four controlled illumination groups was evaluated with PatchCore, GLASS, INP-Former, and Reverse Distillation using a Leave-One-Light-Group-Out protocol. Image AUROC, Pixel AUROC, and AUPRO assessed detection and localization performance. The results show that photometric preprocessing improved generalization to unseen illumination most clearly at the localization level. Log-based and URetinex-derived Log representations provided the strongest gains for PatchCore and INP-Former, with broader cross-metric improvements when the unseen condition shifted toward standard or bright illumination. Overall, illumination-oriented preprocessing can improve robustness to unseen acquisition conditions, but its benefit depends on both the direction of the illumination shift and the downstream anomaly detection method. The results highlight the importance of evaluating preprocessing together with the downstream detector and under explicitly held-out illumination conditions.| File | Dimensione | Formato | |
|---|---|---|---|
|
2026_10_Liu_Executive_Summary_02.pdf
non accessibile
Descrizione: Executive Summary of the thesis
Dimensione
9.74 MB
Formato
Adobe PDF
|
9.74 MB | Adobe PDF | Visualizza/Apri |
|
2026_10_Liu_Thesis_01.pdf
non accessibile
Descrizione: Master's thesis of Bing Liu
Dimensione
85.81 MB
Formato
Adobe PDF
|
85.81 MB | Adobe PDF | Visualizza/Apri |
I documenti in POLITesi sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/10589/267195