WO2002077909A1 - Video segmentation using statistical pixel modeling - Google Patents

Video segmentation using statistical pixel modeling Download PDF

Info

Publication number
WO2002077909A1
WO2002077909A1 PCT/US2002/007185 US0207185W WO02077909A1 WO 2002077909 A1 WO2002077909 A1 WO 2002077909A1 US 0207185 W US0207185 W US 0207185W WO 02077909 A1 WO02077909 A1 WO 02077909A1
Authority
WO
WIPO (PCT)
Prior art keywords
region
statistical model
value
determining
background statistical
Prior art date
Application number
PCT/US2002/007185
Other languages
French (fr)
Inventor
Alan J. Lipton
Mark Allmen
Niels Haering
William Severson
Thomas M. Strat
Original Assignee
Diamondback Vision, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Diamondback Vision, Inc. filed Critical Diamondback Vision, Inc.
Publication of WO2002077909A1 publication Critical patent/WO2002077909A1/en

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/143Segmentation; Edge detection involving probabilistic approaches, e.g. Markov random field [MRF] modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/277Analysis of motion involving stochastic approaches, e.g. using Kalman filters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/28Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B31/00Predictive alarm systems characterised by extrapolation or other computation using updated historic data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30241Trajectory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/01Solutions for problems related to non-uniform document background

