• Tidak ada hasil yang ditemukan

3D Image Reconstruction from Multiview Images

N/A
N/A
Protected

Academic year: 2025

Membagikan "3D Image Reconstruction from Multiview Images"

Copied!
7
0
0

Teks penuh

(1)

3D Image Reconstruction from Multiview Images

Shivaprasad Boora

Department of Electrical Engineering National Institute of Technology

Rourkela, India 769008 Email: [email protected]

Bharat Ch. Sahu

Department of Electrical Engineering National Institute of Technology

Rourkela, India 769008 Email: [email protected]

Prof. Dipti Patra Asso. Professor, Dept of EE National Institute of Technology

Rourkela, India 769008 Email: [email protected]

Abstract—This paper presents an efficient method to reconstruct 3D point cloud from an arbitrary number of views of an object of interest. Nowadays, Light Detection and Ranging (LIDAR) devices are used in autonomous vehicles and robots to get the 3D measurements. LIDAR contains laser scanners which directly gives the 3D information. However, these scanners are very expensive and prone to interferences and noise due to bulk hardware present in the device. To address this problem, mobile phone cameras are used in the proposed method as they are lighter and cheaper compared to scanners. Multiviews of an object of interest are obtained using a mobile phone camera and they are given as input to the structure from motion (SFM) algorithm. In this algorithm, an appropriate set of mixed feature extraction techniques are employed to get good number of 3D inlier points. The obtained results are visualised as 3D point clouds.

Key words : 3D Image reconstruction, Structure from mo- tion(SFM), Mixed feature extraction

I. INTRODUCTION

Image reconstruction is the process of obtaining an original ideal image from the distorted image. Causes of the distortion include illumination changes, blur, noise and damages in the objects. 3D image reconstruction is the process of reconstruct- ing the shape of the objects of interest. Its applications include a variety of fields like Robotics, Autonomous vehicles, and satellites. Satellites use this method to study the geography of the earth.

The general steps in 3D image reconstruction are : (1) Data Acquisition and Camera Calibration. (2) Feature Extraction and Matching. (3) Point Tracking. (4) Triangulate Multiview.

(5) Bundle Adjustment [1].

Fig. 1: General processing steps in 3D reconstruction Conventionally for data acquisition, scanner or high resolu- tion Camera sensors are used which are very expensive. The

Computation time is high due to the high resolution of the acquired images. This allows us to propose an effective system enabling accurate 3D reconstruction of static scenes. These static scenes are obtained from the stereo sequences captured by a mobile phone camera which gives low resolution images compared to scanners and high resolution cameras.

The entire paper is divided in to five sections. Section 1 gives the introduction and Literature review covered in Section 2. Section 3 contains the 3D reconstruction work flow and Section 4 describes the Evaluations and Experiments done.

Conclusions are given in Section 5.

II. LITERATUREREVIEW

3D Image reconstruction is one of the highly researched topics in the field of Computer Vision. A lot of work has been done in this field. Weidi Jia et al.[2] proposed 3D image recon- struction using Kinect Technology. In this paper, 2D images are obtained using webcam and depth estimation is done using Kinect device. Kinect device contains depth estimation sensors and IR camera which can capture the entire body gestures and facial expressions in 3D. However, It is very expensive which limits the application of this system by general end users.

A robust 3D face modelling technique proposed by Hai Jim et al.[3] by taking front and side images of the face. These images are acquired from smartphone camera. The 3D face reconstruction is guided by Non-Negative Matrix Factorisation (NMF) induced part-based face model. This method iteratively reconstruct the 3D face models from the front and side images.

To get the missing depth measurement prior knowledge of the face is needed. NMF is guided by the 3D face database.

