The invention pertains to surveillance systems. In particular, it pertains to identifying and monitoring someone throughout a building or structure.
Other applications relating to similar technology include U.S. patent application Ser. No. 10/034,696, filed Dec. 27, 2001, and entitled, “Surveillance System and Methods Regarding Same”, which is incorporated herein by reference; U.S. patent application Ser. No. 10/034,780, filed Dec. 27, 2001 and entitled “Method for Monitoring a Moving Object and System Regarding Same”, which is incorporated herein by reference; and U.S. patent application Ser. No. 10/034,761, filed Dec. 27, 2001 and entitled “Moving Object Assessment System and Method”, which is incorporated herein by reference.
The invention involves segmenting an image of an object and extracting a color signature from it. The color signature may be matched with other signatures in a database in an attempt to identify the object. There are many configurations and variants of this invention not disclosed here. An illustrative example is provided below.
a, 2b and 2c reveal infrared detection of ice on an object;
a, 16b, 16c and 16d show examples of the background, foreground, differenced and thresholded images;
a and 17b reveal image and model histograms;
In the following description, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that structural, logical and electrical changes may be made without departing from the scope of the present invention. The following description is, therefore, not to be taken in a limited sense, and the scope of the present invention is defined by the appended claims.
Technologies and methods may be combined into a single integrated approach to track people or objects. It is particularly useful for tracking employees in relatively large settings, for examples, refineries and factories. The primary technology for tracking is cameras, imaging devices or visual sensors and image processing. The partnering technology involves identifying mechanisms such as specialty readers and/or sensors used for positive identification of people and objects. Positive identification of people would be made at choke points of paths of movement of the people, or at appropriate check points. Fusion of the primary and partnering technologies results in a powerful technology for tracking objects or people, such as workers in a plant or another area. This fusion or combination of the mentioned technologies is one aspect an application.
Further application of this technology can be obtained by imbedding fused camera and positive technology into a mapping system. This system provides for easy access or visualization of information, as well as transformation of the information into a context of spatial coordinates or other forms. One instance is imbedding the fused camera and positive identification information into a global information system (GIS) mapping system to show the location of a tracked person in relation to certain equipment in a database of a factory or refinery, or in relation to a process location on a process diagram of the factory or refinery. Because a process diagram may not correspond directly to geographic or physical space in the field, the geographic or physical location of a tracked person may have to be translated or mapped to the corresponding space in the process diagram. This feature can be added to the base technology, which is the combined/fused image processing and specific identification technologies, or any variation of the base technology along with other technologies or features as desired.
In tracking an employee, additional information can be developed about the condition of an employee or the plant that the employee is at. Such information may improve the capability of the present system to track employees effectively and to most efficiently direct employee efforts in the plant for a known set of conditions in the plant. For example, specialized detection capabilities in the viewing camera and the video processing system may detect whether the employee has stopped moving, thus implying possible incapacitation of, or injury to the employee. This information would allow the system to conclude that there may be a problem with the employee and thus alert an operator to investigate the situation of the employee. Special video detection capabilities can be utilized to monitor the condition of the plant or installation in a manner that provides for a more thorough diagnosis of the plant's condition.
The particular properties of water have been established in the upper near-infrared spectrum (i.e., 0.4 μm to 2.4 μm). Water and objects bearing water have very low reflectivity and thus essentially are black bodies in this spectrum. This black body characteristic is noticeable in an image when the water is above a virtual mass. A light cover of rainwater will not reveal this characteristic. However, a cover of ice (i.e., concentrated water) or a human body (i.e., thick water-based mass) will have such black body characteristic.
For positively identifying the objects or people being tracked, one or more of a group 105 of sensors may be utilized. This group of sensors includes active RF badge readers 203, active IR badge readers 204, passive RF badge readers 205, passive RF badge readers 206, long or short range bar code readers 207, GPS badge readers 208, identifying clothing marker readers 209 such as colors, shapes and numbers on the clothing, biometric readers 210 (e.g., fingerprint or retina), specialized IR cameras 211 and other sensors 215. The sensors' 105 connection to identifier 212 is shown in
The output from positive identifying component 212, which is a synthesis of the inputs from the various sensors or sensor indicating a positive identification of the object or person being tracked, goes to fusion component 213. Other inputs to component 213 come from vision processor component 102 and a database component 214. Database component 214 is a source of information for fusion component 213. Fusion component may send out signals to component 213 requesting certain information about certain objects or persons being tracked. For instance, work order systems may be a source of valuable information useful in the tracking of a worker in a factory or refinery. Database component 214 is a source of many types of information in numerous databases.
The output of the fusion component 213 goes to a user interface component 216. Component 216 typically would have interface electronics 234, and a screen 218 with a display 225 in
An example of an application of the fused camera tracking and positive identification of system 100 is illustrated in
Plan view 221 of the area monitored by camera A 226, shows employees 222 and 223 to be present in the area and at their respective locations. John 222 and Mary 223 were positively identified by a reader when walking through a choke point or entrance 228 when entering the area, and were tracked to their current locations by vision processor 102. An RF reader 203 sent additional information about employees 222 and 223 to identifier 212. Identifier 212 processed and forwarded this information to vision processor 102, when employees 222 and 223 were detected by reader 203 at choke point 228. If communication is desired with John or Mary, an intercom “Talk” button 229 proximate to John or Mary's name on screen 225 may be activated with a touch of the respective button.
Additional video technologies may be used to improve tracking and identification of a person or object. One such technology is cooperative camera networks (CCN). CCN can detect change in a scene viewed by a camera. Such change is detected with the use of frame differencing and adaptive thresholding. Frames of a video are compared to detect differences between a current frame and a reference or initialization frame. The parts of the current frame that differ from the reference frame are extracted and a histogram is done of the pixels of those extracted parts. A threshold level is assigned to the histogram that provides for a division between what is actually change and what is noise. CCN can be used, for example, to evaluate the composite color of a person's clothes so as to help identify and track such person.
The above-mentioned GIS can also improve the ability of tracking system 100. GIS can locate and translate spatial information by implementing a fine measuring grid. The area around each intersection on the grid may be designated area of influence for that intersection. The area of influence may be correlated to the portions of a map that are not directly spatially related to the plant, factory or refinery, such as a process diagram 230 as shown in
Special video detection features add to the diagnostic capabilities of system 100, thereby increasing its power and effectiveness.
GIS can be a resource in database component 214. GIS may be used to assist in objectively describing the actual location of a person based on maps processed by image processing component 102. Further information from such a system could provide the location of a person or object tracked relative to a process flow layout, such as one of a refinery.
Image processing component 102 consists of processing for multicamera surveillance and object or person tracking. Component 102 has a moving object segmentor, a tracker and a multi-camera fusion module. One object detection method is based on a mixture of Normal representation at the pixel level. Each normal reflects the expectation that samples of the same scene point are likely to display Gaussian noise distributions. The mixture of Normals reflects the expectation that more than one process may be observed over time. The method used here is similar in that a multi-Normal representation is used at the pixel level. But that is the extent of the similarity. The present method uses an Expectation-Maximization (EM) algorithm to initialize models. The EM algorithm provides strong initial statistical support that facilitates fast convergence and stable performance of the segmentation operation. The Jeffreys (J) divergence measure is used as the measuring criterion between Normals of incoming pixels and existing model Normals. When a match is found, the model update is performed using a method of moments. When a match is not found, the update is performed in a way that guarantees the inclusion of the incoming distribution in the foreground set.
The method just described permits the identifying foreground pixels in each new frame while updating the description of each pixel's mixture model. The identified and labeled foreground pixels can then be assembled into objects using a connected components algorithm. Establishing a correspondence of objects between frames (i.e., tracking) is accomplished by using a linearly predictive multiple hypotheses tracking algorithm which incorporates both position and size. The object tracking method is described below.
Although overlapping or fusion of fields of view (FOV) are not required for the image processing with tracking component 102, fusion of FOV's is discussed here. Fusion is useful since no single camera can cover large open spaces in their entirety. FOV's of various cameras may be fused into a coherent super picture to maintain global awareness. Multiple cameras are fused (calibrated) by computing the respective homography matrices. The computation is based on the identification of several landmark points in the common FOV between camera pairs. The landmark points are physically marked on the scene and sampled through the user interface. The achieved calibration is very accurate.
The present FOV fusion system has a warping algorithm to accurately depict transformed views. This algorithm computes a near optimal camera configuration scheme since the cameras are often far apart and have optical axes that form angles which vary quite much. Resulting homographies produce substantially skewed frames where standard warping fails but the present warping succeeds.
Object or person tracking by image processing component can substantively begin with an initialization phase. The goal of this phase is to provide statistically valid values for the pixels corresponding to the scene. These values are then used as starting points for the dynamic process of foreground and background awareness. Initialization needs to occur only once. There are no stringent real-time processing requirements for this phase. A certain number of frames N (N=70) are accumulated and then processed off-line.
Each pixel x of an image (of the scene) is considered as a mixture of five time-varying trivariate Normal distributions:
are the mixing proportions (weights) and N3 (μ, Σ) denotes a trivariate Normal distribution with vector mean μ and variance-covariance matrix Σ. The distributions are trivariate to account for the three component colors (i.e., red, green and blue) of each pixel in the general case of a color camera.
Initialization of the pixel values here involves partially committing each data point to all of the existing distributions. The level of commitment is described by appropriate weighting factors. This is accomplished by the EM method noted above. The EM algorithm is used to estimate the parameters of the initial distribution π1, μi and Σi, i=1, . . . , 5 for every pixel x in the scene. Since the EM algorithm is applied off-line over N frames, there are N data points in time available for each pixel. The data points xj, j=1, . . ., N are triplets:
where xjR, xjG, and xjB stand for the measurement received from the red, green and blue channels of the camera for the specific pixel at time j. This data x1, x2, . . . , xN are assumed to be sampled from a mixture of 5 trivariate Normals:
where the variance-covariance matrix is assumed to be diagonal with xjR, xjG, and xjB having identical variance within each Normal component, but not across all components (i.e., σk2≠σ12 for k≠1 components).
Originally, the algorithm is provided with some crude estimates of the parameters of interest: π1(0), πi(0), and (π1(0))2. These estimates are obtained with a K-means method which commits each incoming data point to a particular distribution in the mixture model. Then, the following loop is applied.
For k=0, 1,, . . . calculate:
for i=1, . . . , 5 and j=1, . . . , N. Then, set k=k+1 and repeat the loop.
The condition for terminating the loop is:
|πi(k+1)−πi(k)|<ε, i=1,. . .,5,
where ε is a ‘small’ positive number (10−2). zij(k) are the posterior probabilities that xj belongs to the i-th distribution and they form a 5×N matrix at the k-th step of the computation. The EM process is applied for every pixel in the focal plane array (FPA) of the camera. The result is a mixture model of five Normal distributions per pixel. These Normal distributions represent five potentially different states for each pixel. Some of these states could be background states and some could be transient foreground states. The EM algorithm is computationally intensive, but since the initialization phase takes part off line, this is a non-issue.
There is a segmentation of moving objects. The initial mixture model is updated dynamically thereafter. The update mechanism is based on the incoming evidence (i.e., new camera frames). Several items could change during an update cycle:
The update cycle for each pixel proceeds as follows:
There is a matching operation. The Kullback-Leibler {KL) number between two distributions f and g is defined as:
A formal interpretation of the use of the KL information number is of whether the likelihood ration can discriminate between f and g when f is the true distribution.
For the purpose of the algorithm, one needs to define some divergence measure between two distributions, so that if the divergence measure between the new distribution and one of the existing distributions is “too small” then these two distributions will be pooled together (i.e., the new data point will be attached to one of the existing distributions). For a divergence measure d(f,g), it is necessary to satisfy (at least) the following three axioms:
The KL information number between two distributions f and g does not satisfy (c), since:
i.e., the KL information number is not symmetric around its arguments and thus it can not be considered as a divergence measure.
The Jeffreys divergence measure between two distributions f and g is the following:
This divergence measure is closely related to the KL information number, as the following Lemma indicates:
The J(f,g) is now symmetric around its arguments since:
J(f,g)=K(f,g)+K(g,f)K(g,f)+K(f,g)=J(g,f)
and satisfies also axioms (a) and (b). Thus J(f,g) is a divergence measure between f and g.
J(f,g) is used to determine whether the new distribution matches or not to one of the existing five distributions. The five existing Normal distributions are:
Once the five divergence measures have been calculated, the distribution
There is a model update when a match is found. If the incoming distribution matches to one of the existing distributions, these two are pooled together to a new Normal distribution. This new Normal distribution is considered to represent the current state of the pixel. The state is labeled either background or foreground depending on the position of the matched distribution in the ordered list of distributions.
The parameters of the mixture are updated with the method of moments. First introduced is some learning parameter α which weighs on the weights of the existing distributions. A 100 α% weight is subtracted from each of the five existing weights and it is assigned to the incoming distribution's weight. In other words, the incoming distribution has weight α since:
and the five existing distributions have weights:
π1(1−α), i=1, . . . , 5.
Obviously, for α, 0<α<1 is needed. The choice of α depends mainly on the choice of K*. The two quantities are inversely related. The smaller the value of K*, the higher the value of α and vice versa. The values of K* and α are also affected by how much noise there is in the monitoring area. So if, for example, an outside region was being monitored and had much noise due to environmental conditions (i.e., rain, snow, etc.), then a “high” value of K* and thus a “small” value of a would be needed since a non-match to one of the distributions is very likely to be caused by background noise.
On the other hand, if the recording was being done indoors where the noise is almost non-existent, then a “small” value of K* and thus a higher value of α would be preferred, because any time there is not a match to one of the existing five distributions, it is very likely to occur due to some foreground movement (since the background has almost no noise at all).
Assuming that there is a match between the new distribution g and on of the existing distributions fJ where 1≦j≦5, then the weights of the mixture model are updated as follows:
π1,t=(1−α)π1,t−1 i=1, . . . , 5 and i≠j
πj,t=(1−α)πJ,t−1+α
The mean vectors and variances are also updated. If w1 is (1−α)πJ,t−1, i.e., w1 is the weight of the j-th component (which is the winner in the match) before pooling it with the new distribution g, and if w2=α, i.e., the weights of the new observation then define:
Using the method of moments leads to:
μj,t=(1−ρ)μj,t−1+ρμg
σj,t2=(1−ρ)σj,t −12+ρσg2+ρ(1−ρ)(xt−μj,t−1)t(xt−μj,t−1),
while the other 4 (unmatched) distributions keep the same mean and variance that they had at time t−1.
There is a model update when a match is not found. In the case where a match is not found (i.e., min1≦I≦5K(fi,g)>K*), then the current pixel state is committed to be foreground and the last distribution in the ordered list is replaced with a new one. The parameters of the new distribution are computed as follows:
Multiple hypotheses are developed for predictive tracking. In the above, there was described a statistical procedure to perform on-line segmentation of foreground pixels corresponding to moving objects of interest, i.e., people and vehicles. Here, how to form trajectories traced by the various moving objects is described. The basic requirement for forming object trajectories is the calculation of blob centroids (corresponding to moving objects). Blobs are formed after a standard 8-connected component analysis algorithm is applied to the foreground pixels. The connected component algorithm filters out blobs with an area less than A=3×9=27 pixels as noise. This is the minimal pixel footprint of the smallest object of interest (e.g., a human) in the camera's FOV.
A multiple hypotheses tracking (MHT) is then employed that groups the blob centroids of foreground objects into distinct trajectories. MHT is considered to be the best approach to multi-target tracking applications. It is a recursive Bayesian probabilistic procedure that maximizes the probability of correctly associating input data with tracks. Its superiority against other tracking algorithms stems from the fact that it does not commit early to a trajectory. Early commitment usually leads to mistakes. MHT groups the input data into trajectories only after enough information has been collected and processed. In this context, it forms a number of candidate hypotheses regarding the association of input data with existing trajectories. MHT has shown to be the method of choice for applications with heavy clutter and dense traffic. In difficult multi-target tracking problems with crossed trajectories, MHT performs very well.
The state vector describing the motion of a foreground object (blob) consists of the position and velocity of its centroid expressed in pixel coordinates, i.e.,
xk=(xk{dot over (x)}kyk{dot over (y)}k)T.
The state space model is a constant velocity model given by:
xk+1=Fkxk+uk,
with transition matrix Fk:
The process noise is white noise with a zero mean and covariance matrix:
where q is the process variance. The measurement model describes how measurements are made and it is defined by:
zk=Hxk+vk
with
and a constant 2×2 covariance matrix of measurement noise given by:
Rk=E[vkvkT].
Based on the above assumptions, the Kalman filter provides minimum mean squared estimates {circumflex over (x)}k|k of the state vector according to the following equations:
Kk=Pk|k−1HT[HPk|k−1HT+Rk]−1
Pk|k=[I−KkH]Pk|k−1
Pk+1|kFkPk|kFkT+Qk
{circumflex over (x)}k|k={circumflex over (x)}k|k−1+Kk[Zk−H {circumflex over (x)}k|k−1]
{circumflex over (x)}k+1=Fk{circumflex over (x)}k|k.
Validation 237 is a process which precedes the generation of hypotheses 238 regarding associations between input data (blob centroids 235) and the current set of trajectories (tracks). Its function is to exclude, early-on, associations that are unlikely to happen thus limiting the number of possible hypotheses to be generated. The vector difference between measured and predicted states vk is a random variable characterized by the covariance matrix Sk:
vk=zk−H{circumflex over (x)}k|k−1
Sk=HPk|k−1HT+Rk.
For every track from the list of current tracks there exists an associated gate. A gate can be visualized as an area surrounding a track's predicted location (next move). In the present case, a gate is an elliptical shape defined by the squared Mahalanobis distance:
d2=vkTSk−1ck.
An incoming measurement (blob centroid 235) is associated with a track only when it falls within the gate of the respective track. Mathematically this is expressed by:
d2≦Dthreshold
The result of validating a new set of blob centroids takes the form of an ambiguity matrix. An example of an ambiguity matrix corresponding to a hypothetical situation of an existing set of two tracks (T1 and T2) and a current set of three measurements (z1(k), z2(k) and z3(k)is given in Equation (1).
The columns of the ambiguity matrix denote the current set of tracks with the first and last columns being reserved for false alarms (TF) and new tracks (TN), respectively. The rows correspond to the particular measurements of blob centroids made on the current frame. Non zero elements of the ambiguity matrix signal that the respective measurements are contained in are in the validation region of the associated track. The assignments are further constrained in the ambiguity matrix by allowing each measurement in the current scan to be associated with only one track. Further, it is assumed that a track is paired with at most one measurement per iteration. Therefore, the number of non zero elements in any row or column (barring the first and last columns) is limited to one. Thus, the ambiguity matrix is made a cost matrix as it is defined in linear assignment problems. This formulation makes the ambiguity matrix a representation of a new set of hypotheses about blob centroid-track pairings.
Central to the implementation of the MHT algorithm is the generation 238 and representation of track hypotheses. Tracks are generated based on the assumption that a new measurement may:
Assumptions are validated through the validation process 237 before they are incorporated into the hypothesis structure. The complete set of track hypotheses can be represented by a hypothesis matrix 240 as shown in
The first column 241 in this table is the Hypothesis index. In the example case, there are a total of 4 hypotheses generated during scan 1 shown in column portion 242, and 8 more are generated during scan 2 shown in column portion 243. The last column 244 lists the tracks that the particular hypothesis contains (e.g., hypothesis H8) contains tracks no 1 and no. 4). The row cells in the hypothesis table denote the tracks to which the particular measurement zj(k) belongs (e.g., under hypothesis H10 the measurement z1(2) belongs to track no. 5). A hypothesis matrix is represented computationally by a tree structure 245 as it is schematically shown in
As it is evident from the above example, hypothesis tree 245 can grow exponentially with the number of measurements. Two measures are applied to reduce the number of hypotheses. The first measure is to cluster the hypotheses into disjoint sets. In this sense, tracks which do not compete for the same measurements compose disjoint sets which in turn are associated with disjoint hypothesis trees. The second measure is to assign probabilities on every branch of hypothesis trees. The set of branches with the Nhypo highest probabilities are only considered. A recursive Bayesian methodology is followed for calculating hypothesis probabilities from frame to frame.
Multi-camera fusion is helpful in tracking objects and people. Monitoring of large sites can be best accomplished only through the coordinated use of multiple cameras. A seamless tracking of humans and vehicles is preferred across the whole geographical area covered by all cameras. A panoramic view is produced by fusing the individual camera FOV's. Then object motion is registered against a global coordinate system. Multi-camera registration (fusion) is achieved by computing the Homography transformation between pairs of cameras. The homography computation procedure takes advantage of the overlapping that exists between pairs of camera FOV's. Pixel coordinates of more than 4 points are used to calculate the homography transformation matrix. These points are projections of physical ground plane points that fall in the overlapping area between the two camera FOV's. These points are selected and marked on the ground with paint during the installation phase. Then the corresponding projected image points are sampled through the Graphical User Interface (GUI). This is a process that happens only in the beginning and once the camera cross-registration is complete it is not repeated. In order to achieve optimal coverage with the minimum number of sensors, the cameras are placed far apart from each other and at varying angles. A sophisticated warping algorithm may be used to accommodate the large distortions produced by the highly non-linear homography transformations.
An algorithm is used to compute the homography matrices. The algorithm is based on a statistical optimization theory for geometric computer vision and cures the deficiencies exhibited by the least squares method. The basic premise is that the epipolar constraint may be violated by various noise sources due to the statistical nature of the imaging problem. In
In particular, for every camera pair, a 3×3 homography matrix H is computed such that a number of world points Pα(Xα, Yα, Zα) , α=1, 2, . . . , N and N≧4, projected into the image points pα and qα the following equations holds:
{overscore (P)}αx H{overscore (q)}α=0, α=1,2, . . . , N. Equation (2)
Notice that the symbol (x) denotes the exterior product and also that the above equation does not hold for the actual image points pα and qα but for the corresponding ideal image points {overscore (p)}α and {overscore (q)}α for which the epipolar constraint is satisfied (see
(Xα(k); H)=0, k=1, 2, 3 Equation (3)
with:
Xα(k)=e(k)x{overscore (p)}α{overscore (q)}αT, α=1,2, . . . N, Equation (4)
where for any two matrices A and B (A;B)=trATB) and e(1)=(1, 0, 0)T, e(2)=(0, 1, 0)T, e(3)=(0, 0, 1)T. In a statistical framework, homography estimation is equivalent to minimizing the sum of the following squared Mahalanobis distances:
under the constraints described by the above equation (3). Note that the covariant tensor of the matrices ΔXα(k) and ΔXα(l) is denoted by:
v(Xα(k), Xα(l))=E[ΔXα(k){circle around (×)}ΔXα(l)],
where ΔXα(k)=Xα(k)−{overscore (X)}α(k). The symbol ({circle around (×)}) denotes tensor product. If one uses Lagrange multipliers, estimation of the homography matrix H reduces to the optimization of the following functional J[H]:
The (3×3) weight matrix W60 (H) is expressed as:
Wα(H)=(pαx HV[qα]HTx pα+(H qα)×V[pα](H qα))2 Equation (6)
The symbol (.)r− symbolizes the generalized inverse of a matrix (N×N) computed by replacing the smallest (N−r) eigenvalues by zeros. The computation process for the optimization of the functional in Equation (5) proceeds as follows:
Due to the specific arrangement of the cameras (large in-between distances and varying pointing angles), the homographies introduce large distortions for those pixels away from the overlapping area. An interpolation scheme is used to compensate for the excessively non-linear homography transformation.
The scheme is a warping algorithm which interpolates simultaneously across both dimensions. Specifically, the warping computation proceeds as follows:
Image processing component 102 can provide threat assessments of an object or person tracked. Component 102 can alert security or appropriate personnel to just those objects or persons requiring their scrutiny, while ignoring innocuous things. This is achieved by processing image data in image processing component 102 through a threat assessment analysis which is done after converting thee pixel coordinates of the object tracks into a world coordinate system set by image processing component 102. Known space features, fixed objects or landmarks are used in coordinate reference and transformation. The assembly of features uses the trajectory information provided by image processing module 102 to compute relevant higher level features on a per vehicle/pedestrian basis. The features are designed to capture “common sense” beliefs about innocuous, law abiding trajectories and the known or supposed patterns of intruders. The features calculated include:
Most of these are self explanatory, but a few are not so obvious. The wall clock is relevant since activities on some paths are automatically suspect at certain times of day—late night and early morning particularly.
The turn angles and distance ratio features capture aspects of how circuitous was the path followed. The legitimate users of the facility tend to follow the most direct paths permitted by the lanes. ‘Browsers’ may take a more serpentine course.
The ‘M’ crossings feature attempts to monitor a well-known tendency of car thieves to systematically check multiple parking stalls along a lane, looping repeatedly back to the car doors for a good look or lock check (two loops yielding a letter ‘M’ profile). This can be monitored by keeping reference lines for parking stalls and counting the number of traversals into stalls.
The output of the feature assembly for trajectories is recorded from a site observed of some period of time and is stored. That storage is used to produce threat models based on a database of features. During trial periods of time, several suspicious events can be staged (like “M” type strolls or certain inactivities) to enrich the data collection for threat assessments. Individual object or person trajectories or tracks may be manually labeled as innocuous (OK) or suspicious (not OK or a threat). A clustering algorithm assists in the parsimonious descriptions of object or person behavior. The behavior database consists of the labeled trajectories or tracks and the corresponding vectors. They are processed by a classification tree induction algorithm. Then the resultant classifier classifies incoming line data as OK or not OK.
Image processing component 102 detects and tracks moving objects or people. In the event that several people are moving alongside each other, they may be tracked as a single object, but may split into two or more objects and be detected as several tracks. Tracking can be lost because the people are obscured by equipment or natural obstructions. However, tracking will be correctly resumed once the people reappear. Additional cameras may be used if split tracks become a security loophole. Image processing 104 can recognize objects or people that disappear and appear within an FOV within short time intervals. This recognition function may be achieved by higher resolution cameras to capture detailed features of cars and especially humans. The cameras may have automated zoom mechanisms for being able to zoom in momentarily on every detected object or person and capture a detailed object signature. Tracking can be done under light or in the dark.
In summary, the tracking approach is based on a multi-Normal mixture representation of the pixel processes and on the Jeffrey divergence measure for matching to foreground or background states. This matching criterion results into dynamic segmentation performance. The tracking (MHT) algorithm and external multi-camera calibration are achieved through the computation of homographies. A warping algorithm which interpolates simultaneously across two dimensions addresses excessive deformations introduced by the homography. A threat assessment analysis based on a tree induction algorithm reports suspicious patterns detected in the annotated trajectory data. The threat assessment analysis includes a clustering algorithm. The algorithm helps in the automation of assessment and classification of objects and people.
The DifferencingThresholding portion of the present system performs the difference and thresholding operation upon the incoming image. The most important pieces of code for the function are shown in Listing 1 below. The function carries as an input parameter the pointer pData to the incoming frame's pixel values. The pixel values of the reference frame have already been stored in the member variable m_ReferenceImage. Therefore, one is ready to perform the subtraction operation of the incoming frame from the reference frame (lines 5–13, Listing 1). One subtracts pixel by pixel per color plane; this is the reason for the triple for loop in lines 5–7 of Listing 1.
After having obtained the difference image one applies the thresholding algorithm upon it (lines 15–17, Listing 1). Actually, one applies the thresholding operation per each color plane (red, green, and blue). Three different threshold values are produced, one for the red, one for the green, and one for the blue components of the pixel values. Then, in line 25 of Listing 1 one weighs to see if any of the color values of a pixel is above or below the corresponding threshold value. If it is, then one maintains in the threshold image the original pixel value (lines 28–33, Listing 1). If it is not, then one zeros the pixel value in the threshold image (lines 38–40, Listing 1). This weighing process repeats for every pixel in the image (lines 21–24, Listing 1).
In line 34 of Listing 1, one keeps count of the number of pixels that have a color component above the corresponding threshold. Then in line 46, one checks if the percentage of the pixels found to be sufficiently different exceeds a certain overall percentage threshold. The overall percentage threshold variable m_ThresholdValue is set by the operator. In the default version of the code, it has been set to 0.5, which means that if more than 50 percent of the image's pixels have changed sufficiently from the reference image, an alarm is set off. The reader may set this variable higher or lower depending on how sensitive one prefers the change detection system to be.
One point of great interest that one has left unanswered so far is how exactly the threshold values redThr, greenThr, and blueThr are computed for the three color planes of the image. One is about to get an answer to this question by dissecting the function GetImageThreshold in the following. Next, one notes the thresholding algorithm. Thresholding offers a method of segmentation in image processing. One is trying to delineate foreground from background pixels in tricolor difference images. One is interested less about background pixels and for this reason one depicts them as black. For the foreground pixels, however, one maintains the exact color values included in the incoming image. Thus, if for example a human or other object has moved in the original scene then, all the scene appears black in the thresholded image except the region where the human or object exists. This human or other silhouette represents the change that was introduced in the original reference scene. The change is measurable in terms of number of pixels and if it exceeds a certain percentage of the overall pixel population then, it sets off an alarm.
But, one may ask how exactly thresholding determines if a pixel belongs to the foreground or background. Or, equivalently, if it should be painted black or maintain its original color. In color images such as the ones one is dealing in this case, three separate thresholds can be established for the corresponding color channels. For each color channel the range of values of the pixels is [0–255], where 0 represents the absence of color and 255 the full color. In an ideal world, with no light changes and without sensor noise, the difference image would not need thresholding at all. The difference pixels in the regions of the scene that haven't changed would cancel out completely. In the real world, however, the difference pixels corresponding to unchanged scene points may not cancel out completely and present nonzero values. Still, the difference pixels that correspond to scene points that have drastically changed due to the presence of a foreign object usually present higher residual values.
Therefore, one has on each color plane of the difference image two distributions of color pixel values. One distribution is clustered towards the lower portion of the intensity range [0–255] and represents color pixel values that correspond to background points. The other distribution is clustered towards the higher portion of the intensity range [0–255] and represents color pixel values that correspond to foreground points. There is often some overlapping between the background and foreground distributions. A good thresholding algorithm locates the demarcation (thresholding) point in such a way that minimizes the area of one distribution that lies on the other side's region of the threshold.
It is very important to realize that one knows only the parameters of the total pixel distribution per color channel. One assumes that the background and foreground distributions exist within it. One may not know exactly what they are. One might try to guess by computing a value that separates them (threshold). As one adjusts the threshold, one increases the spread of one distribution and decreases the other. One's goal is to select the threshold that minimizes the combined spread.
One can define the within-class variance σw2 (t) as the weighted sum of variances of each distribution.
σw2(t)+w1(t)σ12(t)+w2(t)σ22(t) (7)
where
σ12(t)=the variance of the pixels in the background distribution (below threshold) (10)
σ22(t)=the variance of the pixels in the foreground distribution (above threshold) (11)
The weights w1 (t) and w2 (t) represent the probabilities of the background and foreground distributions respectively. These probabilities are computed as the sum of the probabilities of the respective intensity levels. In turn, the individual intensity probabilities P(i) are computed as the ratio of the number of pixels bearing the specific intensity to the total number of pixels in the scene. One symbolizes the number of intensity levels by N. Since the range of intensity values per color channel is [0–255], the total number of intensity values is N=256.
In Listing 2 below, one computes the number of pixels for each specific intensity in the range [0–255]. This is the histogram of the color channel. Based on the histogram one computes the individual intensity probabilities in lines 17–18 of Listing 2. If one subtracts the within-class variance σw2(t) from the total variance σ2 of the pixel population, one gets the between-class variance σb2(t):
σb2(t)=σ2(t)−σw2(t)=w1(μ1−μ)2+w2(μ2−μ)2
where μ1 is the mean of the background pixel distribution, μ2 is the mean of the foreground pixel distribution, and μ is the total mean. The means can be computed by the following equations:
μ1(t)=M1(t)/w1(t) (13)
One uses Equation (17) to compute the total mean in lines 22–23 of Listing 2. By observing carefully Equation (12), one notices that the between-class variance is simply the weighted variance of the distribution means themselves around the overall mean. One's initial optimization problem of minimizing the within-class variance σw(t)can now be casted as maximizing the between-class variance σb(t). One uses Equations (13)–(17) in Equation (12) to obtain
For each potential threshold value t(t ∈[0–255]), one computes the weight (probability) of the background distribution w1 and the mean enumerator M1. One uses these values to compute the between-class variance for every pixel intensity t. Then, one picks as the optimal threshold value topt the value that yields the maximum σb2. This sounds like an extensive amount of work but fortunately it can be formulated as a recursive process. One can start from t=0 and compute incrementally w1 and M1 up to t=255 by using the following recursive equations:
w1(+1)=w1(t)+P(t+1) (19)
M(t+1)=M(t)+(t+1)P(t). (20)
One employs Equations (19) and (20) in lines 27–28 of Listing 2 to compute w1 and M1 incrementally at each step. Based on these values and the value of the total mean μ computed once in lines 21–23 of Listing 2, one calculates the between-class variance in lines 34–35 by straight application of Equation (12). One compares the current step value of the between-class variance with the maximum value found up to the previous step in line 36 of Listing 2. As a result of this comparison, one always stores away the maximum between-class variance value along with the intensity value (potential threshold value) at which it occurred (lines 38–39, Listing 2). When one exhausts the full range of the intensity values (for loop line 25 in Listing 2) the GetImageThreshold( ) function returns the intensity value that produced the maximum between-class variance (line 44 in Listing 2). This is the threshold value that separates foreground from background pixels for the particular color channel (RED, GREEN, or BLUE).
The segmented image goes on to a signature extraction component 319 and identification component 321. Color signature extraction is applied only to the foreground of incoming image 315 which is segmented out in segmented image 317. The removed background is replaced with a black area. A histogram is made of image 317. Each pixel has a triplet of values, one for the red, one for the green, and one for the blue component. The values range from 0 to 255 for each color. A value of zero indicates no color and 255 indicates the full color. More than one pixel of the segmented image may have the same color triplet. The segmented image 317 may be cropped or limited to a certain area 322 incorporating a foreground. The histograms for red, green, and blue constitute a color signature for image 322. A set of these three histograms constitute a color signature for the foreground or person of image 322. The background in this image generally is black.
The color signature of image 322 goes to a compare and match unit or component 324. Color signature extraction component 319 is connected to compare and match component 324. Components 319 and 324 are part of the identification component 321. The color signature of image 322 is compared with other signatures in a database 325 and matched with the ones that have a matching value of a predetermined value or greater. These other signatures are from images stored along with their signatures in database 325. The images of the signatures selected from database 325 as having a close match may be reviewed to see which image is of the same person or object in image 322 or 317. Color signature matching is good for tracking a person in a department store, an airport or other facility that has somewhat a constant type of illumination. The person may be a potential hijacker or a suspect thief. When a suspicious person comes through a gate or entrance, a picture will be taken of him or her and be processed into a color signature as described above. Then if the suspect disappears into the crowd, he or she, among many others, may be captured on another camera and the resulting image processed into a color signature. Then a compare and match may be done with the signatures to correlate the images and the identity and/or location of the suspect. The suspect's color signature may be compared and matched with one or more signatures from a large database of signatures. At least it may be possible to do a compare and match on a bank of, for example, 100 signatures and one may come up with less than a dozen matches. Then the images may be compared for positive identification. This would be much quicker than looking at 100 images. The color signatures may be done on the whole body or just a portion of it such as below the belt, the middle just between the belt and neck, or just the face.
a shows an illustrative histogram 323 of image 322 for the red color channel. There may be similar histograms for the colors green and blue of image 322. For the color red as noted in
b shows a reference or model histogram 351 of a signature to which histogram 323 is compared and matched for determining the degree of similarity match (MR) for red. For the same color values of both histograms, the intersection (I1), i.e., the smaller number, of bins 326 and 327 for color value zero is 4 pixels. The intersection (I2) for bins 328 and 329 for color value 50 is 16. There are no corresponding bins in histogram 351 for bins 331 and 332, corresponding to values 97 and 190; so the intersections for these bins are at zero pixels. For color values 131 and 240, bins 333 and 334 intersect with bins 335 and 336 for intersection values (I3,I4) 20 and 5 pixels, respectively. There is no color value in image histogram 323 that corresponds to bins 337 and 338 of model histogram 351.
To obtain a normalized value of the red match (MR), one adds up the intersection numbers of pixels and divides them by the total number (Tp) of incoming image pixels.
The same approach for the green and blue histograms of the incoming image and the model is used. Then the normalized values (MR, MG, MB) may be added to obtain the total value of the match of the incoming image color signature with the model color signature.
The color signatures and corresponding images 341 in database 325 are distributed to all of the computers and/or operators of group 342 in the CCN system. Display and console 343 provide the operator a user interface with the CCN system to take pictures with camera 311, compare and match color signatures, observe images and so forth.
Vision processor 102, with tracker 104 and image processor 103 (disclosed above), can replace initialization component 312, differencing component 313 and thresholding component 318 of system 350 in
Although the invention has been described with respect to at least one illustrative embodiment, many variations and modifications will become apparent to those skilled in the art upon reading the present specification. It is therefore the intention that the appended claims be interpreted as broadly as possible in view of the prior art to include all such variations and modifications.
This application claims the benefit of and is a continuation-in-part of U.S. Nonprovisional application Ser. No. 10/123,985, filed Apr. 17, 2002, abandoned. Also, this application claims the benefit of U.S. Provisional Application No. 60/284,863, entitled “Method and Apparatus for Tracking People”, filed Apr. 19, 2001, wherein such document is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5363297 | Larson et al. | Nov 1994 | A |
5892554 | DiCicco et al. | Apr 1999 | A |
6292575 | Bortolussi et al. | Sep 2001 | B1 |
6351556 | Loui et al. | Feb 2002 | B1 |
6424370 | Courtney | Jul 2002 | B1 |
6639998 | Lee et al. | Oct 2003 | B1 |
6678413 | Liang et al. | Jan 2004 | B1 |
Number | Date | Country |
---|---|---|
WO 0073995 | Dec 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20030040815 A1 | Feb 2003 | US |
Number | Date | Country | |
---|---|---|---|
60284863 | Apr 2001 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10123985 | Apr 2002 | US |
Child | 10177688 | US |