Binocular 3D Object Recovery Using a Symmetry Prior

We present a new algorithm for 3D shape reconstruction from stereo image pairs that uses mirror symmetry as a biologically inspired prior. 3D reconstruction requires some form of prior because it is an ill-posed inverse problem. Psychophysical research shows that mirror-symmetry is a key prior for 3D shape perception in humans, suggesting that a general purpose solution to this problem will have many applications. An approach is developed for finding objects that fit a given shape definition. The algorithm is developed for shapes with two orthogonal planes of symmetry, thus allowing for straightforward recovery of occluded portions of the objects. Two simulations were run to test: (1) the accuracy of 3D recovery, and (2) the ability of the algorithm to find the object in the presence of noise. We then tested the algorithm on the Children’s Furniture Corpus, a corpus of stereo image pairs of mirror symmetric furniture objects. Runtimes and 3D reconstruction errors are reported and failure modes described.


Introduction
The central importance of symmetry is well established in diverse fields such as physics, chemistry, mathematics, and art; however, it has received comparatively little attention in computer vision.Early computer vision researchers were interested in 3D recovery (for examples, see: [1][2][3][4]), and, as will be discussed later in this paper, symmetry is a powerful regularity that allows for 3D reconstruction.However, perhaps owing to the difficulty of the problem, interest in 3D recovery has been supplanted by machine learning approaches that almost always rely on purely 2D image features.(In the case of deep learning, instead of merely learning from 2D features, the 2D features themselves are learned from the training data [5].)Despite this trend in computer vision, it is widely recognized that human vision does perform 3D recovery [6], and, to this day, 3D recovery continues to be an important topic in computer vision.
Camera image formation is the forward problem of vision, and it is well-posed and well understood.Indeed, we know how to produce realistic looking images from 3D models [7].However, there are an infinity of possible 3D models that can produce any given camera image, and that makes the inverse problem, 3D recovery from camera images, ill-posed [8].In a classic 1985 paper, Poggio et al. [9] introduced the notion of computational vision, which uses regularization to solve early vision problems, such as 3D recovery.In essence, this means that all solutions to 3D recovery must involve a priori assumptions that constrain the possible recoveries.If we adopt a computational model of human cognition [10], as was done by David Marr [4], then the existence of innate a priori constraints also applies to human vision [11,12].Considering that humans have definite ideas about the 3D shapes of objects that they perceive-Shepard and Metzler [13] proved as much with their classic experiment on the mental rotation of objects-it makes sense to investigate and understand what priors the human vision system uses in 3D shape perception.
Recent advances in human perception have shown that symmetry, and mirror symmetry in particular, is the most important prior in 3D shape perception [12,14,15].Li et al. [16] argued further that an object's shape is defined by its symmetries.That is, an object has as much shape as it has symmetry or regularity.We consider it natural, therefore, to investigate mirror symmetry as an informative prior for 3D shape recovery in the spirit of Poggio et al.'s paradigm of computational vision.
In this paper, we present a new algorithm for performing 3D recovery for mirror symmetric objects from a pair of stereo images.There has been a small amount of persistent interest in using mirror symmetry to perform 3D recovery; however, almost no attempts use both mirror symmetry and two-view geometry at the same time.However, there is psychophysical evidence that the human visual system does precisely this: using both mirror symmetry and two-view geometry to aid 3D shape perception [17].The advantage of combining mirror symmetry with two-view geometry is that each problem disambiguates the other, making it simpler to solve both simultaneously.(This is developed in Sections 3.2 and 3.3).For the sake of computational efficiency, we added the additional constraint that objects stand on a flat surface, or floor.This is easily arranged when capturing images in controlled conditions; however, most real world objects do stand on a flat surface [12], and there is psychophysical evidence that the human vision system takes advantage of this prior [18].

Related Works
As early as 1978, Marr and Nishihara [19] emphasized the importance of 3D representations in computer vision.In particular, Marr and Nishihara advocated for symmetric parts based on Binford's generalized cones [20].However, this work did not address the mathematical problem of recovering 3D symmetric shapes from camera images.Kanade, 1981, did provide details for 3D reconstruction [3], but only for skew-symmetry (i.e., orthographic projections of planar symmetric figures).It was not until 1990 that Gordon first published details for 3D reconstruction from the perspective images of mirror symmetric objects [21], although Gordon credits the Oxford University engineer Guy Scott with the idea of calculating depth information from symmetry.
Since then, the field has grown immensely richer.A key observation was that mirror symmetry is a variant of two-view geometry [22].That is, the image of a symmetric object allows for computing a second view of the same object.This is true except for degenerate cases and can be generalized to other types of symmetry.For example, the left and right side of the face are roughly identical, and thus the image of a face can be thought of as two aligned views of a single half.This provides a variety of mathematical invariants that form a theoretical basis for identifying symmetry, and for performing 3D reconstruction [23][24][25]-a field which could perhaps be called structure from symmetry [26].
The key practical problem in solving structure from symmetry is identifying which pairs of image points "go together".Returning to the example of the face, a point on the tip of the left ear goes with a specific point on the tip of the right ear: no other point will do.Registering these points in the 2D camera image is called the symmetry correspondence problem, and once done, the positions of the 2D points can be corrected at the subpixel level [27].However, a general solution to the symmetry correspondence problem is currently beyond the state of the art.Few invariants exist for the general case problem, and any pair of imaged 2D curves is consistent with some 3D mirror symmetric interpretation [28].
It is natural to try to restrict the problem (following in the footsteps of Kanade) to orthographic images of planar symmetric figures, such as symmetric designs on walls and patterns on carpets.In this case, correspondences can be found using local 2D features that are robust, or invariant, to local affine distortions [29][30][31][32].
Despite challenges, solving symmetry correspondence for more general symmetric figures has been a topic of ongoing interest.One approach noted that mirror symmetry extends to the surface normals of a shape, providing a useful invariant for performing dense reconstruction using shape from shading [33].Dense reconstruction has also been performed on mirror symmetric scenes by matching texture patches under smoothness constraints [34].For scenes characterized by translational symmetry, dense reconstruction was performed using a graph-cut, with an energy function that incorporates symmetrical repetition [35].
More typically, researchers solve symmetry correspondences on edge maps by trying to register pairs of smooth contours.One early approach identified polygons in the 2D image that obey invariants for some form of 3D symmetry.These polygons are then registered with each other, allowing for 3D reconstruction [36].Alternatively, it is possible to match line features directly in a loop that validates the match geometry for some form of 3D symmetry [37].Instead of matching line features, one can attempt to trace pairs of contours, matching key features along the way, such as turning angle.Two studies follow this approach, using sets of human generated contours as input [38,39].Öztireli et al. [40] extracted feature points and contours from rasterized images; however, human intervention is required to select points in order to facilitate curve matching.Sinha et al. [41] put forward an interesting dynamic programming approach that simultaneously extracts and matches contours; however, it can only work when the viewing angle of the 3D mirror symmetric object is restricted.
The algorithm presented in this paper solves symmetry correspondences on rasterized edge maps, and without human intervention, by using the two-view geometry of stereo image pairs to disambiguate possible correspondences.It is possible to perform 3D reconstruction from pairs of stereo images alone [22]; however, the results are usually noisy due to image pixelation.This paper presents an alternative point of view for using symmetry and two-view geometry together: symmetry can be used to improve the quality of 3D reconstructions, in effect performing subpixel accurate correspondence.This approach was pursued to clean up the 3D point clouds generated from the application of structure from motion [42,43].
Symmetry, however, does more than just provide subpixel correction, or accurate 3D reconstruction.Symmetry is a global property, and thus it can be used to perform figure/ground organization: localizing individual objects in a scene, and separating them from the background.In previous work, we investigated using mirror symmetry with two-view geometry to perform figure/ground organization [44].However, as far back as 1997, Zabrodsky and Weinshall [45] observed that mirror symmetry and two-view geometry can be used together.They developed a graph based method for matching corresponding points, and tested it mainly on synthetic images.However, they also ran two tests using, respectively, three and five camera views of a 3D symmetric object and reported the average 3D reconstruction error on sparse sets of manually selected interest points.This can be taken as part of the inspiration for the algorithm presented in this paper.

