JP2007300462A - Device and method for recording image - Google Patents

Device and method for recording image Download PDF

Info

Publication number
JP2007300462A
JP2007300462A JP2006127476A JP2006127476A JP2007300462A JP 2007300462 A JP2007300462 A JP 2007300462A JP 2006127476 A JP2006127476 A JP 2006127476A JP 2006127476 A JP2006127476 A JP 2006127476A JP 2007300462 A JP2007300462 A JP 2007300462A
Authority
JP
Japan
Prior art keywords
image
camera
storage
alarm
stored
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2006127476A
Other languages
Japanese (ja)
Inventor
Mamoru Higashimura
守 東村
Junichi Hamada
準一 濱田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006127476A priority Critical patent/JP2007300462A/en
Publication of JP2007300462A publication Critical patent/JP2007300462A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image recording device and method capable of suppressing the limit of a storage capacity to the minimum while efficiently securing a camera image to be required as alarm information, even when a storage medium with less storage capacity such as a flash ROM or a RAM buffer is used for storing the camera image. <P>SOLUTION: A prescribed number of frame of camera images are temporarily stored in a ring shape image buffer 12. While an alarm detecting part 13 does not detect an abnormality, the camera image from the image buffer 12 is not stored. When the alarm detecting part 13 detects the abnormality, the camera images from the image buffer 12 are selected in response to a preservation frame rate, which becomes highest around an alarm generation time and becomes lower as separated from the alarm generation time, and then, stored in an alarm image storage part 16. Consequently, the capacity of the alarm image storage part 16 is saved while sufficiently storing the camera images to be required as the alarm information. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、銀行やコンビニエンスストア等における万引き、盗難、悪戯等の対策に用いられる画像記録装置及び監視対象を撮像した画像を保存する画像記録方法に関する。   The present invention relates to an image recording apparatus used for measures against shoplifting, theft, mischief and the like in a bank, a convenience store, and the like, and an image recording method for storing an image obtained by imaging a monitoring target.

従来、上述した画像記録装置として、アラーム発生前後の画像を予め指定されたフレームレートに従って保存するようにしたものがある(例えば、特許文献1参照)。特許文献1で開示された画像記録装置は、アラーム発生前のカメラ画像(プレアラーム画像と呼ばれる)を保存するために、何フレームかのカメラ画像を保存可能なリング状の画像バッファを備えており、この画像バッファを使用して、通常時は予め指定された一定の保存フレームレート(カメラ画像を保存する記憶手段に対してカメラ画像を保存する割合)に従ってカメラ画像を保存し、アラーム発生時には、予め指定された枚数の最新カメラ画像をプレアラーム画像(すなわち、アラーム発生前画像)として保存し、その後、予め指定された枚数のカメラ画像をポストアラーム画像(すなわち、アラーム発生後画像)として保存する。その処理の様子を図7に示す。同図において、実線の縦線は1フレームのカメラ画像を示し、アラーム発生時より前のカメラ画像がプレアラーム画像、アラーム発生時より後のカメラ画像がポストアラーム画像である。また、同図に示すように、保存フレームレートは一定である。   2. Description of the Related Art Conventionally, as the above-described image recording apparatus, there is an apparatus that stores images before and after an alarm is generated in accordance with a prespecified frame rate (see, for example, Patent Document 1). The image recording apparatus disclosed in Patent Document 1 includes a ring-shaped image buffer capable of storing several frames of camera images in order to store camera images (called pre-alarm images) before the occurrence of an alarm. Using this image buffer, the camera image is stored in accordance with a predetermined storage frame rate (a ratio of storing the camera image with respect to the storage means for storing the camera image) that is designated in advance, and when an alarm occurs, The latest number of camera images specified in advance are stored as pre-alarm images (ie, images before occurrence of an alarm), and then the predetermined number of camera images are stored as post-alarm images (ie, images after occurrence of an alarm). . The state of the processing is shown in FIG. In the figure, a solid vertical line indicates a one-frame camera image. A camera image before the occurrence of an alarm is a pre-alarm image, and a camera image after the occurrence of an alarm is a post-alarm image. As shown in the figure, the storage frame rate is constant.

特開2000−278672号公報JP 2000-278672 A

しかしながら、従来の画像記録装置においては、カメラ画像を一定の保存フレームレートで予め指定された時間だけ保存するが、その保存にフラッシュROMやRAMバッファ等の記憶容量の小さな記憶媒体を使用する場合が多いため、記憶容量の制限から蓄積時間、フレームレート、画像サイズ等が小さく制限されてしまう問題がある。   However, in the conventional image recording apparatus, the camera image is stored at a predetermined storage frame rate for a predetermined time, and a storage medium having a small storage capacity such as a flash ROM or a RAM buffer may be used for the storage. Therefore, there is a problem that the storage time, the frame rate, the image size, and the like are limited to be small due to the limitation of the storage capacity.

本発明は、係る事情に鑑みてなされたものであり、カメラ画像の保存にフラッシュROMやRAMバッファ等の記憶容量の小さな記憶媒体を使用しても、アラーム情報として必要なカメラ画像を効率良く確保しつつ、記憶容量の制限を最小限に抑えることができる画像記録装置及び画像記録方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and even if a storage medium having a small storage capacity such as a flash ROM or a RAM buffer is used for storing a camera image, a camera image necessary as alarm information can be efficiently secured. However, an object of the present invention is to provide an image recording apparatus and an image recording method capable of minimizing the storage capacity limitation.

