|
Algorithm 3 Rigid Transformation Recovery |
|
Input:
: scaled 3D points from RGB images; : 3D points from depth images |
|
Output: best transformation estimation () |
| 1. , Iterations = 0,
|
| 2. While Iterations <= MaxIterations do
|
| 3.
|
| 4. Randomly select 5 pairs of corresponding points from and , use Besl’s method to compute the rigid transformation R’, t’ |
| 5. For
do
|
| 6. If
then
|
| 7. nInlier = nInlier + 1 |
| 8.
|
| 9. End if
|
| 10. End for
|
| 11. If nInlier >
then
|
| 12. nInlier |
| 13.
|
| 14 End if
|
| 15. Iterations = Iterations + 1 |
| 16. End while
|
| 17.
|
| 18 Return
|