Closed pinglin closed 12 years ago
Hi Pinglin, sorry for the late response. I am not sure I understand. Are you talking about the 0.5 pixel offset? I thought I took care off it. Unfortunately, I won't be able to have a look before January 6. Happy holidays, Hauke
Answer: ScaViSLAM is using a different coordinate system from OpenGL. It is using X=left, Y=down, Z=forward, which is right-handed too. Thus, eveything should be fine!
Hi Hauke,
In the function cameraProject(..) you use a genuine intrinsic matrix for projecting points from camera coord. to image coord directly. I think the projection should take OpenGL's projection pipeline into account, which for the rest you probably missed is the NCC to viewport coord. transform, since you are using a dense tracking that exploits all rendered pixels.
The projection function can be found in Pangolin: ProjectionMatrixRUB_BottomLeft(...)
Perhaps this is the bug that the tracking does not work for the phantom video? Or am I misunderstanding something here?
Pinglin