上記目的は下記構成又は方法により達成される。
本発明の画像記録装置は、カメラにて監視対象領域を撮像して得られるカメラ画像を保存する画像記録装置において、前記カメラから入力される映像信号からフレーム単位でカメラ画像を作成する画像入力手段と、前記画像入力手段で作成されたカメラ画像を所定フレーム数分保存する画像バッファと、前記監視対象領域内において異常が検知された場合、前記画像バッファに保存されたカメラ画像に対し、異常検知時周辺で保存する割合を示す保存フレームレートを最も高くし、異常検知時点から離れるに従って前記保存フレームレートを低くするカメラ画像保存制御手段と、を備える。
The object is achieved by the following configuration or method.
The image recording apparatus according to the present invention is an image recording apparatus for storing a camera image obtained by imaging a monitoring target area with a camera, and an image input unit that creates a camera image in units of frames from a video signal input from the camera. And an image buffer for storing a predetermined number of frames of camera images created by the image input means, and when an abnormality is detected in the monitoring target area, an abnormality detection is performed on the camera image stored in the image buffer. Camera image storage control means for increasing the storage frame rate indicating the ratio of storing in the vicinity of the hour and lowering the storage frame rate as the distance from the abnormality detection time increases.

この構成により、所定フレーム数のカメラ画像を画像バッファに保存し、監視対象領域内において異常があった場合、異常検知時周辺で最も高く、異常検知時から離れるに従って低くなる保存フレームレートで画像バッファのカメラ画像に対する選別を行って保存する。これにより、アラーム情報として必要な画像を十分に保存しつつ、カメラ画像を記憶する記憶装置(フラッシュROM、RAMバッファ等)の容量を節約することができる。   With this configuration, camera images of a predetermined number of frames are stored in the image buffer, and when there is an abnormality in the monitoring target area, the image buffer is stored at a storage frame rate that is highest around the time of abnormality detection and decreases as the distance from the abnormality detection increases. Select and save the camera images. Thereby, it is possible to save the capacity of a storage device (flash ROM, RAM buffer, etc.) for storing the camera image while sufficiently storing an image necessary as alarm information.

また、本発明の画像記録装置は、前記カメラ画像保存制御手段は、前記監視対象領域内において複数の異常が検知された場合、それぞれの異常検知時における保存フレームレートが最も高くなるようにカメラ画像の保存を行う。   Further, in the image recording apparatus of the present invention, when the camera image storage control unit detects a plurality of abnormalities within the monitoring target area, the camera image storage unit is configured so that the storage frame rate at the time of detecting each abnormality is the highest. Save the file.

この構成により、監視対象領域内において複数の異常があっても、それぞれの異常検知時が極大値になる保存フレームレートでカメラ画像を保存することができる。   With this configuration, even if there are a plurality of abnormalities in the monitoring target area, the camera image can be stored at a storage frame rate at which each abnormality is detected at a maximum value.

また、本発明の画像記録装置は、前記カメラ画像保存制御手段は、前記画像バッファをポインタで繋がれたリスト状として使用し、前記画像バッファの記憶容量全てにカメラ画像を保存すると、前記画像バッファに保存したカメラ画像のうち最も古いカメラ画像から所定量だけ削除し、削除して得られた記憶領域に対して新規のカメラ画像を保存する。   In the image recording apparatus of the present invention, the camera image storage control unit uses the image buffer as a list connected by a pointer, and stores the camera image in the entire storage capacity of the image buffer. A predetermined amount is deleted from the oldest camera image among the stored camera images, and a new camera image is stored in the storage area obtained by the deletion.

この構成により、画像バッファに記憶容量の小さいものを使用し、複数の異常があっても、それぞれに対する保存フレームレートの保存レート曲線を足し合わせた総保存レート曲線における段差を軽減できる。すなわち、例えば、異常が2つ発生した場合、後の異常の発生時に画像バッファに古い方のカメラ画像が残っていないため、2つの異常それぞれに対する保存フレームレートの保存レート曲線を足し合わせた総保存レート曲線において段差が発生する。このような不具合に対して、画像バッファをポインタで繋がれたリスト状として使用し、画像バッファの記憶容量全てにカメラ画像を保存した後、画像バッファに保存したカメラ画像のうち最も古いカメラ画像から所定量だけ削除し、それにより空いた記憶領域に対して新規のカメラ画像を保存するようにした。これにより、より長い時間のプレアラーム画像(アラーム発生前のカメラ画像)を保存することが可能となり、総保存レート曲線において段差を軽減できる。   With this configuration, even when there are a plurality of abnormalities using an image buffer having a small storage capacity, a step in the total storage rate curve obtained by adding the storage rate curves of the storage frame rates for each of them can be reduced. That is, for example, if two abnormalities occur, the old camera image does not remain in the image buffer when the subsequent abnormalities occur, so the total storage is performed by adding the storage frame rate storage rate curves for each of the two abnormalities. A step occurs in the rate curve. For such problems, use the image buffer as a list linked by a pointer, save the camera image in the entire storage capacity of the image buffer, and then start with the oldest camera image saved in the image buffer. A predetermined amount was deleted, and a new camera image was saved in the free storage area. As a result, it is possible to store a pre-alarm image (camera image before the occurrence of an alarm) for a longer time, and to reduce a step in the total storage rate curve.

