WO2001054412A1 - Apparatus and method for storing and reading digital images - Google Patents

Apparatus and method for storing and reading digital images Download PDF

Info

Publication number
WO2001054412A1
WO2001054412A1 PCT/SE2001/000016 SE0100016W WO0154412A1 WO 2001054412 A1 WO2001054412 A1 WO 2001054412A1 SE 0100016 W SE0100016 W SE 0100016W WO 0154412 A1 WO0154412 A1 WO 0154412A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
reference image
storage device
differential
images
Prior art date
Application number
PCT/SE2001/000016
Other languages
French (fr)
Inventor
Carl-Axel Alm
Original Assignee
Axis Ab
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 Axis Ab filed Critical Axis Ab
Priority to AU28944/01A priority Critical patent/AU2894401A/en
Publication of WO2001054412A1 publication Critical patent/WO2001054412A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/507Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction using conditional replenishment
    • 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/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source

Definitions

  • the present invention generally relates to storing and reading digital images in and from a storage device . More particularly, the present invention is directed at providing a reduction in storage space when storing a large number of digital images, typically in the form of a sequence of images from a surveillance camera.
  • Surveillance camera systems are commonly used for monitoring various business areas, such as cashier windows at a bank or gambling tables at a casino.
  • surveillance systems have included analog video cameras, which continuously record all activities within a surveillance zone on a magnetic tape cassette, such as a standard VHS cassette.
  • cassettes typically have a nominal recording time of a few hours, e.g. 2, 4 or 8 hours. When a tape cassette has been fully recorded, the cassette will have to be substituted by an empty one by a human operator .
  • the maximum recording time may be increased by re- ducing the speed, at which the magnetic tape is moved in relation to the recording head, thereby reducing the number of frames stored per second.
  • the maximum recording time for a standard VHS tape may be extended to e.g. 48 hours, thereby obviously also extending the time between cassette substitution correspondingly.
  • the penalty for not having to switch tapes as frequently is a substantial reduction in image quality for the entire recording time.
  • the output of digital cameras is stored on an appropriate storage medium, such as a magnetic disk (hard disk) , an optical disk (CD, DVD) or a digital magnetic tape (DAT) .
  • an appropriate storage medium such as a magnetic disk (hard disk) , an optical disk (CD, DVD) or a digital magnetic tape (DAT) .
  • the output of analog cameras may be digitized into a sequence of digital images to be stored on such a storage medium.
  • the images are usually compressed by way of a data compression algorithm, such as JPEG, wavelet or fractal compression, wherein certain image information is eliminated and the amount of storage space is reduced accordingly for each individual image .
  • a data compression algorithm such as JPEG, wavelet or fractal compression
  • digital video sequences are normally compressed through MPEG compression, which operates in a differential manner in that the redundancy between subsequent images is reduced by discrete Fourier transforms. More specifically, certain individual images are treated as isolated still images and act as base or reference frames (also known as “intra frames") for surrounding images . Such surrounding frames are referred to as either “predicted frames” or “bidirectional frames", and the compression aims at minimizing the redundancy of these frames with respect to their corresponding intra frame.
  • every 12 th image is an intra frame; in other words , an intra frame occurs once every 0.4 seconds in a 30 fps video sequence.
  • a fixed surveillance camera In a typical, fairly simple surveillance application, such as the monitoring of an automatic teller machine (ATM) , a fixed surveillance camera is used without any options for panning, tilting or zooming. In such a case, normally all images will look essentially the same for long periods of time (for instance, during all the time periods when no customer is using the ATM) . Even MPEG compression would be a waste of storage space, since every 0.4 seconds a non-MPEG-compressed intra frame is stored, which very likely will look virtually identical to the previous intra frame as well as the ones before that.
  • ATM automatic teller machine
  • US-5,519,436 relates to a video teleconferencing system including a video controller with means for storing a reference image, means for receiving a foreground image, means for comparing the reference image with the foreground image, thereby identifying matching pixels, and means for replacing the matching pixels in the foreground image with null pixels.
  • the reference image is intended to represent a fixed background and is initially captured and stored in the video controller at system start-up. The reference image then remains static or unmodified in a video memory of the video controller during the operation of the system.
  • the thus modified foreground image may be processed more efficiently by a video compression algorithm and may also be more expediently transferred across a network.
  • the system of US-5,519,436 is capable of reducing the amount of storage space required for storing the video images.
  • the system has a drawback in that the static reference image is generated once and for all at start-up and is never updated from that moment.
  • the background will not remain completely static, as the environment will change over time. For instance, the light situation may change from dark to light or vice versa depending on the time of day, objects in the background may be moved, the video camera may be unintentionally tilted or moved in position, etc.
  • the difference between a current foreground image and the initially generated background image will grow larger over time, since the pixel information in the two images will be more and more different from each other. Therefore, the resulting file size of the processed fore- ground image, i.e. the storage space occupied when storing the foreground image, will grow larger and larger.
  • the object is achieved by an apparatus for storing digital images having a storage device and an image processing device.
  • the image processing device receives an individual digital image, determines a difference between the digital image and a current reference image and stores this difference as a differential image in the storage device .
  • Reference image updating means is provided for determining when to generate a new reference image . A new reference image thus generated will replace the current reference image and will be stored as current reference image in the storage device. For each individual differen- tial image an identifying reference to the current reference image is stored in the storage device.
  • An individual differential image may subsequently be read together with the particular reference image, which was used as current reference image when producing the differential image in question.
  • a non-differential image is produced by adding the individual differential image to the identified reference image.
  • FIG 1 is a schematic block diagram of a preferred embodiment of an apparatus according to the invention, when used in a camera surveillance application
  • FIG 2 is a schematic block diagram of an alternative embodiment of an apparatus according to the invention, when used in a camera surveillance application,
  • FIGs 3A-3C give an illustration of the different types of images involved in the present invention
  • FIG 4 is a flowchart diagram of an image storing routine according to the invention
  • FIG 5 is a flowchart diagram of a routine for generating a reference image according to the invention.
  • FIG 6 is a flowchart diagram of a routine according to the invention for determining whether a new reference image is to be generated
  • FIG 7 is a flowchart diagram of an image reading routine according to the invention.
  • FIG 1 is an overall view of a camera surveillance application, in which the invention may be implemented.
  • a camera 120 is arranged to monitor a surveillance zone 110, which may be any given volume or area, which for some reason it is desired to monitor.
  • the surveillance zone 110 may be a selected part of a bank, a post office, a casino, a factory, office premises, a prison, a criminal custody or detention room, a police station, a house garden, a garage or any other area of surveillance.
  • the camera 110 is assumed in the following to be a digital camera, which is arranged to provide a sequence of snapshot or still images at a predetermined rate, such as 1-25 fps.
  • the camera 110 may equally well be a conventional analog camera, providing analog image output, which is converted into digital images by a commercially available digitizer.
  • the camera 120 of FIG 1 is connected to a computer 130, by which the present invention is implemented according to a preferred embodiment.
  • the computer 130 may be any commercially available computer such as a stationary personal computer, a lap-top computer, a work station, etc. It may be provided with any commercially available operating system, such as Microsoft Windows 9x, Microsoft Windows NT, Microsoft Windows 2000, Unix, Linux, etc.
  • the computer 130 comprises a central processing unit (CPU) 132, which is coupled to a hard disk 134 and a random access memory (RAM) 136, as is generally known per se .
  • the CPU 132 is also connected to a camera interface 138, by means of which the camera 120 may be operatively connected to the computer 130.
  • the CPU 132 is also connected to a monitor interface 142 for connecting any conventional computer monitor, such as a CRT monitor or an LCD display, to the computer 130.
  • the CPU 132 is connected to a network interface 140, which may be used for connecting the computer 130 to a network 150, such as a local area network (e.g. an Ethernet or Token Ring network), which in turn may be a part of a wide area network, such as the Internet .
  • a network 150 such as a local area network (e.g. an Ethernet or Token Ring network), which in turn may be a part of a wide area network, such as the Internet .
  • a network 150 such as a local area network (e
  • the computer 130 is used according to the invention for receiving and storing a plurality of digital images captured by the camera 120. As will be described in more detail below, the computer 130 is arranged to determine a reference image, which will represent an essentially static background of the surveillance zone 110. Subsequently, once the reference image has been determined, the computer 130 will only store the respective differences between individual digital images and the reference image. In this way, less storage space will be occupied by each image.
  • FIG 3A illustrates an actual image 300, as captured by the camera 120 and supplied to the computer 130 through the camera interface 138.
  • the actual image 300 comprises various objects, such as a door 311, a computer 312 and a telephone 314 residing on a shelf 313, and a window 315 (see FIG 3B) , as well as a moving person 321 (see FIG 3C) .
  • the door 311, the computer 312, the shelf 313, the telephone 314 and the window 315 all look essentially the same in the various images produced by the camera 120.
  • the computer 130 is adapted to generate a reference image 310, which is shown in FIG 3B and contains those parts of the actual image 300, which belong to the background of the image and are therefore essentially static.
  • the moving person 321 will only appear momentarily in one actual image 300, or at least only in a limited sequence of such images.
  • the computer 130 is adapted to produce a differential image 320, which will only contain the non-static part of the actual image 300, i.e. the moving person 321, and will therefore occupy less storage space.
  • All differential images 320 are stored by the CPU 132 in the hard disk 134.
  • the reference image 310 is also stored in the hard disk 134. In order to facilitate the operation of the CPU 132, a copy of the reference image 310 is kept in the RAM memory 136, which has a much faster access time than the hard disk 134.
  • the differential image 320 is produced, pixel by pixel, by subtracting a pixel value of the reference image 310 from a corresponding pixel value of the actual image 300.
  • the differential images 320 are compressed according to any compression algorithm known per se, such as JPEG compression, wavelet compression or fractal compression, before they are stored in the hard disk 134.
  • the differential images 320 stored in the hard disk 134 may subsequently be read by the computer 130 and e.g. be presented on a monitor connected to the monitor inter- face 142, or alternatively be transmitted across the network 150 via the network interface 140.
  • the CPU 132 will decompress the differential image 320, when it has been read from the hard disk 134. Then, for each pixel, the pixel value of the reference image 310 will be added to the corresponding pixel value of the differential image 320, thereby restoring the actual image 300, which may then be displayed on a monitor or transmitted across the network.
  • the environment in the surveillance zone 110 will change over time, e.g. due to different light situations depending on the time of day, because any of the portable background objects 312 or 314 has been moved, intentionally or not, by a human user, because the door 311 has been opened or closed, because curtains in front of the window 315 have been moved, etc.
  • the difference between the actual images 300 and the originally generated reference image 310 will grow bigger and bigger, resulting in differential images 320 of increasing size.
  • the existing reference image 310 will be replaced by a new reference image, which better represents the static background of the images produced in the surveillance zone 110, when it is determined that the existing reference image 310 does not sufficiently well represent the background of the actual image 300. Principles for generating such new reference images will be described in more detail below and are also illustrated in FIGs 5 and 6.
  • FIG 4 illustrates an image storing routine 400, which is executed by the CPU 132 of the computer 130 shown in FIG 1.
  • routine 400 executed by the CPU 132 of the computer 130 shown in FIG 1.
  • various registers, memories and variables are initialized.
  • a step 420 a first reference image is generated. The generation of a reference image will be described in more detail with reference to FIG 5.
  • step 430 it is determined whether the current reference image is still a satisfactory representation of the static background of the surveillance zone 110. The details of step 430 will be described in more detail below with reference to FIG 6.
  • a differential image 320 is calculated as the pixelwise difference between the actual image 300 and the reference image 310, as has already been described above .
  • the differential image 320 produced in step 450 is compressed in a step 460. Then, in a step 470, the compressed differential image 320 is stored in the hard disk 134. Moreover, together with the differential image 320 a pointer, reference or other type of identifying information is stored, which identify the current reference image 310, which was used in step 450 for producing the differential image 320. The reason for doing in this way is that when the stored differential images 320 are to be read by the computer 130 at a later moment, the CPU 132 will need to know which reference image 310, that was used in step 450 for producing the differential image 320, in order to restore the actual image 300.
  • step 640 the execution is terminated in a step 650.
  • the determination as to whether a new reference image is to be produced may be performed by continuously monitoring a resulting file size of the individual differential images 320.
  • a predetermined limit i.e. a predetermined number of bytes
  • FIG 7 illustrates an image reading routine 700 performed by the CPU 132 for reading differential images 320 stored in the hard disk 134.
  • necessary initialization is performed in a first step 710.
  • a step 720 an individual differential image 320 is read from the hard disk 134 into the RAM memory 136, together with the pointer or identifying reference to the particular reference image, which was used as current reference image 310, when the individual differential image 320 was produced.
  • a step 730 it is first determined whether the reference image identified in step 720 is identical to the current reference image kept in the RAM memory 136. If this is the case, then the execution continues to a step 740. Otherwise, the reference image in question is read from the hard disk 134 into the RAM memory 136.
  • the compressed differential image 320 is decompressed.
  • an actual image 300 is produced by adding, pixel by pixel, the differential image 320 to the reference image 310.
  • the actual image 300 thus produced is then output in a last step 760.
  • the actual image 300 may for instance be presented on a monitor connected to the computer 130 through the monitor interface 142. Alternatively, the actual image 300 may be transmitted across the network 150 via the network interface 140.
  • the execution is transferred back to the beginning of step 720, wherein a loop is formed. This loop continues as long as there are still differential images 320 to be read from the hard disk 134, or until the execution is terminated by the CPU 132 for other reasons .
  • the preferred embodiment of the invention has been described above with reference to FIG 1 and FIGs 4-7, where the invention is implemented as a combination of software and hardware in a computer 130.
  • the apparatus 230 comprises a camera interface 238 for connecting a camera 220 to the apparatus 230.
  • An image processing unit 244 is coupled at an input thereof to the camera interface 238 and also to a RAM memory 236 as well as to a central processing unit 232.
  • the central processing unit (CPU) 232 is coupled to a hard disk 234 and to a network interface 240, by means of which the apparatus 230 may be connected to a network 250.
  • the RAM memory 236 will contain the current reference image 310.
  • the image processing unit 244 is adapted to receive an actual image 300 from the camera 220, calculate a differential image 320 as the pixelwise difference between the actual image 300 and the reference image 310, compress the differential image 320, and forward the differential image to the CPU 232, which will store the differential image 320 in the hard disk 234 together with a pointer or other identifying reference to the current reference image 310.
  • the procedures described above with reference to FIGs 5 and 6 for generating a new reference image and for determining whether such a new reference image must be produced, are carried out by the image processing unit 244 and the CPU 232 in essentially the same way, as has been described above.
  • the differential images 320 stored in the hard disk 234 are read and restored to actual images 300 in essentially the same way, as has been described above.
  • the digital camera 220 may be integrated into the apparatus 230, thereby eliminating the need for a separate camera interface 238.
  • the image processing unit 244 may be implemented by any commercially available programmable logic device, such a microprocessor, a digital signal processor (DSP) , or as an ASIC circuit.
  • the hard disk 234 may be integrated with the apparatus 230, as is illustrated in FIG 2, or may alternatively be located externally to the apparatus 230. In the latter case, the hard disk 234 may be connected to the apparatus 230 by a direct cable connection or, alternatively, the hard disk 234 may be operatively coupled to the apparatus 230 through the network 250 and the network interface 240.
  • the present invention has been described above with reference to a preferred and an alternative embodiment.
  • the hard disk 134, 234 may equally well be implemented by any other type of permanent storage medium, such as a magnetic, optical or magnetooptical storage device, or by an electronic memory, such as a large RAM memory.
  • the RAM memory 136, 236 may alternatively be implemented by any other electronic memory, such as an EEPROM memory, a flash memory, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Apparatus For Radiation Diagnosis (AREA)
  • Image Processing (AREA)

Abstract

An apparatus (130) for storing digital images has a storage device (134, 136) for storing a current reference image and a plurality of differential images, and an image processing device (132) coupled to the storage device. The image processing device receives an individual digital image, determines a difference between the individual image and the current reference image, and stores this difference as a differential image in the storage device. The apparatus also has reference image updating means (132) for determining when to generate a new reference image, for generating the new reference image, for replacing the current reference image with the new reference image, and for storing the new reference image as current reference image in the storage device (134, 136).

Description

APPARATUS AND METHOD FOR STORING AND READING DIGITAL IMAGES
Technical Field The present invention generally relates to storing and reading digital images in and from a storage device . More particularly, the present invention is directed at providing a reduction in storage space when storing a large number of digital images, typically in the form of a sequence of images from a surveillance camera.
Background Art
Surveillance camera systems are commonly used for monitoring various business areas, such as cashier windows at a bank or gambling tables at a casino. Traditionally, such surveillance systems have included analog video cameras, which continuously record all activities within a surveillance zone on a magnetic tape cassette, such as a standard VHS cassette. Typically, such cassettes have a nominal recording time of a few hours, e.g. 2, 4 or 8 hours. When a tape cassette has been fully recorded, the cassette will have to be substituted by an empty one by a human operator .
The maximum recording time may be increased by re- ducing the speed, at which the magnetic tape is moved in relation to the recording head, thereby reducing the number of frames stored per second. In this way the maximum recording time for a standard VHS tape may be extended to e.g. 48 hours, thereby obviously also extending the time between cassette substitution correspondingly. However, the penalty for not having to switch tapes as frequently is a substantial reduction in image quality for the entire recording time.
In recent years, digital surveillance cameras have entered the market . Such cameras produce a sequence of digital snapshot images or still images at a constant rate. For instance, European-type digital video cameras produce images at a rate of 25 images or frames per second (fps) , whereas US-type digital video cameras operate at 30 f s. When the sequence of images is played back, the rapid switch between images is transparent to a human observer. Instead, the sequence of snapshot images is experienced as a continuous stream of moving images. It is also known to use less advanced digital still cameras for surveillance purposes, wherein a digital still image is captured for instance each second and is then saved in sequence on an external storage device, such as a computer.
The output of digital cameras is stored on an appropriate storage medium, such as a magnetic disk (hard disk) , an optical disk (CD, DVD) or a digital magnetic tape (DAT) . Similarly, the output of analog cameras may be digitized into a sequence of digital images to be stored on such a storage medium.
The images are usually compressed by way of a data compression algorithm, such as JPEG, wavelet or fractal compression, wherein certain image information is eliminated and the amount of storage space is reduced accordingly for each individual image .
Moreover, digital video sequences are normally compressed through MPEG compression, which operates in a differential manner in that the redundancy between subsequent images is reduced by discrete Fourier transforms. More specifically, certain individual images are treated as isolated still images and act as base or reference frames (also known as "intra frames") for surrounding images . Such surrounding frames are referred to as either "predicted frames" or "bidirectional frames", and the compression aims at minimizing the redundancy of these frames with respect to their corresponding intra frame. Typically, in MPEG-1, every 12th image is an intra frame; in other words , an intra frame occurs once every 0.4 seconds in a 30 fps video sequence.
In a typical, fairly simple surveillance application, such as the monitoring of an automatic teller machine (ATM) , a fixed surveillance camera is used without any options for panning, tilting or zooming. In such a case, normally all images will look essentially the same for long periods of time (for instance, during all the time periods when no customer is using the ATM) . Even MPEG compression would be a waste of storage space, since every 0.4 seconds a non-MPEG-compressed intra frame is stored, which very likely will look virtually identical to the previous intra frame as well as the ones before that.
US-5,519,436 relates to a video teleconferencing system including a video controller with means for storing a reference image, means for receiving a foreground image, means for comparing the reference image with the foreground image, thereby identifying matching pixels, and means for replacing the matching pixels in the foreground image with null pixels. The reference image is intended to represent a fixed background and is initially captured and stored in the video controller at system start-up. The reference image then remains static or unmodified in a video memory of the video controller during the operation of the system. By replacing matching pixels in the foreground image with null pixels, the thus modified foreground image may be processed more efficiently by a video compression algorithm and may also be more expediently transferred across a network. Consequently, the system of US-5,519,436 is capable of reducing the amount of storage space required for storing the video images. The system, however, has a drawback in that the static reference image is generated once and for all at start-up and is never updated from that moment. In reality, however, the background will not remain completely static, as the environment will change over time. For instance, the light situation may change from dark to light or vice versa depending on the time of day, objects in the background may be moved, the video camera may be unintentionally tilted or moved in position, etc. As a result, the difference between a current foreground image and the initially generated background image will grow larger over time, since the pixel information in the two images will be more and more different from each other. Therefore, the resulting file size of the processed fore- ground image, i.e. the storage space occupied when storing the foreground image, will grow larger and larger.
Summary of the Invention
It is therefore an object of the present invention to further reduce the amount of storage space required for storing large sequences of digital images in e.g. a surveillance camera system, where many of the images look essentially the same during long periods of time.
The object is achieved by an apparatus for storing digital images having a storage device and an image processing device. The image processing device receives an individual digital image, determines a difference between the digital image and a current reference image and stores this difference as a differential image in the storage device . Reference image updating means is provided for determining when to generate a new reference image . A new reference image thus generated will replace the current reference image and will be stored as current reference image in the storage device. For each individual differen- tial image an identifying reference to the current reference image is stored in the storage device.
An individual differential image may subsequently be read together with the particular reference image, which was used as current reference image when producing the differential image in question. A non-differential image is produced by adding the individual differential image to the identified reference image.
Other objects, features and advantages of the present invention will appear from the following detailed disclosure of preferred and alternative embodiments, from the drawings as well as from the claims .
Brief Description of the Drawings
The invention will be described in more detail in the following, reference being made to the accompanying drawings, in which:
FIG 1 is a schematic block diagram of a preferred embodiment of an apparatus according to the invention, when used in a camera surveillance application, FIG 2 is a schematic block diagram of an alternative embodiment of an apparatus according to the invention, when used in a camera surveillance application,
FIGs 3A-3C give an illustration of the different types of images involved in the present invention, FIG 4 is a flowchart diagram of an image storing routine according to the invention,
FIG 5 is a flowchart diagram of a routine for generating a reference image according to the invention,
FIG 6 is a flowchart diagram of a routine according to the invention for determining whether a new reference image is to be generated, and
FIG 7 is a flowchart diagram of an image reading routine according to the invention.
Detailed Disclosure
FIG 1 is an overall view of a camera surveillance application, in which the invention may be implemented. A camera 120 is arranged to monitor a surveillance zone 110, which may be any given volume or area, which for some reason it is desired to monitor. Hence, the surveillance zone 110 may be a selected part of a bank, a post office, a casino, a factory, office premises, a prison, a criminal custody or detention room, a police station, a house garden, a garage or any other area of surveillance. The camera 110 is assumed in the following to be a digital camera, which is arranged to provide a sequence of snapshot or still images at a predetermined rate, such as 1-25 fps. However, the camera 110 may equally well be a conventional analog camera, providing analog image output, which is converted into digital images by a commercially available digitizer. The camera 120 of FIG 1 is connected to a computer 130, by which the present invention is implemented according to a preferred embodiment. The computer 130 may be any commercially available computer such as a stationary personal computer, a lap-top computer, a work station, etc. It may be provided with any commercially available operating system, such as Microsoft Windows 9x, Microsoft Windows NT, Microsoft Windows 2000, Unix, Linux, etc.
The computer 130 comprises a central processing unit (CPU) 132, which is coupled to a hard disk 134 and a random access memory (RAM) 136, as is generally known per se . The CPU 132 is also connected to a camera interface 138, by means of which the camera 120 may be operatively connected to the computer 130. The CPU 132 is also connected to a monitor interface 142 for connecting any conventional computer monitor, such as a CRT monitor or an LCD display, to the computer 130. Moreover, the CPU 132 is connected to a network interface 140, which may be used for connecting the computer 130 to a network 150, such as a local area network (e.g. an Ethernet or Token Ring network), which in turn may be a part of a wide area network, such as the Internet .
The computer 130 is used according to the invention for receiving and storing a plurality of digital images captured by the camera 120. As will be described in more detail below, the computer 130 is arranged to determine a reference image, which will represent an essentially static background of the surveillance zone 110. Subsequently, once the reference image has been determined, the computer 130 will only store the respective differences between individual digital images and the reference image. In this way, less storage space will be occupied by each image.
The above is illustrated more clearly in FIGs 3A-3C. FIG 3A illustrates an actual image 300, as captured by the camera 120 and supplied to the computer 130 through the camera interface 138. The actual image 300 comprises various objects, such as a door 311, a computer 312 and a telephone 314 residing on a shelf 313, and a window 315 (see FIG 3B) , as well as a moving person 321 (see FIG 3C) . Among these objects, the door 311, the computer 312, the shelf 313, the telephone 314 and the window 315 all look essentially the same in the various images produced by the camera 120. Consequently, the computer 130 is adapted to generate a reference image 310, which is shown in FIG 3B and contains those parts of the actual image 300, which belong to the background of the image and are therefore essentially static. Correspondingly, the moving person 321 will only appear momentarily in one actual image 300, or at least only in a limited sequence of such images. The computer 130 is adapted to produce a differential image 320, which will only contain the non-static part of the actual image 300, i.e. the moving person 321, and will therefore occupy less storage space.
All differential images 320 are stored by the CPU 132 in the hard disk 134. The reference image 310 is also stored in the hard disk 134. In order to facilitate the operation of the CPU 132, a copy of the reference image 310 is kept in the RAM memory 136, which has a much faster access time than the hard disk 134. The differential image 320 is produced, pixel by pixel, by subtracting a pixel value of the reference image 310 from a corresponding pixel value of the actual image 300. Preferably, the differential images 320 are compressed according to any compression algorithm known per se, such as JPEG compression, wavelet compression or fractal compression, before they are stored in the hard disk 134.
The differential images 320 stored in the hard disk 134 may subsequently be read by the computer 130 and e.g. be presented on a monitor connected to the monitor inter- face 142, or alternatively be transmitted across the network 150 via the network interface 140. When reading the differential images 320 from 310 from the RAM memory 136 as well as an individual differential image 320 from the hard disk 134. If the differential image 320 was compressed before it was stored in the hard disk 134, the CPU 132 will decompress the differential image 320, when it has been read from the hard disk 134. Then, for each pixel, the pixel value of the reference image 310 will be added to the corresponding pixel value of the differential image 320, thereby restoring the actual image 300, which may then be displayed on a monitor or transmitted across the network.
The environment in the surveillance zone 110 will change over time, e.g. due to different light situations depending on the time of day, because any of the portable background objects 312 or 314 has been moved, intentionally or not, by a human user, because the door 311 has been opened or closed, because curtains in front of the window 315 have been moved, etc. As a consequence, the difference between the actual images 300 and the originally generated reference image 310 will grow bigger and bigger, resulting in differential images 320 of increasing size. According to the invention, the existing reference image 310 will be replaced by a new reference image, which better represents the static background of the images produced in the surveillance zone 110, when it is determined that the existing reference image 310 does not sufficiently well represent the background of the actual image 300. Principles for generating such new reference images will be described in more detail below and are also illustrated in FIGs 5 and 6.
FIG 4 illustrates an image storing routine 400, which is executed by the CPU 132 of the computer 130 shown in FIG 1. In a first step 410, various registers, memories and variables are initialized. Then, in a step 420 a first reference image is generated. The generation of a reference image will be described in more detail with reference to FIG 5.
In a step 430 it is determined whether the current reference image is still a satisfactory representation of the static background of the surveillance zone 110. The details of step 430 will be described in more detail below with reference to FIG 6.
In a subsequent step 440, an actual image 300 is received. Then, a differential image 320 is calculated as the pixelwise difference between the actual image 300 and the reference image 310, as has already been described above .
The differential image 320 produced in step 450 is compressed in a step 460. Then, in a step 470, the compressed differential image 320 is stored in the hard disk 134. Moreover, together with the differential image 320 a pointer, reference or other type of identifying information is stored, which identify the current reference image 310, which was used in step 450 for producing the differential image 320. The reason for doing in this way is that when the stored differential images 320 are to be read by the computer 130 at a later moment, the CPU 132 will need to know which reference image 310, that was used in step 450 for producing the differential image 320, in order to restore the actual image 300. t t .— * o ι ι o
Figure imgf000012_0001
illustrated by a step 640 in FIG 6. Otherwise, the execution is terminated in a step 650.
Alternatively, the determination as to whether a new reference image is to be produced may be performed by continuously monitoring a resulting file size of the individual differential images 320. When the file size of a differential image 320 exceeds a predetermined limit, i.e. a predetermined number of bytes, it is determined that a new reference image 310 must be produced. FIG 7 illustrates an image reading routine 700 performed by the CPU 132 for reading differential images 320 stored in the hard disk 134. In a first step 710, necessary initialization is performed. Then, in a step 720 an individual differential image 320 is read from the hard disk 134 into the RAM memory 136, together with the pointer or identifying reference to the particular reference image, which was used as current reference image 310, when the individual differential image 320 was produced. In a step 730, it is first determined whether the reference image identified in step 720 is identical to the current reference image kept in the RAM memory 136. If this is the case, then the execution continues to a step 740. Otherwise, the reference image in question is read from the hard disk 134 into the RAM memory 136. In a subsequent step 740, the compressed differential image 320 is decompressed. In a step 750, an actual image 300 is produced by adding, pixel by pixel, the differential image 320 to the reference image 310. The actual image 300 thus produced is then output in a last step 760. The actual image 300 may for instance be presented on a monitor connected to the computer 130 through the monitor interface 142. Alternatively, the actual image 300 may be transmitted across the network 150 via the network interface 140. Following termination of step 760, the execution is transferred back to the beginning of step 720, wherein a loop is formed. This loop continues as long as there are still differential images 320 to be read from the hard disk 134, or until the execution is terminated by the CPU 132 for other reasons . The preferred embodiment of the invention has been described above with reference to FIG 1 and FIGs 4-7, where the invention is implemented as a combination of software and hardware in a computer 130. According to an alternative embodiment, which is illustrated in FIG 2, the invention is implemented as a dedicated device, which is referred to as an "image storing/reading apparatus 230" in FIG 2. Elements in FIG 2 , which have the same last two digits as a corresponding element in FIG 1, are essentially identical to the latter and are therefore not described in more detail now. The apparatus 230 comprises a camera interface 238 for connecting a camera 220 to the apparatus 230. An image processing unit 244 is coupled at an input thereof to the camera interface 238 and also to a RAM memory 236 as well as to a central processing unit 232. The central processing unit (CPU) 232 is coupled to a hard disk 234 and to a network interface 240, by means of which the apparatus 230 may be connected to a network 250.
In similarity with FIG 1, the RAM memory 236 will contain the current reference image 310. The image processing unit 244 is adapted to receive an actual image 300 from the camera 220, calculate a differential image 320 as the pixelwise difference between the actual image 300 and the reference image 310, compress the differential image 320, and forward the differential image to the CPU 232, which will store the differential image 320 in the hard disk 234 together with a pointer or other identifying reference to the current reference image 310. The procedures described above with reference to FIGs 5 and 6 for generating a new reference image and for determining whether such a new reference image must be produced, are carried out by the image processing unit 244 and the CPU 232 in essentially the same way, as has been described above. Moreover, the differential images 320 stored in the hard disk 234 are read and restored to actual images 300 in essentially the same way, as has been described above.
As an alternative to the above, the digital camera 220 may be integrated into the apparatus 230, thereby eliminating the need for a separate camera interface 238. The image processing unit 244 may be implemented by any commercially available programmable logic device, such a microprocessor, a digital signal processor (DSP) , or as an ASIC circuit. The hard disk 234 may be integrated with the apparatus 230, as is illustrated in FIG 2, or may alternatively be located externally to the apparatus 230. In the latter case, the hard disk 234 may be connected to the apparatus 230 by a direct cable connection or, alternatively, the hard disk 234 may be operatively coupled to the apparatus 230 through the network 250 and the network interface 240. The present invention has been described above with reference to a preferred and an alternative embodiment. However, other embodiments than the ones described above are equally possible within the scope of the invention, as defined by the appended independent patent claims. In particular, the hard disk 134, 234 may equally well be implemented by any other type of permanent storage medium, such as a magnetic, optical or magnetooptical storage device, or by an electronic memory, such as a large RAM memory. Correspondingly, the RAM memory 136, 236 may alternatively be implemented by any other electronic memory, such as an EEPROM memory, a flash memory, etc.

Claims

1. An apparatus (130; 230) for storing digital images (300), comprising a storage device (134, 136; 234, 236) capable of storing a current reference image (310) and a plurality of differential images (320) , and an image processing device (132, 244) coupled to the storage device, wherein the image processing device is adapted to receive an individual digital image (300) , determine a difference between the individual image and the current reference image (310) , and store this difference as a differential image (320) in the storage device, characterized by: reference image updating means (132; 232, 244) for determining when to generate a new reference image (310) , for generating the new reference image, for replacing the current reference image with the new reference image, and for storing the new reference image as current reference image in the storage device (134, 136; 234, 236).
2. An apparatus as in claim 1, wherein the image processing device (132; 244) is adapted to compress the differential image (310) before supplying it to the storage device (134, 136; 234, 236) .
3. An apparatus as in claim 1 or 2 , wherein the image processing device (132; 244) is adapted to store a reference to the current reference image (310) together with each differential image (320) in the storage device (134, 136; 234, 236) .
4. An apparatus as in any of claims 1-3, wherein the storage device comprises a magnetic or optical storage device, preferably a hard disk (134; 234) .
5. An apparatus as in claim 4, wherein the differential images (320) are stored in the magnetic or optical storage device (134; 234) .
6. An apparatus as in any of claims 1-5, wherein the storage device comprises an electronic memory (136; 236), preferably a random access memory (RAM) .
7. An apparatus as in claim 6, wherein the current reference image (310) is stored in the electronic memory
(136; 236) .
8. An apparatus as in claim 6 or 7, wherein old reference images, which have been replaced by a new reference image and are no longer a current reference image, are stored in the magnetic or optical storage device (134; 234) .
9. An apparatus as in any of claims 1-8, wherein the reference image updating means (132; 232, 244) is adapted to generate a new reference image (310) , when a predetermined time period has lapsed, since the current reference image was produced.
10. An apparatus as in any of claims 1-8, wherein the reference image updating means (132; 232, 244) is adapted to generate a new reference image (310) , when a differential image (300) is larger than a predetermined number of bytes .
11. An apparatus as in any preceding claim, wherein the image processing device (132; 244) comprises a programmable logic processor, preferably a microprocessor or a digital signal processor.
12. An apparatus as in claim 11, wherein the reference image updating means (132; 232, 244) is implemented by a programmable logic processor.
13. An image reading apparatus (130; 230), comprising a storage device (134, 136; 234, 236) capable of storing a current reference image (310) and a plurality of differential images (320), and an image processing device (132; 244) coupled to the storage device, wherein the image processing device is adapted to read an individual differential image (320) from the storage device and produce a non-differential image (300) by adding the individual differential image to the current reference image (310), characterized in that: the storage device (134; 234) is adapted to store a plurality of reference images (310) , as well as for each individual differential image (320) an identifying reference to one of the reference images; and the image processing device (132; 244) is adapted, when reading an individual differential image from the storage device, to read a particular one of the reference images, as identified by the identifying reference, and use this particular reference image as current reference image when producing the non-differential image.
14. An image reading apparatus as in claim 13, wherein the storage device comprises a first storage medium
(136; 236) for storing the current reference image (310) and a second storage medium (134; 234) for storing the plurality of reference images (310) as well as the plurality of differential images (320) .
15. An image reading apparatus as in claim 14, wherein the first storage medium is an electronic memory (136; 236), preferably a random access memory (RAM), and wherein the second storage medium is a magnetic or optical storage device, preferably a hard disk (134; 234) .
16. A method (400) of storing digital images, wherein an individual digital image (300) is received, a difference is determined between the individual image and a current reference image (310) , and this difference is stored as a differential image (320), characterized by the steps of: determining (600) when to generate a new reference image (310) , producing (500) the new reference image, and replacing the current reference image with the new reference image .
17. A method as in claim 16, wherein the step (600) of determining when to generate a new reference image (310) is performed by checking whether a predetermined time period has lapsed, since the current reference image was produced.
18. A method as in claim 17, wherein the step (600) of determining when to generate a new reference image (310) is performed by checking whether a differential image (320) is larger than a predetermined number of bytes.
19. A method as in any of claims 16-18, wherein the step (500) of producing the new reference image (310) is performed by: receiving (520) a plurality of digital images (300) , calculating (530) average pixel values for pixels at corresponding positions in the plurality of digital images, and forming the new reference image by assigning the calculated average pixel values to the pixels of the new reference image .
PCT/SE2001/000016 2000-01-20 2001-01-08 Apparatus and method for storing and reading digital images WO2001054412A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU28944/01A AU2894401A (en) 2000-01-20 2001-01-08 Apparatus and method for storing and reading digital images

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
SE0000155A SE0000155D0 (en) 2000-01-20 2000-01-20 Apparatus and method for strobing and reading digital images
SE0000155-2 2000-01-20

Publications (1)

Publication Number Publication Date
WO2001054412A1 true WO2001054412A1 (en) 2001-07-26

Family

ID=20278153

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/SE2001/000016 WO2001054412A1 (en) 2000-01-20 2001-01-08 Apparatus and method for storing and reading digital images

Country Status (3)

Country Link
AU (1) AU2894401A (en)
SE (1) SE0000155D0 (en)
WO (1) WO2001054412A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10244129B2 (en) 2015-10-12 2019-03-26 Yandex Europe Ag Method of processing and storing images

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5519436A (en) * 1994-06-21 1996-05-21 Intel Corporation Static image background reference for video teleconferencing applications
JPH0981733A (en) * 1995-09-08 1997-03-28 Matsushita Joho Syst Kk Moving body detecting device
JPH09322028A (en) * 1996-05-30 1997-12-12 Sony Corp Monitor video camera system
EP0828392A2 (en) * 1996-09-04 1998-03-11 Oki Electric Industry Co., Ltd. Picture coder, picture decoder, and picture transmission system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5519436A (en) * 1994-06-21 1996-05-21 Intel Corporation Static image background reference for video teleconferencing applications
JPH0981733A (en) * 1995-09-08 1997-03-28 Matsushita Joho Syst Kk Moving body detecting device
JPH09322028A (en) * 1996-05-30 1997-12-12 Sony Corp Monitor video camera system
EP0828392A2 (en) * 1996-09-04 1998-03-11 Oki Electric Industry Co., Ltd. Picture coder, picture decoder, and picture transmission system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
P. VANNORENBERGHE ET AL.: "Reactualisation d'une image de reference pour la detection du movement dans les scenes urbaines", REVUE TRAITEMENT DU SIGNAL, vol. 15, April 1998 (1998-04-01), pages 139 - 148, ISSN 0765-0019 *
PATENT ABSTRACTS OF JAPAN *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10244129B2 (en) 2015-10-12 2019-03-26 Yandex Europe Ag Method of processing and storing images

Also Published As

Publication number Publication date
SE0000155D0 (en) 2000-01-20
AU2894401A (en) 2001-07-31

Similar Documents

Publication Publication Date Title
US6829395B2 (en) Apparatus and method for storing and reading digital images
JP4426114B2 (en) Digital image data storage and reduction method and surveillance system using this method
EP0615245B1 (en) Method for detecting a scene change
US6317152B1 (en) Digital video recording system
EP1210826B1 (en) A method and a system for generating summarized video
US6795642B2 (en) Video recording apparatus and monitoring apparatus
JP3719933B2 (en) Hierarchical digital video summary and browsing method and apparatus
CA2135938C (en) Method for detecting camera-motion induced scene changes
US6978047B2 (en) Method and apparatus for storing digital video content provided from a plurality of cameras
US9571797B2 (en) Network equipment, network system and surveillance camera system
EP0489301A1 (en) Moving picture managing device
US8078039B2 (en) Recording apparatus capable of recording moving image and still image
US6963378B2 (en) Method and apparatus for reduction of visual content
CN100515060C (en) Monitoring image recording apparatus
US7058771B2 (en) System and method for managing memory in a surveillance system
WO2001054412A1 (en) Apparatus and method for storing and reading digital images
EP1396149B1 (en) Digital video recording
CA2242322C (en) Digital video security system
KR100453010B1 (en) Digital video recording apparatus and method therefor
KR200262163Y1 (en) Apparatus for recording scene of watch by using digital video recorder
KR20050038465A (en) Apparatus for playing and recording in automated teller machine
KR100301279B1 (en) Rental management system to use picture and control method thereof
KR200162186Y1 (en) Monitoring closed circuit television device using magnetic disk storage device
FR3137517A1 (en) METHOD FOR SELECTING PORTIONS OF IMAGES IN A VIDEO STREAM AND SYSTEM EXECUTING THE METHOD.
AU2002257035A1 (en) Digital video recording system

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

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

Ref country code: JP