You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your awesome work. It does help!
But I got confused about a line in code. Could you give me some help? Thanks in advance!
according to the slides (02 single view geometry, 24th): $Z = \frac{\bar{z}}{\bar{y}} L$ $X = \frac{\bar{x}}{\bar{y}} L$
However, in the code below, $X = \frac{c[0]}{c[2]} * L$ (line 62), which $c[2]$ is actually $\bar{z}$ instead of $\bar{y}$.
So in my opinion, the code is supposed to be: $X = \frac{c[0]}{c[1]} * L$
By the way, I think equation in slides above $[\bar{x}, \bar{y}, \bar{z}]^T = R^T* [x-c_x, y-c_y, f]^T$ is wrong, which $R^T$ should be $R$. ($R$ is the camera orientation)
The implementation in the CPP file is right: Rc is the camera orientation.
From my perspective, what $R * [x-c_x, y-c_y, f]^T$ does is to represent the point $[x-c_x, y-c_y, f]^T$ under an unrotated coordinate system (its orientation is aligned with the world coordinate system, but the origin keeps unchanged), so that the similar triangles equation $\frac{\bar{x}}{X} = \frac{\bar{y}}{L} = \frac{\bar{z}}{Z}$ would be right.
Thanks for your awesome work. It does help!
But I got confused about a line in code. Could you give me some help? Thanks in advance!
according to the slides (02 single view geometry, 24th):
$Z = \frac{\bar{z}}{\bar{y}} L$
$X = \frac{\bar{x}}{\bar{y}} L$
However, in the code below,$X = \frac{c[0]}{c[2]} * L$ (line 62), which $c[2]$ is actually $\bar{z}$ instead of $\bar{y}$ .$X = \frac{c[0]}{c[1]} * L$
So in my opinion, the code is supposed to be:
3dv_tutorial/examples/object_localization.py
Lines 54 to 64 in f295338
The text was updated successfully, but these errors were encountered: