Talk:Camera matrix

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Robotics (Rated B-class, Mid-importance)
WikiProject icon Camera matrix is within the scope of WikiProject Robotics, which aims to build a comprehensive and detailed guide to Robotics on Wikipedia. If you would like to participate, you can choose to edit this article, or visit the project page (Talk), where you can join the project and see a list of open tasks.
B-Class article B  This article has been rated as B-Class on the project's quality scale.
 Mid  This article has been rated as Mid-importance on the project's importance scale.
 

"Focal point"?[edit]

This article mentions but does not define "focal point". I don't think this is the optics meaning. Does this article really mean the center of of the entrance pupil (which is often the principle point? —Ben FrantzDale (talk) 22:26, 9 May 2008 (UTC)

I'v added a wikilink to camera focal point (pinhole camera) which redirects to pinhole camera model where the camera focal point concept is defined: the entrance pupil of the pinhole camera. In the references that I have access to "pincipal point" is used to refer to the intersection of the optical axis and the image plane, not the entrance pupil. Which references are you using? --KYN (talk) 18:31, 11 May 2008 (UTC)


Derivation[edit]

where  \mathbf{C} is the camera matrix, which here is given by

 \mathbf{C} = \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & \frac{-1}{f} & 0 \end{pmatrix}

, and the corresponding camera matrix now becomes

 \mathbf{C} = \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & \frac{1}{f} & 0 \end{pmatrix} \sim \begin{pmatrix} f & 0 & 0 & 0 \\ 0 & f & 0 & 0 \\ 0 & 0 & 1 & 0 \end{pmatrix}


Question: why and how is the minus-sign in the third row and column of matrix C removed??

\frac{-1}{f} to \frac{1}{f}??

--213.101.253.178 (talk) 22:47, 9 June 2009 (UTC)

Where does the minus sign (-f/x3) comes from in the second formula in this section??

--86.176.122.44 (talk) 10:36, 28 March 2010 (UTC)

Seems to be some remains from previous inconsistent edits. Should be fixed now. --KYN (talk) 20:38, 28 March 2010 (UTC)

Citations needed.[edit]

This article is poorly sourced. It cites only one reference, Hartley and Zisserman's 2003 book. However, that book used a completely different notation in its chapter on camera models. Further, the content of that chapter is nowhere close the content of this article. For example, the Derivation section appears to be very different from the corresponding section in the source, see its page 154. glopk (talk) 18:04, 5 July 2010 (UTC)

Null space and projectability[edit]

The discussion of which points have a projection in the “focal point” section is broken. In order for the projection to exist, there need to exist solutions to the equation

 \mathbf{y} \equiv \begin{pmatrix} y_1 \\ y_2 \\ 1\end{pmatrix} \sim \mathbf{C} \, \mathbf{x}    i.e.     \begin{pmatrix} y_1 \\ y_2 \\ 1\end{pmatrix} = s \;\; \mathbf{C} \, \mathbf{x}   for some (real) scaling factor    s .

In the first two rows,  y_1 and  y_2 are not constrained, but the third row lets us calculate  s = \frac{1}{[0\,0\,1] \; \mathbf{C} \; \mathbf{x}}

For a solution to exist, the denominator must be non-zero, so  \mathbf{x} must be in the null space of  [0\,0\,1] \; \mathbf{C} = [0\,0\,1\,0] . That null space is the entire  x_3 = 0 plane (the focal plane), and of course includes the null space of  \mathbf{C} .

This result makes intuitive sense, too. For the focal point, the projection line is indeterminate, as pointed out in the article. For any other point in the focal plane, the projection line is well-defined but does not intersect the image plane.

Of course, I have no references for this stuff, so it can't possibly be true. >=) --96.237.6.249 (talk) 21:07, 15 June 2012 (UTC)

I've tried to resolve this issue. The bottom line is that when we use a homogeneous representation of point, lines, and planes, it makes sense to interpret the intersection of parallel lines as "points at infinity". These points do not exist in the underlying Euclidean space but are well-defined and can in principle be treated as any other points in the algebraic framework that emerges as a consequence of using homogeneous representations. --KYN (talk) 12:57, 16 June 2012 (UTC)
That's a good point. I thought that the use of  (y_1\,y_2\,1)^T was meant to specifically exclude points at infinity, but now I'm not so sure-- it's more likely it was just a “canonical” representation of homogeneous coordinates.
But it still feels like we're adding more and more original research and moving away from verifiable sources. --96.237.6.249 (talk) 14:27, 16 June 2012 (UTC)
I wish this was my idea, but if you look in the single source that is actually in the article, the book by Hartley and Zisserman, you will find a nice presentation of homogeneous representation of geometry, including the camera matrix. --KYN (talk) 09:40, 17 June 2012 (UTC)
I'll try to get my hands on the book at some point.
Also, the new paragraph seems unnecessarily wordy for something that should, at best, be a minor point in the discussion of the camera matrix. Can I suggest something more compact, like this?
For any other 3D point with x_3 = 0, the result  \mathbf{y} \sim\mathbf{C}\,\mathbf{x} is well-defined but has the form  \mathbf{y} = (y_1\,y_2\,0)^T . This corresponds to a point at infinity in the projective image plane (even though, if the image plane is taken to be a Euclidean plane, no corresponding intersection point exists).
Yes, this is more to the point! --KYN (talk) 18:40, 26 June 2012 (UTC)
--96.237.6.249 (talk) 17:16, 17 June 2012 (UTC)