The present invention relates to the field of receiving video signals from a plurality of video cameras. More particularly, the present invention relates to the field of rapidly synchronizing an apparatus for sequentially receiving video signals from each of a plurality of video cameras.
A video camera typically forms an analog composite video signal which is representative of a moving optical image received by the camera. To form the video signal, a sensing spot moves across an image area according to a series of horizontal scan lines arranged from the top of the image area to the bottom of the image area. A complete scan of the image area represented by the video signal is referred to as a “frame.” When the bottom of the image area is reached, the process begins again at the top thereby forming a series of frames. National Television Standards Committee (NTSC) and Phase Alternate Line (PAL) are two widely utilized standards for composite video signals.
A composite video signal generally includes a luminance component signal and a chrominance (also referred to as “chroma”) component signal. The luminance component signal contains brightness information for the image. Synchronizing pulses included during horizontal and vertical blanking intervals of the luminance component signal synchronize a video decoder to the luminance signal. This allows the video decoder to distinguish each horizontal scan line and to identify the start of each frame. To form the composite video signal, the chrominance component signal is modulated by a high frequency subcarrier and is superimposed over the luminance component signal. A “color burst,” which is a series of eight cycles at the subcarrier frequency, appears in blanking intervals for synchronizing the video decoder to the chrominance component signal. The chrominance component signal contains color information for the image.
A composite video signal formed by a video camera can be communicated to a location remote from the camera where it is received by a video decoder and utilized for further processing, such as for storage and/or display. To form an image for display, an illumination spot is scanned across a display area according to a series of horizontal scan lines arranged from the top of the display area to the bottom. So that images from the composite video signal are appropriately processed, the video decoder must be appropriately conditioned according to the composite video signal. For example, the decoder must be synchronized to the phase and frequency of the luminance and chrominance signals and must appropriately control gain applied to each. In addition, dc restoration must be performed by clamping the signals to appropriate reference levels.
A finite amount of time is required to appropriately condition the video decoder according to a received video signal. Before the video decoder becomes stabilized, it first locks onto synchronization pulses of the video signal, thereby aligning itself horizontally and vertically with received video signal. Then, the video decoder locks onto the chrominance subcarrier, performs dc restoration and adjusts gain levels. Because each of these steps must be performed before the next, this process of conditioning the video decoder is time consuming. Typically, several frames are received by a video decoder before the decoder is conditioned according to the video signal. Additional time can be required prior to displaying or storing a frame while waiting for the start of the frame to occur.
Under certain circumstances, it is desired to receive video signals from a plurality of video cameras positioned at remote locations and to process the video signals at a central location. For example, a video surveillance system typically includes a plurality of video cameras placed at strategic locations of a site under surveillance. Typical sites include dwellings, such as homes and apartment buildings, and commercial or governmental sites, such as manufacturing facilities, banks, museums, offices and retail stores. The video cameras can be placed so as to observe activities occurring in driveways, in parking lots, near doorways, in hallways, at cash registers, in stockrooms, at loading docks and in aisles. The central location can be a security desk where displays are monitored by security personnel and where video images are stored or can more simply be a storage device located in a utility room from which video images can be retrieved, should the need arise.
An output of the multiplexer 108 is coupled to a video decoder 110. The video decoder 110 receives a selected video signal from the multiplexer 108, synchronizes its internal circuits to the video signal, controls gain levels, performs dc restoration on the video signal and places the video signal into a format suitable for storage in a storage device 112 and for display by a display device 114. The multiplexer 108 is typically utilized to cycle through the cameras 102–106 in a sequence such that at least one complete frame is received from each camera and stored in the storage device 112 before moving to a next camera in the sequence. In this manner, a series of sequential frames is obtained by each camera 102–106 and stored in the storage device 112 for later retrieval.
A drawback to the surveillance system 100 illustrated in
To address this problem, a video surveillance system can include multiple video decoders.
Because each video camera 202–206 corresponds to a dedicated video decoder 208–212, each video decoder 208–212 remains conditioned to the video signals received from the corresponding one of the cameras 202–206. Accordingly, by appropriately controlling the multiplexer 214, the video surveillance system 200 can be rapidly cycled through all the cameras 202–206 such that the storage device 216 receives frames from each camera 202–206 in less time than would be required by the video surveillance system 100 of
Due to the functions required to be performed by the video decoders 208–212, the video decoders 208–212 tend to have a relatively high cost. Accordingly, the video surveillance system 200 of
Therefore, prior video surveillance systems exhibit a trade-off in that increases in performance are accompanied by significant increases in cost. Therefore, what is needed is a technique for increasing the performance of a video surveillance system without significantly increasing its cost.
A method and apparatus for receiving video signals from a plurality of video cameras, such as in a video surveillance system. The plurality of video cameras are positioned at various locations and are each coupled to provide a video signal to a respective input of a multiplexer. A select input of the multiplexer conditions the multiplexer to route a selected one of the video signals from the cameras to an output of the multiplexer. An output of the multiplexer is coupled to a video decoder. The video decoder receives the selected video signal from the multiplexer and is conditioned according to the video signal. This includes synchronizing the video decoder horizontally and vertically to the video signal, locking to phase and frequency of a chrominance subcarrier of the video signal, controlling a gain level for the video signal and adjusting a dc clamping level for dc restoration of the video signal. Parameters representative of at least one of these quantities, though preferably for all of these quantities, are stored in association with the identity of the corresponding video camera. The video decoder also places each video signal into a format suitable for storage in a storage device and for display by a display device.
The multiplexer is controlled to cycle through the cameras in a sequence. As each camera is selected for providing its video signal to the video decoder, the stored parameters corresponding to the camera are retrieved and utilized to initialize the video decoder for decoding the video signal. A video frame for each camera is stored before selecting a next camera in the sequence.
Therefore, the invention duplicates storage locations for storing parameters corresponding to each camera, rather than requiring multiple video decoders, as in prior systems. As a result of storing parameters corresponding to each camera and utilizing these parameters to initialize the video decoder, the amount of time required by the present invention to condition the video decoder is significantly reduced in comparison to prior systems using a single decoder. Accordingly, the present invention allows a surveillance system to cycle through each of a plurality of cameras in less time than prior systems having a single video decoder, but without the high cost associated with prior systems which employ multiple video decoders.
An output of the multiplexer 308 is coupled to a video decoder 310. The video decoder 310 includes an analog processing block 312, a genlock block 314, an analog-to-digital converter (ADC) 316, and a digital processing block 318. The selected video signal from the output of multiplexer 308 is provided to an input of the analog processing block 312 and to an input of the genlock block 314. An output of the analog processing block 312 is coupled to an input of the analog-to-digital converter 316. Outputs of the genlock block 314 are coupled to inputs of each of the analog processing block and the analog-to-digital converter 316. An output of the analog-to-digital converter 316 is coupled to the digital processing block 318.
Although the multiplexer 308 is illustrated in
The analog processing block 312 includes analog signal processing elements which precondition a video signal received from the multiplexer 308 into a form suitable for the analog-to-digital converter 316. For example, the analog processing block 312 can include sample-and-hold circuitry and analog filters. The analog-to-digital converter 316 converts a preconditioned analog video signal received from the analog processing block 312 into a series of digital samples.
The genlock block 314 generates timing pulses for the analog processing block 312 and the analog-to-digital converter 316. These timing pulses are synchronous with the incoming video signal and are representative of the horizontal frequency, the horizontal phase, the chrominance frequency and chrominance phase associated with the incoming video signal. The genlock block 314 includes a number of registers 320 for storing parameters which are representative of some or all of these quantities. Thus, the registers 320 preferably store a horizontal frequency parameter, a horizontal phase parameter, a chrominance frequency parameter and a chrominance phase parameter. These parameters are particular to the camera 302, 304 or 306 which is currently supplying the video signal to the decoder 310.
The digital processing block 318 receives the series of digital samples from the analog-to-digital converter 316 and converts these samples into a form suitable for storage and display. For example, the digital processing block 318 can convert NTSC digital video samples into luminance-chrominance (Y-C) samples, compressed Y-C samples, or into red-green-blue (RGB) component video samples, as appropriate. Preferably, the digital processing block 320 performs automatic gain control (AGC), automatic color control (ACC) and dc restoration. The digital processing block 318 includes a number of registers 322 for storing parameters which are representative of some or all of these quantities. Thus, the registers 322 preferably store an AGC gain parameter, an ACC gain parameter, and a clamp level parameter. The clamp level parameter is for performing dc restoration on the digital samples. These parameters are particular to the camera 302, 304 or 306 which is currently supplying the video signal to the decoder 310.
A storage and display processing block 324 receives digital samples from the digital processing block 318 and stores the samples according to video frames.
Note that for black and white video images, the chrominance component signal is not utilized. In which case, the video decoder 310 is conditioned according to the phase and frequency of the luminance component signal and appropriately controls the gain and dc restoration of the luminance component signal.
A controller block 326 is coupled to the select input of the multiplexer 308 for selecting one of the video signals from the cameras 302–306 to be provided to the decoder 310. In addition, the controller 326 is coupled to the genlock block 314 and to the digital signal processing block 318 for conditioning the genlock block 314 and digital signal processing block 318. For example, the controller 326 selects an appropriate format for the incoming video, such as NTSC and PAL, places the genlock block 320 and the digital signal processing block 318 in run, standby and off modes and performs write and read operations to and from the registers 320, 322, memory 330 and storage and display processing block 324. The controller 326 controls the storage and display of video frames by the storage and display processing block 324. For example, the controller 326 indicates to the storage and display processing block 324 when the start of a frame to be stored occurs and when its end occurs.
Then, program flow moves from the state 404 to a state 406. In the state 406, the controller 326 loads parameters into registers 320 and 322 which are particular to the camera selected in the state 404. These parameters were previously obtained and stored by the controller 326 in association with an identification of the camera or in storage locations which are associated with the corresponding camera. Thus, the controller 326 maintains a set of parameters for each of the cameras 302–306. These parameters can be stored in the storage and display processing block 324 or in the memory 330. A significant aspect of the present invention is that these parameters serve as initial conditions for conditioning the decoder 310 according to the selected one of the video signals.
In the preferred embodiment, the parameters supplied to the decoder 310 include, horizontal frequency, horizontal phase, chrominance frequency, chrominance phase, AGC gain, ACC gain and dc clamping level. It will be apparent, however, that the principle advantages of the present invention can be achieved by supplying less than all of these parameters to the decoder 310. For example, because a significant amount of time is required for a conventional video decoder to obtain the horizontal frequency of a video signal, an embodiment of the present invention may supply only the horizontal frequency parameter to the decoder 310.
From the state 406, program flow moves to a state 408. In the state 408, the decoder 310 becomes conditioned according to the video signal being received. Because the parameters loaded in the state 406 were previously obtained for the currently selected camera and because these parameters change slowly over time and serve as initial conditions for the state 408, the conditioning of the decoder 310 which occurs in the state 408 takes significantly less time than if no initial conditions were supplied. During the state 408, the parameters stored in the registers 320 and 322 are updated to reflect any changes that have occurred in the video signal formed by the currently selected camera since the previous time the parameters were stored.
From the state 408, program flow moves to a state 410. In the state 410, a video frame representative of an image received by the currently selected one of the cameras 302–306 is captured and stored by the storage and display processing block 324. In the preferred embodiment, the stored video frame is received contiguously from top-to-bottom. Accordingly, storage of the video frame does not begin until the start of the frame occurs. Alternately, however, the stored video frame is a bottom portion of a first frame and a top portion of a next frame. Post-processing can be utilized to correct any discontinuities in the image caused by moving objects. An advantage of this technique of storing portions of two frames is that storage can begin immediately upon completion of the state 408 without having to wait for the start of frame to occur.
Then, program flow moves to a state 412. In the state 412, the updated parameters stored in the registers 320 and 322 are provided to the controller 326 which then maintains the parameters in association with the identification of the currently selected one of the cameras 302–306 until a next time the multiplexer 308 is conditioned to select the video signal from the corresponding camera. As mentioned, these parameters can be stored in the storage and display processing block 324 or in the memory 330.
From the state 412, program flow returns to the state 404 where a next one of the cameras 302–306 is selected by the controller 326. The states illustrated in
An optional enhancement to the present invention includes observing changes in the value of a parameter, such as horizontal frequency, horizontal phase, chroma frequency, chroma phase, AGC gain, ACC gain or dc clamping level, and, then, utilizing the changes to predict future changes in the parameter. For example, referring to
An aspect of the present invention takes into account the need to obtain values for each of the parameters, such as horizontal frequency, horizontal phase, chroma frequency, chroma phase, AGC gain, ACC gain and dc clamping level, upon start-up of the video surveillance system 300. Referring to
In an alternate embodiment, the time required for the video decoder 310 to become conditioned according to each video signal is accumulated over two or more cycles through all of the cameras 302–306. Accordingly, upon start-up of the video surveillance system 300, the time allotted for each video signal in the state 408 during a first cycle through all of the cameras 302–306 is limited such that the video decoder 310 is only partially conditioned upon completion of the first cycle. In a second or subsequent cycle, conditioning of the video decoder 310 for each video signal is completed. Obtaining a video frame in the state 410 is not accomplished until the second or subsequent cycle. Thus, according to this embodiment of the present invention, two or more cycles are required to capture a video frame from each of the cameras 302–306.
The present invention has been described in terms of specific embodiments incorporating details to facilitate the understanding of the principles of construction and operation of the invention. Such reference herein to specific embodiments and details thereof is not intended to limit the scope of the claims appended hereto. It will be apparent to those skilled in the art that modifications may be made in the embodiment chosen for illustration without departing from the spirit and scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
4167021 | Holmes | Sep 1979 | A |
4191971 | Dischert et al. | Mar 1980 | A |
4694327 | Demmer et al. | Sep 1987 | A |
5051827 | Fairhurst | Sep 1991 | A |
5150212 | Han | Sep 1992 | A |
5436659 | Vincent | Jul 1995 | A |
5553609 | Chen et al. | Sep 1996 | A |
5870139 | Cooper et al. | Feb 1999 | A |
5982418 | Ely | Nov 1999 | A |
6124882 | Voois et al. | Sep 2000 | A |
6208376 | Tanaka et al. | Mar 2001 | B1 |
6549243 | Takashimizu et al. | Apr 2003 | B1 |
Number | Date | Country |
---|---|---|
11032326 | Feb 1999 | JP |