|
Algorithm 1 Overview of depth alignment procedure. |
|
Input Captured depth image , estimated depth image ; |
|
Output: aligned depth map for ; |
| 1: Run RANSAC to find the metric scaling factor. |
| 2: Extract patch in . |
| 3: Calculate scaled depth values and normals of . |
| 4: Initialize offset map O. |
| 5: Find a patch in based on O. |
| 6: for
∈ and ∈
do
|
| 7: Calculate depth difference and normal angle between and . |
| 8: Run PatchMatch propagation to update offset map O. |
| 9: Mapping to based on O. |