Position and orientation estimation neural network system and method

Abstract: A system (10) for determining the pose (translation, rotation, and scale), or position and orientation, of a model object (12) that best matches a target object (11) located in image data (10). It does this through an iterative process by making small adjustments to the original position and orientation of the model object (12) until it converges to a state that best matches the target object (11) contained in the image data (10). The system (10) comprises an edge detector (22) for processing the digitized image (10) to produce edge data (23) representative of edges of the target object (11). Model storage (24) is provided for storing model data (24) corresponding to the model object (12) that is to be detected. The model data (24) comprises a plurality of data points disposed along edges of the model object (12). A minimum distance vector calculator (25) is coupled to the model storage (24) and to the edge detector (22) for processing the edge data (23) and the model data (24) for each data point in the model object (12) relative to each point in the target object (11) to produce a set of minimum distance vectors between the model object (12) and the target object (11). A neural network (26) is coupled to the the minimum distance vector calculator (25) for estimating translation, rotation, and scaling adjustments that are to be made to the model object (12) that are adapted to translate, rotate, and scale the model relative to the target object (12). A position and orientation adjustment module (27) is coupled between the neural network (26) and the model storage (24) for adjusting the position of the model object (12) relative to the target object (11) based upon the estimated translation, rotation, and scaling adjustments provided by the neural network (26). Iterative calculation of the minimum distance vectors, estimation of the translation, rotation, and scaling adjustments, and adjustment of the position of the model is adapted to reposition the model object (12) until it substantially overlays the target object (11), thus providing an estimate of the position and orientation of the target object (11) in the digitized image (10). A method (20) for determining the position and orientation of the target object (11) in a digitized image (21) is also disclosed.