Proposed Algorithm
We present an algorithm that performs 3D reconstruction of mirror symmetric objects from a pair of stereo images, where the symmetry is evident in the contours of the object.In many ways, the algorithm is a successor to the algorithm presented in [44]; however, it has been repurposed to perform 3D object reconstruction.Comparisons with [44] are detailed in Sections 4.3.1 and 4.3.3.While it is possible that this algorithm may have practical uses, it is a proof of concept for a family of methods that perform 3D object recovery using symmetries.The specific types of objects recovered depend on how the object's shape is defined.For this proof of concept, we use Definition 1 for the shape of an object.Definition 1.An object's shape is a set of 3D points that are mirror symmetric about two orthogonal planes of symmetry.
This definition covers a variety of manufactured objects, including some pieces of furniture.One advantage of this definition is that the two planes of symmetry can be used to reconstruct the backs of objects.This is made clear in Sections 3.6 and 4.3.2.The reasons for restricting the algorithm to objects with definite edges, and the formulation of the 3D recovery as an optimization problem is developed in the rest of this section.

Notation
We use lowercase and uppercase bold symbols for points in R 2 and R 3 , respectively.Therefore, for example, x ∈ R 2 , and X ∈ R 3 .Furthermore, we add a superscript asterisk for points in the respective projective spaces.Thus, x * ∈ P 2 and X * ∈ P 3 .The exception is unit vectors in R 3 , which are written ñ (lowercase because they have only two degrees of freedom).Subscripts refer to a particular camera, if relevant.For example, x * 1 , and x * 2 refer to point x * in camera 1 and camera 2. The function E(x * ) is used to convert homogeneous coordinates into equivalent Cartesian points.Thus, E(x * ) refers to the L 2 norm of the Cartesian equivalent to the homogeneous coordinate x * .
In this paper, we use a pinhole camera model and only consider calibrated cameras.We use K for the intrinsic camera matrix, and P = K [R | t] for the camera matrix.R and t are the extrinsic camera parameters: R a rotation matrix, and t = −RC, where C is the coordinates of the camera center.Again, we use subscripts if a particular camera is indicated.Thus, x * 1 = P 1 X * gives the projection of point X * in camera 1.All intrinsic parameters are assumed to be known, as is the relative rotation and translation between the camera pair, and thus we use a calibrated stereo system.
Sometimes, we need to refer to the reprojection error of an image point relative to some estimate of a 3D point.For example, point X * may be imaged in camera 1 as point x * , but with some errors.In this case, the reprojection error is expressed as: d(x * , P 1 X * ) = E(x * ) − E(P 1 X * ) .For those unfamiliar with homogeneous coordinates, camera matrices, and projective spaces, please refer to Hartley and Zisserman [22].

