PAEDID: Patch Autoencoder-based Deep Image Decomposition for pixel-level defective region segmentation