Description: BACKGROUND The present invention relates generally to neural network systems and methods and, more particularly, to a position and orientation estimation neural network system and processing method that may be employed in an automatic target recognition system. There are several conventional approaches that have been used to estimate the position and orientation of objects in computer vision applications, and particularly in automatic target recognition applications. The gradient descent approach is commonly used to solve computer vision problems of this type. However the gradient descent approach has the problem of getting stuck in "local minima" and thus produces poor solutions. The gradient descent and exhaustive search approaches are also computationally inefficient, and are difficult to implement on a real time hardware system. Furthermore, the conventional approaches do not provide practical solutions within high dimensional problem spaces. Such a conventional approach is given in US-A-5,111,516. Accordingly, a basic image of objects is extracted from a two-dimensional image of objects. Geometrical elements of the objects are extracted from the extracted basic image. The objects to be recognised are identified by searching a combination of the geometrical elements which match a geometrical model and then utilising candidate position/orientation of the objects to be recognised, said candidate position/orientation being determined from a relationship in relative position between the combination of geometrical elements and the geometrical model. Mesh cells fixed to the geometrical model are mapped on the basic image based on the candidate position/orientation. In addition, verification is made as to whether an image of the geometrical model mapped by the candidate position/orientation is accurately matched with an image of one of the objects to be recognised, through a neural network to which values got from the basic image included in the individual mesh cells are to be applied as input values. Combination weight factors employed in the neural network are learned according to the verified results. It is also possible to recognise the multi-purpose objects according to how to learn the combination weight factors. A further conventional approach is set out in US-A-4,630,225. Accordingly, data relating to the distances between each of all the feature points of the article to be checked and the other feature points thereof is stored in a memory in advance. The image of the article is picked up by a camera, and the resulting image data is stored in another memory. With use of a computer, data relating to the distances of at least two of the feature points of the article from other feature points thereof is obtained from the image data. The two feature points are identified by checking the data relating to the distances of the two feature points from other feature points with reference to the stored data relating to the distances between each feature point and the other feature points. The orientation of the article is determined based on the direction through the two identified feature points. Accordingly, it is an objective of the present invention to provide a position and orientation estimation neural network system that overcomes the limitations of conventional approaches. It is also an objective of the present invention to provide a position and orientation estimation neural system that may be employed in an automatic target recognition system. SUMMARY OF THE INVENTION The present invention is a position and orientation estimation neural network system and processing method that determines the pose (translation, rotation, and scale), or position and orientation, of a model object that best matches a target object located in image data. It does this through an iterative process by making small adjustments to the original position and orientation of the model object until it converges to a state that best matches the target object contained in the image data. More particularly, the present invention is a system as defined in claim 1 for determining the position and orientation of the target object in a digitized image. The system comprises an edge detector for processing the digitized image to produce edge data representative of edges of the target object. A model storage means is provided for storing a model of the target object that is to be detected, which target model comprises a plurality of data points disposed along edges of the model object. A minimum distance vector calculation means processes the edge data and model data to produce a set of minimum distance vectors between the model object and target object. A neural network is employed for estimating translation, rotation, and scaling adjustments for the model object relative to the target object. Position and orientation adjustment means are employed for adjusting the position and orientation of the model object relative to the target object based upon the estimated translation, rotation, and scaling adjustments provided by the neural network. Iterative calculation of the minimum distance vectors, estimation of the translation, rotation, and scaling adjustments, and adjustment of the position and orientation of the model object is adapted to reposition and reorient the model object until it substantially overlays the target object. Final position and orientation of the model object provides an estimate of the position and orientation of the target object in the digitized image. The neural network may comprise a three layer perceptron trained by a back-propagation learning algorithm. The neural network may comprise 2n input neurons, fifty hidden neurons, and four output neurons. Each output of the output neurons is typically interpreted in a trinary manner by the position and orientation adjustment means. One method as defined in claim 5 for determining the position and orientation of an object in the digitized image in accordance with the present invention comprises the following steps. The first step comprises processing the digitized image to produce edge data representative of edges of the target object. A model object that is to be detected is stored. The edge data and the model data are then processed for each data point in the model object relative to each point in the target object to produce a set of minimum distance vectors between the model object and the target object. The set of minimum distance vectors is processed using a neural network to estimate translation, rotation, and scaling adjustments that are to be made to the model. The position and orientation of the model object are adjusted relative to the target object based upon the estimated translation, rotation, and scaling adjustments. The last three steps are iterated until the model object substantially overlays the target object. This provides an estimate of the position and orientation of the target object in the digitized image. The present system provides a solution to one computer vision object recognition problem. The present system could be designed to function as one module within a larger neural network automatic target recognition system under development by the assignee of the present invention. The system has several advantages over conventional approaches that may be applied to the same problem. For instance, the present system provides much better solutions than the gradient descent approach because it does not operate on an energy minimization principle. Therefore, the present invention overcomes a severe limitation found in many conventional approaches. The present system is also much more computationally efficient than either gradient descent or exhaustive search methods, and is much more feasible for implementation on a real time hardware system. The present system may be used to provide solutions within high dimensional problem spaces that are not practical using any other approach. The present system can be of benefit to any system that achieves object recognition using computer vision. Some of the possible commercial applications include vision based factory automation systems, part inspection, and autonomous vehicle guidance. BRIEF DESCRIPTION OF THE DRAWINGS The various features and advantages of the present invention may be more readily understood with reference to the following detailed description taken in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which: Fig. 1a illustrates a typical digitized video image of an object processed by the present invention; Fig. 1b illustrates a model object that is to be matched to the object in the image in Fig. 1a; Fig. 2 illustrates a reduction in pose space achieved by the present invention; Fig. 3 illustrates a position and orientation estimation neural network system in accordance with the principles of the present invention; Fig. 4 shows a sampled contour model used by the system of Fig. 3; Fig. 5 shows a typical minimum distance vector calculation; Fig. 6 illustrates the neural network employed in the system of Fig. 3; Fig. 7 illustrates training of the neural network of Fig. 6; Fig. 8, comprising Figs. 8a-8d, shows data illustrative of a test of the system of Fig. 4 on simulated M1 tank data; Fig. 9 illustrates an example of a gradient descent local minima; and Fig. 10, comprising Figs. 10a-10h, shows operation of the present invention on simulated T62 tank. DETAILED DESCRIPTION The position and orientation estimation problem addressed by the present invention is a subset of a general computer vision object recognition problem. The position and orientation estimation problem may be stated as follows. Given an image of a target object contained in a background, and a model object that is to be matched to the target object, what is the position and orientation (pose) for the model object that best matches the target object? Referring to the drawing figures, Fig. 1a illustrates a digitized video image 10 (or image data 10) of a target object 11 derived from an infrared FLIR system (not shown), and Fig. 1b illustrates a model object 12 of a vehicle that is to be matched to the target object 11 in the image 10 in Fig. 1a. In accordance with the principles of the present invention, answering the above question results in a reduction in the size of the position and orientation space 15 (or pose space 15) shown in Fig. 2, corresponding to the space containing possible position and orientations for the model object 12. Consequently, the better the answer, the smaller the resulting position and orientation space 15 as is illustrated in Fig. 2, which illustrates the reduction in pose space 15, or pose volume 16, achieved by the present invention. As such the pose volume 16 is reduced in size to provide a reduced pose volume 16a. The region of six dimensional space of possible positions and orientations for the model object 12 is known as the pose volume 16. The initial size and shape of this volume 16 in pose space 15 is determined by apriori information regarding the image data 10. For instance, in an infrared (FLIR) image 10 of the target object 11, it is known that the target object 11 does not appear upside down or in a vertical orientation. In addition, it is also known that the target object 11 must be located somewhere within the boundaries of the image 10 (FLIR field of view). The extent of the initial pose volume 16 is thus limited by this information. Finding the best pose for the model object 12 is equivalent to reducing the size of the pose volume 16, as illustrated in Fig. 2. Ideally the pose volume 16 is reduced to a single point. The present invention is able to reduce a pose volume 16 in four dimensions, comprising three dimensions of position and one of orientation, to a point. It reduces the dimensionality of the pose volume 16 from six to two. The two remaining dimensions of the pose volume 16 are pitch and ground plane rotation. Fig. 3 illustrates a position and orientation estimation neural network system 20 in accordance with the principles of the present invention. The position and orientation estimation neural network system 20 is adapted to process digitized image data 21 that is derived from a video source (not shown), such as a forward looking infrared (FLIR) system. The digitized image data 21 is processed by an edge detector 22 to produce edge data 23 (or an edge image 23) representative of edges of the target object 11 present in the image data 10. Model objects 12, also referred to as model data 24, that are representative of target objects 11 that may be present in the image data 21, are stored, such as in a database, for example. The model data 24 comprises a single set of data points located along the edges of model objects 12. The edge data 23 and the model data 24 are processed such that minimum distance vector calculations 25 are performed for each data point in the model object 12 relative to each point in the edge data 23. Outputs of the minimum distance vector calculation 25 are applied to a neural network 26 that is adapted to estimate translation, rotation, and scaling adjustments that are to be made to the model data 24. Outputs of the neural network 26 are applied to position and orientation (pose) adjustment module 27 that adjusts the position of the model data 24 relative to the edge data 23 of the target object 11 to reposition the model object 12 with respect to the target object 11 based upon the latest calculations provided by the neural network 26. Iterations are made during subsequent processing cycles until the model data 24 overlays the edge data 23 representing the target object 11. More specifically, and during operation of the system 20, an edge image of the input data image 10 corresponding to the object 12 is formed by the edge detector 22. The edge detector 22 may be implemented by using a regularization network, for example. A sampled contour model object 12 is then placed in the image 10. This sampled contour model object 12 corresponds to the model object 12 that the system 20 adjusts. The sampled contour model object 12 is created by sampling every sixth contour point around the complete contour of the model object 12, as is illustrated in Fig. 4. More specifically, Fig. 4 shows the sampled contour model object 12 that may be used by the system 20. The system 20 adjusts the model object 12 from an initial position in the image 10 to a final position in an iterative manner, making small changes that accumulate over many cycles. The model object 12 converges to a final position that corresponds to a position and orientation estimate for the target object 11 in the image 21. It has been found that the system 20 operates very successfully in four dimensions. It effectively adjusts translation, rotation, and scale of the model object 12 to provide for the correct position and orientation of the target object 11. These changes in model translation, rotation, and scale within the two dimensional image 21 correspond to projected changes in position and orientation in the original six dimensional pose space 15 defined above. Fig. 5 illustrates a typical minimum distance vector calculation. At the beginning of a processing cycle, a minimum distance vector calculation is used to preprocess the image data 10 for input to the neural network 26. It is used to represent the model-to-data closeness of match for input into the neural network 26. This geometrical relationship between the model object 12 and the data 10 is first determined by forming vectors between each point in the model object 12 and the nearest data point to it. The x and y components of these vectors, as computed from a reference frame attached to the model object 12, are then used as input to the neural network 26. Fig. 6 illustrates the neural network 26 employed in the system 20. The neural network 26 used in the system 20 is a three layer perceptron trained by a back-propagation learning algorithm. The neural network 26 comprises 2n input neurons 31 (where n is the number of model points in the sampled contour model), for example, fifty intermediate neurons 32, for example, and four output neurons 33 (corresponding to Δx, Δy, Δ, and Δs). Each of the outputs of the output neurons 33 is interpreted in a trinary manner by the position and orientation adjustment module 27 which then executes the pose adjustment. In this manner, the neural network 26 is capable of accurately traversing a complex four dimensional state space in a relatively small number of iterations by outputting small pose corrections or adjustments at each iteration. The position and orientation adjustment module 27 interprets the output of the neural network 26 and adjusts the position and orientation of the model object 12 accordingly. The model object 12 may be translated in x and y directions, rotated, or scaled. The trinary output of each output neuron 33 is (-1,0,1). An output of plus or minus one is interpreted as adjustments of plus or minus one pixel for translation, plus or minus one degree for rotation, or plus or minus one percent for scale. A zero output corresponds to no adjustment at all. The rules for performing the adjustments are given below. After each adjustment is performed, a new set on minimum distance vectors is computed and the cycle repeats until the system 20 reaches a state of convergence, yielding a final pose estimate for the object 12 in the image data 10. The specific pose adjustments employed in the system 20 are given below. It is to be understood that the system 20 is not limited to these specific adjustments. If 0.5 > O x > 0.2 then x i = x i + 1 for all model points p i . If 0.2 > O x > -0.2 then x i = x i for all model points p i . If -0.2 > O x > -0.5 then x i = x i - 1 for all model points p i . If 0.5 > O y > 0.2 then y i = y i + 1 for all model points p i . If 0.2 > O y > -0.2 then y i = y i for all model points p i . If -0.2 > O y > -0.5 then y i = y i - 1 for all model points p i . If 0.5 > O  > 0.2 then p i = R c (+1)p i for all model points p i . If 0.2 > O  > -0.2 then p i = p i for all model points p i . If -0.2 > O  > -0.5 then p i = R c (-1 )p i for all model points p i . If 0.5 > O s > 0.2 then p i = S c (+1)p i for all model points p i If 0.2 > O s > -0.2 then p i = p i for all model points p i . If -0.2 > O s > -0.5 then p i = S c (-1 )p i for all model points p i . The neural network 26 is trained by presenting sampled contour model objects 12 that are randomly translated, rotated, and scaled away from the full contour model object 12 as is shown in Fig. 7. The input to the neural network 26 is obtained as the minimum distance vectors are computed, while the desired output of the neural network 26 is known to be in the opposite direction of the pose adjustment of the sampled model object 12. For example, if the model object 12 is rotated +10 degrees, then the desired output of the rotation output neuron 33 is -1. The weights of the neural network 26 are then updated using the back-propagation supervised learning algorithm after each randomly adjusted sampled model presentation. The ease with which training occurs is greatly increased by the use of a quantized trinary output (-1,0,1) for the neural network 26. Correct adjustment decisions need only be learned while correct adjustment magnitudes need not be learned. With reference to Fig. 7, several different neural networks 26 were trained with a varying number of hidden (intermediate) neurons 32 and output neurons 33. Several different views of two different vehicles 11 at different ground plane orientations were used as model objects 12. For a typical training set, the range of sampled model pose adjustment was plus or minus twenty pixels in translation, plus or minus 180 degrees in rotation, and plus or minus twenty percent in scale. However, in practice experiments demonstrated that the actual operating limits of the system 20 extend beyond the limits of the training set. The generalization ability of the system 20 is good because of the thresholding effect of sigmoid activation functions of the input neurons 31. The system 20 performed perfectly on the training model objects 12, which indicates that the neural network 26 is able to completely learn the training set. Additional tests were performed on a test set that comprised the original training model data with noise and occlusion added. Referring to Fig. 8, comprising Figs. 8a-8d, data illustrative of a test of the system 20 on simulated vehicle data is provided. Figs. 8a-8d show data representative of position and orientation at four different times (after differing numbers of iterations: namely 0, 10, 20, and 29, respectively) of the system 20. Using this simulated data, the sampled model object 12 is required to converge to the correct matching pose in the presence of internal edges, additional extremities on the contour, and a partially occluded bottom boundary. This example shows the system 20 to possess several advantageous performance characteristics. It has good tolerance for the appearance of additional internal edges with the ability to move through it without getting stuck. It operates robustly with missing contour edges and is simultaneously able to handle additional target structure, while making accurate adjustments in translation, rotation, and scale. Compared to conventional approaches to the same problem, the system 20 has several important advantages. The conventional exhaustive search approach gives optimal answers but it is very computationally burdensome. The conventional gradient descent approach is faster than the exhaustive search approach but has local minima problems. The system 20 is both fast and avoids local minima. This superior performance is due to the ability of the system 20 to train. Training allows the system 20 to base pose adjustment decisions on the actual pattern of the minimal distance vector input instead of some measure of their combined cost or energy as used in gradient descent. As a result, the system 20 avoids local minima that trap the gradient descent approach because it is does not work on an energy minimization principle. The performance of the system 20 in comparison to the gradient descent approach is also accentuated by the very poor performance of the gradient descent approach in determining correct rotational adjustments. For comparative purposes, Fig. 9 illustrates an example of conventional gradient descent local minima. Other local minima in this example appear at approximately every five degrees of model rotation about its centroid, severely limiting the usefulness of the gradient descent approach for making rotational adjustments. In comparison, the convergence range for rotational displacement of the system 20 is much greater than that of the gradient descent approach as is shown in Fig. 10. More specifically, Fig. 10, comprising Figs. 10a-10h, shows operation of the system 20 on a different simulated vehicle. Figs. 10a-10h show data representative of position and orientation at eight different times (after differing numbers of iterations: namely 0, 25, 50, 75, 100, 125, 150, and 178, respectively) of the system 20. The system 20 is able to correct the pose of the model object 12 even though its initial position was completely upside down, a 180 degrees away from the correct result. A comparison of the computational requirements for the system 20, gradient descent approach, and exhaustive search approach reveals sharp differences in efficiency. The system 20 is superior to the other two approaches by at least an order of magnitude or more. For the comparison, it is assumed that the difference in computation time required for each approach is due primarily to the difference in the number of times each approach must execute the minimal distance vector calculation. All other differences are assumed to be negligible for the purposes of this comparison. The system 20 only needs to do one set of minimum distance vector calculations per iteration. It does this for an estimated average of fifty iterations before reaching its convergence point. The gradient descent approach requires one set of minimum distance vector calculations for each possible adjustment direction. There are a total of 81 possibilities computed from the product of nine possible translations including the option not to translate, three rotation options, and three scaling options. It is also assumed that gradient descent approach requires about fifty iterations to converge. The exhaustive search approach, assuming adjustments within plus or minus twenty units for each degree of freedom, results in 256,000 necessary minimum distance vector calculations. The final comparison of the computational efficiency of system 20 versus the gradient and exhaustive search approaches results in a ratio of 1:81:5120. Although originally designed for automatic target recognition, the system 20 may be by adapted for use with any system that utilizes object recognition by means of computer vision. Some of the applications of the present invention include vision-based factory automation systems, part inspection systems, and autonomous vehicle guidance systems. Thus there has been described a new and improved position and orientation estimation neural network system. It is to be understood that the above-described embodiment is merely illustrative of some of the many specific embodiments which represent applications of the principles of the present invention. Clearly, numerous and other arrangements can be readily devised by those skilled in the art without departing from the scope of the invention as defined by the appended claims.

