Moving object detecting system

Abstract: A moving object detecting system includes an image acquiring section (1), a feature extracting section (2), a background feature detecting section (3), a prediction parameter calculating section (4), a region estimating section (5), and a moving object determining section (7). The image acquiring section (1) has a mobile imaging system and acquires image frames sequentially obtained upon movement of the imaging system. The feature extracting section (2) extracts features of the acquired image frames. The background feature detecting section (3) detects a background feature from the features. The prediction parameter calculating section (4) obtains prediction parameters for predicting a motion of the background region upon movement of the imaging system in accordance with a positional rela­ tionship between the correlated background features. The region estimating section (5) estimates a region where features detected from image frames obtained by the mobile imaging system may have been present in an image frame of the immediately preceding frame by using the prediction parameters. The moving object deter­ mining section (7) determines whether a feature corresponding to the given feature is present in the estimation region.

Description: The present invention relates to a moving object detecting system for effectively detecting a moving object in a given environment from environmental image frames momently obtained by a mobile imaging system incorporated in a moving unit such as a mobile robot. One of the important techniques for realizing a state monitor apparatus, a mobile robot, or the like is a technique for detecting a moving object in a given environment from environmental image frames from moment to moment obtained by an imaging system which is movable. This technique for detecting the moving object from a moving image is based on a so-called motion analysis. In recent years, extensive studies have been made on this detection technique in the fields of computer visions. This technique, however, is not applied to practical apparatuses or field works. Image processing for detecting such a moving object is called a gradient-based scheme for generally detecting spatial and temporal changes in image densities of moving image frames as an object of interest. In addition to this scheme, a feature-based scheme is available in which features such as edges of a moving image (i.e., an object of interest) are extracted, and these features are correlated to each other between image frames having a time difference, thereby estimating a displacement and hence detecting the moving object. Although the former scheme, i.e., the gradient-based scheme has an advantage in that a fine displacement can be attained with respect to the entire image, since spatial and temporal changes in image densities are detected by differentiations, detection precision is greatly degraded in the presence of noise in the image. In addition, in principle, accurate estimation values cannot be obtained in a region having a small change in density or a boundary region of the object. To the contrary, in the latter scheme, i.e., the feature-based scheme, although portions of interest subjected to displacement measurements are dispersed in a distribution since features in an image are used, a problem such as degradation of detection precision caused by noise can be greatly reduced. In the feature-based scheme, it is not easy to correlate the features to each other between image frames having a time difference. This correspondence processing requires a long period of time if it is accurately performed in accordance with its theory. For this reason, the moving object in an environment monitored by a moving image cannot be detected at high speed. In the conventional image processing techniques, the moving object in its environment cannot be accurately detected at high speed from image frames instantaneously detected by a mobile imaging system. It is an object of the present invention to provide a moving object detecting system which can easily, precisely, quickly detect a moving object in an environment from environmental image frames instantaneously obtained by a mobile imaging system. We acknowledge the disclosure in Systems and Computers in Japan, Vol. 18, No. 6, 1987 "Finding of objects moving against a static environment by a Moving observer" of a method of locating a moving object by a moving robot, in which the observed tracks of features of the image, i.e. their "optical flows", are correlated so as to distinguish moving from stationary objects; this is defined in the pre-characterizing portion of claim 1. The invention provides a system and method as defined respectively in claims 1 and 13 below. The moving object detecting system according to the present invention has a feature extracting section for sequentially extracting features from image frames instantaneously and sequentially imaged by a mobile imaging system. The moving object detecting system detects background features included in a background region of the image frames from the features extracted by the feature extracting section. For example, parameters for predicting a motion of the background region in the image upon movement of the imaging system are obtained from a positional relationship between the corresponding background features between a plurality of image frames in, e.g, an initial period of movement. The moving object detecting system estimates a region where features detected from image frames obtained by the mobile imaging system may have been present at immediately preceding moments (if a given feature belongs to the background) on the basis of the prediction parameters and detects whether a feature corresponding to the given feature belongs to the estimated region of presence, thereby detecting the presence/absence of the moving object. In the system of the present invention, the features apparently belonging to the background are correlated to each other from an image obtained in the initial period of movement, and the prediction parameters are obtained from this positional relationship. The system then determines whether the corresponding feature is present within the estimated region based on the prediction parameters and whether the feature belongs to the background, thereby detecting the moving object in the image. In the moving object detecting system according to the present invention, the prediction parameters are estimated from motion of the known background at the start of movement of the mobile imaging system. On the basis of the prediction parameters, those positions in the immediately preceding frame which correspond to the respective features obtained from the moving image frame are estimated, and only those features which do not have corresponding features at the estimated positions in the immediately preceding frame are extracted. Therefore, the moving object in the moving image can be efficiently, accurately searched at high speed. This invention can be more fully understood from the following detailed description of preferred embodiments, by way of example only, when taken in conjunction with the accompanying drawings, in which: Fig. 1 is a block diagram illustrating an arrangement of a moving object detecting system according to the first embodiment of the present invention; Fig. 2 is a block diagram illustrating an arrangement of a moving object detecting system according to the second embodiment of the present invention; Figs. 3A and 3B are views illustrating input image frames which have changes in backgrounds upon movement of an imaging system and which are used to explain the system shown in Fig. 2; Fig. 4 is a view showing directions of spatial differentiations of input image frames so as to explain the system shown in Fig. 2; Fig. 5 is a view for explaining a coordinate system which is used to explain the system of Fig. 2 and which is associated with a motion of a camera serving as an imaging system; and Fig. 6 is a view showing estimation lines for features used for explaining the apparatus of Fig. 2. A moving object detecting system according to the first embodiment of the present invention will be described with reference to the accompanying drawings. The moving object detecting system shown in Fig. 1 comprises an image input section 1, a feature detecting section 2, a background feature detecting section 3, a prediction parameter calculating section 4, an estimation line calculating section 5, a feature searching section 6, and a moving object determining section 7. The image input section 1 comprises an imaging system mounted on a moving system such as a mobile robot and momently image frames and inputs moving environmental image frames to the system. Upon movement of the moving system, frames of image information sequentially imaged and input from the image input section whose imaging position is sequentially changed are supplied to the feature extracting section 2. The feature extracting section 2 sequentially extracts regions having large spatial differential values as features. The background feature detecting section 3 detects background features of a plurality of image frames which are input by the image input section 1 in an initial period of movement, from pieces of feature information respectively extracted from the plurality of image frames. The background features are correlated to each other between the plurality of image frames. That is, the background feature detecting section 3 processes input image frames in the initial period of movement as initial image frames serving as criteria of subsequent image processing and designates its background region to correlate features to each other between the plurality of image frames in this background region. The prediction parameter calculating section 4 calculates parameters for predicting a motion of the background region moving in the input image frames upon movement of the image input section 1. These parameters are 15 parameters representing changes in the imaging system (to be described in detail later in association with the second embodiment). As for the features detected in units of input image frames by the feature extracting section 2 on the basis of input image frames momently and sequentially input by the image input section 1, the estimation line calculating section 5 estimates (reverse-predicts) a region of presence of the given feature obtained at an immediately preceding timing to be a line region (to be described later) on the basis of the parameters obtained by the prediction parameter calculating section 4 and the positions of the features in the input image frames. This region of presence of the feature is performed in units of features extracted from the input image frames. The feature searching section 6 checks whether a corresponding feature is present in an estimated region of presence of each feature of the immediately preceding timing obtained by the estimation line calculating section 5. If the corresponding feature is not detected from the image of the previous frame, the feature information is output to the moving object determining section 7. Pieces of feature information having no correspondence with features in the image of the previous frame are acquired by the moving object determining section 7. The moving object determining section 7 checks the number of features and their positional proximities. The feature count and proximity data are detected as moving object information in the corresponding input image. In the moving object detecting system having the above arrangement, the following series of operations are basically performed. (a) Regions where features extracted from sequentially input image frames may have been present in image frames obtained at the immediately preceding timings are estimated (if the features belong to the background). (b) When features corresponding the estimated regions are not found, the extracted features are detected as new features of the image frames. (c) Information of the new features is processed to detect information of a moving object appearing in an image. Since the estimated regions of the features of the image frames obtained at the immediately preceding timings are obtained as line regions from the prediction parameters representing the background motion obtained in accordance with a relationship between background features correlated to each other from the image frames obtained at, e.g., the initial period of movement, the correlation processing (i.e., processing for determining whether the features are present in the estimated regions) can be effectively, easily performed. The processing speed of determination processing can be sufficiently increased. For this reason, the moving object appearing in image frames sequentially obtained by the mobile imaging system can be accurately detected at high speed. The moving object detecting system according to the present invention may be arranged as a system corresponding to the sections shown in Fig. 1 or a combination of circuit blocks. However, the second embodiment exemplifies a practical system having substantially the same function as described above. Fig. 2 shows an arrangement of a moving object detecting system according to the second embodiment. Referring to Fig. 2, a portion corresponding to the image input section 1 shown in Fig. 1 comprises an ITV (industrial television) camera 11, an A/D (analog-to-digital) converter 12, and an ITV interface 13. The ITV camera 11 is mounted on the moving body and is used to sequentially image and input environmental image frames obtained upon movement of the moving body. The A/D converter 12 converts the image signal obtained by the ITV camera 11 into digital data. The ITV interface 13 is an interface for sequentially storing the converted digital image data into an image memory 15 through an image bus 14. The image memory 15 has a memory capacity capable of storing a plurality of image frames. The read/write access of the image memory 15 is properly controlled in response to a control signal supplied through a control bus 16 connected to the image memory 15. In the moving environmental image frames sequentially imaged by the ITV camera 11, as shown in Figs. 3A and 3B, stationary backgrounds are changed in the obtained image frames in their imaging environments upon changes in imaging position upon movement of the ITV camera 11. The moving object detecting system is used to efficiently detect a moving object (an image component except for the background) from environmental image frames accompanying displacements of image information in the background. A portion corresponding to the feature detecting section 2 for detecting features from image frames sequentially obtained by and input from the ITV camera 11 in the image input section comprises a spatial differentiator 21, a threshold circuit 22, and a feature position detecting circuit 23, all of which are connected to the image memory 15 through the image bus 14. This portion also comprises a feature table memory 24 connected to the above constituent circuits through the control bus 16. The spatial differentiator 21 calculates difference values for a local region of an image stored in the image memory in radial directions (eight directions) along predetermined fourth axes at equal angular intervals, as shown in Fig. 4, thereby performing spatial differentiation. The threshold circuit 22 compares a threshold value with the difference values of the respective directions calculated by the spatial differentiator 21, thereby detecting features. More specifically, when a difference value of each direction in a portion of an image exceeds a predetermined threshold value, this portion is detected as a feature image portion having a large spatial differential value. Feature detection information is supplied to the feature position detecting circuit 23, and the position of the feature on the image is calculated. Pieces of feature detection position information are sequentially stored as a feature table in the feature table memory 24. This feature detection processing is performed in units of image frames sequentially obtained and stored in the image memory 15. Pieces of feature detection position information obtained from each image are classified, and the classified pieces of information are written in the feature table. A portion corresponding to the background feature detecting section 3 comprises an image monitor 31, a region designating circuit 32, a feature detecting circuit 33, and a background feature table memory 34. The image monitor 31 is connected to the image bus 14 to monitor an image stored in the image memory 15. The region designating circuit 32 causes the image monitor 31 to sequentially display image frames sequentially obtained and input by the ITV camera 11 in the image input section at, e.g., the start of movement. The image monitor 31 designates a stationary background in the image environment as, e.g., a rectangular region upon operator's operation with respect to these displayed environmental image frames at the start of movement. More specifically, the operator uses the region designating circuit 32 to designate a known background (a stationary image portion with respect to the environment) from the environmental image obtained upon the start of movement. The background image is set in the environmental image. The background is interactively designated by properly changing the positions, sizes and number of rectangular regions. Of a plurality of features stored as a feature table in the feature table memory 24, the feature detecting circuit 33 selectively extracts features belonging to the designated background region. Pieces of feature information thus obtained are stored in the background feature table memory 34 as background feature table information serving as the basis of feature correlation processing. This background feature detection processing is similarly performed for the next frame image obtained upon the start of movement, and the obtained information is stored in the background feature table memory 34. A portion corresponding to the prediction parameter calculating section 4 comprises a feature selecting circuit 41, a prediction parameter calculating circuit 42, and a prediction parameter table memory 43. The feature selecting circuit 41 correlates the background features in an image frame obtained at the start of movement and stored in the background feature table in the background feature table memory 34 and the background features in an image frame obtained upon the start of movement under the assumption that a large change does not occur between these image frames. It is also possible to interactively correlate the background features by using the image monitor 31 and the region designating circuit 32. The prediction parameter calculating circuit 42 calculates parameters representing a displacement of the background on the image in accordance with the displacement of the moving system, i.e., displacement of the imaging system (the ITV camera 11 in the image input section) which causes displacements of features in accordance with a positional relationship between the correlated background features between the two image frames obtained at the time of movement and upon the start of movement. The obtained parameters are written in a prediction parameter table stored in the prediction parameter table memory 43. The parameters representing the movement of the background are defined as follows when a coordinate system associated with the position of the imaging system (ITV camera 11) is defined, e.g., as shown in Fig. 5: That is, a translational component of a motion of the imaging system is given as: (-T X , -T Y , -T Z ) and its rotational component is given as: (-Ω X , -Ω Y , -Ω Z ) Then, the motion of a stationary object (i.e., the background) in the environment with respect to the camera coordinate system is given as follows when its rotational component is given to be sufficiently small: X t+1 (X t+1 , Y t+1 , Z t+1 ) = R·X x (X t , Y t , Z t ) + T where T = (T X , T Y , T Z ) A projection position (x t , y t ) on the X t image, i.e., the coordinates are given as follows: x t = X t /Z t , Y t = y t /Z t Assuming that: T X /Z t = T X T Y /Z t = T Y T Z /z t = T Z the following equations are derived from equations (1) and (2): X t+1 = x t - Ω Z y t + Ω Y + T X 1 - Ω Y x t + Ω X y t + T Z X t+1 = Y t + Ω X y t - Ω X + T Y 1 - Ω Y x t + Ω X y t + T Z When the above equations are solved with respect to the point (x t , y t ), the following positional relationship can be obtained: x t = (x t+1 , y t+1 ) + (1/Z t )Φ(x t+1 , y t+1 ) y t = ψ(x t+1 , y t+1 ) + (1/Z t )Ψ(x t+1 , y t+1 ) where  = Dx t+1 + Ey t+1 + F Ax t+1 + By t+1 + C Φ = Gx t+1 + Hy t+1 + I Ax t+1 + By t+1 + C ψ = Jx t+1 + Ky t+1 + L Ax t+1 + By t+1 + C Ψ = Mx t+1 + Ny t+1 + O Ax t+1 + By t+1 + C The fifteen parameters A to O have the following meanings: A = Ω Y + Ω X Ω Z B = -Ω X + Ω Y Ω Z C = 1 + Ω Z 2 D = 1 + Ω X 2 E = Ω Z + Ω X Ω Y F = -Ω Z + Ω X Ω Z G = -Ω Z + Ω X Ω Y H = 1 + Ω Y 2 I = Ω X + Ω Y Ω Z J = T Z - Ω X T Y K = Ω X T X + Ω Z T Z L = -(T X - Ω Z T Y ) M = -(Ω Y T Y + Ω Z T Z ) N = T Z + Ω Y T X O = -T Y + Ω Z T X The fifteen parameters A to O are defined as prediction parameters representing features between image frames obtained by the mobile imaging system. When these parameters are obtained by the prediction parameter calculating circuit 42, displacements of features extracted from image frames between a plurality of image frames can be predicted. More specifically, for example, the fifteen prediction parameters A to O correlate the background features of two image frames (at least eight features of each image) at the time of movement and upon the start of movement of the imaging system under the assumption that a Z initial value (i.e., a distance between the background and the imaging system prior to movement) is known. These pieces of position information are substituted to obtain the correlated background features. When Zt is eliminated from equations (3), the following equation is obtained: Φ(x t+1 , y t+1 )Y t - Ψ(x t+1 , y t+1 )x t + Ψ(x t+1 , y t+1 )(x t+1 , y t+1 ) -Φ(x t+1 , y t+1 )ψ(x t+1 , y t+1 ) = 0 This equation represents a line. Equation (4) representing the line indicates that a point P t (x t , y t ) in the immediately preceding frame is present in the region (estimated line) represented by equation (4) if the feature P t+1 (x t+1 , y t+1 ) in the image belongs to a stationary object with respect to the environment. When the feature is found in the image, the line represented by equation (4) in the immediately preceding frame is searched to determine whether the corresponding feature is present, thereby determining whether the feature belongs to the stationary object with respect to the environment. That is, when the corresponding feature is present on the line represented by equation (4), the feature of interest belongs to the stationary background object with respect to the environment. However, when the feature corresponding to the feature of interest is not present, the feature of interest belongs to a new object which is not the background. The estimation line coefficient calculating circuit 51 constituting a portion corresponding to the estimation line calculating portion 5 obtains position information of the feature extracted from the moving image frame in accordance with the feature table in the feature table memory 24 and calculates the coefficients , ψ, Φ, and Ψ in accordance with the 15 prediction parameters stored in the prediction parameter table memory 43, thereby obtaining an estimation line representing the region in which each feature belongs. A portion corresponding to the feature searching section 6 comprises a feature candidate selecting circuit 61, a similarity calculating circuit 62, a feature determining circuit 63, and a moving object candidate table 64. As for a plurality of features extracted from the moving image frame, the feature candidate selecting circuit 61 extracts as feature candidates features of the immediately preceding frame which are stored in the feature table memory 24 and are present on the estimation line. That is, an estimation line (i.e., an estimation region) in which correlated features of the immediately preceding frame are present is obtained for the features extracted from the moving image frame, as shown in Fig. 6, and it is determined whether the features are present on this estimation line. All features present on the estimation line are obtained as features which can be correlated to the features of the current frame. The similarity calculating circuit 62 calculates a similarity between a feature of the image and its neighboring partial image region in the immediately preceding frame and a feature and its neighboring partial image region in the current frame. This similarity is obtained as follows: Σ (L ij - R ij ) 2 /(ΣL ij · ΣR ij ) where L ij and R ij are image densities of the correlated features and neighboring regions between the image of the current frame and the image of the immediately preceding frame. The feature determining circuit 63 compares the obtained similarity with a predetermined threshold value and determines whether the image features are sufficiently similar to each other. That is, the correlated features are defined as similar image features from all the features of the image of the immediately preceding frame. Feature for which correlated features cannot be detected in the immediately preceding frame by this determination processing are determined to be new features. The information of such new features is stored as a moving body candidate table in the moving body candidate table 64. A portion corresponding to the moving body determining section 7 comprises a neighboring feature detecting circuit 71 and a moving object determining circuit 72. The neighboring feature detecting circuit 71 extracts features, the distance values of which are smaller than a predetermined threshold value, from the features stored in the moving object candidate table 64. The moving object determining circuit 72 determines the number of features and a ratio of the area of the features to the area of the entire image and detects that features which are determined not to belong to the background belong to a moving object entering the environment. As described above, in the moving object detecting system of the present invention, regularity of motion of the background upon movement of the imaging system is taken into consideration. The region of movement of features upon movement of the imaging system is estimated to obtain feature correlation between a plurality of image frames. In addition, the region of movement of the features is estimated as a line region in accordance with the prediction parameters determined on the basis of the motion data of the background in the initial image frames. For this reason, the moving object can be accurately and quickly detected by very simple processing for verifying whether features corresponding to the prediction region on the line are present. The moving object in the image can be efficiently detected as information of features which cannot be correlated while background features correlated to the estimation line are sequentially excluded from the image frames sequentially obtained by the mobile imaging system. For example, this technique is very effective to realize a mobile robot or the like. The present invention is not limited to the particular embodiment described above. For example, when the imaging system is subjected to only a translational motion, rotation of the coordinate system need not be taken into consideration. Therefore, the prediction parameters can be much simplified, and the operations required for calculating a prediction line are further simplified. When generation of prediction lines for a plurality of features obtained from an image frame are concurrently performed, a processing speed can be increased. Other changes and modifications may be made without departing from the scope of the invention.

