JP2001216574A - Camera system - Google Patents

Camera system

Info

Publication number
JP2001216574A
JP2001216574A JP2000022472A JP2000022472A JP2001216574A JP 2001216574 A JP2001216574 A JP 2001216574A JP 2000022472 A JP2000022472 A JP 2000022472A JP 2000022472 A JP2000022472 A JP 2000022472A JP 2001216574 A JP2001216574 A JP 2001216574A
Authority
JP
Japan
Prior art keywords
image
camera system
camera
abnormality
component
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
JP2000022472A
Other languages
Japanese (ja)
Inventor
Toshio Hikima
寿夫 引間
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2000022472A priority Critical patent/JP2001216574A/en
Publication of JP2001216574A publication Critical patent/JP2001216574A/en
Pending legal-status Critical Current

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Burglar Alarm Systems (AREA)
  • Alarm Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect the abnormality of a camera without manually and actually inspecting a picture. SOLUTION: The variation of electric information outputted from a camera part 1 is detected by a luminance/color difference detecting part 7. In the case of the absence of the variation of the signal concerning the whole picture, the obtained picture is judged to be uniform entirely and this case is reported as the occurrence of abnormality.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、店舗内を撮影する
監視カメラ等により構成されるカメラシステムに関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera system including a surveillance camera for photographing the inside of a store.

【0002】[0002]

【従来の技術】監視カメラを備えたカメラシステムは、
被対象物をカメラにて撮影し、その画像を対象物から離
れた場所から、あるいは後日閲覧することを目的として
いる。例えば、コンビニエンスストア等のカメラシステ
ムは、一定間隔で店内を撮影し、それをビデオテープ等
に記録しておき、必要な時に閲覧できるような構成とな
っている。
2. Description of the Related Art A camera system having a surveillance camera is
The object is photographed by a camera, and the image is intended to be viewed from a place away from the object or at a later date. For example, a camera system of a convenience store or the like has a configuration in which the inside of a store is photographed at regular intervals, the photograph is recorded on a video tape or the like, and can be viewed when necessary.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
カメラシステムでは、カメラの異常を検出できるのは、
撮影した画像を閲覧する時に限られていた。すなわち、
撮影した画像を再生せずにカメラの動作の正常性を確認
することは困難であった。このため、上述したように必
要な時のみ閲覧するような構成では、閲覧が必要となっ
た時に初めてカメラの異常が検出できることとなるが、
異常が発生してから閲覧するまでの間の画像が取得され
ていないこととなり、必要な画像を閲覧することができ
ないという問題点があった。
However, in the conventional camera system, the abnormality of the camera can be detected.
It was limited when browsing the captured images. That is,
It has been difficult to confirm the normal operation of the camera without reproducing the captured image. For this reason, in the configuration in which browsing is performed only when necessary as described above, the abnormality of the camera can be detected only when browsing is required,
There is a problem that an image is not acquired during a period from occurrence of an abnormality until browsing, and a necessary image cannot be browsed.

【0004】このため、カメラシステムでは、撮影時に
カメラが正常に動作しているか否かを判定できるように
するという課題がある。
For this reason, the camera system has a problem that it is possible to determine whether or not the camera is operating normally at the time of shooting.

【0005】[0005]

【課題を解決するための手段】上述した課題を解決する
ため、請求項1の発明は、カメラで画像を取得し、これ
を電気信号に変換して処理するカメラシステムにおい
て、画面全体が一様な状態となっていることを検出し
て、異常の発生を検出することを特徴とするカメラシス
テムである。
According to a first aspect of the present invention, there is provided a camera system which acquires an image with a camera, converts the image into an electric signal, and processes the image. The camera system is characterized in that the camera system detects an abnormal state and detects occurrence of an abnormality.

【0006】請求項2の発明は、上述した請求項1のカ
メラシステムにおいて、1画面全体の信号が一定である
ことから、画面全体が一様な状態となっていることを検
出することを特徴とするカメラシステムである。請求項
3の発明は、上述した請求項1のカメラシステムにおい
て、1行全体の信号が一定であることから、画面全体が
一様な状態となっていることを検出することを特徴とす
るカメラシステムである。
According to a second aspect of the present invention, in the camera system of the first aspect, since the signal of one entire screen is constant, it is detected that the entire screen is in a uniform state. Camera system. According to a third aspect of the present invention, in the camera system according to the first aspect of the present invention, since a signal of one entire line is constant, it is detected that the entire screen is in a uniform state. System.

【0007】請求項4の発明は、上述した請求項1のカ
メラシステムにおいて、取り込んだ画像を空間成分から
周波数成分に変換し、周波数成分への変換後の値から画
面全体が一様な状態となっていることを検出することを
特徴とするカメラシステムである。請求項5の発明は、
上述した請求項4のカメラシステムにおいて、直流成分
以外が0である場合に画面全体が一様な状態となってい
ることを検出することを特徴とするカメラシステムであ
る。
According to a fourth aspect of the present invention, in the camera system of the first aspect, the captured image is converted from a spatial component to a frequency component, and the entire screen is made uniform from the value after the conversion into the frequency component. The camera system is characterized in that the camera system detects that the camera system has been turned on. The invention of claim 5 is
In the above-mentioned camera system according to the fourth aspect, when the value other than the DC component is 0, it is detected that the entire screen is in a uniform state.

