|
Algorithm 1: AugmentTrainSet(img, iteration, augmented_images) |
| //Augment train images from an original image |
| Input |
| (1) : Original image in RGB channel
|
| (2) : The number of iterations to perform
|
| Output |
| (3) : List of augmented images
|
| Begin |
| 1.
|
| 2.
|
| 3.
|
| 4.
|
| 5.
|
| 6.
|
| 7.
|
| 8.
|
| 9.
|
| 10.
|
| 11.
|
| 12.
|
| 13.
|
| 14.
|
| 15.
|
| 16.
|
| 17.
|
| 18.
|
| 19.
|
| 20.
|
| 21.
|
| 22.
|
| 23.
|
| 24.
|
| 25.
|
| END |