Summary of the invention
The present invention is directed to the proposition of above problem, process and man-machine interaction method and develop content-based video image.
The present invention includes following steps:
1. to input video characteristic information extraction;
2. according to scene characteristic, set up model of place, and carry out on this basis detecting based on the moving object of scene;
3. according to object content, set up object module, and carry out on this basis the detection of based target;
4. by merging the detection based on scene and based target, analyzing and testing target significance (important level), generates and comprises the testing result that detects target and important level;
5. by using computer vision attention selection mechanism, monitor staff's visual attention is directed to important goal, thereby effectively utilizes limited image display space.
The principle of the invention and beneficial effect: in complex scene environment, numerous coal bed gas well heads are carried out to video monitoring in the wild, will produce massive video data.How under massive video data condition, effectively to realize man-machine interaction, be a major issue of Large Scale Video Monitoring System.As previously mentioned, coal bed gas production video monitoring system has the feature of many monitoring points, long time continuous working.Under this condition of work, monitor staff cannot focus one's attention on for a long time, the each control point of point by point scanning, thereby monitor staff's attentiveness must be attracted on abnormal picture.Research shows, human perception system mainly utilizes visual attention to select mechanism, overcomes multiple dimensioned in complicated visual scene perception and high complexity issue.Visual attention selects mechanism in computer vision system, to be paid attention to, and is applied to engineering practice as design theory.For example, in European opportunity of combat design, visual attention selection mechanism is used to refer to leads design man-machine interactive system.Fig. 1 .1 institute representation model is the application of visual attention selector built in moving object detection aspect.In this project, we will follow and utilize human attention to select mechanism, realize the efficient man-machine interaction of coal bed gas production video monitoring system.
Embodiment
1, content-based video image processing and man-machine interaction method comprises the steps:
1. to input video characteristic information extraction;
By the method for statistics with histogram, extract condition of a fire RGB triple channel color characteristic, extract the scene point-of-interest feature based on SURF;
2. according to scene characteristic, set up model of place, and carry out on this basis detecting based on the moving object of scene;
For the color characteristic (referring to step 3.) of the coal bed gas production testing target condition of a fire, extract the area-of-interest of video scene and condition of a fire color similarity, in this region, extract SURF characteristic point, according to Euler's distance the matching characteristic point of 5 × 5 neighborhoods of R passage calculated for pixel values consecutive frame SURF characteristic point, calculate the alternate position spike △ d of the corresponding SURF characteristic point of consecutive frame, the data symbol that record position is poor, utilize character check method (seeing formula (1)), if judge whether the poor variation of SURF characteristic point position meets Gaussian Profile and meet Gaussian Profile (seeing formula (2)), judge that current SURF characteristic point is as scene characteristic point, record its positional information, set up the sparse model of place based on characteristic point, otherwise, be moving object SURF characteristic point.
If the scene characteristic point of optimum Match detected in present frame, record according to the new feature dot position information mating with scene characteristic point in present frame the historical position message queue that scene characteristic point changed with the certain hour cycle, the renewal of positional information queue is carried out according to the principle of first in first out.Matching characteristic point in mark present frame is scene characteristic point.For the scene characteristic point that in model of place, other is not mated, carry out a character check, upgrade model of place, mark scene characteristic point and foreground features point; If the characteristic point of mating with existing scene characteristic point do not detected in present frame, the not new feature point of coupling detecting in present frame is carried out to a character check again, if new scene characteristic point detected, upgrade model of place.Otherwise, be labeled as foreground features point.
3. according to object content, set up object module, and carry out on this basis the detection of based target;
In the training stage, the region that manually produces the condition of a fire in segmented video image, utilizes the method for statistics with histogram to extract the three-channel color characteristic of condition of a fire RGB, determines and detects the color threshold threshold=200 that the condition of a fire occurs; Be partitioned into the region at condition of a fire place in training video image according to this color threshold, in this region, extract the SURF feature of the condition of a fire, calculate the center-of-mass coordinate (seeing formula (3) and formula (4)) of all SURF characteristic points in current time t video image, and the alternate position spike of consecutive frame SURF characteristic point barycenter (is shown in formula (5) and formula
(6)), these centroid positions are changed and carry out probability statistics, set up the motion model of the condition of a fire, meet
Condition;
At detection-phase, extract moving object SURF characteristic point according to model of place, record the poor data symbol of adjacent video scene motion object SURF characteristic point centroid position, utilize character check method, judge whether the poor variation of SURF characteristic point centroid position meets Gaussian Profile.If meet Gaussian Profile, judge that the condition of a fire occurs, otherwise the condition of a fire does not occur.
In sum, the judgment basis that the condition of a fire detects is as follows:
I(R)>threshold?∩I(G)>threshold
Wherein R, G, B represents respectively the three-channel pixel value of red, green, blue.
4. by merging the detection based on scene and based target, analyzing and testing target significance, generates and comprises the testing result that detects target and important level;
On the basis of detecting in scene moving object, scene moving object SURF characteristic point centroid position change profile P in statistics certain time interval T
back, calculate the condition of a fire distribution of movement P that itself and Target Modeling training stage set up
firekL distance, determine and detect target possibility occurrence and define three important level according to KL distance, see formula (7).
5. by using computer vision attention selection mechanism, monitor staff's visual attention is directed to important goal, thereby effectively utilizes limited image display space.
According to detecting target and important level thereof, the preferential high key video sequence information of display level, is directed to important goal by monitor staff's visual attention, thereby effectively utilizes limited image display space.
The english term the present invention relates to is:
SURF (Speeded-Up Robust Features): accelerate robust feature
KL (Kul lback-Leibler divergence): relative entropy distance
The above; it is only preferably embodiment of the present invention; but protection scope of the present invention is not limited to this; any be familiar with those skilled in the art the present invention disclose technical scope in; be equal to replacement or changed according to technical scheme of the present invention and inventive concept thereof, within all should being encompassed in protection scope of the present invention.