kitti360Scripts icon indicating copy to clipboard operation
kitti360Scripts copied to clipboard

About inverse function of img2cam for fisheye model

Open qianyu220 opened this issue 3 years ago • 4 comments

I see the function cam2img to project 3d point to fisheye image, but do you have an inverse function of img2cam for your fisheye model?

qianyu220 avatar Nov 01 '21 14:11 qianyu220

Sorry we do not have it yet. The unprojection function is not as straightforward as the perspective camera due to the undistortion operation: https://github.com/autonomousvision/kitti360Scripts/blob/8db21c6966dcfbffa2a9eec875e2ac0afa78f0ad/kitti360scripts/helpers/project.py#L180-L182

yiyiliao avatar Nov 02 '21 07:11 yiyiliao

Thanks for your reply. Looking forward to your update if possible.

qianyu220 avatar Nov 02 '21 14:11 qianyu220

Dear @yiyiliao and @qianyu220 Do u have any updates regarding this?

eslambakr avatar Apr 27 '22 00:04 eslambakr

Sorry we do not have it yet. The unprojection function is not as straightforward as the perspective camera due to the undistortion operation:

https://github.com/autonomousvision/kitti360Scripts/blob/8db21c6966dcfbffa2a9eec875e2ac0afa78f0ad/kitti360scripts/helpers/project.py#L180-L182

Does this mean a pixel-wise mapping recording the polinomial solution is needed for the undistortion? It will be very helpful that the authors could help general a official version so that everyone can use the correct one.

yuliangguo avatar Aug 08 '23 01:08 yuliangguo