【0008】請求項6の発明は、上述した請求項1のカ
メラシステムにおいて、取り込んだ画像を空間成分から
周波数成分に変換し、周波数成分への変換後のデータ量
から画面全体が一様な状態となっていることを検出する
ことを特徴とするカメラシステムである。請求項7の発
明は、上述した請求項6のカメラシステムにおいて、画
面全体が一様な状態となっている画像を周波数成分へ変
換した場合のデータ量を基準とし、この基準となるデー
タ量と、取り込んだ画像を周波数成分へ変換した後のデ
ータ量とを比較して、画面全体が一様な状態となってい
ることを検出することを特徴とするカメラシステムであ
る。
According to a sixth aspect of the present invention, in the camera system of the first aspect, the captured image is converted from a spatial component to a frequency component, and the entire screen is made uniform from the amount of data converted to the frequency component. Is a camera system characterized by detecting that According to a seventh aspect of the present invention, in the camera system according to the sixth aspect, a data amount obtained by converting an image in which the entire screen is in a uniform state into frequency components is used as a reference. A camera system for comparing the amount of data obtained after converting a captured image into frequency components and detecting that the entire screen is in a uniform state.

【0009】[0009]

【発明の実施の形態】図1は本発明のカメラシステムの
第1の実施の形態を示すブロック図である。なお、以下
に説明する本発明では、画像圧縮技術についての記載が
あるが、これは「最新MPEG教科書」藤原洋監修、ア
スキー出版局PP.53−67等にその原理が記載され
ている。
FIG. 1 is a block diagram showing a first embodiment of a camera system according to the present invention. In the following description of the present invention, an image compression technique is described, which is described in "Latest MPEG Textbook", edited by Hiroshi Fujiwara, ASCII Publishing Bureau PP. 53-67 and the like describe the principle.

【0010】1はカメラ部で、レンズを介して入力画像
を取り込み、これをCCDセンサ等で電気的な信号に変
換し、出力する。出力はデジタル信号であり、その信号
形式は、例えばITU−R勧告601や656に準拠し
たものである。2はフレームメモリで、前記カメラ部1
から入力される画像を蓄積する。3はJPEG圧縮LS
Iで、フレームメモリ2に蓄積されている画像をJPE
G規格に準拠して圧縮する。
Reference numeral 1 denotes a camera unit which captures an input image via a lens, converts the input image into an electrical signal using a CCD sensor or the like, and outputs the electrical signal. The output is a digital signal, and the signal format conforms to, for example, ITU-R Recommendations 601 and 656. Reference numeral 2 denotes a frame memory, and the camera unit 1
Accumulates the image input from. 3 is JPEG compressed LS
I, the image stored in the frame memory 2 is
Compress according to the G standard.

【0011】4はCPUで、JPEG圧縮LSI3を制
御する。5はメモリで、圧縮された画像を保管する。6
はバッファで、フレームメモリ2とJPEG圧縮LSI
3およびメモリ5とCPU4を通常は分離し、必要な時
には相互にアクセス可能とする。7は輝度/色差変化検
出部で、カメラ部1からフレームメモリ2に出力される
信号の変化を検出する。
A CPU 4 controls the JPEG compression LSI 3. Reference numeral 5 denotes a memory for storing the compressed image. 6
Is a buffer, frame memory 2 and JPEG compression LSI
Normally, the CPU 3 and the memory 5 are separated from the CPU 4 so that they can be mutually accessed when necessary. Reference numeral 7 denotes a luminance / color difference change detection unit that detects a change in a signal output from the camera unit 1 to the frame memory 2.

【0012】次に第1の実施の形態の動作を説明する。
まず、カメラ部1にて入力画像を取り込み、電気的な信
号に変換する。通常、画面を画素に分割し、画素毎の輝
度および色差情報を出力する。この際、画面の水平方向
に走査しながら情報を出力するのが通常である。この情
報をフレームメモリ2に蓄積して行く。
Next, the operation of the first embodiment will be described.
First, the camera unit 1 captures an input image and converts it into an electrical signal. Normally, a screen is divided into pixels, and luminance and color difference information for each pixel is output. At this time, it is usual to output information while scanning in the horizontal direction of the screen. This information is stored in the frame memory 2.

【0013】JPEG圧縮LSI3は、フレームメモリ
2の情報を圧縮し、情報量を削減する。圧縮した画像情
報は、CPU4を経由してメモリ5に蓄えられる。この
ように、画像を圧縮することで、画像を記録として残す
場合、長時間分の画像を残すことが可能となる。上述し
た画像の圧縮動作と並行して、輝度/色差変化検出部7
で、カメラ部1からフレームメモリ2に出力する信号の
変化を検出する。カメラ部1からフレームメモリ2に出
力する信号は、輝度(Y)、青成分の色差(U)、赤成
分の色差(V)に分けられる。
The JPEG compression LSI 3 compresses information in the frame memory 2 to reduce the amount of information. The compressed image information is stored in the memory 5 via the CPU 4. As described above, by compressing an image, when the image is to be recorded, it is possible to leave a long-time image. In parallel with the above-described image compression operation, the luminance / color difference change detection unit 7
Then, a change in a signal output from the camera unit 1 to the frame memory 2 is detected. A signal output from the camera unit 1 to the frame memory 2 is divided into luminance (Y), blue component color difference (U), and red component color difference (V).

【0014】輝度/色差変化検出部7では、1画面全
体、あるいは水平方向の1ライン全体について、変化が
あるか無いかを判別する。実際には、若干の誤差がカメ
ラ部1から出力されることを考慮し、一定範囲に収まっ
ていれば変化が無い、それを越えれば変化があると判定
する。通常、Y,U,Vともに8ビットの情報として送
られてくるので、例えば±2の範囲を越えれば変化があ
ると判定し、画面全体あるいは水平方向の1ライン全体
に対して±2の範囲に収まっていれば変化が無いと判定
する。この変化の有無の判定結果は、輝度/色差変化検
出部7の内部レジスタに記録される。
The luminance / color difference change detecting section 7 determines whether or not there is a change in the entire screen or the entire horizontal line. In actuality, considering that a slight error is output from the camera unit 1, it is determined that there is no change if the error falls within a certain range, and it is determined that there is a change if it exceeds that. Normally, since Y, U, and V are all sent as 8-bit information, it is determined that there is a change if the value exceeds the range of ± 2, and the range of ± 2 is determined for the entire screen or the entire horizontal line. If it is within the range, it is determined that there is no change. The determination result of the presence / absence of this change is recorded in an internal register of the luminance / color difference change detection unit 7.

