Dual-Mode Deep Anomaly Detection for Medical Manufacturing: Structural Similarity and Feature Distance