Algorithm 1
From: A swin transformer-based hybrid reconstruction discriminative network for image anomaly detection

Natural Anomaly Generation Module
From: A swin transformer-based hybrid reconstruction discriminative network for image anomaly detection

Natural Anomaly Generation Module