【0015】そして、CPU4は、画像圧縮動作の終了
後、輝度/色差変化検出部7の内部レジスタをアクセス
し、変化の有無を認識することができる。ここで、Y,
U,あるいはVが1画面全体にわたって同じ、というこ
とは、画面全体の輝度または色が、全て同じであるとい
うことを意味する。一般に、監視を必要とする画像で
は、1画面全体のY,U,あるいはVが同じ、というこ
とはあり得ない。すなわち、自然画像を監視しているの
であれば、必ず変化がある。にも係わらず、Y,U,あ
るいはVが同じである画像が検出されたら、これは故障
等、何らかの異常が発生したと判断できる。例えば、カ
メラ部1のレンズにシールが貼られると、黒1色の画像
となる。また、ケーブルが切断しても、出力としては、
黒1色の画像と同等ものものとなる。これにより、カメ
ラ部1のレンズにシールが貼られたり、ケーブルが切断
すると、Y,U,あるいはVが同じである画像となる。
したがって、CPU4は、輝度/色差変化検出部7の情
報から、カメラ部1のレンズにシールが貼られたり、ケ
ーブルが切断した等の異常を検出して、これをブザー等
の手段で、通知をする。これにより、実際の画像を閲覧
する前に、カメラ部1で異常が発生したことを判断し
て、これに対処することが可能となる。
After completion of the image compression operation, the CPU 4 accesses the internal register of the luminance / color difference change detecting section 7 and can recognize the presence or absence of the change. Where Y,
The fact that U or V is the same over the entire screen means that the brightness or color of the entire screen is all the same. Generally, in an image requiring monitoring, it is impossible that Y, U, or V of one entire screen is the same. That is, if a natural image is monitored, there is always a change. Nevertheless, if an image having the same Y, U, or V is detected, it can be determined that some abnormality such as a failure has occurred. For example, when a seal is attached to the lens of the camera unit 1, the image becomes a black one-color image. Also, even if the cable is cut, the output will be
This is equivalent to an image of one black color. Thereby, when a seal is attached to the lens of the camera unit 1 or the cable is cut, an image having the same Y, U, or V is obtained.
Therefore, the CPU 4 detects an abnormality such as a sticker on the lens of the camera unit 1 or a broken cable from the information of the luminance / color difference change detection unit 7 and notifies the abnormality by means such as a buzzer. I do. Thus, before browsing an actual image, it is possible to determine that an abnormality has occurred in the camera unit 1 and deal with this.

【0016】以上説明したように、本発明の第1の実施
の形態では、画像のY,U,V信号の変化を検出して、
Y,U,V信号に変化がない場合、カメラ部で何らかの
異常が発生したと判断することとしたので、画像を閲覧
することなく、カメラ部の異常を検出することが可能と
なる。図2は本発明のカメラシステムの第2の実施の形
態を示すブロック図である。
As described above, in the first embodiment of the present invention, changes in the Y, U, and V signals of an image are detected, and
If there is no change in the Y, U, and V signals, it is determined that some abnormality has occurred in the camera unit, so that an abnormality in the camera unit can be detected without browsing the image. FIG. 2 is a block diagram showing a second embodiment of the camera system of the present invention.

【0017】1はカメラ部で、レンズを介して入力画像
を取り込み、これをCCDセンサ等で電気的な信号に変
換し、出力する。出力はデジタル信号であり、その信号
形式は、例えばITU−R勧告601や656に準拠し
たものである。2はフレームメモリで、前記カメラ部1
から入力される画像を蓄積する。3はJPEG圧縮LS
Iで、フレームメモリ2に蓄積されている画像をJPE
G規格に準拠して圧縮する。
Reference numeral 1 denotes a camera unit which captures an input image via a lens, converts the input image into an electrical signal by a CCD sensor or the like, and outputs the electrical signal. The output is a digital signal, and the signal format conforms to, for example, ITU-R Recommendations 601 and 656. Reference numeral 2 denotes a frame memory, and the camera unit 1
Accumulates the image input from. 3 is JPEG compressed LS
I, the image stored in the frame memory 2 is
Compress according to the G standard.

【0018】3aはDCT変換部で、マクロブロック単
位に分割された入力画像に対してDCT変換を行う。3
bは量子化部で、DCT変換部3aで変換された値を量
子化する。なお、DCT変換部3aと量子化部3bはJ
PEG圧縮LSI3に組み込まれている。4はCPU
で、JPEG圧縮LSI3を制御する。
Reference numeral 3a denotes a DCT conversion unit which performs DCT conversion on an input image divided into macroblock units. Three
b is a quantization unit that quantizes the value transformed by the DCT transformation unit 3a. Note that the DCT transformer 3a and the quantizer 3b
It is incorporated in the PEG compression LSI3. 4 is CPU
Controls the JPEG compression LSI3.

【0019】5はメモリで、圧縮された画像を保管す
る。6はバッファで、フレームメモリ2とJPEG圧縮
LSI3およびメモリ5とCPU4を通常は分離し、必
要な時には相互にアクセス可能とする。8はAC成分0
検出部で、DCT変換部3aで変換された結果、AC成
分が全て0であるものを検出する。
Reference numeral 5 denotes a memory for storing a compressed image. Reference numeral 6 denotes a buffer which normally separates the frame memory 2 and the JPEG compression LSI 3 and the memory 5 and the CPU 4 so that they can be mutually accessed when necessary. 8 is AC component 0
The detection unit detects that the AC components are all 0 as a result of the conversion by the DCT conversion unit 3a.

