Moving object localisation using a multi-label fast marching algorithm

Moving object localisation using a multi-label fast marching algorithm

Signal Processing: Image Communication 16 (2001) 963}976 Moving object localisation using a multi-label fast marching algorithm E. Sifakis , G. Tzi...

743KB Sizes 0 Downloads 55 Views

Signal Processing: Image Communication 16 (2001) 963}976

Moving object localisation using a multi-label fast marching algorithm E. Sifakis , G. Tziritas  * Institute of Computer Science } FORTH, P.O. Box 1385, Heraklion, Greece Department of Computer Science, University of Crete, P.O. Box 2208, Heraklion, Greece Received 26 December 1999; received in revised form 15 September 2000; accepted 11 December 2000

Abstract In this paper, we address two problems crucial to motion analysis: the detection of moving objects and their localisation. Statistical and level set approaches are adopted in formulating these problems. For the change detection problem, the inter-frame di!erence is modelled by a mixture of two zero-mean Laplacian distributions. At "rst, statistical tests using criteria with negligible error probability are used for labelling as changed or unchanged as many sites as possible. All the connected components of the labelled sites are used thereafter as region seeds, which give the initial level sets for which velocity "elds for label propagation are provided. We introduce a new multi-label fast marching algorithm for expanding competitive regions. The solution of the localisation problem is based on the map of changed pixels previously extracted. The boundary of the moving object is determined by a level set algorithm, which is initialised by two curves evolving in converging opposite directions. The sites of curve contact determine the position of the object boundary. Experimental results using real video sequences are presented, illustrating the e$ciency of the proposed approach.  2001 Elsevier Science B.V. All rights reserved. Keywords: Change detection; Video object segmentation; Fast marching algorithm

1. Introduction Detection and localisation of moving objects in an image sequence is a crucial issue for the analysis of moving video [25], as well as for a variety of applications of Computer Vision, including object tracking [5], "xation and 2-D/3-D motion estimation. For MPEG-4 video object manipulation [23], the video object plane extraction could be based on change detection and moving object localisation. For videoconferencing applications these motion

* Corresponding author. E-mail addresses: [email protected] (E. Sifakis), tziritas@csd. uoc.gr (G. Tziritas).

analysis techniques could be used in place of `blue-screeninga techniques. Moving objects could be used for content description in MPEG-7 applications. In tra$c monitoring, tracking of moving vehicles is needed, and in other cases visual surveillance is used for detecting intruding objects. In the case of a static camera, detection is often based only on the inter-frame di!erence. Detection can be obtained by thresholding, or using more sophisticated methods taking into account the neighbourhood of a point in a local or global decision criterion. In many real-world cases, this hypothesis is not valid because of the presence of ego-motion (i.e., visual motion caused by the camera's, movement). This problem can be eliminated by computing the camera motion and creating

0923-5965/01/$ - see front matter  2001 Elsevier Science B.V. All rights reserved. PII: S 0 9 2 3 - 5 9 6 5 ( 0 0 ) 0 0 0 5 6 - 4

964

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

a compensated sequence. In this work only the case of a static scene is considered. This paper deals with both problems, change detection and moving object localisation. Indeed, complete motion detection is not equivalent to temporal change detection. The presence of motion usually causes three kinds of `change regionsa to appear. They correspond to (1) the uncovered static background, (2) the covered background and (3) the overlap of two successive object projections. Note also that regions of third type are di$cult to identify by a temporal change detector, when the object surface intensity is rather uniform. This implies that a complementary computation must be performed after temporal change detection, to extract speci"c information about the exact location of moving objects. Simple approaches to motion detection consider thresholding techniques pixel by pixel [8], or blockwise di!erence to improve robustness against noise [26]. More sophisticated models have been considered within a statistical framework, where the inter-frame di!erence is modelled as a mixture of Gaussian or Laplacian distributions [25]. The use of Kalman "ltering for certain reference frames in order to adapt to changing image characteristics has also been investigated [11]. The use of "rstorder Markov chains [6] along rows and of two-dimensional causal Markov "elds [9] has also been proposed to model the motion detection problem. Spatial Markov Random Fields (MRFs) through the Gibbs distribution have been widely used for modelling the change detection problem [1}3,11,14,24]. These approaches are based on the construction of a global cost function, where interactions (possibly non-linear) are speci"ed among di!erent image features (e.g., luminance, region labels). Multi-scale approaches have also been investigated in order to reduce the computational overhead of the deterministic cost minimization algorithms [14] and to improve the quality of the "eld estimates. In [17] a motion detection method based on an MRF model was proposed, where two zero-mean generalised Gaussian distributions were used to model the inter-frame di!erence. For the localisation problem, Gaussian distribution functions were

