JPH11275581A - Abnormal image detecting device - Google Patents

Abnormal image detecting device

Info

Publication number
JPH11275581A
JPH11275581A JP7974398A JP7974398A JPH11275581A JP H11275581 A JPH11275581 A JP H11275581A JP 7974398 A JP7974398 A JP 7974398A JP 7974398 A JP7974398 A JP 7974398A JP H11275581 A JPH11275581 A JP H11275581A
Authority
JP
Japan
Prior art keywords
image
abnormality
abnormal
unit
code
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
JP7974398A
Other languages
Japanese (ja)
Inventor
Takashi Endo
隆史 遠藤
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.)
Kyocera Corp
Original Assignee
Kyocera Corp
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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP7974398A priority Critical patent/JPH11275581A/en
Publication of JPH11275581A publication Critical patent/JPH11275581A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To always detect the abnormality of a compressed digital image with an appropriate sensitivity by deciding it as abnormal when the ratio of the specific value of mean deviation of code quantity per coded unit and the variance exceed preliminarily set threshold. SOLUTION: An image compressing part 1 encodes digital image data in a frame unit by a JPEG system. An abnormality detecting part 2 stores JPEG code quantity per frame, calculates the average and the variance from values for the past fixed period, decides it as abnormal when the ratio of the means deviation square of the latest code quantity and the variance exceeds preliminarily set threshold and notifies it to an image code storing part 3. Thus, even when code quantity per coded unit includes trend fluctuation and random fluctuation, abnormal detection sensitivity can be appropriately changed in accordance with the fluctuations. When the part 3 receives an abnormal notice, it performs attribute change of image codes existing in a temporary storage area into a storage area, notifies the abnormality externally and can transfer the stored image codes in response to an external request.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像の変化を継続的
に検査し、画像の変化を異常として検出する異常画像検
出装置に関し、特に画像を圧縮した際に出力される符号
量に基づいて異常を検出する異常画像検出装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an abnormal image detecting apparatus for continuously inspecting a change in an image and detecting the change in the image as abnormal, and more particularly to an abnormal image detecting apparatus based on a code amount output when an image is compressed. The present invention relates to an abnormal image detection device that detects an error.

【0002】[0002]

【従来の技術】 従来、図6のような遠隔監視システム
が日本国特許公開平9 −205640として知られている。こ
の装置において画像入力部31は画像を撮影してデジタ
ル画像を画像圧縮部32へ供給する。画像圧縮部32は
入力されたデジタル画像を継続的に圧縮する。画像圧縮
部32は画像符号をデータ送信部35へ供給し、また符
号量を符号量比較部33へ供給する。符号量比較部33
は符号量と、基準符号量記憶部34に記憶されている基
準符号量とを比較し、その差分が予め設定された閾値以
上である場合に異常を判定する。つまり画像の正常な状
態を符号量が基準符号量に対して一定の閾値の範囲に入
る状態であると設定し、符号量が増え過ぎたり、減り過
ぎたりした場合に異常と判定する。ここで基準符号量と
しては、異常の無い状態で撮影された画像を標準画像と
し、その符号量を固定値として用いるか、もしくは一定
時間前の画像の符号量を用いて基準符号量を時間ととも
に次々と更新しながら用いることができ、閾値としては
統計情報を用いることができるとされている。
2. Description of the Related Art Conventionally, a remote monitoring system as shown in FIG. 6 is known as Japanese Patent Publication No. 9-205640. In this device, an image input unit 31 captures an image and supplies a digital image to an image compression unit 32. The image compression unit 32 continuously compresses the input digital image. The image compression unit 32 supplies the image code to the data transmission unit 35 and supplies the code amount to the code amount comparison unit 33. Code amount comparison unit 33
Compares the code amount with the reference code amount stored in the reference code amount storage unit 34, and determines an abnormality if the difference is equal to or larger than a preset threshold value. That is, the normal state of the image is set as a state in which the code amount falls within a range of a certain threshold value with respect to the reference code amount, and when the code amount is excessively increased or decreased, it is determined to be abnormal. Here, as the reference code amount, an image photographed in a normal state is used as a standard image, and the code amount is used as a fixed value, or the reference code amount is used along with time using the code amount of the image a fixed time ago. It can be used while being updated one after another, and statistical information can be used as the threshold.

【0003】[0003]

