The invention belongs to the technical field of medical image three-dimensional reconstruction, and discloses an
abdominal cavity reconstruction and focus positioning method based on a binocular
endoscope, which comprises the following steps of: calibrating and correcting internal reference of the binocular
endoscope; inputting the trained depth
estimation network to obtain a disparity map and
processing the disparity map into a picture according to frames; the
luminosity error is minimized through a coarse-to-fine
pyramid optimization method, and a
transformation matrix of the
endoscope pose between two continuous frames is calculated through nonlinear iterative optimization;
light beam adjustment optimization is carried out on the motion trail of the endoscope, a
depth map is superposed, outliers are removed, and three-dimensional reconstruction of the
abdominal cavity tissue is achieved; recognizing a focus, extracting three-dimensional information according to the disparity map, and visually guiding the operation arm to move to a focus point in combination with a calibrated hand-eye matrix so as to realize positioning. According to the method, rapid and dense three-dimensional reconstruction of the peritoneal environment before the operation and accurate focus positioning based on
visual guidance during the operation are realized, the accuracy of motion track
estimation of the endoscope is improved, and autonomous development of the
surgical robot is expected to be promoted.