JP2007251540A - Image recording system and image recording method - Google Patents

Image recording system and image recording method Download PDF

Info

Publication number
JP2007251540A
JP2007251540A JP2006071383A JP2006071383A JP2007251540A JP 2007251540 A JP2007251540 A JP 2007251540A JP 2006071383 A JP2006071383 A JP 2006071383A JP 2006071383 A JP2006071383 A JP 2006071383A JP 2007251540 A JP2007251540 A JP 2007251540A
Authority
JP
Japan
Prior art keywords
image
motion detection
area
motion
compression target
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.)
Withdrawn
Application number
JP2006071383A
Other languages
Japanese (ja)
Inventor
Masaki Kobayashi
正樹 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006071383A priority Critical patent/JP2007251540A/en
Publication of JP2007251540A publication Critical patent/JP2007251540A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image recording system and an image recording method capable of correctly compressing and elongating an image and transferring the image without securing a network of a big transfer capacity, without using a high throughput CPU or a large-scale signal processing circuit. <P>SOLUTION: The image recording method comprises the steps of: establishing a motion detection region and a compression object region at an image inputted from a camera 101; making the motion detection regions identical to an effective image pick-up region of the camera 101; making the compression object region a part of the effective image pick-up region of the camera 101; performing motion detection for a whole video signal inputted from the camera 101 at the motion detection region; performing image compression for the video signal at the compression object region; and recording it on a hard disk 212 or sending it out a network 107. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、監視用途に向けた画像記録システム及び画像記録方法に関する。   The present invention relates to an image recording system and an image recording method for monitoring applications.

従来、監視用途における画像記録方法として、幾つかの方法が提案されている。その1つとして、カメラの映像出力を画像データメモリに格納するとともに、画像データメモリ上の画像データに複数の画区を設けて、画像データメモリ上で動きを検出した場合に画像データメモリから該当する画区のデータを読み出して拡大処理を施し、画像データメモリに格納された画像データをCRT(Cathode Ray Tube)や液晶等のモニタに表示する際に、動きが検出された画区を拡大処理した画像と通常の画像とを重複させて表示する方法がある(例えば、特許文献1参照)。   Conventionally, several methods have been proposed as image recording methods for monitoring purposes. As one of them, the video output of the camera is stored in the image data memory, and a plurality of sections are provided in the image data on the image data memory, and when the motion is detected on the image data memory, the image data memory When the image data stored in the image data memory is displayed on a monitor such as a CRT (Cathode Ray Tube) or a liquid crystal display, the image of the detected motion is enlarged. There is a method of displaying an overlapped image and a normal image in an overlapping manner (for example, see Patent Document 1).

特開平10−322684号公報JP 10-322684 A

しかしながら、従来の画像記録方法においては、カメラの映像出力がモニタに表示する画像と同一の解像度であるため、画像全体を圧縮するには莫大な演算量を必要とし、ソフトウェアで圧縮及び伸張を行おうとすると、処理能力の高いCPU(Central Processing Unit)が必要となる。このため、コスト低減の要求に答えられない。この場合、処理能力の低いCPUを使用することでコスト低減は可能であるが、規定時間内での圧縮及び伸張処理が完了しなくなり、コマ落ちが発生してしまう。監視用途においてコマ落ちはその目的から回避させなければならない。また、ハードウェアで画像圧縮を行おうとすると、高解像度の画像を圧縮するための大規模な信号処理回路が必要となり、この場合もコスト低減の要求には答えられない。   However, in the conventional image recording method, since the video output of the camera has the same resolution as the image displayed on the monitor, a huge amount of computation is required to compress the entire image, and compression and expansion are performed by software. If this is the case, a CPU (Central Processing Unit) with high processing capability is required. For this reason, the request of cost reduction cannot be answered. In this case, although it is possible to reduce the cost by using a CPU with low processing capability, the compression and decompression processing within a specified time is not completed, and frame dropping occurs. Dropping frames in surveillance applications must be avoided for that purpose. In addition, if image compression is to be performed by hardware, a large-scale signal processing circuit for compressing a high-resolution image is required, and in this case, the demand for cost reduction cannot be answered.

また、画像全体を圧縮したファイルを扱うことから、遠隔地で監視する場合、大きな転送容量のネットワークを確保しなければならず、システムのコスト要求に答えられない。また、既存のネットワークがあっても、対応できるだけの充分な転送容量を持っていなければ、増量しなければならず、そのためのコストが発生する。また、充分な転送容量を持たないネットワークに高解像度の圧縮ファイルを送出する場合、パケットロスが発生する可能性が高く、伸張時にコマ落ちが発生する可能性が高くなる。   Also, since a file in which the entire image is compressed is handled, when monitoring from a remote location, a network with a large transfer capacity must be secured, and the system cost requirement cannot be answered. Further, even if there is an existing network, if it does not have a sufficient transfer capacity to cope with it, the amount must be increased, and a cost for that is generated. Also, when a high-resolution compressed file is sent to a network that does not have a sufficient transfer capacity, there is a high possibility that packet loss will occur, and there is a high possibility that frames will be dropped during decompression.

本発明は、係る事情に鑑みてなされたものであり、処理能力の高いCPUや大規模な信号処理回路を用いることなく、コマ落ち無しで画像の圧縮及び伸張を行うことができ、また遠隔監視する場合に大きな転送容量のネットワークを確保することなく画像を転送することができる画像記録システム及び画像記録方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and can perform image compression and expansion without dropping frames without using a high-performance CPU or a large-scale signal processing circuit. An object of the present invention is to provide an image recording system and an image recording method capable of transferring an image without securing a network having a large transfer capacity.

上記目的は下記構成又は方法により達成される。
本発明の画像記録システムは、撮像手段の撮像領域全体を動き検出領域として動き検出を行う動き検出手段と、前記動き検出手段で動き検出された前記撮像領域の一部分を圧縮対象領域として取得する圧縮対象領域画像取得手段と、前記圧縮対象領域画像取得手段で取得された前記圧縮対象領域の画像を圧縮する画像圧縮手段と、前記画像圧縮手段で圧縮された画像を記録する記録手段と、を備える。
The object is achieved by the following configuration or method.
The image recording system of the present invention includes a motion detection unit that performs motion detection using the entire imaging region of the imaging unit as a motion detection region, and a compression that acquires a part of the imaging region detected by the motion detection unit as a compression target region. A target area image acquisition means; an image compression means for compressing the image of the compression target area acquired by the compression target area image acquisition means; and a recording means for recording the image compressed by the image compression means. .

この構成により、撮像手段から入力される画像に動き検出領域と圧縮対象領域を設定し、動き検出領域を撮像手段の有効撮像領域と同一とし、圧縮対象領域を有効撮像領域の一部とし、動き検出領域で動き検出を行い、圧縮対象領域の画像に対して画像圧縮を行って記録するので、撮像手段の有効撮像領域全体を画像圧縮する必要が無くなり、膨大なCPUの演算量もしくは大規模な信号処理回路が不要となる。また、記録手段に格納するファイルのサイズを小さくすることが可能であり、記録手段の有効利用が可能となる。   With this configuration, the motion detection region and the compression target region are set in the image input from the imaging unit, the motion detection region is the same as the effective imaging region of the imaging unit, the compression target region is a part of the effective imaging region, Since motion detection is performed in the detection area and image compression is performed on the image in the compression target area, it is not necessary to compress the entire effective imaging area of the imaging means, and a huge amount of CPU computation or a large scale is required. A signal processing circuit becomes unnecessary. In addition, the size of the file stored in the recording means can be reduced, and the recording means can be used effectively.

また、本発明の画像記録システムは、前記圧縮対象領域画像取得手段は、前記動き検出領域で動きが検出された場合、動きが有った領域を判定し、判定した領域を含む位置に前記圧縮対象領域を初期設定位置から変更する。   Further, in the image recording system of the present invention, the compression target region image acquisition unit determines a region having a motion when a motion is detected in the motion detection region, and the compression is performed at a position including the determined region. Change the target area from the default position.

この構成により、動き検出領域で動きを検出した場合、圧縮対象領域を初期設定位置から動き判定した領域に変更するので、広い範囲で注目領域(動きを検出した領域)を監視することが可能となる。   With this configuration, when motion is detected in the motion detection region, the compression target region is changed from the initial setting position to the region where the motion is determined, so that it is possible to monitor the region of interest (region where motion is detected) in a wide range. Become.

また、本発明の画像記録システムは、前記圧縮対象領域画像取得手段は、前記動き検出領域をN個(Nは整数)に等分割し、前記動き検出領域で動きが検出された場合、動きが有った領域がN等分した前記動き検出領域の何処であるかを判定し、判定した領域を含む位置に前記圧縮対象領域を初期設定位置から変更する。   Further, in the image recording system of the present invention, the compression target area image acquisition unit equally divides the motion detection area into N (N is an integer), and motion is detected when motion is detected in the motion detection area. It is determined where the existing region is the motion detection region divided into N equal parts, and the compression target region is changed from the initial setting position to a position including the determined region.

この構成により、動き検出領域をN個(Nは整数)に等分割し、動き検出領域で動きを検出した場合、圧縮対象領域を初期設定位置から動き判定した領域に変更するので、広い範囲で注目領域(動きを検出した領域)を監視することが可能となる。   With this configuration, when the motion detection area is equally divided into N (N is an integer) and the motion is detected in the motion detection area, the compression target area is changed from the initial setting position to the area where the motion is determined. It is possible to monitor a region of interest (region where motion is detected).

また、本発明の画像記録システムは、前記圧縮対象領域画像取得手段は、前記動き検出領域で動きが2箇所以上検出された場合、動きが有った全ての領域を判定し、判定した各領域を含むように前記圧縮対象領域を分割し、前記画像圧縮手段は、前記分割された各圧縮対象領域の画像を1枚の画像として合成して画像圧縮を行う。   Further, in the image recording system of the present invention, the compression target area image acquisition unit determines all areas where there is a motion when two or more motions are detected in the motion detection area, and each determined area The compression target area is divided so as to include image data, and the image compression unit performs image compression by combining the divided images of the compression target areas as one image.

この構成により、動きが2箇所以上あっても、圧縮対象領域を分割してそれぞれに割り当てるので、1度に画像圧縮を行うことができる。   With this configuration, even when there are two or more movements, the compression target area is divided and assigned to each, so that image compression can be performed at a time.

また、本発明の画像記録システムは、前記圧縮対象領域画像取得手段は、前記動き検出領域の画像データを現在分と複数フレームの過去分を保持し、前記動き検出領域で動きが検出された場合、動きが有った領域を判定し、動きが検出された時刻から数フレーム分過去の画像データの前記圧縮対象領域を初期設定位置から、該当フレームの画像データにおける動きが検出された領域を含む位置に変更する。   Further, in the image recording system of the present invention, the compression target area image acquisition unit holds the current amount of image data of the motion detection area and the past of a plurality of frames, and motion is detected in the motion detection area. The region where the motion is detected is determined, and the compression target region of the image data past several frames from the time when the motion is detected includes the region where the motion is detected in the image data of the corresponding frame from the initial setting position. Change to position.

