JP2002335492A - Recording device for crime prevention system - Google Patents

Recording device for crime prevention system

Info

Publication number
JP2002335492A
JP2002335492A JP2001137171A JP2001137171A JP2002335492A JP 2002335492 A JP2002335492 A JP 2002335492A JP 2001137171 A JP2001137171 A JP 2001137171A JP 2001137171 A JP2001137171 A JP 2001137171A JP 2002335492 A JP2002335492 A JP 2002335492A
Authority
JP
Japan
Prior art keywords
image
recording
change
photographed image
reference image
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
JP2001137171A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Matsumoto
光弘 松本
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.)
Pentax Corp
Original Assignee
Asahi Kogaku Kogyo 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 Asahi Kogaku Kogyo Co Ltd filed Critical Asahi Kogaku Kogyo Co Ltd
Priority to JP2001137171A priority Critical patent/JP2002335492A/en
Publication of JP2002335492A publication Critical patent/JP2002335492A/en
Pending legal-status Critical Current

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Burglar Alarm Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a recording device for crime prevention system that can save a recording capacity of a recording medium without deteriorating the reliability of the crime prevention system. SOLUTION: An ordinary state of a photographing object is stored as a reference image (S102). A photographed image and the reference image are compared by corresponding pixels (S108). When by the result of comparison processing it is confirmed that there is a change in the photographed image, a compression rate in the image compression processing is relatively set lower (S112), when it is confirmed that there is no change in the photographed image, the compression ratio in the image compression processing is set relatively higher (S114), and the photographed image is compressed at a set compression rate and the compressed image is recorded on a recording medium (S116).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、銀行や深夜営業の
店舗等に導入される防犯システムに関し、より詳しくは
防犯カメラにより撮影される画像の記録装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a security system to be installed in a bank, a late-night store, and the like, and more particularly, to a recording device for images captured by a security camera.

【0002】[0002]

【従来の技術】従来、コンビニエンスストア等の深夜営
業の店舗や銀行には、防犯上の理由から防犯カメラが設
置されており、店内の様子が常時撮影されている。カメ
ラが動作していることにより強盗等の犯罪を未然に防ぐ
効果が得られると共に、記録された画像が発生した犯罪
の犯人を特定する証拠として用いられることもある。こ
のような防犯システムにおいて、犯罪の発生は予測不可
能なため防犯カメラは常時動作させておかなければなら
ず、また防犯カメラにより撮影された画像は所定の周期
でサンプリングされて記録され、所定の期間、保存され
る。したがって、防犯システムにおいては画像記録のた
めに膨大な記録容量を有する記録媒体が必要とされる。
2. Description of the Related Art Conventionally, security cameras have been installed in late-night stores and banks such as convenience stores for security reasons, and the inside of the store is constantly photographed. By operating the camera, an effect of preventing crime such as robbery can be obtained, and the recorded image may be used as evidence for identifying a criminal who caused the crime. In such a security system, the crime is unpredictable, so the security camera must always be operated, and images taken by the security camera are sampled and recorded at a predetermined cycle, and the Saved for a period. Therefore, in the security system, a recording medium having an enormous recording capacity for image recording is required.

【0003】[0003]

【発明が解決しようとする課題】ところが膨大な記録容
量が必要とされるにもかかわらず、記録された画像が再
生され使用されるのは犯罪等の異常事態が発生した場合
のみである。そこで記録容量を節約するため、画像を圧
縮して記録することが考えられる。画像を圧縮して記録
する場合、圧縮比と記録容量は反比例するため、記録容
量の節約という観点からはできるだけ高い圧縮比で画像
圧縮を行うことが望ましい。一方、圧縮比に比例して再
生画像の精度はおちるため、圧縮比が高くなりすぎると
画像の劣化が著しいものとなる。したがって、たとえば
犯罪捜査等において人物を特定する場合のように、精度
の高い画像が必要とされる場合には、高い圧縮比で画像
圧縮が行なわれた記録画像は信頼性の低いものとなって
しまう。
However, despite the necessity of an enormous recording capacity, the recorded images are reproduced and used only when an abnormal situation such as a crime occurs. Therefore, in order to save the recording capacity, it is conceivable to compress and record the image. When compressing and recording an image, the compression ratio is inversely proportional to the recording capacity. Therefore, it is desirable to compress the image at the highest possible compression ratio from the viewpoint of saving the recording capacity. On the other hand, since the accuracy of the reproduced image is reduced in proportion to the compression ratio, if the compression ratio is too high, the deterioration of the image becomes remarkable. Therefore, when a high-precision image is required, for example, when a person is specified in a criminal investigation or the like, a recorded image subjected to image compression at a high compression ratio becomes unreliable. I will.

【0004】以上のように、画像圧縮をして撮影画像を
記録するにしても、防犯システムとしての信頼性の観点
から低い圧縮率で画像圧縮をせざるを得ず、記録容量の
節約を図るのは困難であるという問題があった。
As described above, even when a captured image is recorded by compressing the image, the image compression must be performed at a low compression ratio from the viewpoint of reliability as a security system, and the recording capacity is reduced. There was a problem that it was difficult.

【0005】本発明は以上の問題を解決するものであ
り、経済的でかつ信頼性の高い防犯システムの記録装置
を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide an economical and highly reliable recording device for a security system.

【0006】[0006]

【課題を解決するための手段】本発明に係る防犯システ
ムの画像記録装置は、ビデオカメラを常時作動させ、異
常事態の発生を記録する防犯システムにおいて、ビデオ
カメラにより撮影された平常時の画像に基づくデジタル
画像を基準画像として記録する基準画像記録手段と、基
準画像の撮影後にカメラにより撮影される画像に基づく
デジタル画像である撮影画像と基準画像を対応する各画
素毎に比較し、比較結果に基づいてビデオカメラの撮影
対象の変化を検知する検知手段と、撮影画像を圧縮して
記録する撮影画像記録手段と、検知手段により撮影対象
の変化が検知された場合の撮影画像記録手段における撮
影画像の圧縮率を、検知手段により撮影対象の変化が検
知されない場合の前記撮影画像記録手段における前記撮
影画像の圧縮率より低く設定する圧縮率設定手段とを備
えることを特徴とする。
An image recording apparatus of a security system according to the present invention is a security system that operates a video camera constantly and records the occurrence of an abnormal situation. A reference image recording unit that records a digital image based on the reference image as a reference image, and compares a captured image, which is a digital image based on an image captured by a camera after capturing the reference image, with the corresponding reference image for each corresponding pixel. Detecting means for detecting a change in the shooting target of the video camera based on the captured image, a shot image recording means for compressing and recording the shot image, and a shot image in the shot image recording means when a change in the shooting target is detected by the detecting means Of the photographed image in the photographed image recording means when the change of the photographing target is not detected by the detecting means. Characterized in that it comprises a compression rate setting means for setting low.

【0007】選択的に、検知手段は、1フレーム毎に撮
影対象の変化を検知し、圧縮率設定手段は1フレーム毎
に圧縮率を設定する。また、選択的に、検知手段は、1
フレーム分の基準画像および撮影画像を複数の領域に分
割し、各領域毎に撮影対象の変化を検知し、圧縮率設定
手段はその複数の領域毎に圧縮率を設定する。
Optionally, the detecting means detects a change in the object to be photographed for each frame, and the compression rate setting means sets a compression rate for each frame. Alternatively, the detecting means may be 1
The reference image and the captured image for a frame are divided into a plurality of regions, and a change in a photographing target is detected for each region, and the compression ratio setting means sets a compression ratio for each of the plurality of regions.

【0008】選択的に、検知手段は、基準画像の画素と
異なる輝度または色情報を有する撮影画像の画素の総数
の、比較する画素の総数に対する割合が所定値を超える
と、撮影対象に変化が生じていると判断する。
Optionally, the detecting means changes the object to be photographed when the ratio of the total number of pixels of the photographed image having luminance or color information different from that of the pixels of the reference image to the total number of pixels to be compared exceeds a predetermined value. Judge that it has occurred.

【0009】選択的に、検知手段は、撮影画像において
基準画像の画素と異なる輝度または色情報を有する画素
が連続して占める割合が所定値を超えると撮影対象に変
化が生じていると判断する。
Optionally, the detecting means determines that a change has occurred in the object to be photographed when the ratio of pixels having different luminance or color information in the photographed image in succession exceeds a predetermined value. .

