This repo contains the code for 3D reconstruction of objects from multiple images of different views. The implementation follows this post. Implementation is divided into following parts:
-
Feature Matching : In this section, each image is searched for interest points using
Multilevel Harris Corner Detectionand for each interest point aSIFT Descriptoris generated. For all possible pairs of images, these descriptors are crosschecked with each other to find the match between the correspoinding interest points. (This section needs more management) -
Fundamental Matrix & Camera Matrix : It is assumed all the images are taken from same camera(that means intrinsic parameters will be same for all images). For all pair of images, a Fundamental Matrix
Fwill be calculated using point correspondence generated in last section. Then, using intrinsic matrixK, we find Essential MatrixE = np.matmul(K.T, np.matmul(F, K)). Factorizing thisEmatrix we will get extrinsic matrixP = [R | t]of each image view.