【0020】次に第2の実施の形態の動作を説明する。
まず、カメラ部1にて入力画像を取り込み、電気的な信
号に変換する。通常、画面を画素に分割し、画素毎の輝
度および色差情報を出力する。この際、画面の水平方向
に走査しながら情報を出力するのが通常である。この情
報をフレームメモリ2に蓄積して行く。
Next, the operation of the second embodiment will be described.
First, the camera unit 1 captures an input image and converts it into an electrical signal. Normally, a screen is divided into pixels, and luminance and color difference information for each pixel is output. At this time, it is usual to output information while scanning in the horizontal direction of the screen. This information is stored in the frame memory 2.

【0021】JPEG圧縮LSI3は、フレームメモリ
2の情報をマクロブロック単位に取り込み、DCT変換
部3aでDCT変換を行い、量子化部3bで量子化を行
って、画像圧縮を行う。圧縮した画像情報は、CPU4
を経由してメモリ5に蓄えられる。ここで、DCT変換
は、画像を空間領域から周波数領域に変換するもので、
変換結果はDC成分とAC成分に大別される。そして、
マクロブロックに含まれる画素の全てが同じ値であれ
ば、AC成分はすべて0になる。
The JPEG compression LSI 3 takes in the information of the frame memory 2 in units of macroblocks, performs DCT conversion in the DCT conversion unit 3a, performs quantization in the quantization unit 3b, and performs image compression. The compressed image information is sent to the CPU 4
And stored in the memory 5. Here, DCT transforms an image from a spatial domain to a frequency domain.
The conversion result is roughly classified into a DC component and an AC component. And
If all the pixels included in the macroblock have the same value, all the AC components become zero.

【0022】AC成分0検出部8は、マクロブロックの
AC成分が0であるかどうかを検出するものであり、各
マクロブロックについて、AC成分が0であるか否かの
情報をCPU4が読み出すことができる。例えば、今入
力された画像のDCT変換後のAC成分が0であったと
する。すると、AC成分0検出部8はこれを検出し、該
AC成分0検出部8の内部レジスタにその旨を記録す
る。そして、CPU4はAC成分0検出部8の内部レジ
スタをアクセスすることにより、AC成分が全て0であ
ることを認識する。
The AC component 0 detecting section 8 detects whether or not the AC component of the macroblock is 0. The CPU 4 reads information on whether or not the AC component is 0 for each macroblock. Can be. For example, it is assumed that the AC component of the image that has just been input after the DCT conversion is 0. Then, the AC component 0 detector 8 detects this, and records the fact in the internal register of the AC component 0 detector 8. Then, the CPU 4 accesses the internal register of the AC component 0 detection unit 8 to recognize that the AC components are all 0.

【0023】ところで、自然画像では、ある特定部分の
輝度もしくは色差が常に一定であることは非常に稀であ
り、更に、画像全体の輝度もしくは色差が全て同じであ
ることはあり得ないと見なして良い。したがって、CP
U4は、AC成分0検出部8の内部レジスタの値を各マ
クロブロック毎に読み出し、全てのマクロブロックに対
してAC成分が0であれば、これはカメラ部1やJPE
G圧縮LSI3の故障等、何らかの異常が発生したと判
断できる。例えば、カメラ部1のレンズにシールが貼ら
れたり、ケーブルが切断すると、全てのマクロブロック
に対してAC成分が0となる。したがって、CPU4
は、AC成分0検出部8の情報から、カメラ部1のレン
ズにシールが貼られたり、ケーブルが切断した等の異常
を検出して、これをブザー等の手段で、通知をする。こ
れにより、実際の画像を閲覧する前に、カメラ部1等で
異常が発生したことを判断して、これに対処することが
可能となる。
By the way, in a natural image, it is very rare that the luminance or the color difference of a certain specific portion is always constant, and further, it is considered that the luminance or the color difference of the whole image cannot be all the same. good. Therefore, CP
U4 reads the value of the internal register of the AC component 0 detection unit 8 for each macroblock, and if the AC component is 0 for all macroblocks, this means that the camera unit 1 or JPE
It can be determined that some abnormality such as a failure of the G compression LSI 3 has occurred. For example, when a seal is attached to the lens of the camera unit 1 or the cable is cut, the AC component becomes zero for all macroblocks. Therefore, CPU4
Detects an abnormality such as a sticker attached to the lens of the camera unit 1 or a broken cable from the information of the AC component 0 detection unit 8, and notifies the abnormality by means such as a buzzer. Thus, before browsing the actual image, it is possible to determine that an abnormality has occurred in the camera unit 1 or the like and to cope with the abnormality.

【0024】以上説明したように、本発明の第2の実施
の形態では、画像を圧縮する際、AC成分が0であるか
どうかを検出し、全てのマクロブロックに対してAC成
分が0であれば、カメラ部や圧縮部で何らかの異常が発
生したと判断することとしたので、画像を閲覧すること
なく、カメラ部や圧縮部の異常を検出することが可能と
なる。
As described above, according to the second embodiment of the present invention, when compressing an image, it is detected whether or not the AC component is 0, and the AC component is set to 0 for all macroblocks. If so, it is determined that some abnormality has occurred in the camera unit and the compression unit, so that it is possible to detect the abnormality in the camera unit and the compression unit without browsing the image.

【0025】図3は本発明のカメラシステムの第3の実
施の形態を示すブロック図である。なお、この第3の実
施の形態は、上述した第2の実施の形態で説明したAC
成分が0であることの検出を、CPUで行うこととした
ものである。1はカメラ部で、レンズを介して入力画像
を取り込み、これをCCDセンサ等で電気的な信号に変
換し、出力する。出力はデジタル信号であり、その信号
形式は、例えばITU−R勧告601や656に準拠し
たものである。
FIG. 3 is a block diagram showing a third embodiment of the camera system of the present invention. Note that the third embodiment is different from the AC according to the second embodiment described above.
The detection that the component is 0 is performed by the CPU. Reference numeral 1 denotes a camera unit which captures an input image via a lens, converts the input image into an electrical signal by a CCD sensor or the like, and outputs the electrical signal. The output is a digital signal, and the signal format conforms to, for example, ITU-R Recommendations 601 and 656.