【発明が解決しようとする課題】 しかしながら従来例
においては、基準符号量として標準画像の符号量を用い
る場合には、正常な状態の画像符号量が徐々に変動する
トレンドを持つ場合に、異常を検出する感度がずれ、基
準符号量の片側で敏感になる一方反対側では鈍感になる
という問題があった。この問題に対処するため従来例に
おいては、一定時間前の画像の符号量を基準符号量とし
て用いることができたが、この場合トレンドによる時間
的にゆっくり変化する変動に対して対応することができ
るが、画像符号量に含まれるランダムな変動に対して影
響を受けることになる。つまり一定時間前の画像の符号
量にはランダムな変動成分が含まれるため、突発的に大
きな変動があった場合、異常検出の感度が望ましい状態
からずれるという問題があった。このように従来例にお
いては、撮影される画像の符号量がトレンド変動とラン
ダム変動を持つ場合に検出感度が変動に影響されるとい
う問題があった。この問題のために従来の装置は、実際
に撮影した画像によって動作テストを行い、閾値を調節
するなどして異常検出の感度を調節しなければならず、
設置の手間がかかり、さらに調節の基準が明確でないた
め調節する人の人為的要因による検出感度のばらつきが
発生し、このため調節をした人に対して調節が適切であ
ったかという責任が発生してしまうなどの問題があっ
た。さらに画像符号量が示す変動の特性が変わった場
合、これを補正するにはやはり閾値を調節する必要があ
るが、従来の装置ではこの変動を自動で補正することが
できす、自動監視装置としての使用に問題があった。
However, in the conventional example, when the code amount of the standard image is used as the reference code amount, an abnormality is detected when the image code amount in a normal state has a trend that gradually changes. There is a problem that the detection sensitivity shifts, and the sensitivity becomes sensitive on one side of the reference code amount, while the sensitivity becomes insensitive on the other side. In order to deal with this problem, in the conventional example, the code amount of the image a predetermined time before could be used as the reference code amount, but in this case, it is possible to cope with a time-dependent slowly changing fluctuation due to a trend. Is affected by random fluctuations included in the image code amount. In other words, since the code amount of the image before a certain time includes a random fluctuation component, there is a problem that the sensitivity of abnormality detection deviates from a desirable state when a sudden large fluctuation occurs. As described above, in the conventional example, there is a problem that the detection sensitivity is affected by the fluctuation when the code amount of the captured image has the trend fluctuation and the random fluctuation. Due to this problem, the conventional apparatus has to perform an operation test with an actually photographed image, and adjust the sensitivity of abnormality detection by adjusting a threshold value, for example.
It takes time and effort to install, and because the standard of adjustment is not clear, the sensitivity of the adjustment may vary due to human factors, resulting in the responsibility of the person who made the adjustment to make sure that the adjustment was appropriate. There were problems such as getting lost. Furthermore, if the characteristics of the fluctuation indicated by the image code amount change, it is still necessary to adjust the threshold value to correct this, but with a conventional device, this fluctuation can be automatically corrected. There was a problem with the use of.

【0004】[0004]

【課題を解決するための手段】 前記従来例の問題を解
決するために、本発明は、デジタル画像を一定数のフレ
ームを符号化単位として符号化する画像圧縮部と、前記
画像圧縮部が出力する符号化単位ごとの符号量をもとに
異常を検出する異常検出部とからなる異常画像検出装置
において、前記異常検出部は符号化単位ごとの符号量の
平均偏差の2乗と分散を求め、この二つの値の比が予め
設定された閾値を超えた場合に異常と判定することを特
徴とする異常画像検出装置を提供する。画像圧縮部は、
デジタル画像のデータ量を削減するもので、フレーム内
符号化もしくはフレーム間符号化を実行する。符号化単
位が1フレームの場合は全ての符号はフレーム内符号と
なる。フレーム内符号化方式としては、公知の静止画像
圧縮方式であるJPEG方式や、公知の動画像符号化方式で
あるMPEGやH.261 やH.263 のイントラピクチャの符号化
方式を用いることができる。画像圧縮部の符号化単位が
複数フレームからなる場合、フレーム間符号化を利用す
ることができ、その方式としては、公知のMPEG方式や、
H.261 方式や、H.263 方式等を利用することができる。
異常検出部は符号化単位ごとの符号量を入力とし、その
一定時間分の値から平均と分散を求め、最新の符号量の
平均偏差の2乗を求める。平均偏差の2乗と分散の比が
予め設定された閾値を超えた場合に異常を判定する。比
を求めるために除算を実行する必要はなく、簡単にこの
判定を行うには分散と予め設定された閾値との積を求
め、平均偏差の2乗と分散に閾値を乗じた積との大小を
判定し、平均偏差の2乗の方が大である場合に異常と判
定する。また異常検出部は入力である符号化単位ごとの
符号量からトレンド除去処理を行い、処理された符号量
に対して異常判定を行う。異常検出部が異常を検出した
場合に、データ通信手段は予め設定された通報先へデー
タ通信を開始し、異常を通報する。データ通信を行う遠
隔制御手段は、異常画像検出装置とデータ通信を行うこ
とによって異常検出動作の開始と停止を指示する。さら
に異常検出部が異常を検出した場合に、データ通信手段
は遠隔制御手段に異常を通報し、また蓄積した画像符号
を送信する。
According to an embodiment of the present invention, there is provided an image compression unit that encodes a digital image using a fixed number of frames as an encoding unit, and an image compression unit configured to output the image. An abnormal image detecting apparatus comprising: an abnormality detecting unit that detects an abnormality based on a code amount for each coding unit to be processed. The abnormality detection unit obtains a square and a variance of an average deviation of the code amount for each coding unit. An abnormal image detecting apparatus is characterized in that when the ratio of these two values exceeds a preset threshold value, it is determined that an abnormality has occurred. The image compression unit
In order to reduce the data amount of a digital image, intra-frame coding or inter-frame coding is performed. When the coding unit is one frame, all codes are intra-frame codes. As the intra-frame encoding method, a known still image compression method such as the JPEG method, or a known moving image encoding method such as MPEG or H.261 or H.263 intra-picture encoding method can be used. . When the coding unit of the image compression unit is composed of a plurality of frames, inter-frame coding can be used, and as the method, a known MPEG method,
The H.261 system, the H.263 system, and the like can be used.
The abnormality detection unit receives the code amount for each coding unit as input, obtains an average and a variance from the values for a certain time, and obtains the square of the average deviation of the latest code amount. An abnormality is determined when the ratio of the square of the average deviation to the variance exceeds a preset threshold. It is not necessary to perform division to find the ratio. To make this determination easily, find the product of the variance and a preset threshold, and determine the magnitude of the square of the mean deviation and the product of the variance multiplied by the threshold. Is determined, and when the square of the average deviation is larger, it is determined to be abnormal. Further, the abnormality detection unit performs a trend removal process from the input code amount for each coding unit, and performs abnormality determination on the processed code amount. When the abnormality detection unit detects an abnormality, the data communication unit starts data communication to a preset report destination and reports the abnormality. The remote control unit that performs data communication instructs start and stop of the abnormality detection operation by performing data communication with the abnormal image detection device. Further, when the abnormality detecting unit detects the abnormality, the data communication unit reports the abnormality to the remote control unit and transmits the stored image code.