used to model the intensities at the same site in two successive frames. In each problem, a cost function was constructed based on the above distributions along with a regularization of the label map. Deterministic relaxation algorithms were used for the minimisation of the cost function. On the other hand approaches based on contour evolution [12,4], or on partial di!erential equations are also proposed in the literature. In [7] a three-step algorithm is proposed, consisting of contour detection, estimation of the velocity "eld along the detected contours and "nally the determination of moving contours. In [16], the contours to be detected and tracked are modelled as geodesic active contours. For the change detection problem a new image is generated, which exhibits large gradient values around the moving area. The problem of object tracking is posed in a uni"ed active contour model including both change detection and object localisation. In this paper, we propose a new method based on level set approaches. The level set methodology was introduced by Osher and Sethian [15] and can handle a contour evolution, while naturally allowing changes in the topology of the segmented regions. A thorough presentation of the level set method is given in [19]. The fast marching level set algorithm introduced by Sethian [18] computes a constructive solution to the stationary level set equation 1 ¹(x, y)" , v(x, y)

(1)

where v(x, y) corresponds to the propagation speed at point (x, y) of the evolving front, while ¹(x, y) is a map of crossing times. At any given time the location of the evolving active contour can be determined. The resulting segmentation is interpreted by means of the velocity "eld used. Given the limitation of a constantly positive velocity function and a suitable discrete gradient de"nition, the fast marching algorithm can construct a solution ¹(x, y) which satis"es Eq. (1) all over the image without resorting to iterative methods. The running time of the fast marching algorithm is of order n log n over the image size, classifying it as a very e$cient segmentation technique. A review of the fast marching algorithm appears in [20].

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

An innovative idea here is that the propagation speed can be made label-dependent. Thus, for the problem of change detection, where image sites are characterised by two labels, an initial statistical test gives seeds for performing the contour propagation. The propagation of the labels is implemented using an extension of the fast marching algorithm, called the multi-label fast marching algorithm. The change detection maps are used for initialising another level set algorithm, based on the spatial gradient, for tracking the moving object boundary. For more accurate results and in order to have an automatic stopping criterion, two fronts are propagated in converging opposite directions, so as to meet on the object boundary, where the spatial gradient is maximum. The reminder of this paper is organised as follows. In Section 2, we consider the motion detection problem and propose a method for initially labelling sites with high con"dence. In Section 3, a new algorithm based on level set approaches is introduced for propagating the initial labels. In Section 4, we present the moving object localisation problem, as well as a fast marching algorithm for locating the object's boundary. In order to assess the e$ciency and the robustness of the proposed method, experimental results are presented on real-image sequences. Results illustrating the di!erent methods are provided in each of the above sections, as well as in Section 5, where the "nal conclusions are given.

