The invention relates to a video surveillance system. The invention also relates to a control method for a video surveillance system.
Video surveillance systems in which the surveillance zones are monitored with cameras that supply video images from their detection fields are known. In a video system of this kind, the detection field of each camera must be optimally oriented toward the surveillance zone to be monitored in order to assure that there are no gaps in the monitoring of the surveillance zone. In an extensive surveillance zone with a large number of cameras, this is a complex and expensive task.
A particularly advantageous version of the video surveillance system embodied according to the present invention has a graphic user interface. This user interface furnishes security personnel with floor plan data regarding the object to be monitored. It is also possible to display other camera images of the cameras provided for monitoring the surveillance zones.
The user interface enables the following displays. The detection field of the currently depicted camera is displayed in the floor plan of the object being monitored. This is particularly useful for panning and tilting cameras that can be pivoted manually or pivoted automatically by suitable actuators. In this context, the detection field of the camera can advantageously also be dynamically displayed in the floor plan. In addition, a guard can use a pointing device such as a mouse to mark an arbitrary position of the surveillance zone in the floor plan of the object to be monitored. The video surveillance system then automatically selects the camera whose detection field covers the surveillance zone marked with the pointing device and displays the corresponding camera image on the user interface (display).
If the camera in question is a panning and/or tilting camera, then the camera is automatically aimed at the corresponding position. In a variant, a display that can be split into at least two partial images can be provided in order to simultaneously display floor plan data of the surveillance zones on one side and video images of the surveillance zones on the other.
Accordingly, it is an object of the present invention to provide a very flexible, inexpensive adjustment and calibration of a video surveillance system.
To accomplish this, the invention proposes a video surveillance system having at least one camera for monitoring a surveillance zone, storage means for storing floor plan data of the surveillance zone, means for displaying video images from the detection field of the camera, means for projecting the floor plan data into the video images, means for superimposing floor plan data with structures in the video images, and means for calibrating the camera.
A calibrated camera is a prerequisite in order for surveillance zones detected by the camera to be optimally displayed in a floor plan.
Advantageously, salient features such as edges and/or corners can be marked or activated in the display of the floor plan and then projected into the video images in order to be brought into alignment with corresponding structures and/or features therein.
The calibration data of the camera are derived in accordance with the present invention from this alignment process.
The cameras 1, 2, 3 are connected via lines 1.2, 2.2, 3.2 to a signal processing unit 4 that can be located in an equipment room away from the cameras 1, 2, 3. The lines 1.2, 2.2, 3.2 include transmission means for the output signals supplied by cameras, in particular video transmission means; control lines for the transmission of control signals between the signal processing unit 4; and lines for supplying power to the cameras 1, 2, 3. The part of the surveillance zone that the camera detects from its placement is referred to as the detection field of the camera. The detection fields of the cameras 1, 2, 3 should be dimensioned so that they are able to detect at least all of the entry points into the surveillance zones 6, 7, 8 with no gaps and also to detect the largest possible portions of the surveillance zones 6, 7, 8.
The cameras are advantageously supported in mobile fashion and connected to actuators that can be remotely controlled by the signal processing unit 4 so that the camera detection ranges can be optimally aligned with the surveillance zones with which they are associated. Before now, once the cameras were installed in their surveillance zones, for example in a building, camera setup required a large amount of effort. In this context, the term camera setup includes inputting the camera placements and the detection fields of the cameras into a layout plan of the surveillance zones, for example a building floor plan. It is quite possible for a building floor plan of this kind to already be stored in digital form in a signal processing unit 4.
In order to display the camera placements, the position of the cameras within the surveillance zones must be known. Determining the detection fields of the cameras requires further knowledge regarding the aperture angle of the respective camera and its aiming direction in the respective room being monitored. Whereas the camera placements at least are already known, determining the aiming direction of the camera and the aperture angle of the camera during the setup phase can only be achieved with a relatively large amount of effort. This effort naturally increases along with the number of cameras to be set up.
In the description that follows, the position of the camera in its surveillance zone, its aperture angle, and the aiming direction of the camera, as well as the intrinsic calibration parameters of the camera such as image focal point and optical distortion are referred to all together by the generic term camera parameters. The camera parameters can be determined using photogrammetric methods. The use of these photogrammetric methods, however, requires that the associations between geometric features of the building floor plan and the video image be already known at the beginning of the setup phase. How this association comes about is irrelevant to the photogrammetric method.
The present invention significantly facilitates this, as described below in conjunction with
The position of the camera K1 is indicated in this floor plan by the coordinates (xk, yk, zk). The orientation of the camera K1, i.e. its aiming direction in relation to this floor plan, is indicated by the angles α, β, γ (
The parameter c, the so-called camera constant, can be determined, for example, by means of the horizontal aperture angle Φ of the camera K1 and by means of the horizontal dimension of the video image dimx in pixels, in accordance with the following equation:
The image focal point with the parameters x′H and y′H in this example is suitably assumed to be situated in the middle of the video image, i.e. at the position (dimx′/2, dimy′/2). The parameters rij in equations (1) and (2) are the elements of the rotation matrix R, which can be calculated from the angles α, β, γ.
where the parameters
K=(xk, yk, zk, α, β, γ)
are the calibration parameters of the camera K1 that are determined according to the invention.
As an example, the determination of the calibration parameters is described below in conjunction with the first exemplary embodiment. First, a technician setting up the video surveillance system uses a suitable pointing device such as a mouse to interactively mark the position, aiming direction, and aperture angle of a camera K1 in a floor plan of the object to be monitored. This yields the initial calibration parameters (Xk0, Yk0, Zk0, α0, β0, γ0, c0). Then, the setup technician marks the edges of the outline in the floor plan and displays them as an overlay in the video image of camera K1. This yields associations between the coordinates of the floor plan, e.g. the room corners with the coordinates (x1, y1, z1) and the associated image coordinates (x′M1, y′M1).
If the initial calibration parameters are used to project the coordinates of the floor plan (x1, y1, z1) into the video image by means of the equations (1) and (2), then this yields the projected image coordinates (x′1, y′1). These do not generally coincide with the coordinates (x′M1, y′M1) due to the incorrect initial parameters. Then, a number of associations (N associations) of coordinates in the floor plan and interactively marked image coordinates are used to optimize the calibration parameters so as to minimize the discrepancy between the image coordinates (x′M1, y′M1) and the projection (x′1, y′1):
This optimization is advantageously executed using the least square root method by means of a linearization of the image equations (1), (2) in lieu of the initial calibration parameters (Xk0, Yk0, Zk0, α0, β0, γ0, c0), in accordance with the following equation (6):
The solution
ΔK=(ATA)−1AtI (7)
of this overdetermined linear equation system is used to determine corrections for the initial calibration parameters and, with the aid of these corrections, improved calibration parameters K1 are determined according to the following equation:
K1=K0+ΔK (8)
The linearization and calculation of corrections for the calibration parameters is advantageously carried out several times in iterative fashion until a convergence is achieved and the calibration parameters no longer change or only change very slightly.
In an exemplary embodiment in connection with the second embodiment variant, a setup technician once again uses a pointing device such as a mouse to interactively mark the position, the aiming direction, and the aperture angle of the camera K1 in the floor plan. This yields the initial calibration parameters (Xk0, yk0, zk0, β0, γ0, c0). The initial calibration parameters are used to project visible elements of the building floor plan, e.g. room corners, as an overlay into the video image of the camera K1. This is done by means of equations (1) and (2) with the aid of the initial calibration parameters. Then, the calibration parameters are interactively modified, for example by means of cursor buttons.
After each modification, the modified calibration parameters generate a new projection of the elements of the floor plan into the overlay of the video image. The setup technician continues the process until the projection of the floor plan elements lines up with the video image. The calibration parameters at the end of the process are the desired calibration parameters and are forwarded to subsequent process steps in the use of the video surveillance.
The user interface depicted in
This sequence will be explained below in conjunction with the flowchart schematically depicted in
In an advantageous additional embodiment variant of the invention, a three-dimensional depiction of a surveillance zone derived from a floor plan is superimposed on a video image of the surveillance zone captured by a camera. This will be explained below in conjunction with
Cameras installed for a video surveillance system can be very easily and inexpensively calibrated by means of the invention since it requires no measurements at all to be carried out on the cameras themselves in order to determine their respective positions and aiming directions. This eliminates the cost for measuring means and the effort required for the measurement procedures. The interactive setup of the cameras enables the user to immediately plausibility test the achieved result. Only the setup of the cameras need be carried out by an appropriately qualified user. The installation of the cameras, however, can be carried out by less qualified auxiliary staff.
Simple dimensional data such as the height of the camera above the floor or the distance of the camera from a wall can be advantageously integrated into the calculating specifications for the camera parameters. These variables can also be simply determined by untrained installation personnel, for example by means of a laser or ultrasonic distance measurement device. The determination of the intrinsic parameters of the camera can also be assisted in a particularly advantageous way by capturing one or more images of a calibration body with a known geometry.
It will be understood that each of the elements described above, or two or more together, may also find a useful application in other types of constructions and methods differing from the types described above.
While the invention has been illustrated and described as embodied in a video surveillance system, and a method for controlling the same, it is not intended to be limited to the details shown, since various modifications and structural changes may be made without departing in any way from the spirit of the present invention.
Without further analysis, the foregoing will so fully reveal the gist of the present invention that others can, by applying current knowledge, readily adapt it for various applications without omitting features that, from the standpoint of prior art, fairly constitute essential characteristics of the generic or specific aspects of this invention.
What is claimed as new and desired to be protected by Letters Patent is set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
102005021735.4 | May 2005 | DE | national |