【0005】[0005]

【発明の実施の形態】 次に本発明の異常画像検出装置
の実施の形態について図面を参照して説明する。図1は
本発明の第一の実施例である。画像圧縮部1はデジタル
画像データを入力とし、フレームを単位としてJPEG方式
でフレーム内符号化する。デジタル画像データは外部の
カメラもしくはビデオ機器から得られ、画像データとし
て処理できるフォーマットで画像圧縮部1に入力され
る。画像圧縮部1がJPEG符号化によって出力する符号量
は異常検出部2に供給され、JPEG符号は画像符号蓄積部
3に供給される。画像符号蓄積部3は、供給されたJPEG
符号を一時的に記憶する記憶領域と、蓄積保存しておく
記憶領域との2種類に分けてメモリーを管理している。
一時的に記憶する記憶領域は、リングメモリとして管理
され空き領域がなくなれば古い画像符号の上に新しい画
像符号を上書きする。これにより最近の一定時間の画像
が常に記憶されている。
Next, an embodiment of an abnormal image detecting apparatus according to the present invention will be described with reference to the drawings. FIG. 1 shows a first embodiment of the present invention. The image compression unit 1 receives digital image data as input, and performs intra-frame encoding in a JPEG system on a frame basis. Digital image data is obtained from an external camera or video device, and is input to the image compression unit 1 in a format that can be processed as image data. The code amount output from the image compression unit 1 by JPEG encoding is supplied to the abnormality detection unit 2, and the JPEG code is supplied to the image code storage unit 3. The image code storage unit 3 receives the supplied JPEG
The memory is managed in two types, a storage area for temporarily storing codes and a storage area for storing and storing codes.
The storage area for temporarily storing is managed as a ring memory, and overwrites the old image code with the new image code when there is no free space. As a result, an image of a recent certain time is always stored.

【0006】異常検出部2はフレームあたりのJPEG符号
量を画像圧縮部1より受け取ると、これを記憶し、かつ
過去の一定時間分の値から平均と分散を求める。次に最
新の符号量の平均偏差の2乗と、分散に予め設定された
閾値を乗じた積を求める。次に、平均偏差の2乗と分散
と閾値の積との大小を比較し、平均偏差の2乗の方が大
きい場合に異常検出部2は画像符号蓄積部3へ異常を通
知する。画像符号蓄積部3は異常検出部2から異常の通
知を受けると、一時記憶領域にある通知時点より一定時
間前までの画像符号を一時的に記憶する領域から蓄積保
存用の領域へと管理属性を変更し、通知時点から一定時
間後の画像符号を破棄されないように蓄積保存用の記憶
領域として蓄積する。異常通知の際に蓄積する時間は、
メモリー容量と画像符号量の発生速度とを勘案して適切
な時間を選べばよく、1から2 0秒の間で任意に設定で
きる。
[0006] When the JPEG code amount per frame is received from the image compression unit 1, the abnormality detection unit 2 stores the JPEG code amount per frame, and calculates the average and variance from the values for the past fixed time. Next, the product of the square of the average deviation of the latest code amount and the variance multiplied by a preset threshold is obtained. Next, the magnitude of the square of the average deviation and the product of the variance and the threshold value are compared, and if the square of the average deviation is larger, the abnormality detection unit 2 notifies the image code accumulation unit 3 of the abnormality. Upon receiving the notification of the abnormality from the abnormality detection unit 2, the image code storage unit 3 changes the management attribute from the area in the temporary storage area for temporarily storing the image code up to a predetermined time before the notification time to the area for storage and storage. Is changed, and the image code after a predetermined time from the notification time is stored as a storage area for storage so as not to be discarded. The time to accumulate at the time of abnormality notification is
An appropriate time may be selected in consideration of the memory capacity and the generation speed of the image code amount, and the time can be arbitrarily set between 1 and 20 seconds.