また、本発明の画像記録装置は、前記画像保存制御手段は、MPEGの動画フォーマットの画像を保存する場合、異常検知時に近いところから、Iフレーム、Pフレーム及びBフレームの全ての保存、Iフレーム及びPフレームの保存、Iフレームの保存、保存無しの順で保存フレームレートを変える。   In the image recording apparatus of the present invention, the image storage control means stores all of the I frame, the P frame, and the B frame from the time when the abnormality is detected, The storage frame rate is changed in the order of storage of P frame, storage of I frame, and storage.

この構成により、MPEGの動画フォーマットに対しても、効率良く保存することができる。   With this configuration, the MPEG moving image format can be efficiently stored.

また、本発明の画像記録方法は、カメラにて監視対象領域を撮像して得られるカメラ画像を保存する画像記録方法において、前記カメラから入力される映像信号からフレーム単位でカメラ画像を作成して、所定フレーム数分のカメラ画像を画像バッファに一時的に保存し、前記監視対象領域内において異常があった場合に、前記画像バッファに保存したカメラ画像を保存する際に、異常検知時周辺のカメラ画像の保存割合を示す保存フレームレートを最も高くし、異常検知時点から離れるに従って前記保存フレームレートを低くする。   Also, the image recording method of the present invention is an image recording method for storing a camera image obtained by imaging a monitoring target area with a camera, wherein a camera image is generated in units of frames from a video signal input from the camera. The camera images for a predetermined number of frames are temporarily stored in the image buffer, and when there is an abnormality in the monitoring target area, when the camera image stored in the image buffer is stored, The storage frame rate indicating the storage ratio of the camera image is maximized, and the storage frame rate is decreased as the distance from the abnormality detection time is increased.

この方法により、所定フレーム数のカメラ画像を画像バッファに保存し、監視対象領域内において異常があった場合、異常検知時周辺で最も高く、異常検知時から離れるに従って低くなる保存フレームレートで画像バッファのカメラ画像に対する選別を行って保存する。これにより、アラーム情報として必要な画像を十分に保存しつつ、カメラ画像を記憶する記憶装置(フラッシュROM、RAMバッファ等)の容量を節約することができる。   By this method, camera images of a predetermined number of frames are stored in the image buffer, and when there is an abnormality in the monitoring target area, the image buffer is stored at a storage frame rate that is highest around an abnormality detection and lowers as the distance from the abnormality detection increases. Select and save the camera images. Thereby, it is possible to save the capacity of a storage device (flash ROM, RAM buffer, etc.) for storing the camera image while sufficiently storing an image necessary as alarm information.

本発明の画像記録装置によれば、所定フレーム数のカメラ画像を画像バッファに保存し、監視対象領域内において異常があった場合、異常検知時周辺で最も高く、異常検知時から離れるに従って低くなる保存フレームレートで画像バッファのカメラ画像に対する選別を行って保存する。これにより、アラーム情報として必要な画像を十分に保存しつつ、カメラ画像を記憶する記憶装置(フラッシュROM、RAMバッファ等)の容量を節約することができる。   According to the image recording apparatus of the present invention, a predetermined number of frames of camera images are stored in the image buffer, and when there is an abnormality in the monitoring target area, it is highest around the abnormality detection and becomes lower as it goes away from the abnormality detection. The camera image in the image buffer is selected and stored at the storage frame rate. Thereby, it is possible to save the capacity of a storage device (flash ROM, RAM buffer, etc.) for storing the camera image while sufficiently storing an image necessary as alarm information.

以下、本発明を実施するための好適な実施の形態について、図面を参照して詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments for carrying out the invention will be described in detail with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1に係る画像記録装置の概略構成を示すブロック図である。同図において、本実施の形態の画像記録装置1は、画像入力部10と、画像符号化部11と、画像バッファ12と、アラーム検知部13と、保存フレーム計算部14と、アラーム画像蓄積処理部15と、アラーム画像蓄積部16とを備えて構成される。画像入力部10は、図示せぬカメラから出力される映像信号を取り込み、フレーム単位のカメラ画像を作成して画像符号化部11に入力する。図示せぬカメラは、監視対象領域内に侵入する被写体を撮像するものであり、CCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)等の撮像素子を備えている。なお、被写体は、例えば人物、物、駐車場の車等である。
(Embodiment 1)
FIG. 1 is a block diagram showing a schematic configuration of an image recording apparatus according to Embodiment 1 of the present invention. In the figure, an image recording apparatus 1 according to the present embodiment includes an image input unit 10, an image encoding unit 11, an image buffer 12, an alarm detection unit 13, a storage frame calculation unit 14, and an alarm image accumulation process. Unit 15 and an alarm image storage unit 16. The image input unit 10 takes in a video signal output from a camera (not shown), creates a frame-unit camera image, and inputs it to the image encoding unit 11. A camera (not shown) captures an image of a subject entering the monitored area, and includes an image sensor such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor). The subject is, for example, a person, an object, a car in a parking lot, or the like.