【0026】2はフレームメモリで、前記カメラ部1か
ら入力される画像を蓄積する。3はJPEG圧縮LSI
で、フレームメモリ2に蓄積されている画像をJPEG
規格に準拠して圧縮する。3aはDCT変換部で、マク
ロブロック単位に分割された入力画像に対してDCT変
換を行う。
Reference numeral 2 denotes a frame memory for storing images input from the camera unit 1. 3 is JPEG compression LSI
To convert the image stored in the frame memory 2 into JPEG
Compress according to the standard. Reference numeral 3a denotes a DCT transform unit that performs DCT transform on an input image divided into macroblock units.

【0027】3bは量子化部で、DCT変換部3aで変
換された値を量子化する。なお、DCT変換部3aと量
子化部3bはJPEG圧縮LSI3に組み込まれてい
る。5はメモリで、圧縮された画像を保管する。9はC
PUで、JPEG圧縮LSI3を制御するとともに、前
記メモリ5に保管したJPEG圧縮データからAC成分
が0であることを検出する。
Reference numeral 3b denotes a quantization unit for quantizing the value transformed by the DCT transformation unit 3a. Note that the DCT transform unit 3a and the quantizing unit 3b are incorporated in the JPEG compression LSI 3. Reference numeral 5 denotes a memory for storing the compressed image. 9 is C
The PU controls the JPEG compression LSI 3 and detects that the AC component is 0 from the JPEG compression data stored in the memory 5.

【0028】6はバッファで、フレームメモリ2とJP
EG圧縮LSI3およびメモリ5とCPU9を通常は分
離し、必要な時には相互にアクセス可能とする。次に第
3の実施の形態の動作を説明する。まず、カメラ部1に
て入力画像を取り込み、電気的な信号に変換する。通
常、画面を画素に分割し、画素毎の輝度および色差情報
を出力する。この際、画面の水平方向に走査しながら情
報を出力するのが通常である。この情報をフレームメモ
リ2に蓄積して行く。
Reference numeral 6 denotes a buffer which stores the frame memory 2 and JP
The EG compression LSI 3 and the memory 5 are usually separated from the CPU 9 so that they can be mutually accessed when necessary. Next, the operation of the third embodiment will be described. First, the camera unit 1 captures an input image and converts it into an electrical signal. Normally, a screen is divided into pixels, and luminance and color difference information for each pixel is output. At this time, it is usual to output information while scanning in the horizontal direction of the screen. This information is stored in the frame memory 2.

【0029】JPEG圧縮LSI3は、フレームメモリ
2の情報をマクロブロック単位に取り込み、DCT変換
部3aでDCT変換を行い、量子化部3bで量子化を行
って、画像圧縮を行う。圧縮した画像情報は、CPU9
によりメモリ5に転送される。CPU9は、メモリ5に
転送されたJPEG圧縮データを走査する。走査の結
果、全てのマクロブロックでAC成分が見つからなけれ
ば、カメラ部1やJPEG圧縮LSI3の故障等、何ら
かの異常が発生したと判断できる。例えば、カメラ部1
のレンズにシールが貼られたり、ケーブルが切断する
と、全てのマクロブロックに対してAC成分が0とな
り、CPU9はJPEG圧縮データでAC成分を見つけ
ることができなくなる。したがって、CPU9は、メモ
リ5に蓄えたJPEG圧縮LSI3での圧縮結果から、
カメラ部1のレンズにシールが貼られたり、ケーブルが
切断した等の異常を検出して、これをブザー等の手段
で、通知をする。これにより、実際の画像を閲覧する前
に、カメラ部1等で異常が発生したことを判断して、こ
れに対処することが可能となる。
The JPEG compression LSI 3 takes in the information of the frame memory 2 in units of macroblocks, performs DCT conversion in the DCT conversion unit 3a, performs quantization in the quantization unit 3b, and performs image compression. The compressed image information is sent to the CPU 9
Is transferred to the memory 5. The CPU 9 scans the JPEG compressed data transferred to the memory 5. As a result of scanning, if no AC component is found in all the macroblocks, it can be determined that some abnormality has occurred, such as a failure of the camera unit 1 or the JPEG compression LSI 3. For example, camera unit 1
If a seal is attached to the lens or the cable is cut, the AC component becomes zero for all macroblocks, and the CPU 9 cannot find the AC component in the JPEG compressed data. Therefore, the CPU 9 determines from the compression result of the JPEG compression LSI 3 stored in the memory 5 that
An abnormality, such as a sticker being attached to the lens of the camera unit 1 or a broken cable, is detected, and this is notified by means such as a buzzer. Thus, before browsing the actual image, it is possible to determine that an abnormality has occurred in the camera unit 1 or the like and to cope with the abnormality.

【0030】以上説明したように、本発明の第3の実施
の形態では、画像を圧縮する際、AC成分が0であるか
どうかを検出し、全てのマクロブロックに対してAC成
分が0であれば、カメラ部や圧縮部で何らかの異常が発
生したと判断することとしたので、画像を閲覧すること
なく、カメラ部や圧縮部の異常を検出することが可能と
なる。また、画像を圧縮した結果からCPUによりAC
成分が0であることを検出するので、AC成分が0であ
ることを検出するための特別なハードウエアが不要であ
る。
As described above, in the third embodiment of the present invention, when compressing an image, it is detected whether or not the AC component is 0, and the AC component is set to 0 for all macroblocks. If so, it is determined that some abnormality has occurred in the camera unit and the compression unit, so that it is possible to detect the abnormality in the camera unit and the compression unit without browsing the image. Also, based on the result of compressing the image,
Since it is detected that the component is 0, no special hardware is required for detecting that the AC component is 0.

