Algorithm 1: The steps of data augmentation |
-
1:
while i = 1 to target augmentation percentage do
-
2:
Step 1: Input image
-
3:
Step 2: Flip right to left
-
4:
Save image from step 2
-
5:
Step 3: Flip-up to down
-
6:
Save image from step 3
-
7:
Step 4: Image rotation to 90
-
8:
Save image from step 4
-
9:
end while
|