<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2015.69137</article-id><article-id pub-id-type="publisher-id">AM-58761</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Robust Estimation Method for Camera Calibration with Known Rotation
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>mir</surname><given-names>Egozi</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Dov</surname><given-names>Eilot</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Peter</surname><given-names>Maass</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Chen</surname><given-names>Sagiv</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Center for Industrial Mathematics, University of Bremen, Bremen, Germany</addr-line></aff><aff id="aff2"><addr-line>SagivTech Ltd., Ra’anana, Israel</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>egozi5@gmail.com(ME)</email>;<email>dov@sagivtech.com(DE)</email>;<email>pmaass@math.uni-bremen.de(PM)</email>;<email>chen@sagivtech.com(CS)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>05</day><month>08</month><year>2015</year></pub-date><volume>06</volume><issue>09</issue><fpage>1538</fpage><lpage>1552</lpage><history><date date-type="received"><day>13</day>	<month>July</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>9</month>	<year>August</year>	</date><date date-type="accepted"><day>12</day>	<month>August</month>	<year>2015</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Imagine that hundreds of video streams, taken by mobile phones during a rock concert, are uploaded to a server. One attractive application of such prominent dataset is to allow a user to create his own video with a deliberately chosen but virtual camera trajectory. In this paper we present algorithms for the main sub-tasks (spatial calibration, image interpolation) related to this problem. Calibration: Spatial calibration of individual video streams is one of the most basic tasks related to creating such a video. At its core, this requires to estimate the pairwise relative geometry of images taken by different cameras. It is also known as the relative pose problem [1], and is fundamental to many computer vision algorithms. In practice, efficiency and robustness are of highest relevance for big data applications such as the ones addressed in the EU-FET_SME project SceneNet. In this paper, we present an improved algorithm that exploits additional data from inertial sensors, such as accelerometer, magnetometer or gyroscopes, which by now are available in most mobile phones. Experimental results on synthetic and real data demonstrate the accuracy and efficiency of our algorithm. Interpolation: Given the calibrated cameras, we present a second algorithm that generates novel synthetic images along a predefined specific camera trajectory. Each frame is produced from two “neighboring” video streams that are selected from the data base. The interpolation algorithm is then based on the point cloud reconstructed in the spatial calibration phase and iteratively projects triangular patches from the existing images into the new view. We present convincing images synthesized with the proposed algorithm.
 