Definitions

  • the present invention relates to processing of video frames for use in video processing systems, for example, video compression systems. More specifically, it deals with ways of segmenting video frames into their component parts using statistical properties of regions comprising the video frames.
  • the input video is separated into two streams.
  • One stream contains the information representing stationary background information
  • the other stream contains information representing the moving portions of the video, to be denoted as foreground information.
  • the background information is represented as a background model, including a scene model, i.e., a composite image composed from a series of related images, as, for example, one would find in a sequence of video frames; the background model may also contain additional models and modeling information.
  • Scene models are generated by aligning images (for example, by matching points and/or regions) and determining overlap among them; generation of scene models is discussed in further depth in commonly-assigned U.S. Patent Applications Serial Nos.
  • the scene model need be transmitted only once, while the foreground information is transmitted for each frame.
  • the scene model need be transmitted only once because the appearance of the scene model does not change from frame to frame, except in a well-defined way based on the observer motion, which can be easily accounted for by transmitting motion parameters. Note that such techniques are also applicable in the case of other forms of motion, besides pan, tilt, roll, and zoom.
  • the stationary regions are then used to create (or to update) the scene model, and the moving foreground objects are identified for each frame. It is not an easy thing to identify and automatically distinguish between video objects that are moving foreground and stationary background, particularly in the presence of observer motion, as discussed above. Furthermore, to provide the maximum degree of compression or the maximum fineness or accuracy of other video processing techniques, it is desirable to segment foreground objects as finely as possible; this enables, for example, the maintenance of smoothness between successive video frames and crispness within individual frames.
  • Known techniques have proven, however, to be difficult to utilize and inaccurate for small foreground objects and have required excessive processing power and memory. It would, therefore, be desirable to have a technique that permits accurate segmentation between the foreground and background information and accurate, crisp representations of the foreground objects, without the limitations of prior techniques.
  • the present invention is directed to a method for segmentation of video into foreground information and background information, based on statistical properties of the source video. More particularly, the method is based on creating and updating statistical information pertaining to a characteristic of regions of the video and the labeling of those regions (i.e., as foreground or background) based on the statistical information.
  • the regions are pixels
  • the characteristic is chromatic intensity.
  • a background model is developed containing at least two components.
  • a first component is the scene model, which may be built and updated, for example, as discussed in the aforementioned U.S. patent applications.
  • a second component is a background statistical model.
  • the inventive method comprises a two-pass process of video segmentation.
  • the two passes of the embodiment comprise a first pass in which a background statistical model is built and updated and a second pass in which regions in the frames are segmented.
  • An embodiment of the first pass comprises steps of aligning each video frame with a scene model and updating the background statistical model based on the aligned frame data.
  • An embodiment of the second pass comprises, for each frame, steps of labeling regions of the frame and performing spatial filtering.
  • the inventive method comprises a one-pass process of video segmentation.
  • the single pass comprises, for each frame in a frame sequence of a video stream, steps of aligning the frame with a scene model; building a background statistical model; labeling the regions of the frame, and performing spatial/temporal filtering.
  • the inventive method comprises a modified version of the aforementioned one-pass process of video segmentation. This embodiment is similar to the previous embodiment, except that the step of building a background statistical model is replaced with a step of building a background statistical model and a secondary statistical model.
  • Each of these embodiments may be embodied in the forms of a computer system running software executing their steps and a computer-readable medium containing software representing their steps.
  • a "computer” refers to any apparatus that is capable of accepting a structured input, processing the structured input according to prescribed rules, and producing results of the processing as output.
  • Examples of a computer include: a computer; a general purpose computer; a supercomputer; a mainframe; a super mini-computer; a minicomputer; a workstation; a micro-computer; a server; an interactive television; a hybrid combination of a computer and an interactive television; and application-specific hardware to emulate a computer and/or software.
  • a computer can have a single processor or multiple processors, which can operate in parallel and/or not in parallel.
  • a computer also refers to two or more computers connected together via a network for transmitting or receiving information between the computers.
  • An example of such a computer includes a distributed computer system for processing information via computers linked by a network.
  • a "computer-readable medium” refers to any storage device used for storing data accessible by a computer. Examples of a computer-readable medium include: a magnetic hard disk; a floppy disk; an optical disk, like a CD-ROM or a DVD; a magnetic tape; a memory chip; and a carrier wave used to carry computer-readable electronic data, such as those used in transmitting and receiving e-mail or in accessing a network.
  • Software refers to prescribed rules to operate a computer. Examples of software include: software; code segments; instructions; computer programs; and programmed logic.
  • a “computer system” refers to a system having a computer, where the computer comprises a computer-readable medium embodying software to operate the computer.
  • a “network” refers to a number of computers and associated devices that are connected by communication facilities.
  • a network involves permanent connections such as cables or temporary connections such as those made through telephone or other communication links. Examples of a network include: an internet, such as the Internet; an intranet; a local area network (LAN); a wide area network (WAN); and a combination of networks, such as an internet and an intranet.
  • Video refers to motion pictures represented in analog and/or digital form. Examples of video include television, movies, image sequences from a camera or other observer, and computer-generated image sequences. These can be obtained from, for example, a live feed, a storage device, a firewire interface, a video digitizer, a computer graphics engine, or a network connection.
  • Video processing refers to any manipulation of video, including, for example, compression and editing.
  • a "frame” refers to a particular image or other discrete unit within a video.
  • Figure 1 shows a flowchart corresponding to an implementation of a first embodiment of the invention
  • Figures 2a and 2b show flowcharts corresponding to two alternative embodiments of the labeling step in the flowchart of Figure 1;
  • Figure 3 a and 3b show flowcharts corresponding to implementations of the spatial temporal filtering step in the flowchart of Figure 1;
  • Figure 4 shows a flowchart corresponding to an implementation of a second embodiment of the invention
  • Figure 5 shows a flowchart corresponding to an implementation of one of the steps in the flowchart of Figure 4;
  • FIGS. 6a and 6b together show a flowchart corresponding to an implementation of another one of the steps in the flowchart of Figure 4;
  • Figure 7 shows a flowchart corresponding to an implementation of a third embodiment of the invention
  • Figures 8 a and 8b together show a flowchart corresponding to an implementation of one of the steps in the flowchart of Figure 7;
  • Figure 9 depicts an embodiment of the invention in the form of software embodied on a computer-readable medium, which may be part of a computer system.
  • the present invention is directed to the segmentation of video streams into foreground information, which corresponds to moving objects, and background information, which corresponds to the stationary portions of the video.
  • the present invention may be embodied in a number of ways, of which three specific ones are discussed below. These embodiments are meant to be exemplary, rather than exclusive.
  • the ensuing discussion refers to "pixels" and "chromatic intensity;” however, the inventive method is not so limited. Rather, the processing may involve any type of region (including regions comprising multiple pixels), not just a pixel, and may use any type of characteristic measured with respect to or related to such a region, not just chromatic intensity.
  • the first embodiment of the invention is depicted in Figure 1 and corresponds to a two-pass method of segmentation.
  • the method begins by obtaining a frame (or video) sequence from a video stream (Step 1).
  • the frame sequence preferably includes two or more frames of the video stream.
  • the frame sequence can be, for example, a portion of the video stream or the entire video stream.
  • the frame sequence can be, for example, one continuous sequence of frames of the video stream or two or more discontinuous sequences of frames of the video stream.
  • the scene model is also built and updated.
  • Step 2 it is determined whether or not all frames have yet been processed. If not, the next frame is taken and aligned with the underlying scene model of the video stream (Step 3); such alignment is discussed above, and more detailed discussions of alignment techniques may be found, for example, in commonly-assigned U.S. Patent Applications Serial Nos. 09/472,162, filed December 27, 1999, and 09/609,919, filed July 3, 2000, both incorporated by reference in their entireties herein, as discussed above, as well as in numerous other references.
  • the inventive method is based on the use of statistical modeling to determine whether a particular pixel should be classified as being a foreground object or a part thereof or as being the background or a part thereof.
  • Step 4 deals with the building and updating of a statistical model of the background, using each frame aligned in Step 3.
  • the statistical model of the present invention comprises first- and second-order statistics. In the ensuing discussion, mean and standard deviation will be used as such first- and second-order statistics; however, this is meant to be merely exemplary of the statistics that may be used.
  • the mean of N samples, x is computed by taking the sum of the samples and dividing it by N, i.e.,
  • N is a particular sample corresponding to a given pixel (or region), which in the present case could be, for example, the measured chromatic intensity of the i sample corresponding to the given pixel (or region).
  • a mean would be computed for each pixel or region.
  • Eqn. (1) gives the general formula for a sample mean, it may not always be optimal to use this formula.
  • a pixel's sample value may change drastically when an object moves through the pixel and change (drastically) back to a value around its previous value after the moving object is no longer within that pixel.
  • the invention utilizes a weighted average, in which the prior values are weighted more heavily than the present value.
  • W p is the weight of the past values and W n is the weight assigned to the newest value.
  • xj represents the weighted average taken over J samples
  • a d j represents the X th sample.
  • W p and W lake may be set to any pair of values between zero and one such that their sum is one and such that W n ⁇ W p , so as to guarantee that the past values are more heavily weighted than the newest value.
  • V N » ⁇ x N (4a)
  • x N is as defined in Eqn. (2) above
  • vc 2 is defined as the weighted average of the squared values of the samples, through the N h sample, and is given by
  • the weights are used to assure that past values are more heavily weighted than the present value.
  • Step 4 works to create and update the statistical model by computing the value of Eqn. (4a) for each pixel, for each frame.
  • the values for the pixels are also stored on a pixel-by-pixel basis (as opposed to how they are received, i.e., on a frame-by-frame basis); that is, an array of values is compiled for each pixel over the sequence of frames. Note that in an alternative embodiment, Step 4 only performs this storage of values.
  • Step 4 the method returns to Step 2 to check whether or not all of the frames have been processed. If they have, then the method proceeds to Step 5, which commences the second pass of the embodiment.
  • Step 5 the statistical background model is finalized. This is done by using the stored values for each pixel and determining their mode, the mode being the value that occurs most often. This may be accomplished, for example, by taking a histogram of the stored values and selecting the value for which the histogram has the highest value. The mode of each pixel is then assigned as the value of the background statistical model for that pixel.
  • Step 5 the method proceeds to Step 6, which determines whether or not all of the frames have been processed yet. If not, then the method proceeds to Step 7, in which each pixel in the frame is labeled as being a foreground (FG) pixel or a background (BG) pixel.
  • FG foreground
  • BG background
  • Step 2a depicts a two decision level method.
  • the pixel labeling Step 7 begins with Step 71, where it is determined whether or not all of the pixels in the frame have been processed. If not, then the method proceeds to Step 72 to examine the next pixel.
  • x p ⁇ xe ⁇ denotes the value of the pixel
  • m P i x i represents the value of the statistical background model for that pixel.
  • BG background
  • Step 71 determines that all of the pixels (in the frame) have been processed, then Step 7 is finished.
  • Figure 2b depicts a three decision level method, labeled 7'.
  • the process once again begins with Step 71, a step of determining whether or not all pixels have yet been processed. If not, the process considers the next pixel to be processed and executes Step 72, the step of determining whether or not the pixel being processed matches the background statistical model; this is done in the same way as in Figure 2a. If yes, then the pixel is labeled as BG (Step 73), and the process loops back to Step 71. If not, then the process proceeds to Step 75; this is where the process of Figure 2b is distinguished from that of Figure 2a. In Step 75, the process determines whether or not the pixel under consideration is far from matching the background statistical model.
  • Step 75 ⁇ is given a larger value.
  • may be user-assigned or predetermined.
  • N is a either a predetermined or user-set number, N>K.
  • N 6. If the result of Step 75 is that ⁇ ⁇ ⁇ , then the pixel is labeled as FG (Step 74). If not, then the pixel is labeled definite foreground (DFG), in Step 76. In each case, the process loops back to Step 71. Once Step 71 determines that all pixels in the frame have been processed, Step 7' is complete.
  • Step 8 in which spatial/temporal filtering is performed. While shown as a sequential step in Figure 1, Step 8 may alternatively be performed in parallel with Step 7. Details of Step 8 are shown in the flowcharts of Figures 3a and 3b.
  • Step 8 commences with a test as to whether or not all the pixels of the frame have been processed (Step 81). If not, in Step 85, the algorithm selects the next pixel, P Ox for processing and proceeds to Step 82, where it is determined whether or not the pixel is labeled as BG. If it is, then the process goes back to Step 81. If not, then the pixel undergoes further processing in Steps 83 and 84.
  • Step 83 neighborhood filtering, is used to correct for misalignments when the images are aligned. If the current image is slightly misaligned with the growing background statistical model, then, particularly near strong edges, the inventive segmentation procedure, using the background statistical model, will label pixels as foreground. Neighborhood filtering will correct for this.
  • An embodiment of Step 83 is depicted in the flowchart of Figure 3b.
  • Step 83 begins with Step 831, where a determination is made of the scene model location, P m , corresponding to P t .
  • a neighborhood comprising the pixels, P ', adjective, surrounding P m in the scene model.
  • Step 833 next determines if all of the pixels in the neighborhood have been processed. If yes, Step 83 is complete, and the label of Pj remains as it was; if not, the process proceeds to Step 834, where the next neighborhood pixel P ', chorus is considered. Step 835 then tests to determine whether or not P,- matches P ' m .
  • Step 7 or 7' This matching test is accomplished by executing the labeling step (Step 7 or 7') in a modified fashion, using Pi as the pixel under consideration and P ' m as the "corresponding" background statistical model point. If the labeling step returns a label of FG or DFG, there is no match, whereas if it returns a label of BG, there is a match. If there is no match, the process loops back to Step 833; if there is a match, then this is an indication that P . might be mislabeled, and the process continues to Step 836. In Step 836, a neighborhood, comprising the pixels, P ',-, surrounding P t in the frame, is selected, and an analogous process is performed.
  • Step 833 it is determined whether or not all of the pixels, P ',• in the neighborhood have yet been considered. If yes, then Step 83 is complete, and the label of P, remains as it was; if not, then the process proceeds to Step 838, where the next neighborhood pixel, P ',-, is considered. Step 839 tests to determine if P, administrat matches P ', • ; this is performed analogously to Step 833, with the P under consideration being used as the pixel being considered and P m as its "corresponding" background statistical model point. If it does not, then the process loops back to Step 837; if it does, then P t is relabeled as BG, and Step 83 is complete.
  • Step 84 is executed, in which morphological erosions and dilations are performed.
  • a predetermined number, n of erosions are performed to remove incorrectly labeled foreground. Note that pixels labeled DFG may not be eroded because they represent either a pixel that is almost certainly foreground.
  • n dilations which restore the pixels that were correctly labeled as foreground but were eroded.
  • m a second predetermined number, m, of dilations are performed to fill in holes in foreground objects.
  • the erosions and dilations may be performed using conventional erosion and dilation techniques, applied in accordance with user-specified parameters, and modified, as discussed above, such that pixels labeled DFG are not eroded.
  • Step 84 may comprise filtering techniques other than or in addition to morphological erosions and dilations.
  • Step 84 may employ any form or forms of spatial and/or temporal filtering.
  • Step 8 the algorithm returns to Step 6, to determine whether or not all frames have been processed. If yes, then the processing of the frame sequence is complete, and the process ends (Step 9).
  • This two-pass embodiment has the advantage of relative simplicity, and it is an acceptable approach for applications not requiring immediate or low-latency processing. Examples of such applications include off-line video compression and non-linear video editing. On the other hand, many other applications do have such requirements, and the embodiments to be discussed below are tailored to address these requirements. 2. Second Embodiment - One-Pass Segmentation
  • Figure 4 depicts a flowchart of a one-pass segmentation process, according to a second embodiment of the invention. Comparing Figure 4 with Figure 1 (the first embodiment), the second embodiment differs in that there is only a single pass of processing for each frame sequence. This single pass, as shown in Steps 2, 3, 31, 32, 8 in Figure 4, incorporates the processes of the second pass (Steps 5-8 in Figure 1) with the first pass (Steps 2-4 in Figure 1), albeit in a modified form, as will be discussed below.
  • the second embodiment begins by obtaining a frame sequence (Step 1). As in the first embodiment, the process then performs a test to determine whether or not all of the frames have yet been processed (Step 2). Also as in the first embodiment, if the answer is no, then the next frame to be processed is aligned with the scene model (Step 3). As discussed above, the scene model component of the background model is built and updated as part of Step 3, so there is always at least a deterministically-determined value in the background model at each location.
  • Step 31 the process includes a step of building a background statistical model (Step 31). This differs from Step 4 of Figure 1, and is depicted in further detail in Figure 5.
  • the process begins with a step of determining whether or not all pixels in the frame being processed have been processed (Step 311). If not, then the process determines whether or not the background statistical model is "mature” (Step 312) and "stable” (Step 313).
  • the reason for Steps 312 and 313 is that, initially, the statistical background model will not be sufficiently developed to make accurate decisions as to the nature of pixels. To overcome this, some number of frames should be processed before pixels are labeled (i.e., the background statistical model should be "mature"); in one embodiment of the present invention, this is a user-defined parameter. This may be implemented as a "look-ahead" procedure, in which a limited number of frames are used to accumulate the background statistical model prior to pixel labeling (Step 32 in Figure 4).
  • Step 313 While simply processing a user-defined number of frames may suffice to provide a mature statistical model, stability is a second concern (Step 313), and it depends upon the standard deviation of the background statistical model.
  • the statistical background model includes a standard deviation for each pixel.
  • the statistical model (for a particular pixel) is defined as having become “stable” when its variance (or, equivalently, its standard deviation) is reasonably small.
  • Step 313 determines this by comparing the standard deviation with a user-defined threshold parameter; if the standard deviation is less than this threshold, then the statistical background model (for that pixel) is determined to be stable.
  • Step 312 if the background statistical model is determined to be mature (Step 312), it is determined whether or not the background statistical model is stable (Step 313). If either of these tests (Steps 312 and 313) fails, the process proceeds to Step 315, in which the background statistical model of the pixel being processed is updated using the current value of that pixel. Step 315 will be explained further below.
  • Step 314 it is determined whether or not the pixel being processed matches the background statistical model. If yes, then the background statistical model is updated using the current pixel value (Step 315); if no, then the process loops back to Step 311 to determine if all pixels in the frame have been processed.
  • Step 314 operates by determining whether or not the current pixel value is within some range of the mean value of the pixel, according to the current background statistical model. In one embodiment of the invention, the range is a user-defined range.
  • the purpose of performing Step 314 is to ensure, to the extent possible, that only background pixels are used to develop and update the background statistical model.
  • Step 315 the background statistical model is updated.
  • the background statistical model consists of the mean and standard deviation of the values for each pixel (over the sequence of frames). These are computed according to Eqns. (2) and (4a) above.
  • the process loops back to Step 311 , to determine if all pixels
  • Step 316 the background statistical model is finalized.
  • This finalization consists of assigning to each pixel its current mean value and standard deviation (i.e., the result of processing all of the frames up to that point). Note that it is possible for the background statistical model for a given pixel never to stabilize. This generally indicates that the particular pixel is not a background pixel in the sequence of frames, and there is, therefore, no need to assign it a value for the purposes of the background statistical model. Noting that, as discussed above, a scene model is also built and updated, there is always at least a deterministically-determined value associated with each pixel in the background model.
  • Step 316 the process goes to Step 32, as shown in Figure 4, where the pixels in the frame are labeled according to their type (i.e., definite foreground, foreground or background).
  • Step 32 is shown in further detail in the flowchart of Figures 6a and 6b. The following concepts are embodied in the description of Step 32 to follow.
  • Step 32 begins with Step 321, where it is determined whether or not all pixels (in the current frame) have been processed. If yes, Step 32 is complete; if not, the next pixel is processed in Steps 322 et seq.
  • Step 322 determines whether or not the background statistical model is mature. This is done in the same manner as in Step 312 of Figure 5, discussed above. If not, the process proceeds to Step 323, where it is determined whether or not the pixel matches the background chromatic data of the corresponding point of the scene model.
  • Step 323 is performed by carrying out a test to determine whether or not the given pixel falls within some range of the background chromatic data value. This is analogous to Step 314 of Figure 5, substituting the background chromatic data value for the statistical mean.
  • the threshold may be determined in a similar fashion (predetermined, user-determined, or the like).
  • Step 323 determines that the pixel does match the background chromatic data, then the pixel is labeled BG (following connector A) in Step 329 of Figure 6b. From Step 329, the process loops back (via connector D) to Step 321. If Step 323 determines that the pixel does not match the background chromatic data, then the pixel is labeled FG (following connector B) in Step 3210 of Figure 6b. From the Step 3210, the process loops back (via connector D) to Step 321.
  • Step 324 determines whether or not the background statistical model is stable. Step 324 performs this task in the same manner as Step 313 of Figure 5, discussed above. If not, the process proceeds to Step 325, where it is determined if the background statistical model was ever stable (i.e., if it was once stable but is now unstable). If yes, then the process branches to Step 323, and the process proceeds from there as described above. If no, the pixel is labeled DFG (following connector C) in Step 3211 of Figure 6b, after which the process loops back (via connector D) to Step 321.
  • Step 326 tests whether the background statistical model matches the background chromatic data. Similar to the previous matching tests above, this test takes an absolute difference between the value of the background statistical model (i.e., the mean) for the pixel and the background chromatic data (i.e., of the scene model) for the pixel. This absolute difference is then compared to some threshold value, as above (predetermined, user-determined, or the like). If Step 326 determines that there is not a match between the background statistical model and the background chromatic data, the process branches to Step 323, where processing proceeds in the same fashion as described above. If Step 326, on the other hand, determines that there is a match, the process continues to Step 327.
  • the process continues to Step 327.
  • Step 327 determines whether or not the current pixel matches the background statistical model. This step is performed in the same manner as Step 314 of Figure 5, discussed above. If the current pixel does match (which, as discussed above, is determined by comparing it to the mean value corresponding to the current pixel), the pixel is labeled BG (following connector A) in Step 329 of Figure 6b, and the process then loops back (via connector D) to Step 321. If not, then further testing is performed in Step 328.
  • Step 328 determines whether, given that the current pixel value does not reflect a BG pixel, it reflects a FG pixel or a DFG pixel. This is done by determining if the pixel value is far from matching the background statistical model. As discussed above, a FG pixel is distinguished from a BG pixel (in Step 325) by determining if its value differs from the mean by more than a particular amount, for example, a number of standard deviations (see Eqn. (7)). Step 328 applies the same test, but using a larger range.
  • the threshold may set as a predetermined parameter, as a computed parameter, or as a user-defined parameter, and it may be given in terms of a number of standard deviations from the mean, i.e.,
  • Step 3211 of Figure 6b where Nis a number greater than K of Eqn. (7). If the pixel value lies outside the range defined, for example, by Eqn. (8), it is labeled DFG (following connector C) in Step 3211 of Figure 6b, and the process loops back (via connector D) to Step 321. If it lies within the range, the pixel is labeled FG (following connector B) in Step 3210 of Figure 6b, and the process proceeds (via connector D) to Step 321.
  • Step 8 is implemented, in this embodiment of the invention, in the same manner in which it is implemented for the two-pass embodiment, except that the pixel labeling algorithm of Figures 6a and 6b is used for Steps 833 and 837 of Step 83 (as opposed to the pixel labeling algorithms used in the two-pass embodiment).
  • Step 8 the process loops back to Step 2, where, if all frames have been processed, the process ends.
  • a single-pass approach like the one present here, has the advantage of not requiring a second pass, thus, reducing the latency associated with the process. This is useful for applications in which high latencies would be detrimental, for example, video teleconferencing, webcasting, real-time gaming, and the like. 3.
  • the one-pass approach described above has a lower latency than the two- pass approach, it does have a disadvantage in regard to the background statistical model.
  • the cumulative statistical modeling approach used in the one-pass embodiment of the invention may stabilize on a non-representative statistical model for an element (i.e., pixel, region, etc.; that is, whatever size element is under consideration). If the values (e.g., chromatic values) of frame elements corresponding to a particular element of the video scene fundamentally change (i.e., something happens to change the video, for example, a parked car driving away, a moving car parking, the lighting changes, etc.), then the scene model element will no longer accurately represent the true scene.
  • a mechanism for dynamically updating the background statistical model so that at any given time it accurately represents the true nature of the scene depicted in the video. Such a mechanism is depicted in the embodiment of the invention shown in Figure 7.
  • Steps 1-3, 32, 8, and 9 are as described in the one-pass embodiment above.
  • the embodiment of Figure 7 differs from that of Figure 4 in that after a given frame is aligned with the scene model (Step 3), the process executes Step 310, in which the background statistical model and, simultaneously, a secondary background statistical model are built.
  • Step 310 is more fully described in connection with Figures 8a and 8b.
  • Step 310 includes all of the steps shown in Step 31 in Figure 5 (which are shown using the same reference numerals), and it begins with a step of determining whether or not all pixels have yet been processed (Step 311). If not, the next pixel is processed by proceeding to Step 312. In Step 312, it is determined whether or not the background statistical model is mature. If not, the process branches to Step 315, where the pixel is used to update the background statistical model. Following Step 315, the process loops back to Step 311.
  • Step 312 determines that the background statistical model is mature, the process proceeds to Step 313, where it is determined whether or not the background statistical model is stable. If it is not, then, as in the case of a negative determination in Step 312, the process branches to Step 315 (and then loops back to Step 311). Otherwise, the process proceeds to Step 314.
  • Step 314 it is determined whether or not the pixel under consideration matches the background statistical model. If it does, the process proceeds with Step 315 (and then loops back to Step 311); otherwise, the process executes the steps shown in Figure 8b, which build and update a secondary background statistical model.
  • This secondary background statistical model is built in parallel with the background statistical model, as reflected in Figure 8b; uses the same procedures as are used to build and update the background statistical model; and represents the pixel values that do not match the background statistical model.
  • Step 3107 the process then makes a determination as to whether or not the secondary background statistical model is mature (Step 3107). This determination is made in the same fashion as in Step 313. If not, the process branches to Step 3109, where the secondary background statistical model is updated, using the same procedures as for the background statistical model (Step 315). From Step 3109, the process loops back to Step 311 (in Figure 8a).
  • Step 3107 determines that the secondary background statistical model is mature, the process proceeds to Step 3108, which determines (using the same procedures as in Step 314) whether or not the secondary background statistical model is stable. If not, the process proceeds to Step 3109 (and from there to Step 311). If yes, then the process branches to Step 31010, in which the background statistical model is replaced with the secondary background statistical model, after which the process loops back to Step 311. Additionally, concurrently with the replacement of the background statistical model by the secondary background statistical model in Step 31010, the scene model data is replaced with the mean value of the secondary statistical model. At this point, the secondary background statistical model is reset to zero, and a new one will be built using subsequent data.
  • This modified one-pass embodiment has the advantage of improved statistical accuracy over the one-pass embodiment, and it solves the potential problem of changing background images. It does this while still maintaining improved latency time over the two-pass embodiment, and at only a negligible decrease in processing speed compared with the one-pass embodiment. 4. Additional Embodiments and Remarks
  • the above discussion primarily discusses pixels and chromatic values (which may be RGB, YUV, intensity, etc.); however, as discussed above, the invention is not limited to these quantities. Regions other than pixels may be used, and quantities other than chromatic values may be used.
  • the invention including all of the embodiments discussed in the preceding sections, may be embodied in the form of a computer system or in the form of a computer-readable medium containing software implementing the invention. This is depicted in Figure 9, which shows a plan view for a computer system for the invention.
  • the computer 91 includes a computer-readable medium 92 embodying software for implementing the invention and/or software to operate the computer 91 in accordance with the invention.
  • Computer 91 receives a video stream and outputs segmented video, as shown. Alternatively, the segmented video may be further processed within the computer.

