Skip to main content
. 2021 Aug 9;21(16):5383. doi: 10.3390/s21165383
Algorithm 1. Vessel Shadow Augmentation
1: input: Training image Xs
2: hyperparameters: Range of shadow factor S, size of shadow width W″
3: output: Augment image Xau
4: Function vessel shadow augmentation (Xs)
5: Shadow width range (W,XswidthW)
6: Shadow height Xsheight
7: Shadow mask Shadow width, Shadow height)
8: Shadow mask (Shadow mask × 1/S)
9: Xs × shadow mask
10: end