Psuedo Code for Multi-Perspective Data Validation
1:Input:
2:: List of valid camera views
3:: Valid 2D keypoints for each view .
4:: Camera and transformation matrices for each view .
5:: 3D joint pose computed through keypoint optimization of multiple view excluding view ,
6:Output:
7:: List of outlier views.
8:: List of inlier views.
9:procedure ValidateMP()
10:
11:
12: for each valid view in do
13: for each view in do
14: Transform 3D joints to camera coords and projection to 2D:
15:
16: Compute MSE with valid keypoints:
17:
18: end for
19: Calculate not optimized MSE for view :
20:
21: Calculate average optimized MSE excluding view :
22:
23: end for
24: if then
25: Mark all views as outliers.
26: else
27:
28:
29: for t in do:
30: if and and then
31: .
32: else
33: .
34: end if
35: end for
36: end if
37: return
38:end procedure