 # Global Hypothesis Generation for 6D Object Pose Estimation

This paper addresses the task of estimating the 6D pose of a known 3D object from a single RGB-D image. Most modern approaches solve this task in three steps: i) Compute local features; ii) Generate a pool of pose-hypotheses; iii) Select and refine a pose from the pool. This work focuses on the second step. While all existing approaches generate the hypotheses pool via local reasoning, e.g. RANSAC or Hough-voting, we are the first to show that global reasoning is beneficial at this stage. In particular, we formulate a novel fully-connected Conditional Random Field (CRF) that outputs a very small number of pose-hypotheses. Despite the potential functions of the CRF being non-Gaussian, we give a new and efficient two-step optimization procedure, with some guarantees for optimality. We utilize our global hypotheses generation procedure to produce results that exceed state-of-the-art for the challenging "Occluded Object Dataset".

## Authors

##### This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

## 1 Introduction

The task of estimating the 6D pose of texture-less objects has gained a lot of attention in recent years. From an application perspective this is probably due to the growing interest in industrial robotics, and in various forms of augmented reality scenarios. From an academic perspective the dataset of Hinterstoisser

et al.  marked a milestone, since researchers started to benchmark their efforts and progress in research started to be more measurable. In this work we focus on the following task. Given an RGB-D image of a 3D scene, in which a known 3D object is present, i.e. its 3D shape and appearance is known, we would like to identify the 6D pose (3D translation and 3D rotation) of that object. Figure 1: Motivation. Given an RGB-D input image (left) we aim at finding the 6D pose of a given object, despite it being strongly occluded (see zoom). Here our result (green) is correct, while Krull et al.  outputs an incorrect pose (red). The key concept of this work is to have a global, and hence powerful, geometric check, in the beginning of the pose estimation pipeline. This is in stark contrast to localgeometric checks performed by all other methods. In a first step, a random forest predicts for each pixel a set of three possible object coordinates, i.e. dense continuous part labeling of the object (middle). Given this, a fully-connected pairwise Conditional Random Field (CRF) infers globally those pixels which are consistent with the 6D object pose. We refer to those pixels as pose-consistent. The final pose is derived from these pose-consistent pixels via an ICP-variant.

Let us consider an exhaustive-search approach to this problem. We generate all possible 6D pose hypotheses, and for each hypothesis we run a robust ICP algorithm  to estimate a robust geometric fit of the 3D model to the underlying data. The final ICP score can then be used as the objective function to select the final pose. This approach has two great advantages: (i) It considers all hypotheses; (ii) It uses a geometric error to prune all incorrect hypotheses. Obviously, this approach is infeasible from a computational perspective, hence most approaches generate first a pool of hypotheses and use a geometrically motivated scoring function to select the right pose, which can be refined with robust ICP if necessary. Table 1 lists five recent works with different strategies for “hypotheses generation” and “geometric selection”. The first work by Drost et al. , and recently extended by Hinterstoisser et al. , has no geometric selection process, and generates a very large number of hypotheses. The pool of hypotheses is put into a Hough-space and the peak of the distribution is found as the final pose. Despite its simplicity, the method achieves very good results, especially on the challenging “Occluded Object dataset”, i.e. where objects are subject to strong occlusions. We conjecture that the main reason for its success is that it generates hypotheses from all local neighborhoods in the image. Especially for objects that are subject to strong occlusions, it is important to predict poses from as local information as possible. The other three approaches [3, 18, 30] use triplets, and are all similar in spirit. In a first step they compute for every pixel one, or more, so-called object coordinates, a 3D continuous part-label on the given object (see Fig.1 right). Then they collect locally triplets of points, in  these are all local triplets and in [3, 18] they are randomly sampled with RANSAC. For each triplet of object coordinates they first perform a geometry consistency check (see [3, 18, 30] for details222For instance, the geometric check of [3, 18] determines whether there exists a rigid body transformation of the triplets of 3D points, given by the depth image, for the triplet of 3D points from the object coordinates.), and if successful, they compute the 6D object pose, using the Kabsch algorithm. Due to the geometric check it is notable that the amount of generated hypotheses is substantially less for these three approaches [3, 18, 30] than for the previously discussed [4, 10]. Due to this reason, the methods [3, 18, 30] can run more elaborate hypotheses selection procedures to find the optimal hypothesis. In  this is done via a so-called robust “projective data association” procedure, in  via a hand-crafted, robust energy, and in  via a CNN that scores every hypothesis. Our work is along the same direction as [3, 18, 30], but goes one step forward. We presents a novel, and more powerful, geometric check, which results in even fewer hypotheses (between 0-10). For this reason we can also afford to run a complex ICP-like scoring function for selecting the best hypothesis. Since we achieve results that are better than state-of-the-art on the challenging occlusion dataset, our pool of hypotheses has at least the same quality as the larger hypotheses pool of all other methods. Our geometric check works roughly as follows. For each pair of object coordinates a geometry-consistency measure is computed. We combine a large number of pairs into a fully-connected Conditional Random Field (CRF) model. Hence, in contrast to existing work we perform a global geometry check and not a local one. It is important to note that despite having a complex CRF, we are able to have a runtime which is competitive with other methods, even considerably faster than . As a side note, we also achieve these state-of-the-art results with little amount of learning, in contrast to e.g. . Our contributions are in short:

