|
Algorithm 2 Initial Object Pose Quality Check. |
|
Require:
|
▹ N/A
|
|
Ensure:
|
▹ N/A
|
| 1: if is not the first-time detected then
|
| 2: return
|
| 3: end if
|
| 4:
|
| 5:
|
| 6:
|
| 7: while is not empty do
|
| 8:
|
| 9:
|
| 10:
|
| 11: if QUALITYTEST() is not passed then
|
| 12: continue
|
| 13: end if
|
| 14: .add()
|
| 15:
|
| 16: ()
|
| 17: project all endpoints of faces in by T
|
| 18: if .size() then
|
| 19: for
in neighboring face IDs of do
|
| 20: if in or any of its endpoints in area of then
|
| 21: continue
|
| 22: end if
|
| 23: .add()
|
| 24: mask out the area of in
|
| 25: end for
|
| 26: end if
|
| 27: end while
|