nkwangyh / CubemapSLAM

A Piecewise-Pinhole Monocular Fisheye SLAM System
Other
219 stars 53 forks source link

The relationship between fisheye image and cube image #6

Open ZhouXiner opened 3 years ago

ZhouXiner commented 3 years ago

When building map relaitionship between fisheye image and cube image, the fuction "CubemapToFisheye", I notice that the related beadring vector of (u,v) in fisheye image will be evaluated by: i = i - static_cast(i / mWCubeFace) mWCubeFace; j = j - static_cast(j / mHCubeFace) mHCubeFace; x = (i - cx) z / fx; y = (j - cy) z / fy;

Why cant we just use function "ImgToWorld" to evaluate the bearing vector. Thanks