3D Mirror Symmetry and Projective Geometry
An object is mirror symmetric in 3D if the object is invariant (unchanged) when reflected through a single plane of symmetry, π = ñ d .Thus, Equation (1) holds true for any point on the object S: ∀U ∈ S, ∃V ∈ S s.t.
In this formulation of the plane equation, π = ñ d , the point plane distance is given by ñ U + d, and ñ (a unit vector) gives the normal to the symmetry plane, which will henceforth be referred to as the direction of symmetry.A mirror symmetric object is shown in Figure 1.
Object Definition 1 refers to two orthogonal planes of symmetry.In this case, Equation ( 1) is true for each plane of symmetry, and furthermore, the planes of symmetry are orthogonal to each other.Planes π 1 and π 2 are orthogonal to each other if, and only if, the respective directions of symmetry are orthogonal to each other.
We use a pinhole camera model for a calibrated camera with intrinsic matrix K, and with neither radial nor skew distortion.Let P be the camera matrix, and let U * and V * be mirror symmetric points obeying the relationship given in Equation (1) (i.e., when expressed as Cartesian points in R 3 ).Thus u * = PU * and v * = PV * are the points imaged by the camera.
The 3D line joining U and V has direction ñ.Imagine starting at point U and traveling toward and through point V and continuing an infinite distance: to a point on π ∞ , the plane at infinity in P 3 .This creates a new point N * = ñ 0 , which has no Cartesian equivalent in R 3 .Then n * = PN * is the vanishing point associated with the plane of symmetry.It is a rule of projective geometry that points on lines in P 3 are imaged to points on lines in P 2 (see [22]), and because U * , V * , and N * are all co-linear, then so are u * , v * , and n * .We call u * and v * corresponding points, since they are related to each other by the mirror symmetry of U * and V * .All corresponding points for the image of a mirror-symmetric object are co-linear with the vanishing point. .This means that every point U is related to some point V = U − 2( ñ U + d) ñ-for example, the wing-tips, as shown above.The line joining U to V is parallel to the direction of symmetry, ñ, the normal of the symmetry plane.This brings us to the mathematical relationship for reconstructing 3D points U and V up to scale from their imaged points u and v, given that the vanishing point, n, is known.First, write U = U ũ + C, and V = V ṽ + C, where C is the camera center, and ũ and ṽ are unit vectors.Let KR be the left-most 3 × 3 block of the camera matrix P = K [R | t].This makes ũ = (KR) −1 u * / (KR) −1 u * , and ṽ = (KR) −1 v * / (KR) −1 v * .Let ñ = (KR) −1 n * / (KR) −1 n * be the direction vector in R 3 derived from the vanishing point.Note that ñ is the direction of symmetry set by the symmetry plane normal.Now, consider the angles between ñ, and ũ and ṽ.Specifically, let θ = cos −1 ( ũ ñ) and φ = cos −1 ( ṽ ñ).The angles θ and φ are illustrated in Figure 2.
Referring again to Figure 2, the line joining U and V is, by definition, parallel to the line extending from the camera center, C, down the direction of symmetry ñ.Let U be the point on the ray through ñ such that CU U makes a right angle triangle, and let λ = U − U be the distance between U and U .Then, by construction, sinθ = λ/ U .Similarly, if V is the point on the ray through ñ such that CV V makes a right angle triangle, then sinφ = λ/ V .The relationship λ = U − U = V − V holds because the four points {U, V , U , V } form a rectangle.This gives Equation ( 2), which relates the length V relative to U , with the angle formed by their direction vectors with the direction of symmetry.This relationship is shown in Figure 2: To solve for U and V , note that their midpoint lies on the symmetry plane π = ñ d .
That is: x-axis z-axis Diagram that shows the relationship expressed in Equation ( 2).Specifically because the points {U, V , U , V } form a rectangle, the length λ = U − U = V − V .Then, we have the ratio sin θ/ sin φ = V / U .The diagram is patterned after [44].An interactive 3D version of this diagram is available in the supplementary materials.
Substitute from Equation (3) into Equation ( 2) to calculate the length V .Note that this formula requires a calibrated camera with a finite focal length because, otherwise, the angles θ and φ cannot be determined.Furthermore, the image points u and v must be distinct.There is a degenerate case when the plane of symmetry goes through the camera center, in which case both the numerator and denominator of Equation (3) become zero.(i.e., d + C ñ = 0, and the denominator can be rearranged to show that tan θ + tan φ = 0.) Except for this degenerate case, a set of 3D mirror symmetric points can be recovered up to scale from a vanishing point, and a set of corresponding points in the image.The scale of the recovered object is set by d, the distance between the symmetry plane and the origin.For further discussion, see [44].See [21,28,46] for alternative formulations.

Solving the Symmetry Correspondence Problem with Two-View Geometry
Solving the symmetry correspondence problem is all that is required to solve for the 3D shape of a mirror symmetric object.However, as described in Section 2, there is no known robust and general purpose method for solving symmetry correspondence, and it remains a topic of ongoing research.Indeed, so long as they are co-linear with the vanishing point, one can select arbitrary pairs of corresponding points and reconstruct a 3D object [12].This applies in the continuous case as well, and any pair of 2D curves is consistent with some pair of 3D mirror symmetric curves [28].One key issue is that a degenerate viewing angle can hide details in the images of one or both of the 3D curves, as is shown in Figure 3.
If we consider 3D mirror symmetry and two-view geometry together, the situation is simplified.For a two-view camera system, a single point in 3D is imaged in two different cameras.That is, point X * is imaged in camera 1 as x * 1 = P 1 X * and in camera 2 as x * 2 = P 2 X * .This pair of points, x * 1 and x * 2 , is also known as a corresponding pair, but for the binocular correspondence problem.(for complete coverage, see: [22].) Figure 3.These four images are generated from the same pair of 3D mirror symmetric curves but seen from different vantage points.On the far left, the viewing angle is such that the curve images do not suggest 3D symmetry.Nonetheless, the relationship is there, and it becomes clear as the view is rotated, especially in the two right-most images.These images were published in [28].
Consider shape S as a set of points in R 3 .Each camera gives a unique image of the points in S, and thus a prospective pair of 3D symmetric curves are imaged uniquely in each camera.This observation underlies Equation ( 4), which states that when the points X ∈ S are projected using camera matrix P i , the reprojection error (defined in Section 3.1) to a point in the relevant binary edge map EdgeMap i is less than some threshold .(A binary edge map is a binary image where each pixel indicates the presence or absence of an edge.).For two-view geometry, we have i ∈ {1, 2}: Taken together, Equations ( 1) and ( 4) specify a 3D mirror symmetric shape that is consistent with evidence in two (or perhaps more) camera images.Only two visible edge points are required for each image.Figure 4 illustrates what is gained by combining mirror symmetry with two-view geometry.Let U and V be 3D points that are mirror symmetric about a symmetry plane π with direction of symmetry ñ.Let u 1 and u 2 be the images of U in cameras 1 and 2, and likewise, let v 1 and v 2 by the images of V in cameras 1 and 2. The points u 1 and v 1 are symmetric corresponding points, and must be co-linear with n 1 , the image of ñ on the plane at infinity (as described in Section 3.2).Likewise, u 2 and v 2 are co-linear with n 2 in the second camera image.Note also that u 1 and u 2 correspond in the binocular sense, and so do v 1 and v 2 .Each individual point participates in two different epipolar geometries, and thus the entire system is over-constrained, with the locations of each of the four points constrained by both the direction of symmetry, ñ, and Fundamental matrix [22], which constrains the locations of binocularly corresponding points according to the relative rotation and translation between the two cameras.
Thus, Equations ( 1) and ( 4) together specify 3D points that are consistent with this over-constrained geometry and provide an avenue to solve both the binocular and the symmetry correspondence problem at the same time.In effect, the symmetry correspondence problem disambiguates the binocular correspondence problem, and vice versa.This restricts the algorithm to those objects whose mirror symmetry is evident in the binary edge maps of both images.When one or both projected points are missing (for example, they are occluded, or not picked up by edge detection), then that pair of 3D points are omitted in shape S.
The proposed algorithm requires an efficient method for validating if a given shape S satisfies the image evidence.We first calculate binary edge maps for each image using the Canny operator with an adaptive filter [47].The edge points are loaded into an R-tree [48], thus creating a spatial index for the edge points in each image.Then, for each point X * ∈ S, the spatial index is used to query the closest point to E(P i X * ) in camera i.The reprojection error is given by the L 2 distance between the queried point and the projected point, and this error must be less than .This procedure has average time complexity O(mnk), where m is the number of cameras, n = |S| is the number of 3D points in shape S, and k is the expected time complexity for looking up single points from the spatial index.Let ñ be the direction vector between U and V , and N * the intersection of ñ with the plane at infinity (see Section 3.2).Let n 1 and n 1 be the images of N * in camera 1 and 2.
Then, as described in Section 3.2, u 1 , v 1 , and n 1 are co-linear, and likewise u 2 , v 2 , and n 2 are co-linear.Furthermore, u 1 and u 2 are co-linear with the binocular epipole, a point in P 2 calculated from the relative rotation and translation between the two cameras.See [22] for a full treatment.Likewise, v 1 and v 2 are also co-linear with the binocular epipole.This creates an over-constrained system, where the image points u 1 , v 1 , u 2 , and v 2 are restricted by the direction vector between the two 3D points that generated them (i.e., U and V ), and the relative rotation and translation between the two cameras.

