WO1997016926A1 - Method and apparatus for determining ambient conditions from an image sequence - Google Patents

Method and apparatus for determining ambient conditions from an image sequence Download PDF

Info

Publication number
WO1997016926A1
WO1997016926A1 PCT/US1996/017555 US9617555W WO9716926A1 WO 1997016926 A1 WO1997016926 A1 WO 1997016926A1 US 9617555 W US9617555 W US 9617555W WO 9716926 A1 WO9716926 A1 WO 9716926A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixels
bright
dark
background
pixel
Prior art date
Application number
PCT/US1996/017555
Other languages
French (fr)
Inventor
Lambert Ernest Wixson
Original Assignee
Sarnoff Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sarnoff Corporation filed Critical Sarnoff Corporation
Publication of WO1997016926A1 publication Critical patent/WO1997016926A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/188Capturing isolated or intermittent images triggered by the occurrence of a predetermined event, e.g. an object reaching a predetermined position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/254Analysis of motion involving subtraction of images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • G06T7/41Analysis of texture based on statistical description of texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • G06V20/54Surveillance or monitoring of activities, e.g. for recognising suspicious objects of traffic, e.g. cars on the road, trains or boats
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/683Vibration or motion blur correction performed by a processor, e.g. controlling the readout of an image memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30232Surveillance

