Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Getting projection matrix

at first I want to apologize for my bad English.

I am really new in OpenCV and in virtual reality. I tried to find out the theory of image processing, but some points are missing there for me. I learned that projection matrix is matrix to transform 3D point to 2D. Am I right? Essential matrix gives me information about rotation between two cameras and fundamental matrix gives information about the relationship between pixel in one image with pixel in other image. The homography matrix relates coordinates of pixel in two image (is that correct?). What is the difference between fundamental and homography matrix?

Do I need all these matrices to get projection matrix? I am new in these, so please if you can, try to explain me it simply. Thanks for your help.

click to hide/show revision 2
some infromation what I found out was udated

Getting projection matrix

at first I want to apologize for my bad English.

I am really new in OpenCV and in virtual reality. I tried to find out the theory of image processing, but some points are missing there for me. I learned that projection matrix is matrix to transform 3D point to 2D. Am I right? Essential matrix gives me information about rotation between two cameras and fundamental matrix gives information about the relationship between pixel in one image with pixel in other image. The homography matrix relates coordinates of pixel in two image (is that correct?). What is the difference between fundamental and homography matrix?

Do I need all these matrices to get projection matrix? I am new in these, so please if you can, try to explain me it simply. Thanks for your help.

UPDATE: I found out that for I can somehow get projection matrix from fundamental and from homography matrix, but I dont' t really understand this algorithm. I read that with stereoCalibrate() method I can get the intrinsic and axrinsic parameters. Is these parameters enough to get projection matrix? What is the formula to get the projection matrix? If the first camera in co-ordinate system [0,0,0] is it necessery to get the projection matrix of the first camera?