3D reconstruction of heritage images was proposed by N.Soontranon et al.[1] using Multi-views images. This image reconstruction has been done using MICMAC (open source) software. The acquired multi-views images given as input to the software for 3D reconstruction. The reconstruction method involves Data Acquistion, Feature Extraction and Matching, Point Tracking, Triangulate Multiview and Bundle Adjustment as processing steps. Feature extraction and matching is very important step in the reconstruction process, Katsunori Onishi et al.[4] proposed 3D human posture estimation by extracting Histogram of Oriented Gradients (HOG) features. In this paper, human body described as a multi joint model. This joint angles shows the posture of human body. HOG features used are responsible for estimating the shape of the object.

(2)

As this features are independent of skin color and orientation the process is very stable. PCA is applied to decrease the dimension of HOG featue vector.

The 3D reconstruction includes not only HOG features but also many other featue vectors. Herbert Bay et al.[5]

presented Speeded Up Robust Features (SURF), which is an efficient scale and rotation invariant interest point detector and descriptor in feature extraction and matching. E. Rosten proposed Features from Accelerated Segment Test (FAST)[6].

Unlike SURF, FAST features extract conrners present in the images. This is done by comparing the intensity of the center pixel with its neighbourhood. Shi-Tomasi presented Minimum Eigen features which find the corners in the images using Eigen values of the Harris matrix [7].

SFM based reconstruction involves feature matching and tracking to construct 3D point clouds. Shabnam Hussain and Ravindra Modi[8] proposed the block matching algorithm to achieve correspondence points in two stereo images. Carlo Tomasi and Takeo Kanade [9] proposed factorization method which requires an algorithm to track the motion of features in an image stream.

III. 3D IMAGE RECONSTRUCTION WORK FLOW

The 3D point clouds are obtained from the multi view images by following steps shown in figure 2.

A. Data Acquisition and Camera Calibration

Several images of an object of interest are taken in different views. The acquired images are captured and saved in .jpg format with constant focal length. Images are taken in such a way that they have 60 - 70% overlapping region between the successive views.

Camera calibration is done to obtain camera parameters which includes intrinsic and extrinsic matrices. These matrices are responsible for undistorting the multi view images. These camera parameters are useful in the further processing steps to construct 3D point cloud.

B. Appropriate Selection of Feature vector

After Image acquisition, Features extraction is the primary step to be done to obtain the keypoints in the multi view images. Conventionally, the keypoints (interest points) are de- tected in the multi view images by applying SURF, FAST, and Minimum Eigen Feature algorithms [10]. Extracted features are compared among the Multiview images to get correspond- ing points [7]. In this paper, we extracted mixed features from the multi view images to obtain good number of 3D inlier points. The appropriate selection of feature vector has been done by observing the repeatability measurements provided in figure 4 and figure 5. Figure 4 shows that SURF feature vector showing good repeatability measurement over other feature vectors. However, from figure 5.a and 5.c FAST and HOG mixed features showing good repeatability measurement.

These mixed feature vectors are resulting good number of 3D inlier points than other feature vectors. This is shown in Table 2.

Fig. 2: Flow chart of 3D image reconstruction

1) SURF: Hessian matrix is used as detector in SURF to get keypoints [5],[7]. A point given asU = (u, v)in an image J, the Hessian matrix H(u, σ) in U at scale σ is defined as follows.

H(u, σ) =

Guu(u, σ) Guv(u, σ) Guv(u, σ) Gvv(v, σ)

whereGuu(u, σ)is second order partial derivative of gaussian function convoluted with image J.

Integral images are employed in SURF feature extraction which makes the computation faster. The descriptors are calculated by taking Haar-Wavelet responses around the key point in x and y directions. Each descriptor vector V contains

V = (X dx,X

dy,X

|dx|,X

|dy|)

Wheredxis haar wavelet response in x direction and P|dx| is sum of absolute value of differences in x direction

2) FAST: Features from Accelerated Segment Test (FAST) [6],[7] is implemented to get corner points. Segment test is performed by taking a circle of 16 pixels around the corner candidate pixel q. q can be considered as corner point if the n

(3)

successive pixels in the circle of 16 pixels which are brigher than q byIq+tor darker than q byIq−t. The test examines n=4 for faster computation. Each pixel (x) in the circle when