2. Detection of moving objects 2.1. Problem position Let D"d (x, y), (x, y)3S denote the grey level di!erence image with d(x, y)"I(x, y, t#1)!I(x, y, t).

(2)

The change detection problem consists of a `binarya label (x, y) for each pixel on the image grid. We associate the random "eld (x, y) with two possible events, (x, y)"static (or unchanged pixel), if the observed di!erence d(x, y) supports the hypothesis (H ) for static pixel, and (x, y)"mo bile (or changed pixel), if the observed di!erence

965

supports the alternative hypothesis (H ), for mobile  pixel. Under these assumptions, for each pixel it can be written H : (x, y)"static,  (3) H : (x, y)"mobile.  Let p (dstatic) respectively (p (dmobile)) "   "   be the probability density function of the observed inter-frame di!erence under the H (respectively  H ) hypothesis. These probability density functions  are assumed to be homogeneous, i.e., independent of the pixel location, and usually they are Laplacian or Gaussian. We use here a zero-mean Laplacian distribution function to describe the statistical behaviour of the pixels for both hypotheses, thus the conditional probability density function of the observed di!erence values is given by  p(d(x, y)(x, y)"l)" J e\HJ BV W. 2

(4)

In what follows, we shall also use index &0' for static label and index &1' for mobile label. Let P  (respectively P ) be the a priori probability of hy pothesis H (respectively H ). Observed di!erence   values are assumed to be obtained by selecting a label l3static, mobile with probability P and J then selecting an inter-frame di!erence d according to the probability law p(dl). Thus, the probability density function is given by p (d)"P p (dstatic)#P p (dmobile). (5) "  "  " In this mixture distribution P ,  ; l30, 1 are J J unknown parameters. The principle of maximum likelihood is used to obtain an estimate of these parameters [10,13]. The unknown parameters are iteratively estimated using the observed distribution of grey-level inter-frame di!erences. An initial estimate is calculated using "rst-, second- and third-order moments of the variable considered. In Fig. 1, the histogram and the approximated probability density function (dashed line) for a test pair of frames is shown [17]. 2.2. Initial labelling An initial map of labelled sites is obtained using statistical tests. The "rst test detects changed sites

966

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

w"2,2, 6, are considered and the corresponding thresholds are pre-set as a function of  . Let us  denote by B the set of pixels labelled as unchanged U when testing window indexed by w. We set them as follows:





U U  B " (x, y):   d(x#k, y#l)( U , U   I\U J\U w"2,2, 6. The probability of non-detection depends on the threshold  , while  is inversely proportional to U  the dispersion of d(x, y) under the `changeda hypothesis. As the evaluation of this probability is not straightforward, the numerical value of  is empirU ically "xed. In the following table we give the values used in our implementation:

Fig. 1. Mixture decomposition in Laplacian distributions for inter-frame di!erence for Trevor White.

with high con"dence. The false alarm probability is set to a small value, say P . For the Laplace distri$ bution used here, the corresponding threshold is 1 1 ¹ " ln .   P  $

(6)

Subsequently, a series of tests is used for "nding unchanged sites with high con"dence, that is with small probability of non-detection. For these tests a series of "ve windows of dimension (2w#1),

w

2

3

4

5

6



0.4

1.6

3.5

7.0

12.0

U

Finally, the union of the above sets  B deterU U mines the initial set of `unchangeda pixels. Results of the initial processing are given in Fig. 2 for two di!erent amounts of motion and for two pairs of frames taken from the Trevor White image sequence. In these images black represents an `unchangeda site, white a `changeda site, and grey an `unlabelleda site. As expected in the righthand-side map (frames 38}39), where the amount of motion is more prominant, the discrimination is

Fig. 2. Initial sets for two pairs of frames of the Trevor White sequence.

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

clearer. If the amount of motion is small (left-handside map for frames 23}24), there is a signi"cant number of ambiguous sites. 2.3. Label propagation A multi-label fast marching level set algorithm, presented in the next section, is then applied for all sets of points initially labelled. This algorithm is an extension of the well-known fast marching algorithm [19]. The contour of each region is propagated according to a motion "eld which depends on the label and on the absolute inter-frame di!erence. The label-dependent propagation speed is set according to the a posteriori probability principle. As the same principle will be used later for other level set propagations and for their respective velocities, we shall present here the fundamental aspects of the de"nition of the propagation speed. The candidate label is ideally propagated with a speed in the interval [0, 1], equal in magnitude to the a posteriori probability of the candidate label at the considered point. Let us de"ne at a site s, for a candidate label l and for a data vector d the propagation speed as v (s)"Prl(s)d(s). J Then we can write p(d(s)l(s))Prl(s) v (s)" J  p(d(s)k(s))Prk(s) I 1 " . p(d(s)k(s))Prk(s)  I$J p(d(s)l(s))Prl(s)

