Formula-Driven Data Augmentation (FDDA)
Formula-Driven Data Augmentation (FDDA) is a data augmentation method that emulates a variety of retinal structures based on mathematical formulas, and increase the variability of retinal shapes in training data. FDDA changes the the position, the tilt, and the curvature of the retina by vertically shifting each column of the OCT images according to a given mathematical formula. Specifically, FDDA shifts each column of an OCT image according to a simple combination of $N$th-order functions. In FDDA, the image center is the origin of $N$th-order functions, and the amount of pixel shift is determined based on these functions. Since this process only shifts the pixels by the amount of shift determined by simple functions, the labels of the OCT image after data augmentation can be easily obtained by shifting the boundary labels in the same way.

Fig. 1. Overview of FDDA using only the first-order shift.

Fig. 2. Examples of applying FDDA to OCT images, where each of the zeroorder, first-order, and second-order shifts is applied to the input image for simplicity: (a) the zero-order shift, (b) the first-order shift, (c) the second-order shift, and (d) the combined shift, and an example of applying RandomAffine for comparison. Colored lines on each image indicate the annotated boundaries between the retinal layers.