Pseudocode 1: Data augmentation algorithm. | |
Input: Dataset, list of augmentation transformations) |
|
Output: Augmented Dataset | |
Step 1: | Randomly select an image from |
Step 2: | Randomly select an augmentation transformation from |
Step 3: | Randomly select the parameter for |
Step 4: | Apply the augmentation transformation on the image using the parameter |
Step 5: | Save the image in the augmented dataset |