【0010】選択的に、検知手段は、撮影画像において
基準画像の画素と異なる輝度または色情報を有する画素
が連続して占める連続領域の輪郭形状を抽出し、該輪郭
形状が所定のパターン形状と略一致するとき、撮影対象
に変化が生じていると判断する。
Optionally, the detecting means extracts a contour shape of a continuous area occupied by pixels having luminance or color information different from the pixels of the reference image in the photographed image, and the contour shape has a predetermined pattern shape. When they substantially match, it is determined that a change has occurred in the imaging target.

【0011】選択的に、検知手段により撮影対象の変化
が検知された場合の撮影画像記録手段における撮影画像
を非圧縮としてもよい。
Optionally, the photographed image in the photographed image recording means when the change of the photographed object is detected by the detecting means may be uncompressed.

【0012】以上のように本発明によれば、撮影対象の
変化に応じて撮影画像の画像圧縮を行い記録媒体に記録
するので、防犯システムとしての信頼性を低下させるこ
となく、記録媒体の記録容量が節約できる。
As described above, according to the present invention, since a captured image is image-compressed and recorded on a recording medium in accordance with a change in a photographing target, recording on the recording medium can be performed without lowering the reliability of the security system. Saves space.

【0013】基準画像および撮影画像を複数のブロック
領域に分割して、各ブロック領域毎に撮影対象の変化の
発生を判断する構成によれば、記録媒体の記録容量がよ
り効果的に節約される。
According to the configuration in which the reference image and the photographed image are divided into a plurality of block regions and the occurrence of a change in the photographing target is determined for each block region, the recording capacity of the recording medium can be more effectively saved. .

【0014】検知手段において、基準画像の画素と異な
る輝度または色情報を有する撮影画像の画素の総数の割
合を、撮影対象に変化が生じているか否かの判断の基準
とすれば、簡易な制御で記録容量の節約が達成できる。
In the detection means, if the ratio of the total number of pixels of the photographed image having luminance or color information different from that of the pixels of the reference image is used as a criterion for judging whether or not the photographing object has changed, simple control The saving of recording capacity can be achieved.

【0015】検知手段において、撮影画像において基準
画像の画素と異なる輝度または色情報を有する画素が連
続して占める割合を、撮影対象に変化が生じているか否
かの判断の基準とすれば、人物以外の要因による撮影対
象の変化を排除することができる。したがって、記録媒
体の記録容量の節約がより効果的に行なわれる。
In the detection means, if the ratio of pixels occupied by pixels having luminance or color information different from the pixels of the reference image continuously in the captured image is used as a criterion for determining whether or not the object to be captured has changed, It is possible to eliminate a change in the imaging target due to factors other than the above. Therefore, the recording capacity of the recording medium can be saved more effectively.

【0016】検知手段において、撮影画像において基準
画像の画素と異なる輝度または色情報を有する画素が連
続して占める連続領域の輪郭形状を、所定のパターン形
状とマッチングさせることにより撮影対象に変化が生じ
ているか否かを判断する構成によれば、撮影対象の変化
の要因をより正確に特定することが可能となる。したが
って、防犯システムの記録装置の信頼性がより高まる。
In the detecting means, the contour of a continuous region occupied by pixels having different luminance or color information from the pixels of the reference image in the photographed image is matched with a predetermined pattern shape, thereby causing a change in the photographed object. According to the configuration for determining whether or not the photographing target is changed, it is possible to more accurately specify the cause of the change in the imaging target. Therefore, the reliability of the recording device of the security system is further improved.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図1は、本発明に係る第1実施形
態が適用される防犯システムの記録装置のブロック図で
ある。ビデオカメラ10は、銀行のATMコーナーやコ
ンビニエンスストアのレジ近傍等に設置される防犯用の
カメラである。ビデオカメラ10により撮影された1フ
レーム分のアナログ画像情報は、記録装置20のA/D
(アナログ・デジタル)変換器21へ送られ、1フレー
ム分のデジタル画像情報へ変換される。1フレーム分の
デジタル画像情報は、システムコントローラ22の制御
に基づいて画像信号生成回路23において所定の画像処
理が施され、1フレーム分の画像信号が生成される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a recording device of a security system to which the first embodiment according to the present invention is applied. The video camera 10 is a security camera installed in an ATM corner of a bank, near a cash register in a convenience store, or the like. Analog image information for one frame captured by the video camera 10 is stored in an A / D
The data is sent to an (analog / digital) converter 21 and converted into digital image information for one frame. The digital image information for one frame is subjected to predetermined image processing in an image signal generation circuit 23 under the control of the system controller 22, and an image signal for one frame is generated.

【0018】システムコントローラ22は、記録装置2
0全体を制御する、例えばマイクロコンピュータであ
り、中央処理ユニット(CPU)、種々のルーチンを実
行するためのプログラム、常数等を格納する読出し専用
メモリ(ROM)、データ等を一時的に格納する書込み
/読出し自在なメモリ(RAM)から成る。
The system controller 22 controls the recording device 2
0 is a microcomputer, for example, a central processing unit (CPU), a program for executing various routines, a read-only memory (ROM) for storing constants and the like, and a write for temporarily storing data and the like. / Readable memory (RAM).

【0019】画像信号生成回路23において生成された
1フレーム分の画像信号は、第1メモリ(RAM)24
に一時的に格納される。登録モード設定スイッチ25
は、RAM24に格納された画像情報を基準画像として
登録する登録モードを設定するためのスイッチである。
基準画像とは、異常事態が発生する前の平常時の状態の
撮影対象の撮影画像であり、後述する比較処理の基準と
なる画像である。登録モード設定スイッチ25の操作に
より基準画像登録モードが設定されると、RAM24に
格納された1フレーム分の画像情報は第2メモリ(EE
PROM)26に基準画像として格納される。
The image signal for one frame generated by the image signal generation circuit 23 is supplied to a first memory (RAM) 24.
Is stored temporarily. Registration mode setting switch 25
Is a switch for setting a registration mode for registering the image information stored in the RAM 24 as a reference image.
The reference image is a photographed image of a photographing target in a normal state before an abnormal situation occurs, and is an image serving as a reference for a comparison process described later. When the reference image registration mode is set by operating the registration mode setting switch 25, the image information for one frame stored in the RAM 24 is stored in the second memory (EE).
(PROM) 26 as a reference image.

【0020】基準画像登録モードが設定されていなけれ
ば、RAM24に格納された1フレーム分の画像情報
は、圧縮処理回路27に入力される。圧縮処理回路27
では、1フレーム分の画像情報が圧縮される。圧縮処理
回路27における画像圧縮処理は、システムコントロー
ラ22の指令に基づいて、高圧縮モード若しくは低圧縮
モードのいずれかのモードで実行される。高圧縮モード
とは、平常の状態にある撮影対象が撮影された画像を圧
縮するためのモードであり、相対的に高い圧縮率で画像
圧縮が行なわれる。低圧縮モードとは、変化が生じた状
態の撮影対象が撮影された画像を圧縮するためのモード
であり、相対的に低い圧縮率で画像圧縮が行なわれる。
圧縮処理が施された画像情報は記録媒体制御回路28を
介して、磁気テープ、磁気ディスク、光ディスク等の記
録媒体29に記録される。
If the reference image registration mode is not set, the image information for one frame stored in the RAM 24 is input to the compression processing circuit 27. Compression processing circuit 27
Then, image information for one frame is compressed. The image compression processing in the compression processing circuit 27 is executed in one of the high compression mode and the low compression mode based on a command from the system controller 22. The high compression mode is a mode for compressing an image obtained by shooting a shooting target in a normal state, and performs image compression at a relatively high compression rate. The low compression mode is a mode for compressing an image obtained by capturing an image of a subject in a changed state, and performs image compression at a relatively low compression rate.
The compressed image information is recorded on a recording medium 29 such as a magnetic tape, magnetic disk, or optical disk via a recording medium control circuit 28.