• We are the first to propose a novel, global geometry check for the task of 6D object pose estimation. For this we utilize a fully-connected Conditional Random Field (CRF) model, which we solve efficiently, although its pairwise costs are non-Gaussian and hence efficient approximation techniques like  cannot be utilized.

• We give a new theoretical result which is used to compute our solutions. We show that for binary energy minimization problems, a (partial) optimal solution on a subgraph of the graphical model can be used to find a (partial) optimal solution on the whole graphical model. Proper construction of such subgraphs allows to drastically reduce the computational complexity of our method.

• Our approach achieves state-of-the-art results on the challenging occlusion dataset, in reasonable run-time (1-3s).

## 2 Related Work

The topic of object detection and pose estimation has been widely researched in the past decade. In the brief review below, we focus only on recent works and split them into three categories. We will omit the methods [3, 18, 4, 30, 10] since they were already discussed in the previous section.

Sampling-Based Methods.  Sparse feature based methods ([7, 19]) have shown good results for accurate pose estimation. They extract points of interest and match them based on a RANSAC sampling scheme. With the shift of the application scenario into robotics their popularity declined since they rely on texture. Shotton et al.  addressed the task of camera re-localization by introducing the concept of scene coordinates. They learn a mapping from camera coordinates to world coordinates and generate camera pose hypotheses by random sampling. Most recently Phillips et al.  presented a method for pose estimation and shape recovery of transparent objects where a random forest is trained to detect transparent object contours. Those edge responses are clustered and random sampling is employed to find the axis of revolution of the object. Instead of randomly selecting individual pixels we will use the entirety of the image to find pose hypotheses.

Non-Sampling-Based Methods.  An alternative to random sampling of pose hypotheses are Hough-voting based methods where all pixels cast a vote into a quantized prediction space (e.g. 2D object center and scale). The cell with the majority of votes is taken as the winner. [6, 24] used a Hough-voting-scheme for 2D object detection and coarse pose estimation. Tejani et al.  proposed an iterative latent-class Hough-voting-scheme for object classification and 3D pose estimation with RGB-D data as input. Template based methods [9, 8, 12] have also been applied to the task of pose estimation. To find the best match the template is scanned across the image and a distance metric is computed at each position. Those methods are harmed by clutter and occlusion which disqualifies them to be applied to our scenario. In our approach each pixel is processed, but instead of them voting individually we find pose-consistent pixel-sets by global reasoning.

Pose Estimation using Graphical Models.  In an older piece of work the pose of object categories was found in images either in 2D  or in 3D . They also use the key concept of discretized object coordinates for object detection and pose estimation. The MRF-inference stage for finding pose-consistent pixels is closely related to ours. Foreground pixels are accepted when the layout consistency constraint (where layout consistency means that neighboring pixels should belong to the same part) is satisfied. However since the shape of the object is unknown, the pairwise terms are not as strong as in our case. The closest related work to our is Bergholdt et al. . They use the same strategy of discriminatively modeling the local appearance of object parts and globally inferring the geometric connections between them. To detect and find the pose of articulated objects (faces, human spines, human poses) they extract feature points locally and combine them in a probabilistic, fully-connected, graphical model. However they rely on a exact solution to the problem while a partial optimal solution is sufficient in our case. We therefore employ a different approach to solve the task.

