alexvbogdan/DeepCalib

Why in undistSphIm.m xi1 is equal zero?

InfiniteLife opened this issue · 1 comments

here:

xi1 = 0;
alpha_cam = ( xi1.*Z_Cam + sqrt( Z_Cam.^2 + ...
( (1-xi1^2).*(X_Cam.^2 + Y_Cam.^2) ) ) ) ...
./ (X_Cam.^2 + Y_Cam.^2 + Z_Cam.^2);

is it supposed to be predicted distortion coefficient or is it just 0? I dont understand why we are having trouble to square 0 and multiply previously created arrays by zero.

Thank you for pointing it out, it is just a redundancy. Everything is correct in that code.