【0021】画像圧縮回路27において1フレーム分の
画像情報が高圧縮モードにより処理されれば、再生画像
の画質は劣化するが、記録媒体29の記録容量は節約す
ることができる。また、低圧縮モードによれば、再生画
像の画質は高精度となり、上述の捜査等において信頼性
の高い画像が得られる。
If one frame of image information is processed by the image compression circuit 27 in the high compression mode, the image quality of the reproduced image is degraded, but the recording capacity of the recording medium 29 can be saved. Further, according to the low compression mode, the image quality of the reproduced image becomes highly accurate, and a highly reliable image can be obtained in the above-described search and the like.

【0022】手動スイッチ30は、圧縮処理回路27に
おける画像圧縮の処理モードを強制的に低圧縮モード、
若しくは非圧縮モードに設定するためのスイッチであ
る。また、記録装置20には非常ベル等の外部機器(図
示せず)が接続されており、外部機器から外部信号SI
Gがシステムコントローラ22に入力されると、手動ス
イッチ30の操作時と同様、圧縮処理回路27における
画像圧縮の処理モードが強制的に低圧縮モード若しくは
非圧縮モードに設定される。
The manual switch 30 forcibly sets the image compression processing mode in the compression processing circuit 27 to a low compression mode,
Alternatively, it is a switch for setting to the non-compression mode. Further, an external device (not shown) such as an emergency bell is connected to the recording device 20, and an external signal SI from the external device is output.
When G is input to the system controller 22, the processing mode of image compression in the compression processing circuit 27 is forcibly set to the low compression mode or the non-compression mode as in the case of operating the manual switch 30.

【0023】図2は、第1実施形態における画像記録の
処理手順を示すフローチャートである。ステップS10
0で、基準画像登録モードが設定されているかチェック
される。登録モード設定スイッチ25が操作されてお
り、基準画像登録モードが設定されていることが確認さ
れると、ステップS102へ進み、RAM24に格納さ
れた1フレーム分の画像情報が読み出され、EEPRO
M26に基準画像として格納される。一方、ステップS
100で基準画像登録モードが設定されていないことが
確認されるとステップS104へ進む。ステップS10
4では、RAM24に格納された1フレーム分の画像情
報が読み出され、システムコントローラ22内のRAM
に取り込まれる。
FIG. 2 is a flowchart showing a procedure of image recording according to the first embodiment. Step S10
At 0, it is checked whether the reference image registration mode is set. When the registration mode setting switch 25 is operated and it is confirmed that the reference image registration mode is set, the process proceeds to step S102, where the image information for one frame stored in the RAM 24 is read out, and the EEPRO
It is stored in M26 as a reference image. On the other hand, step S
If it is determined in step 100 that the reference image registration mode is not set, the process proceeds to step S104. Step S10
4, the image information for one frame stored in the RAM 24 is read out, and the RAM information in the system controller 22 is read out.
It is taken in.

【0024】次いで、ステップS106において手動ス
イッチ30が操作されたか、若しくは上述の外部機器か
ら外部信号SIGの入力があったかが確認される。手動
スイッチ30の操作、外部信号SIGの入力のいずれも
発生していない場合はステップS108へ進み、比較処
理ルーチンが実行される。
Next, in step S106, it is confirmed whether the manual switch 30 has been operated or an external signal SIG has been input from the above-mentioned external device. If neither the operation of the manual switch 30 nor the input of the external signal SIG has occurred, the process proceeds to step S108, and the comparison processing routine is executed.

【0025】図3はステップS108で実行される比較
処理ルーチンの処理手順を示すフローチャートである。
ステップS200で、画像変化フラグF_CHに「0」
がセットされ初期化される。画像変化フラグF_CH
は、EEPROM26内に格納された基準画像に対して
システムコントローラ22内のRAMに取り込まれた撮
影画像に変化が生じていることを示すためのフラグであ
る。
FIG. 3 is a flowchart showing the processing procedure of the comparison processing routine executed in step S108.
In step S200, the image change flag F_CH is set to “0”.
Is set and initialized. Image change flag F_CH
Is a flag for indicating that a change has occurred in the captured image captured in the RAM in the system controller 22 with respect to the reference image stored in the EEPROM 26.

【0026】次いで、ステップS202で、EEPRO
M26内の基準画像とシステムコントローラ22のRA
M内の撮影画像が読み出され、対応する画素毎に輝度値
の差分が算出される。ステップS204で、輝度値の差
分の2値化処理が行なわれる。すなわち、各画素の輝度
値の差分が所定の閾値と比較され、差分が閾値以下の場
合は「0」(白色)、差分が閾値を超える場合は「1」
(黒色)が、システムコントローラ22のRAMから読
み込まれた撮影画像の各画素毎の差分データとしてセッ
トされる。
Next, in step S202, the EEPRO
Reference image in M26 and RA of system controller 22
The captured image in M is read, and a difference in luminance value is calculated for each corresponding pixel. In step S204, a binarization process of the difference between the luminance values is performed. That is, the difference between the luminance values of the pixels is compared with a predetermined threshold value, and “0” (white) if the difference is equal to or smaller than the threshold, and “1” if the difference exceeds the threshold.
(Black) is set as difference data for each pixel of the captured image read from the RAM of the system controller 22.

【0027】ステップS206で、差分データが黒色で
ある画素数がカウントされ、変数NBにセットされる。
次いで、ステップS208で変数NBの値が閾値S1と
比較される。変数NBの値が閾値S1よりも大きい場
合、基準画像に対して撮影画像に変化が生じていると判
断され、ステップS210へ進み、画像変化フラグF_
CHに「1」がセットされる。一方、変数NBの値が閾
値S1以下の場合、撮影画像には変化が生じていないと
判断され、ステップS210の処理は実行されず、ステ
ップS200の初期化処理で画像変化フラグF_CHに
セットされた初期値「0」は変更されない。
In step S206, the number of pixels whose difference data is black is counted and set to a variable NB.
Next, in step S208, the value of the variable NB is compared with the threshold value S1. If the value of the variable NB is larger than the threshold value S1, it is determined that a change has occurred in the captured image with respect to the reference image, the process proceeds to step S210, and the image change flag F_
“1” is set in CH. On the other hand, if the value of the variable NB is equal to or smaller than the threshold value S1, it is determined that no change has occurred in the captured image, the process of step S210 is not performed, and the image change flag F_CH is set in the initialization process of step S200. The initial value “0” is not changed.

【0028】以上で比較処理ルーチンは終了する。比較
処理ルーチンが終了すると、図2のステップS110に
おいて、画像変化フラグF_CHの値がチェックされ、
EEPROM26に格納された基準画像に対してシステ
ムコントローラ22内のRAMに格納された撮影画像に
変化があるか確認される。画像変化フラグF_CHに
「1」がセットされており撮影画像が変化していること
が確認されるとステップS112へ進む。ステップS1
12では、圧縮処理回路27の処理モードが低圧縮モー
ドに設定される。一方、ステップS110において画像
変化フラグF_CHに「0」がセットされておりEEP
ROM26の基準画像に対してシステムコントローラ2
2内のRAMの撮影画像が変化していないことが確認さ
れると、ステップS114へ進む。ステップS114で
は、圧縮処理回路27の処理モードが高圧縮モードに設
定される。
Thus, the comparison processing routine ends. When the comparison processing routine ends, the value of the image change flag F_CH is checked in step S110 in FIG.
It is checked whether or not the captured image stored in the RAM in the system controller 22 has changed with respect to the reference image stored in the EEPROM 26. When it is confirmed that “1” is set in the image change flag F_CH and the captured image is changed, the process proceeds to step S112. Step S1
In 12, the processing mode of the compression processing circuit 27 is set to the low compression mode. On the other hand, in step S110, “0” is set in the image change flag F_CH, and the EEP
System controller 2 for the reference image in ROM
When it is confirmed that the photographed image in the RAM in 2 has not changed, the process proceeds to step S114. In step S114, the processing mode of the compression processing circuit 27 is set to the high compression mode.