【0007】画像符号蓄積部3に蓄積された画像符号を
再生するには、画像符号蓄積部3に設けたデータ通信ポ
ートとパーソナルコンピュータのデータ通信ポートをケ
ーブルで接続し、画像符号を転送し、パーソナルコンピ
ュータ上の画像再生ソフトウエアを用いて画像を再生す
る。
In order to reproduce the image code stored in the image code storage section 3, the data communication port provided in the image code storage section 3 and the data communication port of the personal computer are connected by a cable, and the image code is transferred. Images are reproduced using image reproduction software on a personal computer.

【0008】図2は異常検出部の動作を説明するフロー
チャートである。図2において10は開始であり、21
は終了である。処理11はカウンターの初期化、和と2
乗和の変数の初期化の処理である。なおこの時点では、
符号量の平均と分散は定まっておらず、処理の開始から
しばらくは異常検出の判定を行うことはできない。処理
12は符号量を受け取る処理であり、画像圧縮部1から
符号量が通知される。処理13は和と2乗和を求める処
理である。判定処理14はカウンターが一定値N以上か
どうかを判定する処理であり、N以上である場合は処理
15を行い、N未満である場合は処理16を行う。処理
15は和と2乗和から平均と分散を求め、分散に予め設
定されている閾値を乗算し、カウンターを0にリセット
する処理である。
FIG. 2 is a flowchart for explaining the operation of the abnormality detecting section. In FIG. 2, 10 is the start, 21
Is over. Processing 11 is counter initialization, sum and 2
This is the process of initializing the variables of the sum of squares. At this point,
The average and variance of the code amount are not determined, and it is not possible to judge the abnormality detection for a while after the start of the process. Process 12 is a process of receiving the code amount, and the image compressing unit 1 notifies the code amount. Process 13 is a process for obtaining the sum and the sum of squares. The judgment process 14 is a process for judging whether or not the value of the counter is equal to or larger than a predetermined value N. If the counter is equal to or larger than N, the process 15 is performed. Process 15 is a process for obtaining an average and a variance from the sum and the sum of squares, multiplying the variance by a preset threshold, and resetting the counter to zero.

【0009】平均は和をNで割ればよく、分散はまず2
乗和をNで割って2乗平均を求め、2乗平均から平均の
2乗を引けばよい。Nはフレームレートと符号量変動の
特性によって決めればよいが例えば16などの値に設定す
る。閾値は異常検出の感度を決定するものであり、経験
的に適当な値に調節することができるが、1 から4 の間
で設定すればよい。これは符号量の変動が正規分布に従
うと仮定して、確率をもとにして大まかな値を設定し、
後に実際の動作に応じて調節すればよい。判定処理14
においてカウンターが一定値N未満であった場合は処理
16においてカウンターを1だけインクリメントする。
処理15と処理16の次は処理17において、平均偏差
の2乗を求める。
The average may be obtained by dividing the sum by N.
The sum of squares is divided by N to obtain a mean square, and the mean square may be subtracted from the mean square. N may be determined according to the characteristics of the frame rate and the code amount variation, but is set to a value such as 16 for example. The threshold value determines the sensitivity of abnormality detection and can be adjusted to an appropriate value empirically, but may be set between 1 and 4. This assumes that the variation of the code amount follows a normal distribution, sets a rough value based on the probability,
It may be adjusted later according to the actual operation. Judgment process 14
If the counter is less than the fixed value N in step 16, the counter is incremented by one in step 16.
Subsequent to the processing 15 and the processing 16, in a processing 17, the square of the average deviation is obtained.

【0010】これは処理12において通知された符号量
から平均を減算し、その2乗を求める処理である。次の
判定処理18では、平均偏差の2乗が分散と閾値の積よ
り大きいかを判定する。平均偏差の2乗の方が大きい場
合に異常と判定する。あるいは、判定処理18において
分散と閾値の積が0でないという条件を付加してもよ
く、この場合は、分散が0である初期動作注には異常を
通知しないようにできる。異常の場合には処理19にお
いて異常を画像符号蓄積部3などへ通知する。異常では
ない場合は判定処理20へ進む。
This is a process for subtracting the average from the code amount notified in the process 12 and obtaining the square thereof. In the next determination process 18, it is determined whether the square of the average deviation is larger than the product of the variance and the threshold value. If the square of the average deviation is larger, it is determined to be abnormal. Alternatively, a condition that the product of the variance and the threshold value is not 0 may be added in the determination processing 18. In this case, the abnormality may not be notified to the initial operation Note in which the variance is 0. In the case of an abnormality, the abnormality is notified to the image code storage unit 3 and the like in a process 19. If it is not abnormal, the process proceeds to the determination process 20.