Fig. 3: The highlighted squares are the 16 pixels used in segment test for FAST feature detection

compared with q fall in any of these three cases shown below.

Tq→x=





d, Iq→x≤Iq−t(darker)

s, Iq−t < Iq→x< Iq+t(similar) b, Iq+t≤Iq→x(brighter)

3) MINIMUM EIGEN FEATURES: Considering an image area (a,b) and shifting it by (l,m). The weighted sum of squared differences (SSD) between these two image regions is given as

D(l, m) =X

a

X

b

w(a, b)(I(a+l, b+m)−I(a, b))2 (1) Using Taylor series expansion

I(a+l, b+m)≈I(a+b) +Il(l, m)l+Im(l, m)m Il andIm are partial derivatives of I.

D(l, m) =X

a

X

b

w(a, b)(Il(l, m)l+Im(l, m)m)2 (2) If we write Equation (2) in matrix form

D(l, m)≈(l, m)A l

m

A≈X

a

X

b

w(a, b)

Il2 IlIm

IlIm Im2

This is Harris Matrix

hIl2i hIlImi hIlImi hIm2i

Shi-Tomasi modified the Score function as R=min(λ1, λ2). If R is greater than a certain predefined value, it can be marked as a corner.λ1 andλ2 are eigen values of Harris matrix [7].

4) Feature Matching: In this paper, Block matching [11],[8] technique is employed to match the extracted feature vectors. A block of size k×k where k is less than the size of the image is considered around the pixel p1 in first view.

Another window of same size taken around a pixel p2 in second view. If the intensity score calculated using Sum of Absolute Differences (SAD) are similar then those two pixels (p1 andp2) are considered as matched pixels.

C. Point Tracking

In this section matched features have to be tracked. This tracking will give us the information of camera pose which contains rotation matrix and translation matrix. These matrices are responsible for getting the third coordinate from the matched feature points. This point tracking can be done by Kanade-Lucas-Tomasi (KLT) feature tracking algorithm [9].

Due to the effect of distortion a single pixel cannot be tracked.

Because of this problem we track a window of pixels over the image sequences.

D. Multiview Triangulation

The matched feature points are projected to get an intersec- tion point which gives us the 3D world point [12]. In order to to do this, we should have the Intrinsic and Extrinsic matrices.

This information we get from section C.

 u v 1

=

f 0 cu

0 f cv

0 0 1

R(r) t

 x y z 1

 s 0 0

 (3)

where (u, v,1)T is homogeneous image coordinates, f is focal length,(cu, cv)principal point,R(r)Rotation Matrix,t translation vector, 3D World point CoordinateX = (x, y, z)T, shifts= 0(left image), s= baseline (right image)

E. Bundle Adjustment

It is the refinement procedure of the 3D points and camera poses which minimises the reprojection errors. This method implemented using Lavenberg-Marquardt Algorithm (LMA) [13].

IV. EVALUATION ANDEXPERIMENTS

The input image data sets acquired using a mobile phone camera with 8 Megapixel resolution. The multi views obtained should have 60-70% overlapping region with the previous view. The experiments were done completely in Matlab 2016a Computer Vision platform. Two different image datasets have taken Cup and Globe as shown in figure 9 and figure 6 respectively. SURF, FAST and Minimum Eigen Features are extracted from the input multi view image datasets. The repeatability measurement is computed for all the calculated features. Repeatability measurement (r) is the ratio between the number of point to point correspondences (C) that can be established for detected points and mean (m) number of points detected in two successive views of the input image sequence [14].

r1,2= C(I1, I2) mean(m1, m2)

(4)

TABLE I: Computation time (in sec) of different feature sets for Cup and Globe datasets

Feature Vector Cup dataset Globe dataset

SURF 31.03 13.86

FAST 28.21 13.25

MinEigen 30.67 15.85

SURF and HOG 33.18 16.60

FAST and HOG 29.82 14.40

MinEigen and HOG 38.93 21.77

