Popular recipes tagged "trifocal"http://code.activestate.com/recipes/tags/trifocal/popular/2012-06-27T03:38:35-07:00ActiveState Code Recipestrifocal tensor from two camera matrices (Python)
2012-06-27T03:38:35-07:00J W Jhttp://code.activestate.com/recipes/users/4181154/http://code.activestate.com/recipes/578170-trifocal-tensor-from-two-camera-matrices/
<p style="color: grey">
Python
recipe 578170
by <a href="/recipes/users/4181154/">J W J</a>
(<a href="/recipes/tags/tensor/">tensor</a>, <a href="/recipes/tags/trifocal/">trifocal</a>).
Revision 4.
</p>
<p>Get the 3x3x3 (27 element) trifocal tensor from two 3x4 camera matrices.</p>
<pre class="prettyprint"><code>T[i,j,k] = A[j,i]*B[k,4] - A[j,4]*B[k,i]
</code></pre>