【0011】次に判定処理20は終了フラグを検査す
る。終了フラグは外部の要求によりこのフローを終了す
るためのもので、通常は終了せずに処理を続行する設定
になっている。終了する場合は21へ進み、終了しない
場合は、処理12へもどって符号量の通知を受ける。な
おこのフローでは、過去のN個の符号量から平均と分散
を求め、その後N個の符号量が通知される間これらは一
定であるが、必ずしもこのように処理する必要はなく、
符号量が通知されるごとに、新しい平均と新しい分散を
求めなおしてもよい。
Next, a judgment process 20 checks the end flag. The end flag is for terminating the flow in response to an external request, and is normally set to continue processing without terminating. If the processing is completed, the process proceeds to 21. If the processing is not completed, the process returns to step 12 to receive the notification of the code amount. In this flow, the average and the variance are obtained from the past N code amounts, and these are constant while the N code amounts are notified thereafter, but it is not always necessary to perform such processing.
Every time the code amount is notified, a new average and a new variance may be calculated again.

【0012】図3は発生する符号量による異常検出部2
の動作を説明するグラフである。横軸は全て符号化単位
の番号であり、ここではフレーム番号に等しい。図3の
上のグラフの縦軸は符号化単位あたりの符号量を表わ
し、ここでは1フレームあたりのJPEG符号の符号量であ
る。フレーム番号が推移するに従って符号量が増大し、
異常を示した後、もとの水準の符号量に戻る様子が示さ
れている。ただし符号量には若干のランダム変動成分が
含まれており、グラフには平均を表わす水準線27が示
されている。
FIG. 3 shows an abnormality detection unit 2 based on the generated code amount.
3 is a graph for explaining the operation of FIG. The horizontal axis is the number of the coding unit, and here is equal to the frame number. The vertical axis of the upper graph in FIG. 3 represents the code amount per coding unit, and here is the code amount of the JPEG code per frame. The code amount increases as the frame number changes,
A state in which the amount of code returns to the original level after an abnormality is indicated is shown. However, the code amount includes a slight random fluctuation component, and a level line 27 representing the average is shown in the graph.

【0013】図3の下のグラフの縦軸は平均偏差の2乗
であり、水平線28は分散に閾値を乗じた値を示す水準
線である。水準線28を超えた点が異常と判定する点で
あり横軸の下に矢印で示してある。分散の大きさは過去
の符号量の変動の大きさによって決まるため、変動の大
きな環境では水準線28は上に移動し異常検出の感度は
鈍くなる。逆に変動の小さな環境では水準線28は下に
移動し異常検出の感度は敏感になる。
The vertical axis of the lower graph in FIG. 3 is the square of the average deviation, and the horizontal line 28 is a level line indicating the value obtained by multiplying the variance by a threshold value. A point beyond the level line 28 is a point determined to be abnormal, and is indicated by an arrow below the horizontal axis. Since the magnitude of the variance is determined by the magnitude of the past change in the code amount, the level line 28 moves upward in an environment with large fluctuations, and the sensitivity of abnormality detection becomes low. Conversely, in an environment with small fluctuations, the level line 28 moves downward and the sensitivity of abnormality detection becomes more sensitive.

【0014】図4はフレームあたり符号量にドリフト変
動とランダム変動がある場合の異常検出部2の動作を説
明するグラフである。図3と同じくグラフの横軸はフレ
ーム番号を表わし、縦軸は上段のグラフが符号量、中段
のグラフがトレンド変動を除去した符号量、下段のグラ
フが平均偏差の2乗を表わしている。上段のグラフに
は、符号量が徐々に増大するようなドリフト変動を持つ
状況下で、異常が起こった場合が示されている。ドリフ
ト変動を除去する処理により、中段のグラフにおいては
横軸付近にランダムに散らばる値が得られる。
FIG. 4 is a graph for explaining the operation of the abnormality detecting section 2 when the code amount per frame has drift fluctuation and random fluctuation. As in FIG. 3, the horizontal axis of the graph represents the frame number, the vertical axis represents the code amount, the middle graph represents the code amount from which trend fluctuation has been removed, and the lower graph represents the square of the average deviation. The upper graph shows a case where an abnormality has occurred in a situation having a drift fluctuation such that the code amount gradually increases. By the process of removing the drift fluctuation, values scattered randomly around the horizontal axis are obtained in the middle graph.

【0015】このトレンド除去の処理を施した値に対し
て、その平均と分散を求めると、平均値はほぼ横軸に重
なる。この新しい値から平均偏差の2乗を求めると図4
下段のグラフとなり、この図において水平線29は分散
と閾値との積を表わす水準線である。平均偏差の2乗が
水準線29を超えた点が異常と判定する点となり、横軸
の下に矢印で示してある。トレンド変動を除去しない場
合は、符号量の分散はトレンド変動とランダム変動の影
響で値が大きくなり、水準線29は上方に移動し、異常
検出の感度が鈍くなってしまう。しかしトレンド除去後
の値の分散はランダム変動成分のみによるものであり、
分散は小さくなり異常検出の感度が敏感になる。
When the average and the variance of the value subjected to the trend removal processing are obtained, the average value substantially overlaps the horizontal axis. When the square of the average deviation is obtained from this new value, FIG.
In the lower graph, the horizontal line 29 is a level line representing the product of the variance and the threshold value. A point where the square of the average deviation exceeds the level line 29 is a point to be determined as abnormal, and is indicated by an arrow below the horizontal axis. If the trend fluctuation is not removed, the variance of the code amount becomes large due to the influence of the trend fluctuation and the random fluctuation, the level line 29 moves upward, and the sensitivity of the abnormality detection becomes low. However, the variance of the value after detrending is due to only the random fluctuation component,
The variance becomes smaller and the sensitivity of abnormality detection becomes more sensitive.