## 3 Method - Overview

Before we describe our work in detail, we will introduce the task of 6D pose estimation formally and provide a high-level overview of our method. The objective is to find the 6D pose of object , with ( matrix) describing a rotation around the object center and (vector) representing the position of the object in camera space. The pose transforms each point in object coordinate space into a point in camera space . Figure 2: Our pipeline: Given an RGB-D image (a) a random forest provides two predictions: object probabilities and object coordinates (b). In a second stage our novel, fully-connected CRF infers pose-consistent pixel-sets (see zoom) (c). In the last stage, pose hypotheses given by pose-consisent pixels of the CRF are refined and scored by an ICP-variant. The pose with the lowest score is given as output (d).

Our algorithm consists of three stages (see Fig. 2). In the first stage (Sec. 3.1) we densely predict object probabilities and object coordinates using a random forest. Instead of randomly sampling pose hypotheses as e.g. in  we use a graphical model to globally reason about hypotheses inliers. This second stage is described in Section 3.2 roughly and in Section 4 in detail. In the final stage (Sec. 3.3) we refine and rank our pose hypotheses to determine the best estimate.

### 3.1 Random Forest

We use the random forests from Brachmann et al. 333We kindly thank the authors for providing them. Each tree of the forest predicts for each pixel an object probability and an object coordinate. As mentioned above, an object coordinate corresponds to a 3D point on the surface of the object. In our case we have . As in  the object probabilities from multiple trees that are combined to one value using Bayes rule. This means that for a pixel and object we have the object probability . The object probabilities can be seen as a soft segmentation mask.

### 3.2 Global Reasoning

In general, to estimate the pose of a rigid object, a minimal set of three correspondences between 3D points on the object and in the 3D scene is required . The 3D points on the object, i.e. in the object coordinate system, are predicted by the random forest. One possible strategy is to generate such triplets randomly by RANSAC , as proposed in . However, this approach has a serious drawback: the number of triples which must be generated by RANSAC in order to have at least a correct triple with the probability of 95%, is very high. Assuming that out of pixels contain correct correspondences, the total number of samples is . For

, which corresponds to a state-of-the-art local classifier, this constitutes

RANSAC iterations. Therefore, we address this problem with a different approach. Our goal is to assign to each pixel either one of the possible correspondence candidates, or an “outlier” label. We achieve this by formalizing a graphical model where each pixel is connected to every other pixel with a pairwise term. The pairwise term encodes a geometric check which is defined later. The optimization problem of this graphical model is discussed in Sec.

4.2.

### 3.3 Refinement and Hypothesis Scoring

The output of the optimization of the graphical model is a collection of pose-consistent pixels where each of those pixels has a unique object coordinate. The collection is clustered into sets. In the example in Fig. 2(c) there are two sets (red, green). Each set provides one pose hypothesis. These pose hypotheses are refined and scored using our ICP-variant. In order to be robust to occlusion we only take the pose-consistent pixels within the ICP  for fitting the 3D model.

## 4 Method - Graphical Model

After a brief introduction to graphical models (Sec. 4.1), we define our graphical model used for object pose estimation (Sec. 4.2). This is a fully-connected graph where each node has multiple labels, here 13. The globally optimal solution of this problem gives a pose-consistent (inlier) label to only those pixels that are part of the object, ideally. Since our potential functions are non-Gaussian the optimization problem is very challenging. We solve it, very efficiently, in a two stage procedure, with some additional guarantees. The first stage conservatively prunes those pixels that are likely not inliers. This is done with a sparsely connected graph and TRW-S  as inference procedure (Sec. 4.3). The second stage (Sec. 4.4 - 4.6) describes an efficient procedure for solving the problem with only the inlier candidates remaining. We proove that by splitting this problem further into subproblems, in a proper way, a solution to one of these subproblems is guaranteed the optimal solution of the original problem.

### 4.1 Energy Minimization

Let be an undirected graph with a finite set of nodes and a set of edges . With each node we associate a finite set of labels . Let stand for the Cartesian product. The set is called the set of labelings. Its elements , called labelings, are vectors with coordinates, where each one specifies a label assigned to the corresponding graph node. For each node a unary cost function is defined. Its value , specifies the cost to be paid for assigning label to node . For each two neighboring nodes a pairwise cost function is defined. Its value specifies compatibility of labels and in the nodes and , respectively. The triple defines a graphical model.