この構成により、動き検出領域の画像データを現在分と複数フレームの過去分を保持するので、動き検出した前後の画像を監視することができる。   With this configuration, the image data in the motion detection area is held for the current time and the past for a plurality of frames, so that the images before and after the motion detection can be monitored.

また、本発明の画像記録システムは、前記圧縮対象領域画像取得手段は、前記動き検出領域で動きが検出された場合、前記動き検出領域の画像データを複数フレーム期間保持し、前記動き検出領域内で動きが移動しているかどうかを判定し、移動している場合、その動きの方向に応じて前記圧縮対象領域を変更する。   Further, in the image recording system of the present invention, the compression target area image acquisition means holds image data of the motion detection area for a plurality of frame periods when motion is detected in the motion detection area, It is determined whether or not the movement is moving, and if it is moving, the compression target area is changed according to the direction of the movement.

この構成により、動き検出領域で動きが検出された場合、動き検出領域の画像データを複数フレーム期間保持するので、動きが移動してもその動きに圧縮対象領域を追従させることができる。   With this configuration, when motion is detected in the motion detection region, the image data in the motion detection region is held for a plurality of frame periods, so that even if the motion moves, the compression target region can follow the motion.

また、本発明の画像記録システムは、前記圧縮対象領域画像取得手段は、操作指示に従い、前記動き検出領域内で前記圧縮対象領域を水平方向又は垂直方向にずらす。   In the image recording system of the present invention, the compression target region image acquisition unit shifts the compression target region in the horizontal direction or the vertical direction within the motion detection region in accordance with an operation instruction.

この構成により、動き検出領域内で圧縮対象領域を水平方向又は垂直方向にずらせるので、パニング又はチルティングを実現できる。   With this configuration, the compression target area is shifted in the horizontal direction or the vertical direction within the motion detection area, so that panning or tilting can be realized.

また、本発明の画像記録システムは、インターネットを含むネットワークにデータの送出が可能であり、前記画像圧縮手段で圧縮された前記圧縮対象領域の画像データを前記ネットワークに送出するネットワーク制御手段を備える。   The image recording system of the present invention can send data to a network including the Internet, and includes network control means for sending the image data of the compression target area compressed by the image compression means to the network.

この構成により、圧縮対象領域の画像のみを圧縮した画像をネットワークに送出するので、伝送容量の大幅の増強が不要となる。   With this configuration, an image obtained by compressing only the image in the compression target area is sent to the network, so that it is not necessary to greatly increase the transmission capacity.

また、本発明の画像記録システムは、前記動き検出手段は、前記撮像手段の撮像領域全体で動き検出を行う際に、動き検出を行う映像信号をサンプリングする。   In the image recording system of the present invention, the motion detection unit samples a video signal for motion detection when performing motion detection in the entire imaging region of the imaging unit.

この構成により、撮像手段の撮像領域全体で動き検出を行う際に、動き検出を行う映像信号をサンプリングするので、動き検出する際の演算量を削減することができる。   With this configuration, when motion detection is performed in the entire imaging region of the imaging unit, the video signal for motion detection is sampled, so that the amount of calculation for motion detection can be reduced.

本発明の画像記録方法は、撮像素子の撮像領域全体を動き検出領域として動き検出を行い、動き検出した前記撮像領域の一部分を圧縮対象領域として取得し、取得した圧縮対象領域の画像を圧縮して記録装置に記録する。   The image recording method of the present invention performs motion detection using the entire imaging region of the imaging device as a motion detection region, acquires a part of the imaged region detected as motion as a compression target region, and compresses the acquired image of the compression target region. To the recording device.

この方法により、撮像素子の撮像領域全体を動き検出領域として動き検出を行い、動き検出した撮像領域の一部分を圧縮対象領域として取得し、取得した圧縮対象領域の画像を圧縮してハードディスク等の記録装置に記録するので、撮像素子の有効撮像領域全体を画像圧縮する必要が無くなり、膨大なCPUの演算量もしくは大規模な信号処理回路が不要となる。また、記録装置に格納するファイルのサイズを小さくすることが可能であり、ハードディスク等の記録装置の有効利用が可能となる。   By this method, motion detection is performed using the entire imaging area of the imaging device as a motion detection area, a part of the motion-detected imaging area is acquired as a compression target area, and an image of the acquired compression target area is compressed and recorded on a hard disk or the like Since recording is performed in the apparatus, it is not necessary to compress the entire effective imaging area of the imaging device, and a huge amount of CPU computation or a large-scale signal processing circuit is not necessary. Further, the size of the file stored in the recording device can be reduced, and the recording device such as a hard disk can be effectively used.

また、本発明の画像記録方法は、前記動き検出領域で動きを検出した場合、動きが有った領域を含む位置に前記圧縮対象領域を初期設定位置から変更する。   Further, in the image recording method of the present invention, when motion is detected in the motion detection region, the compression target region is changed from the initial setting position to a position including a region where there is motion.

この方法により、動き検出領域で動きを検出した場合、圧縮対象領域を初期設定位置から動き判定した領域に変更するので、広い範囲で注目領域(動きを検出した領域)を監視することが可能となる。   With this method, when motion is detected in the motion detection region, the compression target region is changed from the initial setting position to the region where the motion is determined, so that it is possible to monitor the region of interest (region where the motion is detected) in a wide range. Become.

本発明によれば、処理能力の高いCPUや大規模な信号処理回路を用いることなく、コマ落ち無しで画像の圧縮及び伸張を行うことができ、また遠隔監視する場合に大きな転送容量のネットワークを確保することなく画像を転送することができる画像記録システム及び画像記録方法を提供することができる。   According to the present invention, an image can be compressed and expanded without dropping frames without using a high processing capacity CPU or a large-scale signal processing circuit, and a network with a large transfer capacity can be used for remote monitoring. It is possible to provide an image recording system and an image recording method capable of transferring an image without ensuring.

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

(実施の形態1)
図1は、本発明の実施の形態1に係る画像記録システムの概略構成を示すブロック図である。同図において、本実施の形態の画像記録システムは、カメラ101と、画像蓄積装置102と、モニタ103と、入力部104と、パーソナルコンピュータ(以下、パソコンと呼ぶ)105とを備えて構成される。
(Embodiment 1)
FIG. 1 is a block diagram showing a schematic configuration of an image recording system according to Embodiment 1 of the present invention. In the figure, the image recording system of the present embodiment includes a camera 101, an image storage device 102, a monitor 103, an input unit 104, and a personal computer (hereinafter referred to as a personal computer) 105. .

カメラ101は、被写体106を撮影するものであり、CCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)等の撮像素子を備えており、映像信号を出力する。なお、本システムは監視用途に使用されることから、被写体106は人物、物、駐車場の車など様々である。画像蓄積装置102は、カメラ101から出力される映像信号をJPEG(Joint Photographic Experts Group)又はMPEG(Moving Picture Experts Group)で画像圧縮してハードディスク(記録装置)に記録する機能を備えている。また、ネットワーク107にデータを送出する機能も備えており、カメラ101からの映像信号を圧縮してネットワーク107へ送出する。また、パーソナルコンピュータ(以下、パソコンと呼ぶ)等の外部機器よりネットワーク107を通じてデータ送出要求が有った場合にはハードディスクから特定の映像を読み出してネットワーク107へ送出する機能も有している。   The camera 101 shoots the subject 106 and includes an image sensor such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS), and outputs a video signal. Since this system is used for monitoring purposes, there are various subjects 106 such as a person, an object, and a car in a parking lot. The image storage device 102 has a function of compressing a video signal output from the camera 101 using JPEG (Joint Photographic Experts Group) or MPEG (Moving Picture Experts Group) and recording it on a hard disk (recording device). In addition, a function for sending data to the network 107 is also provided, and the video signal from the camera 101 is compressed and sent to the network 107. In addition, when there is a data transmission request from the external device such as a personal computer (hereinafter referred to as a personal computer) through the network 107, it has a function of reading a specific video from the hard disk and transmitting it to the network 107.

モニタ103は、カメラ101からの映像信号を表示したり、画像蓄積装置102に格納された映像を表示したり、カメラ101や画像蓄積装置102などシステム全体の操作、設定変更、制御及びメンテナンスの情報の表示などに使用される。入力部104は、キーボードやタッチパネル、ボタンスイッチなどから構成され、カメラ101や画像蓄積装置102などシステム全体を制御するためのコマンド入力に使用される。パソコン105は、ネットワーク107に接続されており、画像蓄積装置102を遠隔操作できる機能を備えている。例えば画像蓄積装置102のハードディスクに記録された特定の映像を読み出して、ネットワーク107経由で取得する。   The monitor 103 displays a video signal from the camera 101, displays a video stored in the image storage device 102, and information on operation, setting change, control and maintenance of the entire system such as the camera 101 and the image storage device 102. Used for display. The input unit 104 includes a keyboard, a touch panel, button switches, and the like, and is used for command input for controlling the entire system such as the camera 101 and the image storage device 102. The personal computer 105 is connected to the network 107 and has a function of remotely operating the image storage device 102. For example, a specific video recorded on the hard disk of the image storage device 102 is read out and acquired via the network 107.

図2は、画像蓄積装置102の概略構成を示すブロック図である。同図において、画像蓄積装置102は、A/D変換部202と、動き検出部204と、フレームメモリ205と、画像切り出し部207と、画像圧縮部208と、制御部210と、ハードディスク制御部211と、ハードディスク212と、画像伸張部213と、表示制御部214と、ネットワーク制御部215とを備えて構成される。   FIG. 2 is a block diagram illustrating a schematic configuration of the image storage device 102. In the figure, an image storage apparatus 102 includes an A / D conversion unit 202, a motion detection unit 204, a frame memory 205, an image clipping unit 207, an image compression unit 208, a control unit 210, and a hard disk control unit 211. A hard disk 212, an image expansion unit 213, a display control unit 214, and a network control unit 215.

制御部210は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等から構成され、システム全体の制御を行う。A/D変換部202にはカメラ101からの映像信号201が入力される。A/D変換部202は、映像信号201をデジタル変換し、画像データとして動き検出部204及びフレームメモリ205に入力する。動き検出部204は、A/D変換部202から入力された画像データ(A/D変換出力)203より動き検出を行い、その結果を制御部210に入力する。フレームメモリ205は、画像データを複数枚格納できる容量を持ち、画像データの入力順序を変えずに格納するFIFO(First-In First-Out)として機能する。   The control unit 210 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like, and controls the entire system. The video signal 201 from the camera 101 is input to the A / D conversion unit 202. The A / D conversion unit 202 digitally converts the video signal 201 and inputs it to the motion detection unit 204 and the frame memory 205 as image data. The motion detection unit 204 performs motion detection from the image data (A / D conversion output) 203 input from the A / D conversion unit 202 and inputs the result to the control unit 210. The frame memory 205 has a capacity capable of storing a plurality of image data, and functions as a first-in first-out (FIFO) that stores the image data without changing the input order.

