The application discloses a
geometric consistency and instrument anchoring three-dimensional reconstruction and polyp measurement method of an
endoscope. The method first projects
monocular image features to a Riemannian manifold space through a
geometric consistency perception module, generates a high-fidelity
relative depth map by using a manifold-constrained latent
diffusion model, and maintains cross-domain
structural consistency. Secondly, by using a
scale estimation module based on instrument anchoring,
biopsy forceps in a
field of view are automatically identified and key points are extracted, a PnP
solver and a Bayesian regression are used to solve
six degrees of freedom of the instrument, and finally, geometric constraint equations are constructed based on the known physical size of the
biopsy forceps, a global
absolute scale factor is solved, and the
relative depth map is converted into a metric three-dimensional
point cloud. A few-sample linear calibration mechanism is introduced, and linear deviation caused by domain offset can be eliminated by using a small amount of clinical frames. According to the application, sub-
millimeter polyp
size measurement can be realized under
monocular endoscopy by using conventional surgical instruments without additional hardware.