Camera internal matrix
DrifterFun opened this issue · 2 comments
DrifterFun commented
Could you tell me how to calculate internal matrix of depth camera in House3D?
ppwwyyxx commented
The camera matrix was computed here:
Lines 63 to 69 in 1c09ee7
The values of
vertical_fov, near, far
are written in the file.
It does not explicitly compute an intrinsic matrix, but use a different form (the OpenGL "projection matrix", i.e. the glm::perspective function). You can check some online resources on about this function, e.g.: http://kgeorge.github.io/2014/03/08/calculating-opengl-perspective-matrix-from-opencv-intrinsic-matrix
DrifterFun commented
Thanks for your help. The answer solve my problem. ^_^