scipy-cookbook icon indicating copy to clipboard operation
scipy-cookbook copied to clipboard

Unclear variable names in Bundle adjustment notebook

Open Helaly96 opened this issue 4 years ago • 2 comments
trafficstars

Very unclear names, https://github.com/scipy/scipy-cookbook/blob/master/ipython/bundle_adjustment.ipynb

i don't understand the variable used in this code at all? for example:

points_2d with shape (n_observations, 2) contains measured 2-D coordinates of points projected on images in each observations.

in what image exactly are the coordinates given, assuming i see the point in multiple images, what coordinate do i enter exactly?

Helaly96 avatar Feb 18 '21 15:02 Helaly96

Hey, I have another question regarding the variables of the script from @nmayorov about bundle adjustment:

For me all variables are clear exept the camera_params. For the rotation and translation: In which cooridnate system should I calculate/describe the rotation and translation: the coordinate system of the camera or a world fixed coordinate system. And which way is the rotation? From Camera Perspective to world frame or the other way round?

Also a little question to the focal lenght. Should I use the alpha (=f * m, which is the focal lenght in pixels) as used in the intrinsic matrix for exaple from opencv camera calibration?

undxu avatar Apr 18 '22 16:04 undxu

@Helaly96 @undxu

I've tried to address the questions you've raised. Check the pull request and comment :)

nmayorov avatar May 04 '22 07:05 nmayorov