A system and method for ranking and extracting salient contours for target recognition

Abstract: A system and method for obtaining salient contours from two-dimensional images acquired by a sensor (15) is disclosed which process the two-dimensional images with an edge detector (20) to produce edgels from each of the images, link the edgels into lists (25) known as contours, compute a saliency value (30) for each of the contours, rank the contours (60) in decreasing order of saliency, and select certain ones of the ranked contours based on the requirements of a particular vision application (65). Other devices, systems and methods are also disclosed.

Description: BACKGROUND OF THE INVENTION Field of the Invention This invention relates generally to pattern recognition, and more specifically to a system and method for ranking and extracting salient contours for improved target recognition. Description of the Related Art The central problem in machine vision and automatic target recognition (ATR) is to obtain robust descriptions from images. Robust descriptions help not only in object recognition, but also in motion matching, stereo matching, as well as in generally reducing image clutter. For object recognition, in particular, good descriptions increase the probability of recognition and reduce the probability of false alarms. Edge detectors have been developed to attempt to obtain such robust descriptions. These detectors usually have thresholds to control which edges they find in the image. For example, the Canny edge detector has two thresholds controlling which edges are retained and which are thrown away. However, because the thresholds in the Canny edge detector are based on just the strengths of the edges, the resulting edges are not salient contours corresponding to object boundaries. On the other hand, desired object boundaries may not necessarily be strong but may have other important characteristics. Other systems have been developed which employ total curvature as well as total curvature variation. Such systems obviously prefer circles and edges with substantial curvature. Additionally, such systems iteratively converge to a solution and require a network to compute saliency. A method recently developed extracts salient axes of symmetry called a skeleton sketch, although the method does not work with real images and does not find salient contours. Another method using indoor images (which have significantly less clutter and imperfection compared to outdoor images) employs a perceptual organization for grouping edges based on colinearity, parallelism, and co-termination. Such a method is not robust enough for outdoor images. Other related research involves methods for intensity-based region segmentation. These techniques group image pixels into regions based on some similarity measure. There are several problems with these methods, such as the fact they always yield closed boundaries. In complex, real outdoor images closed boundaries usually correspond to highlights, shadows, etc., but rarely correspond to object boundaries. Another problem is that the region boundaries are extremely sensitive to thresholds, (i.e., such boundaries change and move significantly as thresholds change). Yet another problem is that region segmentation is a global operation, meaning it is less sensitive and more likely to miss low contrast boundaries or small objects, particularly in complex images. For example, long, thin objects may be missed, although they may be salient. Accordingly, improvements which overcome any or all of these problems are presently desirable. Computer Vision, Graphics, and Image processing, 46 no. 2 (May 1989), pages 164-5, describes a process for contrast enhancement in which an edge value is computed for each pixel, defined as the degree to which its grey level departs from the average for its immediate neighbours. A reference value is then computed for each pixel as a weighted average of the grey levels of nearby pixels, each weighted according to its edge value. Each pixel is then assigned a contrast value based on the difference between its own grey level and its computed reference value. Subsequent enhancement of the contrast thus shifts the grey level of any pixel away from the average level of nearby edges, and so tends to sharpen edges. SUMMARY OF THE INVENTION In view of the above problems associated with the related art, it is an object of the present invention to provide a system and method for achieving robust and efficient object recognition, particularly from real outdoor images by reducing clutter and extracting salient information about objects in a complex image. It is another object of the present invention to provide a system and method for ranking and extracting salient contours corresponding to possible objects from an image edge map or from a two-dimensional image acquired by a passive sensor. The invention provides a method for obtaining salient contours from two-dimensional images acquired by a sensor, comprising the steps of: processing said two-dimensional images with an edge detector to produce pixels from each of said images; linking said edge pixels into lists known as contours; computing for each of said contours a saliency value, which is a measure of the likelihood that the contour is an edge of an object; and selecting contours with the best saliency value. The invention also provides a system for object recognition, comprising: a sensor for generating an image of a scene; an edge detector connected to said sensor to detect edge pixels within said image; a salient contour extractor connected to receive and process said detected edge pixels into contours; and an object matching system (65) connected to receive preselected ones of said processed contours and match them to known contours of predetermined objects. Preferably, each contour is assigned a saliency measure for each of length, smoothness, and contrast. The number of edge pixels in a contour may be used for length, the average change of curvature may be used for smoothness, and edge magnitude may be used for contrast. A saliency value for each of the contours is then computed based on the saliency measures for the respective contour, the contours are ranked in decreasing order of saliency, and certain ones of the ranked contours (which correspond to the object of interest) are selected based on the requirements of the particular vision application in which they will be used. These and other features and advantages of the invention will be apparent to those skilled in the art from the following detailed description of a preferred embodiment, taken together with the accompanying drawings, in which: BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a vision system according to a preferred embodiment of the present invention; FIGs. 2a-e are pictorial descriptions and charts demonstrating how the present invention affects an image obtained by a long wave forward-looking infra-red (FLIR) sensor; FIGs. 3a-e are pictorial descriptions and charts illustrating how the present invention affects an image obtained in the visible spectrum by a TV sensor; FIG. 4 is a bar chart for the gray level images of FIGs. 2a and 3a, showing the increase in fraction of target corners obtained achieved by employing the present invention; FIG. 5 illustrates an application of the present invention in a motion matching situation; and FIG. 6 illustrates an application of the present invention in a stereo matching situation. Corresponding numerals and symbols in the different figures refer to corresponding parts unless otherwise indicated. DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT A contour is defined as a linked list of edge pixels. A salient contour, therefore, is one that is more significant than others in an image, wherein significance is established by the importance of certain characteristics of a contour for reliably finding objects of interest (referred to as targets) in the image. Salient contours are important for various applications such as object recognition and tracking of objects in moving images, discussed later. Extracting salient contours decreases image clutter. Thus, there is more information about the target relative to the background, thereby making subsequent processing, especially object recognition and matching, more robust and efficient in time and memory. For this reason, a system and method for salient contour extraction according to the present invention is quite useful in a number of vision applications. It is useful to first characterize salient contours in terms of their physical attributes and then describe preferred embodiments of the present invention. A contour is considered salient if it is long, or smooth, or contrasts strongly with the surrounding region (this is an inclusive or). According to a preferred embodiment of the present invention, each one of these characteristics have been assigned a saliency measure. These saliency measures are then combined into one value for each contour. A preferred embodiment of the salient contours extraction method according to the present invention has been implemented in Common Lisp on a Texas Instruments Explorer II. The time complexity is O(n), where n is the number of edgels in the image. It should be realized that the present invention should not be limited to any particular language or computing platform, as its performance is not particularly affected by any specific implementation selected. Note too, the systems and methods of the present invention can be easily implemented in parallel, because the saliency attributes (length, smoothness, and contrast) are independent of one another and independent from contour to contour. Contours corresponding to three-dimensional phenomena like depth discontinuities and orientation discontinuities are preferred over those corresponding to two-dimensional phenomena like illumination changes in the world (e.g., shadows, surface, and reflectance markings). Since the input received from the sensor is two-dimensional, these preferences must be made from two-dimensional data. Beginning with Figure 1, which is a block diagram of a vision system 10 embodying the present invention, an image is sensed by sensor 15 which is preferrably a passive sensor, although this is not required. Edge detector 20, such as a Canny edge detector (although other edge detectors could be used), receives the image from sensor 15 and passes over the image to detect edge pixels. Next, the edge pixels (also known as edgels) are output from edge detector 20 and are linked into lists of edgels called contours by linker 25. These contours are provided to saliency value extractor 30 which comprises saliency measure estimators 35,40,45,50,55 where a saliency measure for each desired characteristic for each contour is computed, and saliency value ranking unit 60 where all saliency measures for each contour are combined to obtain a saliency value for that contour. Within length saliency measure estimator 35, the length saliency measure, S l , of a contour is given by S 1 = L - L min L max - L min where L, the length of the contour, is defined as the number of edgels in that contour, L min is the length of the shortest contour, and L max is the length of the longest contour. Within smoothness saliency measure estimator 40, the smoothness saliency measure, S s , of a contour is given by S s = 1 - Δκ - Δκ min Δκ max - Δκ min = Δκ max - Δκ Δκ ma x - Δκ min where Δκ is the average change of curvature of the contour, Δκ min is the smallest average change of curvature for all contours, and Δκ max is the largest average change of curvature for all contours. Δκ for a contour is computed in the following manner: 1. Compute curvature at each point in the contour, preferably using B-spline fitting. 2. Compute the change of curvature at each point by convolving the curvature values using the difference operator: -1 2 -1 3. Compute the average of the change of curvature. Note that only the average change of curvature is used and not total curvature. For this reason, the present invention does not require circles and very curved lines as the prior art requires for good results. Also, the system and method of the present invention is non-iterative and therefore does not have the convergence problems associated with the prior art. Within contrast saliency measure estimator 45, the contrast saliency measure, S c , of a contour is given by S c = C - C min C max - C min where C is the average contrast of the contour, C min is the smallest average contrast for all contours, and C max is the largest average contrast for all contours. The average contrast of a contour is the average of the strength of each edgel in the contour. The strength of each edgel is obtained from edge detector 20. Although only three characteristics are discussed in connection with the particular embodiment of the present invention being discussed, it should be understood that, as shown in Figure 1, there could be additional saliency characteristics (saliency measure estimators 50 and 55, for example) taken into account when extracting saliency measures from a contour. The saliency measures for each characteristic for a particular contour is then received by saliency value ranking unit 60. The saliency value, S, of a contour is then computed as S = ω l S l + ω s S s + ω c S c ω l + ω s + ω c where ω l is the weight for the length saliency measure, ω s is the weight for the smoothness saliency measure, and ω c is the weight for the contrast saliency measure. The weights for l , s , and c (and others if desired) are preselected based on the importance of the various measures; the higher the saliency measure, the more salient the contour. Although the weights for l , s , and c are arbitrary, it has been found that good results are obtained when ω l = ω s = ω c = 1/3. For the requirements of many computer vision applications, the three measures are given equal weights because one measure is normally not considered to be significantly more important than the others. After a saliency value is computed for each contour in the image, the contours are also ranked in decreasing order of saliency by saliency value ranking unit 60. The most salient contours are then selected to be provided to vision application 65, which could be, for example, an object matching system. Turning now to Figures 2a-e and 3a-e. Figures 2a-e involve an image of a flat bed truck obtained by a long wave forward-looking infra-red (FLIR) sensor, while Figures 3a-e relate to an image of a small communications van obtained in the visible spectrum by a TV sensor. Discussion about Figures 3a-e is identical to that which follows for Figures 2a-e. Figure 2a shows the gray level images received from passive sensor 20. Figure 2b shows the Canny edges (edgels) obtained at small thresholds of edge detector 20 to give a large number of edges. Figure 2c shows the most salient contours obtained from saliency value extractor 30. Since corners are used for object recognition according to a preferred embodiment of the present invention, the performance of the salient contours extraction system and method of the present invention can be evaluated in terms of corners on and off the objects to be recognized. Figure 2d shows the cumulative number of on-target and off-target corners for the 50 most-salient contours. It can be seen that both the on-target and off-target curves are monotonically nondecreasing because they are cumulative curves. For better operation of vision application 65, it is preferable to have more on-target corners and less off-target corners in the top few contours. Therefore, especially in the most salient contours, it is desirable to have the on-target curve above the off-target curve, with a wide gap between the two curves. It is also desirable to have the intersection between the two curves be high on the vertical axis and far to the right. The curves shown in Figure 2e depicts the ratio of the number of on-target corners to all image corners for the most salient contours. Studying the behavior of this ratio for the top few salient contours indicates the number of contours needed for vision applications such as object recognition. It is desirable for this curve to be high for the most salient contours and then drop for less salient ones. The bar chart (Figure 4), corresponding to the gray level images of Figures 2a and 3a, shows the increase in the fraction of target corners obtained when only the most salient contours extracted according to the present invention are used. The darker bars show the fraction of target corners ascertained without saliency value extractor 30, while the lighter bars reflect the fraction of target corners established by employing saliency value extractor 30. As mentioned earlier, the present invention is useful for a number of computer vision tasks, including object recognition. By separating an object from the background within an image, salient contours extraction becomes an important precursor to object recognition. Furthermore, since the clutter has been removed to a large extent, an object recognition system can proceed faster and more efficiently (i.e., more robust recognition). Returning to Figure 1, according to a preferred embodiment of the present invention, an object recognition application of vision system 65 matches two-dimensional corners in an image, received from saliency value combination unit 60, with the vertices of a three-dimensional model using an alignment technique. Object recognition system 65 first extracts corners in the image provided by saliency value ranking unit 60. Then every triple of image corners is matched to every triple of three-dimensional model vertices to generate an alignment. The alignment is used to project the three-dimensional model to the two-dimensional image for verification. The salient contour extraction system and method of the present invention increases the ratio of image corners on the object to all image corners, thereby reducing the number of extraneous corners caused by image clutter, and resulting in a reduction of the search space (the combinations) in the corner matching stage of object recognition. Salient contours are also employed in a verification stage where only the salient image contours are used to verify the projected model contours. Continuing now to Figures 5 and 6, it is apparent that the present invention can also be used in matching situations, such as motion and stereo. In motion matching situations (Figure 5), important for tracking objects within images, a plurality of image frames F 1 ,F 2 ,F 3 ,...F n from a motion sequence are provided to vision system 10 embodying the present invention. Vision system 10 extracts the most salient contours from frames F 1 ,F 2 ,F 3 ,...F n and provides these contours to two dimensional matcher vision application 65. It should be noted that S 1 ,S 2 ,S 3 ,...S n may comprise one vision system 10 or a plurality of vision systems 10 operating in parallel. Matcher 65 then matches these contours to estimate motion parameters. The use of extracted salient contours makes it considerably easier for matcher 65 to match edges in frames of a motion sequence. Matcher 65 may then yield two-dimensional or three-dimensional motion estimation based on inferencing after the matching operation, may determine structure of the object of interest from its motion, may operate as a moving target indicator, etc. Looking now at Figure 6, which illustrates an application of the present invention in a stereo matching situation, stereo image frames pair F 1 ,F 2 are provided to vision system 10 embodying the present invention. Vision system 10 extracts the most salient contours from frames F 1 ,F 2 and provides these contours to matcher vision application 65. Again, S 1 ,S 2 may comprise one vision system 10 or a plurality of vision systems 10 operating in parallel. Matcher 65 then matches these contours to estimate depth and other three-dimensional information about the scene, based on inferencing. As in the previous matching situation, extracting salient contours according to the present invention makes matching much easier since clutter in the image is significantly reduced. As an aside, the results achieved by use of the present invention are fairly independent of the kind of two-dimensional sensor 15 used (e.g., TV, infra-red, etc.). Furthermore, the present invention operates primarily in a local context especially because an image may be occluded and/or there could be long, thin objects in the image. It will be apparent to the skilled artisan that the present invention has numerous computer vision applications. Therefore, the present invention should not be limited to the computer vision applications discussed above, as these are provided for illustrative purposes only and not by way of limitation.

