- Research Article
- Open Access
Spatiotemporal Region Enhancement and Merging for Unsupervized Object Segmentation
EURASIP Journal on Image and Video Processing volume 2009, Article number: 797052 (2009)
This paper proposes an unsupervized offline video object segmentation method that introduces a number of improvements to existing work in the area. It consists of the following steps. The initial segmentation utilizes object color and motion variance to more accurately classify image pixels in the first frame. Histogram-based merging is then employed to reduce oversegmentation of the first frame. During object tracking, segmentation quality measures based on object color and motion contrast are taken. These measures are then used to enhance video objects through selective pixel reclassification. After object enhancement, cumulative histogram-based merging, occlusion handling, and island detection are used to help group regions into meaningful objects. Compared to two reference methods, greater success and improved accuracy in segmenting video objects are first demonstrated by subjectively examining selected frames from a set of standard video sequences. Objective results are obtained through the use of a set of measures that aim at evaluating the accuracy of object boundaries and temporal stability through the use of color, motion, and histograms.
This paper presents an unsupervized offline video object segmentation method based on features combination.
Generally, the goal of video object segmentation is to classify the pixels of a video into groups that represent the objects in that video. For example, in a video shot of a road intersection, we might classify each moving vehicle into its own group, and everything else into one group representing the background. However, this decision can vary depending on the context. A different segmentation method might identify each of the cars tires as a separate object. For this reason, there can be several interpretations of what is a correct segmentation for a particular video sequence. Our objective is to segment video clips into semantically meaningful objects, focusing on the main objects of a sequence. A correct segmentation would consist of video objects like person, automobile, and background, as apposed to dividing the video into smaller objects such as, head, hands, tires, and headlights.
An ideal video object segmentation algorithm should be unsupervized, effective in videos with or without global motion, effective with objects that are moving in some frames but stationary in others, and effective with objects which are nonhomogeneous in color or motion at the frame level. To achieve this, a video object segmentation method must make effective use of as much of the information in a video clip as possible. Two of the most commonly used cues are color and motion. The most basic pieces of information contained in each frame of a video are the color values of the pixels. Many segmentation methods rely on grouping pixels with similar color into the same object, often using algorithms developed for the segmentation of still images. While color is an important tool for segmentation, it is limited in its applicability. Clearly, real objects are not always homogeneous in color, and so segmentation techniques relying on color alone will not always yield satisfactory results. Another cue that can be used to segment video is motion. Motion in a video clip can be expressed as a set of motion vectors. Several methods of calculating this displacement have been proposed. One commonly used method is block-based motion estimation, where the current frame is divided into blocks, and each block is matched with a block in the last frame by minimizing an error function. Another way to represent motion in a video clip is through the use of parameterized models. For example, the block motion vectors can be used to estimate the 6 affine or 8 bilinear parameters that model the camera motion in a video clip.
Good examples of multiple features-based video segmentation methods are the one proposed in [1, 2]. Those works are our main motivation. The method in  is a multiple feature segmentation with adaptive weighting that uses a Maximum A Posteriori (MAP) framework to combine motion and color to segment the first frame and uses the spatial probability density function (pdf) of the formed regions to track them through the remainder of the clip. It is not completely unsupervized, since the number of objects must be known prior to performing the segmentation. The algorithm in  is also a multiple feature segmentation one that combines numerous video features at both the frame and sequence levels. The algorithm starts with an initial segmentation using the K-means with connectivity constraint (KMCC) algorithm, over color, motion, and spatial information, followed by an enhancement of the segmented first frame. The next step is a tracking algorithm that uses a Bayes classifier and rule-based processing to reassign changed pixels to existing regions as well as detect newly appearing objects. Finally, a trajectory-based region merging procedure is used to group objects based on their long term motion.
Our work aims to use more video features than [1, 2], gathered through the entire video sequence to obtain improved object segmentation results compared with existing systems. We propose the following improvements compared to the above two related works.
An improved initial segmentation: we include motion and color variances in the distance function of the KMCC algorithm and add histogram distance-based merging.
Segmentation-quality-driven object enhancement: we take a set of segmentation measures while tracking objects to improve the accuracy of object boundaries.
Posttracking merging: we merge regions based on cumulative histograms gathered over the entire clip.
Trajectory-based merging: we handle partial occlusion and deal with isolated regions.
As we will show, our method is unsupervized and is effective under moving or stationary camera and segments objects that become stationary or that are nonhomogeneous with respect to color or motion at the frame level.
The paper is organized as follows. Section 2 gives a quick review of the various video object segmentation techniques. Section 3 describes the proposed segmentation method. Results are presented in Section 4 where we have selected the multiple feature methods in [1, 2] to implement and compare results with ours. Section 5 concludes the paper.
2. Literature Review
The goal of video object segmentation is to classify the pixels of a video into groups that represent the semantically meaningful objects in that video, focusing on the main objects of a sequence such as person, automobile, and background. Many approaches to video object segmentation have been proposed that use different cues to determine the best segmentation. Approaches that are unsupervized, off-line, and which use spatiotemporal information are a subset of them.
One can group many segmentation approaches as follows: layer-based (e.g., [3–5]), color-based (e.g., ), motion-based (e.g., [7–9]), edge-based (e.g., [10–12]), and multiple feature-based (e.g., [1, 2, 13, 14]). Other approaches make use of stereo information (e.g., [15, 16]), neural nets (e.g., ), graphes (e.g., [18, 19]), and active contours (e.g., ), but those are outside the scope of our work. The reader can refer to the review paper  and the book  for a more extensive references list.
The concept of segmenting video into layers was introduced by [3, 4]. These papers describe how different regions of an image are segmented and stored as layers, which contain information, such as an intensity map of the region and motion information. These layers correspond to the video object planes used in the MPEG verification model. The entire video clip can be represented by the segmented objects in each layer and the relative motion between layers. The authors of  use a robust estimation method to iteratively estimate the number of layers and the pixel assignments to each layer. In  an affine motion model is fitted to blocks of optical flow. Then, a K-means  approach is used to cluster the image points according to their affine parameters.
Color characteristics are sometimes used to segment video objects. One recent example of this is , where color-based deformable models are used to segment and track objects. This method uses color constant gradients, and a model is proposed estimating the sensor noise through these gradients. As a result, this method is robust when dealing with noisy data. As well, only color, and not intensity, is used so that the method can deal with illumination changes. However, this method is only effective when dealing with homogeneous objects and does not handle occlusion.
Motion-based approaches to video object segmentation are commonly employed as they often provide improved results on video clips for which color-based methods encounter problems. The authors of  present a number of region-based affine-parameter clustering methods using motion vector and intensity matching to align motion boundaries with real object boundaries. They then go on to use a specific combination of these methods to segment a number of video clips. A different motion-based approach to segmentation is presented in . Here, the motion estimation error along occluding boundaries of moving objects is studied. The authors show how the nature of this error can be used as a depth cue. Their segmentation approach involves segmenting the image based on color and motion independently. Then, by examining the motion estimation error at region boundaries, they are able to determine what are the occluding and occluded objects. In this way they are able to establish the relative depth of the image segments. The focus of  is on extracting objects with similar motion. The 2-step process consists of generating 3D watershed volumes followed by a Bayesian merging of these volumes. In the first frame, markers are extracted which provide reliable seed regions for segmentation in subsequent frames. One weakness of this method is that it is assumed that the number of video objects is previously known. In , deformable binary object models are used to segment and track objects. The models are updated from frame to frame and are therefore able to accommodate complex object motion as well as changes in shape. The models are updated using a modified watershed-based method. Like other methods, there is an initial detection/segmentation step followed by a tracking step. This method can handle moving backgrounds and partial occlusion. However, since the segmentation is based on motion and is done on the first frame, only objects that are present and moving in the first frame are detected. Newly appearing or stationary objects cannot be detected.
There has also been significant research into using edge detection to segment video. The extracted edges are used to determine the boundaries of the segmented objects. One major difficulty with this approach is deciding which edges represent object boundaries and which are the result of other image properties, such as textured surfaces. The authors of  try to deal with this problem by using a multiresolution approach to edge detection. A method of determining the optimal scale at each edge by examining edge strengths is presented. The edges at these optimal scales are then used to segment the image. Boundary completion techniques are used in  to complete contours that are smooth but have low contrast. However, this method is vulnerable to problems when dealing with textures. In , textures are dealt with explicitly by modeling them with textons. By combining texture cues with intervening boundary cues, this approach is able to deal with both textured and nontextured areas. A different approach to improving edge-based segmentation is taken by . This algorithm uses information from edges at multiple scales. Instead of trying to select the optimum scale for each edge, and then segmenting the image on the selected edges, this approach collects edge information at multiple scales and then does a simultaneous segmentation over all the edges. This method can capture both large and small scale image properties as well as deal with textured areas.
Much of the recent work focuses on using multiple video features to aid in segmentation. The authors of  use color and motion to segment objects in the first frame, which are then tracked by using their estimated motion to predict their location in the next frame. This method can also segment new objects that appear after the first frame. In , a maximum a posteriori (MAP) framework is proposed. They assign weights to color and motion terms, which are adjusted at every pixel. They also model the spatial probability density function (pdf) of each region in order to impose temporal consistency. A slightly different approach is employed by . Instead of segmenting based on motion at the frame level only, regions which have been divided based on color, motion, and position are tracked. The long-term trajectories of these regions are used to group them into an appropriate segmentation. Segmentation algorithms such as this one, which perform multiple passes through a video clip, are referred to as offline methods. Methods which only require knowledge of the current and previous frames being segmented are referred to as online methods.
3. Proposed Segmentation Method
A flow chart of the proposed method is depicted in Figure 1. It is divided in to five steps.
The first step is initial segmentation (Section 3.1), where we first apply a modified KMCC algorithm followed by a test for convergence. If the algorithm does not converge, indicating undersegmentation, we repeat initial segmentation but using the KMCC algorithm used in .
The second step of the proposed method is histogram and motion-variance-based region merging (Section 3.2) where regions are merged following an iterative process until convergence is achieved.
The third step is temporal tracking (Section 3.3), where existing regions are tracked and new objects detected. This step is followed by segmentation-quality-driven object enhancement (Section 3.4), where objects are selected for enhancement based on segmentation-quality measures. Key frames are then selected and used to reclassify pixels of the selected objects.
The fourth step of the proposed algorithm is a posttracking region merging (Section 3.5), where cumulative histograms are used to iteratively merge regions until convergence.
The final step of our algorithm is a trajectory-based region merging (Section 3.6), where trajectories are used to merge regions in an iterative fashion. Upon convergence of the region merging, island regions are detected and merged into their surrounding regions.
3.1. Initial Segmentation
The initial segmentation of  uses the Euclidean distance of each pixel from each region's color and motion center-based to classify pixels. The motion estimation method is a block-based. This is effective for regions that have relatively simple color and motion distributions but can result in errors for more complex regions. In order to more accurately classify pixels, higher-order statistical information has to be taken into account.
We propose to include variance information about the color and motion distributions of each region in the KMCC distance function. After the initial centers are estimated, the feature variance of each region is calculated, and pixels are classified according to their distance from the center of each feature divided by the variance. So we propose the distance function
where , , and are the color, motion, and spatial centers of region , respectively. and are the color and motion vector values for image point . is the area of region in pixels, and is the average region area. and are the color and motion variances of region , and and are regularization parameters defined in . Classifying pixels in this way is more accurate than using only distances from region centers as in , since more information about the distribution of each region is being utilized. Also, this method divides the image into a smaller number of more complex regions, which reduces the oversegmentation normally associated with the KMCC algorithm. Reducing the oversegmentation of the first frame decreases the chances for error in later stages of the algorithm.
To improve the robustness of the initial segmentation, we examine the regions at the end of each iteration of the KMCC algorithm. If the algorithm converges to less than two regions (indicating undersegmentation), , that meet
where is the area of region , and are the image dimensions, and set experimentally to , the entire process resets, and the original KMCC is used. The criteria in (2) is used to enforce the intuitive notion that we expect any sequence to have at least one nonbackground object that is of significant size. Through experimentation, we have found that setting this size threshold to 2 of the image area provides an effective test for under segmentation.
3.2. Histogram and Motion-Variance Based-Region Merging
The next stage of the initial segmentation is a histogram and motion-variance-based merging stage. The reference KMCC algorithm incorporates merging of neighboring regions whose color and motion centers are below a certain threshold. This merging process is another area that can be improved by using higher-order statistical information about the regions being examined. We accomplish this through the use of color histograms and the motion variance of each region.
First, color histograms are calculated for each region using the CIE L*a*b* color space. This is done by dividing the region into a 3-dimensional array of bins, where the value in each bin is the number of occurrences of that color in the region. This provides a more complete representation of a regions color distribution than using a color center or a simple statistical representation, such as a Gaussian.
Once color histograms have been calculated, the histogram distance between each pair of neighboring regions is measured as
where is the set of all pairs of neighboring regions () in the first frame, and are the histograms of and , and is the histogram bin. After the distances have been calculated, all neighboring regions satisfying (4) and (5) are merged:
where is experimentally set to, and is experimentally set to . is the histogram size, defined as the sum of all bins in the histogram. Histograms are normalized so that both histograms being compared have the same size, .
After merging, we re-evaluate the region motion centers and histograms and redetermine neighbor relationships. The merging continues until no more regions meet (4) and (5).
3.3. Temporal Tracking
After the initial segmentation, we use the temporal tracking approach of  to track the segmented regions through the remainder of the clip. The temporal tracking begins with a frame difference and thresholding of the current and previous frame, where both frames have first been filtered with a moving average filter. Pixels with a color difference above the threshold are marked as disputed, and those with a difference below the threshold are marked as nondisputed. We then use a Bayes classifier to assign the pixels in each disputed region to one of its neighboring non-disputed regions, using the histograms for each region from the previous frame as the a priori probability. New regions are detected by first measuring how the homogeneity of each nondisputed region is affected by adding its neighboring disputed pixels. If a nondisputed region's homogeneity is significantly reduced by the addition of its neighboring disputed pixels, those disputed pixels are assigned to a new region.
3.4. Segmentation-Quality-Driven Object Enhancement
During object tracking, we measure the segmentation quality of each object in each frame. We use the following three measures to do this.
Color homogeneity of the region . This is defined as the average of the MAP probabilities of every pixel in the region and is determined from the color histograms for each region.
Color contrast across the object boundary . This measure was shown in  to be an effective objective measure of segmentation quality. The object contour is traced, and all along the object boundary pairs of blocks are chosen, with each pair consisting of one block inside and one block outside the object. The mean color value for each block is calculated, and the absolute difference between each pair of blocks is taken. The color contrast is the average of all these absolute differences along the object boundary.
Motion contrast across the object boundary . This is calculated in a similar manner to the color contrast, except that motion vectors are used instead of color values.
After objects have been tracked through the entire clip, we examine these segmentation measures and each object's movements to determine which objects we will enhance, and for which frames we will perform the enhancement.
For a given object, most variation in object segmentation quality between frames is due to movement. Therefore, we are here mainly interested in moving objects. To this end, we examine the trajectories of all objects in the entire video clip and choose which ones to enhance as follows.
The (x, y) coordinates of each object's center in each frame are used to calculate the maximum displacement of every object in the clip. The displacement is taken with respect to the first frame. Objects whose maximum displacement is above a certain threshold are considered to have undergone significant motion and are candidates for enhancement as in
where is the maximum displacement of region over the entire clip and is the size of averaged over . The maximum displacement is calculated by recording the spatial center of the object in each frame and by finding the maximum distance from the object's initial position. The calculation in (6) is based on the criteria that a circular object would need a displacement of greater than half its radius to be considered a good candidate for enhancement. However, for arbitrarily shaped objects, this calculation still serves to provide a rough measure of how far the object has moved in relation to its size.
Once we have chosen which objects to enhance, we examine their segmentation quality measures for each frame and enhance objects according to the following rules.
If an object's color homogeneity in a given frame is below that same object's average color homogeneity for all frames, this indicates that pixels belonging outside the object have been classified inside the object in this frame. In this case, pixels within the object and close to the boundary will be marked as disputed and reclassified.
High color homogeneity with below average color contrast indicates that pixels belonging inside the object have been classified outside. In this case, pixels close to the boundary but outside the object will be reclassified.
High color homogeneity with high color contrast indicates a good segmentation. Nothing will be done.
We reclassify pixels through a Bayesian approach  using histograms from key frames of the clip to determine the MAP probability of each disputed pixel. Out of every five frames, the frame with the highest homogeneity and contrast is a key frame. The disputed pixels in each frame are reassigned based on each object's nearest key frame histogram.
After reassigning pixels, we perform an error check based on the assumption that object enhancements should not result in drastic changes in object size, and that motion contrast should not decrease. The error check fails if either of these conditions occur, as in
where and are the object sizes before and after the enhancement, and and are the motion contrast before and after the enhancement. Due to the use of block-based motion estimation, motion contrast is not effective for locating small inaccuracies in object boundaries, and so it was not used in selecting the frames needing improvement or the key frames. However, a decrease in motion contrast does indicate a significant reduction in boundary accuracy, making motion contrast an effective measure for error checking. If the enhanced object fails either of the error checks, the enhancement is rejected; otherwise it is accepted.
This enhancement stage improves the boundaries of tracked objects over that of . This also allows more accurate motion parameters to be estimated for each object, improving the performance of the trajectory-based merging stage. Figure 2 shows results for a selected frame of the tennis sequence when the proposed method is run with and without the segmentation-quality-driven object enhancement. The table tennis ball was selected for enhancement, and significant improvement of the object's boundary can be seen.
3.5. Posttracking Region Merging
Posttracking region merging simplifies the trajectory-based merging stage (Section 3.6). This is desirable, because trajectory-based merging can fail when an object's motion is too complicated (deformation or articulated motion), or when accurate motion vectors are not available (e.g., when an object is highly uniform in color).
Color histograms are used to merge regions which are spatiotemporal neighbors. We use the same spatiotemporal neighborhouod definition as , that is, "two regions are spatiotemporal neighbors if they coexist in at least one segmentation mask and they are spatial neighbors in all segmentation masks that they coexist in" (see Figure 5 in ). Here we use cumulative histograms calculated from an object's pixels taken over all frames in the clip. Compared with histograms computed for an object in a single frame, cumulative histograms are less sensitive to noise, inaccurate object boundaries for particular frames, changing illumination, and occlusion. For example, an object with lighting that varies across its surface in the first frame could be segmented into two regions, but as the object moves these illumination differences could even out, and the two halves of the object can be merged. As with the first frame histogram-based merging (Section 3.2), the histogram distance (3) is used to select regions to merge. This stage improves the segmentation of objects with complex motion that present problems for .
Figure 3 shows results for a selected frame of the foreman sequence with and without the histogram-based merging enabled, demonstrating that parts of the background are misclassified when the histogram-based merging is not employed. The histogram-based merging causes these regions to be merged into the background, preventing them from being incorrectly assigned to the foreground during the subsequent trajectory-based merging stage.
3.6. Trajectory-Based Region Merging
We propose a trajectory-based merging that accounts for high occlusion of the background. We use the same trajectory-based merging of  but with an extended definition of spatiotemporal neighbor criteria. The trajectory-based merging stage of  only examines regions which are spatiotemporal neighbors. However, since region connectivity is enforced during the initial segmentation with the KMCC algorithm, it is possible for the background to be initially segmented into multiple regions that are not spatiotemporal neighbors. One example is when there is a large object, extending from top to bottom in the middle of a frame. In these cases, the video cannot be segmented correctly without merging these nonneighboring background regions. To account for this, any region that contains a corner point, , , , , of a frame is considered to be a potential background region and will be treated as a spatiotemporal neighbor of all other potential background regions in the clip for the purposes of trajectory-based merging. With this change of the spatiotemporal neighbor criteria, we are able to correctly segment the disconnected pieces of the background, while still enforcing connectivity of all other objects. Furthermore, after the trajectory-based merging is finished, any island regions (those with only one spatiotemporal neighbor which is not a potential background region) are merged into their surrounding object.
Figure 4 shows results for the proposed method when the trajectory-based merging does not account for background occlusion. It can clearly be seen that in this case the background is not correctly segmented but is instead merged with the actor as part of the foreground.
4.1. Algorithm Parameters
The proposed segmentation algorithm utilizes the following parameter values for all video sequences.
: First frame undersegmentation threshold (2), set to . This parameter is set so that if there is not at least one object in the first frame with an area greater than of the image size, it is assumed that we have under segmented and the initial segmentation resets.
: Histogram merging threshold (4), set to . The value of this parameter is chosen to provide an effective histogram-based merging stage, while preventing the merging of regions which do not belong to the same object.
: Motion variance merging threshold (5), set to 2. It is used along with the histogram merging threshold during the histogram and motion-variance-based region merging stage.
: Threshold used to determine whether or not to enhance a given object (6). The value is set to . This provides means of measuring an objects motion relative to its size. Larger objects would require a larger absolute displacement to be considered for enhancement.
4.2. Subjective Results
Simulations were done for a number of standard video test sequences listed in Table 1. We present visual results for seven of them that are representative of the whole set. Figures 5 to 11 show sample results where results of the method in  are labeled reference method 1, and results for the method in  are labeled reference method 2.
Figure 5 presents results for the Gameshow test sequence. The main object in this clip consists of multiple colors and motion that is difficult to model accurately (there is some movement of the neck and head, while the body remains mostly stationary). Improvement over reference method 1 is due mainly to our improved first frame segmentation. This sequence is initially segmented into 6 regions, with 1 region corresponding to the actor, and the background divided into several regions, which are all correctly merged in the histogram- and trajectory-based merging stages. In comparison, reference method 1 initially segments the actor of this clip into several regions, corresponding to the head, shoulders, and torso. Due to the inconsistency of motion between the head and torso of the actor, the reference method's trajectory-based merging stage is unable to correctly merge all of the initially segmented regions.
Figures 6 and 7 present results for the Harbor and Mobile test sequences. These sequences contain complex backgrounds with a moving camera, which present difficulties for both reference methods. The complex background of the Mobile sequence (the background is the wall paper, e.g., everything except the train, the wagon, the ball, and the rails), which contains the same colors as the foreground objects (particularly in the region directly behind the ball) makes it difficult to segment out and track the ball. However, for both sequences, the proposed method exhibits significantly improved performance over both reference methods. The Harbor sequence also demonstrates the improved effectiveness of our trajectory-based merging stage, obtained by accounting for background occlusion. Since the main object in the Harbor sequence is large enough to divide the background into 2 disconnected regions, it is important to account for this when performing region merging (4).
Figure 8 presents results for the Basketball test sequence. This sequence contains rapid object motion along with a fast moving camera. Figure 8 also shows that the proposed method's histogram- and trajectory-based merging stages can still be effective when histograms and trajectories are taken over a relatively short period.
Figures 9 and 10 present results for the Foreman and Carphone sequences. These sequences consist of moving faces with complex backgrounds. Significant improvement over both reference methods can be seen. Due to the complexity of the backgrounds, these clips are initially segmented into many regions. The posttracking region merging stage is important for these clips since they begin the merging process, reducing the chance for error in the final trajectory-based merging stage (3).
Figure 11 presents results for the Miss America sequence. This clip has a simple background and little movement of the foreground object. The Miss America sequence is initially segmented into 2 regions, one corresponding to the actor, and one correspond-ing to the background, so that the merging stages consist of simply distinguishing a single object from the background. Due to the improved initial segmentation, the proposed method performs significantly better than reference method 1 and comparable to reference method 2.
4.3. Objective Results
We use three objective measures  (see also  for other measures): color contrast, histogram distance, and motion contrast. The color and motion contrast measures trace the object boundary and compare color values and motion vectors inside and outside the object. The histogram distance measures calculate the stability of object histograms throughout the clip.
The color and motion contrast measures are calculated by first tracing the object contour and then drawing a set of normal lines at equally spaced locations across the object boundary. The points on either side of these normal lines are selected to be the centers of blocks inside and outside of the object. In this way, a set of sample blocks containing pixels on either side of the object boundary are constructed. The pixels inside these blocks are used to calculate the object's color contrast:
is the total number of normal lines used to calculate the blocks inside and outside the object in frame . and are the average color values for the 3 by 3 blocks on the outside and inside of each normal line.
The motion contrast across the object boundary is calculated using the same set of sample blocks inside and outside of the object:
and are the average values of the motion vectors in the sample blocks outside and inside the object boundary. The weighting term is calculated as
The term is the backwards motion vector in frame at the location . In this way, the motion reliability term estimates the reliability of the motion vectors at each point by measuring the similarity of the backward and forward motion vectors and the difference in pixel intensities at the estimated displacements.
The histogram distance measure for each object is determined by calculating the object's histogram distance between each frame and the first frame:
where is the histogram for the current frame, and is the histogram for the first frame. The normalization factors , , , and are defined as
where and are the sizes of the current and reference histograms.
Sample objective measures are presented in Figures 12 and 13. In these graphs, lower normalized values of the color and motion contrast measures indicate more accurate segmentation, and lower values of the histogram distance measure means that the object histogram is more stable over the clip, indicating better object tracking. Note that objective measures can be misleading without the context of the subjective results. For example, a poorly segmented object that happens to line up with sharp motion boundaries can score better on the motion objective measure. Similarly, a poorly segmented region that is well tracked can score well on the histogram difference measure. In the case of the Basketball sequence it can clearly be seen that the objective measures confirm the improved subjective performance of the proposed method over both reference methods. Improvement (lower values) can be seen in each of the color, histogram, and motion measures, indicating improved accuracy and stability of the proposed segmentation method. In the case of the Harbor sequence, the proposed method shows better (lower) histogram and color difference. The motion difference measure shows that, for some frames, the proposed method has higher values, but when we compare subjective results to the objective results (Figure 13), we note that subjectively it gives superior results. Significantly better segmentation of moving regions is achieved.
The proposed method combines initial segmentation, object tracking, histogram-based object enhancement, and region merging and introduces a number of improvement in using them concurrently. These include reducing oversegmentation of the first frame, using segmentation quality measures to enhance object accuracy, merging tracked regions based on histograms, and accounting for background occlusion.
Our approach proceeds through the following steps: (a) an initial segmentation that incorporates color and motion variance into an existing region clustering scheme; (b) the addition of a histogram distance and motion-variance-based merging stage to reduce oversegmentation of the first frame; (c) segmentation-quality-driven object enhancement, where a set of segmentation measures taken while tracking objects are used to improve the accuracy of object boundaries; (d) merging tracked objects based on cumulative histograms gathered throughout the video clip; (e) trajectory-based merging that has been extended to handle partial occlusion and isolated regions.
Our approach (a) is unsupervized, (b) is applicable to a variety of video clips, (c) segments videos with or without global motion, (d) segments objects which are moving in some frames, but stationary in others, (e) segments objects which are nonhomogeneous in color or motion at the frame level, and (f) segments the video into regions that correspond to the main objects being captured in the video. Experimental results demonstrate that our algorithm shows significantly improved performance over two well-recognized reference methods [1, 2].
Video object segmentation remains a challenging topic in video processing. Possible extensions to the proposed approach include improved handling of heavy object occlusion as well as mechanisms to deal with object splitting and merging. These two issues present problems for many segmentation methods, and designing methods to deal with them is an active area of research in video processing. Another area where improvement is possible is in the execution speed of the algorithm. For example, by reducing the number of frames used in the trajectory-based merging stage, significant improvement in execution speed may be attainable. As can be seen in some figures (e.g., Figure 8), an accurate segmentation can sometimes be achieved by examining object trajectories over a relatively small number of frames. By selectively applying the trajectory-based merging to subsegments of longer clips, accurate segmentations may be attainable at reduced computational complexity. The challenge to this approach is determining when to apply it and which subsegments to choose. Finally, improvement may also be obtained by making algorithm parameters more adaptable to video content. For example, clips with global motion might have different optimal settings for certain thresholds than clips without.
Mezaris V, Kompatsiaris I, Strintzis MG: Video object segmentation using bayes-based temporal tracking and trajectory-based region merging. IEEE Transactions on Circuits and Systems for Video Technology 2004,14(6):782-795. 10.1109/TCSVT.2004.828341
Khan S, Shah M: Object based segmentation of video using color, motion and spatial information. Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR '01), December 2001, Kauai, Hawaii, USA 2: 746-751.
Wang JYA, Adelson EH: Representing moving hands with layers. IEEE Transactions on Image Processing 1994,3(5):625-638. 10.1109/83.334981
Darrell T, Pentland AP: Cooperative robust estimation using layers of support. IEEE Transactions on Pattern Analysis and Machine Intelligence 1995,17(5):474-487. 10.1109/34.391395
McQueen J: Some methods for classification and analysis of multivariate observations. Proceedings of the 5th Berkeley Symposium on Mathematics Statistics and Probability, 1967 1: 281-296.
Gevers T: Robust segmentation and tracking of colored objects in video. IEEE Transactions on Circuits and Systems for Video Technology 2004,14(6):776-781. 10.1109/TCSVT.2004.828347
Eren PE, Altunbasak Y, Tekalp AM: Region-based affine motion segmentation using color information. Proceedings of IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP '97), April 1997, Munich, Germany 4: 3005-3008.
Tsai Y-P, Lai C-C, Hung Y-P, Shih Z-C: A Bayesian approach to video object segmentation via merging 3-D watershed volumes. IEEE Transactions on Circuits and Systems for Video Technology 2005,15(1):175-180.
Xu H, Younis AA, Kabuka MR: Automatic moving object extraction for content-based applications. IEEE Transactions on Circuits and Systems for Video Technology 2004,14(6):796-812. 10.1109/TCSVT.2004.828338
Lindeberg T: Scale-space for discrete signals. IEEE Transactions on Pattern Analysis and Machine Intelligence 1990,12(3):234-254. 10.1109/34.49051
Yu SX: Segmentation using multiscale cues. Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR '04), June 2004, Washington, DC, USA 1: 247-254.
Kim B-G, Park D-J: Unsupervised video object segmentation and tracking based on new edge features. Pattern Recognition Letters 2004,25(15):1731-1742. 10.1016/j.patrec.2004.07.009
Wang D: Unsupervised video segmentation based on watersheds and temporal tracking. IEEE Transactions on Circuits and Systems for Video Technology 1998,8(5):539-546. 10.1109/76.718501
Ryan K, Amer A, Gagnon L: Video object segmentation based on object enhancement and region merging. Proceedings of IEEE International Conference on Multimedia and Expo (ICME '06), July 2006, Toronto, Canada 273-276.
Wang S, Wang X, Chen H: A stereo video segmentation algorithm combining disparity map and frame difference. Proceedings of the 3rd International Conference on Intelligent System and Knowledge Engineering (ISKE '08), November 2008, Xiamen, China 1121-1124.
Wu Q, Boulanger P, Bischof WF: Robust real-time bi-layer video segmentation using infrared video. Proceedings of the 5th Canadian Conference on Computer and Robot Vision (CRV '08), May 2008, Windsor, Canada 87-94.
Luque EDRM, Lopez-Rodriguez D, Palomo E: A dipolar competitive neural network for video segmentation. Proceedings of the 11th Ibero-American Conference on Artificial Intelligence (IBERAMIA '08), October 2008, Lisbon, Portugal 5290: 103-112.
Felzenszwalb PF, Huttenlocher DP: Efficient graph-based image segmentation. International Journal of Computer Vision 2004,59(2):167-181.
Cernekova Z, Nikolaidis N, Pitas I: Temporal video segmentation by graph partitioning. Proceedings of IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP '06), May 2006, Toulouse, France 2: 209-212.
Erdem CE: Video object segmentation and tracking using region-based statistics. Signal Processing: Image Communication 2007,22(10):891-905. 10.1016/j.image.2007.09.001
Lefèvre S, Holler J, Vincent N: A review of real-time segmentation of uncompressed video sequences for content-based search and retrieval. Real-Time Imaging 2003,9(1):73-98. 10.1016/S1077-2014(02)00115-8
Zhang Y-J: Advances in Image and Video Segmentation. IRM Press, Hershey, Pa, USA; 2006.
Bergen L, Meyer F: A novel approach to depth ordering in monocular image sequences. Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR '00), June 2000, Hilton Head Island, SC, USA 2: 536-541.
Williams LR, Jacobs DW: Local parallel computation of stochastic completion fields. Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR '96), June 1996, San Francisco, Calif, USA 161-168.
Malik J, Belongie S, Shi J, Leung T: Textons, contours and regions: cue integration in image segmentation. Proceedings of the 7th IEEE International Conference on Computer Vision, September 1999 2: 918-925.
Erdem ÇE, Sankur B, Tekalp AM: Performance measures for video object segmentation and tracking. IEEE Transactions on Image Processing 2004,13(7):937-951. 10.1109/TIP.2004.828427
Erdem CE, Tekalp AM, Sankur B: Video object tracking with feedback of performance measures. IEEE Transactions on Circuits and Systems for Video Technology 2003,13(4):310-324. 10.1109/TCSVT.2003.811361
This work was supported in part by the Natural Science and Engineering Research Council (NSERC) of Canada and the "Ministere du Developpement Economique de l'Innovation et de l'Exportation (MDEIE) of Gouvernement du Quebec." The authors also wish to express their gratitude to the reviewers for their helpful and constructive comments.