(7)

Therefore, the propagation speed depends on the likelihood ratios and on the a priori probabilities. The likelihood ratios can be evaluated according to the assumptions on the data, and the a priori probabilities could be estimated, either globally or locally, or assumed all equal. In the case of a decision between the `changeda and the `unchangeda labels according to the assumption of Laplacian distributions, the likelihood

967

ratios are exponential functions of the absolute value of the inter-frame di!erence. In a pixel-based framework the decision process is highly noisy. Moreover, the moving object might be non-rigid, its various components undergoing di!erent movements, e.g., the head and the arms of Trevor White. In regions of uniform intensity the frame di!erence could be small, while the object is moving. The memory of the `changeda area of the previous frames should be used in the de"nition of the local a priori probabilities used in the propagation process. According to Eq. (7) and (4), the two propagation velocities could be written as follows: 1 v (x, y)"  Q (x, y; 0)  eH \H BV W 1#  Q (x, y; 0)   and 1 , v (x, y)"  Q (x, y; 1)  e\H \H BV W 1#  Q (x, y; 1)   where the parameters  and  have been pre  viously estimated. We distinguish the notation of the a priori probabilities because they should adapt to the conditions of propagation and to local situations. Indeed, the above velocity de"nition is extended in order to include the neighbourhood of the considered point v (s)"Prl(s)d(s), kK (s ), s 3N (s), J J where the neighbourhood may depend on the label, and may be de"ned on the current frame and on previous frames too. Therefore, in this case the ratio of a priori probabilities is adapted to the local context, as in a Markovian model. A more detailed presentation of the approach for de"ning and estimating these probabilities follows. From the statistical analysis of data's mixture distribution we have an estimation of the a priori probabilities of the two labels (P , P ). This is an   estimation and not a priori knowledge. However, the initially labelled points are not necessarily distributed according to the same probabilities, because the initial detection depends on the amount of motion, which could be spatially and temporally

968

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

variant. We de"ne a parameter measuring the divergence of the two probability distributions as follows:

 

"

PK P . >.    , PK P   K

K

where PK #PK #PK "1, PK being the percentage     of unlabelled pixels. The will be the ratio of the a priori probabilities. In addition, for v (x, y) the  previous `changea map and local assignments are taken into account, and we de"ne Q (x, y; 1) eF \?V W>L V W\L V WD  " , Q (x, y; 1)

 where (x, y)"ln(2 (x, y)!1), with (x, y) the distance of the (interior) point from the border of the `changeda area on the previous pair of frames, and n (x, y) (respectively n (x, y)) the number of pixels   in neighbourhood already labelled as `changeda (respectively `unchangeda). The parameter is adopted from the Markovian nature of the label process and it can be interpreted as a potential characterising the labels of a pair of points. Finally,

the exact propagation velocity for the `unchangeda label is 1 v (x, y)"   1#  eH \H BV W>F \L V W\L V WD   (8) and for the `changeda label v (x, y) 

1 . " 1 1#  eF \H \H BV W\?V W>L V W\L V WD

  (9)

In our current implementation the parameters are set as follows: "0.1¹ (see Eq. (6))  "4   and  "5 #4. In Fig. 3, the two speeds are  mapped as functions of the absolute inter-frame di!erence for typical parameter values near the boundary. We use the fast marching algorithm for advancing the contours towards the unlabelled space. Often in level set approaches constraints on the boundary points are introduced for in order to obtain a smooth and regularised contour and so

Fig. 3. The propagation speeds of the two labels; solid line: `changeda label, dashed line: `unchangeda label.

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

969

Fig. 4. The evolution of the labelled curves for the left-hand-side initial map of Fig. 2.