【0029】ステップS112若しくはS114で画像
圧縮の処理モードが設定されるとステップS116へ進
む。ステップS116では、ステップS112若しくは
S114で設定された処理モードに基づいて、システム
コントローラ22内のRAMに取り込まれた撮影画像の
圧縮処理が圧縮処理回路27により実行され、記録媒体
29に記録される。
When the image compression processing mode is set in step S112 or S114, the flow advances to step S116. In step S116, based on the processing mode set in step S112 or S114, the compression processing of the captured image taken into the RAM in the system controller 22 is executed by the compression processing circuit 27, and is recorded on the recording medium 29.

【0030】ステップS106で、手動スイッチ30の
操作、外部信号SIGの入力のいずれかが発生している
ことが確認されると、ステップS108、S110の処
理は実行されず、ステップS112が実行される。ユー
ザにより手動スイッチ30が操作されるか、あるいは非
常ベルの動作と連動した外部信号SIGの入力がある場
合とは、強盗等の非常事態が発生した場合を意味する。
このような場合、記録される撮影画像は後の捜査におい
て証拠として用いられる可能性が高いため、再生される
画像が高精度となるよう、画像圧縮の処理モードは低圧
縮モードに強制的に設定される。
If it is confirmed in step S106 that either the operation of the manual switch 30 or the input of the external signal SIG has occurred, the processing in steps S108 and S110 is not executed, and step S112 is executed. . The case where the user operates the manual switch 30 or the case where there is an input of the external signal SIG in conjunction with the operation of the emergency bell means a case where an emergency such as a burglary has occurred.
In such a case, the captured image to be recorded is likely to be used as evidence in a subsequent search, so the image compression processing mode is forcibly set to the low compression mode so that the reproduced image has high accuracy. Is done.

【0031】第1実施形態の作用について図4を用いて
説明する。図4(a)にはEEPROM26に格納され
ている基準画像が示される。この基準画像に対して、R
AM24に格納される撮影画像に変化が生じていない場
合、高圧縮モードで圧縮されて記録媒体29に記録され
る。したがって、再生される画像は図4(b)に示すよ
うに画質は劣化するものの、撮影対象が平常時と変わら
ない状態なので防犯システムとしての信頼性が低下する
ことはない。一方、相対的に高い圧縮率で画像圧縮され
て記録媒体29に記録されるので、記録媒体29の記録
容量は節約される。
The operation of the first embodiment will be described with reference to FIG. FIG. 4A shows a reference image stored in the EEPROM 26. For this reference image, R
If the captured image stored in the AM 24 has not changed, it is compressed in the high compression mode and recorded on the recording medium 29. Therefore, although the image quality of the reproduced image is deteriorated as shown in FIG. 4B, the reliability of the security system does not decrease because the photographing target is in the same state as normal. On the other hand, since the image is compressed at a relatively high compression rate and recorded on the recording medium 29, the recording capacity of the recording medium 29 is saved.

【0032】また、図4(a)の基準画像に対してRA
M24に格納される撮影画像に変化が生じた場合、低圧
縮モードで圧縮されて記録媒体29に記録されるため、
図4(c)に示すような高画質の画像が再生される。し
たがって、撮影画像中に変化が生じた部分(図4の
(c)中の人物)の特定が容易であり、防犯システムと
しての信頼性は高いものとなる。
The RA of the reference image shown in FIG.
When a change occurs in the captured image stored in M24, the captured image is compressed in the low compression mode and recorded on the recording medium 29.
A high-quality image as shown in FIG. 4C is reproduced. Therefore, it is easy to identify a portion where a change has occurred in the captured image (the person in FIG. 4C), and the reliability as a security system is high.

【0033】図5は、図2のステップS108で実行さ
れる比較処理ルーチンの変形例を示すフローチャートで
ある。ステップS300からS304までの処理は、図
3のルーチンのステップS200からS204までと同
様である。すなわち、画像変化フラグF_CHに「0」
がセットされ(S300)、システムコントローラ22
のRAMから読み込まれた撮影画像がEEPROM26
から読み込まれた基準画像と各画素毎に比較され、輝度
値の差分データが演算され(S302)、その差分デー
タの2値化処理が行なわれる(S304)。
FIG. 5 is a flowchart showing a modified example of the comparison processing routine executed in step S108 of FIG. The processing from steps S300 to S304 is the same as the processing from steps S200 to S204 in the routine of FIG. That is, “0” is set in the image change flag F_CH.
Is set (S300), and the system controller 22
The captured image read from the RAM of the EEPROM 26
Is compared with the reference image read from each pixel, and difference data of the luminance value is calculated (S302), and the difference data is binarized (S304).

【0034】次いでステップS306で、連続して黒色
となる領域を構成する画素数がカウントされ、変数NN
B1〜NNBnにセットされる。変数NNB1〜NNB
nの総数は、ステップS304の処理の結果、撮影画像
内において連続して黒色となると判断される領域の数に
対応して可変である。ステップS308では、変数NN
B1〜NNBnの値うち最大値が閾値S2と比較され
る。例えば、防犯システムが銀行のATMコーナーに導
入されている場合において、ATMコーナーの利用者に
よる忘れ物等が放置された状況が撮影されると、その撮
影画像は基準画像に対して変化しているものと判断され
る。しかしながら、ATMコーナーに導入される防犯シ
ステムおいて基準画像との対比により特定しなければな
らないのは人物であり、基準画像に対して変化を生ぜし
める要因のうち、画像内で占める割合が最も大きいのは
人物である。したがって、ステップS308における閾
値S2との比較の対象となるのは変数NNB1〜NNB
nの値うちの最大値となる。
Next, in step S306, the number of pixels constituting a continuously black region is counted, and a variable NN
B1 to NNBn are set. Variables NNB1 to NNB
The total number of n is variable according to the number of regions that are determined to be continuously black in the captured image as a result of the processing in step S304. In step S308, the variable NN
The maximum value among the values of B1 to NNBn is compared with the threshold value S2. For example, when a security system is installed in an ATM corner of a bank and a situation in which a user left an object left behind by the ATM corner is photographed, the photographed image changes with respect to the reference image. Is determined. However, in the security system introduced in the ATM corner, it is the person who must be specified by comparison with the reference image, and among the factors that cause a change in the reference image, the ratio occupied in the image is the largest. Is a person. Therefore, the variables NNB1 to NNB are compared with the threshold value S2 in step S308.
This is the maximum value among the values of n.

【0035】ステップS308で変数NNB1〜NNB
nの値の最大値が閾値S2より大きいことが確認され、
撮影画像に生じた変化の原因が人物であると判断され
と、ステップS310へ進む。ステップS310では、
画像変化フラグF_CHに「1」がセットされる。一
方、ステップS308で変数NNB1〜NNBnの値の
最大値が閾値S2以下であることが確認されると、基準
画像に対して撮影画像に変化が生じていても人物以外の
要因によるものであると判断され、ステップS310の
処理は実行されない。
In steps S308, the variables NNB1 to NNB
It is confirmed that the maximum value of n is larger than the threshold value S2,
If it is determined that the cause of the change in the captured image is a person, the process proceeds to step S310. In step S310,
“1” is set to the image change flag F_CH. On the other hand, when it is confirmed in step S308 that the maximum value of the variables NNB1 to NNBn is equal to or smaller than the threshold value S2, it is determined that even if a change occurs in the captured image with respect to the reference image, it is caused by a factor other than a person. It is determined, and the process of step S310 is not performed.

【0036】以上のように、この変形例では、連続して
黒色となる画素の数、すなわち基準画像に対して変化し
ている領域の大きさにより撮影画像の変化の有無を判断
している。したがって、人物以外のものが撮影されてい
ても低圧縮モードで画像圧縮が実行されることはなく、
記録媒体29の記録容量がより節約される。
As described above, in this modification, the presence or absence of a change in the captured image is determined based on the number of pixels that are continuously black, that is, the size of the area that has changed with respect to the reference image. Therefore, even if something other than a person is photographed, image compression is not performed in the low compression mode,
The recording capacity of the recording medium 29 is further reduced.