The energy of a labeling is a total sum of the corresponding unary and pairwise costs

 EV(l):=∑u∈Vθu(lu)+β∑uv∈Eθuv(lu,lv). (1)

Finding a labeling with the lowest energy value constitutes an energy minimization problem. Although this problem is NP-hard, in general, a number of efficient approximative solvers exist, see  for a recent review.

### 4.2 Pose Estimation as Energy Minimization

Consider the following energy minimization problem:

• The set of nodes is the set of pixels of the input image, i.e., each graph node corresponds to a pixel. To be precise, we scale down our image by a factor of two for faster processing, i.e. each graph node corresponds to pixels.

• Number of labels in every node is the same. The label set consists of two parts, a subset of correspondence proposals and a special label o. In total, each node is assigned labels: The forest provides candidates for object coordinates in each pixel, pixels result in labels, and the last label is the “outlier”.

Each label from the subset corresponds a 3D coordinate on the object. Therefore, we will associate such labels with 3D vectors and assume vector operations to be well-defined for them. Unary costs for these labels are set to , where is defined in Section 3.1 and is a hyper-parameter of our method. We will call the labels from inlier labels or simply inlier.

The special label o denotes a situation in which the corresponding node does not belong to the object, or none of the labels in predicts a correct object coordinate. We call o the “outlier label”. Unary costs for the outlier labels are: , .

Let us define pose-consistent pixels. If a node, comprising of pixels, is an inlier then the pixel with the respective label is defined as pose-consistent. The remaining three pixels are not pose-consistent and are ignored in the hypotheses selection stage. Also all pixels for which the node has an outlier label are not pose-consistent.