Using a Floor Prior
Most objects stand on a floor, or flat surface, and there is psychophysical evidence that the human visual system uses some sort of floor prior [12,18].Using a floor prior is similar to the "Manhattan World" assumption [49], where a scene is assumed to have three global vanishing points related to an orthogonal basis in R 3 .In this case, the normal to the floor plane corresponds to the "up direction" in a Manhattan World.However, the floor prior by itself is more flexible, admitting objects with a single plane of symmetry (thus two vanishing points in total), or perhaps other symmetries.Furthermore, floor plane estimation is robust and stable under two-view geometry when many floor points are visible-a typical scenario when a particular application allows for the control of camera viewing angles.
We assume that objects stand (or lie) on the floor, and that their symmetry planes are orthogonal to the floor plane.This restricts the object's direction of symmetry to the one-dimensional subspace orthogonal to the floor plane normal.The projection of this subspace is called the horizon line, and is the intersection of the image plane with the plane parallel to the floor that also contains the camera center.
The floor prior is found using a procedure developed by Li et al. [46].First, a disparity map is calculated using OpenCV's StereoBM algorithm [50], which matches patches of texture between a pair of rectified stereo gray-scale images.Triangulation [22] is then applied to the disparity map to generate a 3D point cloud.Finally, Random sample consensus (RANSAC [51]) is used to find the equation of the plane that contains the most 3D points within a specified error threshold.This method works well when the floor is visible and is robust to the noise typical of 3D reconstructions from stereo image pairs.

Finding Symmetry Planes
As pointed out in Section 3.2, finding vanishing points is equivalent to finding the direction of symmetry for a symmetry plane.The proposed algorithm extends existing feature based approaches to vanishing point detection by taking advantage of both 3D symmetry and two-view geometry.Equation (3) shows that the vanishing point alone would be enough to recover the 3D object up to scale; however, scale is important in two-view geometry and is required for Equation (4).Thus, we must estimate both the direction of symmetry and d, the distance between the symmetry plane and the origin.
We use the Harris operator [52] with parameters set to over detect corner features.Corner features are then registered with each other across both input images using the disparity map previously calculated when finding the floor prior.Let η = g d η be the equation for the floor, where g is suggestive of the direction of gravity.Let x * i be an image point in camera i. Equation ( 5) is the ray-plane intersection that denotes the point on the floor plane that images to x * i .This situation is illustrated in Figure 5: If we assume that u * i and v * i are a corresponding pair of points, then the direction of symmetry, ñ, can be estimated in camera i by finding the unit vector between F(u * i , i) and F(v * i , i).Equation ( 6) gives the estimate for ñ by averaging across both cameras:  5) is used to find F(u * i , i), and F(v * i , i), the points on the floor plane that image to u * i and v * i .The vector ) is an estimate for the direction of symmetry, but for a single pair of points in a single camera.Equation ( 6) estimates ñ by averaging the normalized estimates across all cameras.
To estimate d, note that if U and V are symmetric about π, then the midpoint M = 1 2 (U + V ) must lie on the symmetry plane.That is, M ñ = d.To find M, we first select an arbitrary d, say d = 1.Then, using Equations ( 2) and (3), we recover U i and V i to scale, but for each camera image.Then, mi = 1 2 (KR) We then use triangulation [22] in Equation ( 7) to estimate d by first finding M: Symmetry planes are recovered for all pairs of detected corners; however, many solutions can be discarded immediately.The equations above are over-determined, and while every solution is guaranteed to be orthogonal to the floor, the resulting reprojection error may be large for 3D points recovered using Equations ( 2) and (3).Thus, we only keep those solutions that have reprojection errors for all corner features less than a threshold , as specified in Equation ( 8): where u * i , v * i is every pair of corner features registered across both images by the disparity map calculated in Section 3.4, π is the resulting symmetry plane found by solving Equations ( 6) and (7), and gives the two solutions for Equations ( 2) and (3) in camera image i.This operation has worst time complexity O(n 2 ) in the number of corner features detected, since we are testing all unique sets of two corner features chosen from the set of all detected corner features.

Two Orthogonal Symmetry Planes
To find orthogonal symmetry planes, we consider all pairs of hypotheses in Π specified in Equation (8).The worst case time complexity is O(n 4 ), since, in theory, we could be testing all unique sets of four corner features from the set of all detected corner features.In practice, however, most pairs of corners are already discarded by using Equation (8) when generating the set Π. We specify the reprojection error of a pair of planes as the maximum reprojection error of one of the points in one of the cameras that was involved in generating one of the symmetry plane hypotheses.This is specified by Equation ( 9), where u * ij and v * ij are the pair of image points that originally generated symmetry plane hypothesis j in image i, and U ij and V ij are calculated using symmetry plane hypothesis j in image i: Every pair of symmetry plane hypotheses in Π is considered, and Nelder-Mead [53] is applied to minimize the error specified in Equation ( 9) after forcing the symmetry planes to be orthogonal.The set Π is then the set of all the hypothesis pairs whose optimized error is less than some threshold .
Note that using two planes of symmetry allows for reconstructing the backs of objects, which are normally occluded in the camera images.Because all the points in object S obey Equation (1) for every symmetry plane, then every point X ∈ S can be reflected in one or both symmetry planes, relating it to three other points in S.This means that points on the visible front of the object are related to occluded points on the back of the object, and thus that back of the object can be recovered.This is not possible when objects have only a single plane of symmetry; however, even in this case, the backs of objects can be recovered using additional assumptions, such as planarity [12].
This observation requires that we modify Equation ( 4) so that we do not attempt to try to find image evidence for points that we expect to be occluded.To do this, we take each set of four points that are related through the two symmetry planes, and we remove the point that is furthest from the camera center.We then combine these sets of three points to make S ⊂ S, and apply Equation (4) to the points in S .