画像切り出し部207は、制御部210の制御に応じてフレームメモリ205からの画像データの一部分を圧縮対象領域として切り出し、画像圧縮部208に入力する。画像圧縮部208は、画像切り出し部207から入力された画像データを圧縮してハードディスク制御部211に入力する。ハードディスク制御部211は、画像圧縮部208から入力された圧縮済みの画像データ(以下、圧縮画像データと呼ぶ)をハードディスク212に格納する。また、ハードディスク制御部211は、制御部210からの指示により、ハードディスク212に格納された圧縮画像データを読み出して画像伸張部213又はネットワーク制御部215に入力する。ハードディスク212は、データの格納及び読み出しが可能な記憶装置である。画像伸張部213は、ハードディスク制御部211から読み出された圧縮画像データを伸張し、表示制御部214に入力する。表示制御部214は、画像伸張部213から入力された画像データをモニタ103(図1参照)に表示可能なフォーマットに変換して入力する。ネットワーク制御部215は、ハードディスク212から読み出された圧縮画像データをネットワーク107に送出する。   The image cutout unit 207 cuts out a part of the image data from the frame memory 205 as a compression target area under the control of the control unit 210 and inputs it to the image compression unit 208. The image compression unit 208 compresses the image data input from the image cutout unit 207 and inputs the compressed image data to the hard disk control unit 211. The hard disk control unit 211 stores the compressed image data (hereinafter referred to as compressed image data) input from the image compression unit 208 in the hard disk 212. Further, the hard disk control unit 211 reads out the compressed image data stored in the hard disk 212 in accordance with an instruction from the control unit 210 and inputs the compressed image data to the image expansion unit 213 or the network control unit 215. The hard disk 212 is a storage device that can store and read data. The image decompression unit 213 decompresses the compressed image data read from the hard disk control unit 211 and inputs the decompressed image data to the display control unit 214. The display control unit 214 converts the image data input from the image expansion unit 213 into a format that can be displayed on the monitor 103 (see FIG. 1) and inputs the converted format. The network control unit 215 sends the compressed image data read from the hard disk 212 to the network 107.

なお、カメラ101は、撮像手段に対応する。また、動き検出部204及び制御部210は、動き検出手段を構成する。また、フレームメモリ205、画像切り出し部207及び制御部210は、圧縮対象領域画像取得手段を構成する。また、画像圧縮部208は、画像圧縮手段に対応する。また、ハードディスク制御部211及びハードディスク212は、記録手段に対応する。また、ネットワーク制御部215は、ネットワーク制御手段に対応する。   The camera 101 corresponds to an imaging unit. The motion detection unit 204 and the control unit 210 constitute a motion detection unit. The frame memory 205, the image cutout unit 207, and the control unit 210 constitute a compression target area image acquisition unit. The image compression unit 208 corresponds to an image compression unit. The hard disk control unit 211 and the hard disk 212 correspond to a recording unit. The network control unit 215 corresponds to a network control unit.

次に、図3を参照して、画像切り出し部207の動作について説明する。同図において、符号301は動き検出領域であり、カメラ101のCCDの有効撮像領域と等価であり、複数の動き検出ブロック303から構成される。この図では、水平方向に16個、垂直方向に8個の合計128個の動き検出ブロックから構成されている。符号302は圧縮対象領域であり、動き検出領域301の内側に設定されており、制御部210の制御により、動き検出領域301の内部で位置変更可能となっている。通常時は動き検出領域301の中央に設定され、動き検出領域301中で動きが検出された場合に、動きが検出された動き検出ブロック303を含む位置に設定変更される。複数の動き検出ブロック303は、動き検出領域301の内側に隙間無く並べられており、それぞれを1単位として動き検出が行われる。   Next, the operation of the image cutout unit 207 will be described with reference to FIG. In the figure, reference numeral 301 denotes a motion detection area, which is equivalent to the effective image pickup area of the CCD of the camera 101 and includes a plurality of motion detection blocks 303. In this figure, it is composed of a total of 128 motion detection blocks, 16 in the horizontal direction and 8 in the vertical direction. Reference numeral 302 denotes an area to be compressed, which is set inside the motion detection area 301 and can be repositioned inside the motion detection area 301 under the control of the control unit 210. Normally, it is set at the center of the motion detection area 301. When a motion is detected in the motion detection area 301, the setting is changed to a position including the motion detection block 303 where the motion is detected. The plurality of motion detection blocks 303 are arranged inside the motion detection area 301 without a gap, and motion detection is performed with each as one unit.

カメラ101からの入力画像に動き検出領域301と圧縮対象領域302を設ける。上述したように、動き検出領域301は、カメラ101のCCDの有効撮像領域と同一であり、CCDに入力される映像信号全体に対して動き検出を行う。圧縮対象領域302は、CCDの有効撮像領域の一部であり、この領域に入力された映像信号に対して画像圧縮を行い、ハードディスク212に記録もしくはネットワーク107に送出する。このような構成とすることにより、ハードディスク212に記録される画像よりも広い範囲に対して動き検出を行うことが可能となる。   A motion detection area 301 and a compression target area 302 are provided in an input image from the camera 101. As described above, the motion detection area 301 is the same as the effective imaging area of the CCD of the camera 101, and performs motion detection on the entire video signal input to the CCD. The compression target area 302 is a part of the effective image pickup area of the CCD, performs image compression on the video signal input to this area, and records it on the hard disk 212 or sends it to the network 107. With this configuration, motion detection can be performed over a wider range than the image recorded on the hard disk 212.

さらに、動き検出領域301内で動きが検出された場合に、その検出結果から動きが有った領域を判定し、圧縮対象領域302を初期設定された領域から、動きが検出された領域を含む位置に変更する。このような構成とすることにより、カメラ101のCCDの有効撮像領域全体を画像圧縮する必要が無くなり、広い範囲で注目領域(動きが検出された領域)を監視することが可能となる。したがって、膨大なCPUの演算量もしくは大規模な信号処理回路が不要となる。さらに、ハードディスク212に格納するファイルのサイズもしくはネットワーク107に送出するファイルのサイズを小さくすることが可能となる。   Further, when a motion is detected in the motion detection region 301, a region where there is a motion is determined from the detection result, and the compression target region 302 includes the region where the motion is detected from the initially set region. Change to position. By adopting such a configuration, it is not necessary to compress the entire effective imaging area of the CCD of the camera 101, and it is possible to monitor the attention area (area where motion is detected) in a wide range. Therefore, an enormous amount of CPU calculation or a large-scale signal processing circuit is not required. Furthermore, the size of the file stored in the hard disk 212 or the size of the file sent to the network 107 can be reduced.

また、動き検出領域301の画像データを、現在と過去の複数フレーム分保持し、動き検出領域301内で動きが検出された場合に、その結果から、動きが有った領域を判定し、動きを検出した時刻から数フレーム過去の画像データの圧縮対象領域を初期設定された位置から該当フレームの画像データの動きが検出された領域を含む位置に変更して画像圧縮を行う。これにより、膨大な演算量を使用してカメラ101のCCDの有効撮像領域全体を画像圧縮しなくても、動きが検出された前後の画像を監視することが可能である。さらに、ハードディスク212に格納するファイルのサイズもしくはネットワークに送出するファイルのサイズを小さくすることが可能である。   Further, when the image data of the motion detection area 301 is stored for a plurality of frames of the present and the past, and a motion is detected in the motion detection area 301, an area where there is motion is determined from the result, and the motion The image compression is performed by changing the compression target area of the image data several frames past from the time when the image is detected to the position including the area where the movement of the image data of the corresponding frame is detected from the initially set position. Accordingly, it is possible to monitor the images before and after the motion is detected without compressing the entire effective imaging area of the CCD of the camera 101 using a huge amount of calculation. Furthermore, the size of the file stored in the hard disk 212 or the size of the file sent to the network can be reduced.

次に、画像蓄積装置102の動作について図4に示すフローチャートを参照して説明する。動き検出部204は、A/D変換部202にてデジタル変換された映像信号201に対して動き検出処理を行う(ステップS401)。例えば、動き入力されるA/D変換出力203の輝度成分の平均値を動き検出ブロック303(図3参照)毎に算出し、フレーム間の差分を算出する。そして、算出した差分から動きの有無を判定する(ステップS402)。該差分が特定の閾値よりも大きかった場合に「動き有り」と判定し、小さかった場合に「動き無し」と判定する。   Next, the operation of the image storage device 102 will be described with reference to the flowchart shown in FIG. The motion detection unit 204 performs a motion detection process on the video signal 201 digitally converted by the A / D conversion unit 202 (step S401). For example, the average value of the luminance components of the A / D conversion output 203 input by motion is calculated for each motion detection block 303 (see FIG. 3), and the difference between frames is calculated. Then, the presence / absence of motion is determined from the calculated difference (step S402). When the difference is larger than a specific threshold, it is determined that “there is motion”, and when it is smaller, it is determined that there is no motion.

ここで、一般的な動き検出は、式(1)により表すことができる。
AVE(m,n)−AVE(m,n−1)>TH …式(1)
AVE:輝度平均値を表す関数
m:動き検出ブロック番号
n:フレーム番号
TH:閾値
Here, general motion detection can be expressed by Equation (1).
AVE (m, n) −AVE (m, n−1)> TH (1)
AVE: function representing luminance average value m: motion detection block number n: frame number TH: threshold

なお、輝度成分の平均値を算出する際にサブサンプリングすることにより、動き検出処理に必要な演算量を削減することも可能である。   Note that the amount of calculation necessary for the motion detection process can be reduced by sub-sampling when calculating the average value of the luminance components.

制御部210は、動き検出部204の検出結果から、動きが有った場合はステップS403に遷移し、動きが無かった場合はステップS405に遷移する。ステップS402の判定結果で動きが有った場合、制御部210は、動き検出部204の出力結果から動きが検出された動き検出ブロック303の位置を認識し、画像切り出し部207により圧縮対象領域を切り出すための領域を判定する(ステップS403)。制御部210は、ステップS403の結果を読み出し、動きが有った動き検出ブロックの位置を認識し、動きが有った動き検出ブロックを含むように画像切り出し部207の圧縮対象領域を設定変更する(ステップS404)。切り出し領域判定の詳細については別途説明する。   From the detection result of the motion detection unit 204, the control unit 210 transitions to step S403 if there is motion, and transitions to step S405 if there is no motion. If there is a motion in the determination result in step S <b> 402, the control unit 210 recognizes the position of the motion detection block 303 where the motion is detected from the output result of the motion detection unit 204, and the image clipping unit 207 determines the compression target region. An area to be cut out is determined (step S403). The control unit 210 reads the result of step S403, recognizes the position of the motion detection block having motion, and changes the setting of the compression target region of the image cutout unit 207 so as to include the motion detection block having motion. (Step S404). Details of the cutout area determination will be described separately.