that an automatic stopping criterion for the evolution is available. Our approach di!ers in that the propagation speed depends on competitive region properties, which both stabilise the contour and provide automatic stopping for the advancing contours. Only the smoothness of the boundary is not guaranteed. Therefore, the dependence of the propagation speed on the pixel properties alone, and not on contour curvature measures, is not a strong disadvantage here. The main advantage is the computational e$ciency of the fast marching algorithm. The curve evolution for the initial map given in the left-hand-side picture of Fig. 2 is presented in Fig. 4. Topological changes occur as the labels are propagated, and the speeds seem to be well adapted to the considered detection problem.

3. Multi-label fast marching algorithm

action for each label to the continuously shrinking set of pixels for which a "nal decision has not yet been reached. The propagation speed may also have a di!erent de"nition for each class and, as seen in the previous section, the speed could take into account the statistical description of the considered class. The algorithm as described below assumes the existence of an initialization for the crossing times ¹(x, y), speci"cally its zero-level set (cf. Fig. 2). Each pixel may carry several label candidacies. An `alivea candidacy represents a "xated arrival time, while that of a `triala candidacy is subject to change. Alive candidacies are selected from the set of trial candidacies according to a minimum arrival time criterion and have their arrival time estimate "xated. The result of the algorithm is not only the crossing time at each point (x, y), but the corresponding labelling as well. The symbolic description of the algorithm follows:

The proposed algorithm, "rst presented in [22], is a variant of the fast marching algorithm which, while retaining the properties of the original, is able to cope with multiple classes (or labels). The same algorithm has also been used for other image segmentation tasks formulated as labelling problems [21]. The execution time of the new algorithm is e!ectively made independent of the number of existing classes by handling all the propagations in parallel and dynamically limiting the range of

InitTValueMap() InitTrialLists() while (Exist TrialPixels())  pxl"FindLeastTValue() MarkPixelAlive(pxl) UpdateLabelMap(pxl) AddNeighborsToTrialLists(pxl) UpdateNeighborTValues(pxl) 

970

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

The algorithm is supplied with a label map partially "lled with decisions. A map with pointers to linked lists of trial pixel candidacies is also maintained. These lists are initially empty except for sites neighbouring initial decisions. For those sites a trial pixel candidacy is added to the corresponding list for each di!erent label of neighbouring decisions and an initial arrival time is assigned. The arrival time for the initially labelled sites is set to zero, while for all others it is set to in"nity. Apart from their participation in trial lists, all trial candidacies are independently contained in a common priority queue, to aid the selection of the candidacy carrying the smallest arrival time. While there are still unresolved trial candidacies, the trial candidacy with the smallest arrival time is selected and turned alive. If no other alive candidacy exists for this site, its label is copied to the "nal label map. For each neighbour of this site a trial candidacy of the same label is added, if it does not already possess one, to its corresponding trial list. Finally, all neighbouring trial pixels of the same label update their arrival times according to the stationary level set equation (1). While it may seem that trial pixels can exist per site for all di!erent labels, in fact, there can be at most four, since a trial candidacy is only introduced by a "nalised decision of a neighbouring pixel. In practice, trial pixels of di!erent labels coexist only in region boundaries, giving an average of label candidacies per pixel of two at most. Even in the worst case, it is evident that the time and space complexity of the algorithm is independent of the number of di!erent labels. Experiments have indicated a running time no more than twice the time required by the single contour fast marching algorithm.

4. Moving object localisation 4.1. Initialisation The change detection stage could be used for initialisation of the moving object tracker. The objective now is to localize the boundary of the moving object. The ideal change area is the union of sites which are occupied by the object in two successive time instants, C(t, t#1)"O(i, j, t)O(i, j, t#1),

(10)

where O(i, j, t) is the set of points belonging to the moving object at time t. Let us also consider the change area C(t!1, t)"O(i, j, t)O(i, j, t!1).

(11)

It can easily be shown that C(t, t#1)C(t, t!1) "O(i, j, t)(O(i, j, t#1)O(i, j, t!1)).

(12)

This means that the intersection of two successive change maps is a better initialisation for moving object localisation than either of them. In addition sometimes (O(i, j, t#1)O(i, j, t!1))LO(i, j, t). If this is true, then O(i, j, t)"C(t, t#1)C(t, t!1). Knowing that there exist some errors in change detection and that sometimes under some assumptions the intersection of the two change maps gives the object location, we propose to initialise a level set contour search algorithm by this map, that is the intersection of two successive change maps.

Fig. 5. Detection of moving objects: Trevor White.

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

This search will be performed in two stages: "rst, an area containing the object's boundary is extracted, and second, the boundary is detected. The description of these stages follows. Fig. 5 shows the initial position of the moving contours for the "rst frame of the two pairs given in Fig. 2. 4.2. Extraction of the uncertainty area The objective now is to determine the area that contains the object's boundary with extremely high con"dence. Because of errors resulting from the change detection stage, and also because of the fact that the initial boundary is, in principle, placed outside the object, as shown in the previous subsection, it is necessary to "nd an area large enough to contain the object's boundary. This task is simpli"ed if some knowledge about the background is available. In the absence of knowledge concerning the background, the initial boundary could be relaxed in both directions, inside and outside, with a constant speed, which may be di!erent for the two directions. Within this area then we search for the photometric boundary. The objective is to place the inner border on the moving object and the outer border on the background. We insist here that inner means inside the object and outer means outside the object. Therefore, if an object contains holes the inner border corresponding to the hole includes the respective outer border, in which case the inner border is expanding and the outer border is shrinking. In any case the object contour is expected to be between them at every point and under this assumption it will be possible to determine its location by the gradient-based module described in the next subsection. Therefore, the inner border should advance rapidly for points on the background, and slowly for points on the object. The opposite should happen for the outer border. For cases where the background could be easily described, a level set approach extracts the zone of the object's boundary. Let us suppose that the image intensity of the background could be described by a Gaussian random variable with mean  and variance . The model could be adapted to local measurements. For the Trevor White sequence

971

used here for illustrating results, a single background distribution is assumed. The propagation speeds will be also determined by the likelihood principle. If, as assumed, the intensity on the background points is distributed according to the Gaussian distribution, the local average value of the intensity should also follow the Gaussian distribution with the same mean value and variance proportional to . The likelihood test on the goodness of this hypothesis is based on the normalised di!erence between the average and the mean value, (IM !) ,  where IM is the average value of the intensity in a 3;3 window centered at the examined point. A low value means a good "t with the background. Therefore, the inner border should advance more rapidly for low values of the above statistics, while the outer border should be decelerated for the same values. On the other hand, it is almost certain that the border resulting from the previous stages is located on the background. Thus, the probability of being on the background is much higher than the probability of being on the object. For the outer border the speed is de"ned as 1 , v " (13)  1#c e\'M \IN  where it is considered that the variance of IM is equal to /8. According to Eq. (7) the constant c is  P  , c "   P (2  where P and P are the a priori probabilities of   being on the background or on the moving object, respectively. We have assumed that in the absence of knowledge the intensity on the object is uniformly distributed in an interval whose width is  (possibly equal to 255). As the initial contour is more likely to be located on the background, P is given  a smaller value than P (typically P /P "3). The    outer border advances with the complementary speed, v "1!v ,  

(14)

972

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

Fig. 6. The propagation speeds of the borders de"ning the uncertainty area; solid line: v , dashed line: v .  

Fig. 7. Extraction of the uncertainty area on two frames of the Trevor White sequence.

using the same local variance computation. The plots of the two borders' speeds are shown in Fig. 6 as a function of the normalised di!erence between the mean and the average values with c "5. The  width of the uncertainty zone is determined by a threshold on the arrival times, which depends on the size of the detected objects and on the amount of motion and which provides the stopping criterion. At each point along the boundary the distance from a corresponding `centrea point of the object is determined using a heuristic technique for fast computation. The uncertainty zone is a "xed percentage of this radius modi"ed in order