Recovering Objects with Short Curves
A 3D shape, defined by Definition 1, can be recovered for every symmetry-plane-pair in Π , by using Equations ( 2) and ( 3) on all pairs of edge points in a single image.According to Equation (4), the recovered 3D points must project to an edge point within a set threshold, , for all camera images.In a method similar to RANSAC [51], the final recovered 3D shape is simply that with the largest number of 3D points that are consistent with Equation (4).
In theory, this has worst case time complexity O(n 2 ) in the number of edge points, since we could be considering all unique sets of two edge points from the set of all detected edge points.However, as outlined in Section 3.2, the images of symmetric points must be co-linear with the vanishing point derived from the relevant symmetry plane.Therefore, the proposed algorithm sorts all edge points by the angle subtended with the vanishing point, and then a local search is performed about each point to find co-linear points that solve for 3D points that obey the threshold specified in Equation ( 4).The expected time complexity is O(n log n + nm), where O(n log n) is the time complexity for sorting edge points, and nm is the expected number of comparisons made across all m camera images in the local search for co-linear points.
In practice, incidental arrangements of edge points lead to some false positive 3D points that are not filtered out by applying Equation ( 4).Almost all of these incidental points can be removed by considering short continuous runs of edge points, which we call contours.Instead of finding "best" or "meaningful" contours-an expensive operation that may introduce instabilities-we split the runs of edge points at approximately equally spaced intervals.We then select several points on each contour, and solve for the 3D points as before; however, in addition to filtering the results by Equation ( 4), we also add the additional constraint that the corresponding edge points must lie within a set distance along some contour.Not only does this procedure reduce the number of false positive points in the recovered shape, it also dramatically improves the speed of the computation by reducing the number of edge points being considered with each recovery.

Overview of Algorithm
Figure 6 gives a flow chart, and dependency graph, for the algorithm.Many steps can be executed in parallel, and individual steps can also make good use of parallelism.In particular, estimating the floor (Section 3.4), finding symmetry hypotheses (Sections 3.5 and 3.6), and calculating solutions (Section 3.7) can each have their time complexities divided by the available parallelism.Table 1 lists the algorithm parameters, which are chosen with reference to the properties of the relevant equations.Increasing the reprojection thresholds results in more false positives in the recovered 3D shape.The algorithm is robust to changes in the other parameters, including contour length.

Results
We have presented an algorithm for performing 3D object recovery for mirror symmetric objects from pairs of images.We ran two simulations to test aspects of this algorithm.In simulation 1, Section 4.1, we compared Triangulation [22]-the standard 3D recovery algorithm for two-view geometry-to the formula derived in Section 3.2, which performs 3D recovery using mirror symmetry.In simulation 2, Section 4.2, we generated synthetic images of random mirror symmetric shapes with one versus two planes of symmetry, and with random noise features, in order to examine how well the algorithm solves the correspondence problem.In Section 4.3, we present results for the algorithm on a corpus of real image pairs.Since the algorithm is a repurposed refinement of previous work on figure/ground organization [44], we compare the new algorithm to this previous work.

Simulation 1
The algorithm presented in this paper addresses, in part, two different problems: the correspondence problem and the 3D recovery problem.The correspondence problem involves selecting sets of corresponding image points that share some geometric property.For example, consider Figure 4.The points u 1 and u 2 are corresponding points for the binocular correspondence problem, and u 1 and v 1 are corresponding points for the symmetry correspondence problem.Furthermore, all four points, u 1 , v 1 , u 2 , and v 2 , are corresponding points for both the symmetry and binocular correspondence problems together.Solving a given correspondence problem involves identifying a set of image points.
The 3D recovery problem involves calculating points in 3D from sets of corresponding points and is usually performed with a mathematical formula.By contrast, solving a correspondence problem usually involves some type of search.Triangulation [22] is the standard method for performing 3D recovery from a pair of binocular corresponding points.In Section 3.2, we developed an equation for 3D recovery from a pair of corresponding points for the symmetry correspondence problem.The reader may guess that this 3D recovery should be more accurate, on average, than any 3D reconstruction performed on corresponding points for the binocular correspondence problem, including Triangulation, because the latter is inherently sensitive to noise [22].
The supplementary materials include animations of a figure recovered from real image pairs (described fully in Section 4.3), using either Triangulation, or Equations ( 2) and (3) from Section 3.2.In all cases, the correspondence problem was solved using the symmetry based algorithm presented in this paper; only the last step-3D recovery-is different.The 3D figure recovered using Triangulation features peculiar "planar" clustering, which is caused by pixelation in the camera images.The recovered 3D points jump from plane to plane as the difference between the corresponding points changes by one pixel.This is a well known problem and can only be ameliorated by subpixel correction before Triangulation is performed.The animation files show qualitatively that recovery based on symmetry is unquestionably better than Triangulation.The pixel-related artifacts of binocular recovery are almost never symmetrical with respect to the common symmetry plane of the object, and so, these artifacts are corrected by adding the symmetry constraint.However, as we show below, Triangulation is more sensitive to noise even when controlling for pixelation.
In this simulation, we compare 3D recovery using Triangulation, versus using Equations ( 2) and (3) for pairs of points, as opposed to whole objects.We generated one random pair of 3D points at a time.The points were uniformly distributed over a 4 × 4 × 4 m 3 box centered 3 m directly in front of the simulated camera.A single pair of points is obviously mirror symmetrical with respect to the plane that bisects them.This plane was computed and used for the recovery based on Equations ( 2) and ( 3).These two 3D points were projected, as continuous variables, to a pair of simulated images using a calibrated stereo camera with a 12-cm baseline, a 66-deg horizontal field of view.After the two image points (in R 2 ) were calculated, a variable amount of Gaussian white noise was added.The standard deviation of the Gaussian white noise was specified in pixels, which is relative to the assumed 800 × 600 image format.The simulated image points were never rounded (to the nearest pixel) so that the simulation is a valid approximation for other image resolutions.Thus, the noise in our experiment simulates other natural processes, other than pixelation, that affect image formation.Either Triangulation or Symmetry (Equations ( 2) and ( 3)) were used to perform 3D recovery from a pair of image points.Figure 7 shows the error in recovery (in meters) as a function of the standard deviation of the added Gaussian white noise (in pixels).Each data point in the graph is the average error from 1 million replications.In each replication, one pair of random 3D points was generated and recovered.Note that the use of the true symmetry plane in this simulation when a single pair of points was recovered represents the fact that the estimated symmetry plane of an object consisting of hundreds of points is very stable precisely because many pairs of points are used to estimate that plane.This is the unique advantage of incorporating a spatially global constraint.[22] as a function of image noise.Bottom curve: error in 3D recovery using symmetry (Equations ( 2) and ( 3)) as a function of image noise.
Figure 7 clearly shows that 3D recovery using Triangulation is more sensitive to noise, which could come from image pixelation, or other aspects of camera system, such as uncorrected lens distortion.Recovery using Equations ( 2) and ( 3) was more than an order of magnitude more accurate at all levels of noise, except zero noise, when recovery was identical for both methods.