Abstract

A method for segmenting video data into foreground and background portions utilizes statistical modeling (316) of the pixels. A statistical model of the background (312) is built for each pixel, and each pixel in an incoming video frame is compared (314) with the background statistical model for that pixel. Pixels are determined to be foreground or background based on the comparison.

Description

VIDEO SEGMENTATION USING STATISTICAL PIXEL MODELING
Field of the Invention The present invention relates to processing of video frames for use in video processing systems, for example, video compression systems. More specifically, it deals with ways of segmenting video frames into their component parts using statistical properties of regions comprising the video frames.
Background of the Invention
In object-based video compression, as well as in other types of object-oriented video processing, the input video is separated into two streams. One stream contains the information representing stationary background information, and the other stream contains information representing the moving portions of the video, to be denoted as foreground information. The background information is represented as a background model, including a scene model, i.e., a composite image composed from a series of related images, as, for example, one would find in a sequence of video frames; the background model may also contain additional models and modeling information. Scene models are generated by aligning images (for example, by matching points and/or regions) and determining overlap among them; generation of scene models is discussed in further depth in commonly-assigned U.S. Patent Applications Serial Nos. 09/472,162, filed December 27, 1999, and 09/609,919, filed July 3, 2000, both incorporated by reference in their entireties herein. In an efficient transmission or storage scheme, the scene model need be transmitted only once, while the foreground information is transmitted for each frame. For example, in the case of an observer (i.e., camera or the like, which is the source of the video) that undergoes only pan, tilt, roll, and zoom types of motion, the scene model need be transmitted only once because the appearance of the scene model does not change from frame to frame, except in a well-defined way based on the observer motion, which can be easily accounted for by transmitting motion parameters. Note that such techniques are also applicable in the case of other forms of motion, besides pan, tilt, roll, and zoom.
To make automatic object-oriented video processing feasible, it is necessary to be able to distinguish the regions in the video sequence that are moving or changing and to separate (i.e., segment) them from the stationary background regions. This segmentation must be performed in the presence of apparent motion, for example, as would be induced by a panning, tilting, rolling, and/or zooming observer (or due to other motion-related phenomena, including actual observer motion). To account for this motion, images are first aligned; that is, corresponding locations in the images (i.e., frames) are determined, as discussed above. After this alignment, objects that are truly moving or changing, relative to the stationary background, can be segmented from the stationary objects in the scene. The stationary regions are then used to create (or to update) the scene model, and the moving foreground objects are identified for each frame. It is not an easy thing to identify and automatically distinguish between video objects that are moving foreground and stationary background, particularly in the presence of observer motion, as discussed above. Furthermore, to provide the maximum degree of compression or the maximum fineness or accuracy of other video processing techniques, it is desirable to segment foreground objects as finely as possible; this enables, for example, the maintenance of smoothness between successive video frames and crispness within individual frames. Known techniques have proven, however, to be difficult to utilize and inaccurate for small foreground objects and have required excessive processing power and memory. It would, therefore, be desirable to have a technique that permits accurate segmentation between the foreground and background information and accurate, crisp representations of the foreground objects, without the limitations of prior techniques.
Summary of the Invention
The present invention is directed to a method for segmentation of video into foreground information and background information, based on statistical properties of the source video. More particularly, the method is based on creating and updating statistical information pertaining to a characteristic of regions of the video and the labeling of those regions (i.e., as foreground or background) based on the statistical information. For example, in one embodiment, the regions are pixels, and the characteristic is chromatic intensity. Many other possibilities exist, as will become apparent.
In embodiments of the invention, a background model is developed containing at least two components. A first component is the scene model, which may be built and updated, for example, as discussed in the aforementioned U.S. patent applications. A second component is a background statistical model.
In a first embodiment, the inventive method comprises a two-pass process of video segmentation. The two passes of the embodiment comprise a first pass in which a background statistical model is built and updated and a second pass in which regions in the frames are segmented. An embodiment of the first pass comprises steps of aligning each video frame with a scene model and updating the background statistical model based on the aligned frame data. An embodiment of the second pass comprises, for each frame, steps of labeling regions of the frame and performing spatial filtering. In a second embodiment, the inventive method comprises a one-pass process of video segmentation. The single pass comprises, for each frame in a frame sequence of a video stream, steps of aligning the frame with a scene model; building a background statistical model; labeling the regions of the frame, and performing spatial/temporal filtering. In yet another embodiment, the inventive method comprises a modified version of the aforementioned one-pass process of video segmentation. This embodiment is similar to the previous embodiment, except that the step of building a background statistical model is replaced with a step of building a background statistical model and a secondary statistical model. Each of these embodiments may be embodied in the forms of a computer system running software executing their steps and a computer-readable medium containing software representing their steps.
Definitions In describing the invention, the following definitions are applicable throughout
(including above).
A "computer" refers to any apparatus that is capable of accepting a structured input, processing the structured input according to prescribed rules, and producing results of the processing as output. Examples of a computer include: a computer; a general purpose computer; a supercomputer; a mainframe; a super mini-computer; a minicomputer; a workstation; a micro-computer; a server; an interactive television; a hybrid combination of a computer and an interactive television; and application-specific hardware to emulate a computer and/or software. A computer can have a single processor or multiple processors, which can operate in parallel and/or not in parallel. A computer also refers to two or more computers connected together via a network for transmitting or receiving information between the computers. An example of such a computer includes a distributed computer system for processing information via computers linked by a network.
A "computer-readable medium" refers to any storage device used for storing data accessible by a computer. Examples of a computer-readable medium include: a magnetic hard disk; a floppy disk; an optical disk, like a CD-ROM or a DVD; a magnetic tape; a memory chip; and a carrier wave used to carry computer-readable electronic data, such as those used in transmitting and receiving e-mail or in accessing a network.
"Software" refers to prescribed rules to operate a computer. Examples of software include: software; code segments; instructions; computer programs; and programmed logic.
A "computer system" refers to a system having a computer, where the computer comprises a computer-readable medium embodying software to operate the computer. A "network" refers to a number of computers and associated devices that are connected by communication facilities. A network involves permanent connections such as cables or temporary connections such as those made through telephone or other communication links. Examples of a network include: an internet, such as the Internet; an intranet; a local area network (LAN); a wide area network (WAN); and a combination of networks, such as an internet and an intranet.
"Video" refers to motion pictures represented in analog and/or digital form. Examples of video include television, movies, image sequences from a camera or other observer, and computer-generated image sequences. These can be obtained from, for example, a live feed, a storage device, a firewire interface, a video digitizer, a computer graphics engine, or a network connection.
"Video processing" refers to any manipulation of video, including, for example, compression and editing.
A "frame" refers to a particular image or other discrete unit within a video.
Brief Description of the Drawings
The invention will now be described in further detail in connection with the attached drawings, in which: Figure 1 shows a flowchart corresponding to an implementation of a first embodiment of the invention;
Figures 2a and 2b show flowcharts corresponding to two alternative embodiments of the labeling step in the flowchart of Figure 1; Figure 3 a and 3b show flowcharts corresponding to implementations of the spatial temporal filtering step in the flowchart of Figure 1;
Figure 4 shows a flowchart corresponding to an implementation of a second embodiment of the invention;
Figure 5 shows a flowchart corresponding to an implementation of one of the steps in the flowchart of Figure 4;
Figures 6a and 6b together show a flowchart corresponding to an implementation of another one of the steps in the flowchart of Figure 4;
Figure 7 shows a flowchart corresponding to an implementation of a third embodiment of the invention; Figures 8 a and 8b together show a flowchart corresponding to an implementation of one of the steps in the flowchart of Figure 7; and
Figure 9 depicts an embodiment of the invention in the form of software embodied on a computer-readable medium, which may be part of a computer system.
Note that identical objects are labeled with the same reference numerals in all of the drawings that contain them.
Detailed Description of the Invention
As discussed above, the present invention is directed to the segmentation of video streams into foreground information, which corresponds to moving objects, and background information, which corresponds to the stationary portions of the video. The present invention may be embodied in a number of ways, of which three specific ones are discussed below. These embodiments are meant to be exemplary, rather than exclusive. The ensuing discussion refers to "pixels" and "chromatic intensity;" however, the inventive method is not so limited. Rather, the processing may involve any type of region (including regions comprising multiple pixels), not just a pixel, and may use any type of characteristic measured with respect to or related to such a region, not just chromatic intensity.
1. First Embodiment « Two-Pass Segmentation The first embodiment of the invention is depicted in Figure 1 and corresponds to a two-pass method of segmentation. As shown in Figure 1, the method begins by obtaining a frame (or video) sequence from a video stream (Step 1). The frame sequence preferably includes two or more frames of the video stream. The frame sequence can be, for example, a portion of the video stream or the entire video stream. As a portion of the video stream, the frame sequence can be, for example, one continuous sequence of frames of the video stream or two or more discontinuous sequences of frames of the video stream. As part of the alignment step, the scene model is also built and updated.
After Step 1, in Step 2, it is determined whether or not all frames have yet been processed. If not, the next frame is taken and aligned with the underlying scene model of the video stream (Step 3); such alignment is discussed above, and more detailed discussions of alignment techniques may be found, for example, in commonly-assigned U.S. Patent Applications Serial Nos. 09/472,162, filed December 27, 1999, and 09/609,919, filed July 3, 2000, both incorporated by reference in their entireties herein, as discussed above, as well as in numerous other references.
The inventive method is based on the use of statistical modeling to determine whether a particular pixel should be classified as being a foreground object or a part thereof or as being the background or a part thereof. Step 4 deals with the building and updating of a statistical model of the background, using each frame aligned in Step 3. The statistical model of the present invention comprises first- and second-order statistics. In the ensuing discussion, mean and standard deviation will be used as such first- and second-order statistics; however, this is meant to be merely exemplary of the statistics that may be used.
In general, the mean of N samples, x , is computed by taking the sum of the samples and dividing it by N, i.e.,
N
* = - !—, (1)
N where , is a particular sample corresponding to a given pixel (or region), which in the present case could be, for example, the measured chromatic intensity of the i sample corresponding to the given pixel (or region). In the present setting, then, such a mean would be computed for each pixel or region. While Eqn. (1) gives the general formula for a sample mean, it may not always be optimal to use this formula. In video processing applications, a pixel's sample value may change drastically when an object moves through the pixel and change (drastically) back to a value around its previous value after the moving object is no longer within that pixel. In order to address this type of consideration, the invention utilizes a weighted average, in which the prior values are weighted more heavily than the present value. In particular, the following equation may be used:
Figure imgf000009_0001
where Wp is the weight of the past values and Wn is the weight assigned to the newest value. Additionally, xj represents the weighted average taken over J samples, a d j represents the Xth sample. Wp and W„ may be set to any pair of values between zero and one such that their sum is one and such that Wn < Wp, so as to guarantee that the past values are more heavily weighted than the newest value. As an example, the inventors have successfully used Wp=0.9 and W„=0.1. Standard deviation, σ, is determined as the square root of the variance, σ2, of the values under consideration. In general, variance is determined by the following formula: σ2 = ^- (x) (3) where x2 represents the average of x2; thus, the standard deviation is given by
Figure imgf000009_0002
Because the inventive method uses running statistics, this becomes
VN = » {xN (4a) where xN is as defined in Eqn. (2) above, and vc2 is defined as the weighted average of the squared values of the samples, through the Nh sample, and is given by
Figure imgf000009_0003
As in the case of the weighted average of the sample values, the weights are used to assure that past values are more heavily weighted than the present value.
Given this, Step 4 works to create and update the statistical model by computing the value of Eqn. (4a) for each pixel, for each frame. In Step 4, the values for the pixels are also stored on a pixel-by-pixel basis (as opposed to how they are received, i.e., on a frame-by-frame basis); that is, an array of values is compiled for each pixel over the sequence of frames. Note that in an alternative embodiment, Step 4 only performs this storage of values.
Following Step 4, the method returns to Step 2 to check whether or not all of the frames have been processed. If they have, then the method proceeds to Step 5, which commences the second pass of the embodiment.
In Step 5, the statistical background model is finalized. This is done by using the stored values for each pixel and determining their mode, the mode being the value that occurs most often. This may be accomplished, for example, by taking a histogram of the stored values and selecting the value for which the histogram has the highest value. The mode of each pixel is then assigned as the value of the background statistical model for that pixel.
Following Step 5, the method proceeds to Step 6, which determines whether or not all of the frames have been processed yet. If not, then the method proceeds to Step 7, in which each pixel in the frame is labeled as being a foreground (FG) pixel or a background (BG) pixel. Two alternative embodiments of the workings of this step are shown in the flowcharts of Figures 2a and 2b.
Figure 2a depicts a two decision level method. In Figure 2a, the pixel labeling Step 7 begins with Step 71, where it is determined whether or not all of the pixels in the frame have been processed. If not, then the method proceeds to Step 72 to examine the next pixel. Step 72 determines whether or not the pixel matches the background statistical model, i.e., whether the value of the pixel matches the mode for that pixel. This is performed by taking the absolute difference between the pixel value and the value of the background statistical model for the pixel (i.e., the mode) and comparing it with a threshold; that is, A = ~m pixel] (6) is compared with a threshold θ. In Eqn. (6), xpιxeι denotes the value of the pixel, while mPix i represents the value of the statistical background model for that pixel.
The threshold θ may be determined in many ways. For example, it may be taken to be a function of standard deviation (of the given pixel), σ. In a particular exemplary embodiment, θ = 3σ ; in another embodiment, θ = Kσ , where K is chosen by the user. As another example, θ may be assigned a predetermined value (again, for each pixel) or one chosen by the user. If Δ < θ , then the pixel value is considered to match the background statistical model. In this case, the pixel is labeled as background (BG) in Step 73, and the algorithm proceeds back to Step 71. Otherwise, if Δ > θ , then the pixel value is considered not to match the background statistical model, and the pixel is labeled as foreground (FG) in Step 74. Again, the algorithm then proceeds back to Step 71. If Step 71 determines that all of the pixels (in the frame) have been processed, then Step 7 is finished.
Figure 2b depicts a three decision level method, labeled 7'. In Figure 2b, the process once again begins with Step 71, a step of determining whether or not all pixels have yet been processed. If not, the process considers the next pixel to be processed and executes Step 72, the step of determining whether or not the pixel being processed matches the background statistical model; this is done in the same way as in Figure 2a. If yes, then the pixel is labeled as BG (Step 73), and the process loops back to Step 71. If not, then the process proceeds to Step 75; this is where the process of Figure 2b is distinguished from that of Figure 2a. In Step 75, the process determines whether or not the pixel under consideration is far from matching the background statistical model. This is accomplished via a threshold test similar to Step 72, only in Step 75, θ is given a larger value. As in Step 72, θ may be user-assigned or predetermined. In one embodiment, θ = Nσ , where N is a either a predetermined or user-set number, N>K. In another embodiment, N=6. If the result of Step 75 is that Δ < θ , then the pixel is labeled as FG (Step 74). If not, then the pixel is labeled definite foreground (DFG), in Step 76. In each case, the process loops back to Step 71. Once Step 71 determines that all pixels in the frame have been processed, Step 7' is complete.
Returning to Figure 1, once all of the pixels of a frame have been labeled, the process proceeds to Step 8, in which spatial/temporal filtering is performed. While shown as a sequential step in Figure 1, Step 8 may alternatively be performed in parallel with Step 7. Details of Step 8 are shown in the flowcharts of Figures 3a and 3b.
In Figure 3 a, Step 8 commences with a test as to whether or not all the pixels of the frame have been processed (Step 81). If not, in Step 85, the algorithm selects the next pixel, P„ for processing and proceeds to Step 82, where it is determined whether or not the pixel is labeled as BG. If it is, then the process goes back to Step 81. If not, then the pixel undergoes further processing in Steps 83 and 84. Step 83, neighborhood filtering, is used to correct for misalignments when the images are aligned. If the current image is slightly misaligned with the growing background statistical model, then, particularly near strong edges, the inventive segmentation procedure, using the background statistical model, will label pixels as foreground. Neighborhood filtering will correct for this. An embodiment of Step 83 is depicted in the flowchart of Figure 3b.
In Figure 3b, Step 83 begins with Step 831, where a determination is made of the scene model location, Pm, corresponding to Pt. Next, a neighborhood, comprising the pixels, P ',„, surrounding Pm in the scene model, is selected (Step 832). Step 833 next determines if all of the pixels in the neighborhood have been processed. If yes, Step 83 is complete, and the label of Pj remains as it was; if not, the process proceeds to Step 834, where the next neighborhood pixel P ',„ is considered. Step 835 then tests to determine whether or not P,- matches P 'm. This matching test is accomplished by executing the labeling step (Step 7 or 7') in a modified fashion, using Pi as the pixel under consideration and P 'm as the "corresponding" background statistical model point. If the labeling step returns a label of FG or DFG, there is no match, whereas if it returns a label of BG, there is a match. If there is no match, the process loops back to Step 833; if there is a match, then this is an indication that P. might be mislabeled, and the process continues to Step 836. In Step 836, a neighborhood, comprising the pixels, P ',-, surrounding Pt in the frame, is selected, and an analogous process is performed. That is, in Step 833, it is determined whether or not all of the pixels, P ',• in the neighborhood have yet been considered. If yes, then Step 83 is complete, and the label of P, remains as it was; if not, then the process proceeds to Step 838, where the next neighborhood pixel, P ',-, is considered. Step 839 tests to determine if P,„ matches P ',; this is performed analogously to Step 833, with the P under consideration being used as the pixel being considered and Pm as its "corresponding" background statistical model point. If it does not, then the process loops back to Step 837; if it does, then Pt is relabeled as BG, and Step 83 is complete.
Returning to Figure 3a, following Step 83, Step 84 is executed, in which morphological erosions and dilations are performed. First, a predetermined number, n, of erosions are performed to remove incorrectly labeled foreground. Note that pixels labeled DFG may not be eroded because they represent either a pixel that is almost certainly foreground. This is followed by n dilations, which restore the pixels that were correctly labeled as foreground but were eroded. Finally, a second predetermined number, m, of dilations are performed to fill in holes in foreground objects. The erosions and dilations may be performed using conventional erosion and dilation techniques, applied in accordance with user-specified parameters, and modified, as discussed above, such that pixels labeled DFG are not eroded.
In alternative embodiments, Step 84 may comprise filtering techniques other than or in addition to morphological erosions and dilations. In general, Step 84 may employ any form or forms of spatial and/or temporal filtering.
Returning to Figure 1, following Step 8, the algorithm returns to Step 6, to determine whether or not all frames have been processed. If yes, then the processing of the frame sequence is complete, and the process ends (Step 9).
This two-pass embodiment has the advantage of relative simplicity, and it is an acceptable approach for applications not requiring immediate or low-latency processing. Examples of such applications include off-line video compression and non-linear video editing. On the other hand, many other applications do have such requirements, and the embodiments to be discussed below are tailored to address these requirements. 2. Second Embodiment - One-Pass Segmentation
Figure 4 depicts a flowchart of a one-pass segmentation process, according to a second embodiment of the invention. Comparing Figure 4 with Figure 1 (the first embodiment), the second embodiment differs in that there is only a single pass of processing for each frame sequence. This single pass, as shown in Steps 2, 3, 31, 32, 8 in Figure 4, incorporates the processes of the second pass (Steps 5-8 in Figure 1) with the first pass (Steps 2-4 in Figure 1), albeit in a modified form, as will be discussed below.
As in the case of the first embodiment, the second embodiment (one-pass process), shown in Figure 4, begins by obtaining a frame sequence (Step 1). As in the first embodiment, the process then performs a test to determine whether or not all of the frames have yet been processed (Step 2). Also as in the first embodiment, if the answer is no, then the next frame to be processed is aligned with the scene model (Step 3). As discussed above, the scene model component of the background model is built and updated as part of Step 3, so there is always at least a deterministically-determined value in the background model at each location.
At this point, the process includes a step of building a background statistical model (Step 31). This differs from Step 4 of Figure 1, and is depicted in further detail in Figure 5. The process begins with a step of determining whether or not all pixels in the frame being processed have been processed (Step 311). If not, then the process determines whether or not the background statistical model is "mature" (Step 312) and "stable" (Step 313). The reason for Steps 312 and 313 is that, initially, the statistical background model will not be sufficiently developed to make accurate decisions as to the nature of pixels. To overcome this, some number of frames should be processed before pixels are labeled (i.e., the background statistical model should be "mature"); in one embodiment of the present invention, this is a user-defined parameter. This may be implemented as a "look-ahead" procedure, in which a limited number of frames are used to accumulate the background statistical model prior to pixel labeling (Step 32 in Figure 4).
While simply processing a user-defined number of frames may suffice to provide a mature statistical model, stability is a second concern (Step 313), and it depends upon the standard deviation of the background statistical model. In particular, as will be discussed below, the statistical background model includes a standard deviation for each pixel. The statistical model (for a particular pixel) is defined as having become "stable" when its variance (or, equivalently, its standard deviation) is reasonably small. In an embodiment of the present invention, Step 313 determines this by comparing the standard deviation with a user-defined threshold parameter; if the standard deviation is less than this threshold, then the statistical background model (for that pixel) is determined to be stable.
As to the flow of Step 31, in Figure 5, if the background statistical model is determined to be mature (Step 312), it is determined whether or not the background statistical model is stable (Step 313). If either of these tests (Steps 312 and 313) fails, the process proceeds to Step 315, in which the background statistical model of the pixel being processed is updated using the current value of that pixel. Step 315 will be explained further below.
If the background statistical model is determined to be both mature and stable (in Steps 312 and 313), the process proceeds to Step 314, where it is determined whether or not the pixel being processed matches the background statistical model. If yes, then the background statistical model is updated using the current pixel value (Step 315); if no, then the process loops back to Step 311 to determine if all pixels in the frame have been processed. Step 314 operates by determining whether or not the current pixel value is within some range of the mean value of the pixel, according to the current background statistical model. In one embodiment of the invention, the range is a user-defined range. In yet another embodiment, it is determined to be a user-defined number of standard deviations; i.e., the pixel value, x, matches the background statistical model if x pixel — X pixel ≤ Kσ, (7) where K is the user-defined number of standard deviations, σ; x ixel is the current pixel value; and xpixel is the mean value of the current pixel in the background statistical model. The purpose of performing Step 314 is to ensure, to the extent possible, that only background pixels are used to develop and update the background statistical model.
In Step 315, the background statistical model is updated. In this embodiment, the background statistical model consists of the mean and standard deviation of the values for each pixel (over the sequence of frames). These are computed according to Eqns. (2) and (4a) above. Following Step 315 , the process loops back to Step 311 , to determine if all pixels
(in the current frame) have been processed. Once all of the pixels have been processed, the process proceeds to Step 316, where the background statistical model is finalized. This finalization consists of assigning to each pixel its current mean value and standard deviation (i.e., the result of processing all of the frames up to that point). Note that it is possible for the background statistical model for a given pixel never to stabilize. This generally indicates that the particular pixel is not a background pixel in the sequence of frames, and there is, therefore, no need to assign it a value for the purposes of the background statistical model. Noting that, as discussed above, a scene model is also built and updated, there is always at least a deterministically-determined value associated with each pixel in the background model.
Following Step 316, the process goes to Step 32, as shown in Figure 4, where the pixels in the frame are labeled according to their type (i.e., definite foreground, foreground or background). Step 32 is shown in further detail in the flowchart of Figures 6a and 6b. The following concepts are embodied in the description of Step 32 to follow.
Ideally, labeling would always be done by testing each pixel against its corresponding point in the background statistical model, but this is not always possible. If the background statistical model is not ready to use on the basis of number of frames processed (i.e., "mature"), then the process must fall back on testing against the corresponding point in the scene model. If the background statistical model is ready to use but has not yet settled down (i.e., is not "stable"), this is a sign that the pixel is varying and should be labeled as being foreground. If the background statistical model has, for some reason (i.e., because it fails to match the scene model or because it has become unsettled again), become unusable, the process must once again fall back on testing against the scene model. As shown in Figure 6a, Step 32 begins with Step 321, where it is determined whether or not all pixels (in the current frame) have been processed. If yes, Step 32 is complete; if not, the next pixel is processed in Steps 322 et seq.
Step 322 determines whether or not the background statistical model is mature. This is done in the same manner as in Step 312 of Figure 5, discussed above. If not, the process proceeds to Step 323, where it is determined whether or not the pixel matches the background chromatic data of the corresponding point of the scene model.
Step 323 is performed by carrying out a test to determine whether or not the given pixel falls within some range of the background chromatic data value. This is analogous to Step 314 of Figure 5, substituting the background chromatic data value for the statistical mean. The threshold may be determined in a similar fashion (predetermined, user-determined, or the like).
If Step 323 determines that the pixel does match the background chromatic data, then the pixel is labeled BG (following connector A) in Step 329 of Figure 6b. From Step 329, the process loops back (via connector D) to Step 321. If Step 323 determines that the pixel does not match the background chromatic data, then the pixel is labeled FG (following connector B) in Step 3210 of Figure 6b. From the Step 3210, the process loops back (via connector D) to Step 321.
If Step 322 determines that the background statistical model is mature, processing proceeds to Step 324, which determines whether or not the background statistical model is stable. Step 324 performs this task in the same manner as Step 313 of Figure 5, discussed above. If not, the process proceeds to Step 325, where it is determined if the background statistical model was ever stable (i.e., if it was once stable but is now unstable). If yes, then the process branches to Step 323, and the process proceeds from there as described above. If no, the pixel is labeled DFG (following connector C) in Step 3211 of Figure 6b, after which the process loops back (via connector D) to Step 321.
If Step 324 determines that the background statistical model is stable, the process goes to Step 326. Step 326 tests whether the background statistical model matches the background chromatic data. Similar to the previous matching tests above, this test takes an absolute difference between the value of the background statistical model (i.e., the mean) for the pixel and the background chromatic data (i.e., of the scene model) for the pixel. This absolute difference is then compared to some threshold value, as above (predetermined, user-determined, or the like). If Step 326 determines that there is not a match between the background statistical model and the background chromatic data, the process branches to Step 323, where processing proceeds in the same fashion as described above. If Step 326, on the other hand, determines that there is a match, the process continues to Step 327.
Step 327 determines whether or not the current pixel matches the background statistical model. This step is performed in the same manner as Step 314 of Figure 5, discussed above. If the current pixel does match (which, as discussed above, is determined by comparing it to the mean value corresponding to the current pixel), the pixel is labeled BG (following connector A) in Step 329 of Figure 6b, and the process then loops back (via connector D) to Step 321. If not, then further testing is performed in Step 328.
Step 328 determines whether, given that the current pixel value does not reflect a BG pixel, it reflects a FG pixel or a DFG pixel. This is done by determining if the pixel value is far from matching the background statistical model. As discussed above, a FG pixel is distinguished from a BG pixel (in Step 325) by determining if its value differs from the mean by more than a particular amount, for example, a number of standard deviations (see Eqn. (7)). Step 328 applies the same test, but using a larger range. Again, the threshold may set as a predetermined parameter, as a computed parameter, or as a user-defined parameter, and it may be given in terms of a number of standard deviations from the mean, i.e.,
Figure imgf000017_0001
where Nis a number greater than K of Eqn. (7). If the pixel value lies outside the range defined, for example, by Eqn. (8), it is labeled DFG (following connector C) in Step 3211 of Figure 6b, and the process loops back (via connector D) to Step 321. If it lies within the range, the pixel is labeled FG (following connector B) in Step 3210 of Figure 6b, and the process proceeds (via connector D) to Step 321.
After Step 32 is complete, the process proceeds to Step 8, as shown in Figure 4, where spatial/temporal filtering is performed on the pixels in the frame. Step 8 is implemented, in this embodiment of the invention, in the same manner in which it is implemented for the two-pass embodiment, except that the pixel labeling algorithm of Figures 6a and 6b is used for Steps 833 and 837 of Step 83 (as opposed to the pixel labeling algorithms used in the two-pass embodiment). Following Step 8, the process loops back to Step 2, where, if all frames have been processed, the process ends. A single-pass approach, like the one present here, has the advantage of not requiring a second pass, thus, reducing the latency associated with the process. This is useful for applications in which high latencies would be detrimental, for example, video teleconferencing, webcasting, real-time gaming, and the like. 3. Third Embodiment - Modified One-Pass Segmentation
While the one-pass approach described above has a lower latency than the two- pass approach, it does have a disadvantage in regard to the background statistical model. In particular, the cumulative statistical modeling approach used in the one-pass embodiment of the invention may stabilize on a non-representative statistical model for an element (i.e., pixel, region, etc.; that is, whatever size element is under consideration). If the values (e.g., chromatic values) of frame elements corresponding to a particular element of the video scene fundamentally change (i.e., something happens to change the video, for example, a parked car driving away, a moving car parking, the lighting changes, etc.), then the scene model element will no longer accurately represent the true scene. This can be addressed by utilizing a mechanism for dynamically updating the background statistical model so that at any given time it accurately represents the true nature of the scene depicted in the video. Such a mechanism is depicted in the embodiment of the invention shown in Figure 7.
In Figure 7, Steps 1-3, 32, 8, and 9 are as described in the one-pass embodiment above. The embodiment of Figure 7 differs from that of Figure 4 in that after a given frame is aligned with the scene model (Step 3), the process executes Step 310, in which the background statistical model and, simultaneously, a secondary background statistical model are built. Step 310 is more fully described in connection with Figures 8a and 8b. As shown in Figure 8a, Step 310 includes all of the steps shown in Step 31 in Figure 5 (which are shown using the same reference numerals), and it begins with a step of determining whether or not all pixels have yet been processed (Step 311). If not, the next pixel is processed by proceeding to Step 312. In Step 312, it is determined whether or not the background statistical model is mature. If not, the process branches to Step 315, where the pixel is used to update the background statistical model. Following Step 315, the process loops back to Step 311.
If Step 312 determines that the background statistical model is mature, the process proceeds to Step 313, where it is determined whether or not the background statistical model is stable. If it is not, then, as in the case of a negative determination in Step 312, the process branches to Step 315 (and then loops back to Step 311). Otherwise, the process proceeds to Step 314.
In Step 314, it is determined whether or not the pixel under consideration matches the background statistical model. If it does, the process proceeds with Step 315 (and then loops back to Step 311); otherwise, the process executes the steps shown in Figure 8b, which build and update a secondary background statistical model. This secondary background statistical model is built in parallel with the background statistical model, as reflected in Figure 8b; uses the same procedures as are used to build and update the background statistical model; and represents the pixel values that do not match the background statistical model.
Following a negative determination in Step 314, the process then makes a determination as to whether or not the secondary background statistical model is mature (Step 3107). This determination is made in the same fashion as in Step 313. If not, the process branches to Step 3109, where the secondary background statistical model is updated, using the same procedures as for the background statistical model (Step 315). From Step 3109, the process loops back to Step 311 (in Figure 8a).
If Step 3107 determines that the secondary background statistical model is mature, the process proceeds to Step 3108, which determines (using the same procedures as in Step 314) whether or not the secondary background statistical model is stable. If not, the process proceeds to Step 3109 (and from there to Step 311). If yes, then the process branches to Step 31010, in which the background statistical model is replaced with the secondary background statistical model, after which the process loops back to Step 311. Additionally, concurrently with the replacement of the background statistical model by the secondary background statistical model in Step 31010, the scene model data is replaced with the mean value of the secondary statistical model. At this point, the secondary background statistical model is reset to zero, and a new one will be built using subsequent data. This modified one-pass embodiment has the advantage of improved statistical accuracy over the one-pass embodiment, and it solves the potential problem of changing background images. It does this while still maintaining improved latency time over the two-pass embodiment, and at only a negligible decrease in processing speed compared with the one-pass embodiment. 4. Additional Embodiments and Remarks
While the above discussion considers two-level and three-level pixel labeling algorithms, this embodiment is not limited only to these cases. Indeed, it is contemplated that an arbitrary number of decision levels, corresponding to different ranges (i.e., threshold values) may be used. In such a case, a form of soft-decision logic could be used to make decisions in subsequent steps of the segmentation process.
The above discussion primarily discusses pixels and chromatic values (which may be RGB, YUV, intensity, etc.); however, as discussed above, the invention is not limited to these quantities. Regions other than pixels may be used, and quantities other than chromatic values may be used. As discussed above, the invention, including all of the embodiments discussed in the preceding sections, may be embodied in the form of a computer system or in the form of a computer-readable medium containing software implementing the invention. This is depicted in Figure 9, which shows a plan view for a computer system for the invention. The computer 91 includes a computer-readable medium 92 embodying software for implementing the invention and/or software to operate the computer 91 in accordance with the invention. Computer 91 receives a video stream and outputs segmented video, as shown. Alternatively, the segmented video may be further processed within the computer.
The invention has been described in detail with respect to preferred embodiments, and it will now be apparent from the foregoing to those skilled in the art that changes and modifications may be made without departing from the invention in its broader aspects. The invention, therefore, as defined in the appended claims, is intended to cover all such changes and modifications as fall within the true spirit of the invention.