【0037】図6は、図2のステップS108で実行さ
れる比較処理ルーチンの別の変形例を示すフローチャー
トである。ステップS400からS404までの処理
は、図3のルーチンのステップS200からS204ま
でと同様である。すなわち、画像変化フラグF_CHに
「0」がセットされ(S400)、システムコントロー
ラ22のRAMから読み込まれた撮影画像がEEPRO
M26から読み込まれた基準画像と各画素毎に比較さ
れ、輝度値の差分データが演算され(S402)、その
差分データの2値化処理が行なわれる(S404)。
FIG. 6 is a flowchart showing another modified example of the comparison processing routine executed in step S108 of FIG. The processing from steps S400 to S404 is the same as the processing from steps S200 to S204 in the routine of FIG. That is, “0” is set to the image change flag F_CH (S400), and the captured image read from the RAM of the system controller 22 is stored in the EEPROM.
The reference image read from M26 is compared with each pixel, and difference data of luminance values is calculated (S402), and the difference data is binarized (S404).

【0038】ステップS406で、ステップS404の
2値化処理の結果に基づいて、連続して黒色となる画素
の領域の輪郭が検出される。次いでステップS408
で、輪郭内の領域を単一のパターン形状(以下、「塗り
潰し形状」)として切り出す処理が実行される。ステッ
プS410では、塗り潰し形状が複数の所定パターンと
比較される。ステップS406〜S410までの処理
は、連続して黒色となる画素領域が複数ある場合は、す
べての領域について実行される。
In step S406, based on the result of the binarization process in step S404, the contour of the area of the pixel that is continuously black is detected. Next, step S408
Then, a process of cutting out the area within the contour as a single pattern shape (hereinafter, “filled shape”) is executed. In step S410, the filled shape is compared with a plurality of predetermined patterns. When there are a plurality of pixel regions that are continuously black, the processes of steps S406 to S410 are performed for all the regions.

【0039】ステップS412で、塗り潰し形状と一致
する所定パターンがあるか否かがチェックされる。塗り
潰し形状と一致する所定パターンがある場合、ステップ
S414へ進む。ステップS414では画像変化フラグ
F_CHに「1」がセットされ、本ルーチンは終了す
る。一方、ステップS412で、塗り潰し形状がどの所
定パターンとも一致していないことが確認されると(塗
り潰し形状が複数ある場合は、いずれの塗り潰し形状に
関しても一致する所定パターン形状がないことが確認さ
れると)、ステップS414の処理は実行されず、本ル
ーチンは終了する。
In step S412, it is checked whether there is a predetermined pattern that matches the fill shape. If there is a predetermined pattern that matches the fill shape, the process proceeds to step S414. In step S414, "1" is set to the image change flag F_CH, and this routine ends. On the other hand, in step S412, when it is confirmed that the fill shape does not match any of the predetermined patterns (when there are a plurality of fill shapes, it is confirmed that there is no predetermined pattern shape that matches with any of the fill shapes). ), The process of step S414 is not performed, and the present routine ends.

【0040】この変形例によれば、撮影画像内に連続し
て黒色となる画素領域が存在しても、その形状が所定パ
ターンと一致しなければ撮影画像に変化が生じていると
は判断されない。換言すれば、撮影画像に生じた変化の
要因がより正確に判断される。したがって、上述のよう
に例えばATMコーナーに導入される防犯システムに適
用すれば、人物が撮影されている場合のみ低圧縮モード
で画像圧縮して記録することが可能となり、より効果的
に記録媒体の記録容量が節約される。
According to this modification, even if there is a continuous black pixel area in the photographed image, it is not determined that the photographed image has changed unless its shape matches the predetermined pattern. . In other words, the cause of the change in the captured image is determined more accurately. Therefore, if the present invention is applied to, for example, a security system introduced at an ATM corner as described above, it becomes possible to compress and record an image in the low compression mode only when a person is being photographed, and to more effectively use a recording medium. Recording capacity is saved.

【0041】図7、8は、本発明に係る第2実施形態が
適用される防犯システムの記録装置において実行される
画像記録の処理手順を示すフローチャートである。図7
のステップS500〜S504では図2のステップS1
00〜S104までと同様の処理が実行される。すなわ
ち、登録モード設定スイッチ25の操作され、基準画像
登録モードがセットされていたら(S500でYE
S)、EEPROM26への基準画像の格納が実行され
る(S502)。また、登録モード設定スイッチ25が
操作されておらず、基準画像登録モードがセットされて
いなければ(ステップS500でNO)、RAM24に
格納された1フレーム分の画像情報が読み出され、シス
テムコントローラ22のRAMに格納される(S50
4)。
FIGS. 7 and 8 are flowcharts showing a procedure of image recording performed in a recording device of a security system to which the second embodiment according to the present invention is applied. FIG.
Steps S500 to S504 of FIG.
The same processing as in steps S00 to S104 is performed. That is, if the registration mode setting switch 25 is operated and the reference image registration mode is set (YE in S500).
S), the reference image is stored in the EEPROM 26 (S502). If the registration mode setting switch 25 has not been operated and the reference image registration mode has not been set (NO in step S500), one frame of image information stored in the RAM 24 is read out, and the system controller 22 (S50)
4).

【0042】ステップS506では図2のステップS1
06と同様、手動スイッチ30が操作されたか、若しく
は上述の外部機器から外部信号SIGの入力があったか
が確認され、手動スイッチ30の操作、外部信号SIG
の入力のいずれも発生していない場合はステップS50
8へ進む。ステップS508では、基準画像および撮影
画像がそれぞれM列×N行の複数のブロック領域に分割
される。第2実施形態では、基準画像および撮影画像
は、図9に示すように4列×4行の合計16個のブロッ
ク領域(A1〜A16)に分割される。
In step S506, step S1 in FIG.
As in step 06, it is confirmed whether the manual switch 30 has been operated or whether an external signal SIG has been input from the above-described external device.
If none of the inputs has occurred, step S50
Proceed to 8. In step S508, the reference image and the captured image are each divided into a plurality of block regions of M columns × N rows. In the second embodiment, the reference image and the captured image are divided into a total of 16 block areas (A1 to A16) of 4 columns × 4 rows as shown in FIG.

【0043】次いで図8のステップS510へ進む。ス
テップS510で、ブロック領域の列を特定するための
変数vに「1」がセットされ、ステップS512でブロ
ック領域の行を特定するための変数uに「1」がセット
され、それぞれ初期化される。次いでステップS514
では、基準画像、撮影画像のそれぞれについてブロック
領域An(v,u)に相当する領域を構成する画素のデ
ータが読み込まれ、ステップS516で比較処理ルーチ
ンが実行される。
Next, the process proceeds to step S510 in FIG. In step S510, "1" is set to a variable v for specifying a column of a block area, and in step S512, "1" is set for a variable u for specifying a row of a block area, and each is initialized. . Next, step S514
Then, the data of the pixels constituting the area corresponding to the block area An (v, u) is read for each of the reference image and the captured image, and the comparison processing routine is executed in step S516.

【0044】ステップS516で実行される比較処理ル
ーチンの処理手順は図3に示すフローチャートの処理手
順と同様である。尚、ステップS202における画素毎
の差分データの算出処理では、EEPROM26内の基
準画像のブロック領域An(v,n)に相当する領域
と、システムコントローラ22のRAM内の撮影画像の
ブロック領域An(v,n)に相当する領域の、各画素
の輝度値の差分が算出される。
The processing procedure of the comparison processing routine executed in step S516 is the same as the processing procedure of the flowchart shown in FIG. In the calculation processing of the difference data for each pixel in step S202, the area corresponding to the block area An (v, n) of the reference image in the EEPROM 26 and the block area An (v) of the captured image in the RAM of the system controller 22 are used. , N), the difference between the luminance values of the pixels in the region corresponding to (n) is calculated.