Simulation 2
In this simulation, we used random synthetic figures to assess how well the present algorithm solves the correspondence problem for shapes with one or two planes of symmetry, and in the presence of noise.We followed [17] to generate random synthetic shapes with a single plane of symmetry.These shapes are bilaterally symmetric, have planar surfaces, a flat base, and are made out of three rectangular boxes joined to each other.The same procedure was used for shapes with two planes of symmetry; however, the shape was flatted across the top, with the height chosen to keep the total volume unchanged.The shapes averaged 35 × 47 × 34 cm 3 .Please refer to [17] for precise details on how these shapes are generated.
To generate random noise, we sampled 3D points uniformly in a 2 × 2 × 2 m 3 box centered at a point 2.5 m in front of the camera center.Each 3D point became the point of intersection for two 3D lines, each 10-cm long, and sitting on a plane with a random orientation.The orientation of the plane was generated by sampling from a uniform distribution for the orientation vector's inclination and azimuth.
The random shape and noise features were then projected to a pair of 800 × 600 simulated images using a calibrated stereo camera with a 12-cm baseline, and a 66-deg horizontal field of view.A random shape with two planes of symmetry and 250 noise features is shown in Figure 8a,b.The crossed noise features were specifically chosen to generate lots of corner detections, since these are used to find symmetry planes, as described in Section 3.5.Furthermore, the lines were made long enough so that most of the projected lines would not be easily filtered out when finding correspondences, as described in Section 3.7.
The proposed algorithm then attempted 3D recovery on the composited image pairs.The image pairs contained no texture information with which to estimate the floor plane, so the orientation of the floor-a plane orthogonal to the shapes one or two symmetry planes-was given to the algorithm.Correct correspondence (true positives), incorrect correspondences (false positives), and missed correspondences (false negatives) were then counted, and used to generate a precision and recall score for each image pair.Figure 8c,d shows the recovered 3D shape as seen from the two camera views.Figure 9a shows precision and recall scores as a function of the percentage of noise features in the images, for shapes with one or two planes of symmetry.Ten random scenes were generated for each level of noise, and in each condition.(i.e., one or two planes of symmetry.)The percentage noise is calculated as 1 minus the number of visible corners in the synthetic shape (a maximum of 16) divided by the number noise features (each cross is a single noise feature).This data was generated using = 1.5, the default "object point reprojection threshold" listed in Table 1, which is the used in Equation ( 4).We expected that as this threshold was loosened, recall would rise, and precision would fall.This is indeed the case, as shown in Figure 9b, which gives the same results but for = 5.
We conclude that the method for solving the correspondence problem is robust to incidental noise.Furthermore, adding a second plane of symmetry does improve the robustness of the algorithm: precision is better, and recall does not suffer, or is better as in Figure 9b.

Experiment
To assess the algorithm on real images, we needed a corpus of stereo image pairs of objects, with two orthogonal planes of symmetry, standing on a clearly visible floor.The authors of [46] kindly made available the Children's Furniture Corpus, which is now available in the supplementary materials.This corpus consists of eighty-nine 800 × 600 grayscale image pairs of 11 exemplars, nine of which have two orthogonal planes of symmetry, and two with single planes of symmetry.Images were captured under typical indoor lighting conditions using a Point Grey Bumblebee2 R stereo camera (Point Grey, Richmond, BC, Canada), with a 12-cm baseline, and a 66-deg horizontal field of view.Each exemplar averaged 1.87 m from the camera, sitting in the middle of the frame on flat blue carpet, and was captured from roughly equally spaced orientations.1.We see that recall is similar for both types of shapes; however, precision is better for shapes with two symmetry planes.Furthermore, precision is more robust to noise for shapes with two symmetry planes; (b) shows precision and recall when = 5.This is the in Equation ( 4).Loosening this threshold increases recall at the cost of lowered precision.Both precision and recall are better for two symmetry planes, indicating that the extra symmetry plane improves the algorithms performance due to the additional constraints that it provides.
The physical exemplars (pieces of furniture) were measured by hand with a tape measure, and Autodesk R Maya R (Maya 2016, Autodesk Inc., San Rafael, CA, USA) was used to create 3D models.Custom made software was then used to annotate each corpus image.Annotations consisted of extrinsic and intrinsic camera parameters, and the hand made Autodesk R Maya R model file (a triangle mesh) along with rotation, translation, and scale parameters.This is sufficient to place the mesh in 3D space, and project it to each camera image.
To measure the accuracy of the 3D recovery of shape S, we summed the average minimum distances between each point X ∈ S and some point on triangle ∆ in the hand-made 3D ground truth mesh, Ξ, with the average of the minimum distance between each vertex V ∈ Ξ and some point X ∈ S.This is specified by Equation (10): Recovery was then performed on four 16 core Intel R Xeon R E7-8800v3 processors (Intel, Santa Clara, CA, USA), running Ubuntu R 14.04 (Canonical, London, UK).The algorithm produced output for all but two pairs of input images.Failure modes are discussed in Section 4.3.2.The average runtime was 2.41 s, and the average error, according to Equation (10), was 2.79 cm, or just over 1 inch.This error is the approximate thickness of the furniture surfaces, and, in part, contains errors in the hand made models.The results are summarized in Table 2, which shows the average speed and error for each exemplar.Table 3 shows sample 3D reconstructions.

Baseline for Comparison
This study is unique in that it reports the error in 3D object recovery over a corpus of images, when using projective geometry, and a mirror symmetry prior.To the authors knowledge, there is no comparable study, with either qualitative results being presented [25,30,34,37,41,54], errors only being reported on a few keypoints for only one or two images [45,55,56], or the approach is otherwise incomparable [29,[31][32][33]35,42,43], or too restricted to be able to produce 3D recoveries from raster images such as those found in the Children's Furniture Corpus [3,21,26,[38][39][40]57].The authors suggest that more quantitative studies on corpora of camera images are needed, and have made the Children's Furniture Corpus available in the supplementary materials of this paper.
Michaux et al. [44] utilizes a similar method for disambiguating the symmetry and binocular correspondence problems, described in Section 3.3, and also uses a floor prior.Although this work aims to localize multiple objects in a scene at once, it can be adapted to perform 3D object recovery.The algorithm in this paper is an elaboration of [44], and thus we chose [44] as a baseline for comparison.The nature of those elaborations, and their effect on the speed and accuracy of 3D recovery, is discussed in Section 4.3.3.[44] was used as a baseline for comparison.The second column denotes the number of image pairs for the given exemplar.Errors were calculated using Equation (10) and are reported in centimeters, along with a 95% confidence interval.Runtimes are reported in seconds, also with a 95% confidence interval.The algorithm failed to generate results for two image pairs of the Rubbish Bin, as discussed in Section 4.3.2.

