Direct Linear Transform for Camera Calibration and Localization (Cyrill Stachniss)

  Рет қаралды 32,822

Cyrill Stachniss

Cyrill Stachniss

4 жыл бұрын

Direct Linear Transform - Joint Camera Calibration and Localization
Slides: www.ipb.uni-bonn.de/html/teach...
Cyrill Stachniss, Spring 2020

Пікірлер: 44
@qkloh6804
@qkloh6804 Жыл бұрын
This amount of details in such a short video, I call this glory.
@mukuljobra3972
@mukuljobra3972 2 жыл бұрын
The best explanation for the DLT. Thank you for providing such a great quality of lectures 👏👏👍👍
@CyrillStachniss
@CyrillStachniss 2 жыл бұрын
😊 thanks
@surendrakumaram4343
@surendrakumaram4343 2 жыл бұрын
Thank you for your videos, One of the best lecture in Germany for robotics. I learned a lot by watching your videos in last two years.
@CyrillStachniss
@CyrillStachniss 2 жыл бұрын
Thanks
@luisangeld9894
@luisangeld9894 3 жыл бұрын
I just can say thank you, it has been the most clear explanation I have seen!
@FDAmzp
@FDAmzp 3 жыл бұрын
Exceptionally clear
@Kusumaudio
@Kusumaudio 3 жыл бұрын
Thank you for this lecture.
@davichuuki
@davichuuki 3 жыл бұрын
You are the best!
@waelomar507
@waelomar507 4 жыл бұрын
Could you please explain in a real example how to we estimate real coordinates of a certain car from a 2D coordinates in case if I have a sequence of car images and I want to know its positions in each image
@inigobeckett5974
@inigobeckett5974 2 жыл бұрын
Hi Cyrill, I really like the lectures you are giving. Is the statistically optimal solution obtained through bundle adjustment (and I guess this is equivalent to doing a Least Sqaures fitting if we use more than 3 points from the world space/images)??
@CyrillStachniss
@CyrillStachniss 2 жыл бұрын
BA is a least squares approach and yes, you can exploit more points including uncertainties (I hope that answers the question).
@aliensoup2420
@aliensoup2420 3 жыл бұрын
Thanks very much. I'm interested in applying this to camera and object motion solving from known 3d spacial coordinates and correlated 2d image tracking coordinates. How does this DLT method compare to the Least Squares Approximation method ?
@CyrillStachniss
@CyrillStachniss 3 жыл бұрын
DLT works without an initial guess, which is a big advantage. Least squares will need one. However, LS will allow you to consider the non-linear parameters and will allow to use uncertainties properly into account. So, starting with DLT for the initial guess and then go further with a LS approach could be your way to go (assuming you do not know your calibration params already).
@taozhang5216
@taozhang5216 2 жыл бұрын
Hi, Cyrill. Awesome lecture and thank you for making this. But I do have some weird trouble when I really implemented a naive DLT in MATLAB. I basically generate a camera pose(R&t) and 6 landmarks(not on same plane) lying at around positive-Z axis of the camera and a K matrix with positive camera constants. The result I got is correct t estimation, but for R and K I need to multiply the matrix you mentioned (R_z_pi [-1 0 0;0 -1 0; 0 0 1]) to make them same as ground truth. I just got confused because what I understand in your tutorial is for normal operation you will get positive diagonal elements of K, and the mat R_z_pi is used for special requirement that you want a negative camera constants. Is my understanding wrong ? Or my understanding is correct just need to check the code again?
@taozhang5216
@taozhang5216 2 жыл бұрын
Sorry, just found that the default qr decomposition of matlab cannot guarantee positive elements in R, so I manually fix those negative signs( for Q and R both) and everything looks good now. Still not sure whether this is a correct method because I just tested on several samples...
@wolftribe66
@wolftribe66 3 жыл бұрын
Does this mean that DLT is not suitable with the standard checkerboard pattern? With the checkerboard pattern all control points lie on a plane
@CyrillStachniss
@CyrillStachniss 3 жыл бұрын
Yes
@jimmorrison3275
@jimmorrison3275 3 жыл бұрын
Thank you for this video. I have one question - How can we measure the coordinates of control points of real objects that are used for estimating of camera parameters ? How can we obtain these coordinates which are stored in vector X ?
@chandlerroman3130
@chandlerroman3130 2 жыл бұрын
I guess Im quite off topic but do anyone know a good place to watch new series online?
@jonjett2584
@jonjett2584 2 жыл бұрын
@Chandler Roman flixportal :)
@chandlerroman3130
@chandlerroman3130 2 жыл бұрын
@Jon Jett Thanks, I signed up and it seems like a nice service :) Appreciate it!!
@jonjett2584
@jonjett2584 2 жыл бұрын
@Chandler Roman no problem :)
@surabhiverma7011
@surabhiverma7011 3 жыл бұрын
We normally use checkerboard for camera calibration and assume the world coordinates to be on the board plane (Zi = 0). How does the estimation of P work in this case? Also, we know the world points (because we know the checker dimension). Therefore we should be getting the true extrinsics or absolute rotation and translation (just like opencv's solvepnp). Why is it mentioned that the P matrix is homogeneous?
@lovekesh88
@lovekesh88 3 жыл бұрын
i think checkerboard uses different algorithm.
@lion87563
@lion87563 2 жыл бұрын
Great video. I applied for your Master Program in Bonn - but unfortunately I am not accepted.
@myadb123
@myadb123 Жыл бұрын
Can you please do a video on Levenberg MArquardt?
@DaupiejoKuowohko
@DaupiejoKuowohko Жыл бұрын
Would it suffice to use three or four points if they are along the axis of the world coordinate system, e.g. the corner of a room: (o = [0,0,0]), x = [0.2,0,0], y = [0,0.2,0], z = [0,0,0.2]? And eventually filling the ranks with 'reused' base vectors (or null vector?), since the other control points / vectors would be linear combinations of these base vectors anyway?!
@CyrillStachniss
@CyrillStachniss Жыл бұрын
No, you need to fix 11 DoF, so 6 points are needed (as each point generates a 2D observation vector, the pixel coordinates)
@squirrelbrains2197
@squirrelbrains2197 4 жыл бұрын
Do you have a Video explaining how to get the projection matrix P, if given R the rotation matrix and K the camera matrix ? I have been trying to figure it out from my professors slides for a week now. His slides say that P = diag(f,f,1 )[i| O] and that P= K[R|t]. ('R|t' means writing a vector into a matrix as an extra column.' i|O' is never explained ) Do I need to multiply a 3x4 matrix with a 3x3 matrix? Do I pad the 3x3 matrix somehow ?
@channelforstream6196
@channelforstream6196 4 жыл бұрын
Do 3X3 matrix infront? 3X3 * 3X4?
@dondevoy2609
@dondevoy2609 4 жыл бұрын
diag(f,f,1) is 3x3 diagonal matrix. i is 3x3 identity matrix (no rotation). 0 is 3x1 zero matrix (no translation). K is 3x3 intrinsic matrix. R is 3x3 rotation matrix, t is 3x1 translation matrix(or column)
@CyrillStachniss
@CyrillStachniss 4 жыл бұрын
See my lecture on camera parameters here: kzfaq.info/get/bejne/q65xo6eirZOchXk.html
@squirrelbrains2197
@squirrelbrains2197 4 жыл бұрын
@@CyrillStachniss Thank you very much.
@sags
@sags 4 жыл бұрын
R(z,180deg) used at time 30:10 min is rotation around the z-axis which is yaw angle right. if the Z-axis of the camera lies in the optical axis of the camera. then it will rotate the x-y plane along the z axis and image plane still on the other side. Am I missing something here? I am a little confused. can I get some explanation on this
@CyrillStachniss
@CyrillStachniss 4 жыл бұрын
You can completely skip your 3D imagination and resolve it in a different way: Decomposing H^-1 leads to K^-1, the inverse calibration matrix with positive elements on the main diagonal and thus also for K. We, however, want the camera constant to be negative (so that we are in the coordinate system we want to use). So what can we do in order to achieve that? We can introduce a 3x3 matrix, let's call it B, which has zero off-diagonal elements and -1,-1,1 on the main diagonal, i.e.m B = Diag(-1,-1,1). Note that B is a rotation matrix (called R(z,pi) in the video). Also, note that B = B^T. Now we can write H = K R = K B B^T R = K B B R. Our final calibration matrix, let's call it K', can now be written as K' = K B. The matrix R' = B R is rotation matrix as B and R are rotation matrices. Thus, through the introduction of B, we created a change in the orientation of the camera (R -> R') so that the calibration matrix now has the correct sign for the camera constant (K -> K'). That's it. By design, the "magic" matrix B, which does that job for us, can be seen as a rotation by pi around the z-axis.
@sags
@sags 4 жыл бұрын
@@CyrillStachniss Makes sense. Thanks alot for such an amazing course and providing the explanation.
@barath_
@barath_ 3 жыл бұрын
Given the projection matrix.......how do we obtain rotation matrix?!
@CyrillStachniss
@CyrillStachniss 3 жыл бұрын
See video @24:30
@TheTacticalDood
@TheTacticalDood Жыл бұрын
If all the points lie on the same plane, then there is an infinite number of possible camera projection matrices, right? since the nullity of the matrix will be strictly greater than 1?
@CyrillStachniss
@CyrillStachniss Жыл бұрын
You will simply have a rank deficiency in your matrix defining the linear system.
@literpaper
@literpaper Жыл бұрын
Isn't there any advantage of knowing intrinsic parameters? It leads more accurate solutions using intrinsics?
@CyrillStachniss
@CyrillStachniss Жыл бұрын
DLT estimates the ex and intrinsics. In case you know them already, you do not need the DLT. Go for PnP solutions
@literpaper
@literpaper Жыл бұрын
So PnP gives more accurate results for extrinsic matrix compared to DLT? If not, there is no point in using intrinsics.
Intrinsic Camera Calibration - 5 Minutes with Cyrill
5:59
Cyrill Stachniss
Рет қаралды 15 М.
Camera Calibration using Zhang's Method (Cyrill Stachniss)
41:22
Cyrill Stachniss
Рет қаралды 44 М.
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 8 МЛН
Introduction to SLAM (Cyrill Stachniss)
37:06
Cyrill Stachniss
Рет қаралды 36 М.
Camera Parameters - Extrinsics and Intrinsics (Cyrill Stachniss)
1:15:25
Cyrill Stachniss
Рет қаралды 36 М.
Homogeneous Coordinates (Cyrill Stachniss, 2020)
1:10:19
Cyrill Stachniss
Рет қаралды 27 М.
ENB339 lecture 9: Image geometry and planar homography
35:23
Peter Corke
Рет қаралды 173 М.
Sneak Peak at our Redesigned Evolution Chart
30:37
UsefulCharts
Рет қаралды 2,9 М.
Alice in (mathematical) Wonderland
5:21
mpiMathSci
Рет қаралды 5 М.
The Shaw Prize in Mathematical Sciences 2015
12:18
The Shaw Prize
Рет қаралды 7 М.
Least Squares - An Informal Introduction (Cyrill Stachniss)
1:01:09
Cyrill Stachniss
Рет қаралды 16 М.
Ноутбук за 20\40\60 тысяч рублей
42:36
Ремонтяш
Рет қаралды 308 М.
BEKMOBILDA Tecno Camon 30 smartfoni🔥🤩 #bekmobil
1:01
Bekmobil shorts
Рет қаралды 2,3 МЛН
НЕ БЕРУ APPLE VISION PRO!
0:37
ТЕСЛЕР
Рет қаралды 304 М.