To measure choroidal thickness on spectral-domain optical coherence tomography ( SD OCT ) images using automated algorithms and to correlate choroidal pathology with retinal changes attributable to diabetic macular edema ( DME ) .