A general approach to improve adversarial robustness of DNNs for medical image segmentation and detection | Synapse