Discussion
The algorithm produced 3D reconstructions for all input image pairs, except for two image pairs of the Rubbish Bin.3D reconstructions were, in general, excellent, with most recovered 3D points close to edges or surfaces on the annotated ground truth 3D meshes.The backs of objects were recovered, even though they were occluded, because the occluded points were related to points on the front of the object by reflections through one or both symmetry planes, as described in Section 3.6.This contributes to the structure of the objects being clearly visible and identifiable to human viewers, who, presumably also recover the backs of the objects.Despite these successes, several failure modes were identified, as were opportunities for improvement.
Reducing the object point reprojection threshold, (see Table 1), resulted in significantly cleaner looking objects; however, recoveries were also sparser without affecting errors calculated by Equation (10).This is caused by the algorithm finding all the correspondences for edge points that are less than .Most edge points participate in multiple correspondence pairs, including erroneous correspondences that are "close enough", according to Equation (4).Solving this problem is not as simple as limiting edge points to single correspondences, since pixelated images require multiple correspondences for single edge points.This happens when the pair of mirror-symmetric curves are not equidistant to the camera, and thus image to 2D contours of different lengths.The pixels on the shorter contour must then participate in multiple correspondences in order to recover all of the points on the longer contour.This particular problem deserves consideration, and is important for generating more accurate and aesthetically pleasing 3D recoveries; however, it does not affect the basic structure of the recovery.
3D reconstruction depends on corner detection producing the required two pairs of corners that characterize the symmetry planes of the object, as shown in Figure 10a.Furthermore, these corners must appear in both images, and be registered with each other successfully.If no such set of four corners is found, then the algorithm fails.This happened for two images pairs of the Rubbish bin, one shown in Figure 10b.Corner detection worked well for the other corpus images; however, it does represent a potential algorithmic instability.As described in Section 3.6, the worst case runtime is O(n 4 ) in the number of detected corners.(The worst runtime was 11.48 s, for an image pair of the Tall Dense Stand shown in Figure 10c.)The algorithm can be modified to use any method for detecting symmetry planes, and there are many fast methods for finding vanishing points that can be used to calculate directions of symmetry for prospective symmetry planes.Some 3D recoveries were poor even when symmetry planes were detected correctly.This was due to instabilities caused by degenerate cases inherent in the geometrical foundations of the algorithm.Consider the image of the Bookshelf shown in Figure 11a.The image itself is almost mirror symmetric in 2D, indicating that the symmetry plane contains (or runs close to) the center of perspective projection.As discussed in Section 3.2, this degenerate case prevents recovering 3D depth information from symmetry.As such, 3D recovery must rely on two-view geometry, which, in general, is noisy due to pixelation in the image [22].However, two-view geometry also has a degenerate case.The Bumblebee2 R camera (Point Grey, Richmond, BC, Canada) produces pairs of rectified images [22], which confounds solving binocular correspondence for points on horizontal lines.This means that Equation ( 4) is not particularly useful in disambiguating symmetry correspondences.Nonetheless, the algorithm produced recognizable output even in this pathological case, as shown in Figure 11b,c.

Comparison to Baseline
As shown in Table 2, the proposed method is both faster and more accurate than the baseline for comparison, [44].The reasons for this lie in the differences between the two algorithms.We believe that the main reason for the more consistent and accurate results of the proposed algorithm lies in how vanishing points were detected.Firstly, Equation (9) uses the L ∞ norm, while [44] utilizes an equation similar to Equation ( 8), but based on the L 2 norm.Our analysis found that the L ∞ was much better suited to filtering out erroneous correspondences and should always be preferred to the L 2 norm.
Secondly, the baseline utilizes Equation (4) over the entire edge map of both input images, while the proposed algorithm also utilizes short pieces of curves.Using short pieces of curves proved to be an important innovation, because, as noted in Section 3.7, many incidental arrangements of edge points will still satisfy Equation (4).By utilizing short curves, we ensure that Equation (4) applies to contiguous sets of points-a powerful restriction.Our analysis showed that it was sufficient to work on the end points of the curve segments, and simply ensure that they are connected.This vastly improved the stability and performance of the algorithm.
Thirdly, the baseline identifies symmetry planes using RANSAC, while the proposed algorithm, searched across sets of four automatically detected corner features, and uses a closed form expression to make initial estimates of symmetry planes (Equations ( 5)-( 7)).This means that the proposed algorithm depends on corner detection, as described in Section 4.3.2;however, we found that, in general, the symmetry plane detection was much better than the baseline.
Finally, the most obvious difference is that the baseline uses a shape definition based on just a single plane of symmetry, as opposed to two planes of symmetry.The choice of two planes of symmetry provides additional constraints on recovered points, as specified by Equation (9), and also provides a simple mechanism for recovering occluded surfaces.This results in more accurate estimates of the vanishing points (more points are involved when optimizing Equation ( 9)), as well as more complete figures.However, note that the backs of most exemplars are not completely occluded in the corpus images, and when [44] performed well, it was almost as accurate as the proposed algorithm, even though it utilized just one plane of symmetry.The exception was the Rubbish Bin, an object whose rear facing contours are always occluded.In this case, the baseline's performance compared least favorably to the proposed algorithm.In brief, the refined method presented in this paper is faster and more robust than the baseline.