TABLE II: Number of 3D Inlier points obtained using different feature sets for Cup and Globe datasets

Feature Vector Cup dataset Globe dataset

SURF 4604 7886

FAST 4552 7881

MinEigen 4494 7883

SURF and HOG 4615 7893

FAST and HOG 4617 7912

MinEigen and HOG 4606 7891

(a) Repeatabilitiy measurement vs Scale of image

(b) Repeatabilitiy measurement vs Sigma(Blur) of image

(c) Repeatabilitiy measurement vs Rotation of image

Fig. 4: Repeatability measurement of single feature Vectors A good feature should have high repeatability. From figures 4.a,4.b and 4.c it is evident that SURF feature showing high repeatability in all the three cases which are Scaling, blurring and rotation of image. This shows that SURF features are good to track in the process of 3D reconstruction compared to other features. SURF is providing highest number of 3D inlier points compared to other single feature vectors this is evident from Table 2.

In our proposed method when this local features are mixed with HOG feature the results are different. From figures 5.a and 5.c, FAST features are showing better repeatability than other features for lower values of rotation and scaling of image and the number of 3D inlier points are more compared with the single feature extraction method. FAST and HOG mixed feature set is providing highest number of 3D inliers compared to all the other feature sets. This is shown in Table 2.

However, computation time for mixed features is high when compared with single features. This is shown in Table 1.

Mixed featues are providing good number of 3D inlier points at the cost of computaion time in allowed limits. The 3D reconstructed point clouds using different feature vectors for Cup and Globe datasets are shown in figure 10 and 11 and figure 7 and 8 respectively.

(a) Repeatabilitiy measurement vs Scale of image

(b) Repeatabilitiy measurement vs Sigma(Blur) of image

(c) Repeatabilitiy measurement vs Rotation of image

Fig. 5: Repeatability measurement of mixed feature vectors

Fig. 6: Input multi view image dataset of Globe

(5)

(a) Dense 3d Point cloud of globe using SURF features

(b) Dense 3d Point cloud of globe using FAST features

(c) Dense 3d Point cloud of globe using MinEigen features

Fig. 7: Dense 3D point cloud reconstruction of globe using single feature vectors

(a) Dense 3d Point cloud of globe using SURF and HOG features

(b) Dense 3d Point cloud of globe using FAST and HOG features

(c) Dense 3d Point cloud of globe using MinEigen and HOG features

Fig. 8: Dense 3D point cloud reconstruction of Globe using mixed feature vectors

(6)

Fig. 9: Input multi view image dataset of Cup

(a) Dense 3d Point cloud of cup using SURF features

(b) Dense 3d Point cloud of cup using FAST features

(c) Dense 3d Point cloud of cup using MinEigen fea- tures

Fig. 10: Dense 3D point cloud reconstruction using single feature vectors

(a) Dense 3d Point cloud of cup using SURF and HOG features

(b) Dense 3d Point cloud of cup using FAST and HOG features

(c) Dense 3d Point cloud of cup using MinEigen and HOG features

Fig. 11: Dense 3D point cloud reconstruction using mixed feature vectors

V. CONCLUSION

In this paper, we propose an efficient 3D image recon- struction method that can accurately acquire 3D point clouds using a mobile phone camera. In this solution, multi view images of an object of interest processed with mixed feature extraction techniques. Mixed feature vectors extracted from the images produces good number of 3D inlier points compared to other feature vectors at the cost of computation time. In this paper, simple multi view images are used as input to the SFM algorithm. Limitation of this method is, it is not giving any idea about the object size. But this method allows the general users to capture multiview images and reconstruct the 3D point clouds of object of interest.

(7)

REFERENCES

[1] N. Soontranon, P. Srestasathiern, and S. Lawawirojwong, “3d modeling from multi-views images for cultural heritage in wat-pho, thailand,”The International Archives of Photogrammetry, Remote Sensing and Spatial Information Sciences, vol. 40, no. 5, p. 403, 2015.