Claims

ClaimsWe claim:
1. A two-pass method of video segmentation, for differentiating between foreground and background portions of video, comprising the steps of: obtaining a frame sequence from an input video stream; executing a first-pass method for each frame of the frame sequence, the first-pass method comprising the steps of: aligning the frame with a scene model; and updating a background statistical model; and finalizing the background statistical model; executing a second-pass method for each frame of the frame sequence, the second-pass method comprising the steps of: labeling each region of the frame; and performing spatial/temporal filtering of the regions of the frame.
2. A computer system comprising: a computer; and a computer-readable medium containing software implementing the method of Claim 1.
3. A computer-readable medium comprising software implementing the method of Claim 1.
4. The method according to Claim 1, wherein the step of updating a background statistical model comprises the steps of: compiling values corresponding to the regions of the frames; and computing a standard deviation for each region of the frames.
5. The method according to Claim 1, wherein the step of finalizing the background statistical model comprises the step of: for each region of the frames, determining a statistical mode based on the compiled values; and assigning the statistical mode of each region as its value in the background statistical model.
6. The method according to Claim 1, wherein the step of labeling each region of the frame comprises the steps of: determining whether or not the region matches the background statistical model; and assigning a label based on the result of the determining step.
7. The method according to Claim 6, wherein the step of determining comprises the step of determining whether a value of the region of the frame falls within some range about a corresponding value of the region in the background statistical model; and wherein the step of assigning a label comprises the steps of: assigning a first label if the value of the region of the frame does fall within the range; and assigning a second label if the value of the region of the frame does not fall within the range.
8. The method according to Claim 7, wherein said first label is background and said second label is foreground.
9. The method according to Claim 6, wherein the step of determining comprises the steps of: determining whether a value of the region of the frame falls within a first range about a corresponding value of the region in the background statistical model; and if the value of the region of the frame does not fall within the first range, determining if it falls within a second range about said corresponding value of the region in the background statistical model; and wherein the step of assigning a label comprises the steps of: assigning a first label if the value of the region of the frame falls within the first range; assigning a second label if the value of the region of the frame does not fall within the first range and does lie within the second range; and assigning a third label if the value of the region of the frame does not fall within the second range.
10. The method according to Claim 9, wherein said first label is background, said second label is foreground, and said third label is definite foreground.
11. The method according to Claim 1 , wherein the step of labeling each region of the frame comprises the steps of: determining whether or not the region matches the background statistical model, comprising the step of performing determinations as to whether or not a value of the region of the frame falls within each of an arbitrary number of ranges about a corresponding value of the region in the background statistical model ; and assigning a label based on the result of the determining step.
12. The method according to Claim 1, wherein the step of spatial/temporal filtering comprises the steps of, for each region of the frame: performing neighborhood filtering; and performing spatial filtering, temporal filtering, or a combination thereof.
13. The method according to Claim 12, wherein the step of performing spatial filtering, temporal filtering, or a combination thereof comprises the step of performing morphological erosions and dilations, wherein the morphological erosions and dilations are performed in two dimensions or in three dimensions.
14. The method according to Claim 13, wherein said step of performing morphological erosions and dilations comprises the steps of: performing a number, n, of erosions, wherein any region labeled definite foreground is not eroded; following the step of performing n erosions, performing n dilations; and following the step of performing n dilations, performing a second number, m, of dilations.
15. The method according to Claim 12, wherein the step of performing neighborhood filtering comprises the steps of, for each region of the frame, P,-, not labeled background: determining a location, Pm, in the scene model corresponding to V_; determining a neighborhood of regions, P'm around Pm; determining if any of the P'm matches Pi; if any of the P'm matches Pi, determining a neighborhood of regions P'i around P,; determining if any of the P'j matches Pm; and if any of the P'm matches Pj, relabeling Pj background.
16. A one-pass method of video segmentation, for differentiating between foreground and background portions of video, comprising the steps of: obtaining a frame sequence from a video stream; and for each frame in the frame sequence, performing the following steps: aligning the frame with a scene model; building a background statistical model; labeling the regions of the frame; and performing spatial/temporal filtering.
17. A computer system comprising: a computer; and a computer-readable medium containing software implementing the method of Claim 16.
18. A computer-readable medium comprising software implementing the method of Claim 16.
19. The method according to Claim 16, wherein the step of spatial/temporal filtering comprises the steps of, for each region of the frame: performing neighborhood filtering; and performing spatial filtering, temporal filtering, or a combination thereof.
20. The method according to Claim 19, wherein the step of performing spatial filtering, temporal filtering, or a combination thereof comprises the step of performing morphological erosions and dilations, wherein the morphological erosions and dilations are performed in two dimensions or in three dimensions.
21. The method according to Claim 20, wherein said step of performing morphological erosions and dilations comprises the steps of: performing a number, n, of erosions, wherein any region labeled definite foreground is not eroded; following the step of performing n erosions, performing n dilations; and following the step of performing n dilations, performing a second number, m, of dilations.
22. The method according to Claim 19, wherein the step of performing neighborhood filtering comprises the steps of, for each region of the frame, Pi, not labeled background: determining a location, Pm, in the scene model corresponding to Pj; determining a neighborhood of regions, P'm around Pm; determining if any of the P'm matches P;; if any of the P'm matches Pj, determining a neighborhood of regions P'j around PJ; determining if any of the P'j matches Pm; and if any of the P'm matches P;, relabeling Pi background.
23. The method according to Claim 16, wherein said step of building a background statistical model comprises the steps of: for each region of the frame, performing the steps of: determining if the background statistical model is mature and stable; if the background statistical model is mature and stable, determining if a value of the region matches a corresponding value of the background statistical model; and if the value of the region matches the value of the background statistical model, updating the background statistical model using the value of the region.
24. The method according to Claim 23, wherein the step of determining if the background statistical model is mature and stable comprises the steps of: determining if the background statistical model is mature, and if it is not, updating the background statistical model using the value of the region; if the background statistical model is determined to be mature, determining if the background statistical model is stable; if the background statistical model is determined not to be stable, updating the background statistical model using the value of the region.
25. The method according to Claim 24, wherein each step of updating the background statistical model using the value of the region comprises the steps of: updating a running mean value for the region; and updating a running standard deviation value for the region.
26. The method according to Claim 23, wherein the step of updating the background statistical model using the value of the region comprises the steps of: updating a running mean value for the region; and updating a running standard deviation value for the region.
27. The method according to Claim 23, wherein said step of building a background statistical model further comprises the step of finalizing the background statistical model.
28. The method according to Claim 16, wherein said step of labeling the regions of the frame comprises, for each region of the frame, the steps of: making determinations as to the maturity and stability of the background statistical model for that region; determining if a value of the background statistical model for that region matches a value of the scene model for that region; determining if a value of the region matches the value of the scene model for that region; and determining to what extent the value of the region matches the value of the background statistical model for that region; and wherein, based on the results of the making and determining steps, a label is assigned to the region.
29. The method according to Claim 28, wherein the step of making determinations as to the maturity and stability of the background statistical model comprises the steps of: determining whether or not the background statistical model is mature; determining whether or not the background statistical model is stable; and if the background statistical model is not stable, determining if it was ever previously stable.
30. The method according to Claim 29, wherein the step of determining if the background statistical model is stable is executed only if the background statistical model is determined to be mature; and wherein, if the background statistical model is determined not to be mature, the step of determining if a value of the region matches the value of the scene model for that region is executed.
31. The method according to Claim 29, wherein, if the background statistical model is determined to be stable, the step of determining if a value of the background statistical model for that region matches a value of the scene model for that region is executed.
32. The method according to Claim 29, wherein, if the step of determining if the background statistical model was ever previously stable returns an affirmative result, the step of determining if a value of the region matches the value of the scene model for that region is executed; and wherein, if the step of determining if the background statistical model was ever previously stable returns a negative result, then the region is labeled definite foreground.
33. The method according to Claim 28, wherein if the step of determining if a value of the region matches the value of the scene model for that region returns an affirmative result, the region is labeled background, and if it returns a negative result, the region is labeled foreground.
34. The method according to Claim 28, wherein, if the step of determining if a value of the background statistical model for that region matches a value of the scene model for that region returns an affirmative result, the step of determining to what extent the value of the region matches the value of the background statistical model for that region is executed; and wherein, if the step of determining if a value of the background statistical model for that region matches a value of the scene model for that region returns a negative result, then the step of determining if a value of the region matches the value of the scene model for that region is executed.
35. The method according to Claim 28, wherein the step of determining to what extent the value of the region matches the value of the background statistical model for that region comprises the steps of: determining if the value of the region matches the value of the background statistical model for that region; if the step of determining if the value of the region matches the value of the background statistical model for that region, labeling the region background; and if the step of determining if the value of the region matches the value of the background statistical model for that region returns a negative result, determining if the value of the region falls far from the background statistical model.
36. The method according to Claim 35, wherein the step of determining if the value of the region falls far from the background statistical model comprises the step of performing a threshold comparison; and wherein: if the step of determining if the value of the region falls far from the background statistical model returns an affirmative result, labeling the region definite foreground, and if the step of determining if the value of the region falls far from the background statistical model returns a negative result, labeling the region foreground.
37. A one-pass method of video segmentation, for differentiating between foreground and background portions of video, comprising the steps of: obtaining a frame sequence from a video stream; and for each frame in the frame sequence, performing the following steps: aligning the frame with a scene model; building a background statistical model and a secondary statistical model; labeling the regions of the frame; and performing spatial/temporal filtering.
38. A computer system comprising: a computer; and a computer-readable medium containing software implementing the method of Claim 37.
39. A computer-readable medium comprising software implementing the method of Claim 37.
40. The method according to Claim 37, wherein the step of spatial/temporal filtering comprises the steps of, for each region of the frame: performing neighborhood filtering; and performing spatial filtering, temporal filtering, or a combination thereof.
41. The method according to Claim 40, wherein the step of performing spatial filtering, temporal filtering, or a combination thereof comprises the step of performing morphological erosions and dilations, wherein the morphological erosions and dilations are performed in two dimensions or in three dimensions.
42. The method according to Claim 41, wherein said step of performing morphological erosions and dilations comprises the steps of: performing a number, n, of erosions, wherein any region labeled definite foreground is not eroded; following the step of performing n erosions, performing n dilations; and following the step of performing n dilations, performing a second number, m, of dilations.
43. The method according to Claim 40, wherein the step of performing neighborhood filtering comprises the steps of, for each region of the frame, Pi, not labeled background: determining a location, Pm, in the scene model corresponding to Pi; determining a neighborhood of regions, P'm around Pm; determining if any of the P'm matches PJ; if any of the P'm matches Pj, determining a neighborhood of regions P'; around Pi; determining if any of the P',- matches Pm; and if any of the P ' m matches P;, relabeling P; background.
44. The method according to Claim 37, wherein said step of building a background statistical model comprises the steps of: for each region of the frame, performing the steps of: determining if the background statistical model is mature and stable; if the background statistical model is mature and stable, determining if a value of the region matches a coπesponding value of the background statistical model; if the value of the region matches the value of the background statistical model, updating the background statistical model using the value of the region; and if the value of the region does not match the value of the background statistical model, updating the secondary statistical model using the value of the region.
45. The method according to Claim 44, wherein the step of determining if the background statistical model is mature and stable comprises the steps of: determining if the background statistical model is mature, and if it is not, updating the background statistical model using the value of the region; if the background statistical model is determined to be mature, determining if the background statistical model is stable; if the background statistical model is determined not to be stable, updating the background statistical model using the value of the region.
46. The method according to Claim 45, wherein each step of updating the background statistical model using the value of the region comprises the steps of: updating a running mean value for the region; and updating a running standard deviation value for the region.
47. The method according to Claim 44, wherein the step of updating the background statistical model using the value of the region comprises the steps of: updating a running mean value for the region; and updating a running standard deviation value for the region.
48. The method according to Claim 44, wherein said step of updating the secondary statistical model comprises the steps of: determining if the secondary statistical model is mature; if the secondary statistical model is not mature, updating the secondary statistical model using the value of the region; if the secondary statistical model is mature, determining if the secondary statistical model is stable; if the secondary statistical model is not stable, updating the secondary statistical model using the value of the region; and if the secondary statistical model is stable, replacing the background statistical model for the region with the secondary statistical model for the region.
49. The method according to Claim 44, wherein said step of building a background statistical model further comprises the step of finalizing the background statistical model.
50. The method according to Claim 37, wherein said step of labeling the regions of the frame comprises, for each region of the frame, the steps of: making determinations as to the maturity and stability of the background statistical model for that region; determining if the value of a background statistical model for that region matches a value of the scene model for that region; determining if a value of the region matches the value of the scene model for that region; and determining to what extent the value of the region matches the value of the background statistical model for that region; and wherein, based on the results of the making and determining steps, a label is assigned to the region.
51. The method according to Claim 50, wherein the step of making determinations as to the maturity and stability of the background statistical model comprises the steps of: determining whether or not the background statistical model is mature; determining whether or not the background statistical model is stable; and if the background statistical model is not stable, determining if it was ever previously stable.
52. The method according to Claim 51 , wherein the step of determining if the background statistical model is stable is executed only if the background statistical model is determined to be mature; and wherein, if the background statistical model is determined not to be mature, the step of determining if a value of the region matches the value of the scene model for that region is executed.
53. The method according to Claim 51, wherein, if the background statistical model is determined to be stable, the step of determining if a value of the background statistical model for that region matches a value of the scene model for that region is executed.
54. The method according to Claim 51 , wherein, if the step of determining if the background statistical model was ever previously stable returns an affirmative result, the step of determining if a value of the region matches the value of the scene model for that region is executed; and wherein, if the step of determining if the background statistical model was ever previously stable returns a negative result, then the region is labeled definite foreground.
55. The method according to Claim 50, wherein if the step of determining if a value of the region matches the value of the scene model for that region returns an affirmative result, the region is labeled background, and if it returns a negative result, the region is labeled foreground.
56. The method according to Claim 50, wherein, if the step of determining if a value of the background statistical model for that region matches a value of the scene model for that region returns an affirmative result, the step of determining to what extent the value of the region matches the value of the background statistical model for that region is executed; and wherein, if the step of determining if a value of the background statistical model for that region matches a value of the scene model for that region returns a negative result, then the step of determining if a value of the region matches the value of the scene model for that region is executed.
57. The method according to Claim 50, wherein the step of determining to what extent the value of the region matches the value of the background statistical model for that region comprises the steps of: determining if the value of the region matches the value of the background statistical model for that region; if the step of determining if the value of the region matches the value of the background statistical model for that region, labeling the region background; and if the step of determining if the value of the region matches the value of the background statistical model for that region returns a negative result, determining if the value of the region falls far from the background statistical model.
58. The method according to Claim 57, wherein the step of determining if the value of the region falls far from the background statistical model comprises the step of performing a threshold comparison; and wherein: if the step of determining if the value of the region falls far from the background statistical model returns an affirmative result, labeling the region definite foreground, and if the step of determining if the value of the region falls far from the background statistical model returns a negative result, labeling the region foreground.
59. A method of segmenting video into foreground and background components, comprising the steps of: obtaining a sequence of video frames; building and updating at least one background statistical model for each region of the video frames, based on the video frames; and assigning labels to the regions, based on the at least one background statistical model.
60. The method according to Claim 59, further comprising the step of: filtering the results of the step of assigning.
61. The method according to Claim 60, wherein the step of filtering comprises the steps of: performing neighborhood filtering; and performing spatial filtering, temporal filtering, or a combination thereof.
62. The method according to Claim 59, wherein the step of building and updating at least one background statistical model comprises the steps of: building and updating a primary background statistical model; and building and updating a secondary background statistical model; wherein, if the primary background statistical model is mature and stable, if data corresponding to a given region does not match the primary background statistical model, and if the secondary background statistical model is mature and stable, then the secondary background statistical model is used instead of the primary background statistical model.
PCT/US2002/007185 2001-03-23 2002-03-12 Video segmentation using statistical pixel modeling WO2002077909A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/815,385 2001-03-23
US09/815,385 US6625310B2 (en) 2001-03-23 2001-03-23 Video segmentation using statistical pixel modeling