【0016】図5は本発明の第二の実施例である。図5
では図1に加えて、異常を通報するためのデータ通信手
段4を備えている。データ通信手段は日本で使用されて
いるPHS (Personal Handy Phone System )電話機を備
え、PHS 回線を通じてISDN網5につながっている。一方
遠隔制御装置6もISDN網5につながっており、異常を通
報する電話の呼び出しを受け取る。データ通信手段4と
遠隔制御装置6とはPIAFS プロトコルを用いて最大29.2
kbpsの通信速度で誤りのないデータ通信が可能である。
異常検出部2が異常を検出すると、画像符号蓄積部3に
対して異常を通知し、さらにデータ通信手段4にも異常
を通知する。画像符号蓄積手段3は異常の通知を受ける
と、その時点の前後の画像符号を蓄積し保存する。デー
タ通信手段4は異常の通知を受けると、予め設定されて
いる通報先へPHS の発呼を行う。通報先の電話には遠隔
制御装置6が電話の呼び出しを監視しており、呼び出し
に応じて電話を接続するとPIAFS プロトコルの接続が開
始さる。PIAFS の接続が完了するとデータ通信手段4と
遠隔制御装置6との間でデータ通信が可能になり、異常
を通知するデータが送信される。
FIG. 5 shows a second embodiment of the present invention. FIG.
In FIG. 1, in addition to FIG. 1, a data communication unit 4 for reporting an abnormality is provided. The data communication means includes a PHS (Personal Handy Phone System) telephone used in Japan, and is connected to the ISDN network 5 through a PHS line. On the other hand, the remote control device 6 is also connected to the ISDN network 5 and receives a telephone call for reporting an abnormality. The data communication means 4 and the remote control device 6 communicate with each other up to 29.2 using the PIAFS protocol.
Error-free data communication is possible at a communication speed of kbps.
When the abnormality detecting unit 2 detects an abnormality, the abnormality detecting unit 2 notifies the image code storage unit 3 of the abnormality, and further notifies the data communication unit 4 of the abnormality. Upon receiving the notification of the abnormality, the image code storage means 3 stores and stores the image codes before and after that time. When the data communication means 4 receives the notification of the abnormality, the data communication means 4 makes a PHS call to a preset report destination. The remote control device 6 monitors the telephone call of the call destination telephone, and when the telephone is connected according to the call, the connection of the PIAFS protocol is started. When the PIAFS connection is completed, data communication between the data communication means 4 and the remote control device 6 becomes possible, and data for notifying abnormality is transmitted.

【0017】その後、画像蓄積部が蓄積していた画像符
号及び異常検出後の一定時間に蓄積される画像符号とを
遠隔制御端末6へ送信する。蓄積した画像符号全てを2
9.2kbpsの通信速度で転送するには10分から数十分の時
間を要する。遠隔制御手段6は異常の通報を受信する他
に、正常時において異常検出部2の動作を制御する役目
を果たしている。つまり分散に乗じる閾値の設定、異常
監視の開始と終了、タイマーによる異常監視を行う場合
の時刻設定などを遠隔制御手段6から行う。またデータ
通信手段4が異常検出時に発呼する通報先の電話番号
や、画像圧縮部1のJPEGエンコーダーの圧縮率や、画像
蓄積部3が蓄積する画像の秒数などの設定も遠隔制御手
段6から行う。
Thereafter, the image code stored in the image storage unit and the image code stored for a predetermined time after the abnormality is detected are transmitted to the remote control terminal 6. Change all stored image codes to 2
It takes 10 minutes to several tens of minutes to transfer at a communication speed of 9.2 kbps. The remote control unit 6 plays a role of controlling the operation of the abnormality detection unit 2 in a normal state, in addition to receiving the notification of the abnormality. In other words, the remote control unit 6 sets a threshold for multiplying the variance, starts and ends abnormality monitoring, and sets a time when performing abnormality monitoring using a timer. The remote control unit 6 also sets the telephone number of the report destination to be called when the data communication unit 4 detects an abnormality, the compression ratio of the JPEG encoder of the image compression unit 1, the number of seconds of images stored in the image storage unit 3, and the like. Do from.

【0018】[0018]

【発明の効果】 本発明の異常画像検出装置によれば、
入力されるデジタル画像を監視し、高価な画像処理装置
を使用することなく、画像の異常を検出することができ
る。本発明によれば画像の符号化単位あたり符号量がト
レンド変動とランダム変動を含む場合であっても、その
変動の大きさに応じて異常検出の感度が変化するため、
常に適切な感度で異常が検出される。またこのため符号
量変動のある場所を含む広い場所に設置することができ
る。また異常検出の感度を人の手で調節することをほと
んど不要にすることができる。また本発明によれば、異
常検出時の時間的前後の画像符号を画像符号蓄積部に蓄
積し、異常時の画像を記録することができる。また異常
が検出された場合にデータ通信手段を用いて遠隔地に対
して異常を迅速に通報し、また蓄積した画像符号を送信
することができる。
According to the abnormal image detecting device of the present invention,
It is possible to monitor an input digital image and detect an image abnormality without using an expensive image processing device. According to the present invention, even when the code amount per image coding unit includes a trend fluctuation and a random fluctuation, the sensitivity of abnormality detection changes according to the magnitude of the fluctuation,
Anomalies are always detected with appropriate sensitivity. For this reason, it can be installed in a wide place including a place where the code amount fluctuates. Also, it is almost unnecessary to manually adjust the sensitivity of the abnormality detection. Further, according to the present invention, it is possible to accumulate the image codes before and after the time when the abnormality is detected in the image code storage unit, and record the image when the abnormality is detected. Further, when an abnormality is detected, the abnormality can be promptly reported to a remote place using the data communication means, and the stored image code can be transmitted.

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

