Separating Non-Stationary from Stationary Scene Components in a Sequence of Real World TV Images
Proceedings of the Fifth International Joint Conference on Artificial Intelligence. Vision. Pages 612-617.
© 1977 International Joint Conferences on Artificial Intelligence
Abstract
Results are presented for a new method to identify images of moving objects in a sequence of scene images, e.g. from a TV-camera observing a street intersection. The reported approach exploits the assumption that systematic greyvalue differencesbased on second order statistics - between consecutive frames are due to images of moving objects. No knowledge is assumed about size, shape, or tex-, ture for images of stationary or non-stationary scene components.
- References Chien and Jones 1975, Acquisition of Moving Ob~ jects and Hand-Eye Coordination, p. 737, Advance Papers IJCAI 4, Tbilisi, Georgia/USSR, Sept. 3-8, 1975
- Chow and Aggarwal 1977, Computer Analysis of Planar Curvilinear Moving Objects , IEEE Trans. on Ccrnp. C-2_ 6, 179 (1977)
- Limb and Murphy 1975, Estimating the Velocity of Moving Images in Television Signals, Computer Gra- phics and Image Processing vol. 4, 311 (1975)
- Nagel 1976a, Experiences with Yakimovsky's Algo- rithm for Boundary and Object Detection in Real World Images, Proc. IJCPR3, Coronado/Cal., Nov. 8-11, 1976, p. 753-758
- Nagel 1976b, Formation of an Object Concept by Ana- lysis of Systematic Time Variations in the Optical- ly Perceptible Environment, Ifi-HH-B-27/76 (July 1976), Institut fuer Informatik,, Universitaet Ham- burg; to appear in Ccrnputer Graphics and Image Frocessing Nagel 1977, Analysing Sequences of TV-Frames: Sy- stem Design Considerations, Ifi-HH-B-33/77 (March 1977), Institut fuer Informatik, Universitaet Ham- burg; condensed version appears at IJCAI-77
- Potter 1975, Scene Segmentation by Velocity Mea- surements Obtained with a Cross-Shaped Template, p. 803, IJCAI 4, Tbilisi, Georgia/USSR, Sept. 3-8, 1975 IJCAI
- Yakimovsky 1976, Boundary and Object Detection in Real World Images, J. ACM vol. 23, 599-618 (1976) IJCAI
- Figure Captions ~: Frame 90 (fig. 1a) and frame 106 (fig. 1b)
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1. Introduction
If a component of a scene is displaced relative to the stationary scene part from moment to moment without significantly changing its internal struc ture then it appears as a natural abstraction to consider the systematically displaced component to represent a moving object. A sequence of images may, therefore, be evaluated under the assumption that systematic displacements of some image compo nents from frame to frame can be taken as a strong hint to look for the image of a moving object. This assumption opens a way to extract object represen tations from a sequence of image frames without detailed knowledge about size, shape or textural appearance of the object or the stationary part of the scene. During investigations of this possibili ty CNagel 76b, Nagel 77J it became necessary to quickly and reliably identify non-stationary image components in a sequence of images, e.g. TV-frames from a TV-camera observing a street intersection with cars and pedestrians or a conveyor belt with industrial parts.
We want to suggest an approach which seems to of fer a reliable basis for separating non-stationary from stationary image components.
2. Comparison of digitized ~es based on second order statist1cs
A complete digitized TV-frame comprises of 573 lines with 512 pixels each at our i nstallation. The area consisting of four neighbouring pixels for six consecutive lines is defined as a 'geo-pixel'. For each geo-pixel the mean greyvalue m and the cor responding variance s is calculated and stored. Since the greyvalues are digitized to eight bits and - due to computational reasons - not the mean
~ leave from Electronics & Electrical Communi cation Engineering Department, Indian Institute of Technology, Kharagpur 721302, India and variance but the sum of greyvalues and squared greyvalues are preserved for each geo-pixel, the amount of storage required for each geo-pixel is given by 5+8 bits for the greylevel sum and 5+16 bits for the sum of the squared greylevels. Since these sums will have to be accumulated for several frames, even more bits have to be reserved. By suitable packing, these data fit - for each gee pixel - into two 36 bit words of our DECSystem-10. We thus require 2x96x128 = 24576 words of core for an entire TV-frame in geo-pixel format.
For every TV -frame in· the sequence, each geo-pixel is compared to data previously observed at the some geo-pixel coordinates by means of the following likelihood ratio .<.
m and s denote the mean greyvalue and its variance for the measurements acct.nr.ulated at this geo-pixel position. This expression is formed in analogy to one given by Yakimovsky 76 to determine whether two neighbouring test areas can be thought of being measurements from identical or from differing nor mal distributions for greylevels. Here, the mea surements are not taken from two neighbouring areas of the same TV-frame but rather from the same area of two neighbouring TV-frames - an idea which comes quite natural when working with the Yakimovsky al gorithm CYakimovsky 76, Nagel 76aJ on sequences of TV-frames CNagel 76bJ.