【0045】比較処理ルーチンが終了すると、処理は図
8のステップS516へ戻り、次いでステップS518
へ進む。ステップS518では、画像変化フラグF_C
Hの値がチェックされる。画像変化フラグF_CHに
「1」がセットされており、EEPROM26内の基準
画像のブロック領域An(v,n)に相当する領域に対
して、システムコントローラ22のRAM内の撮影画像
のブロック領域An(v,n)に相当する領域に変化が
生じていることが確認されると、ステップS520へ進
む。ステップS520では、圧縮処理回路27で実行さ
れる撮影画像の画像圧縮の処理モードが低圧縮モードに
設定される。一方、ステップS518において、EEP
ROM26内の基準画像のブロック領域An(v,n)
に相当する領域に対して、システムコントローラ22の
RAM内の撮影画像のブロック領域An(v,n)に相
当する領域に変化が生じていないことが確認されると、
ステップS522へ進む。ステップS522では、上述
の処理モードが高圧縮モードに設定される。
When the comparison processing routine ends, the process returns to step S516 in FIG. 8, and then proceeds to step S518.
Proceed to. In step S518, the image change flag F_C
The value of H is checked. The image change flag F_CH is set to “1”, and the area corresponding to the block area An (v, n) of the reference image in the EEPROM 26 is compared with the block area An ( If it is confirmed that a change has occurred in the area corresponding to (v, n), the process proceeds to step S520. In step S520, the processing mode of the image compression of the captured image performed by the compression processing circuit 27 is set to the low compression mode. On the other hand, in step S518, the EEP
Block area An (v, n) of the reference image in ROM 26
When it is confirmed that the area corresponding to the block area An (v, n) of the captured image in the RAM of the system controller 22 has not changed with respect to the area corresponding to
Proceed to step S522. In step S522, the above-described processing mode is set to the high compression mode.

【0046】ステップS520若しくはS522で画像
圧縮の処理モードが設定されるとステップS524へ進
み、撮影画像のブロック領域An(v,n)に相当する
領域の圧縮処理が実行される。
When the image compression processing mode is set in step S520 or S522, the flow advances to step S524 to execute a compression process for a region corresponding to the block region An (v, n) of the captured image.

【0047】次いで、ステップS526で変数uの値が
「4」(分割領域の行番号の最大値、図9参照)と等し
いかチェックされる。変数uの値が「4」と等しくない
場合、ステップS528へ進み、変数uの値が「1」イ
ンクリメントされた後、ステップS514へ戻り、以降
の処理が実行される。ステップS526で変数uの値が
「4」と等しいことが確認されたらステップS530へ
進む。ステップS530では変数vの値が「4」(分割
領域の列番号の最大値、図9参照)と等しいかチェック
される。変数vの値が「4」と等しくない場合、ステッ
プS532へ進み、変数vの値が「1」インクリメント
された後、ステップS512へ戻り、以降の処理が実行
される。すなわち、ステップS514からS524まで
の処理が、ブロック領域A1〜A16に相当する領域の
全てに施されるよう繰り返し実行される。
Next, in step S526, it is checked whether the value of the variable u is equal to "4" (the maximum value of the row number of the divided area, see FIG. 9). If the value of the variable u is not equal to “4”, the process proceeds to step S528, and after the value of the variable u is incremented by “1”, the process returns to step S514, and the subsequent processing is executed. If it is confirmed in step S526 that the value of the variable u is equal to "4", the process proceeds to step S530. In step S530, it is checked whether the value of the variable v is equal to "4" (the maximum value of the column number of the divided area, see FIG. 9). When the value of the variable v is not equal to “4”, the process proceeds to step S532, and after the value of the variable v is incremented by “1”, the process returns to step S512, and the subsequent processing is executed. That is, the processes from steps S514 to S524 are repeatedly executed so as to be performed on all the regions corresponding to the block regions A1 to A16.

【0048】ステップS530で変数vの値が「4」と
一致し、ブロック領域A1〜A16に相当する領域の全
てにおいて、ステップS524の画像圧縮処理が実行さ
れたことが確認されたら、ステップS534へ進む。ス
テップS534では、ブロック領域A1〜A16に相当
する全ての領域の圧縮データが一括して記録媒体29に
記録される。その後、図7のステップS500へ戻り、
以降の処理が実行される。
If it is confirmed in step S530 that the value of the variable v matches "4" and that the image compression processing in step S524 has been executed in all the areas corresponding to the block areas A1 to A16, the flow advances to step S534. move on. In step S534, the compressed data of all areas corresponding to the block areas A1 to A16 are collectively recorded on the recording medium 29. Thereafter, the process returns to step S500 in FIG.
The following processing is executed.

【0049】図7のステップS506で、手動スイッチ
30が操作されたか、若しくは外部機器から外部信号S
IGの入力があったことが確認されると、ステップS5
36へ進む。ステップS536では画像圧縮の処理モー
ドが低圧縮モードにセットされる。次いで、ステップS
538において、撮影画像の全体に対して画像圧縮が実
行され、記録媒体への記録処理が実行され、ステップS
500へ戻る。手動スイッチ30が操作される場合や、
外部機器から外部信号SIGが入力される場合とは、緊
急事態が発生している場合であるので、上述のブロック
領域毎の比較処理、画像圧縮処理は実行されず、撮影画
像の全体が低圧縮モードで画像圧縮され、記録媒体29
に記録される。
In step S506 of FIG. 7, whether the manual switch 30 has been operated or the external signal S
When it is confirmed that the IG has been input, step S5
Proceed to 36. In step S536, the processing mode of the image compression is set to the low compression mode. Then, step S
At 538, image compression is performed on the entire captured image, recording processing on the recording medium is performed, and step S538.
Return to 500. When the manual switch 30 is operated,
The case where the external signal SIG is input from the external device is a case where an emergency has occurred, and thus the above-described comparison processing and image compression processing for each block area are not performed, and the entire captured image is low-compression. Mode, the image is compressed
Will be recorded.

【0050】尚、第1実施形態と同様、図8のステップ
S516において、図5若しくは図6に示す比較処理ル
ーチンを実行してもよい。その際、図5のステップS3
02や図6のステップS402で実行される処理は、上
述のように各ブロック領域が対象となることは言うまで
もない。
As in the first embodiment, the comparison processing routine shown in FIG. 5 or FIG. 6 may be executed in step S516 in FIG. At that time, step S3 in FIG.
It goes without saying that the processing executed in step S402 of FIG. 6 or in step S402 of FIG.

【0051】ここで図10および11を用いて、第2実
施形態の作用について説明する。図10および11の各
図には、図9に示すブロック領域を明示するため、ブロ
ック領域の境界に相当する位置に破線が示されている。
尚、図の複雑化を避けるため各図には行番号および列番
号が示され、ブロック領域に符号は付されていないが、
各ブロック領域には図9に示す符号(A1〜A16)が
対応する。
The operation of the second embodiment will now be described with reference to FIGS. In each of FIGS. 10 and 11, a broken line is shown at a position corresponding to the boundary of the block area in order to clearly show the block area shown in FIG.
In addition, in order to avoid complicating the figure, each figure shows a row number and a column number, and the block area is not numbered.
Codes (A1 to A16) shown in FIG. 9 correspond to the respective block areas.

【0052】図10(a)は平常時にビデオカメラ10
により撮影され、EEPROM26に格納される基準画
像である。図10(b)には、ビデオカメラ10の撮影
領域内に人物が入ってきた状態が示されており、RAM
24に格納された後、画像圧縮処理でシステムコントロ
ーラ22のRAMに読み込まれる撮影画像である。
FIG. 10A shows the video camera 10 in a normal state.
Are reference images stored in the EEPROM 26. FIG. 10B shows a state in which a person has entered the shooting area of the video camera 10 and the RAM
After being stored in the image data 24, the captured image is read into the RAM of the system controller 22 in the image compression processing.

【0053】図10(b)の撮影画像において図10
(a)の基準画像に対して変化が生じている領域に注目
すると、人物が写しこまれている領域、すなわちA3、
A7、A11およびA15に相当する領域である。した
がって、これらの領域に関して画像圧縮は低圧縮モード
で実行され、その他の領域の画像圧縮は高圧縮モードで
実行され、記録媒体29に記録される。その結果、図1
1(a)に示す画像が再生される。
In the photographed image of FIG.
When attention is paid to an area where a change occurs with respect to the reference image of (a), an area where a person is captured, that is, A3,
This is an area corresponding to A7, A11 and A15. Therefore, image compression is performed in these areas in the low compression mode, and image compression in the other areas is performed in the high compression mode and recorded on the recording medium 29. As a result, FIG.
The image shown in FIG. 1 (a) is reproduced.

【0054】また、図11(a)に示す状態から図11
(b)に示す状態へ人物が移動した場合は、図10
(a)に対して変化が生じている領域、すなわちA6、
A10、A14のみが低圧縮モードで画像圧縮され、そ
の他の領域は高圧縮モードで画像圧縮され、記録媒体2
9に記録される。その結果、図11(b)に示す画像が
再生される。
Also, from the state shown in FIG.
When the person moves to the state shown in FIG.
A region where a change has occurred with respect to (a), that is, A6,
Only A10 and A14 are image-compressed in the low compression mode, and the other areas are image-compressed in the high compression mode.
9 recorded. As a result, the image shown in FIG. 11B is reproduced.

【0055】図11(a)および(b)に示すように、
図10(a)の基準画像に対して変化のない領域、(図
11(a)においてはA1、A2、A4〜A6、A8〜
A10、A12〜A14、およびA16、図11(b)
においてはA1〜A5、A7〜A9、A11〜A13、
A15およびA16)は低精度で再生されるが、人物が
写しこまれている領域(図11(a)においてはA3、
A7、A11およびA15、図11(b)においてはA
6、A10、A14)は高精度で再生される。すなわ
ち、第2実施形態によれば、再生画像において人物の特
定を困難にすることがないため、防犯システムとしての
信頼性を損なうことなく、かつ記録媒体29の記録容量
の節約がより効率よく実行される。
As shown in FIGS. 11A and 11B,
Areas unchanged from the reference image of FIG. 10A (A1, A2, A4 to A6, A8 to A8 in FIG. 11A).
A10, A12 to A14, and A16, FIG. 11B
In A1-A5, A7-A9, A11-A13,
A15 and A16) are reproduced with low accuracy, but the area where the person is captured (A3, A3 in FIG. 11A)
A7, A11 and A15, and in FIG.
6, A10, A14) are reproduced with high precision. That is, according to the second embodiment, the identification of the person in the reproduced image is not made difficult, so that the reliability of the security system is not impaired and the recording capacity of the recording medium 29 can be more efficiently saved. Is done.

