ckLibra / Self-Supervised-Depth-Estimation-for-Colonoscopy

Public code for paper "Depth Estimation for Colonoscopy Images with Self-Supervised Learning from Videos"; the code and dataset will release soon.
MIT License
18 stars 1 forks source link

你好,我想请问一下,在使用真实结肠镜的图片的时候,是否经过畸变矫正?非常感谢 #1

Closed liuyq055 closed 6 months ago

ckLibra commented 8 months ago

Yeah. We undistort the images.

liuyq055 commented 8 months ago

Could you kindly inform which camera model is used? Pinhole camera or Fisheye? Thank you very much

ckLibra commented 8 months ago

Opencv has the api for camera calibration. Since we have the colonoscopy camera, so we use it to capture the images of black-white checkerboard. Then we assume the camera model as the fisheye, estimating its parameters based on the calibration algorithm. Then we undistort the images to convert the fisheye model to the pinhole camera. If you only have the colonoscopy images, you can just assume it as the fisheye camera to estimate the distortion parameters, then undistort the images. After that, you can just use the pinhole camera model.

liuyq055 commented 6 months ago

Opencv has the api for camera calibration. Since we have the colonoscopy camera, so we use it to capture the images of black-white checkerboard. Then we assume the camera model as the fisheye, estimating its parameters based on the calibration algorithm. Then we undistort the images to convert the fisheye model to the pinhole camera. If you only have the colonoscopy images, you can just assume it as the fisheye camera to estimate the distortion parameters, then undistort the images. After that, you can just use the pinhole camera model.

Thank you!