Claims: A system (20) for determining the position and orientation of a target object (11) in a digitized image (21), said system (20) comprising: an edge detector (22) for processing the digitized image (21) to produce edge data (23) representative of edges of the target object (11); model storage means (24) for storing a model object (12) of the target object (11) that is to be detected, which model object (12) comprises a plurality of data points disposed along edges of the model object (12); minimum distance vector calculation means (25) for processing the edge data (23) and the model data (24) to produce a set of minimum distance vectors between the target object (11) and the model object (12); a neural network (26) coupled to the minimum distance vector calculation means (25) for estimating distortions that are to be made to the model object (12) that are adapted to translate, rotate, and scale the model object (12) relative to the target object (11); and position and orientation adjustment means (27) coupled between the neural network (26) and the model storage means (24) for adjusting the position and orientation of the model object (12) relative to the target object (11) based upon the distortions estimated by the neural network (26); and wherein iterative calculation of the minimum distance vectors, estimation of the distortions, and adjustment of the position of the model object (12) is adapted to reposition and reorient the model object (12) until it substantially overlays the target object (11), thus providing an estimate of the position and orientation of the target object (11) in the digitized image (21). The system (20) of Claim 1 wherein the neural network (26) is characterized by a three layer perceptron trained by a back-propagation learning algorithm. The system (20) of Claim 1 therein the neural network (26) is characterized by 2n input neurons (31) fifty hidden neurons (32), and four output neurons (33), where n is the number of model points in the sampled contour model. The system of Claim 3 wherein each output of the output neurons (33) is interpreted in a trinary manner by the position and orientation adjustment means (27). A method (20) for determining the position and orientation of a target object (11) in a digitized image (21), the digitized image being represented by an electrical signal, said method (20) comprising the steps of: processing the signal of the digitized image (21) to produce edge data (23) representative of edges of the target object (11); storing a model object (12) of the target object (11) that is to be detected, which model object (12) comprises a plurality of data points disposed along edges of the model object (12); processing the edge data (23) and the model data (24) for each data point in the model object (12) relative to each point in the target object (11) to produce a set of minimum distance vectors between the model object (12) and the target object (11); processing the set of minimum distance vectors using a neural network (26) to estimate translation, rotation, and scaling adjustments that are to be made to the model object (12) that are adapted to translate, rotate, and scale the model object (12) relative to the target object (11); adjusting the position and orientation of the model object (12) relative to the target object (11) based upon the estimated translation, rotation, and scaling adjustments; and iterating the last three steps to successfully reposition and reorient the model object (12) until it substantially overlays the object (12), thus providing an estimate of the position and orientation of the target object (11) in the digitized image (21).

Inventors: DORIA DAVID M, GEE ALLEN, DORIA, DAVID M., GEE, ALLEN
Applicants: RAYTHEON CO, RAYTHEON COMPANY
Application year: 1995
Main classification: G06K9
IPC codes: G06T1, G06F15, G06T7, G06N3, G06K9