Publications (1)

Publication Number Publication Date
WO2002077909A1 true WO2002077909A1 (en) 2002-10-03

Family

ID=25217632

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2002/007185 WO2002077909A1 (en) 2001-03-23 2002-03-12 Video segmentation using statistical pixel modeling

Country Status (2)

Country Link
US (3) US6625310B2 (en)
WO (1) WO2002077909A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2507172A (en) * 2012-10-19 2014-04-23 Csr Technology Inc A method and apparatus for automatic generation of cinemagraphs
US9020261B2 (en) 2001-03-23 2015-04-28 Avigilon Fortress Corporation Video segmentation using statistical pixel modeling
US9414091B2 (en) 2008-08-01 2016-08-09 Qualcomm Incorporated Video encoder with an integrated temporal filter

Families Citing this family (153)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8564661B2 (en) 2000-10-24 2013-10-22 Objectvideo, Inc. Video analytic rule detection system and method
US9892606B2 (en) 2001-11-15 2018-02-13 Avigilon Fortress Corporation Video surveillance system employing video primitives
US8711217B2 (en) 2000-10-24 2014-04-29 Objectvideo, Inc. Video surveillance system employing video primitives
US6625310B2 (en) * 2001-03-23 2003-09-23 Diamondback Vision, Inc. Video segmentation using statistical pixel modeling
US7116800B2 (en) * 2001-05-30 2006-10-03 Eaton Corporation Image segmentation system and method
JP2003018604A (en) * 2001-07-04 2003-01-17 Matsushita Electric Ind Co Ltd Image signal encoding method, device thereof and recording medium
US6970083B2 (en) * 2001-10-09 2005-11-29 Objectvideo, Inc. Video tripwire
AUPR899401A0 (en) * 2001-11-21 2001-12-13 Cea Technologies Pty Limited Method and apparatus for non-motion detection
US6999620B1 (en) * 2001-12-10 2006-02-14 Hewlett-Packard Development Company, L.P. Segmenting video input using high-level feedback
US20030222976A1 (en) * 2002-02-04 2003-12-04 Mel Duran Methods and apparatus using algorithms for image processing
TW533390B (en) * 2002-03-25 2003-05-21 Silicon Integrated Sys Corp Method and apparatus for controlling a stereo video display with non-stereo video source
US6987883B2 (en) * 2002-12-31 2006-01-17 Objectvideo, Inc. Video scene background maintenance using statistical pixel modeling
US7418134B2 (en) * 2003-05-12 2008-08-26 Princeton University Method and apparatus for foreground segmentation of video sequences
US7956889B2 (en) * 2003-06-04 2011-06-07 Model Software Corporation Video surveillance system
US20050163345A1 (en) * 2003-12-03 2005-07-28 Safehouse International Limited Analysing image data
WO2005122094A1 (en) * 2004-06-14 2005-12-22 Agency For Science, Technology And Research Method for detecting desired objects in a highly dynamic environment by a monitoring system
US20070230565A1 (en) * 2004-06-18 2007-10-04 Tourapis Alexandros M Method and Apparatus for Video Encoding Optimization
JP4928451B2 (en) * 2004-07-30 2012-05-09 ユークリッド・ディスカバリーズ・エルエルシー Apparatus and method for processing video data
US7457472B2 (en) * 2005-03-31 2008-11-25 Euclid Discoveries, Llc Apparatus and method for processing video data
US7436981B2 (en) * 2005-01-28 2008-10-14 Euclid Discoveries, Llc Apparatus and method for processing video data
US9578345B2 (en) 2005-03-31 2017-02-21 Euclid Discoveries, Llc Model-based video encoding and decoding
US9743078B2 (en) 2004-07-30 2017-08-22 Euclid Discoveries, Llc Standards-compliant model-based video encoding and decoding
US7457435B2 (en) * 2004-11-17 2008-11-25 Euclid Discoveries, Llc Apparatus and method for processing video data
US8902971B2 (en) 2004-07-30 2014-12-02 Euclid Discoveries, Llc Video compression repository and model reuse
WO2008091483A2 (en) 2007-01-23 2008-07-31 Euclid Discoveries, Llc Computer method and apparatus for processing image data
US9532069B2 (en) 2004-07-30 2016-12-27 Euclid Discoveries, Llc Video compression repository and model reuse
US7508990B2 (en) * 2004-07-30 2009-03-24 Euclid Discoveries, Llc Apparatus and method for processing video data
WO2006034308A2 (en) * 2004-09-21 2006-03-30 Euclid Discoveries, Llc Apparatus and method for processing video data
US7593547B2 (en) * 2004-10-12 2009-09-22 Siemens Corporate Research, Inc. Video-based encroachment detection
US7885440B2 (en) * 2004-11-04 2011-02-08 Dr Systems, Inc. Systems and methods for interleaving series of medical images
US7660488B2 (en) * 2004-11-04 2010-02-09 Dr Systems, Inc. Systems and methods for viewing medical images
US7920152B2 (en) 2004-11-04 2011-04-05 Dr Systems, Inc. Systems and methods for viewing medical 3D imaging volumes
US7787672B2 (en) 2004-11-04 2010-08-31 Dr Systems, Inc. Systems and methods for matching, naming, and displaying medical images
US7970625B2 (en) 2004-11-04 2011-06-28 Dr Systems, Inc. Systems and methods for retrieval of medical data
US7903141B1 (en) 2005-02-15 2011-03-08 Videomining Corporation Method and system for event detection by multi-scale image invariant analysis
US8942283B2 (en) * 2005-03-31 2015-01-27 Euclid Discoveries, Llc Feature-based hybrid video codec comparing compression efficiency of encodings
ITRM20050192A1 (en) * 2005-04-20 2006-10-21 Consiglio Nazionale Ricerche EVENT DETECTION AND CLASSIFICATION SYSTEM DURING MOVEMENT ACTIONS.
US7801330B2 (en) * 2005-06-24 2010-09-21 Objectvideo, Inc. Target detection and tracking from video streams
US7796780B2 (en) * 2005-06-24 2010-09-14 Objectvideo, Inc. Target detection and tracking from overhead video streams
US20070058040A1 (en) * 2005-09-09 2007-03-15 Objectvideo, Inc. Video surveillance using spatial-temporal motion analysis
US7702131B2 (en) * 2005-10-13 2010-04-20 Fujifilm Corporation Segmenting images and simulating motion blur using an image sequence
WO2007076890A1 (en) 2005-12-30 2007-07-12 Telecom Italia S.P.A. Segmentation of video sequences
WO2007076892A1 (en) 2005-12-30 2007-07-12 Telecom Italia S.P.A. Edge comparison in segmentation of video sequences
EP1969559B1 (en) 2005-12-30 2018-09-05 Telecom Italia S.p.A. Contour finding in segmentation of video sequences
WO2007076891A1 (en) * 2005-12-30 2007-07-12 Telecom Italia S.P.A. Average calculation in color space, particularly for segmentation of video sequences
US8126268B2 (en) * 2005-12-30 2012-02-28 Telecom Italia S.P.A. Edge-guided morphological closing in segmentation of video sequences
KR100728296B1 (en) * 2006-01-02 2007-06-13 삼성전자주식회사 Backskin service method and device in internet protocol network
JP4799225B2 (en) * 2006-03-08 2011-10-26 株式会社東芝 Image processing apparatus and image display method
US7629952B2 (en) * 2006-03-30 2009-12-08 Intel Corporation Method and apparatus for reducing power consumption in displays
CN101443789B (en) * 2006-04-17 2011-12-28 实物视频影像公司 video segmentation using statistical pixel modeling
US20070252895A1 (en) * 2006-04-26 2007-11-01 International Business Machines Corporation Apparatus for monitor, storage and back editing, retrieving of digitally stored surveillance images
US8045761B2 (en) * 2006-05-30 2011-10-25 Intelliview Technologies Inc. Detection of environmental conditions in a sequence of images
US20070291118A1 (en) * 2006-06-16 2007-12-20 Shu Chiao-Fe Intelligent surveillance system and method for integrated event based surveillance
US7783118B2 (en) * 2006-07-13 2010-08-24 Seiko Epson Corporation Method and apparatus for determining motion in images
WO2008008505A2 (en) * 2006-07-14 2008-01-17 Objectvideo, Inc. Video analytics for retail business process monitoring
US7800694B2 (en) * 2006-08-31 2010-09-21 Microsoft Corporation Modular grid display
US20110217020A1 (en) * 2006-09-12 2011-09-08 Ubiquity Holdings Mobile Movie Editing System
WO2008039371A2 (en) * 2006-09-22 2008-04-03 Objectvideo, Inc. Video background replacement system
US20080074496A1 (en) * 2006-09-22 2008-03-27 Object Video, Inc. Video analytics for banking business process monitoring
US7839431B2 (en) * 2006-10-19 2010-11-23 Robert Bosch Gmbh Image processing system and method for improving repeatability
US7953614B1 (en) 2006-11-22 2011-05-31 Dr Systems, Inc. Smart placement rules
EP1931150A1 (en) * 2006-12-04 2008-06-11 Koninklijke Philips Electronics N.V. Image processing system for processing combined image data and depth data
AU2006252252B2 (en) * 2006-12-22 2009-10-01 Canon Kabushiki Kaisha Image processing method and apparatus
EP2106663A2 (en) * 2007-01-23 2009-10-07 Euclid Discoveries, LLC Object archival systems and methods
CN102685441A (en) * 2007-01-23 2012-09-19 欧几里得发现有限责任公司 Systems and methods for providing personal video services
US8300890B1 (en) * 2007-01-29 2012-10-30 Intellivision Technologies Corporation Person/object image and screening
US7916944B2 (en) * 2007-01-31 2011-03-29 Fuji Xerox Co., Ltd. System and method for feature level foreground segmentation
EP2118864B1 (en) 2007-02-08 2014-07-30 Behavioral Recognition Systems, Inc. Behavioral recognition system
WO2008100537A2 (en) * 2007-02-12 2008-08-21 Sorensen Associates Inc. Still image shopping event monitoring and analysis system and method
US8861898B2 (en) * 2007-03-16 2014-10-14 Sony Corporation Content image search
US9031858B2 (en) 2007-04-03 2015-05-12 International Business Machines Corporation Using biometric data for a customer to improve upsale ad cross-sale of items
US9092808B2 (en) 2007-04-03 2015-07-28 International Business Machines Corporation Preferred customer marketing delivery based on dynamic data for a customer
US9031857B2 (en) 2007-04-03 2015-05-12 International Business Machines Corporation Generating customized marketing messages at the customer level based on biometric data
US8639563B2 (en) 2007-04-03 2014-01-28 International Business Machines Corporation Generating customized marketing messages at a customer level using current events data
US9361623B2 (en) 2007-04-03 2016-06-07 International Business Machines Corporation Preferred customer marketing delivery based on biometric data for a customer
US9846883B2 (en) 2007-04-03 2017-12-19 International Business Machines Corporation Generating customized marketing messages using automatically generated customer identification data
US8831972B2 (en) 2007-04-03 2014-09-09 International Business Machines Corporation Generating a customer risk assessment using dynamic customer data
US9685048B2 (en) 2007-04-03 2017-06-20 International Business Machines Corporation Automatically generating an optimal marketing strategy for improving cross sales and upsales of items
US8812355B2 (en) 2007-04-03 2014-08-19 International Business Machines Corporation Generating customized marketing messages for a customer using dynamic customer behavior data
US9626684B2 (en) 2007-04-03 2017-04-18 International Business Machines Corporation Providing customized digital media marketing content directly to a customer
US8775238B2 (en) 2007-04-03 2014-07-08 International Business Machines Corporation Generating customized disincentive marketing content for a customer based on customer risk assessment
US20080273754A1 (en) * 2007-05-04 2008-11-06 Leviton Manufacturing Co., Inc. Apparatus and method for defining an area of interest for image sensing
US20090005650A1 (en) * 2007-06-29 2009-01-01 Robert Lee Angell Method and apparatus for implementing digital video modeling to generate a patient risk assessment model
US20090006125A1 (en) * 2007-06-29 2009-01-01 Robert Lee Angell Method and apparatus for implementing digital video modeling to generate an optimal healthcare delivery model
US7908233B2 (en) * 2007-06-29 2011-03-15 International Business Machines Corporation Method and apparatus for implementing digital video modeling to generate an expected behavior model
TW200926011A (en) * 2007-09-04 2009-06-16 Objectvideo Inc Background modeling with feature blocks
US9734464B2 (en) * 2007-09-11 2017-08-15 International Business Machines Corporation Automatically generating labor standards from video data
US20090083121A1 (en) * 2007-09-26 2009-03-26 Robert Lee Angell Method and apparatus for determining profitability of customer groups identified from a continuous video stream
US20090089107A1 (en) * 2007-09-27 2009-04-02 Robert Lee Angell Method and apparatus for ranking a customer using dynamically generated external data
US8200011B2 (en) 2007-09-27 2012-06-12 Behavioral Recognition Systems, Inc. Context processor for video analysis system
US8300924B2 (en) * 2007-09-27 2012-10-30 Behavioral Recognition Systems, Inc. Tracker component for behavioral recognition system
US20090089108A1 (en) * 2007-09-27 2009-04-02 Robert Lee Angell Method and apparatus for automatically identifying potentially unsafe work conditions to predict and prevent the occurrence of workplace accidents
US8385425B2 (en) * 2007-10-25 2013-02-26 Microsoft Corporation Temporal video filtering for real time communication systems
WO2009083858A1 (en) * 2007-12-20 2009-07-09 Nxp B.V. Image filtering
US8233676B2 (en) * 2008-03-07 2012-07-31 The Chinese University Of Hong Kong Real-time body segmentation system
US8508550B1 (en) * 2008-06-10 2013-08-13 Pixar Selective rendering of objects
US8502869B1 (en) 2008-09-03 2013-08-06 Target Brands Inc. End cap analytic monitoring method and apparatus
US8385404B2 (en) * 2008-09-11 2013-02-26 Google Inc. System and method for video encoding using constructed reference frame
US9202137B2 (en) * 2008-11-13 2015-12-01 Google Inc. Foreground object detection from multiple images
US9141860B2 (en) 2008-11-17 2015-09-22 Liveclips Llc Method and system for segmenting and transmitting on-demand live-action video in real-time
US9141859B2 (en) 2008-11-17 2015-09-22 Liveclips Llc Method and system for segmenting and transmitting on-demand live-action video in real-time
US8380533B2 (en) 2008-11-19 2013-02-19 DR Systems Inc. System and method of providing dynamic and customizable medical examination forms
GB0822953D0 (en) * 2008-12-16 2009-01-21 Stafforshire University Image processing
US8064668B2 (en) * 2008-12-17 2011-11-22 General Electric Company Method of modifying a segmented volume
WO2010080643A1 (en) * 2008-12-18 2010-07-15 Biovigilant Systems, Inc. Integrated microbial collector
TWI384427B (en) * 2009-04-29 2013-02-01 Utechzone Co Ltd Background establishment method and device
US8452599B2 (en) * 2009-06-10 2013-05-28 Toyota Motor Engineering & Manufacturing North America, Inc. Method and system for extracting messages
US8269616B2 (en) * 2009-07-16 2012-09-18 Toyota Motor Engineering & Manufacturing North America, Inc. Method and system for detecting gaps between objects
US8712120B1 (en) 2009-09-28 2014-04-29 Dr Systems, Inc. Rules-based approach to transferring and/or viewing medical images
US8337160B2 (en) * 2009-10-19 2012-12-25 Toyota Motor Engineering & Manufacturing North America, Inc. High efficiency turbine system
AU2009251048B2 (en) * 2009-12-18 2013-12-19 Canon Kabushiki Kaisha Background image and mask estimation for accurate shift-estimation for video object detection in presence of misalignment
US8237792B2 (en) 2009-12-18 2012-08-07 Toyota Motor Engineering & Manufacturing North America, Inc. Method and system for describing and organizing image data
AU2009251086B2 (en) * 2009-12-22 2013-12-05 Canon Kabushiki Kaisha Method of foreground/background separation
FR2954540B1 (en) * 2009-12-23 2018-11-16 Thales METHOD FOR CLASSIFYING OBJECTS IN A SLEEPING SYSTEM BY IMAGING.
US8424621B2 (en) 2010-07-23 2013-04-23 Toyota Motor Engineering & Manufacturing North America, Inc. Omni traction wheel system and methods of operating the same
JP5719141B2 (en) * 2010-10-28 2015-05-13 キヤノン株式会社 Information processing apparatus, processing method thereof, and program
US20140163703A1 (en) * 2011-07-19 2014-06-12 Utah State University Systems, devices, and methods for multi-occupant tracking
WO2013013079A2 (en) * 2011-07-19 2013-01-24 Utah State University Research Foundation Systems, devices, and methods for monitoring and controlling a controlled space
US9092727B1 (en) 2011-08-11 2015-07-28 D.R. Systems, Inc. Exam type mapping
WO2013056200A1 (en) * 2011-10-14 2013-04-18 Brightsentry, Inc. Method and apparatus for video compression of stationary scenes
US9672609B1 (en) * 2011-11-11 2017-06-06 Edge 3 Technologies, Inc. Method and apparatus for improved depth-map estimation
CN103136763B (en) * 2011-12-02 2017-07-21 富泰华工业(深圳)有限公司 Electronic installation and its method for detecting the abnormal paragraph of video sequence
US11470285B2 (en) 2012-02-07 2022-10-11 Johnson Controls Tyco IP Holdings LLP Method and system for monitoring portal to detect entry and exit
US20130283143A1 (en) 2012-04-24 2013-10-24 Eric David Petajan System for Annotating Media Content for Automatic Content Understanding
US9367745B2 (en) 2012-04-24 2016-06-14 Liveclips Llc System for annotating media content for automatic content understanding
CN103529927B (en) * 2012-07-06 2017-03-01 原相科技股份有限公司 It is applied to the renewal background method of image processing
US9213781B1 (en) 2012-09-19 2015-12-15 Placemeter LLC System and method for processing image data
US9495604B1 (en) 2013-01-09 2016-11-15 D.R. Systems, Inc. Intelligent management of computerized advanced processing
EP2956891B1 (en) 2013-02-18 2019-12-18 Tata Consultancy Services Limited Segmenting objects in multimedia data
AU2013273784B2 (en) * 2013-12-20 2016-06-02 Canon Kabushiki Kaisha Method, system and apparatus for updating a scene model
CN103686095B (en) * 2014-01-02 2017-05-17 中安消技术有限公司 Video concentration method and system
CA2941493C (en) 2014-03-03 2023-03-07 Vsk Electronics Nv Intrusion detection with directional sensing
US10097851B2 (en) 2014-03-10 2018-10-09 Euclid Discoveries, Llc Perceptual optimization for model-based video encoding
US10091507B2 (en) 2014-03-10 2018-10-02 Euclid Discoveries, Llc Perceptual optimization for model-based video encoding
CA2942336A1 (en) 2014-03-10 2015-09-17 Euclid Discoveries, Llc Continuous block tracking for temporal prediction in video encoding
WO2015184440A2 (en) 2014-05-30 2015-12-03 Placemeter Inc. System and method for activity monitoring using video data
US9443142B2 (en) * 2014-07-24 2016-09-13 Exelis, Inc. Vision-based system for dynamic weather detection
KR102118066B1 (en) * 2014-08-20 2020-06-03 현대모비스 주식회사 Vehicle control method for safety driving
US10424341B2 (en) 2014-11-12 2019-09-24 Massachusetts Institute Of Technology Dynamic video summarization
US9922271B2 (en) 2015-03-20 2018-03-20 Netra, Inc. Object detection and classification
US9760792B2 (en) * 2015-03-20 2017-09-12 Netra, Inc. Object detection and classification
US11334751B2 (en) 2015-04-21 2022-05-17 Placemeter Inc. Systems and methods for processing video data for activity monitoring
US10043078B2 (en) 2015-04-21 2018-08-07 Placemeter LLC Virtual turnstile system and method
US20170046483A1 (en) 2015-04-30 2017-02-16 D.R. Systems, Inc. Database systems and interactive user interfaces for dynamic interaction with, and comparison of, digital medical image data
US10380431B2 (en) 2015-06-01 2019-08-13 Placemeter LLC Systems and methods for processing video streams
US11432046B1 (en) 2015-06-12 2022-08-30 Veepio Holdings, Llc Interactive, personalized objects in content creator's media with e-commerce link associated therewith
US10373316B2 (en) * 2017-04-20 2019-08-06 Ford Global Technologies, Llc Images background subtraction for dynamic lighting scenarios
US10860859B2 (en) * 2017-11-30 2020-12-08 Nvidia Corporation Budget-aware method for detecting activity in video
CN108921874B (en) * 2018-07-04 2020-12-29 百度在线网络技术(北京)有限公司 Human body tracking processing method, device and system
CN109903501B (en) * 2019-04-03 2020-11-24 湖南科技学院 Security probe analysis processing system based on big data
US20220237753A1 (en) * 2021-01-22 2022-07-28 Apical Limited Image adjustment based on local contrast
US11636683B2 (en) 2021-09-14 2023-04-25 Black Sesame Technologies Inc. Precise object segmentation with multi-modal input for realtime video application
CN114724123A (en) * 2022-03-30 2022-07-08 东南大学 Bus passenger flow statistical method based on vehicle-mounted monitoring video

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4764971A (en) * 1985-11-25 1988-08-16 Eastman Kodak Company Image processing method including image segmentation
US5764306A (en) * 1997-03-18 1998-06-09 The Metaphor Group Real-time method of digitally altering a video data stream to remove portions of the original image and substitute elements to create a new image
US5990955A (en) * 1997-10-03 1999-11-23 Innovacom Inc. Dual encoding/compression method and system for picture quality/data density enhancement