• Let and be points in the camera coordinate system, corresponding to the nodes and in the scene. For any two inlier labels and we assign the pairwise costs as follows

 θuv(lu,lv)={∣∣∥lu−lv∥−∥xu−xv∥∣∣,∥xu−xv∥≤D∞,otherwise. (2)

That is, is equal to the absolute difference of distances between points on the object and in the scene (see Fig. 3) if the latter difference does not exceed the object size .

Additionally, we define for , . Here is another hyper-parameter of our method. A sensible setting is , however, we will choose in parts of the optimization (see details below). We also assign , for all .

• The graph is fully-connected, i.e., any two nodes are connected by an edge . Figure 3: Visualization of our binary potential as defined in Eq. 2.

Given a labeling we will speak about inlier and outlier nodes as those labeled with inlier or outlier labels, respectively.

The energy of any labeling is a sum of (i) the total unary costs for inlier labels, (ii) total geometrical penalty of the inlier labels, and (iii) total cost for the outlier labels. A labeling with the minimal energy corresponds to a geometrically consistent subset of coordinate correspondences with a certain confidence for the local classifiers. We believe, there are such hyper-parameter settings that these coordinates would provide approximately correct object poses.

Why a fully-connected graph? At the first glance, one could reasonably simplify the energy minimization problem described above by considering a sparse, e.g. grid-structured graph. In this case the pairwise costs would control not all pairs of inlier labels, but only a subset of them, which may seem to be enough for a selection of inliers defining a good quality correspondence. Unfortunately, such a simplification has a serious drawback, nicely described in : As soon as the graph is not fully connected, it tends to select an optimal labeling, which contains separated “islands” of inlier nodes, connecting to other “inlier-islands” only via outlier nodes. Such a labeling may contain geometrically independent subsets of inlier labels, which may “hallucinate” the object in different places of the image. Moreover, from our experience many of such “islands” contain less than three nodes, which increases the probability for pairwise geometrical costs to be low just by chance.

Concerning energy minimization. Apart from the very special case with Gaussian potentials (like e.g. ) even solving approximately an energy minimization problem on the fully-connected graph with nodes (which corresponds to the size of our discretized input image) is in general an infeasible task for modern methods. Therefore, we suggest here a problem-specific, but very efficient two-stage procedure for generating approximative solutions of the considered problem. In a first stage (Sec. 4.3) we reduce the size of the optimization problem, in the second (Sec. 4.4) we generate solution candidates.

### 4.3 Stage One: Problem Size Reduction

Despite what is discussed above about having a fully-connected graph, we used such a sparse graphical model to reduce the number of possible correspondence candidates. An optimal labeling of this sparse model provides us with a set of inlier nodes, which hopefully contain the true inliers. On the second stage of our optimization procedure, described below, we build several fully-connected graphs from these nodes. For the sparse graph we use the following neighborhood structure: we connect each node to 48 closest nodes excluding the closest 8. We believe that the distance measure between the closest nodes is very noisy.

We assign a positive value to the parameter penalizing transitions between inlier and outlier labels. This decreases the number of “inlier islands” by increasing the cost of the transition. We approximately solved this sparse problem with the TRW-S algorithm , which we run for iterations. We found the recent implementation  of this algorithm to be up to times faster than the original one  for our setting. Figure 4: Illustrating Optimization Stage Two. (Left) the black pixels are all those pixels which were labeled as inliers, (potentially pose-consistent) in the first stage of the optimization. The first stage is opportunistic in the sense that wrong inliers may still be present. The goal of the second stage is to determine exactly the true inliers, from which we will determine the final pose. For this we have to solve the fully-connected graph shown, where each pixel has two labels, being an inlier (1) or outlier (0). Here the red links mark pairwise terms which contain ∞ values. Unfortunately, state of the art solvers struggle with this problem, due to the presence of red links. We solve this by solving two (in practice many more) submodels (middle, right) that contain no red links. Each sub-problem produces a partial optimal solution {0,1,?}, where nodes that do not belong to the submodel are labeled 0. We can now guarantee that one of the partial optimal solution is the partial optimal solution of the full graph shown on the left.

### 4.4 Stage Two: Generation of Solution Candidates

Fully-Connected Graphical Model.  As mentioned above, in the second stage we consider a fully-connected graphical model, where the node set contains only inlier nodes from the solution of the sparse problem. Moreover, to further reduce the problem size, we reduce the label set in each node to only two labels , where the label corresponds to an outlier and the label corresponds to the label associated with the node in the solution of the sparse problem. The unary and pairwise costs are assigned as before, but the hyper-parameters , and are different. In particular since there is no reason to penalize transitions between inlier and outlier on this stage. Further, we will refer to defined above, as to master (fully-connected) model .

Although such problems usually have a much smaller size (the solution of the sparse problem typically contains to inliers) our requirements to a potential solver are much higher at this stage. Whereas in the first stage we require only that the set of inlier nodes contains enough of correct correspondences, the inliers obtained on the second stage must be all correct (have small geometrical error). Incorrect correspondences may deteriorate the final pose estimation accuracy. Therefore the quality of the solution becomes critical on this stage. Although problems of this size are often feasible for exact solvers, obtaining an exact solution may take multiple minutes or even hours. Therefore, we stick to the methods delivering only a part of an optimal solution (partial optimal labeling), but being able to do this in a fraction of seconds, or seconds, depending on the problem size. Indeed, it is sufficient to have only three inlier to estimate the object pose.

Partial Labeling.  Under a partial labeling we understand a vector with only a subset of coordinates assigned a value or . The rest of coordinates take a special value = “unlabeled”. Partial labeling is called partial optimal labeling, if there exists an optimal labeling such that for all .

There are a number of efficient approaches addressing partial optimality (obtaining partial optimal labelings) for discrete graphical models for both multiple [25, 22] and two-label cases [16, 28]. We refer to  for an extensive overview. For problems with two labels the standard partial optimality method is QPBO , which we used in our experiments.

All partial optimality methods are based on sufficient optimality conditions, which have to be fulfilled for a partially optimal labeling. However, as it directly follows from [26, Prop.1], these conditions can hardly be fulfilled for label in a node , if for some neighboring node the difference between the smallest pairwise potential “attached” to the label , and the largest one is very large. In our setting this is the case, e.g., if for two nodes and (connected by an edge as any pair in a fully-connected graph) it holds , see (2). Existence of such infinite costs leads to deterioration of the QPBO results: in many cases the returned partial labeling contains less than labeled nodes, which is not sufficient for pose estimation.

To deal with this issue, we propose a novel method to find multiple partial labelings: We consider a set of induced submodels (see Definition 1 below) and find a partial optimal solution for each of them. We guarantee, however, that at least one of these partial labelings is a partial optimal one for the whole graphical model and not only for its submodel. Considering submodels allows to significantly reduce the number of node pairs with . In its turn, it leads to many more nodes being marked as partially optimal by QPBO and therefore, provides a basis for a high quality pose reconstruction (see Fig. 4).

The theoretical background for the method is provided in the following subsection.

### 4.5 On Optimality of Subproblem Solutions for Binary Energy Minimization

Let be a graph and be a subset of its nodes. A subgraph is called induced w.r.t. , if contains all edges of connecting nodes within .

###### Definition 1.

Let be a graphical model with and . A graphical model is called induced w.r.t.  if
is an induced subgraph of w.r.t. .
.
for and for .

###### Proposition 1.

Let be a graphical model, with , and such that

 θuv(0,1)=θuv(1,0)=θuv(0,0)=0∀{u,v}∈E. (3)

Let be an energy minimizer of and .
Let be an induced model w.r.t. some and be an energy minimizer of . Then there exists a minimizer of energy of , such that for all .

###### Proof.

. Since due to (3), the equality holds. The inequality holds by definition of . Let us consider the labeling constructed by concatenation of on and on . Its energy is equal to the right-hand-side of the expression, due to (3). Since is an optimal labeling, the inequality holds as equality and the labeling is optimal as well. It finalizes the proof. ∎

###### Corollary 1.

Let under condition of Proposition 1 be a partial optimal labeling for . Then it is partial optimal for .

Note, since pairwise costs of any two-label (pairwise) graphical model can be easily transformed to the form (2), see e.g. , Proposition 1 is generally applicable to all such models.

### 4.6 Obtaining Candidates for Partial Optimal Labeling

To be able to use Proposition 1 we need a way to characterize possible optimal labelings for the master model (defined in Section 4.4) to be able to generate possible sets containing all inlier nodes of an optimal labeling. Indeed, this characterization is provided by the following proposition:

###### Proposition 2.

Let be an optimal solution to the fully-connected problem described above. Then for any two inlier nodes and , , it holds or, in other words, .

This proposition has a trivial proof: as soon as there is a labeling with a finite energy (e.g. for all ), an optimal labeling can not have an infinite one.

An implication of the proposition is quite clear from the applied point of view: all inlier nodes must be placed within a circle with a diameter equal to the maximal linear size of the object. Combining this observation with Proposition 1, we will generate a set of submodels, which contain all possible subsets of nodes satisfying the above condition.

A simple, yet inefficient way to generate all such submodels, is to go over all nodes of the graph and construct a subproblem induced by nodes, which are placed at most at the distance of . A disadvantage of this method is that one gets as many as subproblems, which leads to the increased runtime and too many almost equal submodels. Instead, we consider all connected inlier components obtained on the first stage as a result of the problem reduction. We remove all components with the size less than , because, as we found experimentally, they mostly represent only noise. We enumerate all components, i.e., assign a serial number to each. For each component we build a fully-connected submodel, which includes itself and all components with bigger serial number within the distance from all nodes of . Such an approach usually leads to at most submodels and most of them get more than partial optimal labels by QPBO.

## 5 Experiments Figure 5: Qualitative results of our method on the “Occluded Object Dataset” . Results of our method are depicted as green silhouettes, the ground truth pose is shown as a blue silhouette and results of the method by Krull et al.  are shown as red silhouettes. Note, since these results shows correct poses of our method the green silhouette is on top of the blue one. Figure 6: Failure case. We use the random forest from  which were trained on image patches of non-occluded objects. Hence they can only handle a moderate level of occlusion. In case of strong occlusion they fail to predict good object coordinates. In the illustrated example, a wrong pose is predicted (green silhouette) and the object coordinates are also wrong (see zoom). In future work, this problem can be mitigated for instance by training on image patches that contain occlusions.

We evaluated our method on a publicly available dataset. We will first introduce the dataset and then the evaluation protocol (Sec. 5.1). After that, we quantitatively compare our work with three competitors, and also present qualitative results (Sec. 5.2).

### 5.1 Dataset

To evaluate our method, we use the publicly available dataset of Brachmann et al. , known as “Occluded Object Dataset”. This dataset was presented in  and is an extension of . They annotated the ground truth pose for 8 objects in 1214 images with various degrees of object occlusions.

To evaluate our method we use the criteria from . This means we measure the percentage of correctly estimated poses for each object. To determine the quality of an estimated pose we calculate the average distance of each point with respect to the estimated pose and the ground truth pose. The pose is accepted if the average distance is below 10% of the object diameter.

To find good parameters for our graphical model we created a validation set, which we will make publicly available. For this we annotated an additional image sequence (1235 images) of  containing 6 objects. The final set of parameters for stage one is and stage two is .

### 5.2 Results

In the following we compare to the methods of Brachmann et al. , Krull et al.  and to the recently published state-of-the-art method of Hinterstoisser et al. . Results are shown in Table 2. We achieve an average accuracy of over all objects, which is better than the current state-of-the-art method of Hinterstoisser et al. . With respect to individual objects our method performs best on four objects and  on the other four. In comparison with  and  we achieve an improvement of and respectively. Since these two methods use the same random forest, as we do, the benefits of using global reasoning can be seen. See Fig. 5 for qualitative results.

## 6 Conclusion and Future Work

In this work we have focused on the pose-hypothesis generation step, which is part of many pipelines for 6D object pose estimation. For this, we introduced a novel, global geometry check in form of a fully connected CRF. Since this direct optimization on the CRF is hardly feasible, we present an efficient two-step optimization procedure, with some guarantees on optimality. There are many avenues for future work. An obvious next step is to improve on the regression procedure for object coordinates, e.g

. by replacing the random forests with a convolutional neural network.

#### Acknowledgements.

This work was supported by: European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No 647769); German Federal Ministry of Education and Research (BMBF, 01IS14014A-D); EPSRC EP/I001107/2; ERC grant ERC- 2012-AdG 321162-HELIOS. The computations were performed on an HPC Cluster at the Center for Information Services and High Performance Computing (ZIH) at TU Dresden.