【図1】 本発明による異常画像検出装置のブロック図
である。
FIG. 1 is a block diagram of an abnormal image detection device according to the present invention.

【図2】 異常検出部の処理を示すフローチャート。FIG. 2 is a flowchart illustrating processing of an abnormality detection unit.

【図3】 異常検出部の検出動作を説明するグラフ。FIG. 3 is a graph illustrating a detection operation of an abnormality detection unit.

【図4】 ドリフト変動がある場合に異常検出部の検出
動作を説明するグラフ。
FIG. 4 is a graph illustrating a detection operation of an abnormality detection unit when there is drift fluctuation.

【図5】 本発明による異常画像検出装置の第二の実施
FIG. 5 is a second embodiment of the abnormal image detection device according to the present invention.

【図6】 従来の異常画像検出装置のブロック図であ
る。
FIG. 6 is a block diagram of a conventional abnormal image detection device.

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

1 画像圧縮部 2 異常検出部 3 画像符号蓄積部 4 データ通信手段 5 PHS 網及びISDN網 6 遠隔制御手段 10 開始 11 カウンター及び変数の初期化処理 12 符号量の通知 13 和と2乗和の計算処理 14 カウンターの比較処理 15 平均と分散の更新などの処理 16 カウンターのインクリメント処理 17 平均偏差の2乗を求める処理 18 平均偏差の2乗の比較処理 19 異常を通知する処理 20 終了フラグを調べる処理 21 終了 27 符号量の平均値を表わす水準線 28 符号量の分散と閾値の積を表わす水準線 29 符号量の分散と閾値の積を表わす水準線 31 画像入力部 32 画像圧縮部 33 符号量比較部 34 基準符号量記憶部 35 データ送信部 DESCRIPTION OF SYMBOLS 1 Image compression part 2 Abnormality detection part 3 Image code storage part 4 Data communication means 5 PHS network and ISDN network 6 Remote control means 10 Start 11 Counter and variable initialization processing 12 Notification of code amount 13 Calculation of sum and square sum Processing 14 Counter comparison processing 15 Processing such as updating of average and variance 16 Counter increment processing 17 Processing to find the square of the average deviation 18 Comparison processing of the square of the average deviation 19 Processing to notify abnormality 20 Processing to check the end flag 21 End 27 Level line representing average of code amount 28 Level line representing product of code amount variance and threshold value 29 Level line representing product of code amount variance and threshold value 31 Image input unit 32 Image compression unit 33 Code amount comparison Unit 34 reference code amount storage unit 35 data transmission unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】入力画像と基準画像とを比較することによ
って異常検出が行われる異常画像検出装置において、デ
ジタル画像の一定数のフレームを符号化単位として符号
化する画像圧縮部と、該画像圧縮部が出力する符号化単
位ごとの符号量をもとに異常を検出する異常検出部と、
該異常検出部は符号化単位ごとの符号量の平均偏差の2
乗と分散を求め、この二つの値の比が予め設定された閾
値を超えた場合に異常と判定することを特徴とする異常
画像検出装置。
An abnormal image detecting apparatus for detecting an abnormality by comparing an input image with a reference image, comprising: an image compression unit for encoding a fixed number of frames of a digital image as an encoding unit; An abnormality detection unit that detects an abnormality based on a code amount for each coding unit output by the unit,
The abnormality detection unit calculates the average deviation of the code amount for each coding unit by 2
An abnormal image detection apparatus that calculates a power and a variance, and determines that an abnormality occurs when a ratio of the two values exceeds a preset threshold.
【請求項2】 入力画像と基準画像とを比較することに
よって異常検出が行われる異常画像検出装置において、
デジタル画像の一定数のフレームを符号化単位として符
号化する画像圧縮部と、該画像圧縮部が出力する符号化
単位ごとの符号量をもとに異常を検出する異常検出部
と、該異常検出部は符号化単位ごとの符号量に対しトレ
ンド除去処理を行い、トレンドが除去された符号量の平
均偏差の2乗と分散を求め、この二つの値の比が予め設
定された閾値を超えた場合に異常と判定することを特徴
とする異常画像検出装置。
2. An abnormal image detecting apparatus in which an abnormality is detected by comparing an input image with a reference image,
An image compression unit that encodes a fixed number of frames of a digital image as an encoding unit, an abnormality detection unit that detects an abnormality based on the code amount of each encoding unit output by the image compression unit, and an abnormality detection unit. The unit performs a trend removal process on the code amount for each coding unit, obtains the square and the variance of the average deviation of the code amount from which the trend has been removed, and the ratio of these two values exceeds a preset threshold. An abnormal image detection device that determines an abnormality in a case.
【請求項3】 前記画像圧縮部が出力する画像符号を蓄
積する画像符号蓄積部を備え、前記異常検出部が異常と
判定した場合に、その判定した前後の画像符号を前記画
像符号蓄積部に蓄積することを特徴とする請求項1記載
の異常画像検出装置。
3. An image code accumulating section for accumulating an image code output from the image compressing section, wherein when the abnormality detecting section determines that the image is abnormal, the image codes before and after the determination are stored in the image code accumulating section. 2. The abnormal image detecting device according to claim 1, wherein the abnormal image is stored.
【請求項4】 異常を通報するためのデータ通信手段を
備え、前記異常検出部が異常と判定した場合に、前記デ
ータ通信手段によって異常を通報することを特徴とする
請求項1記載の異常画像検出装置。
4. An abnormal image according to claim 1, further comprising data communication means for reporting an abnormality, wherein the abnormality is reported by the data communication means when the abnormality detecting section determines that the abnormality is abnormal. Detection device.
【請求項5】 前記データ通信手段とデータ通信を行う
遠隔制御手段を備え、該遠隔制御手段は異常検出動作の
開始と停止を前記異常検出部へ指示することを特徴とす
る請求項3記載の異常画像検出装置。
5. The apparatus according to claim 3, further comprising remote control means for performing data communication with the data communication means, wherein the remote control means instructs the abnormality detection section to start and stop an abnormality detection operation. Abnormal image detection device.
【請求項6】 前記画像圧縮部が出力する画像符号を蓄
積する画像符号蓄積部を備え、前記異常検出部が異常と
判定した場合に、その判定した前後の画像符号を前記画
像符号蓄積部に蓄積するとともに前記データ通信手段に
よって異常を通報し、さらにその判定した前後の蓄積し
た画像符号を前記データ通信手段によって前記遠隔制御
手段に送信することを特徴とする請求項5記載の異常画
像検出装置。
6. An image code accumulating section for accumulating an image code output from the image compressing section, and when the abnormality detecting section determines that an abnormality has occurred, the image codes before and after the determination are stored in the image code accumulating section. 6. The abnormal image detecting apparatus according to claim 5, wherein the data communication means stores the information and notifies the data control means of the abnormality, and further transmits the stored image codes before and after the determination to the remote control means by the data communication means. .
JP7974398A 1998-03-26 1998-03-26 Abnormal image detecting device Pending JPH11275581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7974398A JPH11275581A (en) 1998-03-26 1998-03-26 Abnormal image detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7974398A JPH11275581A (en) 1998-03-26 1998-03-26 Abnormal image detecting device

