Variational Template Matching with Statistical Fusion for Anomaly Detection in Patterned Structures
Abstract
Anomaly detection in structured images is challenging in small-data settings where deep learning approaches are costly or impractical. Classical template matching is simple and interpretable but lacks robustness to geometric variations such as scale, rotation, and perspective. We propose a variational template matching framework that represents anomaly templates as a family of transformed instances and performs detection via normalized cross-correlation over this transformation space. To further improve robustness, we introduce a density-based statistical anomaly score derived from local intensity distributions using kernel density estimation (KDE). This produces a smooth representation that captures distributional concentration and tail behavior more robustly than histogram-based methods. The structural and statistical signals are integrated through a unified fusion formulation, enabling complementary modeling of geometric similarity and distributional deviation. Experiments on biological cell images demonstrate that the proposed method outperforms classical baselines and achieves competitive performance with ResNet-50 under a fully training-free setting, while providing explicit localization. The approach offers an efficient, interpretable, and practical solution for anomaly detection in structured image domains.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI, cs.LG
Related papers
TIDE-Flow: Fine-Grained Temporal Evidence and Structured Displacement Matching for Spike Optical Flow
Shared title terminologycs.CVHanwen Liang, Wenxuan Liu, Wenxin Huang et al.
Beyond Feature Fusion: Sensor-Grounded Semantic-Spiking Learning for Robust Object Detection
Shared title terminologycs.CVHanwen Liang, Wenxuan Liu, Wenxin Huang et al.
ADClaw: A Programmable Visual Agent for Industrial Anomaly Detection and Understanding
Shared title terminologycs.CVXinyi Wu, Rongxin Gao, YuHui Lin et al.
Admoab-DETR: Resolution-Tiered Fusion for Infrared-Visible Object Detection with Missing Modalities
Shared title terminologycs.CVWenchao Li, Haoran Jia, Shuyuan Wen et al.
PA-CDM: Position-Aware Character Detection Matching for Evaluating Handwritten Mathematical Expression Recognition
Shared title terminologycs.CVShiliang Luo
LGFN: Lightweight Gated RGB-Polarization Fusion with Modality-Availability Conditioning for Camouflaged Object Detection
Shared title terminologycs.CVZhuangfan Huang, Xiaosong Li, Yang Liu et al.