If the likelihood ratio turns out to be smaller than a threshold t (in our experiments chosen with in the range 1 to 20) then the two sets of measure ments for this geo-pixel position are considered to be drawn from the same normal greylevel distri bution. On this basis, the sum of greylevels as well as the sum of squared greylevels for this geo-pixel from frame n+1 are added to the corre sponding, already accumulated sums for the geo-pi xel at the same coordinates and the count of con tributing pixels for this geo-pixel is increased by 24 . This corresponds to taking repeated measure ments and averaging them to obtain a better esti mate for the grey value of this geo-pixel.
If, however, the likelihood ratio equals or exceeds the chosen threshold t, it is decided to attribute the measurements for this geo-pixel in frame n+1 to a different normal greylevel distribution than the one from which the hitherto accumulated mea surements for the same geo-pixel coordinates were obtained. In this case the sums of greylevels and squared greylevels are entered together with the frame number and the geo-pixel location into a list of (yet unconnected, see later) 'not matched' gee pixels which is ordered according
- first to line numbers ,
- for each line according to column numbers,
- for each column number according to frame numbers .
Figure 1 shows two pictures of a TV-frame sequence from a street intersection scene. Figure 2 shows the numbers of geo-pixels at each of the 96x128 geo-pix~l positions which are in the 'not matched' or 'failing match' list when seven subsequent frames are compared in the described manner. One can easily see areas with a high density of 'not matched' geo-pixels. With the exception of the ver tical band at the left which is due to hardware trouble (line jitter compounded by some other effect), one can attribute the high density 'not matched' areas to moving objects: the bright car crossir~ the intersection, a pedestrian to the lower left and a car at the lower center coming to a stop.
If the failing match of a geo-pixel is due to ge nuine motion of the corresponding object then the next frame should also not match at the same geo pixel ·position. This consideration is used to build a filtering process by which the accidental ly failing matches can be removed to some extent with a local operation .
As soon as a failing match is observed at a gee pixel position in frame n+1, this position is flag ged. If comparison of the geo-pixel from frame n+2 with the data accumulated at the same coordinates in the geo-pixel matrix up to frame n yields a failing match, too, then both failing matches are definitely accepted. This situation is henceforth denoted as a mismatch. Moreover , this geo-pixel position continues to be flagged until a match will be observed for it. If the geo-pixel from frame n+2 matches to the datq. accumulated up to and in cluding frame n then the failing match at this po sition in frame n+1 is dropped. The corresponding greyvalue and squared greyvalue data from frame n+1 are not incorporated into the accumulated mea surements, whereas those of frame n+2 are incor porated. The 'failing match' flag is removed for this geo-pixel position. Figure 3 presents the de finite mismatches obtained by comparing the same TV-frames that resulted in figure 2. Most of the noise has disappeared.
Based on these results, two alternative approaches have been devised to extract non-stationary image components ·
3. Clustering of mismatched geo-pixels
If a mismatch for a geo-pixel position could real ly be attributed to definite changes in greylevels for this position due to motion of an object in the scene then sooner or later mismatches must be observed in neighbouring geo-pixels, Therefore, a candidate for a non-stationary image component is formed for every 4-connected group of mismatched geo-pixels which
- contains at least one geo-pixel for which the number of mismatches exceeds a certain fraction of the number of TV-frames compared (this frac tion is currently taken to vary between 50 % and 85 %) : a so-called 'strong mismatch' ;
- contains at least one additional mismatched geo pixel which is 4-connected to a 'strong mismatch'·
Additional mismatcbes may be 4-connected to a 'stronjmismatch' either directly or indirectly through other mismatches. It is considered suffi cient to look for all 4-connected mismatches since even for oblique motion relative to the TV-raster enough neighbouring geo-pixels should eventually show a mismatch to establish 4-connection between them.
Figure 4 presents the candidates for non-stationary image components extracted from the data represent ed in figure 3.
Up to this point the algorithm contains only three parameters: the threshold t for the likelihood ratio, the number N of frames after which the list of mismatched geo-pixels is searched for non-stati onary component candidates, and the fraction of N which is required for a strong mismatch. One could consider the minimum number of 4-connected mis matches in a cluster as another parameter which for some pictures might be set higher than 2 as it is done here . Now an additional step is introduced which provides the setup to repeat the steps dis cussed so far.
An enclosing rectangle for each non-stationary image component candidate is determined. One pair of rectangle sides is taken to be parallel to the scanline . The coordinates of the rectangle edges are remembered for a later estimate of the velo city vector to be attributed to the non-stationary component candidate. After these preparations the next N frames are compared to the geo-pixel matrix. Whenever a mismatch occurs at a geo-pixel position 4-connected to a candidate as enclosed within the (latest) rectangle, then this mismatch is consider ed to belong to the candidate to which it is 4connected (note that a mismatch requires at least two subsequent 'non-matches ' and that it must be 4-connected to a candidate for the non-stationary image component itself , not to the rectangle en closing it). If a mismatch cannot be 4-connected to an already existing non-stationary component candidate, it is introduced in a separate list of 'yet unconnected' mismatches. In this way even mis matches due to very slow motions will eventually be recognized after sufficient frames have been compared.
Whenever another series of N frames has been treat ed in this manner, the enclosing rectangles about the newly added mismatches of already existing non-stationary component candidates are determined. Then the left and right edges of such a newly en closing rectangle are compared with those of the preceding enclosing rectangle of the same candi date, The larger of the two edge displacements for each candidate will determine an estimate of the image displacement velocity for this candidate along the horizontal axis. The smaller displace ment velocity is attributed to residual mismatches in the trailing part of the non-stationary image component candidate. To take this hypothesis into account, the trailing fraction of the newly deter mined enclosing rectangle equal in extension to the displacement difference between leading and trailing edge of the enclosing rectangle during the last N frames is released. (Note that this im plies assuming a constant extension of the non stationary image component candidate along the ap parent direction of motion.) As a consequence, all entries for these geo-pixel positions are cleared since it has just been decided that the non-stati onary image component rn0ved away from there and uncovered the background. New estimates of the background can be accumulated in these geo-pixel positions during subsequent frames. The same ap proach is taken with respect to the vertical dis placement. Before handling the next N frames, the list of 'yet unconnected' mismatches is searched for additional non-stationary image component can didates; all remaining isolated mismatches are then thrown away.
This algorithm has been tested on four image se quences from different street scenes, each contain ing 25-50 TV-frames. The threshold thad to be va ried between 3 and 20 to yield optimal results for these image sequences. The number N of frames in one subseries has always been choosen to be 7 and the fraction of it establishing a strong mismatch was best taken to be 85% (6 out of 7 frames).
In order to obtain good results for all four image sequences with the same threshold value, the match criterion of paragraph 2 has been modified by re placing all variances s with MAX(s, 20) - note that the nominator of the match criterion repre sents the square of the variance for greyvalues from all pixels involved in this test.
About 8-9 seconds CPU-time of a DEC KI-10 proces sor are required to test already prepared geo-pixel data of one TV-frame for a match with previously accumulated data. If one starts directly from the raw digitizings, about 25-30 seconds per frame are required. After each subseries of N frames an ad ditional 10 seconds CPU-time are required to pro cess the mismatches found in this subseries (about 500-3000 per frame depending upon the threshold value).
The final extraction of moving object descriptions from non-stationary image components may proceed according to the methods discussed in Nagel 76b and Nagel 77.
4. Exploiting a monotony characteristic of the msmatch count
Based on the mismatches established by the algo rithm of paragraph 2 an alternative approach to the one described in paragraph 3 has been devised. This alternative may either be used to complement the one described in the preceding paragraph or to yield another estimate for the image of a moving object, thus allowing a consistency check on the estimation of the image of the moving object.
The differencing operation described in section 2 results in clear indication of those regions of the frames where changes are taking place. This ope ration offers one very attractive property which may be exploited for extracting the image compo nent potentially due to a moving object. Let us consider an idealized situation to understand this property: an object with homogeneous greyvalue is moving parallel to the image plane of the TV-came ra against a homogenous background. At the rear end of the object some part of the background which was covered by the object in the previous frame is uncovered and at the front end some uncovered part of the background is covered by the moving object. This results in mismatched geo-pixels. Assuming the reference frame to be represented as Oth frame, after the 1st frame there will be 1 entry for each 'not matched' geo-pixel corresponding to these re gions. The 'not matched' geo-pixels may be thought of as representing a difference picture.
After the second frame, the regions of the diffe rence picture which were having 1s become 2s and the new regions due to the uncovering and covering of background will have 1s. After the 3rd frame, 2s become 3s, 1s become 2s and newly created regions receive 1s. If the object motion is unidirectional, this process continues until the object image has moved over the distance equivalent to its projec tion along the direction of motion in the image plane of the TV-camera. This phenomenon is depicted in figure 5 for the comparison of 4 frames. Hence if one observes neighbouring entries in the diffe rence picture corresponding to this idealized si tuation, the entries are found to be monotonic in nature. The above discussion is valid for the mo tion having a velocity component perpendicular to the line of sight of the camera. If the velocity component in the image pl~1e of the TV-camera is zero then mismatches for a motion along the line of sight of the camera will be due to size changes for the projected image of the moving object. How ever, this case is not considered in the present implementa,tion.
In real world pictures the situation is not, unfor tunately, so straightforward. Because of the inho mogeneous objects and inhomogeneous background, some noise is introduced in the difference picture. Still it should be expected that for the most part these entries (assuming the noise not to be very high, in high noise situation even the human beings make mistakes) will confirm monotonici ty. Accor dingly, for an object having a velocity component perpendicular to the axis of the camera there should be two more or less monotonic regions - pro vided this object is completely contained in the field of view, is not occluded, ~ does not show vanishing contrast with respect to the stationary scene part that is currently occluded by this ob ject.
The monotonicity of the entries will also indicate the direction of the motion: the object will be moving in the direction in which the entries are decreasing. On knowing the direction of the motion it is immediately known which region corresponds to the rear end of the object and which to the front of the object. It should be noted that the mismatch region at the rear end of the object is formed due to uncovering of the background while the mismatch region at the front end is formed due to covering of the background by the object.
Hence the mismatch regions in the nth frame corre spond to the background component and the object component, respectively. These two regions may be utilized to estimate a representation of the non stationary image component.
In the present algorithm we extract the properties of the background (presently only greylevel) and then build up the non-stationary component by con sidering that all the pixels in the area fixed by the two regions of the difference picture which are differing from the background by an appreciable amount represent the object. This algorithm is ap plied to the TV-sequence: of the traffic scene. The result obtained from frame 106 is shown in figure 6. A simple filtering of noise is achieved bv re moving all the 4-connected regions of size less than 24. The regions of the non-stationary compo nent having different greylevels are printed using different characters in the filtered non-stationa ry components shown in figure 7.
It s~ould be noted that in this example the car and its shadow are considered to be the same non stationary image component because they are moving together, although they have very different grey values.
Once these non-stationary image components are ex tracted, estimation of their velocity components presents no problem. Moreover, the representation of the non-stationary image component candidates may be compared with the representation of the cor responding candidates in subsequent frames · Any pixels which do not appear in a large fraction of candidates will be discarded from the representa tion of the non-stationary image component. Addi tional domain independent knowledge may subse quently be applied to support the hypothesis that the non-stationary image component can indeed be taken as a representation for the projected image of a moving object in the scene. However, such techniques exceed the scope of this contribution.
5. Conclusion
The experiences with Yakimovsky's algorithm show that a segmentation of greylevel pictures based on the abOve mentioned second order statistics like lihood ratio seems to be a very robust method CNa gel 76aJ. Further experiments are necessary to ve rify whether application of the same approach to the comparison of consecutive frames turns out to be robust , too.
The method proposed by Potter 7 5 seems to present difficulties if applied to real world scenes. Chow and Aggarwal 77 work with objects showing a high contrast against background so that noise problems do not bother them. Part of the results reported by Chien and Jones 75 refer equally to experiments with well controlled contrast. Their work on real time tracking of cars in a street scene is primari ly concerned with finding and following prominent greyvalue features rather than extracting a de scription of a moving object from the TV-frame se quence as in our work. L:iJnb and Murphy 7 5 develop ed a method for the detection of a non-stationary image component in the context of bandwidth com pression of TV-signals. They essentially rely upon a threshold for the greyvalue difference between successive frames to find a non-stationary image component. They do not attempt to isolate and ex tract the image of a moving object. Further refe~ rences to the literature may be found in Nagel 76b and Nagel 77 .
It is obvious that the combinations of the algo rithms proposed here with evaluation of segmenta tion results for individual images may yield addi tional information as to what regions are likely to belong to the image of a moving object. Espe cially in the case where the leading and trailing edges characterized by mismatches can be connected within each frame by (a group of) regions with constant greyvalue' characteristics , strong support would be obtained to consider these (group of) re gions as a representation for a moving object.
It might be worthwile to point out that no special emphasis is placed by this approach on the first frame. Although it provides the starting estimates for each geo-pixel characteristic, these are ei ther reenforced by accumulation of data from com patible geo-pixels in later frames - indicating that this geo-pixel belongs to a stationary image component - or new estimates are started once the non-stationary component has disappeared from this area of the image.
It should be noted that the approach suggested here will allow to determine automatically a win dow within each image around a suspected moving object candidate. In addition, it can be used to derive the frame number difference between two frames within which the non-stationary image com ponent has been displaced by more than its own ex tension along the direction of motion. Therefore, a direct comparison of these two frames will con trast the non-stationary image component against parts of the stationary image component in the other frame, thus enabling a simple extraction. The automatic determination of a (conservative) window around the non-stationary image component and the appropriate frame number difference are the essential parameters for the method described in Nagel 76b where these parameters still had to be estimated by a human operator and supplied as input values. Therefore, the current contribution can be seen as giving additional support to the approach described in Nagel 76b. It should be em phasized that the approach described here must be seen as one part in an entire system for analysis of image sequences, as e.g. in the envisaged de~· sign of a system for the analysis of TV-frame se quences outlined in Nagel 77,
6. References
Chien and Jones 1975, Acquisition of Moving Ob~ jects and Hand-Eye Coordination, p. 737, Advance Papers IJCAI 4, Tbilisi, Georgia/USSR, Sept. 3-8, 1975
Chow and Aggarwal 1977, Computer Analysis of Planar Curvilinear Moving Objects , IEEE Trans. on Ccrnp. C-2_6, 179 (1977)
Limb and Murphy 1975, Estimating the Velocity of Moving Images in Television Signals, Computer Gra phics and Image Processing vol. 4, 311 (1975)
Nagel 1976a, Experiences with Yakimovsky's Algo rithm for Boundary and Object Detection in Real World Images, Proc. IJCPR3, Coronado/Cal., Nov. 8-11, 1976, p. 753-758
Nagel 1976b, Formation of an Object Concept by Ana lysis of Systematic Time Variations in the Optical ly Perceptible Environment, Ifi-HH-B-27/76 (July 1976), Institut fuer Informatik,, Universitaet Ham burg; to appear in Ccrnputer Graphics and Image Frocessing
Nagel 1977, Analysing Sequences of TV-Frames: Sy stem Design Considerations, Ifi-HH-B-33/77 (March 1977), Institut fuer Informatik, Universitaet Ham burg; condensed version appears at IJCAI-77
Potter 1975, Scene Segmentation by Velocity Mea surements Obtained with a Cross-Shaped Template, p. 803, IJCAI 4, Tbilisi, Georgia/USSR, Sept. 3-8, 1975
Yakimovsky 1976, Boundary and Object Detection in Real World Images, J. ACM vol. 23, 599-618 (1976)
7. Figure Captions
~: Frame 90 (fig. 1a) and frame 106 (fig. 1b) IrOmla sequence of video-frames recorded on an AM PEX analog TV-disk. The frame sequence represents a street intersection with traffic, observed frcrn our laboratory window by a commercial TV-camera.
~: 'Not matched' or 'failing match' geo-pixel posltlons from comparison of frame 90 through 96. The digit at each geo-pixel position indicates how often a 'failing match' occurred for that geo-pi xel.
Fig. 3: The digit at each geo-pixel position indi cates the number of definite mismatches after ap plying the local filter criteria described in para graph 2.
Fig. 4: Candidates for non-stationary image ccrnpo nents extracted from the data shown in fig. 3 ac cording to the procedure described in paragraph 3. The different digits correspond to different can didates. All geo-pixel positions attributed to a candidate for a non-stationary image ccrnponent are indicated by the corresponding digit.
rig. 5: aa' , bb' , cc' and dd' represent the suecessive positions of a moving object image in the Oth, 1st, 2nd, 3rd frame, respectively. The num bers above the leading and trailing part of the moving object image indicate the number of failing matches determined after comparing the 1st, 2nd, 3rd frame with the Oth frame.
~: The object components extracted from frame 1061W3ing the apprcach described in paragraph 4.
!18..:.2.: The regions of the ccrnponents shown in fig. 6 are reproduced in fig. 7 with the regions of different greyvalues being represented by diffe rent characters.





@inproceedings{ijcai1977p143,
title = {Separating Non-Stationary from Stationary Scene Components in a Sequence of Real World TV Images},
author = {Jain, Ramesh C. and Militzer, D. and Nagel, Hans-Hellmut},
booktitle = {Proceedings of the Fifth International Joint Conference on
Artificial Intelligence, {IJCAI-77}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Raj Reddy},
pages = {612--617},
year = {1977},
note = {Vision},
url = {https://ijcai.org/proceedings/1977/143},
}
TY - CPAPER TI - Separating Non-Stationary from Stationary Scene Components in a Sequence of Real World TV Images AU - Jain, Ramesh C. AU - Militzer, D. AU - Nagel, Hans-Hellmut T2 - Proceedings of the Fifth International Joint Conference on Artificial Intelligence, IJCAI-77 PB - International Joint Conferences on Artificial Intelligence PY - 1977 SP - 612 EP - 617 UR - https://ijcai.org/proceedings/1977/143 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: