A kind of search method of monitor video image, device and supervisory control system
Technical field
The present invention relates to image processing techniques, particularly relate to a kind of search method, device and supervisory control system of monitor video image.
Background technology
The major function of closed-circuit TV monitoring system is that auxiliary security system is kept watch on various on-the-spot circumstances.It makes administrative staff in the control room, can observe the situation of all primary locations, for the operation and the personnel activity of various device in fire-fighting, the building provides the supervision means.As in the gateway, important place such as main thoroughfare, garage installs video camera, and the situation of monitoring section is sent to administrative center in real time with image mode, the operator on duty can understand the situation in these important places at any time through video wall.
Supervisory control system commonly used at present mainly comprises camera part and monitor portion.Camera part generally is installed in the scene, and it comprises video camera, camera lens, protective cover, support and electric platform.Its effect is that monitor area is made a video recording and converted thereof into the signal of telecommunication.
The Cloud Terrace be install, the fastening of fixed cameras, it is divided into fixedly two kinds of The Cloud Terraces and electric platform.
Fixedly The Cloud Terrace is applicable to the situation that monitoring range is little, can adjust the level of video camera and the angle of pitching after on fixing The Cloud Terrace, installing video camera, reaches after the best operating attitude as long as the locking adjusting mechanism is just passable.
Electric platform is applicable to that it can enlarge the monitoring range of video camera to carrying out scanning monitoring on a large scale.The attitude of electric platform is to be realized by two operating motors, and motor accepts the signal of self-controller accurately to move the location.Under the effect of control signal, but both automatic scan monitor area of the video camera on the The Cloud Terrace also can be traced and monitored object under the operator on duty's of Surveillance center manipulation.
Supervisory control system commonly used at present generally adopts long delay video tape recorder and electric platform, and keeps the image of recording, because supervisory control system generally all is work in 24 hours; Therefore produced a large amount of video images, and because the automatic rotation of electric platform, what these images showed is different time, videos of different locations information; If search certain ad-hoc location; For example near an ATM on road limit, in the past within 5 hours the roadside video camera photographed that all have the picture of ATM, operation can be more time-consuming; Because The Cloud Terrace only just can be observed this ATM at a certain angular range; It is irrelevant information that a large amount of videos is arranged, and retrieve all videos of aiming at this ATM, generally comes F.F. or rewind down by manual work exactly.
Therefore, a kind of method of quick retrieve video image need be provided,, retrieve the different video images constantly with same position information out so that in can be on the The Cloud Terrace that does not stop the to rotate captured image that has the different angles diverse location in a large number.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of search method, device and supervisory control system of monitor video image; Can from the multitude of video image, retrieve the image that includes predetermined scenery, solve the technical problem that prior art can only be carried out the video image retrieval by fast forwarding and fast rewinding.
To achieve these goals, on the one hand, a kind of search method of monitor video image is provided, has comprised the steps:
For every width of cloth picture of shot by camera on the The Cloud Terrace, in the coded data of this width of cloth picture, be added in and take this width of cloth picture attitude parameter of said The Cloud Terrace constantly;
Set up mapping table, said mapping table writes down said attitude parameter and the corresponding relation of the viewfinder range of captured picture under said attitude parameter;
According to said mapping table, search viewfinder range through the said attitude parameter of retrieval in the coded data of the picture of shot by camera and cover the picture of being searched scenery.
Preferably, described method wherein, before setting up the step of mapping table, also comprises: according to the said coded data that said video camera is passed back, splice said video camera the panorama sketch of all scopes that can photograph; With said panorama sketch coordinatograph, make all corresponding coordinate points of each location point in the said panorama sketch.
Preferably, described method, wherein, the said step of setting up mapping table specifically comprises: confirm the viewfinder range that each said attitude parameter is corresponding; Confirm the coordinate points set of each said viewfinder range correspondence in said panorama sketch, thereby confirm the coordinate points set that each said attitude parameter is corresponding; Set up the mapping relations of coordinate points and attitude parameter,, all have the coordinate points set that comprises this coordinate points with each attitude parameter that said coordinate points has mapping relations.
Preferably, described method wherein, is saidly searched the step that viewfinder range covers the picture searched scenery, specifically comprises: the selected said scenery of being searched from said panorama sketch, confirm the said coordinate of scenery in said panorama sketch of being searched; According to said mapping relations, find out said pairing all attitude parameters of the coordinate of scenery in said panorama sketch of being searched, each attitude parameter that finds out is all as the retrieval attitude parameter; Find out all coded datas that comprise any said retrieval attitude parameter.
Preferably, described method, wherein, the said coordinate of scenery in said panorama sketch of being searched is that a coordinate points perhaps is coordinate points set.
Preferably, described method, wherein, in the said step that finds out all coded datas that comprise any said retrieval attitude parameter, said searching is in a video-frequency band of choosing, to carry out.
Another aspect of the present invention provides a kind of indexing unit of monitor video image, comprising:
Coding module is used for: for every width of cloth picture of shot by camera on the The Cloud Terrace, in the coded data of this width of cloth picture, be added in and take this width of cloth picture attitude parameter of said The Cloud Terrace constantly;
Mapping table module is used for: set up mapping table, said mapping table writes down said attitude parameter and the corresponding relation of the viewfinder range of captured picture under said attitude parameter;
Search module; Be used for: according to said mapping table; Confirm to cover the corresponding attitude parameter of viewfinder range of being searched scenery, and search viewfinder range through the said attitude parameter of retrieval in the coded data of the picture of shot by camera and cover the picture of being searched scenery.
Preferably, described device wherein, also comprises: the panorama sketch module is used for: according to the said coded data that said video camera is passed back, splice said video camera the panorama sketch of all scopes that can photograph; With said panorama sketch coordinatograph, make all corresponding coordinate points of each location point in the said panorama sketch.
Another aspect of the present invention provides supervisory control system, comprises monitoring client, The Cloud Terrace and is positioned at the video camera on the said The Cloud Terrace, also comprises:
Be positioned at the coding module of said video camera, be used for:, in the coded data of this width of cloth picture, be added in and take this width of cloth picture attitude parameter of said The Cloud Terrace constantly for every width of cloth picture of said shot by camera;
Be positioned at the mapping table module of said monitoring client, be used for: set up mapping table, said mapping table writes down said attitude parameter and the corresponding relation of the viewfinder range of captured picture under said attitude parameter;
Be positioned at the module of searching of said monitoring client; Be used for: according to said mapping table; Confirm to cover the corresponding attitude parameter of viewfinder range of being searched scenery, and search viewfinder range through the said attitude parameter of retrieval in the coded data of the picture of shot by camera and cover the picture of being searched scenery.
There is following technique effect at least in the embodiment of the invention:
1) embodiment of the invention is embedded into the attitude parameter of The Cloud Terrace in the video code flow of each frame picture and goes; Because attitude parameter can be confirmed the viewfinder range of picture; So just identified the viewfinder range of each frame picture; Through the retrieval attitude parameter, just can retrieve all pictures that cover the scenery that is retrieved.2) through making up panorama sketch, can make things convenient for any scenery of retrieving intuitively in the camera coverage scope, can be according to selected position or zone, find out fast in the video data of previous preservation should the position or all pictures in zone; 3) through setting up each coordinate points and the mapping relations of attitude parameter in the panorama sketch, can accelerate retrieval rate.
Description of drawings
The flow chart of steps of the method that Fig. 1 provides for the embodiment of the invention;
The structure chart of the supervisory control system that Fig. 2 provides for the embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, will combine accompanying drawing that specific embodiment is described in detail below.
The embodiment of the invention proposes a kind of method that can retrieve the monitor video content fast, particularly, can be according to selected position or zone, find out fast in the video data of previous preservation should the position or all pictures in zone.Whether implementation is that the attitude parameter with The Cloud Terrace is embedded in the video code flow of each frame and goes, in the time of retrieval so in the future, only need the The Cloud Terrace attitude parameter in more every frame code stream to be complementary with the The Cloud Terrace attitude parameter of hope retrieval.
The flow chart of steps of the method that Fig. 1 provides for the embodiment of the invention, like figure, the search method of the monitor video image of the embodiment of the invention comprises the steps:
Step 101 for every width of cloth picture of shot by camera on the The Cloud Terrace, is added in the coded data of this width of cloth picture and takes this width of cloth picture attitude parameter of said The Cloud Terrace constantly;
Step 102 is set up mapping table, and said mapping table writes down said attitude parameter and the corresponding relation of the viewfinder range of captured picture under said attitude parameter;
Step 103 according to said mapping table, is searched viewfinder range and is covered the picture of being searched scenery.
More than be merely key step, for the convenience of retrieving, the embodiment of the invention also provides the implementation of panorama sketch, only need choose the scenery in the panorama sketch intuitively, just can find out all video images that comprise this scenery, and detailed step comprises:
1), in the coded data of this width of cloth picture, is added in and takes this width of cloth picture attitude parameter of said The Cloud Terrace constantly for every width of cloth picture of shot by camera on the The Cloud Terrace;
2) the said coded data of passing back according to said video camera, splice said video camera the panorama sketch of all scopes that can photograph; (process of spliced panoramic figure can adopt disclosed various technology, for example at CN1525760A, and the synthetic processing method of disclosed image in the invention that open day is on September 1st, 2004)
3), make all corresponding coordinate points of each location point in the said panorama sketch with said panorama sketch coordinatograph.
4) confirm the viewfinder range that each said attitude parameter is corresponding; Confirm the coordinate points set of each said viewfinder range correspondence in said panorama sketch, thereby confirm the coordinate points set that each said attitude parameter is corresponding; Set up the mapping relations of coordinate points and attitude parameter,, all have the coordinate points set that comprises this coordinate points with each attitude parameter that said coordinate points has mapping relations.
5) the selected said scenery of being searched from said panorama sketch is confirmed the said coordinate of scenery in said panorama sketch of being searched;
6) according to said mapping relations, find out said pairing all attitude parameters of the coordinate of scenery in said panorama sketch of being searched, each attitude parameter that finds out is all as the retrieval attitude parameter;
7) find out all coded datas that comprise any said retrieval attitude parameter.
Wherein, the said scenery of being searched can be a location point, and its corresponding coordinate points also can be its corresponding coordinate points set of a zone.The scope of searching can be all videos of storage, also can be a video-frequency band of choosing.
Certainly, also can there be other to search mode, for example, in step 103, search in the following manner: choose a width of cloth and comprise the said picture of being searched scenery as choosing picture; Extract attitude parameter in the said coded data of choosing picture as the retrieval attitude parameter; Find out all coded datas that comprise said retrieval attitude parameter.This mode of searching can find with said and choose all pictures that picture has identical viewfinder range (also having identical attitude parameter certainly), and this mode can not rely on panorama sketch.
Corresponding above method, the embodiment of the invention also provides a kind of supervisory control system, and Fig. 2 is the structure chart of supervisory control system, like figure, comprises monitoring client 230, The Cloud Terrace 210 and is positioned at the video camera 220 on the said The Cloud Terrace, also comprises:
Be positioned at the coding module 221 of said video camera, be used for:, in the coded data of this width of cloth picture, be added in and take this width of cloth picture attitude parameter of said The Cloud Terrace constantly for every width of cloth picture of said shot by camera;
Be positioned at the mapping table module 231 of said monitoring client, be used for: set up mapping table, said mapping table writes down said attitude parameter and the corresponding relation of the viewfinder range of captured picture under said attitude parameter;
What be positioned at said monitoring client searches module 232, is used for: according to said mapping table, search viewfinder range and cover the picture of being searched scenery.
Be positioned at the panorama sketch module 233 of said monitoring client, be used for: according to the said coded data that said video camera is passed back, splice said video camera the panorama sketch of all scopes that can photograph; With said panorama sketch coordinatograph, make all corresponding coordinate points of each location point in the said panorama sketch.
The function mode of this supervisory control system is:
At first, in the The Cloud Terrace rotating process, the picture that utilizes video camera to pass back is spliced into a panorama sketch.Set up a mapping table, mark and record:
A. each point or zone in the panorama sketch;
B. all can cover the attitude parameter of the The Cloud Terrace in this point or zone, corresponding relation between the two.
When video camera was encoded to every frame video, adding lumped together transmission or preservation corresponding to the attitude parameter of the The Cloud Terrace of this frame with this attitude parameter and every frame video coding in certain position of this frame video code flow (part that for example begins).Desired target area was for example clicked a position or was marked part zone in panorama sketch easily in the time of need retrieving the monitor video content of preserving future; Perhaps (or in monitor video of before having preserved) takes out a bit of video from the picture of current camera input, or specifies wherein picture, requires in the monitor video content of preserving, and searches near the video content in this position.For position of in panorama sketch, selecting or zone, can search mapping table, find all can cover the attitude parameter of the The Cloud Terrace in this position or zone; For a bit of video that from video, takes out or picture wherein, can from video code flow, take out the attitude parameter of pairing The Cloud Terrace.After taking the attitude parameter (a group or several groups) of The Cloud Terrace, find out the video data that is complementary with it in the video code flow that can formerly preserve fast.
By on can know that the embodiment of the invention has following advantage:
1) attitude parameter of The Cloud Terrace is embedded in the video code flow of each frame picture goes; Because attitude parameter can be confirmed the viewfinder range of picture; So just identified the viewfinder range of each frame picture,, just can retrieve all pictures that cover the scenery that is retrieved through the retrieval attitude parameter.
2) through making up panorama sketch, can make things convenient for any scenery of retrieving intuitively in the camera coverage scope, can be according to selected position or zone, find out fast in the video data of previous preservation should the position or all pictures in zone;
3) through setting up each coordinate points and the mapping relations of attitude parameter in the panorama sketch, can accelerate retrieval rate.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.