制御部210は、ステップS404での画像切り出し部207への設定変更が完了した後、動き検出領域(CCDなどの撮像素子の有効撮像領域)から圧縮対象領域を切り出すために、フレームメモリ205の読み出しを行う(ステップS406)。フレームメモリ205は、複数フレームの画像を保持できる構成となっている。このような構成を採ることで、動き検出部204で動きが検出されたフレームから数フレーム過去に遡ったフレーム205に対して圧縮対象領域の変更を行い、動きが検出された前後の画像をハードディスク212に記録もしくはオペレータが目視することが可能となる。ここで、フレームメモリ205と、その前後の機能ブロックの詳細については別途説明する。   After the setting change to the image clipping unit 207 in step S404 is completed, the control unit 210 reads out the frame memory 205 in order to cut out the compression target region from the motion detection region (an effective imaging region of an image sensor such as a CCD). Is performed (step S406). The frame memory 205 is configured to hold a plurality of frames of images. By adopting such a configuration, the compression target area is changed with respect to the frame 205 that goes back several frames from the frame in which the motion is detected by the motion detection unit 204, and the images before and after the motion are detected are stored on the hard disk. Recorded at 212 or made visible to the operator. Here, details of the frame memory 205 and the functional blocks before and after the frame memory 205 will be described separately.

制御部210は、ステップS404で設定変更された画像切り出し部207に対して制御信号を出力し、ステップS406で読み出したフレームメモリ205の出力の画像を切り出す(ステップS407)。制御部210は、画像圧縮部208に対して制御信号を出力し、ステップS407で切り出した画像を取り込んで画像圧縮を行う(ステップS408)。ここで、画像領域の切り出しと画像圧縮の詳細については別途説明する。   The control unit 210 outputs a control signal to the image cutout unit 207 whose setting has been changed in step S404, and cuts out the output image of the frame memory 205 read out in step S406 (step S407). The control unit 210 outputs a control signal to the image compression unit 208, and performs image compression by capturing the image cut out in step S407 (step S408). Here, the details of image region extraction and image compression will be described separately.

制御部210は、ハードディスク制御部211を制御して、画像圧縮部208から出力される圧縮画像データに独自なヘッダなどを付加したり、ファイルシステムへの登録を行ったりするなどのハードディスク格納準備処理を行う(ステップS409)。制御部210は、ステップS409で準備されたデータをハードディスク212に格納する(ステップS410)。その後、制御部210は、再度、ステップS401に遷移する。また、ステップS402で動きが検出されなかった場合は圧縮対象領域の設定を変更する必要が無い、もしくは圧縮対象領域の設定を初期設定も戻す必要があるので、画像切り出し部207への制御信号を初期設定と同じ値を設定する(ステップS405)。その後、制御部210はステップS406へ遷移する。   The control unit 210 controls the hard disk control unit 211 to add a unique header or the like to the compressed image data output from the image compression unit 208 or register it in the file system. (Step S409). The controller 210 stores the data prepared in step S409 in the hard disk 212 (step S410). Thereafter, the control unit 210 transitions again to step S401. If no motion is detected in step S402, it is not necessary to change the setting of the compression target area, or the setting of the compression target area needs to be restored to the initial setting. The same value as the initial setting is set (step S405). Thereafter, the control unit 210 transitions to step S406.

<切り出し領域の判定の説明>
以下に、切り出し領域の判定について、動き領域が1箇所の場合と2箇所の場合を例に挙げて説明する。
<Description of cutout area determination>
In the following, the determination of the cutout region will be described by taking the case of one moving region and the case of two moving regions as examples.

図5を用いて動き領域が1箇所であった場合の例を説明する。符号501は動き検出領域であり、カメラ101のCCDの有効画素領域と等価である。符号502は初期設定時の圧縮対象領域であり、動き検出領域501の中央に位置する。装置起動時もしくは動きが検出されない場合の圧縮対象領域はこの位置に設定される。符号503は動きが有った動き検出ブロックであり、その位置は(C1,R6)である。符号504は設定変更後の圧縮対象領域であり、動きが有った動き検出ブロック503を含むように設定変更される。   An example in the case where there is one moving area will be described with reference to FIG. Reference numeral 501 denotes a motion detection area, which is equivalent to the effective pixel area of the CCD of the camera 101. Reference numeral 502 denotes a compression target area at the time of initial setting, and is located in the center of the motion detection area 501. The compression target area when the apparatus is activated or when no motion is detected is set at this position. Reference numeral 503 denotes a motion detection block having motion, and its position is (C1, R6). Reference numeral 504 denotes a compression target area after the setting is changed, and the setting is changed so as to include a motion detection block 503 having motion.

制御部210は、動き検出部204の出力結果を読み出し、動きが有った動き検出ブロックの位置を認識する。そして、動きが検出された動き検出ブロックが検出ブロック503のみであり、その位置が(C1,R6)のみであることを認識すると、初期設定時の圧縮対象領域502に(C1,R6)が含まれないため、圧縮対象領域502を変更する必要があると判断し、(C1,R6)が含まれる設定変更後の圧縮対象領域504に設定する。   The control unit 210 reads the output result of the motion detection unit 204 and recognizes the position of the motion detection block in which there is motion. When recognizing that the motion detection block in which the motion is detected is only the detection block 503 and the position is only (C1, R6), the compression target area 502 at the time of initial setting includes (C1, R6). Therefore, it is determined that the compression target area 502 needs to be changed, and is set to the compression target area 504 after the setting change including (C1, R6).

次に、図6を用いて動き領域が離れた位置に2箇所あった場合の例を説明する。符号601は動き検出領域であり、カメラ101のCCDの有効画素領域と等価である。符号602は初期設定時の圧縮対象領域であり、その位置は動き検出領域601の中央に位置する。装置起動時もしくは動きが検出されない場合の圧縮対象領域はこの位置に設定される。符号603は動きが有った動き検出ブロックAであり、その位置は(C1,R6)である。符号604は動きが有った動き検出ブロックBであり、その位置は(C3,R2)である。符号605は設定変更後の圧縮対象領域Aであり、動きが有った動き検出ブロックA603を含むように設定される。符号606は設定変更後の圧縮対象領域Bであり、動きが有った動き検出ブロックB604を含むように設定される。   Next, an example in which there are two moving regions at positions away from each other will be described with reference to FIG. Reference numeral 601 denotes a motion detection area, which is equivalent to the effective pixel area of the CCD of the camera 101. Reference numeral 602 denotes a compression target area at the time of initial setting, and the position thereof is located at the center of the motion detection area 601. The compression target area when the apparatus is activated or when no motion is detected is set at this position. Reference numeral 603 denotes a motion detection block A having motion, and its position is (C1, R6). Reference numeral 604 denotes a motion detection block B having motion, and its position is (C3, R2). Reference numeral 605 denotes the compression target area A after the setting change, and is set so as to include a motion detection block A603 having motion. Reference numeral 606 denotes a compression target area B after the setting is changed, and is set so as to include a motion detection block B604 having motion.

制御部210は、動き検出部204の出力結果を読み出し、動きが有った動き検出ブロックの位置を認識する。この場合、動きが検出された動き検出ブロックが動き検出ブロックA603と動き検出ブロックB604であり、それらの位置が(C1,R6)と(C3,R2)であることを認識する。ここで、位置(C1,R6)と(C3,R2)は離れた位置にあり、1つの圧縮対象領域では両方の動き検出ブロックを含むことはできないと判断する。すなわち、初期設定時の圧縮対象領域602に(C1,R6)と(C3,R2)が含まれないため、圧縮対象領域を変更する必要があることを判断し、2つの圧縮対象領域を設定する。1つは(C1,R6)が含まれる設定変更後の圧縮対象領域A605、もう1つは(C3,R2)が含まれる設定変更後の圧縮対象領域B606であり、それぞれ動きが有った動き検出ブロックA603と動き検出ブロックB604が含まれるように設定される。   The control unit 210 reads the output result of the motion detection unit 204 and recognizes the position of the motion detection block in which there is motion. In this case, it is recognized that the motion detection blocks in which motion is detected are the motion detection block A603 and the motion detection block B604, and their positions are (C1, R6) and (C3, R2). Here, it is determined that the positions (C1, R6) and (C3, R2) are separated from each other, and that one motion target block cannot include both motion detection blocks. That is, since (C1, R6) and (C3, R2) are not included in the compression target area 602 at the time of initial setting, it is determined that the compression target area needs to be changed, and two compression target areas are set. . One is the compression target area A605 after the setting change including (C1, R6), and the other is the compression target area B606 after the setting change including (C3, R2). Detection block A603 and motion detection block B604 are set to be included.

<フレームメモリ205とその前後の機能ブロックのタイミングの説明>
図7を用いてフレームメモリとその前後の機能ブロックのタイミングをフレームメモリ205の遅延が3フレームである場合の例を説明する。
<Description of Timing of Frame Memory 205 and Functional Blocks Before and After>
An example in which the delay of the frame memory 205 is 3 frames will be described with reference to FIG.

図7は、フレームメモリ205とその前後の機能ブロックの出力信号のタイミングを示したタイミングチャートである。上の段から、A/D変換出力203、動き検出部204の出力結果、フレームメモリ出力206、制御部210からの圧縮対象領域変更制御信号、画像切り出し出力218、圧縮画像出力209のタイミングをフレーム単位のタイミングで示す。各映像信号に記載した番号はフレーム番号を示す。   FIG. 7 is a timing chart showing the timing of the output signals of the frame memory 205 and the functional blocks before and after it. From the upper stage, the timings of the A / D conversion output 203, the output result of the motion detection unit 204, the frame memory output 206, the compression target region change control signal from the control unit 210, the image cutout output 218, and the compressed image output 209 are framed. Shown in unit timing. The number described in each video signal indicates a frame number.

A/D変換出力203は順次出力され、フレーム番号(N)で動きが検出された場合、動き検出部204は、フレーム番号(N)の映像信号が入力された次のフレームで動きが有ったことを検出し、検出結果を出力する。フレームメモリ205は、内部に3枚のフレームメモリを有しており、入力からの遅延は3フレームである。したがって、動き検出部204の動き検出結果が出力されるタイミングおけるフレームメモリ出力206のフレーム番号は(N−2)である。   When the A / D conversion output 203 is sequentially output and motion is detected with the frame number (N), the motion detection unit 204 has motion in the next frame to which the video signal with the frame number (N) is input. Is detected, and the detection result is output. The frame memory 205 has three frame memories inside, and the delay from input is three frames. Therefore, the frame number of the frame memory output 206 at the timing when the motion detection result of the motion detection unit 204 is output is (N-2).