【0056】尚、第1および第2実施形態においては、
撮影画像に変化が生じている場合、撮影画像は低圧縮モ
ードで画像圧縮されて記録媒体に記録されるが、これに
限るものではない。圧縮処理回路27において撮影画像
に対して実質的な画像圧縮処理を行なわず、非圧縮のま
ま記録媒体に記録してもよい。すなわち、図2のステッ
プS112、図7のステップS536、図8のステップ
S520で行なわれる処理モードの設定を圧縮率がゼロ
の非圧縮モードとしてもよい。
In the first and second embodiments,
When a change occurs in the captured image, the captured image is image-compressed in the low compression mode and recorded on the recording medium, but is not limited thereto. The compression processing circuit 27 may not perform the substantial image compression processing on the captured image, and may record the image on a recording medium without compression. That is, the processing mode set in step S112 in FIG. 2, step S536 in FIG. 7, and step S520 in FIG. 8 may be set to the non-compression mode in which the compression ratio is zero.

【0057】第1および第2実施形態においては、撮影
画像の変化を画素毎の輝度値の差分を用いて判定した
が、カラー画像の場合は各色成分ごとに同様の処理を行
うことにより、より精度の高い判定を行うことができ
る。
In the first and second embodiments, the change of the photographed image is determined by using the difference of the luminance value for each pixel. However, in the case of a color image, the same processing is performed for each color component, so A highly accurate determination can be made.

【0058】尚、本発明におけるビデオカメラとは動画
撮影用のものだけでなく、静止画撮影用のいわゆるデジ
タルスチルカメラと呼ばれるものを含む。
The video camera according to the present invention includes not only a camera for shooting a moving image but also a so-called digital still camera for shooting a still image.

【0059】[0059]

【発明の効果】以上のように本発明によれば、経済的で
かつ信頼性の高い防犯システムの記録装置が得られる。
As described above, according to the present invention, an economical and highly reliable recording device for a security system can be obtained.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る第1実施形態が適用される防犯シ
ステムの記録装置のブロック図である。
FIG. 1 is a block diagram of a recording device of a security system to which a first embodiment according to the present invention is applied.

【図2】第1実施形態における撮影画像の圧縮・記録の
処理手順を示すフローチャートである。
FIG. 2 is a flowchart illustrating a procedure for compressing and recording a captured image according to the first embodiment.

【図3】基準画像と撮影画像の比較処理ルーチンの処理
手順を示すフローチャートである。
FIG. 3 is a flowchart illustrating a processing procedure of a comparison processing routine between a reference image and a captured image.

【図4】基準画像と、基準画像に対して変化のない撮影
画像と、基準画像に対して変化が生じている撮影画像
が、第1実施形態により記録された場合の再生画像を示
す図である。
FIG. 4 is a diagram showing a reproduced image when a reference image, a captured image having no change with respect to the reference image, and a captured image having a change with respect to the reference image are recorded according to the first embodiment. is there.

【図5】比較処理ルーチンの変形例の処理手順を示すフ
ローチャートである。
FIG. 5 is a flowchart illustrating a processing procedure of a modification of the comparison processing routine.

【図6】比較処理ルーチンの別の変形例の処理手順を示
すフローチャートである。
FIG. 6 is a flowchart showing a processing procedure of another modification of the comparison processing routine.

【図7】本発明に係る第2実施形態が適用される防犯シ
ステムの記録装置における撮影画像の圧縮・記録の処理
手順の前半を示すフローチャートである。
FIG. 7 is a flowchart illustrating a first half of a processing procedure of compression and recording of a captured image in a recording device of a security system to which a second embodiment according to the present invention is applied;

【図8】第2実施形態が適用される防犯システムの記録
装置における撮影画像の圧縮・記録の処理手順の後半を
示すフローチャートである。
FIG. 8 is a flowchart illustrating the latter half of the procedure for compressing and recording a captured image in the recording device of the security system to which the second embodiment is applied.

【図9】基準画像および撮影画像の分割されるブロック
領域を示す図である。
FIG. 9 is a diagram illustrating a block area into which a reference image and a captured image are divided.

【図10】基準画像と、基準画像に対して変化が生じて
いる撮影画像を示す図である。
FIG. 10 is a diagram illustrating a reference image and a captured image in which a change occurs with respect to the reference image.

【図11】基準画像に対して変化が生じている撮影画像
が、第2実施形態により記録された場合の再生画像を示
す図である。
FIG. 11 is a diagram illustrating a reproduced image in a case where a captured image having a change with respect to a reference image is recorded according to the second embodiment.

【符号の説明】[Explanation of symbols]