Publications (1)

Publication Number Publication Date
JPH11275581A true JPH11275581A (en) 1999-10-08

Family

ID=13698713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7974398A Pending JPH11275581A (en) 1998-03-26 1998-03-26 Abnormal image detecting device

Country Status (1)

Country Link
JP (1) JPH11275581A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270666A (en) * 2005-03-25 2006-10-05 Sanyo Electric Co Ltd Image recording apparatus and monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270666A (en) * 2005-03-25 2006-10-05 Sanyo Electric Co Ltd Image recording apparatus and monitoring system
JP4698260B2 (en) * 2005-03-25 2011-06-08 三洋電機株式会社 Image recording apparatus and monitoring system

Similar Documents

Publication Publication Date Title
US8811661B2 (en) Monitoring camera system, monitoring camera, and monitoring camera control apparatus
JP5406362B2 (en) Monitoring system, apparatus and method
JP4646668B2 (en) Imaging apparatus and control method thereof
US20090052330A1 (en) Anomaly detection method and system and maintenance method and system
CN102945678A (en) Storage method and system of video documents and video monitoring device
KR100465244B1 (en) Motion detection apparatus and method for image signal
CN110895794B (en) Video effect self-repairing method and video self-repairing device
CN111786851B (en) Information reporting method and device
AU731506B2 (en) Method for the transmission of video images
CN107566795A (en) A kind of method, apparatus and system for improving real-time pictures fluency
JP2000032437A (en) Image transmission system
JPH11275581A (en) Abnormal image detecting device
CN101394568B (en) Video data updating method, apparatus and method thereof
US7796499B2 (en) Method of and system for video fast update
JP2001045525A (en) Quality evaluation device for compressed transmission image and transmitter and receiver used for it
JP2000050235A (en) Supervisory device
CN112533029B (en) Video time-sharing transmission method, camera device, system and storage medium
KR102101507B1 (en) Method and Apparatus for Lossless Network Video Transmission
CN114979726B (en) Code rate adjusting method, device, server and storage medium
WO2004017639A1 (en) Data communication terminal unit
JP2006067225A (en) Emergency reporting system
JP3795171B2 (en) Monitoring system
TWI615024B (en) Image recovery method and related video management server
JP3523471B2 (en) Remote image monitoring system
JP2001160963A (en) Supervisory system