Definitions

  • the invention relates to image processing techniques and, more particularly, to a method and apparatus for detecting objects within a sequence of images.
  • the detection method at night may be specialized for detecting headlights and therefore may not be applicable during the daytime.
  • objects may cast shadows that interfere with accurate object segmentations, and therefore require that an additional shadow removal method be used.
  • reliable object detection may be impossible, and therefore the monitoring system operates in a fail-safe mode.
  • an automatic monitoring system should preferably include a method for determining the ambient conditions within a scene so that the system can use the appropriate detection method in response to those conditions.
  • Previous work on determining scene illumination, shadow presence, or fog presence has been based on image analysis. Some deployed systems predict scene illumination and shadow presence using an internal clock, knowledge of latitude and longitude, and a pre- computed calendar of sun positions. This, however, is not robust to overcast days or foggy weather.
  • the invention is a method and apparatus for determining certain ambient conditions in a scene by analyzing a sequence of images that represent the scene.
  • the invention uses only image information to determine scene illumination, or the presence of shadows, fog, smoke, or haze by comparing properties of detected objects, averaged over a finite video sequence, against properties of the reference image of the scene as that scene would appear without any objects present.
  • a reference image is constructed in a manner similar to time-averaging successive camera images.
  • Fig. 1 is a block diagram of an image processor of the present invention
  • Fig. 2 depicts a flow diagram of a method for determining scene illumination
  • Fig. 3 depicts a flow diagram of a method for determining ambient conditions from energy differences in the sequence of images as compared to a reference image.
  • identical reference numerals have been used, where possible, to designate identical elements that are common to the figures.
  • Fig. 1 depicts an image processor 100 for generating a reference image and an object image, wherein a sequence of images generated by an image source 102 (e.g., video camera or video storage media) is converted to digital form in analog-to-digital converter (A/D) 104 and processed using pyramid processor 106, image stabilizer 108, reference image generator 110, frame store 112, reference image processor 114 and subtractor 116.
  • the reference image is derived and updated using reference image generator 110 and a frame store 112.
  • the processor 100 produces a reference image and an object image.
  • the reference image represents the background imagery of a scene captured by the field of view of a video camera or some other imaging sensor while the object image represents moving or temporarily stopped objects (non-background) imagery of the scene.
  • the reference and object images are further processed by an object processor to determined the ambient environment of the scene.
  • Each image of the image sequences are typically decomposed into a specified number of Gaussian pyramid levels by pyramid processor 106 for reducing pixel density and image resolution.
  • Pyramid processor 106 is not essential, since the apparatus could be operated at the resolution of the 640x480 pixel density of a video camera 102. However, because this resolution is higher than is needed downstream for the apparatus, the use of pyramid processor 106 increases the system's computational efficiency. Not all levels of the pyramid must be used in each computation. Further, not all levels of the pyramid need be stored between computations, as higher levels can always be computed from lower ones.
  • a preferred pyramid processor 106 is a pyramid processing circuit described in U.S. Patent No. 5,359,674, the disclosure of which is incorporated herein by reference.
  • Image stabilizer 108 employs electronic image stabilization to compensate for camera motion and jitter. In general, camera motion causes pixels in the image to move (i.e., change) without there being actual object motion in the scene. The stabilizer 108 compensates for image translation from image-to-image that is due to camera rotation and/or sway. The stabilizer achieves continuous alignment to within one pixel between the reference image within frame store 112 and each new input image. The required shifting of the input image to achieve alignment is determined using a matched filter to locate two known landmark features in the scene as captured by the images and aligning all images with respect to these landmarks.
  • the reference image generator 110 performs a recursive temporal filtering operation on each corresponding pixel of the successive stabilized image frames applied as an input thereto.
  • n- ( ⁇ ,y ) ( rt- ⁇ ( ⁇ ,y ) +g ⁇ [ it ( ⁇ ,y ) -n- ⁇ ( ⁇ ,y ) ]
  • r t represents the reference image after frame t
  • i t represents the t'th frame of the input image frame sequence.
  • the constant g determines the "responsiveness" of the construction process.
  • Other algorithms for reference image generation may also be used.
  • the "responsiveness" setting of g must be sufficiently slow to keep transitory objects that appear in the scene from being included in the reference image. As such, after initializing the reference image and updating the image with a few new input images, (i.e., an initialization phase), the stored reference image in frame store 112 comprises only the stationary background objects being viewed by the image source. Such a "responsiveness" setting of g is incapable of adjusting r t quickly enough to add illumination changes to the reference image. This problem is solved using the reference image processor 114.
  • the processor 114 contains an illumination/AGC compensator that generates a reference image after the reference image pixel intensities have been passed through a linear function of the form k t x + c t , where the value of k t and c t , are generated by reference image processor 114 and respectively represent the estimated gain and offset between the reference image r t and the current image i t .
  • Processor 114 computes this gain and offset by plotting a cloud of points in a 2D space in which the x-axis represents gray-level intensity in the reference image, and the y-axis represents gray-level intensity in the current image, and fitting a line to this cloud.
  • the cloud is the set of points ( ⁇ t-i(x,y), (x,y)) for all image positions x,y.
  • This approach will work using any method for computing the gain and offset representing illumination change. For example, the gain might be estimated by comparing the histograms of the current image and the reference image.
  • the above approach allows fast illumination changes, which can usually be modeled as a gain and offset, to be added to the reference image while preventing transitory objects from being added. It does so by giving the reference image processor 114 the flexibility to decide whether the new reference image pixel values should be computed as a function of pixel values in the current image or whether they should be computed simply by applying a gain and offset to the current reference image. By applying a gain and offset to the current reference image the illumination change can be simulated without running the risk of allowing transitory objects to appear in the reference image.
  • subtractor 116 is coupled to image stabilizer 108 and processor 114 and produces the difference between the amplitudes of corresponding pixels applied as inputs thereto. These differences represent significantly-valued pixels that manifest solely moving object in each one of successive 2D image frames.
  • the output of subtractor 312 is forwarded to an object processor 118.
  • the object processor comprises an object detection and tracking processor 120 that conventionally detects the objects in the scene and tracks the objects as each object moves over time.
  • the present invention provides a scene illumination processor 122 that analyzes the object image to determine the illumination environment (e.g., day, night, fog and the like) of the scene. This illumination information is coupled to the object detection and tracking processor 120 such that the processor 120 can select appropriate detection and tracking routines that perform optimally in the present scene illumination environment.
  • the illumination environment e.g., day, night, fog and the like
  • Fig. 2 depicts a flow diagram of a routine 200 for determining scene illumination.
  • a set of non-background pixels in an image I, (object image) each is classified as "bright” or “dark", depending on whether the total image intensity in some limited region centered on it is greater than or less than the total image intensity in the same region in the reference image R. This assumes the reference image R is aligned pixel-for-pixel with the image I.
  • the total number of dark n ⁇ and bright n bright , non- background pixels detected is determined relative to a reference intensity.
  • the intensity is the brightness of the pixel itself.
  • the number of pixels classified as bright is counted and, at step 206, the number of pixels classified as dark is counted.
  • the sum n dark +n bright yields the total number of non-background pixels that were detected.
  • the scene can be classified as well-lit or poorly-lit, or, in outdoor scenes, daytime or nighttime, using the fraction fdark ⁇ n dark ⁇ n dark +n bright) -
  • f dark should be approximately .5.
  • the background image will be dark, and it will be difficult to detect any pixel with a dark surface color.
  • FIG. 3 depicts a flow diagram of a routine 300 for ambient condition detection (e.g., shadow/fog/haze detection).
  • ambient condition detection e.g., shadow/fog/haze detection
  • the presence of shadows is also determined using the concepts of bright and dark non-background pixels.
  • the pixels (or regions) of the object image are separated into bright and dark regions.
  • the routine defines the "energy" at (x, y) as a function of the intensity differences between pixels near (x, y) . In practice, the following energy measure has been used:
  • ener g y(G,x,y) where ⁇ (x,y) is the intensity of the pixel at position (x,y) in the image G and W(x,y) represents a "windowing" function producing a set of pixels which are taken to be the "neighbors" of pixel (x, y) , and where W(x,y) is the cardinality of this set.
  • Other energy functions can also be used.
  • ediff(x,y) ⁇ energy(l,x,y) - energy(R,x,y) ⁇ .
  • E bright and E ark the mean energy difference of all the bright non-background pixels
  • E dark and E ark the mean energy difference of all the dark non-background pixels.
  • a sampling mask that restricted sampling only to image locations that fell on the roadway can be used.
  • the size of the set produced by the neighborhood function W that is used to compute the energy may vary with pixel location (x,y) or may be a fixed size independent of location. W may be derived from the same mask that is used to select the pixels that are to be classified as background or non-background. The same principle may be applied within the routine 200 for determining scene illumination.
  • the routine processes the values E dar k an d E bright to detect the presence of shadows in the scene.
  • E dark lE bright > 1.2.
  • E dark /E brigflt is significantly smaller. This is because the neighborhood window function W used in the energy measure typically spans both the object and the background, and therefore the energy function measures the contrast between the object and the background. In brightly-lit scenes where shadows are likely, the background is likely to appear quite bright, and therefore bright objects will contrast less sharply against the background than will dark objects.
  • the presence of fog, haze, or smoke is detected by examining the magnitude of E bright and Ed aT k-
  • E dark should be greater than some minimum; otherwise the scene has poor contrast and fog is likely.
  • E bright should be greater than some minimum; otherwise, fog is likely.