Claims: A moving object detecting system comprising: image acquiring means (1;11-15), having an imaging system (11-13), for acquiring image frames sequentially obtained by said imaging system (11-13); feature extracting means (2;21-24) for extracting features of each image frame acquired by said image acquiring means (1;11-15); and background feature detecting means (3;31-34) for detecting background features belonging to a background region of the image frame from the features extracted by said feature extracting means (2;21-24); prediction parameter calculating means (4;41-43) for obtaining prediction parameters for predicting a motion of the background region in the image frame upon movement of said imaging system (11-13) in accordance with a positional relationship between the correlated background features, between a plurality of image frames, on the basis of the background features detected by said background feature detecting means (3; 31-34); characterized by including: region estimating means (5; 51), for estimating a region of a given feature corresponding to the feature of an image frame of an immediately preceding frame by using the prediction parameters obtained by said prediction parameter calculating means (4;41-43) when the given feature detected from the image frame obtained by said imaging system (11-13), is assumed as a feature belonging to a background; and moving object determining means (6, 7; 61-64, 71, 72) for determining whether a feature corresponding to the given feature is present in the estimation region obtained by said region estimating means (5; 51); wherein said background feature detecting means (3;31-34) includes means (31) for displaying an image, operator means (32) for designating the background region in the image displayed by said image displaying means, and means (33) for detecting the features belonging to the background region designated by said operator means as the background features. A system according to claim 1, characterized in that said imaging system (11-13) includes a television camera (11). A system according to claim 1, characterized in that said imaging system (11-13) is mounted on a moving unit. A system according to claim 3, characterized in that said image acquiring means (1;11-15) comprises means (11-13) for acquiring image frames sequentially obtained with movement of said imaging system (11-13). A system according to claim 1, characterized in that said feature extracting means (2;21-24) includes means (21-23) for calculating spatial differential values of image information in a plurality of directions and extracting portions having larger spatial differential values than a predetermined value as features. A system according to claim 1, characterized in that said background feature detecting means (3;31-34) includes means (33) for detecting the background features belonging to a background region from the features of the plurality of image frames. A system according to claim 1, characterized in that said prediction parameter calculating means (4;41-43) includes means (42) for calculating the prediction parameter on the basis of a plurality of image frames at the start of movement. A system according to claim 1, characterized in that said prediction parameter calculating means (4;41-43) includes means (41) for determining whether features are correlated to each other on the basis of a similarity between image patterns near the given feature. A system according to claim 1, characterized in that said prediction parameter calculating means (4;31, 32,41-43) includes means (31) for displaying an image, means (32) for designating correlated features in a plurality of image frames displayed by said image displaying means, and means (41) for detecting the features of the plurality of image frames designated by said designating means as the correlated features. A system according to claim 1, characterized in that said region estimating means (5;51) includes means (5;51) for estimating the region as a line region. A system according to claim 1, characterized in that said moving object determining means (6, 7; 61-64, 71, 72) includes means (61) for determining that features for which correlated features are not present in the region are defined as new features. A system according to claim 11, characterized in that said moving object determining means (6,7;61-64,71,72) includes means (61) for determining whether features belong to the moving object on the basis of the correlation of the new features between a plurality of image frames. A method of detecting a moving object comprising the steps: acquiring image frames sequentially by means of an imaging system (11-13); extracting features of each acquired image frame; and detecting background features belonging to a background region of the image frame from the extracted features; obtaining prediction parameters for predicting a motion of the background region in the image frame upon movement of said imaging system (11-13) in accordance with a positional relationship between the correlated background features between a plurality of image frames on the basis of the background features; characterized by the steps of: estimating a region of a given feature corresponding to the feature of an image frame of an immediately preceding frame by using the prediction parameters when the given feature detected from the image frame obtained by said imaging system (11-13) is assumed as a feature belonging to a background; and determining whether a feature corresponding to the given feature is present in the estimation region; and wherein the step of detecting the background feature includes displaying an image, interactively designating the background region in the displayed image, and detecting the features belonging to the designated background region as the background features.

Inventors: WATANABE MUTSUMI, WATANABE, MUTSUMI, WATANABE, MUTSUMI, C/O INTELLECTUAL PROPERTY DIV.
Applicants: TOSHIBA KK, KABUSHIKI KAISHA TOSHIBA
Application year: 1990
Main classification: G06T7
IPC codes: H04N5, G01S3, G06T7, G01V8