<画像領域の切り出しと画像圧縮の説明>
次に、画像領域の切り出し処理と画像圧縮処理について、動き領域が1箇所と動き領域が離れた位置に2箇所ある場合の例を用いて説明する。
<Explanation of image area clipping and image compression>
Next, the image region cut-out processing and the image compression processing will be described using an example in which there is one moving region and two moving regions at positions away from each other.

・動き領域が1箇所であった場合
制御部210は、動き検出部204の出力結果から圧縮対象領域を変更するための制御信号を同じフレーム時間内で出力し、画像切り出し部207で切り出す圧縮対象領域の設定を変更する。画像切り出し部207は、制御部210からの制御を受けて、圧縮対象領域の設定を変更する。設定変更が反映される映像信号のフレーム番号は(N−2)である。画像圧縮部208は、画像切り出し部207の出力信号を取り込んで画像圧縮を行う。画像圧縮部208から出力される圧縮対象領域の変更が反映された圧縮画像出力209のフレーム番号は(N−2)である。したがって、本実施の形態の構成では、動きが発生したフレーム番号(N)よりも2フレーム前のフレーム番号(N−2)の映像信号から圧縮対象領域の設定変更が反映されており、動きが検出される2フレーム前から動きが検出された動き検出ブロックが含まれる画像が圧縮される。
When there is one motion region The control unit 210 outputs a control signal for changing the compression target region from the output result of the motion detection unit 204 within the same frame time, and the compression target cut out by the image cutout unit 207 Change the region settings. Under the control of the control unit 210, the image cutout unit 207 changes the setting of the compression target area. The frame number of the video signal that reflects the setting change is (N-2). The image compression unit 208 captures the output signal of the image cutout unit 207 and performs image compression. The frame number of the compressed image output 209 that reflects the change of the compression target area output from the image compression unit 208 is (N-2). Therefore, in the configuration of the present embodiment, the setting change of the compression target area is reflected from the video signal of the frame number (N-2) two frames before the frame number (N) where the motion has occurred, and the motion is An image including a motion detection block in which motion is detected from two frames before detection is compressed.

・動き領域が離れた位置に2箇所あった場合
図8は、動き領域が離れた位置に2箇所あった場合に画像切り出し部207から出力される画像の例である。図6を用いて説明したように、動き検出された領域が動き検出領域内で離れた位置に2つあった場合、双方の映像を圧縮し、ハードディスク212に格納しなければならない。本実施の形態では、図6の設定変更後の圧縮対象領域A605及び設定変更後の圧縮対象領域B606を切り出し、1枚の画像として貼り合せて、画像圧縮部208に入力する。図6に示したように、設定変更後の圧縮対象領域A605は圧縮対象領域602の半分の面積であり、また設定変更後の圧縮対象領域B606も圧縮対象領域602の半分の面積である。したがって、画像切り出し部207は、双方の圧縮対象領域A605、B606を繋げるように読み出す。符号801は設定変更後の圧縮対象領域Aであり、図6の設定変更後の圧縮対象領域A605である。符号802は設定変更後の圧縮対象領域Bであり、図6の設定変更後の圧縮対象領域B606である。
FIG. 8 shows an example of an image output from the image cutout unit 207 when there are two moving regions at positions away from each other. As described with reference to FIG. 6, when there are two motion-detected areas separated from each other in the motion detection area, both videos must be compressed and stored in the hard disk 212. In this embodiment, the compression target area A 605 after the setting change and the compression target area B 606 after the setting change in FIG. 6 are cut out and pasted together as one image and input to the image compression unit 208. As shown in FIG. 6, the compression target area A605 after the setting change is half the area of the compression target area 602, and the compression target area B606 after the setting change is also half the area of the compression target area 602. Therefore, the image cutout unit 207 reads the two compression target areas A605 and B606 so as to connect them. Reference numeral 801 denotes the compression target area A after the setting change, and is the compression target area A605 after the setting change shown in FIG. Reference numeral 802 denotes the compression target area B after the setting change, and is the compression target area B 606 after the setting change shown in FIG.

<読み出し動作の説明>
次に、本実施の形態に係る画像記録システムの読み出し動作の例を説明する。図9は、読み出し動作の例を説明するためのフローチャートである。ユーザは入力部104を操作し、希望する時刻の画像を読み出すように制御部210に制御信号を入力する。制御部210は、ハードディスク制御部211に制御信号を入力する。ハードディスク制御部211はハードディスク212から、ユーザが指定した時刻の画像を読み出すための準備を行う(ステップS901)。そして、ハードディスク212からユーザが指定した時刻の圧縮画像データを読み出し、画像伸張部213に入力する(ステップS902)。制御部210は画像伸張部213を起動する。画像伸張部213は、ハードディスク制御部211から入力された圧縮画像データに対して伸張処理を行い、伸張した画像を表示制御部214に入力する(ステップS903)。制御部210は表示制御部214を起動する。表示制御部214は、画像伸張部213から入力された画像をモニタ103で表示するために必要なフォーマットに変換して出力する。モニタ103は、表示制御部214から表示出力216が入力されることで、ユーザが希望する時刻の画像を表示する(ステップS904)。
<Description of read operation>
Next, an example of the reading operation of the image recording system according to the present embodiment will be described. FIG. 9 is a flowchart for explaining an example of the read operation. The user operates the input unit 104 to input a control signal to the control unit 210 so as to read an image at a desired time. The control unit 210 inputs a control signal to the hard disk control unit 211. The hard disk control unit 211 prepares to read an image at a time designated by the user from the hard disk 212 (step S901). The compressed image data at the time designated by the user is read from the hard disk 212 and input to the image expansion unit 213 (step S902). The control unit 210 activates the image expansion unit 213. The image decompression unit 213 performs decompression processing on the compressed image data input from the hard disk control unit 211, and inputs the decompressed image to the display control unit 214 (step S903). The control unit 210 activates the display control unit 214. The display control unit 214 converts the image input from the image expansion unit 213 into a format necessary for display on the monitor 103 and outputs the converted format. The monitor 103 receives the display output 216 from the display control unit 214 and displays an image at a time desired by the user (step S904).

<ネットワーク送出動作の説明>
次に、本実施の形態に係る画像記録システムのネットワーク送出動作の例を説明する。図10は、ネットワーク送出動作の例を説明するためのフローチャートである。ユーザはパソコン105を操作し、希望する時刻の画像を読み出すようにネットワーク107経由で制御部210に制御信号を入力する。制御部210は、ハードディスク制御部211に制御信号を入力する。ハードディスク制御部211は、ハードディスク212からユーザが指定した時刻の画像を読み出すための準備を行う(ステップS1001)。そして、ハードディスク212からユーザが指定した時刻の圧縮画像データを読み出し、ネットワーク制御部215に入力する(ステップS1002)。制御部210はネットワーク制御部215を起動する。ネットワーク制御部215は、ハードディスク制御部211から入力された圧縮画像データをネットワーク107に送出するためにフォーマットを整え、ネットワーク107へ送出する(ステップS1003)。パソコン105は、ネットワーク107へ送出された圧縮画像データを受信し、パソコン105にインストールされた画像伸張ソフトウェアにより画像伸張を行い、パソコン105のモニタに表示する(ステップS1004)。
<Description of network transmission operation>
Next, an example of network transmission operation of the image recording system according to the present embodiment will be described. FIG. 10 is a flowchart for explaining an example of the network transmission operation. The user operates the personal computer 105 and inputs a control signal to the control unit 210 via the network 107 so as to read an image at a desired time. The control unit 210 inputs a control signal to the hard disk control unit 211. The hard disk control unit 211 prepares to read an image at a time designated by the user from the hard disk 212 (step S1001). Then, the compressed image data at the time designated by the user is read from the hard disk 212 and input to the network control unit 215 (step S1002). The control unit 210 activates the network control unit 215. The network control unit 215 prepares a format for sending the compressed image data input from the hard disk control unit 211 to the network 107, and sends it to the network 107 (step S1003). The personal computer 105 receives the compressed image data sent to the network 107, decompresses the image using image decompression software installed in the personal computer 105, and displays it on the monitor of the personal computer 105 (step S1004).

このように、本実施の形態の画像記録システムによれば、カメラ101から入力される画像に動き検出領域と圧縮対象領域を設定し、動き検出領域をカメラ101のCCDの有効撮像領域と同一とし、圧縮対象領域をCCDの有効撮像領域の一部とし、動き検出領域でCCDから入力される映像信号全体に対して動き検出を行い、圧縮対象領域で映像信号の画像圧縮を行ってハードディスク212に記録又はネットワーク107に送出するので、カメラ101のCCDの有効撮像領域全体を画像圧縮する必要が無くなり、膨大なCPUの演算量もしくは大規模な信号処理回路が不要となる。また、ハードディスク212に格納するファイルのサイズもしくはネットワーク107に送出するファイルのサイズを小さくすることが可能であり、ハードディスク212の有効利用が可能となるとともに、伝送容量の大幅の増強が不要となる。   As described above, according to the image recording system of the present embodiment, the motion detection area and the compression target area are set in the image input from the camera 101, and the motion detection area is set to be the same as the effective imaging area of the CCD of the camera 101. The compression target area is a part of the effective imaging area of the CCD, the motion detection is performed on the entire video signal input from the CCD in the motion detection area, and the image of the video signal is compressed in the compression target area and stored in the hard disk 212. Since it is recorded or sent to the network 107, it is not necessary to compress the entire effective imaging area of the CCD of the camera 101, and an enormous amount of CPU computation or a large-scale signal processing circuit is not required. In addition, the size of the file stored in the hard disk 212 or the size of the file sent to the network 107 can be reduced, so that the hard disk 212 can be used effectively and the transmission capacity does not need to be greatly increased.

