Figure 7
From: Automatic Choroid Layer Segmentation from Optical Coherence Tomography Images Using Deep Learning

Patch Sampling Process: As the choroid layer was marked by a red curve, so any patch containing a pixel on the lower line (i.e. choroid layer) was classified as on-line 0r 1 whereas any patch containing no pixel on the lower line was classified as off-line or 0. The figure shows that the patches having no pixel on boundary are labeled 0 whereas patches having any pixel on line are labeled as 1.