A Geometric Interpretation of Weak-Perspective Motion Ilan Shimshoni\Lambda Ronen Basriy Ehud Rivlin Dept. of Industrial Engineering Dept. of Computer Science Dept. of Computer Science Technion The Weizmann Inst. of Science Technion Haifa 32000, Israel Rehovot 76100, Israel Haifa 32000, Israel ilans@ie.technion.ac.il ronen@cs.weizmann.ac.il ehudr@cs.technion.ac.il Abstract We present a geometric interpretation of the problem of motion recovery from three weakperspective images. Our interpretation is based on reducing the problem of estimating the motion to a problem of finding triangles on a sphere whose angles are known. Using this geometric interpretation, a simple method to completely recover the motion parameters using three images is developed. The results of running the algorithm on real images are presented. In addition, we describe which of the various motion parameters can be recovered already from two images. 1 Introduction Determining the relative position and orientation of two or more cameras from images of an unknown scene taken by those cameras is known as the motion estimation problem in computer vision. In this paper we address the problem of determining the motion parameters between two and three weakperspective (or scaled-orthographic) views. The weak-perspective model is appropriate when the observed object is far from the camera relative to its size. In this situation the perspective distortions are relatively small. Therefore, a full perspective model is not required, and this simpler and more robust model can be used. Below we present a geometric interpretation for weak-perspective motion from two and three images. This interpretation leads to a simple algorithm for recovering all the motion parameters from three images. The problem of motion estimation from orthographic views has been studied first by Ullman [15], who showed that two orthographic images do not suffice to fully recover the motion parameters. Ullman then proposed a non-linear solution to the problem of motion recovery from three images. He showed further that only two solutions exist in this case, and that these two solutions are identical up to a reflection with respect to the image plane. Later, Huang and Lee [7, 10] introduced a linear solution to this problem. Kontsevich [9] extended this algorithm to a camera model which allows for a uniform scaling factor (i.e. the weak-perspective camera model), and Shapiro, Zisserman, and Brady [13] developed a noise resistant motion recovery algorithm which also estimates the statistical confidence in the results. Tomasi and Kanade [14] developed an algorithm to recover structure and motion from a sequence of orthographic images which was later extended for scaled orthographic projection and the para-perspective models by Poelman and Kanade [12]. In addition, algorithms for segmenting multiple moving objects were proposed in [4, 6, 3]. \Lambda This research was supported by the by the Israeli Ministry of Science, Grant No. 9766. Ilan Shimshoni was supported in part by the Koret and Goldschmidt Foundations. yRonen Basri is an incumbent of Arye Dissentshik Career Development Chair at the Weizmann Institute. 1 The major drawback of the linear algorithm presented in [7] is that it does not offer a geometric interpretation. In this paper we present a geometric interpretation for weak-perspective motion from two and three images. We begin by analyzing what parameters can and cannot be recovered from two images. We show that given two images the two viewing directions corresponding to these images lie on a great circle on the viewing sphere whose orientation is parallel to the epipolar lines in the two images. Consequently, the epipolar lines determine the orientation of this great circle, but the amount of rotation along the great circle cannot be determined from only two images. We then analyze the case of recovering motion parameters from three images. We point out that in this case the three pairs of epipolar constraints determine a triangle on the viewing sphere. The angles of this spherical triangle are the angles between the epipolar lines in every image. The sides of this triangle, which correspond to the unknown angles of rotation, can be recovered from its angles simply by using the sine and cosine laws for spherical triangles yielding the rotation components of the transformation. Finally, we analyze which of the translation parameters of the camera can be recovered from two and three images. The rest of the paper is organized as follows. The weak-perspective projection model is described in Section 2. Section 3 discusses the case of recovering weak-perspective motion from two images. A simple, geometric method for motion recovery from three images is presented and demonstrated in Section 4. 2 Weak-Perspective Projection The weak-perspective projection is defined as follows. Given n points P1; :::; Pn 2 IR3 (Pi = (Xi; Yi; Zi)T , 1 ^ i ^ n), let _Z denote the mean value of Z1; :::; Zn. A weak perspective image of the points is constructed by first projecting the points parallel to the Z axis to the plane Z = _Z followed by a perspective projection to the plane Z = f , where f is the focal length of the camera (see Figure 1). The first projection has the effect of omitting the depth coordinates, Zi, and the second projection has the effect of scaling the points by f = _Z. The weak-perspective projection, therefore, resembles the paraperspective projection, except that the first projection is orthogonal to the image plane (see [11, 1, 2]). Formally, denote by pi = (xi; yi; zi)T = f_Z Pi (1) then the projected location of Pi is given by (xi; yi). Suppose now that we rotate the object by a rotation R 2 SO(3) and translate it by T 2 IR3 with respect to the camera location, that is P0i = RP + T: (2) Consequently, the image position of P0i is given by (x0i; y0i), where p0i = (x0i; y0i; z0i)T = f_Z0 P0i; (3) and _Z0 represents the new mean of Z01; :::; Z0n. Combining Equations (2) and (3) we obtain that p0i = s(Rpi + t); (4) where s = _Z0= _Z and t = (tx; ty; tz)T = f T= _Z. 2 Z=ZZ=f Figure 1: The weak-perspective projection (a side view). An object is first projected onto the Z = _Z in a direction orthogonal to the image plane, and then to the image plane (Z = f ) by a central projection. Alternatively, the object can be regarded as stationary, in which case the camera would translate and rotate around the object. The new coordinate frame associated with the camera is given by the rows of R, and the new origin lies at \Gamma RT T. The third row of R, denoted by vz, represents the new viewing direction, the direction along which the object is projected. The viewing direction is a unit vector and is therefore a point on the unit sphere which is known as the viewing sphere. The other two rows, denoted by vx and vy, represent the main axes of the image. Given vz the possible choices of vx and vy are related by a rotation in the image. It is important to note that there is no canonical way (due to the "Hairy Ball" Theorem, see, e.g., [8], p. 163) to choose vx and vy for a given vz which will guarantee that vx(vz) and vy(vz) will be continuous everywhere on the viewing sphere. In the discussion below we will decompose the rotation R between two images into two parts, a change in the viewing direction followed by a rotation in the image. 3 Weak-Perspective Motion from Two Images In this section we show how to extract all the possible motion parameters from two weak-perspective images. Most of the results presented below were derived also in [10, 13]. We are given two images taken by a weak-perspective camera. As there is no known global coordinate frame with which to associate the objects in the scene we will use a coordinate frame which is related to the first image. Under that frame the x and y image coordinates coincide with the X and Y world coordinates and the Z coordinate coincides with the viewing direction. Given two images, the relationships between corresponding points in the two images are given by Eq. (4), namely, p0i = s(Rpi + t); (5) where pi = (xi; yi; zi)T , p0i = (x0i; y0i; z0i)T (1 ^ i ^ n), zi and z0i represent the unknown depth coordinates, and R, s, and t represent the unknown motion parameters. Our task is to recover as much information as possible about R; s; and t from the set of corresponding pairs (pi; p0i). Consider the topmost two equations: x0i = sr11xi + sr12yi + sr13zi + stx; y0i = sr21xi + sr22yi + sr23zi + sty; (6) where rij are the components of R and t = (tx; ty; tz). 3 Eliminating zi from Equation (6) we obtain r23x0i \Gamma r13y0i + s(r21r13 \Gamma r11r23)xi+ s(r22r13 \Gamma r12r23)yi + s(tyr13 \Gamma txr23) = 0; (7) which relates corresponding points in the two images. Since R is orthonormal this equation simplifies to r23x0i \Gamma r13y0i + sr32xi \Gamma sr31yi + s(tyr13 \Gamma txr23) = 0; (8) which is a linear relationship of the form Ax0i + By0i + Cxi + Dyi + E = 0: (9) This equation defines the epipolar relationship between corresponding points in the two images. A point pi = (xi; yi) in the first image, defines a line in the other image, where its corresponding point must lie. The equation for this line is given by Ax0i + By0i + K = 0, where K = Cxi + Dyi + E. For a different point, the equation for the epipolar line will differ only by the constant K. Thus, the epipolar lines in weak-perspective projection are always parallel to each other. An example of the epipolar lines found for a pair of images can be seen in Figure 2. Figure 2: Two images of a scene. Ten pairs of corresponding points have been extracted and the points (denoted by the circles) and their respective epipolar lines have been overlaid over the original images. Given two images the unknown coefficients (A, B, C, D, and E) in Eq. (9) can be found using four pairs of corresponding points. When more than four correspondences are used, a more accurate solution is obtained using a linear least-squares algorithm. In addition, robust estimation techniques may be used to discard false correspondences [5]. Notice that (9) is homogeneous in these unknowns, and so a solution can be obtained only up to an arbitrary multiplicative factor. For convenience we scale (A; B; C; D; E) by a constant such that A2 + B2 = 1. Under this condition r23 = kA, r13 = \Gamma kB for some k 2 IR. Notice that since r213 + r223 ^ 1 = A2 + B2 then jkj ^ 1. Given that k(A; B; C; D; E) = (r23; \Gamma r13; sr32; \Gamma sr31; s(tyr13 \Gamma txr23)); (10) we will now determine what motion parameters can and cannot be extracted from the two images. We will first deal with the viewing direction. When (10) is substituted into the rotation matrix R we get R = 0@ \Lambda \Lambda \Gamma kB\Lambda \Lambda \Lambda kA\Gamma kD=s kC=s \Sigma p1 \Gamma k2 1A : (11) 4 The entries denoted by \Lambda can also be given as functions of the linear coefficients, but as we will not be using them in the derivation, their expressions are omitted. Since jkj ^ 1, we can define an angle OE such that sin OE j k, transforming R into R = 0@ \Lambda \Lambda \Gamma B sin OE\Lambda \Lambda \Lambda A sin OE\Gamma (D=s) sin OE (C=s) sin OE cos OE 1A : (12) The third row of R is the viewing direction of the second image. Thus the viewing directions for the two images are: (0; 0; 1) and (\Gamma sin(OE)D=s; sin(OE)C=s; cos(OE)): Both viewing directions, regardless of the value of OE, are orthogonal to the vector (C; D; 0), and therefore so is the plane defined by these two vectors (and the origin). Intersecting this plane with the viewing sphere yields a great circle on the viewing sphere (Figure 3). A great circle on a sphere is the shortest path between two points on the sphere. Therefore, even though we do not know the viewing direction of the second image we know the shortest path on the viewing sphere connecting the two viewing directions. Note that the unrecoverable parameter OE represents the arclength extent between the two viewing directions along the viewing sphere. Alternatively, OE is the angle of rotation of the camera about the axis (C; D; 0). Figure 3: Recovering the viewing direction component of motion. All that can be recovered is the great circle on the viewing sphere on which the viewing direction of the second image lies. The method we will use to describe how to recover the other components of the motion is as follows. We will first eliminate parameters so as to cause the corresponding epipolar lines of pi and p0i to coincide and then try to make the actual points within the lines coincide. We will deal first with image rotation. As mentioned above there is no canonic way to define vx and vy for a given vz. Therefore, we will define vx and vy for the second image related to the first image. While the viewing direction moves on the great circle toward the viewing direction of the second image vx and vy are defined such that the angles between the epipolar lines and the x and y coordinates in the image do not change. Thus, if the epipolar lines in the two images are not parallel to each other (Figure 4(top)), that is due to image rotation (Figure 4(middle)). To simplify the description we may instead rotate both images such that the epipolar lines in both images are parallel to the x axis (Figure 4(bottom)). Formally, the image rotation between the two images can be recovered by computing the angle between (A; B) and (C; D). 5 Figure 4: Recovering image rotation: Top: epipolar lines of two images; Middle: the first image is rotated making the epipolar lines of both images parallel to each other; Bottom: both images are rotated making the epipolar lines of both images parallel to the x axis. The scale is recovered by computing the ratio of the distances between the epipolar lines of pi and pj and those of p0i and p0j (Figure 5(top,middle)). This ratio is given by: C2 + D2 A2 + B2 = s2k2(r232 + r231) k2(r223 + r213) = s2k2(1 \Gamma r233) k2(1 \Gamma r233) = s 2: (13) As A2 + B2 = 1 the above expression simplifies to s = pC2 + D2. Finally, we turn to recovering the translation components. Under a scaled-orthographic projection the depth component of the translation, tz, cannot be recovered. Of the two other components, tx and ty, only the component of translation orthogonal to the epipolar lines is recoverable. This component can be recovered by translating the image such that the epipolar lines of corresponding points coincide (Figure 5(c)). Since the linear coefficient E equals E = \Gamma s(tx; ty) \Delta (A; B)T , \Gamma E=s is the value of this component of the translation. The component of translation along the epipolar lines cannot be recovered because the change in the position of points in this direction is due not only to translation but also due to changes in the viewing direction between the two images. The magnitude of motion of points along the epipolar lines is affected by their depth values, and since these values are unknown, it is impossible to decouple this motion from the amount of translation along the epipolar lines. In [15, 7, 14] both translation components are eliminated by setting the origin at either one of the feature points or at the centroid of the points. This is achieved by translating the selected feature point (or the centroid) in each of the images to the same position. Notice first that the translation recovered in this method would be different according to the choice of an origin. If indeed the centroid of the points corresponds to the center of mass of the object then the translation recovered in this method would correspond to the actual fronto-parallel translation of the object assuming a static camera. However, if the scene is in fact static and the camera is moving the actual translation of the camera cannot be 6 Figure 5: Recovering image scale and translation: Top: epipolar lines of two images; Middle: the first image is scaled making the distance between pairs of corresponding epipolar lines equal in the two images; Bottom: the image is translated in the direction orthogonal to the epipolar lines such that the epipolar lines coincide. fully recovered in this method because such a recovery would require knowledge of the 3-D position of the selected feature point (or the centroid, that is, knowledge of _Z) with respect to the camera. To see this consider the example of two images which differ only by a change in viewing direction. If we pick an origin other than the true origin of the images then we will attribute the difference in the positions of the origin in the images to translation (although in fact it is due to the change in viewing direction). Furthermore, each different selection of an origin will imply a different translation. In conclusion, from two weak-perspective images we are able to recover the great circle on the viewing sphere on which the viewing directions of the two images lie, the image rotation and scale, and the component of translation orthogonal to the epipolar lines. The angle of change in viewing direction and the component of camera translation along the epipolar lines cannot be recovered from two images. 4 Weak-Perspective Motion from Three Images As we have seen in the previous section, not all the components of the motion can be recovered from two images. When three images are given Ullman [15] has shown that motion and structure (up to a reflection) can be recovered, and Huang and Lee [7] have presented a linear algorithm to recover the motion and structure. Huang and Lee's method is based on the following principles. For each pair of images the coefficients (A; B; C; D; E) are recovered. As mentioned above, these coefficients form constraints on the entries of the corresponding rotation matrix R. The three rotation matrices R1!2; R2!3 and R1!3 satisfy the following relation: R1!2 R2!3 = R1!3: (14) Using this relation and the orthonormality of the rotation matrices Huang and Lee describe a series of algebraic steps which eventually lead to the complete recovery of the three matrices. 7 The drawback of this method is that it does not offer a geometric interpretation of the problem. We will now use the results derived in the previous section to construct a simple geometric solution to the three image motion problem. Given three weak-perspective images of a scene, our main problem is to find the viewing directions of the second and third images with respect to the first image. The geometric setting of the three images on the viewing sphere is shown in Figure 6. The three viewing directions are unit vectors, and so they can be regarded as points on the viewing sphere. WLOG we can assume that the viewing direction of the first image, denoted by vz1, is (0; 0; 1). The viewing directions of the other two images, denoted by vz2 and vz3, are not yet known. The epipolar lines in the first image determine two great circles on the viewing sphere through vz1 along which vz2 and vz3 must lie (Figure 6). These great circles are known since they are contained in planes that are parallel to the epipolar lines of the first image. However, the position of vz2 and vz3 along these great circles is not yet known. A third great circle passing through vz2 and vz3 completes a spherical triangle whose vertices are the tips of the three viewing directions, vz1, vz2 and vz3. The sides of this spherical triangle are the sections of the three great circles that connect the three viewing direction on the viewing sphere. The lengths of these sides correspond to the only missing unknowns in the three rotation matrices, the unknown angles OEi!j between the viewing directions vzi and vzj (1 ^ i ! j ^ 3), which were mentioned in the previous section. Figure 6: The geometric setting of the three viewing directions. The unknown viewing directions lie on great circles which pass through the viewing direction of the first image. The epipolar lines of each pair of images are parallel to the great circle which runs between them. We thus need to recover the lengths of the three sides of the spherical triangle formed by the viewing directions in the three images. In each of the three images we recover the epipolar lines that relate it with the other two images. Since the epipolar lines are parallel to the planes that contain the sides of the spherical triangle, the angle between the two sets of epipolar lines in each image is identical to one of the angles of the spherical triangle. Thus, every image provides one angle of the triangle, and together we obtain all three angles, ff, fi, and fl, of the triangle. Spherical triangles have the following well-known properties. The area of the spherical triangle with angles ff, fi, and fl on a sphere of radius r is given by: Sr = r2ffl, where ffl = ff + fi + fl \Gamma ss. Therefore, since we know the three angles we can also recover the area of the triangle. For spherical triangles there exist variants of the law of sines, sin ff sin a = sin fi sin b = sin fl sin c ; (15) 8 and the law of cosines, cos a = cos ff + cos fi cos flsin fi sin fl ; (16) where a; b; c denote the lengths of the sides opposite to ff, fi, and fl respectively. (a, b, and c are the arc-lengths of the geodesic curves separating the three vertices of the triangle, or the angles formed by connecting the center of the sphere with any two vertices of the triangle, see Figure 7.) a b g ab c Figure 7: A spherical triangle. The angles of the triangle are ff; fi; and fl. The angles between the vertices of the opposite edges and the center of the sphere are a, b, and c respectively. Using the law of sines and the law of cosines we can recover a, b, and c and use them to recover also the unknown viewing directions and rotation matrices. Recovering the rotation matrix from these parameters is immediate. For instance, the rotation between the first and the second image, R1!2, can be recovered as follows. First rotate the first image so that its epipolar lines with respect to the second image will coincide with the x-axis. This is a rotation about the z-axis by an angle tan\Gamma 1(B=A) (where A and B are the coefficients of the epipolar lines from Eq. (9)). Next, rotate the points by the recovered angle a = OE1!2 about the y-axis. Finally, undo the rotation that brings the epipolar lines in the second image with respect to the first image to the x-axis, that is, rotate about the z-axis by the angle \Gamma tan\Gamma 1(D=C). Ullman [15] showed that there exist two solutions to the three image problem where in the second solution the 3D structure is the reflection with respect to the image plane of the 3D structure obtained in the first solution. We therefore expect to find a second triangle on the viewing sphere whose second and third vertices lie on the same two great circles, and whose angles are also ff; fi; and fl. The vertices of this triangle are obtained by moving away from vz1 along the same great circles the same distance, but in the opposite direction (Figure 8). It is straightforward to show that in this second solution the rotation matrices R01!j, j = 2; 3 are: R01!j = 0@ r11 r21 \Gamma r31 r12 r22 \Gamma r32\Gamma r13 \Gamma r23 r33 1A ; (17) where rlm are the entries of R1!j. It is also straightforward to show that if P = (X; Y; Z) is a 3D point recovered by the first solution, then P0 = (X; Y; \Gamma Z), the reflected point, is the corresponding point for the other solution. The algorithm above, like previous algorithms (e.g., [15, 7]), requires that all three angles, ff, fi; and fl, will not vanish. In fact, as can be seen in Eq. (16), its results may be unstable if either of these angles 9 aa b b gg a b b a c c Figure 8: The two solutions for the viewing directions of three given images as points on the viewing sphere yielding two triangles whose vertices lie on the corresponding great circles and whose angles are ff, fi; and fl. approaches zero. This situation corresponds to the special case where the three viewing directions lie on the same great circle. Alternative methods can be used in this case, one of which is discussed in [16]. While rotation can be fully recovered given three weak-perspective images translation cannot be fully recovered. We have seen in Section 3 that with two images only the component of translation orthogonal to the epipolar lines can be recovered, while the component of translation in the direction of the epipolar lines cannot be recovered. Given three images denote by ei!j the direction of the epipolar lines between image i and j (1 ^ i ! j ^ 3), and by e?i!j the orthogonal vector. Let ui!j denote the unknown translation component along the epipolar lines, and let vi!j denote the known translation component orthogonal to the epipolar line, theni e1!2; e?1!2j `u1!2v 1!2' + ie 2!3; e?2!3j `u 2!3 v2!3 ' = ie1!3; e ? 1!3j `u 1!3 v1!3 ' : (18) These are two linear equation in three unknowns, the three ui!j's. The three unknowns, therefore, can be determined only up to one missing parameter, the translation along the epipolar lines between one image pair. For every given value of translation along the epipolar lines in any pair of images there is a setting of translation between the two other pairs that will be compatible with the three images. It can be readily shown that the different translations can be obtained by setting the unknown value of_ Z, the mean depth of the points. To demonstrate the algorithm we took three images of a scene. The camera was mounted on a robot arm, and its motion was controlled. The true viewing directions were separated by 14:85ffi, 9:66ffi, and 14:85ffi. We manually extracted and matched fifteen points on each image and used them to recover the epipolar lines. Figure 9 shows an overlay of these epipolar lines on the three images. We then computed the angles between the epipolar lines in each image and recovered the viewing directions of the images. The two solutions for the viewing directions are shown in Figure 10. The recovered viewing directions were separated by 13:97ffi, 8:11ffi, and 16:31ffi respectively. The error therefore did not exceed 1:55ffi. 5 Summary We have presented in this paper a geometric interpretation of motion recovery from two and three images taken by a weak-perspective camera. In the case of two images we have shown which motion parameters 10 Figure 9: Top: three images of a scene. Bottom: 15 triplets of corresponding points have been extracted and the points (denoted by the circles) and their respective epipolar lines have been overlaid over the original images. can and cannot be recovered and how to derive those parameters from the epipolar constraints. We then used these results to develop a simple intuitive geometric algorithm to fully recover the motion parameters when three images are given. Our algorithm is based on reducing the problem of estimating motion from three images to a problem of finding on a sphere triangles whose angles are known. These angles are the angles between the epipolar lines in each of the three images. This new interpretation offers a better understanding of the motion recovery problem under weak-perspective projection and provides an algorithm which is straightforward to program. References [1] Y. Aloimonos. Perspective approximations. Image and Vision Computing, 8(3):179-192, August 1990. [2] R. Basri. Paraperspective = affine. Int. J. of Comp. Vision, 19(2):169-179, August 1996. [3] J. Costeira and T. Kanade. A multi-body factorization method for motion analysis. In ICCV95, pages 1071-1076, 1995. [4] C. Debrunner and N. Ahuja. Motion and structure factorization and segmentation of long multiple motion image sequences. In Proc. European Conf. Comp. Vision, pages 217-221, 1992. [5] M.A. Fischler and R.C. Bolles. Random sample consensus: A paradigm for model fitting with applications to image analysis and automated cartography. Comm. of the ACM, 24(6):381-395, June 1981. [6] W.C. Gear. Feature grouping in moving objects. In IEEE Workshop on Non-rigid and Articulate Motion, 1994. 11 Vz1Vz2 Vz3 V'z3 V'z2 Figure 10: The two solutions for the viewing directions of the three images shown above. The solutions are shown as points on the viewing sphere yielding two triangles whose vertices lie on the corresponding two great circles through vz1. [7] T.S. Huang and C.H. Lee. Motion and structure from orthographic projections. IEEE Trans. Patt. Anal. Mach. Intell., 11(5):536-540, May 1989. [8] J.J. Koenderink. Solid Shape. MIT Press, Cambridge, MA, 1990. [9] L.L. Kontsevich. Pairwise comparison technique: a simple solution for depth reconstruction. J. Opt. Soc. Am. A, 10(6):1129-1135, June 1993. [10] C.H. Lee and T.S. Huang. Finding point correspondences and determining motion of a rigid object from two weak perspective views. Comp. Vis. Graph. Im. Proc., 52(3):309-327, December 1990. [11] Y. Ohta, K. Maenobu, and T. Sakai. Obtaining surface orientation from texels under perspective projection. In Proc. International Joint Conference on Artificial Intelligence, pages 746-751, 1981. [12] C.J. Poelman and T. Kanade. A paraperspective factorization method for shape and motion recovery. IEEE Trans. Patt. Anal. Mach. Intell., 19(3):206-218, March 1997. [13] L.S. Shapiro, A. Zisserman, and M. Brady. 3d motion recovery via affine epipolar geometry. IJCV, 16(2):147-182, October 1995. [14] C. Tomasi and T. Kanade. Shape and motion from image streams under orthography: a factorization method. Int. J. of Comp. Vision, 9(2):137-154, 1992. [15] S. Ullman. The interpretation of visual motion. M.I.T. Press, Cambridge, MA, 1979. [16] S. Ulmann and R. Basri. Recognition by linear combination of models. IEEE Trans. Patt. Anal. Mach. Intell., 13(10):992-1006, October 1991. 12