## References

•  M. Bergtholdt, J. Kappes, S. Schmidt, and C. Schnörr. A study of parts-based object class detection using complete graphs.

International Journal of Computer Vision

, 87(1):93, 2009.
•  P. J. Besl and N. D. McKay. A method for registration of 3-d shapes. IEEE Trans. Pattern Anal. Mach. Intell., 14(2):239–256, 1992.
•  E. Brachmann, A. Krull, F. Michel, J. Shotton, S. Gumhold, and C. Rother. Learning 6d object pose estimation using 3d object coordinates. In Proceedings of the 14th European Conference on Computer Vision, ECCV ’14, 2014.
•  B. Drost, M. Ulrich, N. Navab, and S. Ilic. Model globally, match locally: Efficient and robust 3d object recognition. In CVPR, pages 998–1005. IEEE Computer Society, 2010.
•  M. Fischler and R. Bolles. Random sample consensus: A paradigm for model fitting with applications to image analysis and automated cartography. Communications of the ACM, 24(6):381–395, 1981.
•  J. Gall, A. Yao, N. Razavi, L. J. V. Gool, and V. S. Lempitsky. Hough forests for object detection, tracking, and action recognition. IEEE Trans. Pattern Anal. Mach. Intell., 33(11):2188–2202, 2011.
•  I. Gordon and D. G. Lowe. What and Where: 3D Object Recognition with Accurate Pose. Springer Berlin Heidelberg, Berlin, Heidelberg, 2006.
•  S. Hinterstoisser, C. Cagniart, S. Ilic, P. F. Sturm, N. Navab, P. Fua, and V. Lepetit. Gradient response maps for real-time detection of textureless objects. IEEE Trans. Pattern Anal. Mach. Intell., 34(5):876–888, 2012.
•  S. Hinterstoisser, V. Lepetit, S. Ilic, S. Holzer, G. R. Bradski, K. Konolige, and N. Navab. Model based training, detection and pose estimation of texture-less 3d objects in heavily cluttered scenes. In ACCV (1), pages 548–562, 2012.
•  S. Hinterstoisser, V. Lepetit, N. Rajkumar, and K. Konolige. Going further with point pair features. In Proceedings of the 15th European Conference on Computer Vision, ECCV ’16, 2016.
•  D. Hoiem, C. Rother, and J. M. Winn. 3d layoutcrf for multi-view object class recognition and segmentation. In CVPR. IEEE Computer Society, 2007.
•  D. P. Huttenlocher, G. A. Klanderman, and W. Rucklidge. Comparing images using the hausdorff distance. IEEE Trans. Pattern Anal. Mach. Intell., 15(9):850–863, 1993.
•  W. Kabsch. A solution for the best rotation to relate two sets of vectors. Acta Crystallographica Section A, 32(5):922–923, Sep 1976.
•  J. H. Kappes, B. Andres, F. A. Hamprecht, C. Schnörr, S. Nowozin, D. Batra, S. Kim, B. X. Kausler, T. Kröger, J. Lellmann, N. Komodakis, B. Savchynskyy, and C. Rother. A comparative study of modern inference techniques for structured discrete energy minimization problems. International Journal of Computer Vision, pages 1–30, 2015.
•  V. Kolmogorov. Convergent tree-reweighted message passing for energy minimization. In Transactions on Pattern Analysis and Machine Intelligence (PAMI), PAMI ’06, 2006.
•  V. Kolmogorov and C. Rother. Minimizing non-submodular functions with graph cuts-a review. IEEE transactions on pattern analysis and machine intelligence, 29(7):1274–1279, 2007.
•  P. Krähenbühl and V. Koltun. Efficient inference in fully connected crfs with gaussian edge potentials. NIPS, 2011.
•  A. Krull, E. Brachmann, F. Michel, M. Y. Yang, S. Gumhold, and C. Rother. Learning analysis-by-synthesis for 6d pose estimation in rgb-d images. In In Proceedings of the 15th International Conference on Computer Vision, ICCV ’15, 2015.
•  M. Martinez, A. Collet, and S. S. Srinivasa. Moped: A scalable and low latency object recognition and pose estimation system. In ICRA, pages 2043–2049. IEEE, 2010.
•  C. J. Phillips, M. Lecce, and K. Daniilidis. Seeing glassware: from edge detection to pose estimation and shape recovery. In D. Hsu, N. M. Amato, S. Berman, and S. A. Jacobs, editors, Robotics: Science and Systems, 2016.
•  A. Shekhovtsov. Maximum persistency in energy minimization. In CVPR, pages 1162–1169. IEEE Computer Society, 2014.
•  A. Shekhovtsov, P. Swoboda, and B. Savchynskyy. Maximum persistency via iterative relaxed inference with graphical models. In