【0031】図4は本発明のカメラシステムの第4の実
施の形態を示すブロック図である。なお、この第4の実
施の形態は、上述した第2の実施の形態で説明したAC
成分が0であることの検出を、データ量からCPUが判
断することとしたものである。1はカメラ部で、レンズ
を介して入力画像を取り込み、これをCCDセンサ等で
電気的な信号に変換し、出力する。出力はデジタル信号
であり、その信号形式は、例えばITU−R勧告601
や656に準拠したものである。
FIG. 4 is a block diagram showing a camera system according to a fourth embodiment of the present invention. Note that the fourth embodiment is similar to the AC described in the second embodiment.
The CPU determines that the component is 0 based on the data amount. Reference numeral 1 denotes a camera unit which captures an input image via a lens, converts the input image into an electrical signal by a CCD sensor or the like, and outputs the electrical signal. The output is a digital signal whose signal format is, for example, ITU-R Recommendation 601.
And 656.

【0032】2はフレームメモリで、前記カメラ部1か
ら入力される画像を蓄積する。3はJPEG圧縮LSI
で、フレームメモリ2に蓄積されている画像をJPEG
規格に準拠して圧縮する。3aはDCT変換部で、マク
ロブロック単位に分割された入力画像に対してDCT変
換を行う。
Reference numeral 2 denotes a frame memory for storing images input from the camera unit 1. 3 is JPEG compression LSI
To convert the image stored in the frame memory 2 into JPEG
Compress according to the standard. Reference numeral 3a denotes a DCT transform unit that performs DCT transform on an input image divided into macroblock units.

【0033】3bは量子化部で、DCT変換部3aで変
換された値を量子化する。なお、DCT変換部3aと量
子化部3bはJPEG圧縮LSI3に組み込まれてい
る。5はメモリで、圧縮された画像を保管する。10は
CPUで、JPEG圧縮LSI3を制御するとともに、
前記メモリ5に保管したJPEG圧縮データのデータ量
からAC成分が0であることを検出する。
Reference numeral 3b denotes a quantization unit for quantizing the value transformed by the DCT transformation unit 3a. Note that the DCT transform unit 3a and the quantizing unit 3b are incorporated in the JPEG compression LSI 3. Reference numeral 5 denotes a memory for storing the compressed image. Reference numeral 10 denotes a CPU, which controls the JPEG compression LSI 3;
It is detected from the data amount of the JPEG compressed data stored in the memory 5 that the AC component is 0.

【0034】6はバッファで、フレームメモリ2とJP
EG圧縮LSI3およびメモリ5とCPU10を通常は
分離し、必要な時には相互にアクセス可能とする。次に
第4の実施の形態の動作を説明する。まず、カメラ部1
にて入力画像を取り込み、電気的な信号に変換する。通
常、画面を画素に分割し、画素毎の輝度および色差情報
を出力する。この際、画面の水平方向に走査しながら情
報を出力するのが通常である。この情報をフレームメモ
リ2に蓄積して行く。
Reference numeral 6 denotes a buffer which stores the frame memory 2 and JP
The EG compression LSI 3 and the memory 5 are usually separated from the CPU 10 so that they can be mutually accessed when necessary. Next, the operation of the fourth embodiment will be described. First, camera unit 1
Fetches an input image and converts it into an electrical signal. Normally, a screen is divided into pixels, and luminance and color difference information for each pixel is output. At this time, it is usual to output information while scanning in the horizontal direction of the screen. This information is stored in the frame memory 2.

【0035】JPEG圧縮LSI3は、フレームメモリ
2の情報をマクロブロック単位に取り込み、DCT変換
部3aでDCT変換を行い、量子化部3bで量子化を行
って、画像圧縮を行う。圧縮した画像情報は、CPU1
0によりメモリ5に転送される。CPU10は、メモリ
5に蓄えたJPEG圧縮データの量を、一定の閾値と比
較する。この閾値は、全てのマクロブロックのAC成分
が0である、すなわち、輝度および色差が全て一定であ
る画像を圧縮した場合に生成されるデータ量を元に決定
される。
The JPEG compression LSI 3 takes in the information of the frame memory 2 in units of macroblocks, performs DCT conversion in the DCT conversion unit 3a, performs quantization in the quantization unit 3b, and performs image compression. The compressed image information is sent to the CPU 1
0 is transferred to the memory 5. The CPU 10 compares the amount of JPEG compressed data stored in the memory 5 with a certain threshold. This threshold is determined based on the amount of data generated when an image in which the AC components of all macroblocks are 0, that is, an image in which the luminance and the color difference are all constant, is compressed.

【0036】この閾値と比較した結果、今取得した画像
を圧縮することで得られた実際のデータ量が閾値とほぼ
同じ、あるいは閾値を下回る場合、カメラ部1やJPE
G圧縮LSI3の故障等、何らかの異常が発生したと判
断できる。例えば、カメラ部1のレンズにシールが貼ら
れたり、ケーブルが切断すると、全てのマクロブロック
に対してAC成分が0となり、圧縮したデータは少ない
ものとなる。したがって、CPU10は、メモリ5に転
送したJPEG圧縮データの量から、カメラ部1のレン
ズにシールが貼られたり、ケーブルが切断した等の異常
を検出して、これをブザー等の手段で、通知をする。こ
れにより、実際の画像を閲覧する前に、カメラ部1等で
異常が発生したことを判断して、これに対処することが
可能となる。
As a result of comparison with the threshold value, if the actual data amount obtained by compressing the currently acquired image is substantially equal to or smaller than the threshold value, the camera unit 1 or the JPE
It can be determined that some abnormality such as a failure of the G compression LSI 3 has occurred. For example, when a seal is attached to the lens of the camera unit 1 or the cable is cut, the AC component becomes 0 for all macroblocks, and the amount of compressed data becomes small. Therefore, the CPU 10 detects an abnormality such as a sticker on the lens of the camera unit 1 or a broken cable from the amount of the JPEG compressed data transferred to the memory 5 and notifies the abnormality by means such as a buzzer. do. Thus, before browsing the actual image, it is possible to determine that an abnormality has occurred in the camera unit 1 or the like and to cope with the abnormality.