画像符号化部11は、画像入力部10からフレーム単位のカメラ画像が入力される毎に符号化し出力する。画像バッファ12は、プレアラーム画像及びポストアラーム画像を保存するために、何フレームかのカメラ画像を保存可能なリング状バッファである。因みにリング状バッファはFIFO(First In First Out)メモリであり、所定フレーム数のカメラ画像を記憶すると、記憶した順にカメラ画像を読み出す。そして、読み出し終えたカメラ画像に対して新規のカメラ画像を上書きする。アラーム検知部13は、万引き、盗難、悪戯等の異常を検知するものであり、異常を検知したときに保存フレーム計算部14に異常を通知する。保存フレーム計算部14は、アラーム画像蓄積部16にカメラ画像を保存する割合すなわち保存フレームレートを計算する。すなわち、アラーム通知が行われた場合に、アラーム発生時周辺で最も高く、アラーム発生時点から離れるに従って低くなるように保存フレームレートを計算する。アラーム通知が行われていない間は保存フレームレートの計算は行われず、その値はゼロとなる。   The image encoding unit 11 encodes and outputs each time a frame-unit camera image is input from the image input unit 10. The image buffer 12 is a ring buffer that can store several frames of camera images in order to store pre-alarm images and post-alarm images. Incidentally, the ring-shaped buffer is a FIFO (First In First Out) memory. When a predetermined number of frames of camera images are stored, the camera images are read in the stored order. Then, a new camera image is overwritten on the camera image that has been read out. The alarm detection unit 13 detects abnormalities such as shoplifting, theft, mischief, and the like, and notifies the storage frame calculation unit 14 of the abnormality when the abnormality is detected. The storage frame calculation unit 14 calculates a rate at which the camera image is stored in the alarm image storage unit 16, that is, a storage frame rate. That is, when an alarm notification is given, the storage frame rate is calculated so as to be highest around the time of alarm occurrence and lower as the distance from the alarm occurrence time increases. While the alarm notification is not performed, the storage frame rate is not calculated and its value becomes zero.

アラーム画像蓄積処理部15は、画像バッファ12に保存された所定フレーム数のカメラ画像に対し、保存フレーム計算部14で求められた保存フレームレートに従ってアラーム画像蓄積部16に保存するカメラ画像を選別する。図2に示すように、保存フレームレートは、アラーム発生時周辺で最も高く、アラーム発生時点から離れるに従って低くなる山形になるので、カメラ画像の保存をアラーム発生時周辺で最も多く、アラーム発生時点から離れるに従って徐々に少なくする。図2中で実線の縦線は保存するカメラ画像を示し、点線の縦線は間引いたカメラ画像を示す。また、アラーム発生時より前のカメラ画像がプレアラーム画像であり、アラーム発生時より後のカメラ画像がポストアラーム画像である。アラーム画像蓄積処理部15は、画像バッファ12からカメラ画像を取り込むタイミングを把握することで、アラーム発生時に対応するカメラ画像を検出する。これにより、アラーム発生時には高い値の保存フレームレートに従ってカメラ画像を保存し、アラーム発生時から離れるに従って低い値の保存フレームレートに従ってカメラ画像を保存する。   The alarm image storage processing unit 15 selects the camera images to be stored in the alarm image storage unit 16 according to the storage frame rate obtained by the storage frame calculation unit 14 for the predetermined number of frames of camera images stored in the image buffer 12. . As shown in FIG. 2, the storage frame rate is the highest in the vicinity around the time of the alarm occurrence, and becomes a mountain shape that becomes lower as the distance from the time of the alarm occurrence. Decrease gradually as you leave. In FIG. 2, a solid vertical line indicates a camera image to be saved, and a dotted vertical line indicates a thinned camera image. The camera image before the alarm occurrence is a pre-alarm image, and the camera image after the alarm occurrence is a post-alarm image. The alarm image accumulation processing unit 15 detects the camera image corresponding to the occurrence of the alarm by grasping the timing of capturing the camera image from the image buffer 12. Thus, when an alarm occurs, the camera image is stored according to a high storage frame rate, and as the distance from the alarm occurs, the camera image is stored according to a low storage frame rate.

アラーム画像蓄積部16は、アラーム画像蓄積処理部15からのカメラ画像を保存する。アラーム画像蓄積部16には、フラッシュROMやRAMバッファ等の記憶容量の小さな記憶媒体が使用される。本発明では、上述したように、カメラ画像の保存フレームレートをアラーム発生時周辺で最も高く、アラーム発生時点から離れるに従って低くなるように可変するので、アラーム情報として必要な画像を十分に保存しつつ、アラーム画像蓄積部16の容量を節約することができる。すなわち、ハードディスク、光ディスク、光磁気ディスク等の大容量記録媒体を使用する大容量記録装置を持たない画像記録装置でも効率よく画像を保存することが可能となる。   The alarm image storage unit 16 stores the camera image from the alarm image storage processing unit 15. The alarm image storage unit 16 uses a storage medium having a small storage capacity such as a flash ROM or a RAM buffer. In the present invention, as described above, the storage frame rate of the camera image is variable so as to be the highest around the time of the alarm occurrence and lower as the distance from the alarm occurrence time increases. The capacity of the alarm image storage unit 16 can be saved. That is, an image can be efficiently stored even in an image recording apparatus that does not have a large-capacity recording apparatus that uses a large-capacity recording medium such as a hard disk, an optical disk, or a magneto-optical disk.