Conclusions
The results suggest that mirror symmetry-a biologically motivated prior-is useful in performing 3D recovery from pairs of stereo images.However, the algorithm was designed and tested on a specific class of symmetrical objects, namely, those with two orthogonal planes of symmetry.Although this presented potential performance issues, discussed in Section 3.6, it also allowed for straightforward recovery of the backs of objects.The formulation relied on the 3D mirror symmetry of the objects being evident in edge maps of input image pairs.Practically speaking, this limits the application of the algorithm to objects with clearly visible contours-a typical restriction for solving the symmetry correspondence problem.
The failure modes discussed in Section 4.3.2suggest that the algorithm could benefit from numerous small improvements, such as better or faster vanishing point detection.Furthermore, the algorithm has good precision (it rarely recovers false points); however, recall is limited (it tends to miss parts of objects).It is reasonable, therefore, to use the algorithms output as a starting point for completing the entire figure, perhaps using a smoothness constraint to do contour completion.
Larger improvements are also possible.First, there is no reason why the algorithm cannot be reformulated for an object definition for shapes with single planes of symmetry, while still recovering the backs of objects.This involves adding extra constraints to the object; however, these constraints may be useful in other ways.For example, as pointed out in [12], combining mirror symmetry with planarity is sufficient to recover occluded surfaces under common conditions.Many objects have planar surfaces, and psychophysical evidence suggests that humans use a planarity prior when recovering the shape of mirror symmetric curves [58].
Relaxing the use of the floor prior raises interesting questions as well.The algorithm can be modified to do this by simply letting Π (from Equation ( 8)) be generated from all pairs of corner features, and Π from all pairs of symmetry hypotheses in Π.Although the runtime would suffer, the algorithm would still recover 3D shapes, including objects floating through the air.One caveat is that part of the accuracy of the symmetry hypotheses in Π (and thus Π ) comes from the floor prior.This is because direct 3D recovery from stereo image pairs tends to be noisy, and the direction of symmetry would have to be calculated from those noisy recoveries.One way around this is to use pairs of hypotheses (from Π ) as the initialization point for some optimization procedure that modifies the symmetry plane parameters in order to maximize the number of recovered 3D points that obey Equation (4).This could potentially mean orders of magnitude more evaluations of Equation (4).These computational problems would be alleviated by finding better methods for estimating the vanishing points of objects, or perhaps other innovations with how Equation (4) is handled.
Another interesting problem is to consider solving the symmetry correspondence problem for single uncalibrated images.Solving this problem will have many immediate applications because the Internet is full of uncalibrated images of symmetric objects.The focal length of an uncalibrated image can be estimated from two orthogonal directions, if we assume that the principal point is the center of the image [59]-usually close enough if the image has not been cropped.Therefore, in theory, camera calibration could be performed from images of symmetrical objects.This may be related to how the human vision system calibrates itself [60].
The authors believe that advances in computer vision lie in a deep understanding of the priors used by the human visual system.There is a straightforward logical argument for why this is so: if we assume a computational model of human cognition, then the powerful capabilities of the human vision system are founded in the innate priors that it uses.We have used two-view geometry as a crutch to explore possible ways for solving symmetry correspondence and pointed out several small and large problems that remain to be solved.A robust and general purpose solution for the symmetry correspondence problem would significantly advance the state of the art and also have immediate applications.

Figure 1 .
Figure 1.The figure is mirror symmetric about the plane π = ñ d

Figure 4 .
Figure 4.Points u 1 and u 2 are the images of some point U ∈ R 3 , and points v 1 and v 2 are the images of some point V ∈ R 3 .Let ñ be the direction vector between U and V , and N * the intersection of ñ with the plane at infinity (see Section 3.2).Let n 1 and n 1 be the images of N * in camera 1 and 2.Then, as described in Section 3.2, u 1 , v 1 , and n 1 are co-linear, and likewise u 2 , v 2 , and n 2 are co-linear.Furthermore, u 1 and u 2 are co-linear with the binocular epipole, a point in P 2 calculated from the relative rotation and translation between the two cameras.See[22] for a full treatment.Likewise, v 1 and v 2 are also co-linear with the binocular epipole.This creates an over-constrained system, where the image points u 1 , v 1 , u 2 , and v 2 are restricted by the direction vector between the two 3D points that generated them (i.e., U and V ), and the relative rotation and translation between the two cameras.

Figure 5 .
Figure 5. Method for estimating the direction of symmetry ñ from assumed corresponding points u * i and v * i .Equation (5) is used to find F(u * i , i), and F(v * i , i), the points on the floor plane that image to u *

Figure 7 .
Figure 7. Top curve: error in 3D recovery using Triangulation[22] as a function of image noise.Bottom curve: error in 3D recovery using symmetry (Equations (2) and (3)) as a function of image noise.

Figure 8 .
Figure 8. Input shape with two planes of symmetry, and random noise.(a,b) show the right and left camera image, respectively.The shape was recovered by the proposed algorithm, and (c,d) show the recovered 3D shape as seen by the left and right camera, respectively.An animation of the recovered shape is included in the supplementary materials.

Figure 9 .
Figure 9. Precision and recall scores as a function of the percentage of noise features in the input images, for randomly generated shapes with one or two symmetry planes (vanishing points).(a) shows precision and recall for the algorithm's default parameters, listed in Table1.We see that recall is similar for both types of shapes; however, precision is better for shapes with two symmetry planes.Furthermore, precision is more robust to noise for shapes with two symmetry planes; (b) shows precision and recall when = 5.This is the in Equation (4).Loosening this threshold increases recall at the cost of lowered precision.Both precision and recall are better for two symmetry planes, indicating that the extra symmetry plane improves the algorithms performance due to the additional constraints that it provides.

Figure 10 .
Figure 10.The importance of corner detection.(a) 3D recovery fails unless at least two pairs of corner features appear that reveal the required symmetry planes.In this edge map of an image of the Bookshelf, detected corners are marked in red, and a sufficient set of four corners is marked by yellow circles; (b) degenerate view of the Rubbish Bin.Recovery fails because the back of the object is not visible, and corner detection cannot be used to determine one of the planes of symmetry; and (c) runtime suffers when corner detection produces many corner pairs that generate symmetry hypotheses orthogonal to the floor, as is the case in this image of the Tall Dense Stand.These hypotheses are not filtered out by Equation (8), and runtime tends towards O(n 4 ) in the number of detected corners.Runtime for this image was 11.48 s.

Figure 11 .
Figure 11.Degenerate views.(a)3D recovery is poor even though symmetry planes can be estimated via corner detection.The image of the object is almost symmetrical in 2D, which means that the symmetry plane contains (or runs close to) the camera center.This makes 3D recovery numerically unstable, as described in Section 3.2.Furthermore, many of the lines are almost horizontal, a degenerate case when solving binocular correspondence for two-view geometry with rectified cameras[22], which is the case here.(b,c) show 3D recoveries with the view rotated by 120-deg and 240-deg.An animation file is available in the supplementary materials.

Table 2 .
Experimental results were collected for the Children's Furniture Corpus, and a modified version of Michaux et al.

Table 3 .
3D reconstructions.The left two columns show the pair of the input images.The right two columns show 3D reconstructions, where the view has been rotated.The displayed objects are, from top to bottom: Curved Stand, Short Stand, Bookshelf, Short Dense Stand, Mid Dense Stand, and Long Table.Animation files are available in the supplementary materials.The recovered objects have two symmetry planes, and are thus naturally divided into four quadrants.