to be adapted to the motion magnitude. However, motion is not estimated, and only a global motion indicator is extracted from the comparison of the consecutive changed areas. The motion indicator is equal to the number of pixels with di!erent labels on two consecutive `changea maps reported to the number of the detected object points. We present results (Fig. 7) illustrating this stage on the same image sequence and for two frames, where the initial estimate is less accurate. The initial location errors arise from the amount of motion, and from its temporal change, such as changes in the direction of motion.

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

4.3. Gradient-based object localisation The last stage involves determining the boundary of the object based on the image gradient. The two borders extracted as above are propagated in opposite directions, the inner moving towards the outside and the outer towards the inside. The boundary is determined as the place of contact between the two converging borders. The propagation speed for both is 1 v " .  1#c (I/ )e 'N  

(15)

The parameter  is adapted to the data. An es timation of the variance of the gradient for the non-edge pixels of the undecided zone is performed. The object's boundary is expected to be situated in the undecided zone. Therefore, a bimodal distribution of the gradient magnitude should be observed on the data. Then a robust estimation method can discriminate between the two categories: edge and non-edge pixels. At "rst, the global variance is estimated, and then points with gradient magnitude less than three times this variance are classi"ed as non-edge pixels, and the parameter  is estimated 

973

from only these points. In the above formulation of the gradient-based propagation speed we have assumed that the distribution for non-edge pixels is 1 p(I)" e\ ' N ,   and for edge pixels the distribution is I   p(I)" e\ ' N ,   where   . Eq. (15) is obtained from Eq. (7) by   omitting I/ compared to I/ . The speed   is plotted in Fig. 8 as a function of the normalised gradient (I/ ), with c "0.1. Thus, the two   borders are propagating rapidly in the `smootha area, and they are stopped on the boundaries of the object, since the propagation speeds for both curves are practically zero as the gradient is relatively high at such sites. In Fig. 9(a) and (b), the same frames presented in Fig. 5 are again shown, this time with the "nal result of localisation. Fig. 9(c) and (d) shows the result for the frames of Fig. 7, which presents some problems for the accuracy of the localisation.