(実施の形態2)
次に、本発明の実施の形態2に係る画像記録システムについて説明する。図11は、本実施の形態に係る画像記録システムの動き予想による圧縮対象領域制御を説明するための図である。なお、システム構成は実施の形態1と同様であるので、図2を援用することにする。図11において、符号1101は、動き検出領域であり、3つの動き検出領域は同一のものである。現在のフレーム番号を(N)として説明する。符号1102は、動き検出位置(N−3)であり、現在のフレームよりも3フレーム前に動きが検出された動き検出ブロックの位置である。符号1103は、動き検出位置(N−2)であり、現在のフレームよりも2フレーム前に動きが検出された動き検出ブロックの位置である。符号1104は、動き検出結果(N−1)であり、現在のフレームより1フレーム前に動きが検出された動き検出ブロックの位置である。
(Embodiment 2)
Next, an image recording system according to Embodiment 2 of the present invention will be described. FIG. 11 is a diagram for explaining compression target area control based on motion prediction of the image recording system according to the present embodiment. Since the system configuration is the same as that of the first embodiment, FIG. 2 is used. In FIG. 11, reference numeral 1101 denotes a motion detection area, and the three motion detection areas are the same. A description will be given assuming that the current frame number is (N). Reference numeral 1102 denotes a motion detection position (N-3), which is the position of a motion detection block in which motion has been detected three frames before the current frame. Reference numeral 1103 denotes a motion detection position (N-2), which is the position of a motion detection block in which motion is detected two frames before the current frame. Reference numeral 1104 denotes a motion detection result (N-1), which is the position of the motion detection block in which motion is detected one frame before the current frame.

符号1105は、動きベクトル(N−2)であり、動き検出位置(N−3)1102の座標位置と動き検出位置(N−2)1103との座標位置の差をベクトルで表したものである。符号1106は、動きベクトル(N−1)であり、動き検出位置(N−2)1103の座標位置と動き検出位置(N−1)1103との座標位置の差をベクトルで表したものである。符号1007は、予想ベクトルであり、動きベクトル(N−2)と動きベクト(N−1)から算出される。予想ベクトル1007の算出式の例を以下の式(2)に示す。   Reference numeral 1105 denotes a motion vector (N-2), which represents the difference between the coordinate positions of the motion detection position (N-3) 1102 and the motion detection position (N-2) 1103 as a vector. . Reference numeral 1106 denotes a motion vector (N−1), which represents the difference between the coordinate positions of the motion detection position (N−2) 1103 and the motion detection position (N−1) 1103 as a vector. . Reference numeral 1007 denotes an expected vector, which is calculated from a motion vector (N-2) and a motion vector (N-1). An example of a calculation formula for the predicted vector 1007 is shown in the following formula (2).

VP(N)=(V(N−1)+V(N−2))/2 …式(2)
VP(N):Nフレームにおける予想ベクトル
V(N):Nフレームにおける動きベクトル
VP (N) = (V (N−1) + V (N−2)) / 2 Formula (2)
VP (N): Expected vector in N frame V (N): Motion vector in N frame

符号1108は、予想動きブロックであり、予想ベクトル1107の終端が位置する動き検出ブロックである。本実施の形態では動き検出ブロック位置(C2,R4)である。符号1109は、圧縮対象領域であり、予想ベクトル1107によって求められた予想動きブロック1108を中央に含むように設定される。なお、符号1110は、予想動き領域である。   Reference numeral 1108 denotes a predicted motion block, which is a motion detection block in which the end of the predicted vector 1107 is located. In this embodiment, it is the motion detection block position (C2, R4). Reference numeral 1109 denotes a compression target area, and is set so as to include the predicted motion block 1108 obtained by the predicted vector 1107 at the center. Reference numeral 1110 denotes an expected motion area.

制御部210は、動き検出部204が出力する動き検出結果を3フレーム期間保持する。そして、動きベクトル(N−2)1105と動きベクトル(N−1)1106から予想ベクトル1107を算出する。予想ベクトル1106の終端が位置する動き検出ブロックは(C2,R4)であるので、制御部210は、画像切り出し部207に制御信号を出力し、圧縮対象領域の設定を変更する。このように、動きベクトルを用いて予想動きブロックを算出することにより、圧縮対象領域の中央に動きがある監視対象を捕らえ、画像圧縮してハードディスク212に記録することが可能となる。   The control unit 210 holds the motion detection result output from the motion detection unit 204 for three frame periods. Then, a predicted vector 1107 is calculated from the motion vector (N−2) 1105 and the motion vector (N−1) 1106. Since the motion detection block where the end of the predicted vector 1106 is located is (C2, R4), the control unit 210 outputs a control signal to the image cutout unit 207 to change the setting of the compression target region. In this way, by calculating the predicted motion block using the motion vector, it is possible to capture a monitoring target having a motion in the center of the compression target area, compress the image, and record it on the hard disk 212.

(実施の形態3)
次に、本発明の実施の形態3に係る画像記録システムについて説明する。図12は、本実施の形態に係る画像記録システムの画像蓄積装置1200の概略構成を示すブロック図である。本実施の形態はパン、チルト機能を有する点に特徴がある。同図において、画像蓄積装置1200は、A/D変換部1202と、広域フレームメモリ1203と、第1画像切り出し部1204と、動き検出部1205と、フレームメモリ1206と、第2画像切り出し部1207と、画像圧縮部1208と、制御部1209と、ハードディスク制御部1210と、ハードディスク1211と、画像伸張部1212と、表示制御部1213と、ネットワーク制御部1214とを備えて構成される。
(Embodiment 3)
Next, an image recording system according to Embodiment 3 of the present invention will be described. FIG. 12 is a block diagram showing a schematic configuration of the image storage apparatus 1200 of the image recording system according to the present embodiment. This embodiment is characterized in that it has pan and tilt functions. In the figure, an image storage apparatus 1200 includes an A / D conversion unit 1202, a wide area frame memory 1203, a first image cutout unit 1204, a motion detection unit 1205, a frame memory 1206, and a second image cutout unit 1207. The image compression unit 1208, the control unit 1209, the hard disk control unit 1210, the hard disk 1211, the image expansion unit 1212, the display control unit 1213, and the network control unit 1214 are configured.

また、図12において、符号1201は広域映像入力であり、カメラ101が撮影した映像信号である。本実施の形態のカメラ101は広視野を撮影することが可能な広角レンズを搭載し、かつ1フレーム(又はフィールド)期間に広視野の映像を撮影し、映像信号を出力する。なお、カメラ101に搭載されるCCDなどの撮像素子は1枚で広視野の映像信号を撮像できるもの、又は複数枚のCCDなどにより構成される撮像素子であっても良い。   In FIG. 12, reference numeral 1201 denotes a wide area video input, which is a video signal taken by the camera 101. The camera 101 of this embodiment is equipped with a wide-angle lens that can capture a wide field of view, captures a wide-field image in one frame (or field) period, and outputs a video signal. Note that the image pickup device such as a CCD mounted on the camera 101 may be a single image pickup device that can pick up an image signal with a wide field of view, or an image pickup device formed of a plurality of CCDs.

制御部1209は、CPU、ROM、RAM等から構成され、システム全体の制御を行う。A/D変換部1202は、アナログ信号である広域映像入力1201をデジタル変換する。広域フレームメモリ1203は、A/D変換部1202から入力される画像データを一旦格納する。第1画像切り出し部1204は、広域フレームメモリ1203に格納された画像データから、制御部1209からの制御に応じて任意の動き検出領域を切り出すことが可能である。動き検出部1205は、第1画像切り出し部1204が切り出した動き検出領域に対して動き検出を行い、その結果を制御部1209に入力する。フレームメモリ1206は、第1画像切り出し部1204が切り出した動き検出領域を複数枚分格納できる容量を持ち、画像データが入力された順序を変えずに画像データを格納するFIFO(First-In First-Out)として機能する。   The control unit 1209 includes a CPU, a ROM, a RAM, and the like, and controls the entire system. The A / D converter 1202 digitally converts the wide area video input 1201 that is an analog signal. The wide area frame memory 1203 temporarily stores the image data input from the A / D conversion unit 1202. The first image cutout unit 1204 can cut out an arbitrary motion detection region from image data stored in the wide area frame memory 1203 in accordance with control from the control unit 1209. The motion detection unit 1205 performs motion detection on the motion detection region cut out by the first image cutout unit 1204 and inputs the result to the control unit 1209. The frame memory 1206 has a capacity capable of storing a plurality of motion detection areas cut out by the first image cutout unit 1204, and stores a first-in first-FIFO that stores image data without changing the order in which the image data is input. Out).

第2画像切り出し部1207は、制御部1209からの制御に応じてフレームメモリ1206の出力の一部分を圧縮対象領域として切り出し、画像圧縮部1208に入力する。画像圧縮部1208は、第2画像切り出し部1207の出力画像を圧縮してハードディスク制御部1210に入力する。ハードディスク制御部1210は、画像圧縮部1208が出力する圧縮画像データをハードディスク1211に格納する。また、ハードディスク1211に格納した画像データを読み出して画像伸張部1211又はネットワーク制御部1214に入力する。   The second image cutout unit 1207 cuts out a part of the output of the frame memory 1206 as a compression target area in accordance with the control from the control unit 1209 and inputs it to the image compression unit 1208. The image compression unit 1208 compresses the output image of the second image cutout unit 1207 and inputs it to the hard disk control unit 1210. The hard disk control unit 1210 stores the compressed image data output from the image compression unit 1208 in the hard disk 1211. Further, the image data stored in the hard disk 1211 is read out and input to the image expansion unit 1211 or the network control unit 1214.

ハードディスク1211はデータを格納と読み出しが可能な記録装置である。画像伸張部1212は、ハードディスク制御部1210から入力された圧縮画像データを伸張し、表示制御部1213に入力する。表示制御部1213は、伸張部1212が伸張した画像データをモニタ103に表示可能なフォーマットに変換して出力する。ネットワーク制御部1214は、ハードディスク制御部1210がハードディスク1211から読み出した圧縮画像データをネットワーク107に送出する。   A hard disk 1211 is a recording device capable of storing and reading data. The image decompression unit 1212 decompresses the compressed image data input from the hard disk control unit 1210 and inputs it to the display control unit 1213. The display control unit 1213 converts the image data expanded by the expansion unit 1212 into a format that can be displayed on the monitor 103 and outputs the converted data. The network control unit 1214 sends the compressed image data read from the hard disk 1211 by the hard disk control unit 1210 to the network 107.

次に、図13及び図14を用いて本実施の形態の動作を説明する。制御部1209は、パンやチルトを行うかどうかを判断する(ステップS1301)。パンやチルトを行う場合はステップS1302に遷移し、行わない場合はステップS1304に遷移する。制御部1209は、パンやチルトを行う方向、かつ大きさから動き検出領域を切り出す領域を算出し、第1画像切り出し部1204に制御信号を出力する(ステップS1302)。制御部1209は、ステップS1302で算出したパンやチルト後の動き検出領域1402の位置を第1画像切り出し部1204に設定する(ステップS1303)。なお、パン、チルト機能を実現する第1画像切り出し部1204の制御の詳細については別途説明する。   Next, the operation of the present embodiment will be described with reference to FIGS. The control unit 1209 determines whether to perform panning or tilting (step S1301). If panning or tilting is to be performed, the process proceeds to step S1302. If not, the process proceeds to step S1304. The control unit 1209 calculates a region from which the motion detection region is cut out from the panning and tilting directions and sizes, and outputs a control signal to the first image cutout unit 1204 (step S1302). The control unit 1209 sets the position of the motion detection area 1402 after panning and tilting calculated in step S1302 in the first image clipping unit 1204 (step S1303). The details of the control of the first image cutout unit 1204 for realizing the pan and tilt functions will be described separately.