ここで、MPEG(Moving Picture Expert Group)のようなフレーム間相関のある動画フォーマットの画像の保存について図3を参照して説明する。図3の(a)は画像バッファ12に保存された画像であり、図3の(b)はアラーム画像蓄積部16に保存される画像である。MPEGの動画ファイルでは、フレーム単位でデータを圧縮して作られたIフレーム、前のIフレームを基準に、変化があった差分のみをデータ化して作られるPフレーム、前のみならず後のフレームとの差分も利用するBフレームが存在する。1つ以上のIフレームと複数のPフレーム及びBフレームからなるひと固まりはGOP(Group of Pictures)と呼ばれる。アラーム画像蓄積部16に保存される画像の選別は、アラーム発生時に近いところから(1)IBP全て→(2)IP(Bを間引く)→(3)I全て(Pを間引く)→(4)I間引きとなる。どれくらいのタイミングで間引く割合を変えていくか、すなわち(1)〜(4)がそれぞれどれくらい続くかは、予め保存フレームレートの曲線を決めておけば良い。   Here, storage of images in a moving image format having correlation between frames such as MPEG (Moving Picture Expert Group) will be described with reference to FIG. 3A is an image stored in the image buffer 12, and FIG. 3B is an image stored in the alarm image storage unit 16. In an MPEG movie file, an I frame created by compressing data in units of frames, a P frame created by converting only the difference that has changed with reference to the previous I frame, and the previous and subsequent frames There is a B frame that also uses the difference between. A group of one or more I frames and a plurality of P frames and B frames is called a GOP (Group of Pictures). The selection of the images stored in the alarm image storage unit 16 is as follows: (1) All IBPs → (2) IP (thinning B) → (3) All I (thinning P) → (4) I thinning out. It is only necessary to determine the curve of the storage frame rate in advance to determine the timing at which the thinning rate is changed, that is, how long each of (1) to (4) continues.

なお、画像入力部10は画像入力手段に対応する。また、保存フレーム計算部14及びアラーム画像蓄積処理部15は、カメラ画像保存制御手段を構成する。また、アラーム画像蓄積部16は記憶装置(フラッシュROM、RAMバッファ等)に対応する。   The image input unit 10 corresponds to an image input unit. The storage frame calculation unit 14 and the alarm image accumulation processing unit 15 constitute a camera image storage control unit. The alarm image storage unit 16 corresponds to a storage device (flash ROM, RAM buffer, etc.).

次に、本実施の形態の画像記録装置1の動作を説明する。図示せぬカメラからの映像信号が画像入力部10に入力されてフレーム単位のカメラ画像が作成される。フレーム単位で作成されたカメラ画像が画像符号化部11で符号化されて、画像バッファ12に一時的に保存される。この場合、画像バッファ12には所定フレーム数のカメラ画像が保存される。画像バッファ12に所定フレーム数のカメラ画像が保存されると、書き込み順で読み出されてアラーム画像蓄積処理部15に入力される。アラーム画像蓄積処理部15では、アラーム検知部13で異常が検知されていない間は、保存フレームレートの値がゼロとなっているので、画像バッファ12からのカメラ画像に対する選別を行わない。すなわち、アラーム検知部13で異常が検知されていない間のカメラ画像はアラーム画像蓄積部16に保存されない。一方、アラーム検知部13で異常が検知された場合は、アラーム発生時周辺で最も高く、アラーム発生時点から離れるに従って低くなる保存フレームレートに従って画像バッファ12からのカメラ画像に対する選別を行い、アラーム画像蓄積部16に保存する。   Next, the operation of the image recording apparatus 1 of the present embodiment will be described. A video signal from a camera (not shown) is input to the image input unit 10 to create a camera image in units of frames. The camera image created for each frame is encoded by the image encoding unit 11 and temporarily stored in the image buffer 12. In this case, a predetermined number of camera images are stored in the image buffer 12. When a predetermined number of frames of camera images are stored in the image buffer 12, they are read out in the writing order and input to the alarm image accumulation processing unit 15. The alarm image storage processing unit 15 does not select the camera image from the image buffer 12 because the value of the storage frame rate is zero while no abnormality is detected by the alarm detection unit 13. That is, the camera image while no abnormality is detected by the alarm detection unit 13 is not stored in the alarm image storage unit 16. On the other hand, when an abnormality is detected by the alarm detection unit 13, the camera image from the image buffer 12 is selected according to the storage frame rate that is highest around the time of occurrence of the alarm and lowers as the distance from the time of occurrence of the alarm, and accumulates the alarm image. Stored in section 16.