Abstract

A method (200) and apparatus for determining certain ambient conditions in a scene by analyzing a sequence of images (202) that represent the scene. The apparatus uses only image information to determine scene illumination (200), or the presence of shadows (206), fog, smoke, or haze by comparing (208) properties of the detected objects, averaged over a finite video sequence, against properties of the reference image of the scene as that scene would appear without any objects present. Such a reference image is constructed in a manner similar to time-averaging successive camera images.

Description

METHOD AND APPARATUS FOR DETERMINING AMBIENT CONDITIONS FROM AN IMAGE SEQUENCE
This patent application claims benefit of U.S. provisional patent application serial number 60/006100 filed October 31, 1995.
The invention relates to image processing techniques and, more particularly, to a method and apparatus for detecting objects within a sequence of images.
BACKGROUND OF THE DISCLOSURE
Many computer vision systems for automatic surveillance and monitoring seek to detect and segment transitory objects that appear temporarily in the system's field of view. Examples include traffic monitoring applications that count vehicles and automatic surveillance systems for security. These systems often require different object detection and segmentation methods depending on the ambient conditions. An example of such a system is disclosed in U.S. Patent Application Serial No. 08/372,924 filed January 17, 1995, the disclosure of which is incorporated herein by reference. The three primary ambient conditions that can create a need for different detection and segmentation methods are: scene illumination, for example whether it is day or night, the presence of shadows, and scene is obscured due to fog, smoke or haze. For example, in a traffic monitoring system, the detection method at night may be specialized for detecting headlights and therefore may not be applicable during the daytime. Also, on bright days, objects may cast shadows that interfere with accurate object segmentations, and therefore require that an additional shadow removal method be used. Finally, on very foggy days, reliable object detection may be impossible, and therefore the monitoring system operates in a fail-safe mode.
If an automatic monitoring system is to operate autonomously over an extended period of time, it should preferably include a method for determining the ambient conditions within a scene so that the system can use the appropriate detection method in response to those conditions. Previous work on determining scene illumination, shadow presence, or fog presence has been based on image analysis. Some deployed systems predict scene illumination and shadow presence using an internal clock, knowledge of latitude and longitude, and a pre- computed calendar of sun positions. This, however, is not robust to overcast days or foggy weather.
Additionally, approaches based on raw image intensity thresholds are very unlikely to be robust.
Therefore, there is a need for a method and apparatus for determining the ambient conditions in a scene including scene illumination and the presence of shadows, fog, smoke or haze.
SUMMARY OF THE INVENTION The invention is a method and apparatus for determining certain ambient conditions in a scene by analyzing a sequence of images that represent the scene. The invention uses only image information to determine scene illumination, or the presence of shadows, fog, smoke, or haze by comparing properties of detected objects, averaged over a finite video sequence, against properties of the reference image of the scene as that scene would appear without any objects present. Such a reference image is constructed in a manner similar to time-averaging successive camera images.
BRIEF DESCRIPTION OF THE DRAWINGS The teachings of the present invention can be readily understood by considering the following detailed description in conjunction with the accompanying drawings, in which:
Fig. 1 is a block diagram of an image processor of the present invention; Fig. 2 depicts a flow diagram of a method for determining scene illumination; and
Fig. 3 depicts a flow diagram of a method for determining ambient conditions from energy differences in the sequence of images as compared to a reference image. To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures.
DETAILED DESCRIPTION
Fig. 1 depicts an image processor 100 for generating a reference image and an object image, wherein a sequence of images generated by an image source 102 (e.g., video camera or video storage media) is converted to digital form in analog-to-digital converter (A/D) 104 and processed using pyramid processor 106, image stabilizer 108, reference image generator 110, frame store 112, reference image processor 114 and subtractor 116. The reference image is derived and updated using reference image generator 110 and a frame store 112. The processor 100 produces a reference image and an object image. The reference image represents the background imagery of a scene captured by the field of view of a video camera or some other imaging sensor while the object image represents moving or temporarily stopped objects (non-background) imagery of the scene. The reference and object images are further processed by an object processor to determined the ambient environment of the scene. Each image of the image sequences are typically decomposed into a specified number of Gaussian pyramid levels by pyramid processor 106 for reducing pixel density and image resolution. Pyramid processor 106 is not essential, since the apparatus could be operated at the resolution of the 640x480 pixel density of a video camera 102. However, because this resolution is higher than is needed downstream for the apparatus, the use of pyramid processor 106 increases the system's computational efficiency. Not all levels of the pyramid must be used in each computation. Further, not all levels of the pyramid need be stored between computations, as higher levels can always be computed from lower ones. However, for illustrative purposes it is assumed that all of the specified number of Gaussian pyramid levels are available for each of the downstream computations discussed below. A preferred pyramid processor 106 is a pyramid processing circuit described in U.S. Patent No. 5,359,674, the disclosure of which is incorporated herein by reference. Image stabilizer 108 employs electronic image stabilization to compensate for camera motion and jitter. In general, camera motion causes pixels in the image to move (i.e., change) without there being actual object motion in the scene. The stabilizer 108 compensates for image translation from image-to-image that is due to camera rotation and/or sway. The stabilizer achieves continuous alignment to within one pixel between the reference image within frame store 112 and each new input image. The required shifting of the input image to achieve alignment is determined using a matched filter to locate two known landmark features in the scene as captured by the images and aligning all images with respect to these landmarks.
The reference image generator 110 performs a recursive temporal filtering operation on each corresponding pixel of the successive stabilized image frames applied as an input thereto. Put mathematically,
n-,y) = (rt-ι,y)+gχ[it,y)-n-ι,y)]
where rt represents the reference image after frame t, and it represents the t'th frame of the input image frame sequence. The constant g determines the "responsiveness" of the construction process. Other algorithms for reference image generation may also be used.
The "responsiveness" setting of g must be sufficiently slow to keep transitory objects that appear in the scene from being included in the reference image. As such, after initializing the reference image and updating the image with a few new input images, (i.e., an initialization phase), the stored reference image in frame store 112 comprises only the stationary background objects being viewed by the image source. Such a "responsiveness" setting of g is incapable of adjusting rt quickly enough to add illumination changes to the reference image. This problem is solved using the reference image processor 114.
The processor 114 contains an illumination/AGC compensator that generates a reference image after the reference image pixel intensities have been passed through a linear function of the form kt x + ct, where the value of kt and ct, are generated by reference image processor 114 and respectively represent the estimated gain and offset between the reference image rt and the current image it. Processor 114 computes this gain and offset by plotting a cloud of points in a 2D space in which the x-axis represents gray-level intensity in the reference image, and the y-axis represents gray-level intensity in the current image, and fitting a line to this cloud. The cloud is the set of points (τt-i(x,y), (x,y)) for all image positions x,y. This approach will work using any method for computing the gain and offset representing illumination change. For example, the gain might be estimated by comparing the histograms of the current image and the reference image.
The above approach allows fast illumination changes, which can usually be modeled as a gain and offset, to be added to the reference image while preventing transitory objects from being added. It does so by giving the reference image processor 114 the flexibility to decide whether the new reference image pixel values should be computed as a function of pixel values in the current image or whether they should be computed simply by applying a gain and offset to the current reference image. By applying a gain and offset to the current reference image the illumination change can be simulated without running the risk of allowing transitory objects to appear in the reference image.
The result is that the amplitude of the stationary background manifesting pixels of the illumination-compensated current image appearing at the output of reference image processor 114 will always be substantially equal to the amplitude of the stationary background manifesting pixels of the reference image, which includes solely stationary background manifesting pixels, appearing at the output of frame store 112. Therefore, subtractor 116, is coupled to image stabilizer 108 and processor 114 and produces the difference between the amplitudes of corresponding pixels applied as inputs thereto. These differences represent significantly-valued pixels that manifest solely moving object in each one of successive 2D image frames. The output of subtractor 312 is forwarded to an object processor 118.
The object processor comprises an object detection and tracking processor 120 that conventionally detects the objects in the scene and tracks the objects as each object moves over time. To facilitate and improve object tracking, the present invention provides a scene illumination processor 122 that analyzes the object image to determine the illumination environment (e.g., day, night, fog and the like) of the scene. This illumination information is coupled to the object detection and tracking processor 120 such that the processor 120 can select appropriate detection and tracking routines that perform optimally in the present scene illumination environment.
Fig. 2 depicts a flow diagram of a routine 200 for determining scene illumination. At step 202, a set of non-background pixels in an image I, (object image) each is classified as "bright" or "dark", depending on whether the total image intensity in some limited region centered on it is greater than or less than the total image intensity in the same region in the reference image R. This assumes the reference image R is aligned pixel-for-pixel with the image I.
Over some finite number of images from a sequence of video images representing the sampling period on which the day/night determination is to be based, the total number of dark n^^ and bright nbright, non- background pixels detected is determined relative to a reference intensity. The intensity is the brightness of the pixel itself. The number of pixels classified as bright is counted and, at step 206, the number of pixels classified as dark is counted. The sum ndark +nbright yields the total number of non-background pixels that were detected.
Using comparator step 208, the scene can be classified as well-lit or poorly-lit, or, in outdoor scenes, daytime or nighttime, using the fraction fdark ~ndark ^ndark +nbright) -
Assuming that the objects being detected have surface colors obtained from a uniform distribution, and that the mean background intensity is roughly in the middle of this distribution, then fdark should be approximately .5. However, if the scene is poorly-lit, the background image will be dark, and it will be difficult to detect any pixel with a dark surface color. Under this condition fdark becomes small. Therefore, a simple test can be used to determine whether the scene is well- or poorly- lit: if { dark > α > then the scene is well-lit. Otherwise it is poorly-lit. In practice, using α = 0.2 has proven to make accurate determinations for outdoor scenes.
A different routine is used to detect fog/haze and shadow presence in the scenes. FIG. 3 depicts a flow diagram of a routine 300 for ambient condition detection (e.g., shadow/fog/haze detection).
Specifically, the presence of shadows is also determined using the concepts of bright and dark non-background pixels. At step 302, the pixels (or regions) of the object image are separated into bright and dark regions. At steps 304 and 306 for each non-background pixel having the coordinates (x, y) in an image G, the routine defines the "energy" at (x, y) as a function of the intensity differences between pixels near (x, y) . In practice, the following energy measure has been used:
energy(G,x,y)
Figure imgf000009_0001
where Ε(x,y) is the intensity of the pixel at position (x,y) in the image G and W(x,y) represents a "windowing" function producing a set of pixels which are taken to be the "neighbors" of pixel (x, y) , and where W(x,y) is the cardinality of this set. Other energy functions can also be used.
Given an image I (object image) and the reference R (reference image), the energy difference at a pixel (x, y) is defined as ediff(x,y) = \energy(l,x,y) - energy(R,x,y)\. Over the same sample time period used to determine day/night, the mean energy difference of all the bright non-background pixels, and the mean or average energy difference of all the dark non-background pixels are computed and denoted as Ebright and E ark, respectively. For computational efficiency, one can classify a sparse sampling of the pixels rather than attempting to classify each pixel. This sparse sampling can be specified by the user, using an image mask, so that the sampling occurs only in those places where transitory objects are likely to appear. As an example, in a traffic monitoring application, a sampling mask that restricted sampling only to image locations that fell on the roadway can be used. The size of the set produced by the neighborhood function W that is used to compute the energy may vary with pixel location (x,y) or may be a fixed size independent of location. W may be derived from the same mask that is used to select the pixels that are to be classified as background or non-background. The same principle may be applied within the routine 200 for determining scene illumination.
At step 308, the routine processes the values Edark and Ebright to detect the presence of shadows in the scene. Specifically, empirical study has shown that under typical shadow conditions on smooth background surfaces such as roadways, EdarklEbright> 1.2. Under diffuse illumination, for example on overcast day, in outdoor scenes, or when shadows are quite short, Edark/Ebrigflt is significantly smaller. This is because the neighborhood window function W used in the energy measure typically spans both the object and the background, and therefore the energy function measures the contrast between the object and the background. In brightly-lit scenes where shadows are likely, the background is likely to appear quite bright, and therefore bright objects will contrast less sharply against the background than will dark objects. At step 310, the presence of fog, haze, or smoke is detected by examining the magnitude of Ebright and EdaTk- In well-lit conditions, Edark should be greater than some minimum; otherwise the scene has poor contrast and fog is likely. In poorly-lit conditions, Ebright should be greater than some minimum; otherwise, fog is likely.
It is to be understood that the apparatus and method of operation taught herein are illustrative of the invention. Modifications may readily be devised by those skilled in the art without departing from the spirit or scope of the invention. The invention can be used in any system for automatic surveillance and monitoring or wherever a need exists to determine ambient conditions from a sequence of images.

Claims

What is claimed is:
1. A method for detecting ambient conditions of a scene represented by a sequence of images comprising the steps of: generating a reference image containing background information regarding the scene; comparing, pixel-by-pixel, each of said images in said sequence of images to said reference image; classifying, in response to each comparison, the pixels of said images as either background or non-background; comparing a brightness measure of each non-background pixel, computed over a neighborhood of pixels local to that pixel, against a threshold; and processing each non-background pixel to determine the ambient conditions of the scene.
2. The method of claim 1 wherein the processing step further comprises: classifying, in response to said comparison, each of said non-background pixels as either bright or dark; sum the number of bright and dark pixels over a number of images; and process the sums of bright and dark pixels to determine if the scene is well-lit or poorly-lit.
3. The method of claim 1 wherein the threshold is the brightness measure obtained over a corresponding neighborhood of pixels in the reference image.
4. The method of claim 1 wherein the processing step further comprises the steps of: classifying, in response to said comparison, each of said non- background pixels as either bright or dark; comparing an energy value of each pixel in said image to an energy value in each pixel of said reference image; determining a mean energy difference of all bright non-background pixels and a mean energy difference for all dark non-background pixels; process the mean energy difference of the dark and bright pixels to determine if the scene contains shadows.
5. The method of claim 1 wherein the processing step further comprises the steps of: classifying, in response to said comparison, each of said non-background pixels as either bright or dark; comparing an energy value of each pixel in said image to an energy value in each pixel of said reference image; determining a mean energy difference of all bright non-background pixels and a mean energy difference for all dark non-background pixels; determining an absolute magnitude of the mean energy difference of all bright non-background pixels and an absolute magnitude of the mean energy difference for all dark non-background pixels; and process the absolute magnitude of the mean energy difference of the dark and bright pixels to determine if the scene contains fog or haze.
6. Apparatus (100) for detecting ambient conditions of a scene represented by a sequence of images comprising: a reference image generator (110) for generating a reference image containing background information regarding the scene; means (116), coupled to said reference image generator, for comparing, pixel-by-pixel, each of said images in said sequence of images to said reference image; an illumination processor (122), coupled to said comparing means, for classifying, in response to each comparison, the pixels of said images as either background or non-background, for comparing a brightness measure of each non-background pixel, computed over a neighborhood of pixels local to that pixel, against a threshold, and for processing each non-background pixel to determine the ambient conditions of the scene.
7. The apparatus of claim 6 wherein the illumination processor further comprises: means (202) for classifying, in response to said comparison, each of 5 said non-background pixels as either bright or dark; means (204, 206) for summing the number of bright and dark pixels over a number of images; and means (208) for processing the sums of bright and dark pixels to determine if the scene is well-lit or poorly-lit. 10
8. The apparatus of claim 6 wherein the threshold is the brightness measure obtained over a corresponding neighborhood of pixels in the reference image.
15 9. The method of claim 6 wherein the illumination processor further comprises: means (302) for comparing an energy value of each pixel in said image to an energy value in each pixel of said reference image; means (304, 306) for determining a mean energy difference of all 20 bright non-background pixels and a mean energy difference for all dark non-background pixels; and means (308) for processing the mean energy difference of the dark and bright pixels to determine if the scene contains shadows.
25 10. The apparatus of claim 6 wherein the illumination processor further comprises: means (302) for classifying, in response to said comparison, each of said non-background pixels as either bright or dark; means (304, 306) for determining a mean energy difference of all 30 bright non-background pixels and a mean energy difference for all dark non-background pixels; means (310) for determining an absolute magnitude of the mean energy difference of all bright non-background pixels and an absolute magnitude of the mean energy difference for all dark non-background pixels; and means (310) for processing the absolute magnitude of the mean energy difference of the dark and bright pixels to determine if the scene contains fog or haze.
PCT/US1996/017555 1995-10-31 1996-10-30 Method and apparatus for determining ambient conditions from an image sequence WO1997016926A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US610095P 1995-10-31 1995-10-31
US60/006,100 1995-10-31

Publications (1)

Publication Number Publication Date
WO1997016926A1 true WO1997016926A1 (en) 1997-05-09

Family

ID=21719304

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1996/017555 WO1997016926A1 (en) 1995-10-31 1996-10-30 Method and apparatus for determining ambient conditions from an image sequence

Country Status (2)

Country Link
US (1) US6037976A (en)
WO (1) WO1997016926A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000023959A1 (en) * 1998-10-20 2000-04-27 Vsd Limited Smoke detection
FR2839933A1 (en) * 2002-05-27 2003-11-28 Bernard Jean Francois C Roquet Aid to driving motor vehicle in bad external visibility, uses video camera capturing view ahead for display on a screen, with automatic cleaning of camera and filters against oncoming bright lights or low sun
FR2847367A1 (en) * 2002-11-19 2004-05-21 Valeo Vision Visibility distance determining method for use in command/control system of head light/vehicle fog light, involves determining visibility distance for driver based on position of point of inflection on image
US6937743B2 (en) 2001-02-26 2005-08-30 Securiton, AG Process and device for detecting fires based on image analysis
US7002478B2 (en) 2000-02-07 2006-02-21 Vsd Limited Smoke and flame detection
FR2923016A1 (en) * 2007-10-31 2009-05-01 Valeo Vision Sa METHOD FOR DETECTING A VISIBILITY DISRUPTION PHENOMENON FOR A VEHICLE.
US7978917B2 (en) 2004-10-28 2011-07-12 British Telecommunications Public Limited Company Method and system for processing video data including foreground extraction

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7650015B2 (en) 1997-07-22 2010-01-19 Image Processing Technologies. LLC Image processing method
JPH10341367A (en) * 1997-06-06 1998-12-22 Toshiba Corp Still image generating method and still image fetch system
KR20010033768A (en) * 1997-12-31 2001-04-25 프레데릭 티. 바우어 Vehicle vision system
US6529132B2 (en) * 1998-02-27 2003-03-04 Societe Industrielle D'avation Latecoere Device for monitoring an enclosure, in particular the hold of an aircraft
FR2817986B1 (en) * 2000-12-07 2003-03-28 Lyon Ecole Centrale METHOD FOR CLASSIFYING A COLOR IMAGE ACCORDING TO OUTDOOR OR INDOOR SHOOTING
US7577274B2 (en) * 2003-09-12 2009-08-18 Honeywell International Inc. System and method for counting cars at night
US7672530B2 (en) * 2005-01-27 2010-03-02 Tandent Vision Science, Inc. Method and system for identifying illumination flux in an image
US8045761B2 (en) * 2006-05-30 2011-10-25 Intelliview Technologies Inc. Detection of environmental conditions in a sequence of images
US7639874B2 (en) * 2006-08-03 2009-12-29 Tandent Vision Science, Inc. Methods for discriminating moving objects in motion image sequences
JP4784452B2 (en) * 2006-09-12 2011-10-05 株式会社デンソー In-vehicle fog determination device
CN101395643B (en) * 2006-09-25 2011-12-14 西门子公司 Detection of smoke with a video camera
EP1916624B1 (en) * 2006-10-25 2016-11-23 Agfa HealthCare NV Method for segmenting a digital medical image.
JP4321591B2 (en) * 2007-01-11 2009-08-26 株式会社デンソー In-vehicle fog determination device
DE102007029476A1 (en) * 2007-06-26 2009-01-08 Robert Bosch Gmbh Image processing apparatus for shadow detection and suppression, method and computer program
TWI389559B (en) * 2009-08-14 2013-03-11 Ind Tech Res Inst Foreground image separation method
US8532336B2 (en) 2010-08-17 2013-09-10 International Business Machines Corporation Multi-mode video event indexing
US8666190B1 (en) 2011-02-01 2014-03-04 Google Inc. Local black points in aerial imagery
CN104520913B (en) * 2012-07-03 2016-12-07 歌乐株式会社 Vehicle environment identification device
US9015099B2 (en) 2012-08-14 2015-04-21 Sri International Method, system and device for inferring a mobile user's current context and proactively providing assistance
US10163058B2 (en) 2012-08-14 2018-12-25 Sri International Method, system and device for inferring a mobile user's current context and proactively providing assistance
US9659237B2 (en) * 2012-10-05 2017-05-23 Micro Usa, Inc. Imaging through aerosol obscurants
US9798799B2 (en) 2012-11-15 2017-10-24 Sri International Vehicle personal assistant that interprets spoken natural language input based upon vehicle context
US9085303B2 (en) 2012-11-15 2015-07-21 Sri International Vehicle personal assistant
US9538081B1 (en) 2013-03-14 2017-01-03 Amazon Technologies, Inc. Depth-based image stabilization
US9805718B2 (en) 2013-04-19 2017-10-31 Sri Internaitonal Clarifying natural language input using targeted questions
WO2015031478A1 (en) 2013-08-28 2015-03-05 Gentex Corporation Imaging system and method for fog detection
KR102166334B1 (en) * 2014-02-19 2020-10-15 삼성전자주식회사 Method and device for processing image data
JP6284408B2 (en) * 2014-04-03 2018-02-28 オリンパス株式会社 Image processing apparatus, imaging apparatus, determination method, driving method, imaging method, and program
US10127448B2 (en) * 2014-08-27 2018-11-13 Bae Systems Information And Electronic Systems Integration Inc. Method and system for dismount detection in low-resolution UAV imagery
US9615009B1 (en) * 2015-02-26 2017-04-04 Brian K. Buchheit Dynamically adjusting a light source within a real world scene via a light map visualization manipulation
US11477302B2 (en) 2016-07-06 2022-10-18 Palo Alto Research Center Incorporated Computer-implemented system and method for distributed activity detection
EP3276529A1 (en) * 2016-07-28 2018-01-31 Araani BVBA Efficient smoke detection based on video data processing

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5107345A (en) * 1990-02-27 1992-04-21 Qualcomm Incorporated Adaptive block size image compression method and system
US5122873A (en) * 1987-10-05 1992-06-16 Intel Corporation Method and apparatus for selectively encoding and decoding a digital motion video signal at multiple resolution levels
US5231484A (en) * 1991-11-08 1993-07-27 International Business Machines Corporation Motion video compression system with adaptive bit allocation and quantization
US5276513A (en) * 1992-06-10 1994-01-04 Rca Thomson Licensing Corporation Implementation architecture for performing hierarchical motion analysis of video images in real time
US5365271A (en) * 1991-12-27 1994-11-15 Mitsubitshi Denki Kabushiki Kaisha Information source encoding apparatus
US5392223A (en) * 1992-07-29 1995-02-21 International Business Machines Corp. Audio/video communications processor
US5400087A (en) * 1992-07-06 1995-03-21 Mitsubishi Denki Kabushiki Kaisha Motion vector detecting device for compensating for movements in a motion picture
US5414469A (en) * 1991-10-31 1995-05-09 International Business Machines Corporation Motion video compression system with multiresolution features
US5537155A (en) * 1994-04-29 1996-07-16 Motorola, Inc. Method for estimating motion in a video sequence
US5546129A (en) * 1995-04-29 1996-08-13 Daewoo Electronics Co., Ltd. Method for encoding a video signal using feature point based motion estimation
US5581309A (en) * 1992-02-03 1996-12-03 Sanyo Electric Co., Ltd. Motion vector detecting circuit

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5162914A (en) * 1987-06-09 1992-11-10 Canon Kabushiki Kaisha Image sensing device with diverse storage fumes used in picture composition
US4811090A (en) * 1988-01-04 1989-03-07 Hypervision Image emission microscope with improved image processing capability
US5267333A (en) * 1989-02-28 1993-11-30 Sharp Kabushiki Kaisha Image compressing apparatus and image coding synthesizing method
CA2074488A1 (en) * 1990-02-16 1991-08-17 Georges Cornuejols Device for increasing the dynamic range of a camera
US5099322A (en) * 1990-02-27 1992-03-24 Texas Instruments Incorporated Scene change detection system and method
US5161107A (en) * 1990-10-25 1992-11-03 Mestech Creation Corporation Traffic surveillance system
US5495536A (en) * 1991-05-08 1996-02-27 Sandia Corporation Image processing system and method for recognizing and removing shadows from the image of a monitored scene
US5275354A (en) * 1992-07-13 1994-01-04 Loral Vought Systems Corporation Guidance and targeting system
US5631976A (en) * 1994-04-29 1997-05-20 International Business Machines Corporation Object imaging system
KR0177937B1 (en) * 1994-08-04 1999-05-01 구자홍 Automatic image control method and apparatus of image apparatus

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5122873A (en) * 1987-10-05 1992-06-16 Intel Corporation Method and apparatus for selectively encoding and decoding a digital motion video signal at multiple resolution levels
US5107345A (en) * 1990-02-27 1992-04-21 Qualcomm Incorporated Adaptive block size image compression method and system
US5414469A (en) * 1991-10-31 1995-05-09 International Business Machines Corporation Motion video compression system with multiresolution features
US5231484A (en) * 1991-11-08 1993-07-27 International Business Machines Corporation Motion video compression system with adaptive bit allocation and quantization
US5365271A (en) * 1991-12-27 1994-11-15 Mitsubitshi Denki Kabushiki Kaisha Information source encoding apparatus
US5581309A (en) * 1992-02-03 1996-12-03 Sanyo Electric Co., Ltd. Motion vector detecting circuit
US5276513A (en) * 1992-06-10 1994-01-04 Rca Thomson Licensing Corporation Implementation architecture for performing hierarchical motion analysis of video images in real time
US5400087A (en) * 1992-07-06 1995-03-21 Mitsubishi Denki Kabushiki Kaisha Motion vector detecting device for compensating for movements in a motion picture
US5392223A (en) * 1992-07-29 1995-02-21 International Business Machines Corp. Audio/video communications processor
US5537155A (en) * 1994-04-29 1996-07-16 Motorola, Inc. Method for estimating motion in a video sequence
US5546129A (en) * 1995-04-29 1996-08-13 Daewoo Electronics Co., Ltd. Method for encoding a video signal using feature point based motion estimation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUANG et al., "A New Motion Compensation Method for Image Sequence Coding Using Hierarchical Grid Interpolation", February 1994, Vol. 4, No. 1, pages 42-51. *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6844818B2 (en) 1998-10-20 2005-01-18 Vsd Limited Smoke detection
GB2346213A (en) * 1998-10-20 2000-08-02 Vsd Limited Smoke detection
GB2346213B (en) * 1998-10-20 2001-03-07 Vsd Ltd Smoke detection
AU764323B2 (en) * 1998-10-20 2003-08-14 Vsd Limited Smoke detection
WO2000023959A1 (en) * 1998-10-20 2000-04-27 Vsd Limited Smoke detection
US7002478B2 (en) 2000-02-07 2006-02-21 Vsd Limited Smoke and flame detection
US6937743B2 (en) 2001-02-26 2005-08-30 Securiton, AG Process and device for detecting fires based on image analysis
FR2839933A1 (en) * 2002-05-27 2003-11-28 Bernard Jean Francois C Roquet Aid to driving motor vehicle in bad external visibility, uses video camera capturing view ahead for display on a screen, with automatic cleaning of camera and filters against oncoming bright lights or low sun
EP1422663A1 (en) * 2002-11-19 2004-05-26 Valeo Vision Method and apparatus for determining the distance of visibility of the driver of a vehicle
FR2847367A1 (en) * 2002-11-19 2004-05-21 Valeo Vision Visibility distance determining method for use in command/control system of head light/vehicle fog light, involves determining visibility distance for driver based on position of point of inflection on image
US7978917B2 (en) 2004-10-28 2011-07-12 British Telecommunications Public Limited Company Method and system for processing video data including foreground extraction
FR2923016A1 (en) * 2007-10-31 2009-05-01 Valeo Vision Sa METHOD FOR DETECTING A VISIBILITY DISRUPTION PHENOMENON FOR A VEHICLE.
EP2056093A1 (en) * 2007-10-31 2009-05-06 Valeo Vision Method for detection of a phenomenon perturbating the visibility for a vehicule
JP2009134703A (en) * 2007-10-31 2009-06-18 Valeo Vision Method for detecting phenomenon limiting visibility of motor vehicle
US8315766B2 (en) 2007-10-31 2012-11-20 Valeo Vision Process for detecting a phenomenon limiting the visibility for a motor vehicle

Also Published As

Publication number Publication date
US6037976A (en) 2000-03-14

Similar Documents

Publication Publication Date Title
US6037976A (en) Method and apparatus for determining ambient conditions from an image sequence, such as fog, haze or shadows
US6434254B1 (en) Method and apparatus for image-based object detection and tracking
US5847755A (en) Method and apparatus for detecting object movement within an image sequence
Cucchiara et al. Detecting moving objects, ghosts, and shadows in video streams
Fathy et al. An image detection technique based on morphological edge detection and background differencing for real-time traffic analysis
US10127448B2 (en) Method and system for dismount detection in low-resolution UAV imagery
CA2680646C (en) Moving object noise elimination processing device and moving object noise elimination processing program
US8045761B2 (en) Detection of environmental conditions in a sequence of images
JP3816887B2 (en) Apparatus and method for measuring length of vehicle queue
US8019157B2 (en) Method of vehicle segmentation and counting for nighttime video frames
US7177445B2 (en) Discriminating between changes in lighting and movement of objects in a series of images using different methods depending on optically detectable surface characteristics
KR20010000107A (en) System tracking and watching multi moving object
CN111860120A (en) Automatic shielding detection method and device for vehicle-mounted camera
KR101026778B1 (en) Vehicle image detection apparatus
JPH09282452A (en) Monitor
Jiang et al. Tracking objects with shadows
Bhandarkar et al. Fast and robust background updating for real-time traffic surveillance and monitoring
KR100801989B1 (en) Recognition system for registration number plate and pre-processor and method therefor
Lanza et al. Detecting changes in grey level sequences by ML isotonic regression
Halkarnikar et al. Object detection under noisy condition
JP2004208209A (en) Device and method for monitoring moving body
Oron Motion estimation and image difference for multi-object tracking
JP2001169270A (en) Image supervisory device and image supervisory method
Tiwari et al. Improved Algorithm for Object Tracking in Video Camera Network
Vannoorenberghe et al. Motion detection for non-rigid objects. Application to pedestrians monitoring in urban environment

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CA JP KR

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: JP

Ref document number: 97517576

Format of ref document f/p: F

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: CA