【0037】以上説明したように、本発明の第4の実施
の形態では、画像を圧縮した際、AC成分が0であるか
どうかを圧縮したデータ量から検出し、全てのマクロブ
ロックに対してAC成分が0であると、カメラ部や圧縮
部で何らかの異常が発生したと判断することとしたの
で、画像を閲覧することなく、カメラ部や圧縮部の異常
を検出することが可能となる。また、圧縮データを全て
走査する必要がないので、CPUの負担を軽くできる。
As described above, according to the fourth embodiment of the present invention, when an image is compressed, whether or not the AC component is 0 is detected from the compressed data amount, and all the macroblocks are detected. If the AC component is 0, it is determined that some abnormality has occurred in the camera unit or the compression unit. Therefore, it is possible to detect an abnormality in the camera unit or the compression unit without browsing the image. Further, since it is not necessary to scan all the compressed data, the load on the CPU can be reduced.

【0038】なお、上述した各実施の形態では、監視用
のカメラシステムを例に説明したが、本発明は、監視用
のカメラシステムに限定されるものではない。また、画
像圧縮方式としてJPEGで説明したが、他の圧縮方式
でもよい。なお、第1の実施の形態は、カメラ部1から
フレームメモリ2に出力される信号の変化を検出するも
のであるので、カメラ部1の異常を検出するために、画
像を圧縮する必要はなく、画像圧縮の機能を持たないカ
メラシステムで実現可能である。さらに、第1の実施の
形態では、画像を輝度(Y)信号および色差(U,V)
信号で表現する例で説明したが、他の表現方法、例えば
赤と緑と青(RGB)で表現する方法でも適用可能であ
る。
In each of the embodiments described above, the monitoring camera system has been described as an example. However, the present invention is not limited to the monitoring camera system. Also, although JPEG has been described as the image compression method, another compression method may be used. Since the first embodiment detects a change in a signal output from the camera unit 1 to the frame memory 2, it is not necessary to compress an image in order to detect an abnormality of the camera unit 1. It can be realized by a camera system having no image compression function. Further, in the first embodiment, an image is represented by a luminance (Y) signal and a color difference (U, V).
Although the description has been given of the example of expressing by a signal, other expressing methods, for example, a method of expressing by red, green, and blue (RGB) are also applicable.

【0039】第2〜第4の実施の形態では、画像圧縮を
利用してカメラ部1の異常を検出するものであるが、空
間成分から周波数成分に変換する方式を用いて画像圧縮
する方式であれば良く、例えば、MPEG2,ITU−
T H.263等も利用可能である。さらに、第2〜第
4の実施の形態では、AC成分が全て0であることを検
出することとしたが、カメラからノイズが入ってくる等
の原因で、レンズにシールが貼られたり等しても、必ず
しもAC成分が全て0とはならないので、このような状
態を考慮し、AC成分の低周波数成分のいくつかの値が
非0であったり、また、高周波数成分のみが非0である
ことを利用して異常が発生していると判断してもよい。
In the second to fourth embodiments, the abnormality of the camera unit 1 is detected by using image compression. However, the image is compressed by using a method of converting a spatial component to a frequency component. For example, MPEG2, ITU-
TH. 263 etc. are also available. Further, in the second to fourth embodiments, it is determined that all the AC components are 0. However, a seal may be attached to the lens due to noise coming from the camera. However, since all the AC components are not always 0, considering such a state, some values of the low frequency components of the AC component are non-zero, or only the high frequency components are non-zero. It may be determined that an abnormality has occurred using this fact.

【0040】[0040]

【発明の効果】以上説明したように、本発明は、カメラ
で画像を取得する際に、画面全体が一様な状態となって
いることを検出することで、カメラの故障等の異常が発
生していることを認識することとしたので、人が実際に
画像を閲覧しなくても、異常が発生した時点ですぐにこ
れを検出し、通知することができる。
As described above, according to the present invention, when an image is acquired by a camera, an abnormality such as a camera failure occurs by detecting that the entire screen is in a uniform state. Since it is determined that an abnormality has occurred, even when a person does not actually view the image, the abnormality can be immediately detected and notified when an abnormality occurs.

【0041】これにより、異常に対して迅速な対応が可
能となり、必要な時に画像が取得できていない、等とい
うことを防ぐことが可能となる。
As a result, it is possible to quickly respond to an abnormality, and it is possible to prevent an image from not being acquired when necessary.

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

【図1】本発明のカメラシステムの第1の実施の形態を
示すブロック図
FIG. 1 is a block diagram showing a first embodiment of a camera system according to the present invention.

【図2】本発明のカメラシステムの第2の実施の形態を
示すブロック図
FIG. 2 is a block diagram showing a second embodiment of the camera system of the present invention.

【図3】本発明のカメラシステムの第3の実施の形態を
示すブロック図
FIG. 3 is a block diagram showing a third embodiment of the camera system of the present invention.

【図4】本発明のカメラシステムの第4の実施の形態を
示すブロック図
FIG. 4 is a block diagram showing a fourth embodiment of the camera system of the present invention.

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

