
and based on these relationships we are able to build a sylvester matrix:
And here is an information about how to calculate the determinant of a matrix:click me. It's very important here to calculate the determinant correctly, specially when the rank of the matrix is larger than 3. After the careful calculation we can achieve a 4th polynomial of b:

with

And combine with the first equation at the beginning we can obtain a second Sylvester Resultant matrix as follows:

After simplify the determinant expression and combine the like terms we are able to obtain the 8th polynomial of a Marker-Camera distance. Because the terms are too ruleless and endlessly long, here I won't copy the terrible result here. But I would like to share the Matlab implementation here to save you guys another cafe time. click me
And from the result we can find easily that with this method the relative error of the result is about 0.2, while the previous implementation is about 0.3. And the reconstruction image looks also better.

and this is the previous vision of reconstruction:
ontheweg


Posted in: 

0 comments:
Post a Comment