Viewing a three dimensional area from numerous camera angles at different exposures using intensity and chromaticity data at the different exposures to create a pixel model for each pixel. A current image is compared with the background model to find pixels that have changed from their pixel model. These novel pixels are processed using contiguous region detection and grouped into foreground figures. For each camera, software extracts features from each foreground figure. A central processor maintains an object model for each foreground figure. A graphical user interface displays the relative location of foreground figures in a world model. The location and identification of the foreground figures is checked against a table of permissions so as to selectively generate an alert. If a figure leaves or is about the leave a cell, the invention accounts for its approximate position and notifies adjacent cells of the expected arrival of the foreground figure.
|
1. A method for video surveillance, the method comprising the following steps:
analyzing, in a computer, video data from a first perspective to create a first background model;
analyzing, in a computer, video data from a second perspective to create a second background model comparing video data from the first perspective with the first background model so as to detect a first set of novel pixels;
comparing, in a computer, video data from the second perspective with the second background model so as to detect a second set of novel pixels;
comparing, in a computer, features from the first set of novel pixels with object models in a world model;
comparing, in a computer, features from the second set of novel pixels with models in the world model;
identifying from features from the first set of novel pixels and features from the second set of novel pixels an object in a world model;
estimating a position, velocity and acceleration of an object based on said features from the first set of novel pixels; and
estimating a new position of the identified object based on a volume of space where that object could possibly be at a current time, said volume being based on an intersection of a previous position estimate of the object and said estimates of velocity and acceleration associated with the position estimate based on said first set of novel pixels with a position estimate that is based on said second set of novel pixels.
2. A method according to
3. A method according to
4. A method according to
5. A method according to
6. A method according to
7. A method according to
|
The invention relates to video surveillance systems and, more particularly, to a method and apparatus for tracking motion in a three dimensional space in video surveillance systems.
In an era of increasing fear of terrorism and corporate scandal, video surveillance has become an increasingly essential part of security. While surveillance cameras can be useful in recording wrongdoings, their greater value is realized when they prevent such acts.
Generally speaking, fixed cameras provide video surveillance for a spatially limited area. As the size of the area increases, the number of cameras that are needed for a given level of surveillance also increases. For instance, using fixed cameras to survey the border between two nations might require thousands of cameras. The same could be true for protecting a large corporation. While most office buildings do not require thousands of cameras for adequate surveillance, tens or hundreds may be needed.
A source of problems with the prior art is that security personnel are required to monitor these cameras either in real time or during replay. There are limits on how many cameras an individual can watch at an acceptable level of efficiency. For instance, studies have shown that an average person can only watch four to five cameras at an acceptable level of efficiency.
Most surveillance really only concerns moving objects. The signal processing of video images generally and, more specifically, for identifying moving objects, is not new. For example, U.S. Pat No. 5,930,379 discloses modeling an object as a branched kinematic chain composed of links connected at joints. Groups of pixels having like motion parameters are assigned to the links. Motion parameters are estimated until the groups of pixels and their motion parameters converge and can be identified with the moving object.
U.S. Pat. No. 5,987,154 discloses detecting a moving object, calculating the local extremes of curvature of the boundaries of the moving object, comparing the local extremes with a stored model of a human head in order to find regions shaped like a human head, and identifying the head with a surrounding shape.
U.S. Pat. No. 6,049,619 discloses a stratified moving object detection technique which gradually increases in complexity as scene complexity increases (from least complex to most complex): (i) scenarios in which the camera induced motion can be modeled by a single two-dimensional parametric transformation, (ii) those in which the camera induced motion can be modeled in terms of a small number of layers of parametric transformations, and (iii) general three-dimensional scenes, in which a more complete parallax motion analysis is required.
U.S. Pat. No. 6,081,606 discloses processing a sequence of images and generating a flow field representing the motion within a scene. The flow field is a vector representation of the motion of the scene that represents both the magnitude and the direction of the motion. The flow field is generated by correlating at least two frames in the sequence of images. This flow field is analyzed by a flow field segmentor to determine the magnitude and direction of motion within the scene and segment the motion information from the static portions of the scene. An alarm detector then processes the motion information to determine if an alarm should be generated based upon the motion information.
U.S. Pat. Nos. 6,188,777 and 6,445,810 disclose marking and tracking regions of homogenous color. In one approach, each image received at a primary camera is initially represented with pixels corresponding to the red, green, and blue channels of the image, and is converted into a “log color-opponent” space. This space can represent the approximate hue of skin color, as well as its log intensity value. More specifically, (R, G, B) tuples are converted into tuples of the form (1(G), 1(R)−1(G), 1(B)−(1(R)+1(G))/2), where 1(x) indicates a logarithm function. In another approach, a lookup table is precomputed for all input values, quantizing the classification score (skin similarity value) into 8 bits and the input color channel values to 6, 7, or 8 bits.
U.S. Pat. No. 6,504,951 discloses classifying potential sky pixels in the image by color, extracting connected components of the potential sky pixels, eliminating ones of the connected components that have a texture above a predetermined texture threshold, computing desaturation gradients of the connected components, and comparing the desaturation gradients of the connected components with a predetermined desaturation gradient for sky to identify true sky regions in the image.
Comaniciu et al., “Distribution Free Decomposition of Multivariate Data,” Pattern Analysis & Application, 2:22-30 (1999) discloses using a mean shift technique to decompose multivariate data. An iterative technique along with density estimate functions are used to reduce a large dataset to the few points that best describe the data.
Grimson et al., “Using Adaptive Tracking to Classify and Monitor Activities in a Site,” Proceedings IEEE Conference on Computer Vision and Pattern Recognition, pp. 22-31, (1998) discloses using camera coordinates of objects that pass through the fields of view of cameras, along with time, to find correspondences between the cameras. Once all the camera views are mapped onto one camera view, this mosaic camera view can be mapped onto a virtual overhead plane. Coordinates in the virtual overhead plane are used to track moving objects.
Horprasert et al., “A Robust Background Subtraction and Shadow Detection,” Proceedings of the Asian Conference on Computer Vision, Taipei, Taiwan (January 2000) discloses using chromaticity data separate from intensity data to do background subtraction. All colors are treated as being on a line in a three dimensional space. The difference between two colors is calculated as the distance between their color lines.
Stauffer et al., “Adaptive Background Mixture Models for Real-Time Tracking,” Proceedings IEEE Conference on Computer Vision and Pattern Recognition, pp. 246-252 (1999) discloses performing background subtraction with models that change over time. More specifically, each pixel is represented by multiple Gaussian distributions.
None of these documents describe a technique for monitoring multiple cameras with fewer personnel and/or at greater efficiency by electronically filtering and alerting personnel as to which cameras show unauthorized activity and, more importantly, relieving personnel from some monitoring authorized activity as is described below.
The invention involves viewing a three dimensional space from numerous camera angles at different exposures. The invention uses intensity and chromaticity data at the different exposures to create a pixel model for each pixel. These pixel models form the basis for a background model. A current image is compared with the background model to find pixels that have changed from their pixel model. These novel pixels are processed using contiguous region detection and grouped into foreground figures. For each camera, features are extracted from each foreground figure. These features are then placed in a queue with features from other cameras and sent to a central processor.
The central processor maintains an object model for each foreground figure. The central processor also maintains a world model. The world model is based upon the background models and each of the object models. Once the central processor has processed the features from a particular foreground figure, the central processor compares the features with the object models in the world model. If the features match one of the pre-existing object models, the central processor updates the corresponding object model. If not, the central processor adds a new object model to the world model.
A graphical user interface displays the relative locations of foreground figures in the world model. The location and identification of the foreground figures is checked against a table of permissions so as to selectively generate an alert. The graphical user interface also provides for real-time viewing and manual identification of the foreground figures.
Camera video can be analyzed in a cellular strategy. If a figure leaves or is about to leave a cell, the preferred embodiment accounts for its approximate position and notifies adjacent cells of the expected arrival of the foreground figure. The system maintains local and global object identifications (ids) for each figure. If a new figure enters the area, an assertion is made that the global id and the local id are the same. If an object in a cell is determined to be the same object as an object from another cell, the two objects are connected (or associated together) and are given the same global id.
The invention can be advantageous in that the pixel models are able to account for overexposed and underexposed pixels, changes in lighting, repetitive motion, and other causes of false alarms.
The invention can be advantageous in that it is possible to record changes to the world model rather than pixel changes. In other words, a more sophisticated method of reasoning about the world allows for more concise storage of the fact that an event occurred. This allows the invention to require less storage space to store the similar information. Also, this allows the invention to use less bandwidth to transfer information to another point. Less storage space is required because in preferred embodiments, changes in the world model are stored, rather than storing changes to successive images in a video stream. Also, the selection of which images are stored can be more appropriate because it can be in terms of easier-to-express and understand descriptions of impermissible changes in a world model, rather than pixel changes in images. Further, less bandwidth is required because a world model is used, rather than successive images in a video stream. This affords a more succinct representation.
The invention can be advantageous in that it is able to generate fewer false alarms because the alarms are based on changes to the world model rather than pixel changes. More specifically, depending on implementation, a user is likely to experience fewer false positives and/or false negative alert conditions because the user can better establish criteria as to what should cause the user to be notified in terms of changes with respect to a world model, rather than pixel changes in an image stream. This is in contrast to systems that compress images both spatially and temporarily in the image domain (e.g., MPEG). This other systems might express an alarm condition in terms of a 2-D sub-image, which moves in a certain direction in part of an image. This is a contrast to the inventor's preferred implementation of combining a variable image into a world model and then storing, searching, generating alarms and transmitting image information in terms with respect to that world model.
Another advantage of a preferred embodiment is that is possible to track individual objects that are within the view of one or more cameras and then hand-off the object from one cellular group of cameras to a neighboring video cell.
Another advantage of a preferred embodiment is that it is possible to distinguish any object that violates a rule of security, safety, or otherwise by its location, velocity, acceleration, path, or any combination of present or historical data.
Another advantage of a preferred embodiment is that is possible to view a single graphical interface rather than a large number of monitors.
Another advantage of a preferred embodiment is that it is possible to manually or automatically view any object as it moves from one camera view to the next.
Another advantage of a preferred embodiment is to view a selected object from all or more than one simultaneously available camera view.
The foregoing, and other objects, features, and advantages of the invention will be more readily understood upon reading the following detailed description of exemplary embodiments in conjunction with the drawings in which:
In the following description, specific details are discussed in order to provide a better understanding of the invention. However, it will be apparent to those skilled in the art that the invention can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known methods are omitted so as not to obscure the description of the invention with unnecessary detail.
Referring now to the drawings,
A first camera station 10 has one or more cameras. These cameras may have a fixed view or be remotely controlled. In addition, they may have a fixed location or be mobile. In either case, the location and/or perspective of a particular camera is either known or calculated from sensor data and/or image analysis.
In
As discussed in more detail below, different cameras (e.g., 10a and 12a) view different surfaces of the same volume (e.g., cell 90) of the three dimensional space 1. The output signals of these cameras are then processed to create pixel models that are used to produce a background model of the three dimensional space 1. This background model is used to differentiate foreground figures from the background (i.e. what is normally there).
In
In
In step 100, the chromaticity and intensity data is used to model the three-dimensional area and create a background model. More specifically, each camera analyzes the chromaticity and intensity date to create a pixel model for each pixel. These pixel models form the basis for the background model.
In step 200, a current image is compared with the background model to find pixels that have changed from their pixel model. While a pixel may have changed, if it is consistent with its pixel model (i.e. it has not changed beyond a certain threshold), this pixel is included in the model and “turned off.” If on the other hand, the pixel is inconsistent with its pixel model, this pixel is treated as a novel pixel and “turned on.”
In step 300, adjacent novel pixels are grouped into foreground figures as described in more detail below.
In step 400, each camera extracts features from each foreground figure. These features are then placed in a queue with features from other cameras.
In step 500, a central processor (or in some cases, the same processor) processes the queue of features. If multiple cameras are viewing the same foreground figure, the central processor should receive at least one feature from each camera. While it is possible to synchronize the cameras, it is not necessary. If, for example, each camera identifies each feature with a particular moment in time, the central processor can process the features accordingly. For example, the central processor can prioritize the image frames based upon time. If so, the central processor can collect all features from multiple images from multiple cameras, reorder the images, then process all the features from each image as a group. The fact that the features in the group are not from the same instant in time is accounted for as described below.
As the central processor processes features from the input cameras, the central processor maintains an object model for each foreground figure. The central processor also maintains a world model. The world model is based upon the background models and each of the object models.
Once the central processor has processed the features for a particular foreground figure, the central processor compares the features with the object models in the world model.
If it is determined that the features match one of the pre-existing object models, the central processor updates the corresponding object model in step 600. For example, the central processor updates the position of the object model and/or adds additional details.
If on the other hand, the central processor determines that the features do not match any of the pre-existing object models, the central processor adds a new object model to the world model in step 700 based upon the currently known information.
Referring now to
In step 101, the red, green, and blue intensity of each pixel is stored.
In step 102, the red, green, and blue intensity of each pixel is normalized based upon the current exposure and gain settings.
In step 103, color ratios are calculated for each pixel. The color ratios are the measured value of one color divided by the measured value of another color. According to an exemplary embodiment, the ratios of red-to-green and blue-to-green are calculated and these ratios are used to measure chromaticity. However, it will be evident to those skilled in the art that other ratios or other methods of measuring chromaticity can be used.
In step 104, it is determined whether or not the system is in training mode. If so, the system begins to or continues to build a pixel model for each pixel. If not, the system proceeds to background subtraction. While
In step 107, the current red, green, and blue intensity values for each pixel are compared to an underexposed threshold. The underexposed threshold is the point at which is either impossible or too computationally expensive to tell what the actual intensity is because there is too much noise relative to the measured “signal” of light intensity.
In step 108, the current pixel values are compared to an overexposed threshold. The overexposed threshold is determined by the point at which exposure no longer increases linearly with a linear increase in light intensity (without gamma correction).
In step 110, it is determined whether the current pixel values are normally (or correctly) exposed. A pixel is correctly exposed if it is not underexposed or overexposed.
In step 111, data is saved in pixel model (i, j), and in steps 107, 108 and 110, the total number of times that a given pixel value for pixel (i, j) is overexposed, underexposed, or correctly exposed is counted. For example, if the red intensity value for pixel (i, j) is correctly exposed, the red intensity value is saved in pixel model (i, j) and the total number of times that the red value for pixel (i, j) is correctly exposed is increased by one. Similarly, if the green intensity value for pixel (i, j) is correctly exposed, the green intensity value is saved in the model and the total number of times that green is correctly exposed is also increased by one. If, however, the blue intensity is underexposed, the blue intensity value is not saved in the model and the total number of times that the blue value for pixel (i, j) is underexposed is increased by one. Because the red and green values for pixel (i, j) are correctly exposed, the red-to-green ratio is also saved in pixel model (i, j). However, because the blue value for pixel (i, j) is incorrectly exposed, the blue-to-green ratio is not saved in pixel model (i, j).
In step 120, the average (and the standard deviation) of each pixel value stored in pixel model (i, j) is updated. For example, if red, green, and blue intensity values and red-to-green and blue-to-green ratios are stored in pixel model (i, j), the system calculates the average (and the standard deviation) of:
After calculating standard deviation and average in the previous paragraph, another part of step 120 is to adjust average and standard deviation if the data is determined to be near either edge of the range of values that are collectable by the image sensor. In other words, there needs to be an adjustment if the data is very close to the minimum value detectable or if the data is very close to the maximum value detectable without being overexposed. For this purpose, the following values are used:
A value is considered to be near one of the thresholds if:
Those skilled in the art will appreciate that repetitive motion (such as leaves blowing in the wind or waves lapping on a beach) will lead to a larger standard deviation. While
In step 130, the current exposure is maintained; the current exposure is incrementally increased (or decreased); or the best exposure is selected depending on the training process. For example, in an exemplary embodiment, the training process is performed one hundred twenty-five times. The first twenty-five images are recorded at an exposure time of 20 milliseconds. The next fifteen images are recorded at an exposure time of 25 ms. After which groups of fifteen images are recorded at exposure times of 30 ms, 40 ms, and 45 ms. Finally, twenty-five images are recorded at an exposure time of 50 ms. Obviously, the twenty-five images recorded at an exposure time of 20 ms are more likely to be underexposed. And the twenty-five images recorded at 50 ms are more likely to be overexposed. However, those skilled in the art will appreciate it is advantageous to record that more images at the lowest and highest exposures. Some pixels will only be normally exposed at either the lowest or highest exposure settings, and therefore, they will be on the “border” between normally exposed and incorrectly exposed. More images should be taken to get enough samples of a given pixel to assure that a normally exposed sample is acquired for that pixel.
As discussed above, the total number of underexposed values, overexposed values, and correctly exposed values is counted. Therefore, for a given intensity or ratio, the maximum number of correctly exposed values is one hundred twenty-five in this example. In some cases, there may not be any correctly exposed values. At the end of the training process, the best exposure time for the image (i.e. the collective best exposure time for all of the pixels) is continually sought through an auto-exposure algorithm.
Referring now to
As will be demonstrated below, the step of background subtraction 200 electronically filters the current image to leave only novel pixels. In a less complex system, the step of background subtraction may be limited to, for example, step 210 or a variation thereof. There can be additional safeguards to prevent false alarms.
In step 210, it is determined whether the overall intensity of pixel (i, j) is consistent with pixel model (i, j). The overall intensity of pixel (i, j) may, for example, be the sum of the red, blue, and green intensities of pixel (i, j). As described above, in relation to step 126, the average of each pixel value stored in pixel model (i, j) is calculated. If, for example, the system stored the average red intensity value, the average blue intensity value, and the average green intensity value, the expected overall intensity would be the sum of these three averages. If, for example, the overall intensity of pixel (i, j) is greater than half the expected intensity and less the twice the expected intensity, pixel (i, j) is consistent with the model. If the overall intensity of pixel (i, j) is less than half the expected intensity or greater than twice the expected intensity, pixel (i, j) is inconsistent with the model. Of course, it is possible to make the system more (or less) sensitive by using a narrower (or wider) window of acceptable values.
If the overall intensity of pixel (i, j) is within an acceptable window of values, the system proceeds to step 220 to check chromaticity. If not, the system proceeds to step 240. In a less complex system, pixel (i, j) may be treated as a novel pixel. Additional steps can be performed to determine to greater degree if pixel (i, j) is an acceptable pixel.
In step 220, it is determined whether the chromaticity of pixel (i, j) is consistent with pixel model (i, j) as described in more detail below. If so, the system can proceed to step 230. If not, the system should proceed to step 240.
In step 230, it has been determined that pixel (i, j) is consistent with both the overall intensity part of the pixel model and the chromaticity part of the pixel model. Therefore, pixel (i, j) can be ignored and treated as part of the model. Once it has been determined that pixel (i, j) is part of the model, the next pixel in the current image can be processed starting from step 201 until there are no pixels left.
If on the other hand, it is determined that pixel (i, j) is inconsistent with the model, the pixel can be treated as a novel pixel or additional processing can be performed as described below.
In step 240, the red intensity value is individually analyzed. If the red intensity value is consistent with the pixel model, the system proceeds to step 250. If not, pixel (i, j) is treated as novel and the system can process the next pixel until there are no pixels left.
In step 250, the green intensity value is individually analyzed. If the green intensity value is consistent with the pixel model, the system proceeds to step 260. If not, pixel (i, j) is treated as novel and the next pixel is processed until there are no pixels left.
In step 260, the blue intensity value is individually analyzed. If the blue intensity value is consistent with the pixel model, the system proceeds to step 230. If not, pixel (i, j) is treated as novel and the next pixel is processed until there are no pixels left.
Once it is determined that there are no more pixels left, the novel pixels identified in step 270 are furthered processed in step 300.
Referring now to
In step 221, the root sum square distance is calculated. That is, the red-to-green ratio of pixel (i, j) is compared with the average red-to-green ratio stored in pixel model (i, j) and the difference is measured in standard deviations. Next, the blue-to-green ratio of pixel (i, j) is compared with the average blue-to-green ratio and the difference is also measured in standard deviations. Finally, the square root of the first difference squared plus the second difference squared is calculated.
In step 222, if the root sum square mean is less than 3.5 sigma, then pixel (i, j) is consistent with the model and the system can proceed to step 230. If not, the system proceeds to step 223. As explained above, in relation to step 210, it is possible to make the system more (or less) sensitive by using a narrower or wider window of acceptable values.
In step 223, the following table (Table 1) is performed for both ratios.
TABLE 1
Numerator
Numerator
Numerator
Out of Range High
In Range
Out of Range Low
Denominator
Ratio Undefined
Ratio
Ratio Approaches
Out of
(Both Low)
Approaches
Zero
Range High
Zero
Denominator
Ratio Approaches
Ratio Normal
Ratio Approaches
In Range
Infinity
Zero
Denominator
Ratio Approaches
Ratio
Ratio Undefined
Out of
Infinity
Approaches
(Both High)
Range Low
Infinity
Using the red-to-green ratio as an example, if the red intensity value is out of range high and the green intensity value is in range, then the numerator is out of range high and the denominator is in range. Therefore, using the table above the ratio approaches infinity.
In step 224, the following (Table 2) is utilized with the output of Table 1 for both ratios.
TABLE 2
R/G
R/G
R/G
R/G
Approaches
R/G
Approaches
Undefined
Undefined
Infinity
Normal
Zero
(Both High)
(Both Low)
B/G
R/G < = R/G avg.
R/G within 3.5 σ of
R/G > = R/G avg.
*
*
Approaches
and
R/G avg. and
and B/G < = B/G
Infinity
B/G < = B/G avg.
B/G < = B/G avg.
avg.
B/G Normal
R/G < = R/G avg.
Null
R/G > = R/G avg.
*
*
and B/G within
and B/G within
3.5 σ of B/G avg.
3.5 σ of B/G avg.
B/G
R/G < = R/G avg.
R/G within 3.5 σ of
R/G > = R/G avg.
*
*
Approaches
and B/G > = B/G
R/G avg. and
and B/G > = B/G
Zero
avg.
B/G > = B/G avg.
avg.
B/G Undefined
*
*
*
*
*
(Both High)
B/G Undefined
*
*
*
*
*
(Both Low)
In the table above, there are eight Boolean statements, one null, and sixteen asterisks. In the event that there is a Boolean statement, if the Boolean statement is true, the pixel is consistent with the model and the system can proceed to step 230. Otherwise, the system should proceed to steps 225-229.
In step 225, if the red-to-green ratio of the model for pixel (i, j) is undefined, pixel (i, j) is consistent with pixel model (i, j) if the blue-to-green ratio is within 3.5 sigma of the average blue-to-green ratio. If so, the system can proceed to step 230. If not, the system should proceed to step 226.
In step 226, if the blue-to-green ratio of the model for pixel (i, j) is undefined, pixel (i, j) is consistent with pixel model (i, j) if the red-to-green ratio is within 3.5 sigma of the average red-to-green ratio. If so, the system can proceed to step 230. If not, the system should proceed to step 227.
In step 227, if the red and blue intensity values of pixel (i, j) are both incorrectly exposed in the way that they are expected to be incorrectly exposed, then pixel (i, j) is consistent with the model. In other words, if red is currently overexposed and blue is currently overexposed, and in the majority of the pixels during the training process, red was overexposed and blue was overexposed, then pixel (i, j) is consistent with the model. If so, the system can proceed to step 230. If not, the system should proceed to step 228.
In step 228, if the green intensity value of pixel (i, j) is incorrectly exposed in the way that it is expected to be incorrectly exposed, the pixel (i, j) is consistent with the model. If so, the system can proceed to step 230. If not, the system should proceed to step 229.
In step 229, if either ratio is undefined (low or high) and the red, green, and blue intensity values of pixel model (i, j) are all in there respective intensity models (as explained below), then pixel (i, j) is consistent with pixel model (i, j). If so, the system can proceed to step 230. If not, the pixel can be treated as a novel pixel or additional processing can be performed as described above.
Referring now to
In steps 244 and 245, there are six inputs:
In step 244, which examines the case where the pixel is never correctly exposed, if CE is equal to zero, UN>OV, and C is less than or equal to Cu, then pixel (i, j) is consistent with pixel model (i, j). If so, the system can proceed to step 250. If not, the system should proceed to step 245.
In step 245, which also examines the case where the pixel is never correctly exposed, if CE is equal to zero, UN<OV, and C is greater than or equal to Co, then pixel (i, j) is consistent with pixel model (i, j). If so, the system can proceed to step 250. If not, the system should proceed to step 246.
In steps 246-248, there are six inputs:
In step 246, the predicted non-normalized value denoted “Cpredict” is calculated using Navg, the current exposure, and the current gain.
In step 247, which examines the low end, if C is less than or equal to Cu and Cpredict is less than or equal to Cu then pixel (i, j) is consistent with pixel model (i, j). If so, the system can proceed to step 250. If not, the system should proceed to step 248.
In step 248, which examines the high end, if C is greater than or equal to Co and Cpredict is greater than or equal to Co, then pixel (i, j) is consistent with pixel model (i, j). If so, the system can proceed to step 250. If not the system should proceed to step 270.
As explained above in connection with
Referring now to
In step 350, novel pixel (i, j) is selected.
In step 360, pixel (i, j) is labeled as being in an existing region, no region, or a new region.
In step 370, if two different regions are now made to be adjacent by the addition of pixel (i, j), one of the two regions is joined with the other.
In step 380, as pixel (i, j) is added to the region, the average of all the i values and the average of all the j values for all the pixels in the region is updated. The average (i, j) of the region represents an approximate location of the region.
As shown by step 390, the next pixel is processed until there are no pixels left.
According to a further embodiment, the novel pixels are grouped into foreground figures using a process called color contiguous region detection. In order to perform color contiguous region detection, it is advantageous to generate a set of color modes.
Referring now to
In step 320, the most frequent color is picked as the first mode.
In step 330, all pixels within a statistically significant color range from the first mode are selected to form group N.
As shown by step 340, steps 320 and 330 are repeated until there are no colors (or only infrequently occurring colors) left.
In the case of color contiguous region detection, existing regions are only joined into one region if they are of the same color mode. If two adjacent regions are different colors, they are connected as adjacent regions, rather than joined.
Referring back to
As multiple cameras view the same foreground object from different angles, images can be and usually are captured at irregular intervals. As demonstrated below, it is possible to handle asynchronous, possibly out of order images.
Once the novel pixels that make up foreground
It may be advantageous to use a priority queue where priority is based on the time of the image. In order for the queue to release an image for processing, there should be a time difference between the time of the image and the current time. This time difference should account for the speed of the system. That is, the time difference should account for slower cameras, processors, or links such that an image is available from each camera before the images are released. Once images start coming out of the queue, features that have already been extracted from each image can be processed as a group of features from the same instant in time and compared to the world model.
Once the server has an average (i, j) for a given foreground figure from a first camera and an average (i, j) for the same foreground figure from a second camera, it is possible to calculate a new position estimate for the foreground figure.
The foreground figure and its known features are then compared with each of the object models in the world model. These features include, for example, the object location, object direction, object velocity, object acceleration, object size, and position estimates. If it is determined that the foreground feature and its known features match one of the object models in the world model, then the corresponding object model is updated accordingly. If on the other hand, it is determined that the foreground figure does not match any of the existing object models, a new object model is added to the world model.
It is also possible to process asynchronous, possibly out of order images without using a priority queue. Rather than delaying processing and using the delay to reorder data, it is possible to process the data as it is received. In the event that data is received out of order or the data given to the world model is older than the current state of the world model, additional processing should be performed. The world model should be reverted to the youngest state older than the data that is currently being processed. Then, the world model is updated with the data currently being processed. Then, the world model is updated in order with all the data that has already been processed. In essence, the system reverts to a previous state, makes changes, then reapplies all the changes that have been made already with the changes that have been made.
One aspect of dealing with tracking objects is the notion of a position estimate. This is a volume used to represent the estimated current position at a time n. At a later time, usually some number of milliseconds, there is a new position estimate that incorporates object velocity, acceleration, and the previous position estimate to estimate a new volume of space where that object could possibly be at the current time. This position estimate is compared in step 500 of
Foreground figures 830, 836, and 838 are graphically displayed so as to indicate their relative position. In the example, foreground figures 830, 836, and 838 are an unidentified individual; an identified, authorized individual; and an automobile, respectively. A different icon, color or ID could be used for each.
If, for example, a system user wanted to manually view unidentified individual 830, the user may click on camera station 810 to view individual 830 from camera 810a. Or alternatively, the user may click on individual 830 to view individual 830 from all relevant camera angles (i.e. cameras 810a and 812a).
The system checks the location and identification of the foreground figure against a table of permissions and generates alarms based upon the location of the foreground object and the table of permissions. For example, as individual 30 approaches country border 45, a first alarm is generated. The icon 830 may blink, change color, become increasingly larger, or have some other programmed or scripted response. Audible signals or other alarm mechanisms may also be used. Also, images and/or model data may be transmitted to another location and/or saved based on alarms. If individual 30 actually crosses country border 45, additional alarms are triggered and all relevant camera angles are automatically displayed. On the other hand, as individual 36 approaches country border 45, no alarms are sounded because individual 36 is a specific identified, authorized individual.
In the case of automobile 38, alarms may or may not be triggered based upon the relative speed of automobile 38, the relative location of individual 36, the time of day, recognition of the automobile by the computer, security personnel, or electronic or other remotely sensed tag, etc. If, for example, automobile 38 is authorized to cross the border, but unidentified individual 30 enters automobile 38 after automobile 38 crosses the border, automobile 38 is demoted from authorized to unauthorized. If, for example, unidentified individuals exit automobile 38 without entering building 44, a different alarm might be triggered.
The system works by having each cell 10-12 maintain a local object identification (id), while there is an overall global object identification (id) that is also assigned to each object. The purpose of this is to make it easy for each cell 10-12 to operate independently while maintaining a unified global identification system for client use. Each cell 10-12 tracks all the objects in its field of view independently, even where fields of view between cells overlap. In the latter case, the object is tracked in both cells contemporaneously.
Each cell 10-12 queries a server 2 to find out which cells are nearby. Alternatively, this information is provided at system startup time via a file. Cells 10-12 communicate with nearby cells by broadcasting their current state. This may be done in multiple ways. For example, each cell 10-12 opens a socket-based-client-server connection with nearby cells. When information is needed, cells 10-12 poll the nearby cells to obtain the needed information. Or alternatively, there is a “message queue” where cells 10-12 publish information on a “topic” and cells 10-12 subscribe to different “topics” as needed.
The system maintains local and global object ids. There is a data structure that contains associations between local and global ids. This data structure allows two primary operations: assert and connect. The first operation, assert, is usually performed when a new object enters a cell from outside the coverage of any cell. According to the operation assert, the new object is assigned a global id and a local id that are the same. In other words, an assertion is made that the global id and the local id are the same.
According to the operation connect, two objects from different cells are given the same global id. In other words, two objects from different cells are connected. The two objects are connected when the features from one object in a cell is determined to have enough similar features to and is within the position estimate of an object from another cell. The system is designed to check to make sure it does not make contradictory assertions or connections.
According to a particular embodiment, each exit/entry point of the surveillance area is defined as either a closed area entry point or an open area entry point. A closed area entry point occurs when there is only one exit from a closed area. An example of a closed area entry point is a closet door. When an object enters a closet, the object is assumed to remain in the closet until the object reemerges. When an object exits the closet, the object is matched (i.e. connected) with an object that previously entered the closet.
An example of an open area entry point is any entry point that does not follow the properties of a closed area entry point. An example of a closed area entry point is the front lobby of a office building. When an employee walks through the front lobby to go to lunch, the employee may or may not return through the front lobby. Therefore, when an object enters the front lobby, the object is checked against objects that previously exited the front lobby. In some cases, the objected is connected with a known object. In other cases, the objected is treated as a new object.
According to another embodiment, the system builds a cyclical graph of all the areas under surveillance. The system notes “world exit/entry” points on the graph by adding an “out-of-world” node. The system connects all nodes with world exits to the “out-of-world” node. The “out-of-world” node represents all the areas outside of the area of surveillance that are not bound by any constraints.
When building the graph, nodes must be added for areas that are outside of the area of surveillance, but have constraints. For example, there may be a section of a hallway that has two entry/exit points. This “out-of-coverage” area is represented as a node in the graph with edges connecting it to the two areas to which it is adjacent.
This graph allows for a great deal of reasoning about who is where, and it simplifies the tracking process by limiting the number possibilities for object mislabeling. Essentially, as an object moves out of view, it is placed not on a simple list of untracked objects, but on a list of objects in a certain “out of view” area.
When an object comes back into view, it is checked against the graph. Specifically, each area in the world has a corresponding graph node associated with it. When an object comes into an area like this, in order to maintain a cohesive label on an object as it passes through the area, the “out-of-view” list is checked for that specific section of the graph.
Using
Similarly when object 38 enters cell 92, object 32 is checked against a list of known objects. Because object 38 is a new object, object 38 is assigned a new global id and a new local id, where the global id and the local id are the same. However, when object 36 emerges from closed area entry point 44, object 36 is matched with a known object and reassigned its old global id and old local id.
As object 30 moves within cell 90, its position and features are updated. As object 30′ leaves cell 90, the server 2 accounts for the approximate position of object 30′ and notifies adjacent cells 91 and 92 of the expected arrival of object 30′. Similarly, as object 38′ moves within cell 92, its position and features are updated. As object 38′ leaves cell 92, the server 2 accounts for the approximate position of object 38′ and notifies adjacent cells 90 and 92 of the expected arrival of object 38′. However, when object 36′ enters closed area 44, there is no need to notify adjacent cells 90 and 92. Object 36′ is assumed to remain in closed area 44 until object 36′ reemerges.
When object 30″ enters cell 92, it is treated as a new foreground object and assigned a new local and global id. Once features are extracted from object 30″ and it is determined that object 30″ is the same object as object 30, the two objects are connected and given the same global id. Similarly, when object 38″ enters cell 92, it is treated as a new foreground object and assigned a new local and global id. Once features are extracted from object 38″ and it is determined that object 38″ is the same object as object 38, the two objects are connected and give the same global id. If object 30″ enters object 38″, object 38″ may be treated as a closed area entry point and objects 30″ and 38″ may be associated and tracked and maintained as a joint object. However, should object 38″ pass out of view of camera stations 10 and 11, objects 30″ and 38″ should be disassociated to account for the possibility that object 30″ exited object 38″ while out of view of the camera stations.
While the foregoing description makes reference to particular illustrative embodiments, these examples should not be construed as limitations. It will be evident to those skilled in the art that the disclosed invention can be used in other embodiments. Thus, the present invention is not limited to the disclosed embodiments, but is to be accorded the widest scope consistent with the claims below.
Miller, III, J. Matthew, Kelly, III, John J
Patent | Priority | Assignee | Title |
10372873, | Dec 02 2008 | CAREVIEW COMMUNICATIONS, INC | System and method for documenting patient procedures |
10387720, | Jul 29 2010 | CareView Communications, Inc. | System and method for using a video monitoring system to prevent and manage decubitus ulcers in patients |
10645346, | Jan 18 2013 | CAREVIEW COMMUNICATIONS, INC | Patient video monitoring systems and methods having detection algorithm recovery from changes in illumination |
11477416, | Jan 18 2013 | Care View Communications, Inc. | Patient video monitoring systems and methods having detection algorithm recovery from changes in illumination |
11503252, | Sep 28 2012 | CareView Communications, Inc. | System and method for monitoring a fall state of a patient while minimizing false alarms |
11710320, | Oct 22 2015 | CareView Communications, Inc. | Patient video monitoring systems and methods for thermal detection of liquids |
8300890, | Jan 29 2007 | Intellivision Technologies Corporation | Person/object image and screening |
8320622, | Mar 29 2010 | Sharp Kabushiki Kaisha | Color gradient object tracking |
8508595, | Oct 04 2007 | HANWHA VISION CO , LTD | Surveillance camera system for controlling cameras using position and orientation of the cameras and position information of a detected object |
8675059, | Jul 29 2010 | CareView Communications, Inc.; CAREVIEW COMMUNICATIONS, INC | System and method for using a video monitoring system to prevent and manage decubitus ulcers in patients |
9041810, | May 06 2008 | CareView Communications, Inc. | System and method for predicting patient falls |
9311540, | May 06 2008 | CareView Communications, Inc. | System and method for predicting patient falls |
9489737, | Oct 01 2012 | Kabushiki Kaisha Toshiba; Toshiba Digital Solutions Corporation | Object detection apparatus and method |
9579047, | Mar 15 2013 | CAREVIEW COMMUNICATIONS, INC | Systems and methods for dynamically identifying a patient support surface and patient monitoring |
9615006, | Nov 28 2007 | Teledyne FLIR, LLC | Infrared camera systems and methods for facilitating target position acquisition |
9794523, | Dec 19 2011 | CAREVIEW COMMUNICATIONS, INC | Electronic patient sitter management system and method for implementing |
9866797, | Sep 28 2012 | CAREVIEW COMMUNICATIONS, INC | System and method for monitoring a fall state of a patient while minimizing false alarms |
Patent | Priority | Assignee | Title |
5594504, | Jul 06 1994 | THE CHASE MANHATTAN BANK, AS COLLATERAL AGENT | Predictive video coding using a motion vector updating routine |
5604537, | Sep 10 1992 | Canon Kabushiki Kaisha | Imaging apparatus having an automatic focusing means |
5613039, | Jan 31 1991 | AIL SYSTEMS, INC | Apparatus and method for motion detection and tracking of objects in a region for collision avoidance utilizing a real-time adaptive probabilistic neural network |
5774569, | Jul 25 1994 | Surveillance system | |
5850472, | Sep 22 1995 | Eltromat GmbH | Colorimetric imaging system for measuring color and appearance |
5930379, | Jun 16 1997 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Method for detecting human body motion in frames of a video sequence |
5969755, | Feb 05 1996 | Texas Instruments Incorporated | Motion based event detection system and method |
5987154, | Jul 19 1993 | THE CHASE MANHATTAN BANK, AS COLLATERAL AGENT | Method and means for detecting people in image sequences |
6049619, | Feb 12 1996 | Sarnoff Corporation | Method and apparatus for detecting moving objects in two- and three-dimensional scenes |
6075557, | Apr 17 1997 | Sharp Kabushiki Kaisha | Image tracking system and method and observer tracking autostereoscopic display |
6075895, | Jun 20 1997 | Holoplex | Methods and apparatus for gesture recognition based on templates |
6081606, | Jun 17 1996 | Sarnoff Corporation | Apparatus and a method for detecting motion within an image sequence |
6188777, | Aug 01 1997 | Intel Corporation | Method and apparatus for personnel detection and tracking |
6215519, | Mar 04 1998 | TRUSTEES OF COLUMBIA UNIVERSITY IN THE CITY OF NEW YORK, THE | Combined wide angle and narrow angle imaging system and method for surveillance and monitoring |
6233008, | Jun 11 1997 | HANWHA SYSTEMS CO , LTD | Target tracking method and device therefor |
6297825, | Apr 06 1998 | SYNAPIX, INC | Temporal smoothing of scene analysis data for image sequence generation |
6298144, | May 20 1998 | The United States of America as represented by The National Security Agency | Device for and method of detecting motion in an image |
6303920, | Nov 19 1998 | SRI International | Method and apparatus for detecting salient motion using optical flow |
6359647, | Aug 07 1998 | Philips Electronics North America Corporation | Automated camera handoff system for figure tracking in a multiple camera system |
6381374, | Oct 30 1998 | General Electric Company | Histogram analysis method for defective pixel identification |
6421463, | Apr 01 1998 | Massachusetts Institute of Technology | Trainable system to search for objects in images |
6445810, | Aug 01 1997 | Intel Corporation | Method and apparatus for personnel detection and tracking |
6480225, | Feb 25 1998 | HANGER SOLUTIONS, LLC | Surveillance system and method using personal computer |
6480615, | Jun 15 1999 | Washington, University of | Motion estimation within a sequence of data frames using optical flow with adaptive gradients |
6501481, | Jul 28 1998 | Qualcomm Incorporated | Attribute interpolation in 3D graphics |
6504951, | Nov 29 1999 | Intellectual Ventures Fund 83 LLC | Method for detecting sky in images |
6654481, | Oct 31 1997 | Hitachi, Ltd.; Akita Electronics, Co., Ltd. | Mobile object combination detection apparatus and method |
6661457, | Mar 22 1999 | Biomorphic VLSI, Inc. | Pixel read-out architecture |
6665004, | May 06 1991 | SENSORMATIC ELECTRONICS, LLC | Graphical workstation for integrated security system |
6674896, | Jul 13 1999 | Carl Zeiss Microscopy GmbH | Device for applying accurate color thresholds in real time |
6677959, | Apr 13 1999 | Athentech Technologies Inc | Virtual true color light amplification |
6678413, | Nov 24 2000 | CLEVER SYS INC | System and method for object identification and behavior characterization using video analysis |
6680748, | Sep 27 2001 | Pixim, Inc., | Multi-mode camera and method therefor |
6870945, | Jun 04 2001 | University of Washington | Video object tracking by estimating and subtracting background |
6876384, | Apr 19 2000 | Biomorphic VLSI, Inc. | Pixel selective white balancing |
6906745, | Apr 23 1998 | Round Rock Research, LLC | Digital exposure circuit for an image sensor |
6950123, | Mar 22 2002 | UATC, LLC | Method for simultaneous visual tracking of multiple bodies in a closed structured environment |
6985620, | Mar 07 2000 | SRI International | Method of pose estimation and model refinement for video representation of a three dimensional scene |
7015955, | Dec 22 2000 | Apple Inc | Camera having verification display with viewer adaptation compensation for reference illuminants and method |
7099056, | Apr 03 2002 | OmniVision Technologies, Inc | Automatically balanced exposure time and gain in an image sensor |
7110569, | Sep 27 2001 | Koninklijke Philips Electronics N V | Video based detection of fall-down and other events |
7184054, | Jan 21 2003 | Hewlett-Packard Development Company, L.P. | Correction of a projected image based on a reflected image |
7190809, | Jun 28 2002 | KONINKLIJKE PHILIPS ELECTRONICS, N V | Enhanced background model employing object classification for improved background-foreground segmentation |
7260241, | Jun 12 2001 | Sharp Kabushiki Kaisha | Image surveillance apparatus, image surveillance method, and image surveillance processing program |
7277558, | Nov 27 2001 | Lockheed Martin Corporation | Method and system for estimating the position of moving objects in images |
7292264, | Jun 14 2002 | Canon Kabushiki Kaisha | Multiple image processing and synthesis using background image extraction |
7362365, | Jun 26 2002 | Pixim, Inc. | Digital image capture having an ultra-high dynamic range |
7382397, | Jul 26 2000 | SMITHS DETECTION INC | Systems and methods for controlling devices over a network |
20020064382, | |||
20030007074, | |||
20040246336, | |||
20080030579, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Feb 06 2003 | KELLY III, PH D , JOHN J | Model Software Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019731 | /0975 | |
Feb 06 2003 | MILLER III, J MATTHEW | Model Software Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019731 | /0975 | |
Aug 07 2007 | Model Software Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Jun 04 2014 | M2551: Payment of Maintenance Fee, 4th Yr, Small Entity. |
Jun 14 2018 | M2552: Payment of Maintenance Fee, 8th Yr, Small Entity. |
Jun 15 2022 | M2553: Payment of Maintenance Fee, 12th Yr, Small Entity. |
Date | Maintenance Schedule |
Dec 28 2013 | 4 years fee payment window open |
Jun 28 2014 | 6 months grace period start (w surcharge) |
Dec 28 2014 | patent expiry (for year 4) |
Dec 28 2016 | 2 years to revive unintentionally abandoned end. (for year 4) |
Dec 28 2017 | 8 years fee payment window open |
Jun 28 2018 | 6 months grace period start (w surcharge) |
Dec 28 2018 | patent expiry (for year 8) |
Dec 28 2020 | 2 years to revive unintentionally abandoned end. (for year 8) |
Dec 28 2021 | 12 years fee payment window open |
Jun 28 2022 | 6 months grace period start (w surcharge) |
Dec 28 2022 | patent expiry (for year 12) |
Dec 28 2024 | 2 years to revive unintentionally abandoned end. (for year 12) |