1 カメラ部 4 CPU 7 輝度/色差変化検出部 1 camera unit 4 CPU 7 luminance / color difference change detection unit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 カメラで画像を取得し、これを電気信号
に変換して処理するカメラシステムにおいて、画面全体
が一様な状態となっていることを検出して、異常の発生
を検出することを特徴とするカメラシステム。
1. A camera system for acquiring an image with a camera, converting the image into an electric signal, and processing the same to detect occurrence of an abnormality by detecting that the entire screen is in a uniform state. Camera system characterized by the above-mentioned.
【請求項2】 請求項1において、 1画面全体の信号が一定であることから、画面全体が一
様な状態となっていることを検出することを特徴とする
カメラシステム。
2. The camera system according to claim 1, wherein since the signal of one entire screen is constant, it is detected that the entire screen is in a uniform state.
【請求項3】 請求項1において、 1行全体の信号が一定であることから、画面全体が一様
な状態となっていることを検出することを特徴とするカ
メラシステム。
3. The camera system according to claim 1, wherein since the signal of one entire row is constant, it is detected that the entire screen is in a uniform state.
【請求項4】 請求項1において、 取り込んだ画像を空間成分から周波数成分に変換し、周
波数成分への変換後の値から画面全体が一様な状態とな
っていることを検出することを特徴とするカメラシステ
ム。
4. The method according to claim 1, wherein the captured image is converted from a spatial component to a frequency component, and it is detected from the value after the conversion to the frequency component that the entire screen is in a uniform state. And camera system.
【請求項5】 請求項4において、 直流成分以外が0である場合に画面全体が一様な状態と
なっていることを検出することを特徴とするカメラシス
テム。
5. The camera system according to claim 4, wherein when the value other than the DC component is 0, it is detected that the entire screen is in a uniform state.
【請求項6】 請求項1において、 取り込んだ画像を空間成分から周波数成分に変換し、周
波数成分への変換後のデータ量から画面全体が一様な状
態となっていることを検出することを特徴とするカメラ
システム。
6. The method according to claim 1, further comprising: converting the captured image from a spatial component to a frequency component, and detecting that the entire screen is in a uniform state from the amount of data converted to the frequency component. Characterized camera system.
【請求項7】 請求項6において、 画面全体が一様な状態となっている画像を周波数成分へ
変換した場合のデータ量を基準とし、この基準となるデ
ータ量と、取り込んだ画像を周波数成分へ変換した後の
データ量とを比較して、画面全体が一様な状態となって
いることを検出することを特徴とするカメラシステム。
7. The method according to claim 6, wherein a data amount obtained by converting an image in which the entire screen is uniform to a frequency component is used as a reference, and the reference data amount and the captured image are used as frequency components. A camera system for detecting that the entire screen is in a uniform state by comparing the data amount after the conversion to the data amount.
JP2000022472A 2000-01-31 2000-01-31 Camera system Pending JP2001216574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000022472A JP2001216574A (en) 2000-01-31 2000-01-31 Camera system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000022472A JP2001216574A (en) 2000-01-31 2000-01-31 Camera system

Publications (1)

Publication Number Publication Date
JP2001216574A true JP2001216574A (en) 2001-08-10

Family

ID=18548773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000022472A Pending JP2001216574A (en) 2000-01-31 2000-01-31 Camera system

Country Status (1)

Country Link
JP (1) JP2001216574A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272768A (en) * 2006-03-31 2007-10-18 Oki Electric Ind Co Ltd Image monitoring system and method and program for detecting abnormal condition of monitored image
JP2009065410A (en) * 2007-09-06 2009-03-26 Sanyo Electric Co Ltd Image compression circuit and digital camera
CN115243038A (en) * 2022-09-23 2022-10-25 北京小马易行科技有限公司 Method for monitoring roadside camera, server and automatic driving system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272768A (en) * 2006-03-31 2007-10-18 Oki Electric Ind Co Ltd Image monitoring system and method and program for detecting abnormal condition of monitored image
JP2009065410A (en) * 2007-09-06 2009-03-26 Sanyo Electric Co Ltd Image compression circuit and digital camera
CN115243038A (en) * 2022-09-23 2022-10-25 北京小马易行科技有限公司 Method for monitoring roadside camera, server and automatic driving system
CN115243038B (en) * 2022-09-23 2023-01-24 北京小马易行科技有限公司 Method for monitoring roadside camera, server and automatic driving system

Similar Documents

Publication Publication Date Title
JP4261068B2 (en) A fast deterministic approach in detecting defective pixels in image sensors
US7474766B2 (en) Motion image processor, motion image processing method and recording medium
KR101241662B1 (en) Image data processing device, image data processing method, and recording medium
KR101389220B1 (en) Improved pre-alarm video buffer
US20130251023A1 (en) Method and apparatus of Bayer pattern direct video compression
US20090009659A1 (en) Image capturing apparatus and method
JP2004153829A (en) Image processing system and event detecting method
US6272259B1 (en) Image correcting apparatus, image data compressing apparatus and imaging apparatus
US20020097326A1 (en) Electronic camera
JP2001216574A (en) Camera system
JP3883250B2 (en) Surveillance image recording device
KR100420620B1 (en) Object-based digital video recording system)
Tsifouti et al. A methodology to evaluate the effect of video compression on the performance of analytics systems
JPH02105686A (en) Digital recorder for still picture
JP2002112080A (en) Difference detection camera
KR20030085810A (en) Image data storing method using a change detection of image data
KR100391266B1 (en) Method for background setup in object-based compression moving-image
JP3435746B2 (en) Remote monitoring device
JP2000149155A (en) State monitoring device
US9681141B2 (en) Error detection on variable length code decoder
KR100528271B1 (en) Image playback device and image playback method
JP2006180200A (en) Monitoring device
JP2005012678A (en) Image pickup device for monitor, and monitoring method
JP2947034B2 (en) Encoding device
JPH1118073A (en) Supervisory equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060731

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090707

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091110