制御部1209は、広域フレームメモリ部1203に格納された広域撮像領域1401(図14参照)の映像信号を読み出し、第1画像切り出し部1204に入力する(ステップS1304)。制御部1209は、ステップS1303で設定した設定に応じて、第1画像切り出し部1204によりステップS1304で読み出した広域撮像領域1401から動き検出領域1402を切り出す(ステップS1305)。制御部1209は、ステップS1305で切り出した動き検出領域1402に対して動き検出部1205で動き検出を行う(ステップS1306)。制御部1209はステップS1306での動き検出結果により、動き検出領域1402に動きが検出されたかどうかを判定する(ステップS1307)。動きが有った場合はステップS1308に遷移し、無かった場合はステップS1309に遷移する。   The control unit 1209 reads out the video signal of the wide area imaging region 1401 (see FIG. 14) stored in the wide area frame memory unit 1203 and inputs it to the first image cutout unit 1204 (step S1304). The control unit 1209 cuts out the motion detection region 1402 from the wide area imaging region 1401 read out in step S1304 by the first image cutout unit 1204 according to the setting set in step S1303 (step S1305). The control unit 1209 performs motion detection on the motion detection region 1402 cut out in step S1305 by the motion detection unit 1205 (step S1306). The control unit 1209 determines whether or not a motion is detected in the motion detection area 1402 based on the motion detection result in step S1306 (step S1307). If there is a movement, the process proceeds to step S1308; otherwise, the process proceeds to step S1309.

制御部1209は、ステップS1306で検出した動き検出結果に応じて圧縮対象領域1403の位置を算出する(ステップS1308)。制御部1209はステップS1308で算出した圧縮対象領域1403の位置に応じて、第2画像切り出し部1207の設定を変更する(ステップS1310)。制御部1209はフレームメモリ1206に格納された動き検出領域1402の映像信号を読み出し、第2画像切り出し部1207に入力する(ステップS1311)。制御部1209はステップS1310での設定に応じて、第2画像切り出し部1207によりステップS1311で読み出した動き検出領域1402から圧縮対象領域1403を切り出し、画像圧縮部1208に入力する(ステップS1312)。   The control unit 1209 calculates the position of the compression target area 1403 according to the motion detection result detected in step S1306 (step S1308). The control unit 1209 changes the setting of the second image cutout unit 1207 according to the position of the compression target area 1403 calculated in step S1308 (step S1310). The control unit 1209 reads the video signal of the motion detection area 1402 stored in the frame memory 1206, and inputs it to the second image cutout unit 1207 (step S1311). The control unit 1209 cuts out the compression target region 1403 from the motion detection region 1402 read out in step S1311 by the second image cutout unit 1207 according to the setting in step S1310, and inputs it to the image compression unit 1208 (step S1312).

制御部1209はステップS1312で切り出した圧縮対象領域1403の映像信号を画像圧縮部1208により画像圧縮を行い、ハードディスク制御部1210に入力する(ステップS1313)。制御部1209は、ハードディスク制御部1210を制御して、画像圧縮部1208から出力される圧縮画像データに独自なヘッダなどを付加したり、ファイルシステムへの登録を行ったりするなどのハードディスク格納準備処理を行う(ステップS1314)。   The control unit 1209 compresses the image signal of the compression target area 1403 cut out in step S1312 by the image compression unit 1208 and inputs the compressed image signal to the hard disk control unit 1210 (step S1313). The control unit 1209 controls the hard disk control unit 1210 to add a unique header or the like to the compressed image data output from the image compression unit 1208 or register the file in the file system. Is performed (step S1314).

次に、制御部1209は、ステップS1314で準備されたデータをハードディスク1211に格納する(ステップS1315)。その後、制御部1209は、再度ステップS1301に遷移する。また、ステップS1307で動きが検出されなかった場合は圧縮対象領域の設定を変更する必要が無い、もしくは圧縮対象領域の設定を初期設定も戻す必要があるので、画像切り出し部1207への制御信号を初期設定と同じ値を設定する(ステップS1309)。その後、制御部1209はステップS1311へ遷移する。   Next, the control unit 1209 stores the data prepared in step S1314 in the hard disk 1211 (step S1315). Thereafter, the control unit 1209 transitions to step S1301 again. If no motion is detected in step S1307, it is not necessary to change the setting of the compression target area, or it is necessary to return the setting of the compression target area to the initial setting, so a control signal to the image clipping unit 1207 is sent. The same value as the initial setting is set (step S1309). Thereafter, the control unit 1209 makes a transition to Step S1311.

<パン、チルト機能を実現する第1画像切り出し部1204の制御の説明>
パン及びチルト機能を実現する第1画像切り出し部1204の制御について説明する。
<Description of Control of First Image Clipping Unit 1204 Realizing Pan and Tilt Functions>
Control of the first image cutout unit 1204 that realizes the pan and tilt functions will be described.

図14において、符号1401は広域撮像領域であり、CCDなどにより構成される撮像素子の有効撮像領域と等価である。本実施の形態では、広域撮像領域1401は水平方向に16個、垂直方向に8個、合計128個の領域に分割される。第1画像切り出し部1204は、制御部1209の制御により、分割単位毎に動き検出領域1402を切り出し可能である。動き検出領域1402は、広域撮像領域1401の分割単位毎に設定可能であり、動き検出領域1402の設定を変更することによりパンやチルトを行うことが可能である。動き検出領域1402は動き検出を行う領域であり、動き検出部1205により動き検出が行わる。動き検出領域1402は、水平方向に16個、垂直方向に8個、合計128個の領域に分割される。この分割単位毎に圧縮対象領域1403が設定可能である。圧縮対象領域1403は、第2画像切り出し部1207により切り出され、画像圧縮部1208により画像圧縮される。   In FIG. 14, reference numeral 1401 denotes a wide area imaging area, which is equivalent to an effective imaging area of an image sensor constituted by a CCD or the like. In this embodiment, the wide area imaging area 1401 is divided into a total of 128 areas, 16 in the horizontal direction and 8 in the vertical direction. The first image cutout unit 1204 can cut out the motion detection area 1402 for each division unit under the control of the control unit 1209. The motion detection area 1402 can be set for each division unit of the wide area imaging area 1401, and panning and tilting can be performed by changing the setting of the motion detection area 1402. The motion detection area 1402 is an area where motion detection is performed, and motion detection is performed by the motion detection unit 1205. The motion detection area 1402 is divided into a total of 128 areas, 16 in the horizontal direction and 8 in the vertical direction. A compression target area 1403 can be set for each division unit. The compression target area 1403 is cut out by the second image cutout unit 1207 and is compressed by the image compression unit 1208.

符号1404はパン方向であり、制御部1209から第1画像切り出し部1204に指示される情報であり、本実施の形態の場合は動き検出領域1402の左端を(P7)から(P3)に移動させる。符号1405はチルト方向であり、制御部1209から第1画像切り出し部1204に指示される情報であり、本実施の形態の場合は動き検出領域1402の上端を(T3)から(T1)に移動させる。符号1406は、設定変更前の動き検出領域であり、符号1407は設定変更後の動き検出領域である。このように、第1画像切り出し部1204の設定を変更することにより、広域撮像領域1401から切り出す動き検出領域1402の位置を変更することで、パンやチルトを実現できる。   Reference numeral 1404 denotes a pan direction, which is information instructed by the control unit 1209 to the first image cutout unit 1204. In the present embodiment, the left end of the motion detection area 1402 is moved from (P7) to (P3). . Reference numeral 1405 denotes a tilt direction, which is information instructed by the control unit 1209 to the first image cutout unit 1204. In the present embodiment, the upper end of the motion detection area 1402 is moved from (T3) to (T1). . Reference numeral 1406 denotes a motion detection area before the setting change, and reference numeral 1407 denotes a motion detection area after the setting change. As described above, panning and tilting can be realized by changing the position of the motion detection area 1402 cut out from the wide-area imaging area 1401 by changing the setting of the first image cutout unit 1204.

本発明は、処理能力の高いCPUや大規模な信号処理回路を用いることなく、コマ落ち無しで画像の圧縮及び伸張を行うことができ、また遠隔監視する場合に大きな転送容量のネットワークを確保することなく画像を転送することができるといった効果を有し、監視用の画像記録システムなどへの適用が可能である。   The present invention can compress and decompress images without dropping frames without using a high-performance CPU or a large-scale signal processing circuit, and secure a large transfer capacity network for remote monitoring. Therefore, the present invention can be applied to an image recording system for monitoring.

本発明の実施の形態1に係る画像記録システムの概略構成を示すブロック図1 is a block diagram showing a schematic configuration of an image recording system according to Embodiment 1 of the present invention. 本発明の実施の形態1に係る画像記録システムにおける画像蓄積装置の概略構成を示すブロック図1 is a block diagram showing a schematic configuration of an image storage device in an image recording system according to Embodiment 1 of the present invention. 本発明の実施の形態1に係る画像記録システムにおける画像蓄積装置の画像切り出し部の動作を説明するための図The figure for demonstrating operation | movement of the image clipping part of the image storage apparatus in the image recording system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像記録システムにおける画像蓄積装置の動作を説明するためのフローチャートFlowchart for explaining the operation of the image storage device in the image recording system according to the first embodiment of the present invention. 本発明の実施の形態1に係る画像記録システムにおける画像蓄積装置の画像切り出し部の動き領域が1箇所であった場合の動作を説明するための図The figure for demonstrating operation | movement when the motion area of the image clipping part of the image storage device in the image recording system which concerns on Embodiment 1 of this invention is one place. 本発明の実施の形態1に係る画像記録システムにおける画像蓄積装置の画像切り出し部の動き領域が離れた位置に2箇所あった場合の動作を説明するための図The figure for demonstrating operation | movement when the motion area of the image cutout part of the image storage device in the image recording system which concerns on Embodiment 1 of this invention exists in the position which left two places. 本発明の実施の形態1に係る画像記録システムにおける画像蓄積装置のフレームメモリとその前後各部の出力信号のタイミングを示すタイミングチャートFIG. 3 is a timing chart showing the timing of output signals from the frame memory of the image storage device and the front and rear portions thereof in the image recording system according to the first embodiment of the present invention. 本発明の実施の形態1に係る画像記録システムにおける画像蓄積装置の画像切り出し部において動き領域が離れた位置に2箇所あった場合の出力画像の一例を示す図The figure which shows an example of an output image when there exist two places in the position where the movement area | region separated in the image clipping part of the image storage device in the image recording system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る画像記録システムの画像データ読み出し動作を説明するためのフローチャートFlowchart for explaining an image data reading operation of the image recording system according to the first embodiment of the present invention. 本発明の実施の形態1に係る画像記録システムのネットワーク送出動作を説明するためのフローチャートFlowchart for explaining a network transmission operation of the image recording system according to the first embodiment of the present invention. 本発明の実施の形態2に係る画像記録システムの動き予想による圧縮対象領域制御を説明するための図The figure for demonstrating the compression object area | region control by the motion estimation of the image recording system which concerns on Embodiment 2 of this invention. 本発明の実施の形態3に係る画像記録システムにおける画像蓄積装置の概略構成を示すブロック図FIG. 5 is a block diagram showing a schematic configuration of an image storage device in an image recording system according to Embodiment 3 of the present invention. 本発明の実施の形態3に係る画像記録システムにおける画像蓄積装置の動作を説明するためのフローチャートFlowchart for explaining the operation of the image storage device in the image recording system according to the third embodiment of the present invention. 本発明の実施の形態3に係る画像記録システムにおける画像蓄積装置のパン、チルト動作を説明するための図The figure for demonstrating pan and tilt operation | movement of the image storage apparatus in the image recording system which concerns on Embodiment 3 of this invention.

