Algorithm 1. Vessel Shadow Augmentation |
1: input: Training image |
2: hyperparameters: Range of shadow factor S, size of shadow width W″ |
3: output: Augment image |
4: Function vessel shadow augmentation |
5: Shadow width range |
6: Shadow height |
7: Shadow mask Shadow width, Shadow height) |
8: Shadow mask (Shadow mask × 1/S) |
9: × shadow mask |
10: end |