このように本実施の形態の画像記録装置1によれば、所定フレーム数のカメラ画像をリング状の画像バッファ12に一時的に保存し、アラーム検知部13で異常を検知していない間は、画像バッファ12からのカメラ画像を保存せず、アラーム検知部13で異常を検知した場合は、アラーム発生時周辺で最も高く、アラーム発生時点から離れるに従って低くなる保存フレームレートに従って画像バッファ12からのカメラ画像に対する選別を行ってアラーム画像蓄積部16に保存するので、アラーム情報として必要なカメラ画像を十分に保存しつつ、アラーム画像蓄積部16の容量を節約することができる。すなわち、ハードディスク、光ディスク、光磁気ディスク等の大容量記録媒体を使用する大容量記録装置を持たない画像記録装置でも効率よく画像を保存することが可能となる。   As described above, according to the image recording apparatus 1 of the present embodiment, a predetermined number of camera images are temporarily stored in the ring-shaped image buffer 12, and while no abnormality is detected by the alarm detection unit 13, When an alarm is detected by the alarm detection unit 13 without saving the camera image from the image buffer 12, the camera from the image buffer 12 is highest according to the storage frame rate that is highest in the vicinity of the alarm occurrence and lower as the distance from the alarm occurrence. Since the images are sorted and stored in the alarm image storage unit 16, it is possible to save the capacity of the alarm image storage unit 16 while sufficiently storing the camera images necessary as alarm information. That is, an image can be efficiently stored even in an image recording apparatus that does not have a large-capacity recording apparatus that uses a large-capacity recording medium such as a hard disk, an optical disk, or a magneto-optical disk.

なお、上記実施の形態では、アラームが1つしか発生しなかった場合であったが、例えば2つのアラーム(アラーム1及びアラーム2)が発生した場合、図4に示すように、それぞれのアラーム発生時における保存フレームレートが最大値になるように総保存フレームレート曲線を形成して、カメラ画像を保存するようにすると良い。   In the above embodiment, only one alarm is generated. However, when two alarms (Alarm 1 and Alarm 2) are generated, for example, as shown in FIG. It is preferable to store the camera image by forming a total storage frame rate curve so that the storage frame rate at the time becomes the maximum value.

(実施の形態2)
図5は、本発明の実施の形態2に係る画像記録装置の概略構成を示すブロック図である。同図において、本実施の形態の画像記録装置1Aは、画像バッファ12に記憶容量の小さいものを使用しても、図6に示すような保存フレームレートに段差Dが発生しないようにしたものである。すなわち、画像バッファ12に記憶容量の小さいものを使用すると、例えば2つのアラーム(アラーム1及びアラーム2)が短い時間間隔で発生する場合、アラーム2の発生時に画像バッファ12に古いカメラ画像が残っていないため、保存フレームレートに段差Dが発生することがある。
(Embodiment 2)
FIG. 5 is a block diagram showing a schematic configuration of an image recording apparatus according to Embodiment 2 of the present invention. In the figure, the image recording apparatus 1A according to the present embodiment prevents the step D from occurring in the storage frame rate as shown in FIG. 6 even when an image buffer 12 having a small storage capacity is used. is there. In other words, when an image buffer 12 having a small storage capacity is used, for example, when two alarms (alarm 1 and alarm 2) occur at short time intervals, an old camera image remains in the image buffer 12 when the alarm 2 occurs. Therefore, a step D may occur in the storage frame rate.

本実施の形態の画像記録装置1Aでは、画像バッファ12をポインタで繋がれたリスト状にし、画像バッファ12の記憶容量全てにカメラ画像を保存すると、保存フレーム計算部14Aが画像バッファ12に対し、画像バッファ12に保存されている古い方のカメラ画像を所定量削除し、これにより得られた記憶領域に対して新規のカメラ画像の保存を可能にする。具体的には、アラーム2が発生したと仮定した場合のアラーム1とアラーム2それぞれの保存フレームレートの最大値を計算し、古い方の画像バッファ12内カメラ画像を該計算式にあてはまるまで削除する。削除して得られた画像バッファ12の空領域は次のカメラ画像を保存するのに再利用する。これにより、より長い時間のプレアラーム画像を保存することが可能となり、総保存フレームレート曲線における段差を軽減できる。   In the image recording apparatus 1A of the present embodiment, when the image buffer 12 is made into a list connected by pointers and the camera images are stored in the entire storage capacity of the image buffer 12, the storage frame calculation unit 14A A predetermined amount of the older camera image stored in the image buffer 12 is deleted, and a new camera image can be stored in the obtained storage area. Specifically, when the alarm 2 is assumed to have occurred, the maximum value of the storage frame rate of each of the alarm 1 and the alarm 2 is calculated, and the older camera image in the image buffer 12 is deleted until the calculation formula is satisfied. . The empty area of the image buffer 12 obtained by deletion is reused to store the next camera image. As a result, it is possible to store a pre-alarm image for a longer time, and to reduce a step in the total storage frame rate curve.

なお、保存フレーム計算部14A及びアラーム画像蓄積処理部15は、カメラ画像保存制御手段を構成する。   Note that the storage frame calculation unit 14A and the alarm image storage processing unit 15 constitute a camera image storage control unit.