符号の説明Explanation of symbols

101 カメラ
102、1200 画像蓄積装置
103 モニタ
104 入力部
105 パソコン
106 被写体
107 ネットワーク
202、1202 A/D変換部
204、1205 動き検出部
205、1206 フレームメモリ
207 画像切り出し部
208、1208 画像圧縮部
210、1209 制御部
211、1210 ハードディスク制御部
212、1211 ハードディスク
213、1212 画像伸張部
214、1213 表示制御部
215、1214 ネットワーク制御部
1203 広域フレームメモリ
1204 第1画像切り出し部
1207 第2画像切り出し部
DESCRIPTION OF SYMBOLS 101 Camera 102, 1200 Image storage device 103 Monitor 104 Input part 105 Personal computer 106 Subject 107 Network 202, 1202 A / D conversion part 204, 1205 Motion detection part 205, 1206 Frame memory 207 Image clipping part 208, 1208 Image compression part 210, 1209 Control unit 211, 1210 Hard disk control unit 212, 1211 Hard disk 213, 1212 Image decompression unit 214, 1213 Display control unit 215, 1214 Network control unit 1203 Wide area frame memory 1204 First image clipping unit 1207 Second image clipping unit

Claims (11)

撮像手段の撮像領域全体を動き検出領域として動き検出を行う動き検出手段と、
前記動き検出手段で動き検出された前記撮像領域の一部分を圧縮対象領域として取得する圧縮対象領域画像取得手段と、
前記圧縮対象領域画像取得手段で取得された前記圧縮対象領域の画像を圧縮する画像圧縮手段と、
前記画像圧縮手段で圧縮された画像を記録する記録手段と、
を備える画像記録システム。
Motion detection means for performing motion detection using the entire imaging area of the imaging means as a motion detection area;
Compression target area image acquisition means for acquiring a part of the imaging area detected by the motion detection means as a compression target area;
Image compression means for compressing the image of the compression target area acquired by the compression target area image acquisition means;
Recording means for recording the image compressed by the image compression means;
An image recording system comprising:
前記圧縮対象領域画像取得手段は、前記動き検出領域で動きが検出された場合、動きが有った領域を判定し、判定した領域を含む位置に前記圧縮対象領域を初期設定位置から変更する請求項1に記載の画像記録システム。   The compression target region image acquisition unit determines a region having a motion when a motion is detected in the motion detection region, and changes the compression target region from an initial setting position to a position including the determined region. Item 8. The image recording system according to Item 1. 前記圧縮対象領域画像取得手段は、前記動き検出領域をN個(Nは整数)に等分割し、前記動き検出領域で動きが検出された場合、動きが有った領域がN等分した前記動き検出領域の何処であるかを判定し、判定した領域を含む位置に前記圧縮対象領域を初期設定位置から変更する請求項2に記載の画像記録システム。   The compression target region image acquisition means divides the motion detection region into N equal parts (N is an integer), and when motion is detected in the motion detection region, the region where the motion has been divided into N equal parts. The image recording system according to claim 2, wherein it is determined where the motion detection area is, and the compression target area is changed from an initial setting position to a position including the determined area. 前記圧縮対象領域画像取得手段は、前記動き検出領域で動きが2箇所以上検出された場合、動きが有った全ての領域を判定し、判定した各領域を含むように前記圧縮対象領域を分割し、
前記画像圧縮手段は、前記分割された各圧縮対象領域の画像を1枚の画像として合成して画像圧縮を行う請求項2又は請求項3に記載の画像記録システム。
The compression target area image acquisition means determines all areas where there is motion when two or more motions are detected in the motion detection area, and divides the compression target area to include each determined area And
4. The image recording system according to claim 2, wherein the image compression unit performs image compression by synthesizing the divided images of the compression target areas as one image.
前記圧縮対象領域画像取得手段は、前記動き検出領域の画像データを現在分と複数フレームの過去分を保持し、前記動き検出領域で動きが検出された場合、動きが有った領域を判定し、動きが検出された時刻から数フレーム分過去の画像データの前記圧縮対象領域を初期設定位置から、該当フレームの画像データにおける動きが検出された領域を含む位置に変更する請求項2乃至請求項4のいずれかに記載の画像記録システム。   The compression target area image acquisition unit holds the current data and the past data of a plurality of frames of the image data of the motion detection area, and determines a region where there is motion when motion is detected in the motion detection area. 3. The compression target area of image data that is several frames past the time when motion is detected is changed from an initial position to a position that includes an area in which motion in the image data of the corresponding frame is detected. 5. The image recording system according to any one of 4 above. 前記圧縮対象領域画像取得手段は、前記動き検出領域で動きが検出された場合、前記動き検出領域の画像データを複数フレーム期間保持し、前記動き検出領域内で動きが移動しているかどうかを判定し、移動している場合、その動きの方向に応じて前記圧縮対象領域を変更する請求項2乃至請求項5のいずれかに記載の画像記録システム。   The compression target area image acquisition means holds the image data of the motion detection area for a plurality of frame periods when a motion is detected in the motion detection area, and determines whether the movement is moving in the motion detection area. And when moving, the image recording system according to any one of claims 2 to 5, wherein the compression target area is changed according to the direction of the movement. 前記圧縮対象領域画像取得手段は、操作指示に従い、前記動き検出領域内で前記圧縮対象領域を水平方向又は垂直方向にずらす請求項2乃至請求項6のいずれかに記載の画像記録システム。   The image recording system according to any one of claims 2 to 6, wherein the compression target area image obtaining unit shifts the compression target area in a horizontal direction or a vertical direction within the motion detection area in accordance with an operation instruction. インターネットを含むネットワークにデータの送出が可能であり、前記画像圧縮手段で圧縮された前記圧縮対象領域の画像データを前記ネットワークに送出するネットワーク制御手段を備える請求項1乃至請求項7のいずれかに記載の画像記録システム。   8. The network control unit according to claim 1, further comprising a network control unit capable of transmitting data to a network including the Internet and transmitting the image data of the compression target area compressed by the image compression unit to the network. The image recording system described. 前記動き検出手段は、前記撮像手段の撮像領域全体で動き検出を行う際に、動き検出を行う映像信号をサンプリングする請求項1乃至請求項8のいずれかに記載の画像記録システム。   The image recording system according to claim 1, wherein the motion detection unit samples a video signal for motion detection when performing motion detection in the entire imaging region of the imaging unit. 撮像素子の撮像領域全体を動き検出領域として動き検出を行い、動き検出した前記撮像領域の一部分を圧縮対象領域として取得し、取得した前記圧縮対象領域の画像を圧縮して記録装置に記録する画像記録方法。   An image that performs motion detection using the entire imaging area of the imaging device as a motion detection area, acquires a part of the imaging area that has been detected as a compression target area, and compresses the acquired image of the compression target area and records it in a recording device Recording method. 前記動き検出領域で動きを検出した場合、動きが有った領域を含む位置に前記圧縮対象領域を初期設定位置から変更する請求項10に記載の画像記録方法。   The image recording method according to claim 10, wherein when a motion is detected in the motion detection area, the compression target area is changed from an initial setting position to a position including an area where there is a motion.
JP2006071383A 2006-03-15 2006-03-15 Image recording system and image recording method Withdrawn JP2007251540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006071383A JP2007251540A (en) 2006-03-15 2006-03-15 Image recording system and image recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006071383A JP2007251540A (en) 2006-03-15 2006-03-15 Image recording system and image recording method

Publications (1)

Publication Number Publication Date
JP2007251540A true JP2007251540A (en) 2007-09-27

Family

ID=38595382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006071383A Withdrawn JP2007251540A (en) 2006-03-15 2006-03-15 Image recording system and image recording method

Country Status (1)

Country Link
JP (1) JP2007251540A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014096615A (en) * 2012-11-07 2014-05-22 Imageom:Kk Moving picture processing apparatus, camera monitoring system, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014096615A (en) * 2012-11-07 2014-05-22 Imageom:Kk Moving picture processing apparatus, camera monitoring system, and program

Similar Documents

Publication Publication Date Title
JP3695119B2 (en) Image synthesizing apparatus and recording medium storing program for realizing image synthesizing method
EP2161928B1 (en) Image processing device, image processing method, and program
JP4226231B2 (en) Video signal processing system
JP2005287029A (en) Method for dynamically processing data and digital camera
JP2004120341A (en) Video image monitoring system
JP4741283B2 (en) Integrated circuit device, microcomputer and surveillance camera system
JP2004200739A (en) Image processor
US6968119B1 (en) Electronic camera with compression
US7274389B1 (en) Camera apparatus and image processing system with variable resolution
JP4241562B2 (en) Image compression device
JP2007251540A (en) Image recording system and image recording method
US20100195989A1 (en) Image reproducing apparatus and image reproducing method
JP4859795B2 (en) Camera device and recording system
JP2005323379A (en) Systems and methods for responding to data transfer
JP2002354299A (en) Digital still camera
JP2004080427A (en) Imaging apparatus and image form converting method
JP2000224540A (en) Picture file device
JP2001189909A (en) Moving image camera
JP5253255B2 (en) Operation screen recording device
JPH10200859A (en) Processor and method for image processing
JP2018207424A (en) Information transfer device
JP3288715B2 (en) Image capturing device, image storage / playback device equipped with image capturing device, and image input device
JP2018195892A (en) Imaging apparatus
JP2007074455A (en) Image recording and reproducing device
JP4260091B2 (en) Imaging device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071113

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071120

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090602