An integration of commercial surgical endoscope using structured illumination technique for three-dimensional reconstruction was performed on biological samples with a depth of field of 20 mm and a relative accuracy of 0.1%.