本発明は、カメラ画像の保存にフラッシュROMやRAMバッファ等の記憶容量の小さな記憶媒体を使用しても、アラーム情報として必要なカメラ画像を効率良く確保しつつ、記憶容量の制限を最小限に抑えることができるといった効果を有し、銀行やコンビニエンスストア等における万引き、盗難、悪戯等の対策を行うシステム等への適用が可能である。   Even if a storage medium with a small storage capacity such as a flash ROM or a RAM buffer is used for storing camera images, the present invention efficiently secures the camera images necessary as alarm information and minimizes the storage capacity. It can be suppressed, and can be applied to a system for taking measures against shoplifting, theft, mischief and the like in a bank or a convenience store.

本発明の実施の形態1に係る画像記録装置の概略構成を示すブロック図1 is a block diagram showing a schematic configuration of an image recording apparatus according to Embodiment 1 of the present invention. 本発明の実施の形態1に係る画像記録装置の異常時におけるカメラ画像の保存動作を説明するための図The figure for demonstrating the preservation | save operation | movement of the camera image at the time of abnormality of the image recording device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像記録装置におけるMPEGのようなフレーム間相関のある動画フォーマットの画像の保存について説明するための図The figure for demonstrating the preservation | save of the image of the moving image format with correlation between frames like MPEG in the image recording device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像記録装置における複数アラームが発生した場合のカメラ画像の保存動作を説明するための図The figure for demonstrating the preservation | save operation | movement of a camera image when the several alarm generate | occur | produces in the image recording device which concerns on Embodiment 1 of this invention. 本発明の実施の形態2に係る画像記録装置の概略構成を示すブロック図FIG. 3 is a block diagram showing a schematic configuration of an image recording apparatus according to Embodiment 2 of the present invention. 本発明の実施の形態2に係る画像記録装置におけるカメラ画像の保存動作の特徴を説明するための図The figure for demonstrating the characteristic of the preservation | save operation | movement of the camera image in the image recording device which concerns on Embodiment 2 of this invention. 従来の画像記録装置におけるカメラ画像の保存動作を説明するための図The figure for demonstrating the preservation | save operation | movement of the camera image in the conventional image recording device

符号の説明Explanation of symbols

1、1A 画像記録装置
10 画像入力部
11 画像符号化部
12 画像バッファ
13 アラーム検知部
14、14A 保存フレーム計算部
15 アラーム画像蓄積処理部
16 アラーム画像蓄積部
DESCRIPTION OF SYMBOLS 1, 1A image recording device 10 Image input part 11 Image encoding part 12 Image buffer 13 Alarm detection part 14, 14A Storage frame calculation part 15 Alarm image accumulation | storage process part 16 Alarm image accumulation | storage part

Claims (5)

カメラにて監視対象領域を撮像して得られるカメラ画像を保存する画像記録装置において、
前記カメラから入力される映像信号からフレーム単位でカメラ画像を作成する画像入力手段と、
前記画像入力手段で作成されたカメラ画像を所定フレーム数分保存する画像バッファと、
前記監視対象領域内において異常が検知された場合、前記画像バッファに保存されたカメラ画像に対し、異常検知時周辺で保存する割合を示す保存フレームレートを最も高くし、異常検知時点から離れるに従って前記保存フレームレートを低くするカメラ画像保存制御手段と、
を備える画像記録装置。
In an image recording apparatus for storing a camera image obtained by imaging a monitoring target area with a camera,
Image input means for creating a camera image in frame units from a video signal input from the camera;
An image buffer for storing a predetermined number of frames of camera images created by the image input means;
When an abnormality is detected in the monitoring target area, for the camera image stored in the image buffer, the storage frame rate indicating the ratio of storing in the vicinity at the time of abnormality detection is the highest, and as the distance from the abnormality detection time increases, Camera image storage control means for lowering the storage frame rate;
An image recording apparatus comprising:
前記カメラ画像保存制御手段は、前記監視対象領域内において複数の異常が検知された場合、それぞれの異常検知時における保存フレームレートが最も高くなるようにカメラ画像の保存を行う請求項1に記載の画像記録装置。   The said camera image preservation | save control means preserve | saves a camera image so that the preservation | save frame rate at the time of each abnormality detection may become the highest, when several abnormality is detected in the said monitoring object area | region. Image recording device. 前記カメラ画像保存制御手段は、前記画像バッファをポインタで繋がれたリスト状として使用し、前記画像バッファの記憶容量全てにカメラ画像を保存すると、前記画像バッファに保存したカメラ画像のうち最も古いカメラ画像から所定量だけ削除し、削除して得られた記憶領域に対して新規のカメラ画像を保存する請求項1又は請求項2に記載の画像記録装置。   The camera image storage control means uses the image buffer as a list connected by a pointer, and stores the camera image in the entire storage capacity of the image buffer, so that the oldest camera among the camera images stored in the image buffer is stored. The image recording apparatus according to claim 1 or 2, wherein a new camera image is stored in a storage area obtained by deleting a predetermined amount from the image and deleting the image. 前記画像保存制御手段は、MPEGの動画フォーマットの画像を保存する場合、異常検知時に近いところから、Iフレーム、Pフレーム及びBフレームの全ての保存、Iフレーム及びPフレームの保存、Iフレームの保存、保存無しの順で保存フレームレートを変える請求項1乃至請求項3のいずれかに記載の画像記録装置。   The image storage control means saves all of the I frame, P frame, and B frame, saves the I frame and P frame, and saves the I frame from the time when the abnormality is detected, when saving the image in the MPEG moving image format. 4. The image recording apparatus according to claim 1, wherein the storage frame rate is changed in the order of no storage. カメラにて監視対象領域を撮像して得られるカメラ画像を保存する画像記録方法において、
前記カメラから入力される映像信号からフレーム単位でカメラ画像を作成して、所定フレーム数分のカメラ画像を画像バッファに一時的に保存し、前記監視対象領域内において異常があった場合に、前記画像バッファに保存したカメラ画像を保存する際に、異常検知時周辺のカメラ画像の保存割合を示す保存フレームレートを最も高くし、異常検知時点から離れるに従って前記保存フレームレートを低くする画像記録方法。
In an image recording method for storing a camera image obtained by imaging a monitoring target area with a camera,
A camera image is created in units of frames from a video signal input from the camera, and camera images for a predetermined number of frames are temporarily stored in an image buffer. An image recording method in which when a camera image stored in an image buffer is stored, a storage frame rate indicating a storage ratio of peripheral camera images at the time of abnormality detection is maximized, and the storage frame rate is decreased as the distance from the abnormality detection time is increased.
JP2006127476A 2006-05-01 2006-05-01 Device and method for recording image Pending JP2007300462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006127476A JP2007300462A (en) 2006-05-01 2006-05-01 Device and method for recording image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006127476A JP2007300462A (en) 2006-05-01 2006-05-01 Device and method for recording image