Claims: A method for obtaining salient contours from two-dimensional images acquired by a sensor (15), comprising the steps of: processing said two-dimensional images with an edge detector (20) to produce pixels from each of said images; linking (25) said edge pixels into lists known as contours; computing (30) for each of said contours a saliency value, which is a measure of the likelihood that the contour is an edge of an object; and selecting contours with the best saliency value. The method of claim 1, wherein said edge detector is a Canny edge detector. The method of claim 1 or claim 2 comprising, after said step of selecting, the step of discarding any contours not selected. The method of any one of claims 1 to 3, wherein said step of computing (30) a saliency value for each of said contours comprises the steps of: ascertaining (35, 40, 45, 50, 55) each of a plurality of saliency measures (S i ); applying a predetermined weight (ω i ) to each saliency measure; and determining (60) a saliency value (S) based on said weighted saliency measures. The method of claim 4, wherein said saliency value, S is determined as follows: S = ω l S l + ω s S s + ω c S c ω l + ω s + ω c where ω l is the weight for the length saliency measure, ω s is the weight for the smoothness saliency measure, and ω c is the weight for the contrast saliency measure. The method of Claim 4 or Claim 5, wherein said step (35...55) of ascertaining a plurality of saliency measures is performed in parallel. The method of any one of Claims 4 to 6, wherein at least one of said plurality of saliency measures includes a smoothness saliency measure, S s , calculated as: S s = 1 - Δκ - Δκ min Δκ max - Δκ min = Δκ max - Δκ Δκ ma x - Δκ min where Δκ is the average change of curvature of the contour, Δκ min is the smallest average change of curvature for all contours, and Δκ max is the largest average change of curvature for all contours. The method of Claim 7, wherein said average change of curvature, Δκ , is calculated with the steps of: computing curvature at each edge pixel within said contour; determining any change of curvature; and computing an average of said any change of curvature. The method of Claim 8, wherein said step of computing curvature employs a B-spline fitting. The method of Claim 8, wherein said step of determining any change of curvature is accomplished by convolving said computed curvature for each edgel using a difference operator. The method of any one of Claims 4 to 10, wherein at least one of said plurality of saliency measures includes a contrast saliency measure, S c , calculated as: S c = C - C min C max - C min where C is the average contrast of the contour, C min is the smallest average contrast for all contours, and C max is the largest average contrast for all contours. The method of any one of Claims 4 to 10, wherein at least one of said plurality of saliency measures includes a length saliency measure, S l , calculated as: S l = L - L min L max - L min where L, the length of the contour, is defined as the number of edgels in that contour, L min is the length of the shortest contour, and L max is the length of the longest contour. A system for object recognition, comprising: a sensor (15) for generating an image of a scene; an edge detector (20) connected to said sensor (15) to detect edge pixels within said image; a salient contour extractor (25,30) connected to receive and process said detected edge pixels into contours; and an object matching system (65) connected to receive preselected ones of said processed contours and match them to known contours of predetermined objects. The system of Claim 13, wherein said salient contour extractor comprises: a linker (25) which links said edge pixels into lists known as contours; and a processing unit (30) for determining a saliency value for each of said contours. The system of Claim 13 or claim 14, wherein said salient contour extractor comprises a plurality of contour extractors (35.....55) operating in parallel. The system of claim 14, wherein said processing unit (30) comprises a computing unit for establishing a saliency value for each of said contours which determines a plurality of saliency measures for each saliency value. The system of claim 16, wherein said plurality of saliency measures are preselectively weighted. The system of any one of claims 13 to 17, wherein said sensor (15) is a FLIR. The system of any one of claims 13 to 17, wherein said sensor (15) is a television camera. The system of any one of claims 13 to 19, wherein said edge detector (20) is a Canny edge detector.

Inventors: RAO KASHI, RAO, KASHI
Applicants: TEXAS INSTRUMENTS INC, TEXAS INSTRUMENTS INCORPORATED
Application year: 1992
Main classification: G06T7
IPC codes: G06T7, G06T5