JP2005012548A - Motion detecting apparatus, method, and monitor system - Google Patents

Motion detecting apparatus, method, and monitor system Download PDF

Info

Publication number
JP2005012548A
JP2005012548A JP2003175075A JP2003175075A JP2005012548A JP 2005012548 A JP2005012548 A JP 2005012548A JP 2003175075 A JP2003175075 A JP 2003175075A JP 2003175075 A JP2003175075 A JP 2003175075A JP 2005012548 A JP2005012548 A JP 2005012548A
Authority
JP
Japan
Prior art keywords
image data
image
motion detection
detecting
memory
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
JP2003175075A
Other languages
Japanese (ja)
Inventor
Keiichi Kawai
啓一 河井
Toshihiro Sato
稔浩 佐藤
Masahiro Fujita
昌弘 藤田
Hidekazu Tanaka
秀和 田中
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.)
MegaChips Corp
Original Assignee
MegaChips 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 MegaChips Corp filed Critical MegaChips Corp
Priority to JP2003175075A priority Critical patent/JP2005012548A/en
Publication of JP2005012548A publication Critical patent/JP2005012548A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the computing for detecting the amount of a moving object in an image. <P>SOLUTION: A memory 30 stores the image data outputted from an image sensor 10 via a SIU / SPU 21 and an RPU 22 as non-compressed image data A, B. A resize processing section 221 reduces the image data A, B and the memory 30 stores the reduced image data a, b. A CPU 24 reads the image data a, b and calculates the differential data C. Further, the CPU 24 executes detection processing of a moving object in the image on the basis of the differential data C. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、監視システムなどに利用される技術であって、詳しくは撮像画像内の移動物体を検出する技術に関する。
【0002】
【従来の技術】
カメラで撮像した画像を監視室などのモニタに映し出すことによって、所定の領域の監視を行うシステムが存在する。また、カメラで撮像された画像は、監視室などに設置されたハードディスクレコーダやテープ装置などの記憶装置において記録される。
【0003】
このようなシステムにおいて、監視員が全ての画像を目視で確認することができればよいが、そのような作業は負担も大きく、現実的には困難な作業である。
【0004】
そこで、従来、記憶装置に記録された画像に対して動き検出処理を実行し、撮像領域に動く物体が存在しているか否かの判定を自動的に行う方法が取られている。さらに、動き物体を検出した際には、監視室内のモニタに警告表示を行うことや、警報を鳴らすなどの動作を実行することにより、監視員に移動物体の存在を迅速に通知するようにしている。このような方法をとることにより、監視員による画像確認作業の負担を軽減させることが可能である。
【0005】
【発明が解決しようとする課題】
上記のような動き検出処理は、また、リアルタイム処理が要求される場合がある。たとえば、監視領域内に動く物体が存在する場合に、なるべく早く警報を鳴らして、監視員に早急な通知を行うことを目的とするような場合である。
【0006】
しかし、従来から行われているリアルタイムの動き検出処理は、演算量が非常に大きいため、高速なCPUを用いるか専用ハードウェアを用いる必要があった。このため、監視システムのコストを高くする一要因ともなっていた。また、監視システムでは、画像を圧縮して記憶装置に記憶する処理も行わなければならないので、動き検出処理の処理負荷をなるべく小さくしたいという要求も存在する。
【0007】
そこで、本発明は前記問題点に鑑み、画像記録システムにおける動き検出処理の処理負荷を軽減させることを目的とする。
【0008】
【課題を解決するための手段】
上記課題を解決するため、請求項1記載の発明は、第1および第2の画像データを格納するメモリと、第1および第2の画像データの画像サイズを縮小して、第1および第2の縮小画像データを得る縮小手段と、前記第1の縮小画像データと前記第2の縮小画像データとの間で移動する物体の動き検出を行うことにより、前記第1の画像データと前記第2の画像データとの間で移動する物体の検出を行う検出手段と、を備えることを特徴とする。
【0009】
請求項2記載の発明は、請求項1に記載の動き検出装置において、さらに、画像センサが連続的に出力する画像データを入力し、当該画像データにリアルタイムで所定の画像処理を施すとともに、処理後の画像データを前記メモリに転送する画像取得手段、を備え、前記画像取得手段によってリアルタイムに取得された画像データの中から所定の方法で選択された2つの画像を前記第1および第2の画像データとして、リアルタイムに前記縮小手段と前記検出手段を動作させることにより、移動する物体の動きを検出することを特徴とする。
【0010】
請求項3記載の発明は、請求項2に記載の動き検出装置において、さらに、前記画像取得手段によって前記メモリに転送された画像データを圧縮し、圧縮画像データを出力する圧縮手段、を備え、前記画像取得手段と前記圧縮手段とを動作させて圧縮画像データを出力する処理と、前記縮小手段と前記検出手段とを動作させて移動する物体の動きを検出する処理とをリアルタイムで並行処理することを特徴とする。
【0011】
請求項4記載の発明は、請求項1ないし請求項3のいずれかに記載の動き検出装置において、前記動き検出装置は、画像を撮像する撮像装置内部に組み込まれており、前記縮小手段はデジタルカメラで使用される画像縮小用回路を利用していることを特徴とする。
【0012】
請求項5記載の発明は、請求項4に記載の前記撮像装置が撮像した画像を監視センタのモニタに出力することにより、所定のエリアの監視を行うシステムであって、前記圧縮手段によって圧縮された画像が前記監視センタに転送されることにより前記モニタに出力され、前記検出手段によって移動物体の動きが検出された場合に、前記監視センタに警告通知が行われることを特徴とする。
【0013】
請求項6記載の発明は、第1の画像データの画像サイズを縮小して、第1の縮小画像データを得る工程と、第2の画像データの画像サイズを縮小して、第2の縮小画像データを得る工程と、前記第1の縮小画像データと前記第2の縮小画像データとの間で移動する物体の動きを検出することにより、前記第1の画像データと前記第2の画像データにとの間で移動する物体を検出する工程と、を備えることを特徴とする。
【0014】
【発明の実施の形態】
以下、図面を参照しつつ本発明の実施の形態について説明する。図1は、動画を撮像するとともに、撮影した動画像をデジタル画像として出力可能な撮像装置1の全体概略図である。撮像装置1は、画像センサ10、画像処理用チップ20、メモリ30を備えている。
【0015】
画像センサ10は、被写体からの反射光をアナログ画像信号に変換してアナログの画像信号を出力する。なお、画像センサ10としてはCCDエリアセンサやCMOSエリアセンサを採用すればよい。画像センサ10から出力されたアナログの画像信号は、図示せぬアナログ信号処理回路においてA/D変換され、デジタルの画像信号として出力される。
【0016】
画像処理用チップ20は、SIU(Signal Input Unit)・SPU(Signal Processing Unit)21、RPU(Real−time Processing Unit)22、圧縮・伸張処理部23、CPU24、BIU(Bus Interface Unit)・MIU(Memory Interface Unit)25、DMAコントローラ(DMAC)26、内蔵I/O27を備え、これら各回路、装置がバス29を介して相互に接続されている。このバス29は、アドレスバスやデータバス、DMA転送用バスなどから構成される。
【0017】
また、RAM(Random Access Memory)あるいはROM(Read Only Memory)などのメモリ30がBIU・MIU25を介してバス29と接続されている。本実施の形態においては、メモリ30は、SDRAM(Synchronous DRAM)を採用している。
【0018】
次に、画像処理チップ20が備える各回路、装置の機能について説明する。
【0019】
SIU・SPU21は、デジタル画像信号に対して画像の補正処理を実行する機能や、画像センサ用のタイミング生成機能を備えている。
【0020】
RPU22は、SIU・SPU21から入力する画像信号に対して、画素ごとの加算・乗算処理、シェーディング補正処理、画素補間処理、色変換処理、空間フィルタ処理、リサイズ処理などの種々のデジタル画像処理をリアルタイムに実行する機能を有している。なお、図1においては、RPU22の備える複数の機能の中で、本発明の特徴に関係する機能としてリサイズ処理部221のみを図示している。
【0021】
RPU22がバス29に出力した信号は、CPU24の制御によってBIU・MIU25を介してメモリ30に格納することができる。なお、バス29を介したデータ転送は、CPU24の代わりにDMAコントローラ26で行われてもよい。
【0022】
CPU24は、メモリ30からプログラムをロードして実行することにより、メモリ30から読出した画像データに様々なソフトウェア処理を施すことができる。またCPU24は、圧縮・伸張処理部23を起動し、この圧縮・伸張処理部23に画像データを与えて圧縮符号化を実行させることや、圧縮符号化データを与えて復号化させることが可能である。圧縮・伸張処理部23で圧縮符号化されたデータは、BIU・MIU25を介してメモリ30に書き込まれる。
【0023】
また、画像処理用チップ20は、各種の周辺機器として内蔵I/O27を備えている。
【0024】
次に、以上のような構成の撮像装置1の動作について説明する。まず、撮像装置1の動作のうち、撮像した画像を圧縮して記録する圧縮処理について図2のフローチャートを参照しながら説明する。
【0025】
まず、画像センサ10が画像データを出力する(ステップS101)。画像データは、デジタル変換された後、SIU・SPU21において補正処理が実行される(ステップS102)。SIU・SPU21から出力された画像データは、次に、RPU22において所定の画像処理が施され、メモリ30に格納される(ステップS103)。
【0026】
この状態で、画像センサ10が撮像した画像が非圧縮の状態でメモリ30に格納されることになる。ここでメモリ30に格納される画像データを非圧縮画像データA,Bなどと呼ぶこととする。
【0027】
次に、メモリ30に格納された画像データが圧縮・伸張処理部に読み込まれ、画像データに圧縮処理が実行される(ステップS104)。そして、圧縮された画像データが再度メモリ30に格納される(ステップS105)。
【0028】
以上の処理により、画像センサ10が撮像した画像は、圧縮画像となってメモリ30に格納される。メモリ30に格納された画像は、たとえば、ネットワーク経由でハードディスクレコーダに転送されて記録される。あるいは、ハードディスクレコーダに接続されたモニタにリアルタイム映像として出力される。このように、この撮像装置1は、監視システムなどに利用可能となっている。
【0029】
次に、撮像装置1の動作のうち、動き検出処理について図3を参照しながら説明する。前述の如く、画像の圧縮処理を行う過程で、非圧縮画像データA,Bがメモリ30に格納されている。まず、非圧縮画像データAがメモリ30からRPU22へ読み出される(ステップS201)。そして、RPU22のリサイズ処理部221において非圧縮画像データAの画素サイズが縮小され、縮小画像データaがメモリ30へ書き込まれる(ステップS202)。
【0030】
次に、非圧縮画像データBがメモリ30からRPU22へ読み出される(ステップS203)。そして、RPU22のリサイズ処理部221において非圧縮画像データBの画素サイズが縮小され、縮小画像データbがメモリ30へ書き込まれる(ステップS204)。
【0031】
ここで、上記非圧縮画像データA,Bは、動き検出を行うために所定の方法により選択される。たとえば、動き検出を行う2つの画像のフレーム間隔や時間間隔が決められており、この基準にしたがって非圧縮画像データA,Bが選択される。
【0032】
次に、縮小画像データa,bがメモリ30からRPU22へ読み出される(ステップS205)。そして、RPU22において縮小画像データaとbの差分データCが演算され、差分データCがメモリ30へ書き込まれる(ステップS206)。
【0033】
次に、差分データCがメモリ30からCPU24へ読み出される(ステップS207)。そして、CPU24において差分データCにFFT演算が施され、エッジ方向データおよび周波数データが算出される(ステップS208)。
【0034】
次に、CPU24においてエッジ方向データから動き方向が算出され(ステップS209)、周波数データから動きの大きさが算出される(ステップS210)。そして、動き方向および動きの大きさに関するデータがメモリ30に書き込まれる(ステップS211)。
【0035】
このように、本実施の形態においては、CPU24において画像の動き検出処理を実行する前に、RPU22のリサイズ処理部221において画像を縮小処理するようにしている。したがって、CPU24における動き検出処理の演算量を低減させることが可能である。そして、動き検出処理の高速化を図ることが可能である。
【0036】
また、縮小処理を実行するリサイズ処理部221は、デジタルカメラなどにおいてサムネイル表示用の画像を生成する目的等で使用されている汎用の画像縮小用ハードウェアエンジンを利用しているので、コスト面でも優位である。つまり、本実施の形態にかかる動き検出処理は、画像処理チップ20としてデジタルカメラなどに利用されている汎用の画像チップを利用することが可能である。
【0037】
そして、動き検出処理の演算量が小さくなっているので、CPU24に要求される処理能力が小さくなる。これにより、比較的スペックの低いCPUを利用することが可能であり、コスト的に優位である。
【0038】
次に、図2を用いて説明した圧縮処理(処理X)と、図3を用いて説明した動き検出処理(処理Y)の動作タイミングについて説明する。図4および図5は、圧縮処理(処理X)と動き検出処理(処理Y)との動作タイミングを模式的に示した図である。
【0039】
まず、図4について説明する。図4は、圧縮処理(処理X)と動き検出処理(処理Y)とが同じフレームレートで実行される場合を示している。図は、左から右に時間の流れを示しており、期間T1は、1フレームの画像データが画像センサ10より出力される間隔を示している。
【0040】
図に示すように、あるフレームについての圧縮処理(処理X)を実行した後、次のフレームの圧縮処理(処理X)を実行する前に、動き検出処理(処理Y)を実行しているのである。そして、処理Yは、処理Xと同じフレームレートで実行されている。この場合であれば、画像処理チップ20は、動画像のフレームレートと同じフレームレートで動き検出処理を実行することになる。
【0041】
次に、図5について説明する。図5は、圧縮処理(処理X)と動き検出処理(処理Y)とが異なるフレームレートで実行される場合を示している。図は、左から右に時間の流れを示しており、期間T1は、1フレームの画像データが画像センサ10より出力される間隔を示している。
【0042】
この場合も同様に、あるフレームについての圧縮処理(処理X)を実行した後、次のフレームの圧縮処理(処理X)を実行する前に、動き検出処理(処理Y)を実行しているのである。しかし、処理Yは、2つの処理ブロック(処理Y1および処理Y2)に分割されており、処理Xが2回実行される間に、処理Yが1回実行される関係となっている。したがって、図5では、処理Yは処理Xの1/2のフレームレートで実行されている。
【0043】
たとえば、図3で示したフローチャートの中で、ステップS201〜S205を処理Y1として実行し、次のタイミングで、ステップS206〜S211を処理Y2と実行することにより、処理Yは処理Xの1/2のフレームレートで実行されることになる。
【0044】
ここでは、処理Yを2つの処理ブロックに分割しているが、3ブロック以上の複数のブロックに分割するようにしてもよい。これにより、処理Yのフレームレートがさらに小さくなる。あるいは、処理Yは、図4と同様に1つの処理ブロックで実行するが、処理Yを実行する間隔を空けるようにしてもよい。
【0045】
圧縮処理(処理X)がたとえば30回/秒のフレームレートで実行されている場合、図4の例では、動き検出処理(処理Y)も30回/秒のフレームレートで実行されている。これに対して、図5の例では、動き検出処理(処理Y)が15回/秒のフレームレートで実行されている。この処理Yのフレームレートは自由に設定することが可能であり、たとえば処理Yを1回/秒などのフレームレートで実行するようにしてもよい。
【0046】
以上説明したように、本実施の形態においては、画像の動き検出を行う前に画像の縮小処理を実行するので、動き検出処理と画像の圧縮処理をリアルタイムで並行処理した場合にも、CPUにかける負担を小さくすることが可能である。また、動き検出処理の高速化が図られるので、動き検出処理と圧縮処理との並行処理に関するタイミング調整が容易である。
【0047】
本実施の形態の動き検出処理を実行する撮像装置1は、ネットワーク経由で監視センタのサーバやハードディスクレコーダなどに画像を送信することで監視システム用途に利用可能である。そして、メモリ30に格納された動き方向および動きの大きさを示すデータを監視センタのサーバに送信することで、監視センタでは、移動物体の有無を認識することが可能である。監視センタでは、取得した動き方向および動きの大きさのデータから所定の判断基準をもとに警告の必要性の有無を判定し、警告の必要性がある場合には、モニタ上に警告メッセージを表示することや、あるいは音声で警告するなどの処理が実行される。
【0048】
そして、監視センタに送信される画像データの圧縮処理と、動き検出処理とがリアルタイムで実行されるので、監視センタではリアルタイムによる画像のモニタ出力が行われ、これと並行して、移動物体が確認された場合には、リアルタイムで警告を行うことが可能である。
【0049】
【発明の効果】
以上説明したように、請求項1または請求項6に記載の発明では、画像を縮小した後、動き検出処理を実行するので、動き検出処理に要する演算量を削減することが可能である。
【0050】
請求項2記載の発明では、画像センサが出力する画像データに対してリアルタイムで動き検出処理を実行するので、入力画像に対して移動物体をリアルタイムで検出可能である。
【0051】
請求項3記載の発明では、圧縮処理と動き検出処理をリアルタイムで並行処理するので、画像の蓄積処理を実行しつつ、動き検出処理を実行可能である。
【0052】
請求項4記載の発明では、デジタルカメラの画像縮小用回路を利用するので、低コストな構成となる。
【0053】
請求項5記載の発明では、監視システムに応用させた発明であり、撮像画像をリアルタイムでモニタ出力しつつ、移動物体の検出が可能である。
【図面の簡単な説明】
【図1】本実施の形態にかかるデジタルカメラの機能ブロック図である。
【図2】圧縮処理のフローチャートである。
【図3】動き検出処理のフローチャートである。
【図4】圧縮処理と動き検出処理のタイミングを模式的に表した図である。
【図5】圧縮処理と動き検出処理のタイミングを模式的に表した図である。
【符号の説明】
1 撮像装置
10 画像センサ
20 画像処理チップ
22 RPU
23 圧縮・伸張処理部
24 CPU
30 メモリ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique used for a monitoring system and the like, and more particularly to a technique for detecting a moving object in a captured image.
[0002]
[Prior art]
There are systems that monitor a predetermined area by displaying an image captured by a camera on a monitor such as a monitoring room. An image captured by the camera is recorded in a storage device such as a hard disk recorder or a tape device installed in a monitoring room or the like.
[0003]
In such a system, it suffices for the supervisor to be able to visually confirm all the images. However, such work is burdensome and is actually difficult.
[0004]
Therefore, conventionally, a method has been used in which a motion detection process is executed on an image recorded in a storage device to automatically determine whether or not there is a moving object in the imaging area. In addition, when a moving object is detected, a warning is displayed on the monitor in the monitoring room or an alarm is sounded, so that the monitoring person is notified of the presence of the moving object quickly. Yes. By taking such a method, it is possible to reduce the burden of the image checking work by the monitoring staff.
[0005]
[Problems to be solved by the invention]
The motion detection processing as described above may also require real-time processing. For example, when there is a moving object in the monitoring area, the purpose is to issue an alarm as soon as possible and to notify the monitoring staff immediately.
[0006]
However, the conventional real-time motion detection processing has a large amount of calculation, and thus it is necessary to use a high-speed CPU or dedicated hardware. For this reason, it has become a factor to increase the cost of the monitoring system. In addition, since the monitoring system must also perform processing for compressing images and storing them in a storage device, there is also a demand for reducing the processing load of motion detection processing as much as possible.
[0007]
In view of the above problems, an object of the present invention is to reduce the processing load of motion detection processing in an image recording system.
[0008]
[Means for Solving the Problems]
In order to solve the above problems, the invention described in claim 1 is directed to a memory for storing the first and second image data, and the first and second image data by reducing the image size of the first and second image data. The first image data and the second image data by performing a motion detection of an object that moves between the first reduced image data and the second reduced image data. And detecting means for detecting an object moving between the image data.
[0009]
According to a second aspect of the present invention, in the motion detection device according to the first aspect, the image data continuously output by the image sensor is input, and predetermined image processing is performed on the image data in real time. Image acquisition means for transferring subsequent image data to the memory, and two images selected by the predetermined method from the image data acquired in real time by the image acquisition means are the first and second images. As the image data, the movement of the moving object is detected by operating the reduction means and the detection means in real time.
[0010]
According to a third aspect of the present invention, in the motion detection device according to the second aspect, the apparatus further includes a compression unit that compresses the image data transferred to the memory by the image acquisition unit and outputs the compressed image data. A process of outputting the compressed image data by operating the image acquisition unit and the compression unit and a process of detecting the movement of the moving object by operating the reduction unit and the detection unit are processed in parallel in real time. It is characterized by that.
[0011]
According to a fourth aspect of the present invention, in the motion detection device according to any one of the first to third aspects, the motion detection device is incorporated in an imaging device that captures an image, and the reduction means is a digital device. The image reduction circuit used in the camera is used.
[0012]
According to a fifth aspect of the present invention, there is provided a system for monitoring a predetermined area by outputting an image captured by the imaging device according to the fourth aspect to a monitor of a monitoring center, which is compressed by the compression means. When the detected image is transferred to the monitoring center and output to the monitor, and the movement of the moving object is detected by the detecting means, a warning notification is sent to the monitoring center.
[0013]
According to a sixth aspect of the present invention, the first reduced image data is obtained by reducing the image size of the first image data, and the second reduced image is obtained by reducing the image size of the second image data. Obtaining the data, and detecting the movement of the moving object between the first reduced image data and the second reduced image data, thereby obtaining the first image data and the second image data. And a step of detecting an object that moves between the two.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is an overall schematic diagram of an imaging apparatus 1 that can capture a moving image and output a captured moving image as a digital image. The imaging device 1 includes an image sensor 10, an image processing chip 20, and a memory 30.
[0015]
The image sensor 10 converts reflected light from the subject into an analog image signal and outputs an analog image signal. Note that a CCD area sensor or a CMOS area sensor may be employed as the image sensor 10. The analog image signal output from the image sensor 10 is A / D converted by an analog signal processing circuit (not shown) and output as a digital image signal.
[0016]
The image processing chip 20 includes a SIU (Signal Input Unit) / SPU (Signal Processing Unit) 21, an RPU (Real-time Processing Unit) 22, a compression / decompression processing unit 23, a CPU 24, a BIU (Bus Interface Unit) / MIU ( A memory interface unit 25, a DMA controller (DMAC) 26, and a built-in I / O 27 are connected to each other via a bus 29. The bus 29 includes an address bus, a data bus, a DMA transfer bus, and the like.
[0017]
A memory 30 such as a RAM (Random Access Memory) or a ROM (Read Only Memory) is connected to the bus 29 via the BIU / MIU 25. In the present embodiment, the memory 30 employs an SDRAM (Synchronous DRAM).
[0018]
Next, functions of each circuit and device provided in the image processing chip 20 will be described.
[0019]
The SIU / SPU 21 has a function of executing image correction processing on a digital image signal and a timing generation function for an image sensor.
[0020]
The RPU 22 performs various digital image processing such as addition / multiplication processing for each pixel, shading correction processing, pixel interpolation processing, color conversion processing, spatial filter processing, resizing processing on the image signal input from the SIU / SPU 21 in real time. It has a function to execute. In FIG. 1, only the resizing processing unit 221 is illustrated as a function related to the feature of the present invention among a plurality of functions provided in the RPU 22.
[0021]
The signal output from the RPU 22 to the bus 29 can be stored in the memory 30 via the BIU / MIU 25 under the control of the CPU 24. The data transfer via the bus 29 may be performed by the DMA controller 26 instead of the CPU 24.
[0022]
The CPU 24 can perform various software processes on the image data read from the memory 30 by loading and executing a program from the memory 30. Further, the CPU 24 can start the compression / decompression processing unit 23, give image data to the compression / decompression processing unit 23 to execute compression encoding, or give compression-encoded data to perform decoding. is there. The data compressed and encoded by the compression / decompression processing unit 23 is written into the memory 30 via the BIU / MIU 25.
[0023]
The image processing chip 20 includes a built-in I / O 27 as various peripheral devices.
[0024]
Next, the operation of the imaging apparatus 1 having the above configuration will be described. First, a compression process for compressing and recording a captured image among the operations of the imaging apparatus 1 will be described with reference to the flowchart of FIG.
[0025]
First, the image sensor 10 outputs image data (step S101). After the image data is digitally converted, correction processing is executed in the SIU / SPU 21 (step S102). The image data output from the SIU / SPU 21 is subjected to predetermined image processing in the RPU 22 and stored in the memory 30 (step S103).
[0026]
In this state, the image captured by the image sensor 10 is stored in the memory 30 in an uncompressed state. Here, the image data stored in the memory 30 is referred to as uncompressed image data A, B, and the like.
[0027]
Next, the image data stored in the memory 30 is read into the compression / decompression processing unit, and compression processing is performed on the image data (step S104). Then, the compressed image data is stored again in the memory 30 (step S105).
[0028]
Through the above processing, the image captured by the image sensor 10 is stored in the memory 30 as a compressed image. The image stored in the memory 30 is transferred to a hard disk recorder and recorded via a network, for example. Alternatively, it is output as a real-time video to a monitor connected to the hard disk recorder. As described above, the imaging apparatus 1 can be used for a monitoring system or the like.
[0029]
Next, motion detection processing among operations of the imaging apparatus 1 will be described with reference to FIG. As described above, the uncompressed image data A and B are stored in the memory 30 in the process of compressing the image. First, uncompressed image data A is read from the memory 30 to the RPU 22 (step S201). Then, the resize processing unit 221 of the RPU 22 reduces the pixel size of the uncompressed image data A, and writes the reduced image data a to the memory 30 (step S202).
[0030]
Next, the uncompressed image data B is read from the memory 30 to the RPU 22 (step S203). Then, the resize processing unit 221 of the RPU 22 reduces the pixel size of the uncompressed image data B, and writes the reduced image data b to the memory 30 (step S204).
[0031]
Here, the uncompressed image data A and B are selected by a predetermined method in order to perform motion detection. For example, the frame interval and time interval of two images for motion detection are determined, and the uncompressed image data A and B are selected according to this criterion.
[0032]
Next, the reduced image data a and b are read from the memory 30 to the RPU 22 (step S205). Then, the difference data C between the reduced image data a and b is calculated in the RPU 22, and the difference data C is written into the memory 30 (step S206).
[0033]
Next, the difference data C is read from the memory 30 to the CPU 24 (step S207). Then, the CPU 24 performs an FFT operation on the difference data C to calculate edge direction data and frequency data (step S208).
[0034]
Next, the movement direction is calculated from the edge direction data in the CPU 24 (step S209), and the magnitude of the movement is calculated from the frequency data (step S210). Then, data relating to the movement direction and the magnitude of the movement is written into the memory 30 (step S211).
[0035]
As described above, in this embodiment, before the CPU 24 executes the image motion detection process, the resize processing unit 221 of the RPU 22 reduces the image. Therefore, it is possible to reduce the calculation amount of the motion detection process in the CPU 24. It is possible to increase the speed of the motion detection process.
[0036]
In addition, the resizing processing unit 221 that executes the reduction process uses a general-purpose image reduction hardware engine that is used for the purpose of generating an image for thumbnail display in a digital camera or the like. It is an advantage. That is, the motion detection process according to the present embodiment can use a general-purpose image chip that is used in a digital camera or the like as the image processing chip 20.
[0037]
Since the amount of calculation of the motion detection process is small, the processing capacity required for the CPU 24 is small. This makes it possible to use a CPU with relatively low specifications, which is advantageous in terms of cost.
[0038]
Next, the operation timing of the compression process (process X) described using FIG. 2 and the motion detection process (process Y) described using FIG. 3 will be described. 4 and 5 are diagrams schematically showing operation timings of the compression process (process X) and the motion detection process (process Y).
[0039]
First, FIG. 4 will be described. FIG. 4 shows a case where the compression process (process X) and the motion detection process (process Y) are executed at the same frame rate. The figure shows a flow of time from left to right, and a period T1 indicates an interval at which one frame of image data is output from the image sensor 10.
[0040]
As shown in the figure, the motion detection process (process Y) is executed after the compression process (process X) for a certain frame is executed and before the compression process (process X) for the next frame is executed. is there. The process Y is executed at the same frame rate as the process X. In this case, the image processing chip 20 executes the motion detection process at the same frame rate as the moving image frame rate.
[0041]
Next, FIG. 5 will be described. FIG. 5 shows a case where the compression process (process X) and the motion detection process (process Y) are executed at different frame rates. The figure shows a flow of time from left to right, and a period T1 indicates an interval at which one frame of image data is output from the image sensor 10.
[0042]
In this case as well, after the compression process (process X) for a certain frame is executed, the motion detection process (process Y) is executed before the compression process (process X) for the next frame is executed. is there. However, the process Y is divided into two process blocks (process Y1 and process Y2), and the process Y is executed once while the process X is executed twice. Therefore, in FIG. 5, the process Y is executed at a frame rate that is ½ of the process X.
[0043]
For example, in the flowchart shown in FIG. 3, steps S201 to S205 are executed as process Y1, and steps S206 to S211 are executed as process Y2 at the next timing, so that process Y is 1/2 of process X. Will be executed at the frame rate.
[0044]
Here, the process Y is divided into two process blocks, but may be divided into a plurality of blocks of three or more blocks. Thereby, the frame rate of the process Y becomes still smaller. Alternatively, the process Y is executed in one process block as in FIG. 4, but an interval for executing the process Y may be provided.
[0045]
When the compression process (process X) is executed at a frame rate of 30 times / second, for example, in the example of FIG. 4, the motion detection process (process Y) is also executed at a frame rate of 30 times / second. On the other hand, in the example of FIG. 5, the motion detection process (process Y) is executed at a frame rate of 15 times / second. The frame rate of the process Y can be freely set. For example, the process Y may be executed at a frame rate such as once / second.
[0046]
As described above, in this embodiment, the image reduction process is executed before the motion detection of the image. Therefore, even when the motion detection process and the image compression process are performed in parallel in real time, It is possible to reduce the burden applied. In addition, since the speed of the motion detection process is increased, it is easy to adjust the timing regarding the parallel processing of the motion detection process and the compression process.
[0047]
The imaging apparatus 1 that executes the motion detection processing of the present embodiment can be used for monitoring system applications by transmitting an image to a server in a monitoring center or a hard disk recorder via a network. Then, by transmitting the data indicating the movement direction and the magnitude of the movement stored in the memory 30 to the server of the monitoring center, the monitoring center can recognize the presence or absence of a moving object. The monitoring center determines whether or not there is a warning need based on the acquired movement direction and movement magnitude data based on a predetermined criterion, and if there is a warning, a warning message is displayed on the monitor. Processing such as displaying or warning by voice is executed.
[0048]
Since the compression processing and the motion detection processing of the image data transmitted to the monitoring center are executed in real time, the monitoring center outputs the image in real time and confirms the moving object in parallel with this. If so, it is possible to issue a warning in real time.
[0049]
【The invention's effect】
As described above, according to the first or sixth aspect of the invention, since the motion detection process is executed after the image is reduced, it is possible to reduce the amount of calculation required for the motion detection process.
[0050]
According to the second aspect of the present invention, since the motion detection process is executed in real time on the image data output from the image sensor, a moving object can be detected in real time from the input image.
[0051]
According to the third aspect of the present invention, since the compression process and the motion detection process are performed in parallel in real time, the motion detection process can be executed while executing the image accumulation process.
[0052]
According to the fourth aspect of the present invention, since the image reduction circuit of the digital camera is used, the configuration is low.
[0053]
The invention according to claim 5 is an invention applied to a monitoring system, and can detect a moving object while outputting a captured image on a monitor in real time.
[Brief description of the drawings]
FIG. 1 is a functional block diagram of a digital camera according to an embodiment.
FIG. 2 is a flowchart of compression processing.
FIG. 3 is a flowchart of motion detection processing.
FIG. 4 is a diagram schematically illustrating timings of compression processing and motion detection processing.
FIG. 5 is a diagram schematically illustrating the timing of compression processing and motion detection processing.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Imaging device 10 Image sensor 20 Image processing chip 22 RPU
23 Compression / Expansion Processing Unit 24 CPU
30 memory

Claims (6)

第1および第2の画像データを格納するメモリと、
第1および第2の画像データの画像サイズを縮小して、第1および第2の縮小画像データを得る縮小手段と、
前記第1の縮小画像データと前記第2の縮小画像データとの間で移動する物体の動き検出を行うことにより、前記第1の画像データと前記第2の画像データとの間で移動する物体の検出を行う検出手段と、
を備えることを特徴とする動き検出装置。
A memory for storing first and second image data;
Reduction means for reducing the image sizes of the first and second image data to obtain first and second reduced image data;
An object moving between the first image data and the second image data by detecting a motion of the object moving between the first reduced image data and the second reduced image data. Detecting means for detecting
A motion detection apparatus comprising:
請求項1に記載の動き検出装置において、さらに、
画像センサが連続的に出力する画像データを入力し、当該画像データにリアルタイムで所定の画像処理を施すとともに、処理後の画像データを前記メモリに転送する画像取得手段、
を備え、
前記画像取得手段によってリアルタイムに取得された画像データの中から所定の方法で選択された2つの画像を前記第1および第2の画像データとして、リアルタイムに前記縮小手段と前記検出手段を動作させることにより、移動する物体の動きを検出することを特徴とする動き検出装置。
The motion detection device according to claim 1, further comprising:
Image acquisition means for inputting image data continuously output by the image sensor, performing predetermined image processing on the image data in real time, and transferring the processed image data to the memory;
With
Operating the reduction unit and the detection unit in real time using the two images selected by the predetermined method from the image data acquired in real time by the image acquisition unit as the first and second image data. A motion detection apparatus characterized by detecting a motion of a moving object.
請求項2に記載の動き検出装置において、さらに、
前記画像取得手段によって前記メモリに転送された画像データを圧縮し、圧縮画像データを出力する圧縮手段、
を備え、
前記画像取得手段と前記圧縮手段とを動作させて圧縮画像データを出力する処理と、前記縮小手段と前記検出手段とを動作させて移動する物体の動きを検出する処理とをリアルタイムで並行処理することを特徴とする動き検出装置。
The motion detection device according to claim 2, further comprising:
Compression means for compressing the image data transferred to the memory by the image acquisition means and outputting compressed image data;
With
A process of outputting the compressed image data by operating the image acquisition unit and the compression unit and a process of detecting the movement of the moving object by operating the reduction unit and the detection unit are processed in parallel in real time. A motion detection apparatus characterized by that.
請求項1ないし請求項3のいずれかに記載の動き検出装置において、前記動き検出装置は、画像を撮像する撮像装置内部に組み込まれており、
前記縮小手段はデジタルカメラで使用される画像縮小用回路を利用していることを特徴とする動き検出装置。
The motion detection device according to any one of claims 1 to 3, wherein the motion detection device is incorporated in an imaging device that captures an image,
The motion detection apparatus according to claim 1, wherein the reduction means uses an image reduction circuit used in a digital camera.
請求項4に記載の前記撮像装置が撮像した画像を監視センタのモニタに出力することにより、所定のエリアの監視を行うシステムであって、
前記圧縮手段によって圧縮された画像が前記監視センタに転送されることにより前記モニタに出力され、前記検出手段によって移動物体の動きが検出された場合に、前記監視センタに警告通知が行われることを特徴とする監視システム。
A system for monitoring a predetermined area by outputting an image captured by the imaging device according to claim 4 to a monitor of a monitoring center,
The image compressed by the compression means is transferred to the monitoring center and output to the monitor. When the movement of a moving object is detected by the detection means, a warning notification is sent to the monitoring center. A characteristic surveillance system.
第1の画像データの画像サイズを縮小して、第1の縮小画像データを得る工程と、
第2の画像データの画像サイズを縮小して、第2の縮小画像データを得る工程と、
前記第1の縮小画像データと前記第2の縮小画像データとの間で移動する物体の動きを検出することにより、前記第1の画像データと前記第2の画像データにとの間で移動する物体を検出する工程と、
を備えることを特徴とする動き検出方法。
Reducing the image size of the first image data to obtain first reduced image data;
Reducing the image size of the second image data to obtain second reduced image data;
Moving between the first image data and the second image data by detecting the movement of an object moving between the first reduced image data and the second reduced image data Detecting an object;
A motion detection method comprising:
JP2003175075A 2003-06-19 2003-06-19 Motion detecting apparatus, method, and monitor system Pending JP2005012548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003175075A JP2005012548A (en) 2003-06-19 2003-06-19 Motion detecting apparatus, method, and monitor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003175075A JP2005012548A (en) 2003-06-19 2003-06-19 Motion detecting apparatus, method, and monitor system

Publications (1)

Publication Number Publication Date
JP2005012548A true JP2005012548A (en) 2005-01-13

Family

ID=34098385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003175075A Pending JP2005012548A (en) 2003-06-19 2003-06-19 Motion detecting apparatus, method, and monitor system

Country Status (1)

Country Link
JP (1) JP2005012548A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007201995A (en) * 2006-01-30 2007-08-09 Matsushita Electric Ind Co Ltd Processing apparatus for image data transfer and monitoring camera system
JP2008042657A (en) * 2006-08-08 2008-02-21 Fujitsu Ltd Imaging apparatus
US8134614B2 (en) 2007-11-02 2012-03-13 Hitachi Kokusai Electric Inc. Image processing apparatus for detecting an image using object recognition

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007201995A (en) * 2006-01-30 2007-08-09 Matsushita Electric Ind Co Ltd Processing apparatus for image data transfer and monitoring camera system
JP2008042657A (en) * 2006-08-08 2008-02-21 Fujitsu Ltd Imaging apparatus
JP4690266B2 (en) * 2006-08-08 2011-06-01 富士通株式会社 Imaging device
US8134614B2 (en) 2007-11-02 2012-03-13 Hitachi Kokusai Electric Inc. Image processing apparatus for detecting an image using object recognition

Similar Documents

Publication Publication Date Title
JP5405536B2 (en) Video recording apparatus, video recording system, and video recording method
JP5217106B2 (en) Video surveillance system, surveillance video abnormality detection method, and surveillance video abnormality detection program
US5625572A (en) Multimedia process monitor and control system
TWI666933B (en) Method and computing device for monitoring object
WO2018037665A1 (en) Information-processing device, information-processing system, control method, and program
JP2005012548A (en) Motion detecting apparatus, method, and monitor system
JP2008035096A (en) Monitoring apparatus, monitoring method and program
US8436915B2 (en) Image processing apparatus
JP2004248090A (en) Camera setting device
JP4442571B2 (en) Imaging apparatus and control method thereof
KR20100028007A (en) An image sensor, the operating method and usage thereof
JP2005210392A (en) Image pickup device
JP2012090172A (en) Monitoring camera, monitoring camera control method, and network camera system
WO2010066072A1 (en) Image motion detection method and apparatus
JP6844503B2 (en) Monitoring system
JP6091079B2 (en) Control device, control method and program
US8031245B2 (en) Imaging apparatus and methods, and storing medium having computer program to perform the methods
JP4433985B2 (en) Surveillance image processing device
JP2005057609A (en) Camera
JP2006109251A (en) Image authentication method and image authentication apparatus
KR200452908Y1 (en) Monitering camera which has digital video recoder
JP2007300462A (en) Device and method for recording image
JP2018195892A (en) Imaging apparatus
WO2024069778A1 (en) Object detection system, camera, and object detection method
JP2018014699A (en) Imaging device and method for controlling imaging device