CV Chapter 7 3D Reconstruction
Questions about the lecture 'Computer Vision' of the RWTH Aachen Chapter 7 3D Reconstruction
Questions about the lecture 'Computer Vision' of the RWTH Aachen Chapter 7 3D Reconstruction
Kartei Details
Karten | 108 |
---|---|
Sprache | English |
Kategorie | Informatik |
Stufe | Universität |
Erstellt / Aktualisiert | 04.02.2017 / 23.02.2017 |
Weblink |
https://card2brain.ch/box/20170204_cv_chapter_7_3d_reconstruction
|
Einbinden |
<iframe src="https://card2brain.ch/box/20170204_cv_chapter_7_3d_reconstruction/embed" width="780" height="150" scrolling="no" frameborder="0"></iframe>
|
What are the formulas?
[calibration matrix.camera coordinate system.camera calibration.3D reconstruction, 2]
1. [f,0,px;0,f,py;0,0,1]
2. K=diag(mx,my,1)*[f,0,px;0,f,py;0,0,1] = [ax,0,x0;0,ay,y0;0,0,1] for non-square pixel with pixel size 1/mx * 1/my per meter
What is the formula?
[projection matrix.camera coordinate system.camera calibration.3D reconstruction]
P = K*[I|0]
Which frames exist?
[camera coordinate system.camera calibration.3D reconstruction, 2]
1. Camera coordinate frame (CCF) and 2. world CF (WCF)
How to describe relation)?
[CCF WCF.camera coordinate system.camera calibration.3D reconstruction]
By rotation and translation
What are the formulas?
[CCF WCF.camera coordinate system.camera calibration.3D reconstruction, 3]
1. Xcam = R(Xworld-CC) = [R,-R*CC;0,1]*(Xworld;1)
2. x = K*[I|0]*Xcam = K*[R|-R*CC]*Xworld with P = K*[R|-R*CC]
3. Note P*CC=0 with CC null space of CPM
What are the steps?
[procedure.camera calibration.3D reconstruction, 6]
1. Use camera data to compute intrinsic and extrinsic parameters
2. Place “calibration object” with known geometry in scene
3. Measure calibration points with subpixel accuracy
4. Use for #constraints more than 5*#unknowns
5. Solve mapping from scene to image, estimate P
6. Obtaining Pint*Pext=P is matrix decomposition problem
Which algorithms exist?
[procedure.camera calibration.3D reconstruction, 2]
1. For checkerboard pattern and 2. with DLT?
What are the steps of the algorithm?
[checkboard.procedure.camera calibration.3D reconstruction, 4]
1. Perform canny edge detection
2. Fit straight lines to detect linked edges
3. Intersect lines to obtain corners
4. Obtain points with localization accuracy < 1/10 pixel
What is the step of the algorithm?
[DLT.procedure.camera calibration.3D reconstruction]
Solve xi x P*Xi = [0,-XiT,yiXiT;XiT,0,-xiXiT;-yiXiT,xiXiT,0] = 0 via SVD
What are the characteristics?
[DLT.procedure.camera calibration.3D reconstruction, 5]
1. Only two linearly independent equations
2. P has 11 DoF because 12th parameter scale is arbitrary
3. 5½ correspondences are needed for minimal solution
4. For coplanar points with ProdT*X=0 we get degenerate solution
5. Calibration points in more than one plane needed
What are the hints?
[procedure.camera calibration.3D reconstruction, 4]
1. Scale image points xi with RMS distance sqrt(2) to image origin
2. Scale 3D points Xi with RMS distance sqrt(3) to world origin
3. More accurate algorithms than DLT available
4. Correct radial distortion
What are the characteristics?
[uncalibrated case.triangulation.epipolar geometry.3D reconstruction, 4]
1. Vectors x, R*x’ and t are coplanar
2. Calibration matrices K and K’ are unknowns with x=K*~x and x’=K*~x’
3. ~xT*E*~x’=0 → xT*F*x’=0 with fundamental matrix F =K-T*E*K’-1
4. Estimate F with eight-point algorithm
What are the characteristics?
[weak calibration.uncalibrated case.triangulation.epipolar geometry.3D reconstruction, 3]
1. Find interest points and compute correspondences
2. Approximatively correspondences enough for F
3. Use RANSAC for robust estimation
What are the characteristics?
[transfer.triangulation.epipolar geometry.3D reconstruction, 3]
1. Compute point on third image with known correspondences
2. Compute lines l31=FT12*x1 and l32=FT23*x2
3. when does it fail?
What are the steps?
[8point.linear algebra.epipolar geometry.3D reconstruction, 3]
1. Rewrite (u,v,1)*F*(u’;v’;1)=0 → (u’u,u’v,u’,uv’vv’,v’,u,v,1)*F=0
2. Fill with eight correspondences
3. Solve using SVD
Which norm is used for matrices?
[8point.linear algebra.epipolar geometry.3D reconstruction]
Frobenius norm
What are the characteristics?
[frobenius.8point.linear algebra.epipolar geometry.3D reconstruction, 5]
1. Generalized Euclidean norm for matrices
2. |A|F = sqrt(Sumi=1mSumi=1n|aij|²) = sqrt(Sumi=1min(m,n)sigmai2)
3. sigmai singular values of A
4. Ap = UpDpVpT for sigmap+1 to sigmaN set to zero
5. Then Ap is best rank-p approximation of A
What are problems due to noisy data?
[8point.linear algebra.epipolar geometry.3D reconstruction, 3]
1. No epipoles through which all epipolar lines pass
2. Enforce rank-2 constraint using SVD setting d33 to zero
3. Still poor numerical conditioning → rescale
What are the steps for the normalized case?
[8point.linear algebra.epipolar geometry.3D reconstruction, 4]
1. Center image data at origin and scale to mean squared distance of 2 pixels
2. Obtain F from eight-point algorithm
3. Enforce the ran-2 constraint and reconstruct to F’
4. Fundamental matrix is TT*F*T’
How to perform active stereo?
[3D reconstruction]
With structured light
What is the principle?
[structured light.3D reconstruction, 2]
1. Principle based on optical triangulation
2. But replacing one camera by projector
Name applications?
[structured light.3D reconstruction, 3]
1. Xbox Kinect
2. Laser scanning
3. Poor man’s scanner
What are the tools?
[xbox kinect.structured light.3D reconstruction, 3]
1. IR projector
2. IR camera for depth
3. Regular camera for color
What are the characteristics?
[laser scanning.structured light.3D reconstruction, 3]
1. Project single stripe of laser light
2. Scan across surface of object
3. Very precise
What are the tools?
[poor man.structured light.3D reconstruction, 3]
1. Desk lamp as light source
2. Stick to simulate stripe
3. Camera to scan
Name techniques?
[structured light.3D reconstruction, 5]
1. Single stripe
2. Multi-stripe triangulation
3. Phase-shift scanning
4. Gray code
5. High-speed 3D scanner
What is the idea?
[multi-stripe.structured light.3D reconstruction]
Project multiple stripes instead of one as in laser scanning
How can we identify the different stripes?
[multi-stripe.structured light.3D reconstruction, 3]
1. Assume surface continuity
2. Colored stripes
3. Time coded stripes with unique illumination code
What are the characteristics?
[phase-shift scanning.structured light.3D reconstruction, 3]
1. Project continuous (3 sinusoid) patterns shifted by 120°
2. For each pixel compute relative phase from 3 intensities with dPhi = arctan(sqrt(3)*Ir-Ib / 2*Ig-Ir-Ib)
3. Recover absolute phase using 2nd camera
What can be a problem?
[structured light.3D reconstruction]
Dynamically moving objects, causing one moving point to correspond to different 3D points
How to react on dynamically moving objects?
[structured light.3D reconstruction]
Use geometric error model
What is the input?
[SfM.3D reconstruction]
Given m images of n 3D points xij = PiXj
What are the ambiguities?
[SfM.3D reconstruction]
Absolute scale is impossible to recover, because PX = P/k * kX = P*Q-1*Q*X with factor k
Which transformations Q exist?
[SfM.3D reconstruction, 4]
1. Euclidean
2. Similarity
3. Affine
4. Projective
What are the characteristics?
[euclidean.transformation.SfM.3D reconstruction, 3]
1. Angles, lengths preserved
2. 6 DoF
3. QE = [R,t;0T,1]
What are the characteristics?
[similarity.transformation.SfM.3D reconstruction, 3]
1. Angles, length ratios preserved
2. 7 DoF
3. QS = [sR,t;0T,1]
What are the characteristics?
[affine.transformation.SfM.3D reconstruction, 3]
1. Parallelisms, volume ratios preserved
2. 12 DoF
3. QA = [A,t;0T,1]
What are the characteristics?
[projective.transformation.SfM.3D reconstruction, 3]
1. Intersection, tangency preserved
2. 15 DoF
3. QP = [A,t;vT,v]
What are the characteristics?
[transformation.SfM.3D reconstruction, 2]
1. With no constraints on camera calibration we obtain QP
2. Upgrade transformation with additional information
What are the characteristics?
[camera.affine.SfM.3D resconstruction, 4]
1. Special case of perspective projection with infinite focal length
2. Projection matrix [1,0,0,0;0,1,0,0;0,0,0,1]
3. Projection can be orthographic or parallel
4. Tolerable if scene points are far away