The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)

, CVPR ’15, 2015.
•  J. Shotton, B. Glocker, C. Zach, S. Izadi, A. Criminisi, and A. Fitzgibbon. Scene coordinate regression forests for camera relocalization in rgb-d images. In Proc. Computer Vision and Pattern Recognition (CVPR). IEEE, June 2013.
•  M. Sun, G. R. Bradski, B.-X. Xu, and S. Savarese. Depth-encoded hough voting for joint object detection and shape recovery. In K. Daniilidis, P. Maragos, and N. Paragios, editors, ECCV (5), volume 6315 of Lecture Notes in Computer Science, pages 658–671. Springer, 2010.
•  P. Swoboda, B. Savchynskyy, J. H. Kappes, and C. Schnörr. Partial optimality by pruning for map-inference with general graphical models. In CVPR, pages 1170–1177. IEEE Computer Society, 2014.
•  P. Swoboda, A. Shekhovtsov, J. Kappes, C. Schnörr, and B. Savchynskyy. Partial Optimality by Pruning for MAP-Inference with General Graphical Models. IEEE Trans. Patt. Anal. Mach. Intell., 38(7):1370–1382, 7 2016.
•  A. Tejani, D. Tang, R. Kouskouridas, and T.-K. Kim. Latent-class hough forests for 3d object detection and pose estimation. In D. J. Fleet, T. Pajdla, B. Schiele, and T. Tuytelaars, editors, ECCV (6), volume 8694 of Lecture Notes in Computer Science, pages 462–477. Springer, 2014.
•  C. Wang and R. Zabih. Relaxation-based preprocessing techniques for markov random field inference. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5830–5838, 2016.
•  J. Winn and J. Shotton. The layout consistent random field for recognizing and segmenting partially occluded objects. In Proceedings of IEEE CVPR, January 2006.
•  C. Zach, A. Penate-Sanchez, and M.-T. Pham. A dynamic programming approach for fast and and robust object pose recognition from range images. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), CVPR ’15, 2015.