Family Cites Families (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4949389A (en) 1987-10-09 1990-08-14 The United States Of America As Represented By The United States Department Of Energy Optical ranked-order filtering using threshold decomposition
JP2865697B2 (en) 1989-03-20 1999-03-08 株式会社日立製作所 Exture separation method
US5048095A (en) 1990-03-30 1991-09-10 Honeywell Inc. Adaptive image segmentation system
JP2894113B2 (en) 1992-11-04 1999-05-24 松下電器産業株式会社 Image clustering device
US5586200A (en) * 1994-01-07 1996-12-17 Panasonic Technologies, Inc. Segmentation based image compression system
US5671294A (en) 1994-09-15 1997-09-23 The United States Of America As Represented By The Secretary Of The Navy System and method for incorporating segmentation boundaries into the calculation of fractal dimension features for texture discrimination
US5724456A (en) * 1995-03-31 1998-03-03 Polaroid Corporation Brightness adjustment of images using digital scene analysis
US5802203A (en) 1995-06-07 1998-09-01 Xerox Corporation Image segmentation using robust mixture models
JP3055438B2 (en) 1995-09-27 2000-06-26 日本電気株式会社 3D image encoding device
US5768413A (en) 1995-10-04 1998-06-16 Arch Development Corp. Method and apparatus for segmenting images using stochastically deformable contours
US5969755A (en) * 1996-02-05 1999-10-19 Texas Instruments Incorporated Motion based event detection system and method
US6049363A (en) * 1996-02-05 2000-04-11 Texas Instruments Incorporated Object detection method and system for scene change analysis in TV and IR data
US6078619A (en) * 1996-09-12 2000-06-20 University Of Bath Object-oriented video system
US5875305A (en) * 1996-10-31 1999-02-23 Sensormatic Electronics Corporation Video information management system which provides intelligent responses to video data content features
TR199700058A3 (en) * 1997-01-29 1998-08-21 Onural Levent Moving object segmentation based on rules.
US6008865A (en) * 1997-02-14 1999-12-28 Eastman Kodak Company Segmentation-based method for motion-compensated frame interpolation
US6249613B1 (en) * 1997-03-31 2001-06-19 Sharp Laboratories Of America, Inc. Mosaic generation and sprite-based coding with automatic foreground and background separation
US6195458B1 (en) * 1997-07-29 2001-02-27 Eastman Kodak Company Method for content-based temporal segmentation of video
FR2766946B1 (en) * 1997-08-04 2000-08-11 Thomson Multimedia Sa PRETREATMENT METHOD AND DEVICE FOR MOTION ESTIMATION
US6058210A (en) * 1997-09-15 2000-05-02 Xerox Corporation Using encoding cost data for segmentation of compressed image sequences
US6349113B1 (en) * 1997-11-03 2002-02-19 At&T Corp. Method for detecting moving cast shadows object segmentation
US6393054B1 (en) * 1998-04-20 2002-05-21 Hewlett-Packard Company System and method for automatically detecting shot boundary and key frame from a compressed video data
US6278466B1 (en) * 1998-06-11 2001-08-21 Presenter.Com, Inc. Creating animation from a video
US6404925B1 (en) * 1999-03-11 2002-06-11 Fuji Xerox Co., Ltd. Methods and apparatuses for segmenting an audio-visual recording using image similarity searching and audio speaker recognition
US6658136B1 (en) * 1999-12-06 2003-12-02 Microsoft Corporation System and process for locating and tracking a person or object in a scene using a series of range images
US20020063154A1 (en) * 2000-05-26 2002-05-30 Hector Hoyos Security system database management
US7868912B2 (en) * 2000-10-24 2011-01-11 Objectvideo, Inc. Video surveillance system employing video primitives
US6625310B2 (en) * 2001-03-23 2003-09-23 Diamondback Vision, Inc. Video segmentation using statistical pixel modeling
AU2003296850A1 (en) * 2002-12-03 2004-06-23 3Rd Millenium Solutions, Ltd. Surveillance system with identification correlation
US7817716B2 (en) * 2003-05-29 2010-10-19 Lsi Corporation Method and/or apparatus for analyzing the content of a surveillance image
US7733369B2 (en) * 2004-09-28 2010-06-08 Objectvideo, Inc. View handling in video surveillance systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4764971A (en) * 1985-11-25 1988-08-16 Eastman Kodak Company Image processing method including image segmentation
US5764306A (en) * 1997-03-18 1998-06-09 The Metaphor Group Real-time method of digitally altering a video data stream to remove portions of the original image and substitute elements to create a new image
US5990955A (en) * 1997-10-03 1999-11-23 Innovacom Inc. Dual encoding/compression method and system for picture quality/data density enhancement

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9020261B2 (en) 2001-03-23 2015-04-28 Avigilon Fortress Corporation Video segmentation using statistical pixel modeling
US9414091B2 (en) 2008-08-01 2016-08-09 Qualcomm Incorporated Video encoder with an integrated temporal filter
GB2507172A (en) * 2012-10-19 2014-04-23 Csr Technology Inc A method and apparatus for automatic generation of cinemagraphs
US9082198B2 (en) 2012-10-19 2015-07-14 Qualcomm Technologies, Inc. Method for creating automatic cinemagraphs on an imagine device
GB2507172B (en) * 2012-10-19 2018-07-18 Qualcomm Inc Method for creating automatic cinemagraphs on an imaging device

Also Published As

Publication number Publication date
US7224852B2 (en) 2007-05-29
US20080095435A1 (en) 2008-04-24
US20020159634A1 (en) 2002-10-31
US6625310B2 (en) 2003-09-23
US20040151374A1 (en) 2004-08-05

Similar Documents

Publication Publication Date Title
US6625310B2 (en) Video segmentation using statistical pixel modeling
US7424175B2 (en) Video segmentation using statistical pixel modeling
US8457401B2 (en) Video segmentation using statistical pixel modeling
US6987883B2 (en) Video scene background maintenance using statistical pixel modeling
Cavallaro et al. Video object extraction based on adaptive background and statistical change detection
US7164718B2 (en) Method for segmenting a video image into elementary objects
US7457436B2 (en) Real-time crowd density estimation from video
US7085401B2 (en) Automatic object extraction
Friedland et al. SIOX: Simple interactive object extraction in still images
JP4447689B2 (en) Automatic video interpretation system
US7856055B2 (en) Systems and methods for digitally re-mastering or otherwise modifying motion pictures or other image sequences data
US8264544B1 (en) Automated content insertion into video scene
JP2002049920A (en) Method and device for estimating desired contour of image object
Yu et al. A hierarchical multiresolution video shot transition detection scheme
US7024040B1 (en) Image processing apparatus and method, and storage medium
JP2002525988A (en) System and method for semantic video object segmentation
CN1231067C (en) Static image generation method and device
CN109195026A (en) Video abstraction generating method and system
CN114066841A (en) Sky detection method and device, computer equipment and storage medium
JP3763279B2 (en) Object extraction system, object extraction method, and object extraction program
de Torres et al. An efficient approach to automatic generation of time-lapse video sequences
Peyrard et al. Detection of meaningful events in videos based on a supervised classification approach
Hillman et al. Semi-automatic foreground/background segmentation of motion picture images and image sequences
CN113158720A (en) Video abstraction method and device based on dual-mode feature and attention mechanism
Ionescu et al. An Approach to Scene Detection in Animation Movies and its Applications

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Country of ref document: JP