Algorithm 1 3D reconstruction of occluded object with camera array using synthetic aperture imaging. |
Calibrate camera array;
capture image sequence of the occluded object;
for each depth o where the occlusion locates do
Shift every camera-view image to reference camera view r at depth o using Equations (3)–(6);
Generate synthetic images focused on depth o using Equation (7);
Label pixels in each depth o using Equations (8) and (9);
end for
Merge label matrices of all depths together in reference camera view
for each camera view to N
do
Transform label matrices from reference camera view r to other views i according to Equations (10) and (11);
Take the exclusive OR operation of and in each camera view using Equation (12);
end for
for each depth t in which the occluded object is located do
Generate synthetic without-occlusion images that focus on depth t using Equations (3)–(6);
Extract pixels using Equations (13) and (14);
Calculate the coordinate value of each pixel, and convert the image coordinate system to the world coordinate system using Equations (16) and (17);
Save those pixels’ information to a file with Equation (15);
end for
|