Publications (1)

Publication Number Publication Date
JP2007300462A true JP2007300462A (en) 2007-11-15

Family

ID=38769574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006127476A Pending JP2007300462A (en) 2006-05-01 2006-05-01 Device and method for recording image

Country Status (1)

Country Link
JP (1) JP2007300462A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130028570A1 (en) * 2011-07-27 2013-01-31 Hitachi, Ltd. Video Recording Apparatus, Video Recording System and Video Recording Method
JP2013030747A (en) * 2011-06-24 2013-02-07 Hitachi Kokusai Electric Inc Substrate processing apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004015164A (en) * 2002-06-04 2004-01-15 Fujitsu Ltd Method of storing mpeg data and apparatus thereof
JP2004304418A (en) * 2003-03-31 2004-10-28 Minolta Co Ltd Camera
JP2006080919A (en) * 2004-09-09 2006-03-23 Sharp Corp Transmission device, data transmission method, program, computer readable recording medium with program recorded thereon

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004015164A (en) * 2002-06-04 2004-01-15 Fujitsu Ltd Method of storing mpeg data and apparatus thereof
JP2004304418A (en) * 2003-03-31 2004-10-28 Minolta Co Ltd Camera
JP2006080919A (en) * 2004-09-09 2006-03-23 Sharp Corp Transmission device, data transmission method, program, computer readable recording medium with program recorded thereon

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013030747A (en) * 2011-06-24 2013-02-07 Hitachi Kokusai Electric Inc Substrate processing apparatus
US20130028570A1 (en) * 2011-07-27 2013-01-31 Hitachi, Ltd. Video Recording Apparatus, Video Recording System and Video Recording Method
US8780203B2 (en) * 2011-07-27 2014-07-15 Hitachi, Ltd. Video recording apparatus, video recording system and video recording method executed by video recording apparatus

Similar Documents

Publication Publication Date Title
JP5405536B2 (en) Video recording apparatus, video recording system, and video recording method
JP4687404B2 (en) Image signal processing apparatus, imaging apparatus, and image signal processing method
JP4646668B2 (en) Imaging apparatus and control method thereof
JP2010136032A (en) Video monitoring system
EP1835391B1 (en) Storage apparatus and method for processing in the same
JP2008022556A (en) Video image buffer for pre-improvement alarm
US20150281573A1 (en) Imaging apparatus and control method thereof
JP2007036615A (en) Camera controller and monitoring system
KR20100138168A (en) Video surveillance system and video surveillance method thereof
JP2011087090A (en) Image processing method, image processing apparatus, and imaging system
JP2008131572A (en) Monitoring camera apparatus and photographing method of same
JP2008035096A (en) Monitoring apparatus, monitoring method and program
JP2007300462A (en) Device and method for recording image
JP4607668B2 (en) Surveillance video recording apparatus and surveillance video recording system
JP2009088666A (en) Image processor
JP2006303897A (en) Device and method for extracting facial image
KR20110102321A (en) Image motion detection method and apparatus
JPH1169298A (en) Supervisory image recorder
JP2007194837A (en) Monitor camera device
KR101093437B1 (en) Apparatus and method for detecting motion of video in digital video recorder system
JP2005057609A (en) Camera
US8965171B2 (en) Recording control apparatus, recording control method, storage medium storing recording control program
JP2006109251A (en) Image authentication method and image authentication apparatus
US20240104920A1 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
KR101223528B1 (en) Method for operating surveillance camera system in cooperative ways, system and camera for the same

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071113

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071120

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101109

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110308