Given a real OCT image, a series of eight synthetically deformed images was created for each trial, representing a sequence of eight time points. At each time point
ti (
i = 0…8, with
t0 designating the real OCT image), a target thinning rate
αi was generated as a random sample from a uniform distribution between [−25,25] μm, with a negative
α denoting a thinning choroid and a positive
α denoting a thickening choroid. These bounds for
αi were chosen to represent a wide range of changes that can be realistically observed in the choroid. A B-spline grid with 13 nodes in each dimension is created to represent the whole OCT image domain. This grid density was empirically chosen to give adequate resolution, such that the choroid and surrounding regions can be manipulated separately from the rest of the image domain. The B-spline deformation was set to 0 outside the choroid region of interest (ROI), which is represented by two rows of grid nodes around the choroid. The B-spline grid is illustrated in
Figure 1a. Inside the choroid region, each grid node (
x,
y) was assigned a local thinning amount
βi,(x,y), which was randomly drawn from a uniform distribution between [0,2|
αi|]. Then, the vertical displacement at the grid node corresponding to the top row of the choroid ROI was set to
βi,(x,y), and at the grid node corresponding to the bottom row of the choroid ROI, it was set to −
βi,(x,y), for positive
αi. The vertical displacement values were reversed for negative
αi. We note that this corresponds to a local displacement of 2
βi,(x,y).
Figure 1b shows these local displacements of the B-spline nodes. The smooth deformation field represented by the B-spline simulation ensures that the region surrounding the true choroid is stretched or compressed to accommodate the desired motion of the choroid itself.