10 ビデオカメラ 20 記録装置 22 システムコントローラ 24 第1メモリ 25 登録モード設定スイッチ 26 第2メモリ 27 圧縮処理回路 29 記録媒体 30 手動スイッチ DESCRIPTION OF SYMBOLS 10 Video camera 20 Recording device 22 System controller 24 1st memory 25 Registration mode setting switch 26 2nd memory 27 Compression processing circuit 29 Recording medium 30 Manual switch

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C053 FA11 GB21 KA05 KA25 LA01 5C054 AA05 CA04 CC03 CD07 CE16 CH01 EB05 ED17 FC05 FC14 FE00 GA01 GA02 HA21 5C059 KK06 SS11 TA16 TB01 TC02 TC13 TD05 TD12 UA02 5C084 AA02 AA07 AA14 BB21 CC16 DD12 EE05 GG78  ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference) EE05 GG78

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ビデオカメラを常時作動させ、異常事態
の発生を記録する防犯システムにおいて、 前記ビデオカメラにより撮影された平常時の画像に基づ
くデジタル画像を基準画像として記録する基準画像記録
手段と、 前記基準画像の撮影後に前記カメラにより撮影される画
像に基づくデジタル画像である撮影画像と前記基準画像
を対応する各画素毎に比較し、比較結果に基づいて前記
ビデオカメラの撮影対象の変化を検知する検知手段と、 前記撮影画像を圧縮して記録する撮影画像記録手段と、 前記検知手段により撮影対象の変化が検知された場合の
前記撮影画像記録手段における前記撮影画像の圧縮率
を、前記検知手段により撮影対象の変化が検知されない
場合の前記撮影画像記録手段における前記撮影画像の圧
縮率より低く設定する圧縮率設定手段とを備えることを
特徴とする防犯システムの記録装置。
1. A security system for constantly operating a video camera and recording the occurrence of an abnormal situation, comprising: a reference image recording means for recording a digital image based on a normal image taken by the video camera as a reference image; A photographed image, which is a digital image based on an image photographed by the camera after photographing the reference image, is compared with the reference image for each corresponding pixel, and a change in a photographing target of the video camera is detected based on the comparison result. A photographing image recording means for compressing and recording the photographed image; and detecting the compression ratio of the photographed image in the photographed image recording means when a change in the photographing target is detected by the detecting means. When the change of the photographing target is not detected by the means, the compression ratio is set lower than the compression ratio of the photographed image in the photographed image recording means Recording apparatus of the security system, characterized in that it comprises a shrinkage rate setting means.
【請求項2】 前記検知手段は、1フレーム毎に撮影対
象の変化を検知し、前記圧縮率設定手段は1フレーム毎
に圧縮率を設定することを特徴とする請求項1に記載の
防犯システムの記録装置。
2. The security system according to claim 1, wherein said detecting means detects a change in a photographing target for each frame, and said compression rate setting means sets a compression rate for each frame. Recording device.
【請求項3】 前記検知手段は、1フレーム分の前記基
準画像および前記撮影画像を複数の領域に分割し、各領
域毎に撮影対象の変化を検知し、前記圧縮率設定手段は
前記複数の領域毎に圧縮率を設定することを特徴とする
請求項1に記載の防犯システムの記録装置。
3. The detecting means divides the reference image and the photographed image for one frame into a plurality of regions, detects a change in a photographing target for each region, and the compression ratio setting means 2. The recording device for a security system according to claim 1, wherein a compression ratio is set for each area.
【請求項4】 前記検知手段は、前記基準画像の画素と
異なる輝度または色情報を有する前記撮影画像の画素の
総数の、比較する画素の総数に対する割合が所定値を超
えると、撮影対象に変化が生じていると判断することを
特徴とする請求項2または3に記載の防犯システムの記
録装置。
4. The method according to claim 1, wherein the detecting unit changes to a photographing object when a ratio of a total number of pixels of the photographed image having luminance or color information different from pixels of the reference image to a total number of pixels to be compared exceeds a predetermined value. 4. The recording device of the security system according to claim 2, wherein it is determined that a security problem has occurred. 5.
【請求項5】 前記検知手段は、前記撮影画像において
前記基準画像の画素と異なる輝度または色情報を有する
画素が連続して占める割合が所定値を超えると撮影対象
に変化が生じていると判断することを特徴とする請求項
2または3に記載の防犯システムの記録装置。
5. The detecting means determines that a change has occurred in a photographing target when a ratio of pixels having different luminance or color information from pixels of the reference image in the photographed image continuously exceeds a predetermined value. The recording apparatus for a security system according to claim 2, wherein the recording is performed.
【請求項6】 前記検知手段は、前記撮影画像において
前記基準画像の画素と異なる輝度または色情報を有する
画素が連続して占める連続領域の輪郭形状を抽出し、該
輪郭形状が所定のパターン形状と略一致するとき、撮影
対象に変化が生じていると判断することを特徴とする請
求項2または3に記載の防犯システムの記録装置。
6. The detecting means extracts a contour shape of a continuous area occupied by pixels having luminance or color information different from pixels of the reference image in the photographed image, and the contour shape has a predetermined pattern shape. 4. The recording device of the security system according to claim 2, wherein when substantially coincident with the condition, it is determined that the photographing target has changed.
【請求項7】 前記検知手段により撮影対象の変化が検
知された場合の前記撮影画像記録手段における前記撮影
画像を非圧縮とすることを特徴とする請求項1に記載の
防犯システムの記録装置。
7. The recording device of the security system according to claim 1, wherein the photographed image in the photographed image recording unit is uncompressed when a change in the photographing target is detected by the detecting unit.
JP2001137171A 2001-05-08 2001-05-08 Recording device for crime prevention system Pending JP2002335492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001137171A JP2002335492A (en) 2001-05-08 2001-05-08 Recording device for crime prevention system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001137171A JP2002335492A (en) 2001-05-08 2001-05-08 Recording device for crime prevention system

Publications (1)

Publication Number Publication Date
JP2002335492A true JP2002335492A (en) 2002-11-22

Family

ID=18984316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001137171A Pending JP2002335492A (en) 2001-05-08 2001-05-08 Recording device for crime prevention system

Country Status (1)

Country Link
JP (1) JP2002335492A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004088981A1 (en) * 2003-03-31 2004-10-14 Fujitsu Limited Monitoring system
JP2007013480A (en) * 2005-06-29 2007-01-18 Fujifilm Holdings Corp Monitoring system, monitoring method, and monitoring program
US7279671B2 (en) 2005-02-03 2007-10-09 Olympus Corporation Image acquisition apparatus for use with a microscope including detection of the amount of change between and image and a subsequent image, and an image recording system that use the image acquisition apparatus
WO2008075779A1 (en) * 2006-12-18 2008-06-26 Fujifilm Corporation Monitoring system, monitoring method and program
JP2008178088A (en) * 2006-12-18 2008-07-31 Fujifilm Corp Monitoring system, monitoring method, and program
EP2034348A1 (en) * 2006-05-15 2009-03-11 Nikon Corporation Time lapse photographing device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004088981A1 (en) * 2003-03-31 2004-10-14 Fujitsu Limited Monitoring system
US7279671B2 (en) 2005-02-03 2007-10-09 Olympus Corporation Image acquisition apparatus for use with a microscope including detection of the amount of change between and image and a subsequent image, and an image recording system that use the image acquisition apparatus
US7465908B2 (en) 2005-02-03 2008-12-16 Olympus Corporation Image acquisition apparatus for use with a microscope, an image recording system that uses the image acquisition apparatus, and an image storage method
JP2007013480A (en) * 2005-06-29 2007-01-18 Fujifilm Holdings Corp Monitoring system, monitoring method, and monitoring program
EP2034348A1 (en) * 2006-05-15 2009-03-11 Nikon Corporation Time lapse photographing device
EP2034348A4 (en) * 2006-05-15 2011-04-20 Nikon Corp Time lapse photographing device
US7990430B2 (en) 2006-05-15 2011-08-02 Nikon Corporation Time-lapse photographing device
WO2008075779A1 (en) * 2006-12-18 2008-06-26 Fujifilm Corporation Monitoring system, monitoring method and program
JP2008178088A (en) * 2006-12-18 2008-07-31 Fujifilm Corp Monitoring system, monitoring method, and program
US8284992B2 (en) 2006-12-18 2012-10-09 Fujifilm Corporation Monitoring system, monitoring method and program

Similar Documents

Publication Publication Date Title
US7844175B2 (en) Photographing apparatus and method
JP5390943B2 (en) Image processing apparatus and image processing method
JP2020014067A (en) Stereo imaging apparatus
US20090080716A1 (en) Image recognition device for performing image recognition including object identification on each of input images
US20090009598A1 (en) Monitor recording device
US20070222858A1 (en) Monitoring system, monitoring method and program therefor
US20060098729A1 (en) Smart image processing CCTV camera device and method for operating same
CN1973551A (en) Image compression device, image compression method, and image compression program
US7482569B2 (en) Integrated circuit device, microcomputer, and monitoring camera system
JP2008131611A (en) Monitoring apparatus, monitoring image recording method, monitoring image transmitting method, monitoring image recording control program, and monitoring image transmission control program
CN105100586A (en) Detection device and detection method
US20040179110A1 (en) Image processing apparatus
JP2002335492A (en) Recording device for crime prevention system
JP2000083239A (en) Monitor system
US7187408B2 (en) Digital camera
US6788341B2 (en) Data recording apparatus
JP2006202000A (en) Method for monitoring vehicle, apparatus for recognizing particular character pattern, and vehicle monitoring system
KR100548211B1 (en) CCTV system capable of detecting face image and method for detecting face image thereof
JP4628851B2 (en) Object detection method and object detection apparatus
US20070206102A1 (en) Image capturing apparatus and method thereof
JP3257948B2 (en) Image extraction device
JP2007336125A (en) Imaging device and its controlling method
KR100420620B1 (en) Object-based digital video recording system)
JPH05189691A (en) Character detector and parked vehicle detector
KR19980020366A (en) How to save surveillance video information