Fig. 8. The gradient-based propagation speed of the borders converging to the object boundary.

974

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

Fig. 9. Location of moving objects: Trevor White.

Fig. 10. Detection of a moving human on Hall monitor sequence.

5. Results and conclusions Before concluding we would like to give some more results on real image sequences. In addition

to the videoconferencing sequence Trevor White, which illustrates the techniques proposed and the di!erent stages of the introduced algorithm, we have also applied the proposed methods to

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

975

Fig. 11. Location of moving objects: Highway.

a telesurveillance sequence (MPEG4 Hall monitor, Fig. 10), and to a tra$c-monitoring sequence (Highway, Fig. 11). The results of these two sequences are somehow in#uenced by shadows. These problems are expected as intensity changes are also detected in the shadowed areas. Sometimes a photometric discontinuity could be detected in the edge of the shadow, but often the transition is gradual. It is important to note here that the settings of the di!erent parameters are exactly the same for the two image sequences, as for the Trevor White sequence. The extension to the fast marching algorithm proposed in this article is capable of dealing with multi-labelled propagating contours. This allows the use of purely automatic boundary search methods, and furthermore yields more robust results, as multiple labels are in competition. In addition, we proposed a new approach for de"ning the propagation speeds of the labelled contours. The propagation speed is based on the statistical description of the propagated classes. An approximation of the a posteriori probability of the label determines, in di!erent uses of the multi-label fast marching algorithm, the propagation speed of the label. We have applied the new algorithm to the twostage problem of change detection and moving object localisation. Of course, it is possible, and sometimes su$cient, to limit the algorithm to only one of these stages. This is the case for telesurveillance applications, where change detection with a reference frame gives the location of the moving

object. In the case of a motion tracking (or rotoscopy) application, the stage of localisation could be used for re"ning the tracking result. In any case, in this article it is shown that it is possible to locate a moving object without motion estimation, which, if added, could further improve the already quite accurate results.