</p></abstract><kwd-group><kwd>Spatial Calibration</kwd><kwd> Structure from Motion</kwd><kwd> Virtual Camera</kwd><kwd> Big Data</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>If you visited a rock concert recently, or any other event that attracts crowds, you probably recognized how many people are taking videos of the scenario, using their mobile phone cameras. Combining these video streams potentially allows viewing the scene from arbitrary angles or creating a new video with an artificially designed camera trajectory. This is one of the challenges of SceneNet<sup>1</sup>, which aims to develop software for aggregating such audio-visual recordings of public events, in order to create multi-view high quality video sequences. The general setup of the SceneNet computational infrastructure is depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>In order to achieve this goal, there are several challenges that require an efficient solution. The first challenge is the mobile infrastructure: the individual user needs to be related to the event, including time and location tags. Then, large amounts of audio-visual data need to be transferred via the cellular network to a server. To this end, we have developed a framework which reduces the transmitted data. In this framework the server performs spatial registration based on image features and sensor measurements that are computed on the devices. From this registration and from video quality measurements (also done on the devices), the server chooses a small subset of videos that are transferred to the server for the multi-view video generation. The bandwidth reduction is therefore a function of the minimal number of features and auxiliary data that is needed for an accurate spatial registration.</p><p>The second challenge is spatial registration, i.e. the task of determining the relative position and orientation of two video streams. This is the classical task of epipolar geometry which describes the relative geometry of two images depicting the same scene. It is encoded in a 3 &#215; 3 singular matrix known as the fundamental matrix [<xref ref-type="bibr" rid="scirp.58761-ref1">1</xref>] . Estimating the fundamental matrix and thus the epipolar geometry, is a core ingredient for many of computer vision algorithms such as structure-from-motion [<xref ref-type="bibr" rid="scirp.58761-ref2">2</xref>] , vision-based robot navigation [<xref ref-type="bibr" rid="scirp.58761-ref3">3</xref>] and even for intra-operative guidance [<xref ref-type="bibr" rid="scirp.58761-ref4">4</xref>] .</p><p>A common practice, for estimating the fundamental matrix, is to use matching invariant features, e.g. SIFT, SURF, etc. followed by a robust model-fitting algorithm. Typically, a RANSAC [<xref ref-type="bibr" rid="scirp.58761-ref5">5</xref>] like algorithm that samples a set of putative correspondences until an outliers-free set is found. Outliers are defined as correspondences that do not agree with the estimated model yielded from the correspondences set. The main weakness of RANSAC- like scheme is the requirement of sampling a valid set, where all are inliers, with a high probability. The number of sampling subsets that are needed, to get a valid set, is exponential with the subset’s cardinality.</p><p>These days, it is common to use mobile cameras that have built-in sensors such as accelerometer, compass and gyros. These can be used for measuring the motion and orientation of the mobile camera. In this paper we present an algorithm for estimating the epipolar geometry given, the relative orientation of the cameras and the</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> The presented research is part of project SceneNet, which aim is to aggregate numerous audio-visual recordings of public events, captured by mobile devices (far left), in order to create a multi-view high quality video sequence. The data is transmitted via the cellular network to a high performance computing server, where it been synchronized, followed by the proposed spatial registration algorithm (middle bulb). The data will then be available through a dedicated viewer in which a user will be able to define an artificial camera that moves along a specific trajectory. To this end, in this paper, we present an image synthesis algorithm that can generate a convincing synthesized image from a specific camera pose. In addition, The event will create a community, where each member may provide another piece of the puzzle and view the entire information</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x6.png"/></fig><p>intrinsic parameters of the cameras. This allows computing an improved, accurate registration with less feature points than traditional algorithms [<xref ref-type="bibr" rid="scirp.58761-ref1">1</xref>] .</p><p>Given the spatially calibrated cameras, the ability to interactively control the viewpoint while watching a video, is an exciting application. This poses an additional challenge, i.e. an efficient image interpolation algorithm is required in order to obtain free viewpoint video.</p><p>Novel view interpolation, also known in the literature as image-based rendering (IBR), is a classic problem in computer vision and graphics [<xref ref-type="bibr" rid="scirp.58761-ref6">6</xref>] : given a collection of input video frames, synthesize images which would have been seen from viewpoints along a desired camera path. We propose a geometry-based approach that uses, except from the available images, the 3D structure, which has been generated in the spatial calibration stage.</p><p>The main challenge of novel view interpolation is how to robustly estimate pixel correspondences between two given cameras frames and to interpolate the pixel motion into the novel image in a coherent way. In the proposed approach each rendered image is constructed from two existing images of the two most similar cameras, by transferring triangular patches one at a time. The triangles were defined by the correspondences of the two existing images projected onto the novel view according to 3D structure that has been estimated. We do not impose strong assumption on the scene structure or the camera movement, allowing for arbitrary input and even for wide baseline setups.</p><p>The rest of the paper is organized as follows: Section 2 analyzes the complexity of the problem; Section 1 reviews the state of the art works that are related to this presentation; and Section 4.3 presents the spatial registration algorithm. In Section 5 we present the virtual image generating algorithm; Section 6 presents experimental results that validate the presented algorithms; and Section 7 concludes the presentation.</p></sec><sec id="s2"><title>2. Complexity Analysis</title><p>In this section we give a theoretical and practical analysis of the computational complexity of the spatial registration algorithm for the specific problem of numerous users capturing the same scene.</p><p>The amount of data that needs to be transfer via the network is illustrated in the following example. Consider a Samsung Galaxy S6 device that records UHD video (3840 &#215; 2160) with a bit-rate of 48 Mbps, and Full-HD video (1920 &#215; 1080) with a bit-rate of 17 Mbps. In a moderate scene with 50 devices filming UHD and 50 devices filming Full-HD, the total bit-rate is accumulated to 3.25 Gbps. Hence, real-time transfer of all the videos to a common server is not feasible due to bandwidth limits of the wireless network which cannot exceed 500 Mbs for an individual user. The practical approach would be to submit only the detected features that can be computed on the device for each frame. This approach can be rendered insufficient since a typical number of detected features may be beyond several thousands. For example let n = 5000 be the number of features, and assume that each detected feature is described by a SIFT descriptor [<xref ref-type="bibr" rid="scirp.58761-ref7">7</xref>] of length d = 128 where each element is represented by an unsigned integer with 8-bits. Then, for each frame the mobile generates a total of n &#215; d &#215; 8 ≈ 5 Mb which may aggregates to 120 Mb/sec for 25 frames in a second. Hence, even with feature representation it won’t be possible to submit the data of more than 3 users to the server. One approach to solve this problem is to send only a subset of features. This requires a robust and accurate algorithm to solve the registration problem with a small subset of features. Such an algorithm is presented in this paper.</p><p>The core of the registration algorithm relies on comparisons between images. However, only images taken from nearby positions will give valuable results. Since, in the first frame we have no initial guess on the location of the cameras, we need to compare all the images pairs, which results in complexity of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x8.png" xlink:type="simple"/></inline-formula>, for N cameras. For the following frames, however, we can reduce the complexity to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x9.png" xlink:type="simple"/></inline-formula>, by assuming a minor movements of the cameras, thus comparing each camera only with its neighbors. For T time-frames in a video, we get a total complexity of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x10.png" xlink:type="simple"/></inline-formula>, and since for normal framerate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x11.png" xlink:type="simple"/></inline-formula>, the complexity become<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x12.png" xlink:type="simple"/></inline-formula>, and linear in the number of frames<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x13.png" xlink:type="simple"/></inline-formula>. Since the complexity cannot be reduced bellow linear, the only way to reduce the running time is to reduce the inner comparison computation time.</p><p>As an example consider the N = 50 cameras scenario described above. In order to initialize the spatial registration an order of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x14.png" xlink:type="simple"/></inline-formula> pairwise computations are required. As is described in Section 3, Each computation consists of a robust optimization procedure in order to estimate the fundamental matrix, which demand a set of 35 iterations for the propose algorithm where as 1177 are needed for the 8-point algorithm [<xref ref-type="bibr" rid="scirp.58761-ref8">8</xref>] a factor of 33 in favor of the proposed algorithm2. However, since the order of the number of pairwise comparisons is quadratic, the actual improvement factor is 33<sup>2</sup> ≈ 10<sup>3</sup>. Hence, the registration algorithm described here requires the transmission of a smaller number of features, which results in a lower bandwidth consumption with an additional advantage of efficient computation time.</p></sec><sec id="s3"><title>3. Related Work</title><p>The focus of the paper is on the spatial registration task and on synthesis of virtual camera images. Hence the description of the state-of-the-art on these topics is given in the following subsections.</p><sec id="s3_1"><title>3.1. Spatial Registration</title><p>In this section we review the relative pose estimating algorithm that are relevant to this correspondence. In order to determine the relative pose between two cameras, one need to estimate the fundamental or essential matrix. These matrices represent the epipolar geometry that described the relative geometry of two cameras.</p><p>The fundamental matrix, F, encapsulates the two cameras’ intrinsic parameters which are the focal lengths and the principle points, and the extrinsic parameters which include the relative orientation, and the translation vector from the first to the second camera. The intrinsic parameters are usually publicity available through the camera manufacturer or the operation system of the mobile device. Given the intrinsic parameters the problem reduced to estimating the essential matrix, E, that encode only the relative pose parameters.</p><p>Numerous methods have been proposed for estimating the fundamental matrix, which can be classified as linear, iterative and robust methods. There are a set of “n-point” feature-based algorithms to compute the fundamental matrix, or the essential matrix in case of known intrinsic parameters. The fundamental matrix can be estimated by the normalized-8-point algorithm [<xref ref-type="bibr" rid="scirp.58761-ref8">8</xref>] or 7-point algorithm [<xref ref-type="bibr" rid="scirp.58761-ref10">10</xref>] . If the camera is calibrated, or the intrinsic parameters are known a priori, an equivalent 6-point [<xref ref-type="bibr" rid="scirp.58761-ref11">11</xref>] and 5-point [<xref ref-type="bibr" rid="scirp.58761-ref9">9</xref>] algorithms have been deve- loped.</p><p>The performance of the “n-point” algorithm is significantly depends on the quality of the feature correspondences detected between the images. There are two main sources for degradation in the correspondences quality, (a) bad point localization due to image noise and (b) outliers caused by wrong matching between corresponding feature points. The “n-point” algorithms can compensate for feature localization errors by adding redundant points and solving a least-squares minimization problem. Alternatively, iterative methods are in general more accurate than the linear “n-point” methods. They use sophisticated computational approaches to solve a non- linear optimization problem [<xref ref-type="bibr" rid="scirp.58761-ref12">12</xref>] . One form of such non-linear optimization problem is to minimize a cost function that sums the distance between feature points and their corresponding epipolar lines [<xref ref-type="bibr" rid="scirp.58761-ref13">13</xref>] . Iterative methods are more accurate than the linear methods but are much more computationally expensive and cannot cope with outliers. Therefore they are impractical for real time application. Nevertheless, iterative methods are extensively used as refine procedure after getting an outlier free and accurate enough solution using robust and linear methods [<xref ref-type="bibr" rid="scirp.58761-ref14">14</xref>] .</p><p>Robust methods aim to tolerate both image noise and outliers. Robust parameters estimation in presence of outliers is a general problem in computer vision and thorough reviews can be found in [<xref ref-type="bibr" rid="scirp.58761-ref15">15</xref>] [<xref ref-type="bibr" rid="scirp.58761-ref16">16</xref>] . M-estimators [<xref ref-type="bibr" rid="scirp.58761-ref1">1</xref>] reduce the affect of outliers by using a heavy-tailed weighting function on the individual residuals. There are many M-estimators, each with its specific weight function. Another set of techniques is based on randomly selecting a subset of correspondences for computing an approximation of the fundamental matrix by a linear method. There are two major random sampling approaches: Least median of squares (LMedS) [<xref ref-type="bibr" rid="scirp.58761-ref17">17</xref>] and random sampling consensus (RANSAC) [<xref ref-type="bibr" rid="scirp.58761-ref5">5</xref>] . The difference between the two approach is in the way they determine the fundamental matrix. The chosen fundamental matrix, according to LMedS, is the one that minimize the median distance between the points and the corresponding epipolar lines. RANSAC compute the number of inliers for each computed matrix and choose the matrix with the maximum inliers.</p><p>The weak point of the sampling-based algorithms is the necessity to sample an oulier free set. The number of random samples needed to get an outlier free set depends exponentially on the number of elements required for the estimation and on the inlier fraction. Thus, reducing the size of the sampling set is of utmost importance when applying RANSAC scheme. For example, to get an outlier free sample with 99% certainty from a data set with 50% outlier ratio, one needs to sample 146 times while using the 5-point algorithm, 1177 times while using the 8-point algorithm, and 35 while using the proposed 3-point algorithm. A factor of 4 and 33 speedup, respectively. Hence, the proposed 3-point algorithm will be much more efficient, which might be very important for limited computational power devices such as smartphones.</p><p>In addition, RANSAC scheme can yield inaccurate hypothesis estimation due to image noise. In order to improve the performance of the RANSAC scheme many algorithms have been developed, such as LO-RANSAC [<xref ref-type="bibr" rid="scirp.58761-ref18">18</xref>] , PROSAC [<xref ref-type="bibr" rid="scirp.58761-ref19">19</xref>] , BEEM [<xref ref-type="bibr" rid="scirp.58761-ref20">20</xref>] , BLOGS [<xref ref-type="bibr" rid="scirp.58761-ref21">21</xref>] , and recently USAC [<xref ref-type="bibr" rid="scirp.58761-ref22">22</xref>] .</p><p>Recently, many researchers aim at exploiting auxiliary information either visual, like vanishing points, or using external sensor attached to the camera like Inertial Measurement Unit (IMU). For example, in [<xref ref-type="bibr" rid="scirp.58761-ref23">23</xref>] , camera motion is computed using both a monocular camera and an IMU in a complementary way. The problem of estimating the relative pose given two rotation angles has been investigate in [<xref ref-type="bibr" rid="scirp.58761-ref24">24</xref>] . In their algorithm the two rotation angles are given from the accelerometer sensor. Other approaches, e.g. [<xref ref-type="bibr" rid="scirp.58761-ref25">25</xref>] , used sensors’ measurement as auxiliary information and concentrate on the integration between vision-based and sensors-based pose estimation and their review is out of the scope of this paper. Closely related to the presented approach, Dalalyan and Keriven [<xref ref-type="bibr" rid="scirp.58761-ref26">26</xref>] formulate the relative pose estimation problem with known relative orientation as an inverse problem. Their optimization framework is a global one where all the parameters, the camera positions and outlier identities, are estimated simultaneously.</p></sec><sec id="s3_2"><title>3.2. Virtual Camera</title><p>The developed approach was inspired by several state-of-the-art works on image-based rendering and image stabilization. A well established technique for image morphing is based on feature matching. For a survey of such methods see [<xref ref-type="bibr" rid="scirp.58761-ref27">27</xref>] . A modern approach is presented by Gurdan et al. [<xref ref-type="bibr" rid="scirp.58761-ref28">28</xref>] . Their multiview image interpolation algorithm is focused on synthesizing novel in-between images, and is based on sparse feature matching without any knowledge on calibration parameters. The main effort is, therefore, to robustly estimate pixel correspondences and subsequently interpolate the pixel motion properly. They presents convincing results of interpolated in-between image.</p><p>Other class of approaches for novel image synthesis is based on 3D structure information, usually reconstructed using standard structure-from-motion (SFM) algorithm [<xref ref-type="bibr" rid="scirp.58761-ref1">1</xref>] . Liu and Jin [<xref ref-type="bibr" rid="scirp.58761-ref29">29</xref>] proposed a video stabilization algorithm guided by structure from motion reconstruction. The 3D approach to video stabilization is closely related to our goals. In this context the camera path is estimated using SFM algorithm and a smooth path is fit to the noisy motion of the hand-held camera path. This setup reduces the problem into the image-based rendering (IBR) problem of novel view interpolation.</p><p>Recently, Kopf et al. [<xref ref-type="bibr" rid="scirp.58761-ref30">30</xref>] published an algorithm for creating hyper-lapse video, where a regular video is summarized by taking only the k-th frame. But, instead of taking just the k-th frame which can yield non-stabilized movie they estimate a smooth path using SFM algorithm and synthesis these images along the estimated path. Their approach, however, is limited to a single camera and may fail for large wide baseline camera setups.</p></sec></sec><sec id="s4"><title>4. Relative Pose Estimation for the Case of Known Rotation Matrix</title><p>Nowadays, cameras are often attached with high-quality sensors, such as accelerometer, magnetometer (compass) and gyro. In addition, for vision-based robot navigation, low-cost inertial measurement units (IMUs) based on micro-electro-mechanical systems (MEMS) devices can be used to estimate the relative pose.</p><p>In this section we present an effective algorithm that exploits sensors’ measurements for estimating the essential matrix and thus solves the relative pose problem. A short version of the proposed method has been presented at GAMM 2015, see [<xref ref-type="bibr" rid="scirp.58761-ref31">31</xref>] . In the following we outline the approach starting with the required mathematical background.</p><sec id="s4_1"><title>4.1. Mathematical Foundation</title><p>In this presentation we follow the standard notations and mathematical foundation presented in Hartley and Zisserman [<xref ref-type="bibr" rid="scirp.58761-ref1">1</xref>] .</p><p>The pinhole camera model is given by a projection matrix</p><disp-formula id="scirp.58761-formula457"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x15.png"  xlink:type="simple"/></disp-formula><p>where K is the calibration matrix, R is the rotation matrix that rotates a vector in the world coordinate system to the camera’s reference frame, and C is the camera’s center of projection in the world coordinate system.</p><p>The calibration matrix is a 3 &#215; 3 matrix that includes the focal length, and the principle point of projection. Practically, the image’s center point is commonly regarded as the principle point. The focal length can be estimated using dedicated algorithms, e.g., [<xref ref-type="bibr" rid="scirp.58761-ref32">32</xref>] , or by using camera’s manufacturers data, which can be extracted from EXIF metadata or through the mobile operation system.</p></sec><sec id="s4_2"><title>4.2. Epipolar Geometr</title><p>The geometry that described the relative pose of two cameras is known as epipolar geometry [<xref ref-type="bibr" rid="scirp.58761-ref1">1</xref>] , and it is encapsulated in two 3 &#215; 3 matrices: the fundamental matrix, F; and the essential matrix E.</p><p>The fundamental matrix is composed of the extrinsic parameters that describe the relative pose between the two views, and the intrinsic parameters that include the focal length and the principal point (center of projection) of the cameras. As stated above, the intrinsic parameters may be regarded as known, and can be extracted from the camera API and thus reduce the fundamental matrix to the essential matrix:</p><disp-formula id="scirp.58761-formula458"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x16.png"  xlink:type="simple"/></disp-formula><p>where any tagged symbol represents entities of the 2<sup>nd</sup> camera. The essential matrix E is composed of the relative rotation and translation,</p><disp-formula id="scirp.58761-formula459"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x17.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x18.png" xlink:type="simple"/></inline-formula> represents the cross-product matrix form:</p><disp-formula id="scirp.58761-formula460"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x19.png"  xlink:type="simple"/></disp-formula><p>It has 5 degrees of freedom (DOF), 3 for the 3 rotation angles, and 2 for the normalized 3-vector that represents the translation between the two view.</p><p>In order to estimate the essential matrix and thus solve the relative pose problem, one uses the epipolar constraint equation:</p><disp-formula id="scirp.58761-formula461"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x20.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x21.png" xlink:type="simple"/></inline-formula> are normalized image points from the two view, i.e., <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x22.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x23.png" xlink:type="simple"/></inline-formula>, that are projections of the same world point<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x24.png" xlink:type="simple"/></inline-formula>, i.e, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x25.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x26.png" xlink:type="simple"/></inline-formula>. Note that image points are represented</p><p>by homogeneous vectors<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x27.png" xlink:type="simple"/></inline-formula>. Different estimation algorithms differ in the way they use multiple epi-</p><p>polar constraint from multiple correspondence pairs.</p></sec><sec id="s4_3"><title>4.3. Proposed Estimation Method</title><p>It is common to represent the rotation matrix by its Euler-angles:</p><disp-formula id="scirp.58761-formula462"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x28.png"  xlink:type="simple"/></disp-formula><p>Given the relative rotation matrix, a set of points from the first image<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x29.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x30.png" xlink:type="simple"/></inline-formula>, corres-</p><p>ponding to a set of points from the other image<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x31.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x32.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x33.png" xlink:type="simple"/></inline-formula> for all i, the optimization problem is:</p><disp-formula id="scirp.58761-formula463"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x34.png"  xlink:type="simple"/></disp-formula><p>Using the Euler-angle representation, each corresponding pair<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x35.png" xlink:type="simple"/></inline-formula>, yield one linear equation:</p><disp-formula id="scirp.58761-formula464"><graphic  xlink:href="http://html.scirp.org/file/4-7402822x36.png"  xlink:type="simple"/></disp-formula><p>Hence, the optimization problem (7) is reduced to a 3-dimensional linear optimization problem:</p><disp-formula id="scirp.58761-formula465"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x37.png"  xlink:type="simple"/></disp-formula><p>A valid solution is possible with only two equations because t has only 2 degrees of freedom. But to avoid degenerated situations we use it with a minimal set of 3 correspondences.</p><p>Similar to the 8-point algorithm [<xref ref-type="bibr" rid="scirp.58761-ref8">8</xref>] , if more than 3 point correspondences are available, the linear 3-point algorithm can be used to find a least squared solution to an over-constrained system (8).</p></sec><sec id="s4_4"><title>4.4. Relative Orientation from Sensor Measurements</title><p>The rotation matrix in Equation (3) represents the rotation from the second camera to the first, where the first camera is located at the origin and is align with the coordinate system major axis. In case the rotation matrices of both cameras are given by sensor measurements with respect to some global reference frame, the relative orientation need to be computed for the proposed algorithm. Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x38.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x39.png" xlink:type="simple"/></inline-formula> be the rotation matrix and the translation vector of the first camera and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x40.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x41.png" xlink:type="simple"/></inline-formula>are the same parameters of the second camera, then the relative pose can be computed as:</p><disp-formula id="scirp.58761-formula466"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x42.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.58761-formula467"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x43.png"  xlink:type="simple"/></disp-formula><p>Then, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x44.png" xlink:type="simple"/></inline-formula>is separated to its Euler-angle representation which are used to compute the linear coefficients of the constraints in (8). Equation (10) is used to compute the actual location based on the estimated<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x45.png" xlink:type="simple"/></inline-formula>.</p></sec></sec><sec id="s5"><title>5. Image Interpolation for Virtual Camera</title><p>A schematic illustration of the virtual camera problem is illustrated in <xref ref-type="fig" rid="fig2">Figure 2</xref>. Given the spatially calibrated cameras and 3D reconstructed points, the goal is to render the images of an artificial cameras moving along a specific trajectory. Each virtual image along this trajectory is reconstructed from the two most similar camera images. The camera similarity is defined according to the rotation deviation of the neighbor cameras.</p><p>After identifying the two most suitable cameras, our approach for novel view image synthesis consists of the following steps:</p><p>1) Projection of feature correspondences from two nearest views into new image.</p><p>2) Delaunay triangulation of projected points.</p><p>3) Warp triangles into new view.</p><p>4) Fill holes and background from a background model.</p><p>The following subsections detail our approach with respect to the processing steps.</p><sec id="s5_1"><title>5.1. Feature Projection on New View and Triangulation</title><p>For a new camera pose, i.e., 3D rotation and spatial location, we commence by identifying the two closest cameras, and the subset of 3D points that corresponds to matching feature pairs. The two cameras are the two that have the most similar orientation out of the set of nearby cameras. This stage utilizes the 3D background model that been constructed in the spatial calibration task.</p><p>Using the epipolar constraint and guided matching more features pairs are added and triangulated, where the triangulation procedure is the standard Delaunay triangulation. An example of the pairwise matching and the projection on the new view is given in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p></sec><sec id="s5_2"><title>5.2. Triangle Warp</title><p>The triangulation on the new view induce triangular meshes on the two existing images. In the next phase we sequentially go over the triangles in the new view and render them one at a time.</p><p>In order to choose the best “looking” triangle we compute the Procrustes distance [<xref ref-type="bibr" rid="scirp.58761-ref33">33</xref>] [<xref ref-type="bibr" rid="scirp.58761-ref34">34</xref>] between the triangle in the new view and the corresponding triangles in the two chosen images. The Procrustes distance, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x46.png" xlink:type="simple"/></inline-formula>, is a geometrical similarity measure between two shapes, U and V, with k points represented by a configuration matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x47.png" xlink:type="simple"/></inline-formula>. In our application, we compare triangles in the plane, hence k = 3 and m = 2.</p><p>A normalization procedure precedes the computation of the Procrustes distance. The centroid of the configuration is translated to the origin and the norm of the configuration is rescaled to unity. The distance is defined as:</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> A schematic illustration of the virtual camera problem. Given a set of calibrated cameras and a set of 3D reconstructed points, we aim at generating the images of an artificial camera moving along the green line. In the proposed scheme, each new image is reconstructed from two images taken from the two most similar cameras</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x48.png"/></fig><fig-group id="fig3"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> (a) Dense matching between two existing images; (b) Corresponding 3D points are projected on the new camera image; (c) The feature points on the new empty images are triangulate using standard Delaunay triangulation.</title></caption><fig id ="fig3_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x49.png"/></fig><fig id ="fig3_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x50.png"/></fig><fig id ="fig3_3"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x51.png"/></fig></fig-group><disp-formula id="scirp.58761-formula468"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x52.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x53.png" xlink:type="simple"/></inline-formula> are the singular values of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x54.png" xlink:type="simple"/></inline-formula>. The full derivation of this result can be found in ([<xref ref-type="bibr" rid="scirp.58761-ref33">33</xref>] , Ch. 4).</p><p>We add another condition on the appearance of the triangles if the sum of squared difference (SSD) of the pixels from the two triangle is above a predifined threshold we reject this specific triangle. This condition, has two proposes. First, it aims to handle matching errors, that can reduce appearance artifacts. Second, it reduces the artifacts caused by triangle that its pixels cover segments in multiple depths.</p></sec><sec id="s5_3"><title>5.3. Min-Cut Blending</title><p>Each new rendered triangle is expanded by a constant band that overlaps the already rendered pixels. Similar to image quilting [<xref ref-type="bibr" rid="scirp.58761-ref35">35</xref>] , we apply dynamic programming to compute a path through the error surface at the overlap area. The error values are just the SSD values between the new triangle and the existing pixels. This procedure reduces hard boundaries between the triangles. <xref ref-type="fig" rid="fig4">Figure 4</xref> depicted two examples of the final boundaries between the new render triangle and the existing pixels.</p></sec></sec><sec id="s6"><title>6. Experimental Results</title><p>In this section we provide a quantitative evaluation of the proposed approach on synthetic generated data as well as on several real-world datasets. These evaluations show that the presented algorithm leads to estimators that are competitive with state-of-the-art algorithms.</p><sec id="s6_1"><title>6.1. Synthetic Data</title><p>In this experiment we synthesized 3D data points and two cameras with known poses and intrinsic parameters. We report two kinds of experiments, the first examine the resilience of the estimation algorithm to additive spatial noise that perturbed the feature points in the image domain. The second experiment, examine the behavior of the estimation algorithm in the presence of mis-matched points, i.e., in the presence outliers. For the synthetic</p><fig-group id="fig4"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> To reduce hard boundaries we compute a soft boundary (depicted in red) as the minimum cost path through the error surface at the overlap region. The overlap region is the green triangle.</title></caption><fig id ="fig4_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x55.png"/></fig><fig id ="fig4_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x56.png"/></fig></fig-group><p>experiment we compared our algorithm to the standard normalized-8-points algorithm (N8P) [<xref ref-type="bibr" rid="scirp.58761-ref8">8</xref>] and to the implementation of the 5-pt algorithm given by [<xref ref-type="bibr" rid="scirp.58761-ref36">36</xref>] .</p><p>For each experiment we test 3 camera configurations. First, two cameras with the same orientation looking forward located along the x-axis. Second, two cameras located along the x-axis looking forward with different orientations. Third, the two cameras located one in front of the other, with the same orientation.</p><p>We report two evaluation criteria. First, the root mean square error (RMSE) on the basis of the Sampson distance, which is defined as:</p><disp-formula id="scirp.58761-formula469"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/4-7402822x57.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x58.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x59.png" xlink:type="simple"/></inline-formula>. In addition, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x60.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x61.png" xlink:type="simple"/></inline-formula>, k = 1, 2, denote the square of the k-th element of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x62.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/4-7402822x63.png" xlink:type="simple"/></inline-formula>, respectively. The Sampson distance is an estimate to the reprojection error, and it is a popular alternative since it is much easier to evaluate. This is measured on a small validation set of noise-free points. The second criterion is the error of the translation vector estimator with respect to the ground-truth.</p><p>The results of the experiments are illustrated in <xref ref-type="fig" rid="fig5">Figure 5</xref> and <xref ref-type="fig" rid="fig6">Figure 6</xref>, for the outliers and spatial noise tests, respectively. It is evident that the proposed algorithm outperform the other algorithms for both the spatial noise test and the outliers contamination test.</p></sec><sec id="s6_2"><title>6.2. Real Data</title><p>We evaluate the propose calibration approach on two benchmark datasets that are extensively used for evaluating structure-from-motion algorithms [<xref ref-type="bibr" rid="scirp.58761-ref37">37</xref>] . Each image is of size 2048 &#215; 3072 and has been corrected for distortion.</p><fig-group id="fig5"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Results of the resilience to outliers test. In this test we embedded the estimation algorithms into a RANSAC scheme and report their performance for different amount of outliers. We report results for 3 camera configurations, and compare 3 algorithms. The first row reports the performance measured by the Sampson error (12) and the second row reports the estimation error of the translation vector. (a) and (d) are the results of two parallel cameras located on the x-axis; (b) and (e) are the results of two non-parallel cameras looking forward; and (c) and (f) are the results of a configuration where one camera is located in front of the other with the same orientation. The three algorithms that were compared―the proposed 3-point algorithm (−・−), linear 8-point algorithm [<xref ref-type="bibr" rid="scirp.58761-ref8">8</xref>] (−&#161;−), and the 5-point algorithm [<xref ref-type="bibr" rid="scirp.58761-ref9">9</xref>] (−#−).</title></caption><fig id ="fig5_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x64.png"/></fig><fig id ="fig5_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x65.png"/></fig><fig id ="fig5_3"><label>(d)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x66.png"/></fig><fig id ="fig5_4"><label> (e)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x67.png"/></fig><fig id ="fig5_5"><label> (f)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x68.png"/></fig><fig id ="fig5_6"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x69.png"/></fig></fig-group><fig-group id="fig6"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Results of the resilience to spatial noise test. We report results for 3 camera configurations, and compare 3 algorithms. The first row reports the performance measured by the Sampson error (12) and the second row reports the estimation error of the translation vector. (a) and (d) are the results of two parallel cameras located on the x-axis; (b) and (e) are the results of two non-parallel cameras looking forward; and (c) and (f) are the results of a configuration where one camera is located in front of the other with the same orientation. The three algorithms that were compared―the proposed 3-point algorithm (−・−), linear 8-point algorithm [<xref ref-type="bibr" rid="scirp.58761-ref8">8</xref>] (−&#161;−), and the 5-point algorithm [<xref ref-type="bibr" rid="scirp.58761-ref9">9</xref>] (−#−).</title></caption><fig id ="fig6_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x70.png"/></fig><fig id ="fig6_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x71.png"/></fig><fig id ="fig6_3"><label>(d)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x72.png"/></fig><fig id ="fig6_4"><label> (e)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x73.png"/></fig><fig id ="fig6_5"><label> (f)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x74.png"/></fig><fig id ="fig6_6"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x75.png"/></fig></fig-group><p>Both datasets are available online<sup>3</sup>, and include accurate camera matrices from which we extract the rotation matrices. The first dataset is the Fountain-P11, which contains eleven images of a fountain. The other dataset is the Herz-Jesu-P25 which contain 25 images of a building. Feature points were detected using standard corner detector and were described by SIFT descriptors [<xref ref-type="bibr" rid="scirp.58761-ref7">7</xref>] . Then, we compute putative matching by descriptor similarities and imposing mutual matching. These correspondences with the calibration matrices and the rotation matrices were the input to a RANSAC-based calibration algorithm. In each iteration of the algorithm a 3-point set of correspondences were sampled and used to solve the optimization problem prsented in Equation (8). The iterative process continued until a valid set is found which separate the correspondence set into inliers and outliers. The final estimation result is given by solving Equation (8) using all the inliers set.</p><p>The estimated camera locations and the estimated 3D structure of both datasets are illustrated in <xref ref-type="fig" rid="fig7">Figure 7</xref>.</p><p>In addition, we compare the camera location estimates of the proposed algorithm to the results reported by Dalalyan and Keriven [<xref ref-type="bibr" rid="scirp.58761-ref26">26</xref>] . As stated above, they proposed a global estimator for the same problem, i.e., spatial calibration in case of known rotation angles. They also published their Matlab code with their data matrices for both datasets<sup>4</sup>. The accuracy and timing performance of our algorithm compared to their algorithm both running implemented in Matlab and given the same input is reported in <xref ref-type="table" rid="table1">Table 1</xref> for the Fountain-P11 dataset, and in <xref ref-type="table" rid="table2">Table 2</xref> for the HerzJesu-P25 dataset. While the estimation error for the Fountain-P11 dataset is comparable to Dalalyan and Keriven [<xref ref-type="bibr" rid="scirp.58761-ref26">26</xref>] algorithm, the timing of the proposed algorithm is an order of magnitude better. For the HerzJesu-P25 dataset both the timing of the proposed algorithm is an order of magnitude better where the accuracy is two order of magnitude better.</p><p>This experiments on real datasets provided both qualitative and quantitative results that prove the validity of the proposed algorithm for solving spatial calibration problems.</p><fig-group id="fig7"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> Camera locations and scene points estimated by the proposed 3-pt algorithm. (a) Fountain-P11 dataset; (b) HerzJesu-P25 dataset.</title></caption><fig id ="fig7_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x77.png"/></fig><fig id ="fig7_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x78.png"/></fig></fig-group><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Numerical results comparing the performance of the proposed algorithm with respect to the method reported in [<xref ref-type="bibr" rid="scirp.58761-ref26">26</xref>] on the Fountain-P11 dataset. Both algorithms were implemented in Matlab and run on the same data</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >Estimation Error</th><th align="center" valign="middle" >Time (Section)</th></tr></thead><tr><td align="center" valign="middle" >Proposed 3-pt. alg.</td><td align="center" valign="middle" >0.000128</td><td align="center" valign="middle" >15.3</td></tr><tr><td align="center" valign="middle" >Dalalyan &amp; Keriven [<xref ref-type="bibr" rid="scirp.58761-ref26">26</xref>]</td><td align="center" valign="middle" >0.000342</td><td align="center" valign="middle" >265.0</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Numerical results comparing the performance of the proposed algorithm with respect to the method reported in [<xref ref-type="bibr" rid="scirp.58761-ref26">26</xref>] on the HerzJesu-P25 dataset Both algorithms were implemented in Matlab and run on the same data</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >Estimation Error</th><th align="center" valign="middle" >Time (Section)</th></tr></thead><tr><td align="center" valign="middle" >Proposed 3-pt. alg.</td><td align="center" valign="middle" >0.000968</td><td align="center" valign="middle" >11.7</td></tr><tr><td align="center" valign="middle" >Dalalyan &amp; Keriven [<xref ref-type="bibr" rid="scirp.58761-ref26">26</xref>]</td><td align="center" valign="middle" >0.040161</td><td align="center" valign="middle" >269.23</td></tr></tbody></table></table-wrap></sec><sec id="s6_3"><title>6.3. Virtual Camera</title><p>In this section we demonstrate the validity of the proposed virtual camera scheme. The reported results are based on the Fountain-P11 dataset, more results are available in the project’s website<sup>5</sup>. We applied the spatial registration algorithm (Section 4) and reconstructed the 3D point cloud as is illustrated in <xref ref-type="fig" rid="fig7">Figure 7</xref>. The artificially trajectory was defined as a smooth path from the first camera to the last that goes through the centroid of the camera locations. This is the green path depicted in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>Synthetic image is presented in <xref ref-type="fig" rid="fig8">Figure 8</xref> (middle column) with respect to the two existing images that been used as “building material” (left and right columns). It is clear that the produced synthetic image is perceptually a convincing image. There are, though, some artifact yielded by the perspective changes between the two views, e.g., in the water pipe behind the fountain and the image border. These are expected artifacts since generating a novel image is an ill-posed problem due to change in perspective and occlusions. An interesting results is shown in the bottom row depicting a zoomed-in part of the images above. The synthesized image in the middle looks convincing enough, except from a small curvature behind the statue’s head that is caused by the perspective change and the limited information.</p><fig-group id="fig8"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> Novel image synthesis from two images from the Fountain-P11 dataset. The full images are shown in the top row, where the image on the left and the image on the right are the real images and the center image is a novel image. The bottom row shows a detail of the above images.</title></caption><fig id ="fig8_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x80.png"/></fig><fig id ="fig8_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x81.png"/></fig><fig id ="fig8_3"><label>(d)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x82.png"/></fig><fig id ="fig8_4"><label> (e)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x83.png"/></fig><fig id ="fig8_5"><label> (f)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x84.png"/></fig><fig id ="fig8_6"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/4-7402822x85.png"/></fig></fig-group></sec></sec><sec id="s7"><title>7. Conclusions</title><p>These days, given the amount of images and videos capture of the same scene at the same time, it is natural to ask, how all this huge volume of information can be utilized for a different and better experience for the user? In this paper we present two algorithms that can be the first building blocks for such an ambitious goal.</p><p>The first algorithm is a spatial calibration algorithm, which gives the captures images and the measurements of the device’s sensors accurately and efficiently estimates the pose of the cameras. We validate the proposed algorithm on synthetically generated data and on well-established benchmark datasets, and compare it to state- of-the-art algorithms.</p><p>The second algorithm is a virtual images generator that gets the calibrated cameras poses and the reconstructed 3D point cloud, and generates virtually appealing images of a virtual camera moving along a specific trajectory. The proposed algorithm generates the virtual image from two images of the cameras that have similar viewing angle and are not far from the virtual camera. We present several results that demonstrate the quality of the algorithm.</p></sec><sec id="s8"><title>Acknowledgements</title><p>The authors gratefully acknowledge the support by the European Union under the 7th Research Framework, programme FET-Open SME “SceneNet” (GA 309169).</p></sec><sec id="s9"><title>Cite this paper</title><p>AmirEgozi,DovEilot,PeterMaass,ChenSagiv, (2015) A Robust Estimation Method for Camera Calibration with Known Rotation. Applied Mathematics,06,1538-1552. doi: 10.4236/am.2015.69137</p></sec><sec id="s10"><title>NOTES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.58761-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Hartley, R. and Zisserman, A. (2003) Multiple View Geometry in Computer Vision. Cambridge University Press, Cambridge.</mixed-citation></ref><ref id="scirp.58761-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Snavely, N., Seitz, S.M. and Szeliski, R. (2006) Photo Tourism: Exploring Photo Collections in 3D. ACM Transactions on Graphics, 25, 835-846. http://dx.doi.org/10.1145/1141911.1141964</mixed-citation></ref><ref id="scirp.58761-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Konolige, K., Agrawal, M. and Sol, J. (2011) Large-Scale Visual Odometry for Rough Terrain. Robotics Research, 66, 201-212.</mixed-citation></ref><ref id="scirp.58761-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Giannarou, S., Zhang, Z.Q. and Yang, G.-Z. (2012) Deformable Structure from Motion by Fusing Visual and Inertial Measurement Data. 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 7-12 October 2012, 4816-4821. http://dx.doi.org/10.1109/iros.2012.6385671</mixed-citation></ref><ref id="scirp.58761-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Fischler, M.A. and Bolles, R.C. (1981) Random Sample Consensus: A Paradigm for Model Fitting with Applications to Image Analysis and Automated Cartography. Communications of the ACM, 24, 381-395.  
http://dx.doi.org/10.1145/358669.358692</mixed-citation></ref><ref id="scirp.58761-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Gomes, J. (1999) Warping and Morphing of Graphical Objects, Volume 1. Morgan Kaufmann, Burlington.</mixed-citation></ref><ref id="scirp.58761-ref7"><label>7</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Lowe</surname><given-names> D. </given-names></name>,<etal>et al</etal>. (<year>2003</year>)<article-title>Distinctive Image Features from Scale-Invariant Keypoints</article-title><source> International Journal of Computer Vision</source><volume> 20</volume>,<fpage> 91</fpage>-<lpage>110</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.58761-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Hartley, R.I. (1997) In Defense of the Eight-Point Algorithm. IEEE Transactions on Pattern Analysis and Machine Intelligence, 19, 580-593. http://dx.doi.org/10.1109/34.601246</mixed-citation></ref><ref id="scirp.58761-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Nister, D. (2004) An Efficient Solution to the Five-Point Relative Pose Problem. IEEE Transactions on Pattern Analysis and Machine Intelligence, 26, 756-770. http://dx.doi.org/10.1109/TPAMI.2004.17</mixed-citation></ref><ref id="scirp.58761-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Hartley, R.I. (1994) Projective Reconstruction and Invariants from Multiple Images. IEEE Transactions on Pattern Analysis and Machine Intelligence, 16, 1036-1041. http://dx.doi.org/10.1109/34.329005</mixed-citation></ref><ref id="scirp.58761-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Pizarro, O., Eustice, R. and Singh, H. (2003) Relative Pose Estimation for Instrumented, Calibrated Imaging Platforms. Proceedings of the 7th Digital Imaging Computing, Technologies and Applications Conference, Sydney, 10-12 December 2003, 601-612.</mixed-citation></ref><ref id="scirp.58761-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Armangu, X. and Salvi, J. (2003) Overall View Regarding Fundamental Matrix Estimation. Image and Vision Computing, 21, 205-220. http://dx.doi.org/10.1016/S0262-8856(02)00154-3</mixed-citation></ref><ref id="scirp.58761-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Hartley, R.I. and Kahl, F. (2007) Global Optimization through Searching Rotation Space and Optimal Estimation of the Essential Matrix. Proceedings of the IEEE 11th International Conference on Computer Vision, Rio de Janeiro, 14-21 October 2007, 1-8.</mixed-citation></ref><ref id="scirp.58761-ref14"><label>14</label><mixed-citation publication-type="book" xlink:type="simple">Triggs, B., McLauchlan, P.F., Hartley, R.I. and Fitzgibbon, A.W. (2000) Chapter 21: Bundle Adjustment—A Modern Synthesis. In: Triggs, B., Zisserman, A. and Szeliski, R., Eds., Vision Algorithms: Theory and Practice, Volume 1883, Springer, Berlin, 298-372.</mixed-citation></ref><ref id="scirp.58761-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Stewart, C.V. (1999) Robust Parameter Estimation in Computer Vision. SIAM Review, 41, 513-537. 
http://dx.doi.org/10.1137/S0036144598345802</mixed-citation></ref><ref id="scirp.58761-ref16"><label>16</label><mixed-citation publication-type="book" xlink:type="simple">Meer, P. (2004) Robust Techniques for Computer Vision. In: Medioni, G. and Kang, S.B., Eds., Emerging Topics in Computer Vision, Prentice Hall, Upper Saddle River, 107-190.</mixed-citation></ref><ref id="scirp.58761-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Rousseeuw, P.J. and Leroy, A.M. (2005) Robust Regression and Outlier Detection. Volume 589. John Wiley &amp; Sons, New York.</mixed-citation></ref><ref id="scirp.58761-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Chum, O., Matas, J. and Kittler, J. (2003) Locally Optimized RANSAC. Proceedings of the 25th DAGM Symposium, Magdeburg, 10-12 September 2003, 236-243. http://dx.doi.org/10.1007/978-3-540-45243-0_31</mixed-citation></ref><ref id="scirp.58761-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Chum, O. and Matas, J. (2005) Matching with PROSAC—Progressive Sample Consensus. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, San Diego, 20-25 June 2005, 220-226. 
http://dx.doi.org/10.1109/cvpr.2005.221</mixed-citation></ref><ref id="scirp.58761-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Goshen, L. and Shimshoni, I. (2008) Balanced Exploration and Exploitation Model Search for Efficient Epipolar Geometry Estimation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 30, 1230-1242.</mixed-citation></ref><ref id="scirp.58761-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Brahmachari, A.S. and Sarkar, S. (2009) Blogs: Balanced Local and Global Search for Nondegenerate Two View Epipolar Geometry. Proceedings of the IEEE 12th International Conference on Computer Vision, Kyoto, 29 September-2 October 2009, 1685-1692.</mixed-citation></ref><ref id="scirp.58761-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Raguram, R., Chum, O., Pollefeys, M., Matas, J. and Frahm, J. (2013) USAC: A Universal Framework for Random Sample Consensus. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35, 2022-2038.</mixed-citation></ref><ref id="scirp.58761-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Kneip, M.C.L. and Siegwart, R. (2011) Robust Real-Time Visual Odometry with a Single Camera and an IMU. Proceedings of the British Machine Vision Conference, Dundee, 29 August-2 September 2011, 16.1-16.11. 
http://dx.doi.org/10.5244/C.25.16</mixed-citation></ref><ref id="scirp.58761-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Fraundorfer, F., Tanskanen, P. and Pollefeys, M. (2010) A Minimal Case Solution to the Calibrated Relative Pose Problem for the Case of Two Known Orientation Angles. Proceedings of the 11th European Conference on Computer Vision, Heraklion, 5-11 September 2010, 269-282. http://dx.doi.org/10.1007/978-3-642-15561-1_20</mixed-citation></ref><ref id="scirp.58761-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Oskiper, T., Zhu, Z.W., Samarasekera, S. and Kumar, R. (2007) Visual Odometry System Using Multiple Stereo Cameras and Inertial Measurement Unit. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Minneapolis, 17-22 June 2007, 1-8. http://dx.doi.org/10.1109/cvpr.2007.383087</mixed-citation></ref><ref id="scirp.58761-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Dalalyan, A. and Keriven, R. (2012) Robust Estimation for an Inverse Problem Arising in Multiview Geometry. Journal of Mathematical Imaging and Vision, 43, 10-23. http://dx.doi.org/10.1007/s10851-011-0281-3</mixed-citation></ref><ref id="scirp.58761-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Wolberg, G. (1998) Image Morphing: A Survey. The Visual Computer, 14, 360-372. 
http://dx.doi.org/10.1007/s003710050148</mixed-citation></ref><ref id="scirp.58761-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Gurdan, T., Oswald, M.R., Gurdan, D. and Cremers, D. (2014) Spatial and Temporal Interpolation of Multi-View Image Sequences. Proceedings of the German Conference on Pattern Recognition (GCPR), Münster, 2-5 September 2014, 305-316.</mixed-citation></ref><ref id="scirp.58761-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Liu, F., Gleicher, M., Jin, H.L. and Agarwala, A. (2009) Content-Preserving Warps for 3D Video Stabilization. ACM Transactions on Graphics (TOG), 28, 44.</mixed-citation></ref><ref id="scirp.58761-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Kopf, J., Cohen, M.F. and Szeliski, R. (2014) First-Person Hyper-Lapse Videos. ACM Transactions on Graphics (TOG), 33, 78. http://dx.doi.org/10.1145/2601097.2601195</mixed-citation></ref><ref id="scirp.58761-ref31"><label>31</label><mixed-citation publication-type="other" xlink:type="simple">Egozi, A., Maass, P. and Sagiv, C. (2015) A Robust Estimation Method for Camera Calibration with Known Rotation. Proceedings of Applied Mathematics and Mechanics (PAMM), 15, to be Published.</mixed-citation></ref><ref id="scirp.58761-ref32"><label>32</label><mixed-citation publication-type="other" xlink:type="simple">Hartley, R. (1993) Extraction of Focal Lengths from the Fundamental Matrix. Unpublished Manuscript.</mixed-citation></ref><ref id="scirp.58761-ref33"><label>33</label><mixed-citation publication-type="other" xlink:type="simple">Dryden, I.L. and Mardia, K.V. (1997) Statistical Shape Analysis. Wiley, Chichester.</mixed-citation></ref><ref id="scirp.58761-ref34"><label>34</label><mixed-citation publication-type="other" xlink:type="simple">Kendall, D.G. (1984) Shape Manifolds, Procrustean Metrics, and Complex Projective Spaces. Bulletin of the London Mathematical Society, 16, 81-121. http://dx.doi.org/10.1112/blms/16.2.81</mixed-citation></ref><ref id="scirp.58761-ref35"><label>35</label><mixed-citation publication-type="other" xlink:type="simple">Efros, A.A. and Freeman, W.T. (2001) Image Quilting for Texture Synthesis and Transfer. Proceedings of the 28th Annual Conference on Computer Graphics and Interactive Techniques, Los Angeles, 12-17 August 2001, 341-346.</mixed-citation></ref><ref id="scirp.58761-ref36"><label>36</label><mixed-citation publication-type="other" xlink:type="simple">Stewenius, H., Engels, C. and Nister, D. (2006) Recent Developments on Direct Relative Orientation. ISPRS Journal of Photogrammetry and Remote Sensing, 60, 284-294. http://dx.doi.org/10.1016/j.isprsjprs.2006.03.005</mixed-citation></ref><ref id="scirp.58761-ref37"><label>37</label><mixed-citation publication-type="other" xlink:type="simple">Strecha, C., von Hansen, W., Van Gool, L., Fua, P. and Thoennessen, U. (2008) On Benchmarking Camera Calibration and Multi-View Stereo for High Resolution Imagery. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Anchorage, 23-28 June 2008, 1-8.</mixed-citation></ref></ref-list></back></article>