[2] J. Weidi, Y. Won-Jae, J. Saniie, and E. Oruklu, “3d image reconstruction and human body tracking using stereo vision and kinect technology,” in Electro/Information Technology (EIT), 2012 IEEE International Confer- ence on, 2012.

[3] H. Jin, X. Wang, Z. Zhong, and J. Hua, “Robust 3d face modeling and reconstruction from frontal and side images,” Computer Aided Geometric Design, vol. 50, pp. 1–13, 2017.

[4] K. Onishi, T. Takiguchi, and Y. Ariki, “3d human posture estimation using the hog features from monocular image,” inPattern Recognition, 2008. ICPR 2008. 19th International Conference on. IEEE, 2008, pp.

1–4.

[5] H. Bay, T. Tuytelaars, and L. Van Gool, “Surf: Speeded up robust features,”Computer vision–ECCV 2006, pp. 404–417, 2006.

[6] E. Rosten and T. Drummond, “Machine learning for high-speed corner detection,”Computer vision–ECCV 2006, pp. 430–443, 2006.

[7] M. Hassaballah, A. A. Abdelmgeid, and H. A. Alshazly, “Image features detection, description and matching,” inImage Feature Detectors and Descriptors. Springer, 2016, pp. 11–45.

[8] S. Hussain and R. Modi, “Advancement in depth estimation for stereo image pair,”International Journal of Innovative Research in Computer and Communication Engineering, vol. 1, pp. 937–943, 2013.

[9] C. Tomasi and T. Kanade, “Detection and tracking of point features,”

1991.

[10] Y. Jiang, Y. Xu, and Y. Liu, “Performance evaluation of feature detection and matching in stereo visual odometry,”Neurocomputing, vol. 120, pp.

380–390, 2013.

[11] M. Nguyen, Y. H. Chan, P. Delmas, and G. Gimel’farb, “Symmetric dynamic programming stereo using block matching guidance,” inImage and Vision Computing New Zealand (IVCNZ), 2013 28th International Conference of. IEEE, 2013, pp. 88–93.

[12] R. Hartley and A. Zisserman,Multiple view geometry in computer vision.

Cambridge university press, 2003.

[13] M. Lourakis and A. A. Argyros, “Is levenberg-marquardt the most efficient optimization algorithm for implementing bundle adjustment?”

inComputer Vision, 2005. ICCV 2005. Tenth IEEE International Con- ference on, vol. 2. IEEE, 2005, pp. 1526–1531.

[14] L. Juan and O. Gwun, “A comparison of sift, pca-sift and surf,”

International Journal of Image Processing (IJIP), vol. 3, no. 4, pp.

143–152, 2009.

Referensi

Dokumen terkait

An algorithm for 3D reconstruction of the buildings based on LiDAR point cloud and aerial imagery is proposed which uses the advantage of both data sources,

Aside from texture mapping 3D building reconstruction from aerial images involv- ing parametric shapes, point cloud segmentation or the simplifi- cation of digital surface models

Our CNN works with just a single 2D facial image, does not require accurate alignment nor establishes dense correspondence between images, works for arbitrary facial poses and

/ Jurnal Teknologi Sciences & Engineering 76:12 2015 133–139 Figure 10 3D model representing the renovation new design of the roof Figure 11 3D model of renovation with point cloud

3D reconstruction and face recognition using kernel-based ICA and neural networks Shye-Chorng Kuoa,c, Cheng-Jian Linb,⇑, Jan-Ray Liaoa aDepartment of Electrical Engineering, National

In this new method, the point cloud of a body part was collected using the handheld scanner.. Then, the data was transformed into point

Fabrication of 3D-printed implants The 3D-printed implants were fabricated to reflect the contra- implant to be applied to the currently used Nagata’s3 two-stage ear reconstruction

Effectiveness of the proposed method in EBTC image reconstruction using: a lowpass filtered technique, b VQ-based image reconstruction, c sparsity-based image reconstruction using two