Acknowledgements This work has been funded in part under the European ESPRIT NEMESIS (New Multimedia Services using Analysis Synthesis) and the greek PENED `MPEG-4 Authoring Toolsa projects.

References [1] T. Aach, A. Kaup, Bayesian algorithms for adaptive change detection in image sequences using Markov random "elds, Signal Processing: Image Communication 7 (1995) 147}160. [2] T. Aach, A. Kaup, R. Mester, Statistical model-based change detection in moving video, Signal Processing 31 (1993) 165}180. [3] M. Bischel, Segmenting simply connected moving objects in a static scene, IEEE Trans. Pattern Anal. Machine Intell. PAMI-16 (November 1994) 1138}1142. [4] A. Blake, M. Isard, Active Contours, Springer, Berlin, 1998. [5] P. Bouthemy, P. Lalande, Detection and tracking of moving objects based on a statistical regularization method in space and time, in: Proceedings of European Conference on Computer Vision, 1990.

976

E. Sifakis, G. Tziritas / Signal Processing: Image Communication 16 (2001) 963}976

[6] C. Ca!orio, F. Rocca, Methods for measuring small displacements of television images, IEEE Trans. Inform. Theory IT-22 (1976) 1973}1979. [7] V. Caselles, B. Coll, Snakes in movement, SIAM J. Numer. Anal. 33 (December 1996) 2445}2456. [8] N. Diehl, Object-oriented motion estimation and segmentation in image sequences, IEEE Trans. Image Process. 3 (February 1990) 1901}1904. [9] J. Driessen, J. Biemond, D. Boekee, A pel-recursive segmentation algorithm for motion compensated image sequence coding, in: Proceedings of IEEE Conference on Acoustics, Speech and Signal Processing, Glasgow, 1989. [10] R. Duda, P. Hart, Pattern Classi"cation and Scene Analysis, Wiley-Interscience, New York, 1973. [11] K. Karmann, A. Brandt, R. Gerl, Moving object segmentation based on adaptive reference images, in: European Signal Processing Conference, 1990. [12] M. Kass, A. Witkin, D. Terzopoulos, Snakes: active contour models, Int. J. Comput. Vision 1 (January 1988) 321}332. [13] G. McLachlan, D. Peel, W. Whiten, Maximum likelihood clustering via normal mixture model, Signal Processing: Image Communication 8 (1996) 105}111. [14] J.-M. Odobez, P. Bouthemy, Robust multiresolution estimation of parametric motion models, Visual Commun. Image Representation 6 (December 1995) 348}365. [15] S. Osher, J. Sethian, Fronts propagation with curvature dependent speed: algorithms based on Hamilton}Jacobi formulations, J. Comput. Phys. 79 (1988) 12}49. [16] N. Paragios, R. Deriche, Geodesic active contours and level sets for the detection and tracking of moving objects,

[17]

[18]

[19]

[20] [21]

[22]

[23]

[24]

[25] [26]

IEEE Trans. Pattern Anal. Machine Intell. PAMI-22 (March 2000) 266}280. N. Paragios, G. Tziritas, Adaptive detection and localization of moving objects in image sequences, Signal Processing: Image Communication 14 (February 1999) 277}296. J. Sethian, A marching level set method for monotonically advancing fronts, Proc. Nat. Acad. Sci. 93 (1996) 1591}1595. J. Sethian, Theory, algorithms and applications of level set methods for propagating interfaces, Acta Numer. 5 (1996) 309}395. J. Sethian, Fast marching methods, SIAM Rev. 41 (1999) 199}235. E. Sifakis, C. Garcia, G. Tziritas, Bayesian level sets for image segmentation, J. Visual Commun. Image Representation (2001), to appear. E. Sifakis, G. Tziritas, Fast marching to moving object location, in: Proceedings of the Second International Conference on Scale-Space Theories in Computer Vision, Corfou, Greece, 1999. T. Sikora, The MPEG-4 video standard veri"cation model, IEEE Trans. Circuits Systems Video Technol. 7 (February 1997) 19}31. Z. Sivan, D. Malah, Change detection and texture analysis for image sequence coding, Signal Processing: Image Communication 6 (1994) 357}376. G. Tziritas, C. Labit, Motion Analysis for Image Sequence Coding, Elsevier, Amsterdam, 1994. O. Wenstop, Motion detection from image information, in: Proceedings of Scandinavian Conference on Image Analysis, 1983.