JP2001320705A - Image data compression device for monitoring camera - Google Patents

Image data compression device for monitoring camera

Info

Publication number
JP2001320705A
JP2001320705A JP2000142234A JP2000142234A JP2001320705A JP 2001320705 A JP2001320705 A JP 2001320705A JP 2000142234 A JP2000142234 A JP 2000142234A JP 2000142234 A JP2000142234 A JP 2000142234A JP 2001320705 A JP2001320705 A JP 2001320705A
Authority
JP
Japan
Prior art keywords
image data
compression
unit
compressed
value
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
JP2000142234A
Other languages
Japanese (ja)
Inventor
Masayuki Midorikawa
正幸 緑川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2000142234A priority Critical patent/JP2001320705A/en
Publication of JP2001320705A publication Critical patent/JP2001320705A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Television Signal Processing For Recording (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image data compression device for a monitoring camera which minimizes the capacity of a memory for temporary storage of compressed data when compressing the image data of a prescribed number of images picked up with the monitoring camera and transmitting them through digital transmission media. SOLUTION: The compression device has a memory part 15 for compressed data to store compressed picture data 22 obtained by compressing image data 21 from a camera part 11 in a compression part 13 and to output data an amount H for every input frame, and a CPU part 14 to calculate the difference D between the compressed data amount H and a reference value C and to accumulate the difference D for comparing it with thresholds F and -G. Each input image frame is compared and when a cumulative value E becomes a threshold F or more, the CPU part 14 raises the compression ratio of a compression part 13 and controls the compression part 13 so that the compressed data amount H of the following processing image frame becomes a reference value C or less. Besides, when the cumulative value E becomes a threshold -G or less, the CPU part 14 controls a compression part 13 when compressing the following image frame so that the compressed data amount H becomes a reference value C or more.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、所定の枚数の画像
の画像データを圧縮して蓄積する監視カメラの画像デー
タ圧縮装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a surveillance camera image data compression apparatus for compressing and storing image data of a predetermined number of images.

【0002】[0002]

【従来の技術】たとえば遠隔監視カメラシステムには、
インタネットなどのデジタル伝達メディアを利用して映
像データを伝送することにより、ある地点での撮像映像
を別の地点で閲覧可能とするものがある。遠隔監視カメ
ラシステムでは、遠隔監視カメラにより撮像された映像
は通常、撮影指示のあったある特定のタイミング、すな
わちトリガ点から時間的に以前のあらかじめ設定された
m(自然数)枚の画像と、トリガ点後のあらかじめ設定
されたn-m 枚の複数の画像が伝送される。ここでnは、
送信指定された監視画像枚数を表わす自然数であり、あ
らかじめ決められた値である。これらの映像は、インタ
ネット等のデジタル伝達メディアにより通信回線を経由
して伝送される場合、映像信号の膨大な情報量を効率よ
く伝送するために、一般に、伝送される前に圧縮処理が
なされる。
2. Description of the Related Art For example, a remote monitoring camera system includes:
2. Description of the Related Art Some video data is transmitted using digital transmission media such as the Internet so that a captured video at a certain point can be viewed at another point. In a remote surveillance camera system, an image captured by a remote surveillance camera usually includes a predetermined m (natural number) images temporally before a specific timing when a shooting instruction is given, that is, a trigger point, and a trigger. A plurality of predetermined nm images after the dot are transmitted. Where n is
This is a natural number representing the number of monitoring images designated for transmission, and is a predetermined value. When these images are transmitted via a communication line by digital transmission media such as the Internet, compression processing is generally performed before transmission in order to efficiently transmit a huge amount of information of a video signal. .

【0003】この圧縮処理には、画像データの性質を利
用して冗長性を削減するJPEG (Joint Photographic cod
ing Experts Group)等の圧縮方法がとられる。圧縮され
た各映像データは、圧縮データメモリとして機能するバ
ッファメモリに一時的に格納される。圧縮データメモリ
は、伝送される画像枚数分の十分な蓄積容量を有し、時
系列的に圧縮画像データが入力され、空き蓄積領域がな
くなると最も古い圧縮画像データが書き込まれた領域か
ら順次、最新の圧縮画像データを上書きするリングバッ
ファとして使用する。
[0003] In this compression processing, JPEG (Joint Photographic cod) for reducing redundancy by utilizing the properties of image data.
ing Experts Group). Each compressed video data is temporarily stored in a buffer memory functioning as a compressed data memory. The compressed data memory has a sufficient storage capacity for the number of images to be transmitted, the compressed image data is input in time series, and when the free storage area is exhausted, the oldest compressed image data is sequentially written from the area in which the data is written. Used as a ring buffer to overwrite the latest compressed image data.

【0004】遠隔監視カメラシステムの制御部から伝送
指示(トリガ)が出力されると、圧縮データメモリから
トリガ前のm枚、トリガ後のn-m 枚の画像の画像データ
を順次読み出し、一旦、送信バッファメモリに書き込
む。この送信バッファメモリ、すなわち蓄積メモリは、
伝送路の速度との整合をとるためのバッファメモリであ
り、伝送路の伝送速度等の通信条件に適合させて画像デ
ータを読み出し、インタネット等の通信回線を経由して
遠隔地へ送出する。
When a transmission instruction (trigger) is output from the control unit of the remote monitoring camera system, the image data of m images before the trigger and nm images after the trigger are sequentially read from the compressed data memory, and temporarily stored in the transmission buffer. Write to memory. This transmission buffer memory, that is, the storage memory,
A buffer memory for matching the speed of the transmission line, reads out image data in conformity with communication conditions such as the transmission speed of the transmission line, and sends the image data to a remote place via a communication line such as the Internet.

【0005】[0005]

【発明が解決しようとする課題】一般にJPEG等により圧
縮した画像データは、圧縮する画像の絵柄の複雑さ等、
個々の画像の状態に応じて画面当たりのデータの量が変
動する。一方、圧縮データメモリは、この圧縮データ量
の変動に拘らず必要な枚数分の圧縮画像データを保持し
ておく必要がある。そのためには、画面当たりの圧縮画
像データの最大値を想定し、想定した最大値に対する必
要画像n枚分の記憶容量の圧縮画像データメモリを用意
しておく必要があった。このように、膨大なメモリ容量
の圧縮画像データメモリを準備しなければならないた
め、圧縮データメモリの規模が大きくなり、消費電力や
コストの増大等、構成が複雑化する問題があった。
Generally, image data compressed by JPEG or the like is used to reduce the complexity of the picture to be compressed.
The amount of data per screen varies according to the state of each image. On the other hand, the compressed data memory needs to hold the required number of pieces of compressed image data regardless of the fluctuation of the compressed data amount. For that purpose, it is necessary to assume a maximum value of the compressed image data per screen and prepare a compressed image data memory having a storage capacity of n required images with respect to the assumed maximum value. As described above, it is necessary to prepare a compressed image data memory having an enormous memory capacity, so that the scale of the compressed data memory becomes large, and there is a problem that the configuration becomes complicated such as an increase in power consumption and cost.

【0006】本発明は、以上の点に着目したものであ
り、このような従来技術の欠点を解消し、トリガ点の前
後の画像を蓄積するための圧縮画像データメモリの記憶
容量を削減可能な監視カメラの画像データ圧縮装置を提
供することを目的とする。
The present invention focuses on the above points, and solves such disadvantages of the prior art and can reduce the storage capacity of a compressed image data memory for storing images before and after a trigger point. An object of the present invention is to provide an image data compression device for a surveillance camera.

【0007】[0007]

【課題を解決するための手段】本発明によれば、上述の
課題を解決するために、所定の枚数の画像の画像データ
を圧縮して蓄積する監視カメラの画像データ圧縮装置
は、順次到来する画像データを可変の圧縮率で1画像ご
とに圧縮する圧縮手段と、圧縮された画像データを古い
画像データから順に上書きしてサイクリックに蓄積する
蓄積手段と、蓄積された圧縮画像データを蓄積手段から
読み出して出力する出力手段と、圧縮手段、蓄積手段お
よび出力手段を制御する制御手段とを含み、制御手段
は、圧縮された画像データのデータ量の所定の第1の基
準値に対する差分を算出し、差分に応じた圧縮率を圧縮
手段に設定し、圧縮手段は、設定された圧縮率で画像デ
ータを圧縮し、この圧縮率は、蓄積手段に蓄積される圧
縮された画像データが所定の枚数を超えないような値に
設定され、制御手段は、読出しトリガ時点を含む所定の
枚数分の圧縮画像データを蓄積手段から順次読み出して
出力手段より出力する。
According to the present invention, in order to solve the above-mentioned problems, an image data compression device of a surveillance camera for compressing and storing image data of a predetermined number of images sequentially arrives. Compression means for compressing image data for each image at a variable compression rate, storage means for overwriting the compressed image data in order from oldest image data and cyclically storing the compressed image data, and storage means for storing the stored compressed image data Output means for reading and outputting the compressed image data, and control means for controlling the compression means, the storage means and the output means, wherein the control means calculates a difference between the data amount of the compressed image data and a predetermined first reference value. Then, a compression rate corresponding to the difference is set in the compression means, and the compression means compresses the image data at the set compression rate, and the compression rate is determined by the compressed image data stored in the storage means. Is set to such a value that does not exceed the number of fixed, control means outputs from sequentially reads output means from the storing means compressed image data of a predetermined number of sheets, including a read trigger time.

【0008】好ましい態様では、画像のフレーム(1画
面)単位の圧縮画像データ量Hを監視し、あらかじめ設
定した基準値Cに対する各画像フレームごとの圧縮デー
タ量Hとの差分値Dを算出し、この差分値Dを逐次累積
し、その累積値Eが上限閾値F以上になった場合には、
画像圧縮処理の圧縮率を上げてフレーム画像の圧縮デー
タ量Hが基準値Cより小さくなるように制御する。ま
た、累積値Eが下限閾値-G以下になった場合には、圧縮
率を下げて圧縮データ量Hが基準値Cより大きくなるよ
うに制御する。
In a preferred embodiment, the compressed image data amount H of each frame (one screen) of the image is monitored, and a difference value D between the compressed data amount H of each image frame and a predetermined reference value C is calculated. This difference value D is sequentially accumulated, and when the accumulated value E becomes equal to or more than the upper limit threshold F,
The compression rate of the image compression process is increased so that the compressed data amount H of the frame image is controlled to be smaller than the reference value C. When the accumulated value E becomes equal to or less than the lower threshold value -G, the compression rate is reduced so that the compressed data amount H becomes larger than the reference value C.

【0009】このような圧縮率制御を行なうことによ
り、圧縮データメモリに蓄積されるデータ量は、値Cxn+
αまでに抑えることができる。ここでαはオーバフロー
マージンであり、有利には、閾値Fと画像1枚当たりの
圧縮画像データの最大と想定されるデータ量との和に等
しく設定される。こうして、圧縮画像データメモリにお
けるデータ量を所定の値以下に抑えることが可能とな
る。
By performing such a compression ratio control, the amount of data stored in the compressed data memory becomes a value Cxn +
It can be suppressed to α. Here, α is an overflow margin, and is advantageously set to be equal to the sum of the threshold value F and the maximum amount of compressed image data per image and the assumed data amount. Thus, the data amount in the compressed image data memory can be suppressed to a predetermined value or less.

【0010】[0010]

【発明の実施の形態】次に添付図面を参照して、本発明
による監視カメラの圧縮データメモリの制御の実施例を
詳細に説明する。図1は本発明の監視カメラシステムの
実施例の構成を示す機能ブロック図である。この監視カ
メラシステムは、カメラ部11によって常時、被写界を撮
像し、センサ部12から、またはインタネット等のデジタ
ル伝達メディアである外部ネットワーク18から撮影指示
を受けると、時間的にトリガ点以前のm(自然数)枚の
画像とその後のn-m 枚の複数の画像を表わす画像データ
を圧縮画像データとして外部ネットワーク18へ送信する
撮像送信システムである。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a control of a compressed data memory of a surveillance camera according to the present invention. FIG. 1 is a functional block diagram showing the configuration of an embodiment of the surveillance camera system of the present invention. This surveillance camera system always captures an image of an object scene with the camera unit 11 and, when receiving a shooting instruction from the sensor unit 12 or an external network 18 which is a digital transmission medium such as the Internet, temporally before the trigger point. The imaging transmission system transmits image data representing m (natural number) images and a plurality of subsequent nm images to the external network 18 as compressed image data.

【0011】カメラ部11は、たとえば固体撮像デバイス
を有し、これによって、監視すべき被写界を常時、撮像
し、この被写界を表わす映像信号を、最終的にはデジタ
ルデータの形でその出力21より出力する撮像装置であ
る。カメラ部11からの撮像出力21は圧縮部13の入力へ接
続されている。
The camera section 11 has, for example, a solid-state image pickup device, thereby constantly taking an image of an object field to be monitored, and converting a video signal representing the object field into digital data finally. This is an imaging device that outputs from the output 21. An imaging output 21 from the camera unit 11 is connected to an input of the compression unit 13.

【0012】圧縮部13は、カメラ部11から毎秒B(自然
数)フレームのレートで画像データ21を取り込み、これ
をフレーム単位で圧縮するデータ圧縮機能部である。本
実施例では、圧縮部13には、画像データの性質を利用し
て冗長性を削減するJPEG圧縮方式が採用されている。圧
縮部13には、MPEG (Moving Picture coding ExpertsGro
up)などの他の画像データ圧縮方式も有利に適用され
る。このフレームレートは、本実施例では、カメラ部11
に後述のCPU (Central Processor Unit)部14から制御線
32を通して可変的に設定されるように構成されている。
または、カメラ部11にフレームレートが固定的に設定さ
れていてもよい。実施例の圧縮部13は、フレーム単位で
圧縮を行なうが、これに限定されず、たとえばフィール
ド単位に圧縮を行なうように構成されていてもよい。圧
縮部13はまた、CPU 部14から圧縮率制御信号26を受け、
これによって圧縮率が可変的に設定される。圧縮率の可
変は、たとえば圧縮部13の量子化ステップの量子化幅を
変更することによって、実現される。圧縮部13の出力22
は圧縮データメモリ部15に接続されている。
The compression unit 13 is a data compression function unit that takes in the image data 21 from the camera unit 11 at a rate of B (natural number) frames per second and compresses the image data 21 in frame units. In the present embodiment, the compression unit 13 employs a JPEG compression method for reducing redundancy by utilizing the properties of image data. The compression unit 13 includes MPEG (Moving Picture coding Experts
Other image data compression schemes such as up) are also advantageously applied. In this embodiment, the frame rate is set to
Control line from a CPU (Central Processor Unit)
It is configured to be set variably through 32.
Alternatively, the frame rate may be fixedly set in the camera unit 11. The compression unit 13 in the embodiment performs compression in units of frames, but is not limited to this. For example, the compression unit 13 may be configured to perform compression in units of fields. The compression unit 13 also receives a compression ratio control signal 26 from the CPU unit 14,
As a result, the compression ratio is variably set. The compression ratio can be changed by, for example, changing the quantization width of the quantization step of the compression unit 13. Output 22 of compression unit 13
Are connected to the compressed data memory unit 15.

【0013】圧縮データメモリ部15は、圧縮された画像
データを一時蓄積するバッファメモリであり、伝送すべ
き画像枚数n(自然数)分の圧縮画像データを十分に蓄
積可能な蓄積容量を有するリングバッファとして機能す
る蓄積装置である。1トリガに対する送信画像枚数n
は、本実施例では固定であり、圧縮データメモリ部15
は、送信画像枚数nに見合ったの蓄積容量を有するよう
に構成されている。しかし、1トリガに対する送信画像
の枚数は、CPU 部14からこの蓄積容量に対応した値n以
下の値で可変的に設定されるように構成してもよい。圧
縮データメモリ部15は、圧縮部13から入力された圧縮デ
ータ22のフレームごとのデータ量を示すデータ量情報信
号27をCPU 部14へ出力する機能も有している。圧縮デー
タメモリ部15の圧縮データ出力23は蓄積部16に接続され
ている。
The compressed data memory unit 15 is a buffer memory for temporarily storing compressed image data, and has a storage capacity enough to store compressed image data of n (natural number) of images to be transmitted. The storage device functions as a storage device. Number of transmitted images n per trigger
Is fixed in this embodiment, and the compressed data memory unit 15
Are configured to have a storage capacity commensurate with the number n of transmitted images. However, the number of transmitted images for one trigger may be variably set by the CPU unit 14 to a value equal to or less than the value n corresponding to the storage capacity. The compressed data memory unit 15 also has a function of outputting a data amount information signal 27 indicating the data amount of each frame of the compressed data 22 input from the compression unit 13 to the CPU unit 14. The compressed data output 23 of the compressed data memory unit 15 is connected to the storage unit 16.

【0014】蓄積部16は、圧縮データメモリ部15から読
み出された圧縮画像データ23を一時記憶し、その出力24
から出力される画像データの読出し速度を伝送路18にお
ける伝送速度と整合させるなどの調整等を行なうバッフ
ァメモリである。蓄積部16には、CPU 部13からの制御信
号29によりネットワーク18における伝送に必要な速度等
のパラメータが設定される。蓄積部16からの送信画像デ
ータ出力24は、ネットワークインタフェース部17に接続
されている。ネットワークインタフェース部17は、イン
タネット等の外部ネットワーク18の回線へ送出するため
に送信画像データ24の各種整合をとって外部ネットワー
ク18へ送信するインタフェース機能部である。ネットワ
ークインタフェース部17はまた、遠隔地からネットワー
ク18を通して画像データの送信指示、すなわちトリガ信
号を受信すると、これを送信指示信号30としてCPU 部14
へ転送する機能も有する。
The storage section 16 temporarily stores the compressed image data 23 read from the compressed data memory section 15 and outputs the compressed image data 23.
This is a buffer memory for adjusting the reading speed of the image data output from the transmission line 18 with the transmission speed in the transmission line 18 and the like. In the storage unit 16, parameters such as the speed required for transmission on the network 18 are set by a control signal 29 from the CPU unit 13. The transmission image data output 24 from the storage unit 16 is connected to the network interface unit 17. The network interface unit 17 is an interface function unit that performs various matchings on the transmission image data 24 and transmits the transmission image data 24 to the external network 18 for transmission to a line of the external network 18 such as the Internet. When receiving an image data transmission instruction, that is, a trigger signal from a remote place via the network 18, the network interface unit 17 converts this into a transmission instruction signal 30 as a CPU
It also has the function of transferring to

【0015】一方、センサ部12は、被写界すなわち監視
場所における動きや音声、温度等の特性を検出し、その
検出結果をトリガ出力25として出力するトリガ検出部で
ある。その出力25はCPU 部14へ入力される。
On the other hand, the sensor section 12 is a trigger detecting section for detecting characteristics such as movement, voice, temperature and the like in an object scene, that is, a monitoring place, and outputting the detection result as a trigger output 25. The output 25 is input to the CPU unit 14.

【0016】CPU 部14は、センサ部25、圧縮部13、圧縮
データメモリ部15、蓄積部16およびネットワークインタ
フェース部17に図示のように接続され、本監視カメラ全
体の動作を制御する制御部である。より具体的には、カ
メラ部11から圧縮部13および圧縮データメモリ部15を経
由して蓄積部16には常時、毎秒Bフレームのレートで、
つまり1/B 秒間隔で画像データ21が取り込まれ圧縮され
て圧縮画像データ23がリングバッファ動作で蓄積される
が、CPU 部14は、センサ部12からのトリガ信号25や、ネ
ットワークインタフェース部17から転送された送信指示
30に応動して、圧縮データメモリ部15へ読出し制御信号
28を出力し、トリガ点を含む前後のn枚の画像を表わす
画像データを蓄積メモリ16から読み出して外部ネットワ
ーク18へ送信する制御機能を有する。CPU 部14はまた、
圧縮部13へ圧縮率制御信号26を供給して圧縮部13へ画像
データ21の圧縮率を可変的に設定することができる。CP
U部14はさらに、圧縮データメモリ部15からデータ量情
報27を受け、この情報27、すなわち圧縮データメモリ15
に入力された圧縮データ22のデータ量を差分演算し、後
述の基準値Cに基づいて圧縮部13の圧縮率を適応的に変
更する圧縮率制御信号26を生成する。圧縮部13の圧縮率
の適応的制御については、以下に詳述する。
The CPU section 14 is connected to the sensor section 25, the compression section 13, the compressed data memory section 15, the storage section 16, and the network interface section 17 as shown in the figure, and controls the operation of the entire surveillance camera. is there. More specifically, from the camera unit 11 to the storage unit 16 via the compression unit 13 and the compressed data memory unit 15 at a rate of B frames per second,
In other words, the image data 21 is captured and compressed at 1 / B second intervals, and the compressed image data 23 is accumulated by the ring buffer operation, but the CPU unit 14 receives the trigger signal 25 from the sensor unit 12 and the network interface unit 17 Transferred transmission instructions
Read control signal to compressed data memory unit 15 in response to 30
28, and has a control function of reading out image data representing n images before and after including the trigger point from the storage memory 16 and transmitting the image data to the external network 18. The CPU unit 14 also
The compression ratio control signal 26 is supplied to the compression unit 13 so that the compression ratio of the image data 21 can be variably set to the compression unit 13. CP
The U unit 14 further receives the data amount information 27 from the compressed data memory unit 15, and
The compression ratio control signal 26 that adaptively changes the compression ratio of the compression unit 13 based on a reference value C described later is generated by performing a difference operation on the data amount of the compressed data 22 input to. The adaptive control of the compression ratio of the compression unit 13 will be described in detail below.

【0017】本実施例における圧縮部13の圧縮率の適応
的制御の動作を図2を参照して詳細に説明する。操作者
は、遠隔地からネットワーク18を通して、または本装置
の操作部(図示せず)を操作して、本装置の動作条件を
設定する指示を本装置に入力する。これらの指示に応動
して、CPU 部14は、トリガ前の撮像枚数m、トリガ以後
の撮像枚数n-m 、画像のフレームレートB/秒、圧縮率の
初期値などの諸パラメータの値を監視カメラに設定する
(ステップS11 )。
The operation of adaptively controlling the compression ratio of the compression section 13 in this embodiment will be described in detail with reference to FIG. The operator inputs an instruction to set operating conditions of the apparatus to the apparatus from a remote place through the network 18 or by operating an operation unit (not shown) of the apparatus. In response to these instructions, the CPU unit 14 sends to the monitoring camera the values of various parameters such as the number of images m before the trigger, the number of images nm after the trigger, the image frame rate B / sec, and the initial value of the compression ratio. It is set (step S11).

【0018】そこで、カメラ部11は、被写界を撮像し、
フレームレートB/秒で撮像画像データ21を1フレーム単
位で圧縮部13へ出力する(S12) 。圧縮部13では、入力さ
れた撮像画像データ21を圧縮し、圧縮された1フレーム
の圧縮画像データ22を圧縮データメモリ15へ出力する(S
13) 。この圧縮画像データ22は、圧縮データメモリ部15
に格納される(S14) 。圧縮データメモリ15は、設定され
た撮像枚数nの圧縮画像データをリングバッファとして
サイクリックに格納する。すなわち、圧縮画像データを
時系列に順次の記憶位置に書き込み、それ以後は、最も
古い画像データの蓄積されている記憶位置に新しい圧縮
画像データを上書きしてゆく。
Therefore, the camera unit 11 takes an image of the object scene,
The captured image data 21 is output to the compression unit 13 in frame units at a frame rate B / sec (S12). The compression unit 13 compresses the input captured image data 21 and outputs the compressed one-frame compressed image data 22 to the compressed data memory 15 (S
13) . The compressed image data 22 is stored in the compressed data memory 15
(S14). The compressed data memory 15 cyclically stores the set number n of compressed image data as a ring buffer. That is, the compressed image data is written in a time-sequential sequential storage position, and thereafter, the storage position where the oldest image data is stored is overwritten with the new compressed image data.

【0019】圧縮データメモリ部15ではこのとき、入力
された1フレームの圧縮画像データのデータ量H(次元
は、たとえばバイト数)をカウントし、カウント結果を
示す信号27をCPU 部14へ送出する(S15) 。CPU 部14で
は、所定の基準値Cに対するこの入力されたカウントデ
ータ量Hの差分D=H-C を算出し(S16) 、この差分値Dを
累積器(図示せず)に加え、累積値E(=ΣD)を得る
(S17) 。CPU 部14はそこで、差分累積値Eを所定の上限
閾値Fと比較し、差分累積値Eが閾値F以上か否かを判
定する(S18) 。
At this time, the compressed data memory unit 15 counts the data amount H (dimension is, for example, the number of bytes) of the input compressed image data of one frame, and sends a signal 27 indicating the count result to the CPU unit 14. (S15). The CPU 14 calculates a difference D = HC between the input count data amount H and a predetermined reference value C (S16), adds the difference value D to an accumulator (not shown), and adds the accumulated value E ( = ΣD)
(S17). Then, the CPU unit 14 compares the accumulated difference value E with a predetermined upper threshold value F, and determines whether the accumulated difference value E is equal to or larger than the threshold value F (S18).

【0020】ステップS18 において、差分累積値Eが所
定の閾値F以上であれば、CPU 部14は、現在、圧縮部13
に設定されている圧縮率より値の高い圧縮率を選択し、
圧縮部13に圧縮率の上昇を指示する(S19) 。より詳細に
は、CPU 部14は、圧縮部13の量子化ステップの量子化幅
を増大させる画像圧縮処理制御信号26を圧縮部13に送出
する。この新たな圧縮率は、一般に、その圧縮率で圧縮
した画像データのデータ量Hが基準値C以下となるよう
な値が選択される。以降、制御はステップS12へ戻っ
て、カメラ部11から次のフレームの画像データを圧縮部
13へ取り込み、以下、ステップS12 からのフローを繰り
返す。
If it is determined in step S18 that the accumulated difference value E is equal to or larger than the predetermined threshold value F, the CPU 14
Select a compression ratio that is higher than the compression ratio set in,
The compression unit 13 is instructed to increase the compression ratio (S19). More specifically, the CPU unit 14 sends an image compression control signal 26 for increasing the quantization width of the quantization step of the compression unit 13 to the compression unit 13. In general, the new compression ratio is selected so that the data amount H of the image data compressed at the compression ratio is equal to or smaller than the reference value C. Thereafter, the control returns to step S12, where the image data of the next frame is
Then, the flow from step S12 is repeated.

【0021】ステップS18 において、差分累積値Eが閾
値Fより小さかった場合、CPU 部14は、差分累積値Eが
他の所定の下限閾値-G以下であるか否かを判定する(S2
0) 。ここで値Gは、正の値をとる。差分累積値Eが閾
値-G以下でないときは、制御はステップS12 へ戻り、入
力される次のフレームについてステップS12 からのフロ
ーを繰り返す。
If it is determined in step S18 that the accumulated difference value E is smaller than the threshold value F, the CPU unit 14 determines whether the accumulated difference value E is equal to or smaller than another predetermined lower limit threshold value -G (S2).
0). Here, the value G takes a positive value. If the accumulated difference value E is not equal to or smaller than the threshold value -G, the control returns to step S12, and the flow from step S12 is repeated for the next frame to be input.

【0022】ステップS20 において、差分累積値Eが閾
値-G以下であった場合は、CPU 部14は、圧縮部13の圧縮
率を下げるように画像圧縮処理制御信号26を圧縮部13に
送出する(S21) 。圧縮部13は、これに応動して、その量
子化ステップの量子化幅を狭くする。以下、ステップS1
2 以降のフローを繰り返す。上述の動作説明で明らかな
ように、差分累積値Eと閾値の比較はフレーム単位で行
われ、圧縮率もフレーム単位で制御される。
If it is determined in step S20 that the difference accumulated value E is equal to or smaller than the threshold value -G, the CPU unit 14 sends an image compression processing control signal 26 to the compression unit 13 so as to reduce the compression ratio of the compression unit 13. (S21). In response, the compression unit 13 narrows the quantization width of the quantization step. Hereinafter, step S1
2 Repeat the flow after that. As is clear from the above description of the operation, the comparison between the accumulated difference value E and the threshold value is performed on a frame basis, and the compression ratio is also controlled on a frame basis.

【0023】図3を参照すると、伝送される画像フレー
ムと圧縮処理の状態および差分累積値Eとの関係が例示
されている。上述のようにして圧縮率を修正しながら画
像データを圧縮すると、圧縮画像データ22についての累
積差分値Eは、同図の下段に示すように変動する。同図
において、状態40は、上述した差分累積値Eが閾値Fを
超えた状態であり、状態42は差分累積値Eが閾値-Gを下
回った状態である。状態40では、圧縮部13は、次に到来
するフレームの画像データについて圧縮率を上げる方向
に制御される。これに対して状態42では、圧縮部13は、
次に入力されるフレームの画像データに対する圧縮率を
下げる方向に制御される。
Referring to FIG. 3, there is illustrated an example of the relationship between the transmitted image frame, the state of the compression process, and the difference accumulated value E. When the image data is compressed while correcting the compression ratio as described above, the cumulative difference value E for the compressed image data 22 changes as shown in the lower part of FIG. In the figure, a state 40 is a state in which the above-described difference accumulated value E exceeds the threshold value F, and a state 42 is a state in which the difference accumulated value E is less than the threshold value -G. In state 40, the compression unit 13 is controlled to increase the compression ratio of the image data of the next incoming frame. On the other hand, in the state 42, the compression unit 13
Control is performed in such a manner that the compression ratio for the image data of the next input frame is reduced.

【0024】ところで、上述の基準値C、ならびに閾値
Fおよび-Gは、次のようにして選択され、本装置に設定
される。本装置を設計する際、圧縮データメモリ部15の
蓄積容量は少なくとも、1トリガについて送信すべき画
像の必要枚数nに基準値Cを乗じて、安全係数αをこれ
に加算した値に設定される。基準値Cは、監視カメラと
して一般的に必要な解像度の画像を再生可能な圧縮率で
圧縮した画像データのデータ量を考慮して決められる。
安全係数すなわちマージンαは本実施例では、圧縮画像
データの想定し得る最大データ量と上限閾値Fとの和に
等しく設定される。
The above-mentioned reference value C and threshold values F and -G are selected and set in the present apparatus as follows. When designing the present apparatus, the storage capacity of the compressed data memory unit 15 is set to at least a value obtained by multiplying the required number n of images to be transmitted for one trigger by the reference value C and adding the safety coefficient α to this. . The reference value C is determined in consideration of the data amount of image data compressed at a compression ratio capable of reproducing an image having a resolution generally required for a surveillance camera.
In this embodiment, the safety coefficient, that is, the margin α, is set equal to the sum of the assumed maximum data amount of the compressed image data and the upper limit threshold F.

【0025】このようにしてカメラ部11は、監視すべき
被写界を常時、撮像し、この被写界を表わす映像信号デ
ータをその出力21より圧縮部13へ供給している。圧縮部
13は、入力された画像データをフレーム単位で冗長度圧
縮し、一旦、圧縮データメモリ部15に格納する。CPU 部
14は、圧縮データメモリ部15の状態を上述のように監視
し、その圧縮率を適応的に制御している。
As described above, the camera section 11 constantly captures an image of the object field to be monitored, and supplies video signal data representing the object field to the compression section 13 from the output 21 thereof. Compression section
The unit 13 compresses the input image data into redundancy in frame units and temporarily stores the compressed image data in the compressed data memory unit 15. CPU part
14 monitors the state of the compressed data memory unit 15 as described above, and adaptively controls the compression ratio.

【0026】こうして、動作開始以後、nフレームの画
像データが圧縮データメモリ部15に蓄積された後の定常
状態では、本装置は、センサ部12またはネットワークイ
ンタフェース部17から監視画像送出指示トリガが発生す
ると、トリガ時点以前のmフレーム分およびトリガ時点
以後のn-m フレーム分のnフレームの画像をいつでも送
出することできる。
Thus, in the steady state after the start of the operation and after the n-frame image data has been stored in the compressed data memory unit 15, the monitoring image transmission instruction trigger is generated from the sensor unit 12 or the network interface unit 17. Then, images of m frames before the trigger point and n frames of nm frames after the trigger point can be transmitted at any time.

【0027】より詳細には、上述のように圧縮データメ
モリ部15には常時、n枚分の画像データがサイクリック
に更新的に書き込まれ、保持されている。センサ部12が
監視場所における動きや音声、温度の変化を検出する
と、その検出出力25がCPU 部14へ入力される。また、ネ
ットワークインタフェース部17がネットワーク18を通し
て画像データの送信指示を受信すると、送信指示信号30
がCPU 部14へ入力される。このセンサ部検出信号25もし
くはネットワークからの撮像映像の送信指示30に応動し
てCPU 部14は、圧縮データメモリ部15に読出し制御信号
28を与える。これにより圧縮データメモリ部15からは、
トリガ点を含むn枚分の圧縮画像データ23が送出順に順
次読み出され、蓄積部16に蓄積される。CPU 部14はま
た、蓄積部16にも制御信号29を与え、蓄積部16は、これ
に応動して、圧縮画像データ24をネットワーク18におけ
る伝送に必要な速度により時間軸補正して読み出し、ネ
ットワークインタフェース部17に供給する。ネットワー
クインタフェース部17では、入力24の送信画像データを
ネットワーク18の通信回線規格に準じた信号形式に変換
し、ネットワーク18へ送出する。
More specifically, as described above, n pieces of image data are constantly updated and written cyclically in the compressed data memory unit 15 as described above. When the sensor unit 12 detects a movement, a sound, or a change in temperature at a monitoring location, a detection output 25 is input to the CPU unit 14. When the network interface unit 17 receives an image data transmission instruction via the network 18, the transmission instruction signal 30
Is input to the CPU unit 14. In response to the sensor unit detection signal 25 or the instruction 30 for transmitting the captured image from the network, the CPU unit 14 reads the control signal to the compressed data memory unit 15.
Give 28. Thereby, from the compressed data memory unit 15,
The n pieces of compressed image data 23 including the trigger point are sequentially read out in the transmission order and stored in the storage unit 16. The CPU unit 14 also provides a control signal 29 to the storage unit 16, and the storage unit 16 reads the compressed image data 24 after correcting the time axis according to the speed required for transmission on the network 18 in response to the control signal 29. It is supplied to the interface unit 17. The network interface unit 17 converts the transmission image data of the input 24 into a signal format conforming to the communication line standard of the network 18 and sends the signal to the network 18.

【0028】このように本実施例によれば、監視カメラ
の圧縮データメモリ部15に格納されたフレーム毎の圧縮
画像データのデータ量Hと基準値Cの差分を累積し、そ
の累積値Eに応じて次のフレームの画像データの圧縮率
を変更し、以降は、変更された圧縮率で圧縮した画像デ
ータを圧縮データメモリ部15に格納するように構成され
ている。このため、圧縮データメモリ部15に必要な記憶
容量を値Cxn+αに抑えることが可能である。したがっ
て、従来方式のように画像データの最大想定データ量の
送信画像枚数分の記憶容量の画像データメモリを用意す
る必要がなく、メモリ量を削減でき、したがって消費電
力やコストも低減できる。
As described above, according to this embodiment, the difference between the data amount H of the compressed image data for each frame stored in the compressed data memory unit 15 of the monitoring camera and the reference value C is accumulated, and the accumulated value E is The compression ratio of the image data of the next frame is changed accordingly, and thereafter, the image data compressed at the changed compression ratio is stored in the compressed data memory unit 15. Therefore, the storage capacity required for the compressed data memory unit 15 can be suppressed to the value Cxn + α. Therefore, unlike the conventional method, it is not necessary to prepare an image data memory having a storage capacity for the number of transmission images of the maximum expected data amount of image data, and the amount of memory can be reduced, thereby reducing power consumption and cost.

【0029】なお、本実施例では、圧縮データメモリ部
15の容量がnフレーム分であったが、メモリ部15の動作
速度が十分に速ければ、トリガ時点以降の画像データを
格納するのに必要な蓄積領域は、省略もしくは大幅に削
減できることは明らかである。
In this embodiment, the compressed data memory unit
Although the capacity of the memory unit 15 is n frames, if the operation speed of the memory unit 15 is sufficiently high, it is obvious that the storage area necessary for storing the image data after the trigger point can be omitted or greatly reduced. is there.

【0030】次に図4を参照して本発明の他の実施例を
説明する。前述の実施例では、フレームデータのデータ
量Hと基準値Cとの差分の累積値Eが上下限の閾値Fと
-Gとの間の範囲を外れたことに応じて圧縮部13の圧縮率
を変更したときは、カメラ部11から入力される次のフレ
ーム以降の画像データについて変更した圧縮率で圧縮を
行なうように構成されていた。しかし図4に示す実施例
は、このように圧縮部13の圧縮率を変更したとき、その
差分累積値Eが上下限の閾値Fと-Gとの間の範囲を外れ
る原因となった当該フレーム以降の画像データについて
新たな圧縮率を適用するように構成されている点が図1
に示す実施例と相違する。この目的のため本実施例で
は、差分累積値Eが閾値Fと-Gとの間の範囲を外れたと
判定された場合、新たな圧縮率で当該フレームの入力画
像データ21を再度圧縮処理を行う間、次の入力画像デー
タを保持するため、図4に示すように、圧縮部13の入力
21側に入力バッファメモリ部52が配設されている。以降
の説明において、図1に示す要素と同様の要素は、同じ
参照符号で示され、同じ説明の重複は避ける。
Next, another embodiment of the present invention will be described with reference to FIG. In the above-described embodiment, the accumulated value E of the difference between the data amount H of the frame data and the reference value C is equal to the upper and lower thresholds F.
When the compression ratio of the compression unit 13 is changed in accordance with the departure from the range between -G, the image data of the next frame and subsequent images input from the camera unit 11 is compressed at the changed compression ratio. Was configured to. However, in the embodiment shown in FIG. 4, when the compression ratio of the compression unit 13 is changed in this manner, the difference accumulated value E is out of the range between the upper and lower thresholds F and -G. FIG. 1 shows that a new compression ratio is applied to the subsequent image data.
Are different from the embodiment shown in FIG. For this purpose, in the present embodiment, if it is determined that the accumulated difference value E is out of the range between the threshold value F and -G, the input image data 21 of the frame is compressed again with a new compression ratio. In order to hold the next input image data during the period, as shown in FIG.
An input buffer memory unit 52 is provided on the 21 side. In the following description, the same elements as those shown in FIG. 1 are denoted by the same reference numerals, and the same description will be omitted.

【0031】バッファメモリ部52は、カメラ部11からの
画像データを1フレーム以上記憶する蓄積容量を有する
一時メモリである。バッファメモリ部52には、カメラ部
11の出力60から入力された画像データが複数フレーム
分、順次、書き込まれるが、バッファメモリ部52は、こ
うして格納されたデータで蓄積領域が一杯になると、新
しいデータを最も古いフレームデータに上書きしてゆく
リングバッファである。
The buffer memory unit 52 is a temporary memory having a storage capacity for storing one or more frames of image data from the camera unit 11. The buffer memory 52 has a camera
The image data input from the output 60 of 11 is sequentially written for a plurality of frames, but when the storage area is full with the data thus stored, the buffer memory unit 52 overwrites the new data with the oldest frame data. This is a ring buffer.

【0032】バッファメモリ部52からの読出しは、CPU
部14からの読出し制御信号70により制御される。CPU 部
14は、基本的には図1を参照して説明した動作と同じに
動作するが、圧縮部13の圧縮率を変更する際、圧縮デー
タメモリ部15から供給される現在のフレームの入力圧縮
画像データのデータ量Hを示す信号27を受けて、圧縮部
13へ圧縮率制御信号26を送出するとともに、バッファメ
モリ部52に読み出し制御信号70を送出しバッファメモリ
部52から読み出すべきデータを指定する機能を有する。
その他の部分の構成は図1に示す実施例と同様でよい。
Reading from the buffer memory unit 52 is performed by the CPU.
It is controlled by a read control signal 70 from the unit 14. CPU part
14 operates basically the same as the operation described with reference to FIG. 1 except that when the compression ratio of the compression unit 13 is changed, the input compressed image of the current frame supplied from the compressed data memory unit 15 Upon receiving the signal 27 indicating the data amount H of the data, the compression unit
It has a function of transmitting the compression ratio control signal 26 to the buffer 13 and transmitting a read control signal 70 to the buffer memory 52 to specify data to be read from the buffer memory 52.
The configuration of other parts may be the same as that of the embodiment shown in FIG.

【0033】図5を参照してこの実施例の動作を説明す
る。このフロー図でも、図2に示すステップと同様のス
テップは、同じ参照符号で示され、その冗長説明は省略
する。また、図6には、本実施例における差分累積値の
推移の例が示されている。以下、これらを参照して本実
施例の動作を詳細に説明する。
The operation of this embodiment will be described with reference to FIG. Also in this flowchart, the same steps as those shown in FIG. 2 are denoted by the same reference numerals, and redundant description thereof will be omitted. FIG. 6 shows an example of the transition of the accumulated difference value in the present embodiment. Hereinafter, the operation of the present embodiment will be described in detail with reference to these.

【0034】動作を開始してCPU 部14が初期設定S11 さ
れると、カメラ部11からフレームレートB/秒で撮像画像
のフレームデータ60がバッファメモリ部52へ順次入力格
納される(S112)。次にフレームメモリ52からは、1フレ
ーム分の画像データ21が読み出され、圧縮部13へ入力さ
れる(S113)。以降、圧縮部13で圧縮が行なわれ圧縮デー
タメモリ部15に蓄積される動作は、前述のステップS13
からS17 までと同じである。
When the operation is started and the CPU unit 14 is initialized S11, the frame data 60 of the captured image is sequentially input from the camera unit 11 to the buffer memory unit 52 at a frame rate B / sec (S112). Next, one frame worth of image data 21 is read from the frame memory 52 and input to the compression unit 13 (S113). Thereafter, the operation performed by the compression unit 13 and stored in the compressed data memory unit 15 is the same as the operation performed in step S13 described above.
The same as from to S17.

【0035】ステップS18 において、差分累積値Eが所
定の閾値F以上であれば、CPU 部14は、圧縮部13の圧縮
率を上げ、圧縮部13に圧縮率の上昇を指示する(S19) 。
本実施例では、新たな圧縮率は、現在、圧縮部13で圧縮
の対象とした当該フレームの画像データ21の圧縮データ
量Hが基準値C以下となるような値が選択される。CPU
部14はそこで、新たな値に圧縮率を上げるように制御信
号26を圧縮部13へ送出するとともに(S19) 、バッファメ
モリ部52に読出し制御信号70を送って再度、同一画像デ
ータ21をバッファメモリ部52から読み出し、圧縮部13
は、この再読出しされた同じフレームの画像データ21を
新たな圧縮率で圧縮する(S121)。圧縮部13は、圧縮画像
データ22を圧縮データメモリ15に上書き格納する(S12
2)。以降、制御はステップS113へ戻って、バッファメモ
リ部52から次のフレームの画像データを圧縮部13へ取り
込み、以下、ステップS113からのフローを繰り返す。
In step S18, if the accumulated difference value E is equal to or greater than the predetermined threshold value F, the CPU unit 14 increases the compression ratio of the compression unit 13 and instructs the compression unit 13 to increase the compression ratio (S19).
In the present embodiment, as the new compression ratio, a value is selected such that the compressed data amount H of the image data 21 of the frame, which is currently the object of compression by the compression unit 13, is equal to or smaller than the reference value C. CPU
The unit 14 sends the control signal 26 to the compression unit 13 so as to increase the compression ratio to a new value (S19), and sends the read control signal 70 to the buffer memory unit 52 to buffer the same image data 21 again. Read from the memory unit 52, and
Compresses the re-read image data 21 of the same frame at a new compression ratio (S121). The compression unit 13 overwrites and stores the compressed image data 22 in the compressed data memory 15 (S12
2). Thereafter, the control returns to step S113, in which the image data of the next frame is fetched from the buffer memory unit 52 into the compression unit 13, and thereafter, the flow from step S113 is repeated.

【0036】ステップS18 において、差分累積値Eが閾
値Fより小さかった場合、CPU 部14は、ステップS20 に
移行する。ステップS20 において、差分累積値Eが閾値
-G以下でないときは、制御はステップS113へ戻り、入力
される次のフレームについてステップS113からのフロー
を繰り返す。
If it is determined in step S18 that the accumulated difference value E is smaller than the threshold value F, the CPU 14 proceeds to step S20. In step S20, the difference accumulated value E
If not -G, the control returns to step S113, and the flow from step S113 is repeated for the next frame to be input.

【0037】ステップS20 において、差分累積値Eが閾
値-G以下であった場合は、CPU 部14は、ステップS21 を
実行し、圧縮部13の圧縮率を下げるように画像圧縮処理
制御信号26を圧縮部13に送出する。圧縮部13は、これに
応動して、その量子化ステップの量子化幅を狭くする。
CPU 部14はそこで、新たな値に圧縮率を下げるように制
御信号26を圧縮部13へ送出するとともに(S21) 、前述の
ステップS121から S122 と同様に、バッファメモリ部52
から再度、同一画像データ21を読み出す。圧縮部13は、
この再度読み出された同じフレームの画像データ21を新
たな圧縮率で圧縮する(S125)。圧縮部13は、圧縮画像デ
ータ22を圧縮データメモリ15に上書きする(S126)。以
降、制御はステップS113へ戻って、バッファメモリ部52
から次のフレームの画像データを圧縮部13へ取り込み、
以下、ステップS113からのフローを繰り返す。
In step S20, when the accumulated difference value E is equal to or smaller than the threshold value -G, the CPU unit 14 executes step S21 and outputs the image compression processing control signal 26 so as to reduce the compression ratio of the compression unit 13. The data is sent to the compression unit 13. In response, the compression unit 13 narrows the quantization width of the quantization step.
Then, the CPU unit 14 sends the control signal 26 to the compression unit 13 so as to lower the compression ratio to a new value (S21), and, similarly to the above-described steps S121 to S122, the buffer memory unit 52.
And the same image data 21 is read out again. The compression unit 13
The image data 21 of the same frame read out again is compressed at a new compression ratio (S125). The compression unit 13 overwrites the compressed image data 22 on the compressed data memory 15 (S126). Thereafter, the control returns to step S113, where the buffer memory unit 52
Fetches the image data of the next frame into the compression unit 13 from
Hereinafter, the flow from step S113 is repeated.

【0038】このようにして圧縮率を修正しながら画像
データを圧縮すると、圧縮画像データ22についての累積
差分値Eは、図6に例示するように上下限の閾値Fと-G
との間の範囲内で変動する。
When the image data is compressed while the compression ratio is corrected in this way, the accumulated difference value E for the compressed image data 22 becomes the upper and lower thresholds F and -G as illustrated in FIG.
Fluctuates within the range between

【0039】この実施例では、差分累積値Eが2つの閾
値Fと-Gとの間の範囲を外れたときは、圧縮データ量H
が基準値C以下となるような新たな圧縮率に変更して、
その圧縮の対象となった当該フレームの画像データを再
度、圧縮する。このような処理を行っているため、圧縮
データメモリ部15の記憶容量は、値Cxn+α1 に抑えるこ
とが可能である。本実施例では、このマージンα1 は、
閾値Fの値の2倍に設定するのが有利である。このよう
に本実施例では、図1に示す実施例よりさらにメモリ容
量を削減でき、低コスト化の効果がある。
In this embodiment, when the difference accumulated value E is out of the range between the two thresholds F and -G, the compressed data amount H
Is changed to a new compression ratio such that is smaller than the reference value C,
The image data of the frame that has been subjected to the compression is compressed again. Because doing such a process, the storage capacity of the compressed data memory unit 15 can be suppressed to a value Cxn + alpha 1. In this embodiment, this margin α 1 is
Advantageously, it is set to twice the value of the threshold value F. Thus, in the present embodiment, the memory capacity can be further reduced as compared with the embodiment shown in FIG.

【0040】なお、ここで説明した本実施例では、差分
累積値Eが閾値-G以下となったときに圧縮率を変更する
ように構成されている。しかし、この場合に圧縮率を変
更せず、直ちにステップS113へ戻るように構成してもよ
い。その場合には、送信速度が向上する。
In the present embodiment described here, the compression ratio is changed when the accumulated difference value E becomes equal to or smaller than the threshold value -G. However, in this case, the process may return to step S113 immediately without changing the compression ratio. In that case, the transmission speed is improved.

【0041】ところで、図4に示す実施例において、CP
U 部14は、図7に示すような圧縮率制御動作を実行する
ように構成してもよい。この圧縮率制御は、図5を参照
して説明した圧縮率制御とは、差分累積値Eを使用せ
ず、差分値Dを直接圧縮率変更の判定に用いる点で相違
する。以下、図7を参照してその圧縮率制御動作を説明
する。
By the way, in the embodiment shown in FIG.
The U unit 14 may be configured to execute a compression ratio control operation as shown in FIG. This compression ratio control is different from the compression ratio control described with reference to FIG. 5 in that the difference value D is directly used to determine the change of the compression ratio without using the difference accumulated value E. Hereinafter, the compression ratio control operation will be described with reference to FIG.

【0042】図7のフローチャートからわかるように、
この圧縮率制御動作が図5に示すフローと相違する点
は、図5におけるステップS118がなく、それ以降の制御
が差分累積値Eに代わって差分値Dを使用している点で
ある。したがって、図7のステップS117までは図5のフ
ローと同じである。
As can be seen from the flowchart of FIG.
This compression ratio control operation is different from the flow shown in FIG. 5 in that step S118 in FIG. 5 is not provided, and the subsequent control uses the difference value D instead of the difference accumulation value E. Therefore, up to step S117 in FIG. 7 is the same as the flow in FIG.

【0043】ステップS117で圧縮画像データ量Hの基準
値Cに対する差分値D (=H-C) を算出すると、制御はス
テップS219に移行し、CPU 部54は、この差分値Dが所定
の基準値、本実施例では「0」以上か否かを判定する。
差分値Dが0未満のときは、ステップS113へ戻り、次の
フレームの画像データ21をバッファメモリ部52から読み
出して、ステップS114以下の制御を繰り返す。この基準
値は、0以外の値でもよい。
When the difference value D (= HC) of the compressed image data amount H with respect to the reference value C is calculated in step S117, the control proceeds to step S219, and the CPU unit 54 determines that the difference value D is a predetermined reference value. In this embodiment, it is determined whether the value is “0” or more.
If the difference value D is less than 0, the process returns to step S113, reads the image data 21 of the next frame from the buffer memory unit 52, and repeats the control from step S114. This reference value may be a value other than 0.

【0044】一方、ステップS219において差分値Dが0
以上のときは、制御はステップS120へ移行し、CPU 部14
は、圧縮部13に対し圧縮後のデータ量Hが基準値C以下
となるように圧縮率を増すための圧縮率制御信号26を送
出する(S124)。図8は、図7による制御方式の場合の圧
縮画像データHと基準値Cとの差分値Dの推移の例を示
すが、上述した状態は、同図における状態80に相当す
る。そこで、ステップS125に移行し、前述と同様に、再
度、同一フレームの画像データをバッファメモリ52から
読み出し、これを圧縮する。新たな圧縮画像データ22
は、圧縮データメモリ15に上書き格納され(S126)、ステ
ップS113へ戻る。以降、次のフレームの画像データ21を
バッファメモリ部52から読み出して、ステップS114以下
の制御を繰り返す。
On the other hand, in step S219, the difference value D becomes 0
In the above case, the control moves to step S120, and the CPU unit 14
Sends a compression ratio control signal 26 to the compression unit 13 to increase the compression ratio so that the data amount H after compression is equal to or less than the reference value C (S124). FIG. 8 shows an example of transition of the difference value D between the compressed image data H and the reference value C in the case of the control method shown in FIG. 7, but the above-described state corresponds to the state 80 in FIG. Therefore, the process proceeds to step S125, and the image data of the same frame is read from the buffer memory 52 again and compressed as described above. New compressed image data 22
Is overwritten and stored in the compressed data memory 15 (S126), and the process returns to step S113. Thereafter, the image data 21 of the next frame is read out from the buffer memory unit 52, and the control from step S114 is repeated.

【0045】このような圧縮率制御動作によれば、圧縮
画像データの差分値Dが0以上になることはないため、
圧縮データメモリ部15の記憶容量を値Cxn 以下に抑える
ことができる。したがって、さらにメモリ容量を低減す
ることができ、装置の低消費電力化、低コスト化が可能
となる。
According to such a compression ratio control operation, since the difference value D of the compressed image data does not become 0 or more,
The storage capacity of the compressed data memory unit 15 can be suppressed to the value Cxn or less. Therefore, the memory capacity can be further reduced, and the power consumption and cost of the device can be reduced.

【0046】[0046]

【発明の効果】このように本発明によれば、監視カメラ
の圧縮データメモリに格納したフレーム毎の圧縮画像デ
ータのデータ量の基準値に対する差分値を算出し、その
値に基づいて画像データの圧縮率を変更し、新たな圧縮
率で圧縮した画像データを圧縮データメモリに格納する
ように構成したため、圧縮データメモリに必要な記憶容
量が低減され、従来方式のように画像データの最大想定
データ量の送信画像枚数分の画像データメモリを用意す
る必要がない。したがって、構成が簡略になり、消費電
力、コストも低減される。
As described above, according to the present invention, the difference value of the data amount of the compressed image data for each frame stored in the compressed data memory of the surveillance camera with respect to the reference value is calculated, and based on the value, the difference value of the image data is calculated. By changing the compression ratio and storing the image data compressed at the new compression ratio in the compressed data memory, the storage capacity required for the compressed data memory is reduced, and the maximum expected data There is no need to prepare image data memories for the number of transmitted images. Therefore, the configuration is simplified, and power consumption and cost are reduced.

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

【図1】本発明による監視カメラの画像データ圧縮装置
の実施例の構成を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing the configuration of an embodiment of an image data compression device for a surveillance camera according to the present invention.

【図2】図1に示す実施例の動作例を説明するフローチ
ャートである。
FIG. 2 is a flowchart illustrating an operation example of the embodiment illustrated in FIG. 1;

【図3】同実施例における差分累積値と圧縮率制御を説
明する説明図である。
FIG. 3 is an explanatory diagram for explaining difference accumulation values and compression ratio control in the embodiment.

【図4】本発明の他の実施例の構成を示す、図1と同様
の機能ブロック図である。
FIG. 4 is a functional block diagram similar to FIG. 1, showing the configuration of another embodiment of the present invention.

【図5】図4に示す実施例の動作例を説明する図2と同
様のフローチャートである。
FIG. 5 is a flowchart similar to FIG. 2 for explaining an operation example of the embodiment shown in FIG. 4;

【図6】図4に示す実施例における差分累積値の推移の
状態を説明する説明図である。
FIG. 6 is an explanatory diagram illustrating a state of a transition of a cumulative difference value in the embodiment illustrated in FIG. 4;

【図7】図4に示す実施例における変形の動作例を説明
する、図5と同様のフローチャートである。
FIG. 7 is a flowchart similar to FIG. 5, for explaining an operation example of a modification in the embodiment shown in FIG. 4;

【図8】図7に示す動作制御フローによる差分値の推移
の状態を説明する、図6と同様の説明図である。
8 is an explanatory diagram similar to FIG. 6, illustrating a state of transition of a difference value according to the operation control flow shown in FIG. 7;

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

11 カメラ部 12 センサ部 13 圧縮部 14 CPU 部 15 圧縮データメモリ部 16 蓄積部 17 ネットワークインタフェース部 18 ネットワーク 52 バッファメモリ部 11 Camera section 12 Sensor section 13 Compression section 14 CPU section 15 Compressed data memory section 16 Storage section 17 Network interface section 18 Network 52 Buffer memory section

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C053 FA27 GB36 KA04 KA24 LA01 LA14 5C054 AA02 CC02 CH02 CH03 EA01 EA03 EA07 FF03 GA00 GB01 GB11 HA18 5C059 KK08 KK35 MA00 MA23 MC11 PP01 SS00 TA57 TB04 TC18 TC20 TD11 UA02 UA32 5J064 AA04 BA13 BB01 BC01 BC02 BC14 BC22 BD02  ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference) BB01 BC01 BC02 BC14 BC22 BD02

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 所定の枚数の画像の画像データを圧縮し
て蓄積する監視カメラの画像データ圧縮装置において、
該装置は、 順次到来する画像データを可変の圧縮率で1画像ごとに
圧縮する圧縮手段と、 該圧縮された画像データを古い画像データから順に上書
きしてサイクリックに蓄積する蓄積手段と、 前記蓄積された圧縮画像データを前記蓄積手段から読み
出して出力する出力手段と、 前記圧縮手段、蓄積手段および出力手段を制御する制御
手段とを含み、 該制御手段は、前記圧縮された画像データのデータ量の
所定の第1の基準値に対する差分を算出し、該差分に応
じた圧縮率を前記圧縮手段に設定し、 前記圧縮手段は、該設定された圧縮率で前記画像データ
を圧縮し、 前記圧縮率は、前記蓄積手段に蓄積される圧縮された画
像データが前記所定の枚数を超えないような値に設定さ
れ、 前記制御手段は、読出しトリガ時点を含む前記所定の枚
数分の圧縮画像データを前記蓄積手段から順次読み出し
て前記出力手段より出力することを特徴とする監視カメ
ラの画像データ圧縮装置。
An image data compression device for a surveillance camera for compressing and storing image data of a predetermined number of images,
A compression means for compressing sequentially arriving image data for each image at a variable compression ratio; a storage means for sequentially overwriting the compressed image data in order from oldest image data and cyclically storing the compressed image data; Output means for reading and outputting the stored compressed image data from the storage means; and control means for controlling the compression means, storage means and output means, wherein the control means comprises: Calculating a difference with respect to a predetermined first reference value of the amount, setting a compression rate according to the difference in the compression unit, the compression unit compresses the image data at the set compression ratio, The compression ratio is set to a value such that the amount of compressed image data stored in the storage unit does not exceed the predetermined number, and the control unit sets the predetermined number of images including a read trigger time. Image data compression apparatus of the compressed image data of the surveillance cameras and outputs from the sequentially reads the output means from said storage means.
【請求項2】 請求項1に記載の装置において、前記制
御手段は、前記差分値を累積して累積値が所定の範囲を
外れると、該累積値が該所定の範囲内に含まれるように
なる前記圧縮率の値を前記圧縮手段に設定することを特
徴とする画像データ圧縮装置。
2. The apparatus according to claim 1, wherein the control means accumulates the difference value such that when the accumulated value is out of a predetermined range, the accumulated value is included in the predetermined range. An image data compression apparatus, wherein a value of the compression ratio is set in the compression means.
【請求項3】 請求項2に記載の装置において、前記制
御手段は、前記圧縮率を変更したときは、以降に前記圧
縮手段に入力される画像データを前記変更した圧縮率で
圧縮させることを特徴とする画像データ圧縮装置。
3. The apparatus according to claim 2, wherein, when the compression rate is changed, the control means compresses image data subsequently input to the compression means at the changed compression rate. Characteristic image data compression device.
【請求項4】 請求項2に記載の装置において、前記制
御手段は、前記圧縮率を変更したときは、前記圧縮手段
に再度、前記累積値が所定の範囲を外れることとなった
時の画像データを前記変更した圧縮率で圧縮させること
を特徴とする画像データ圧縮装置。
4. The apparatus according to claim 2, wherein, when the compression ratio is changed, the control unit re-displays the image when the accumulated value falls outside a predetermined range. An image data compression device for compressing data at the changed compression ratio.
【請求項5】 請求項1に記載の装置において、前記制
御手段は、前記差分値が所定の第2の基準値を超える
と、該差分値が第2の基準値を超えないようになる前記
圧縮率の値を前記圧縮手段に設定し、前記圧縮率を変更
したときは、前記圧縮手段に再度、前記差分値が第2の
基準値を超えることとなった時の画像データを前記変更
した圧縮率で圧縮させることを特徴とする画像データ圧
縮装置。
5. The apparatus according to claim 1, wherein the control unit is configured to prevent the difference value from exceeding a second reference value when the difference value exceeds a predetermined second reference value. When the value of the compression ratio is set in the compression unit and the compression ratio is changed, the compression unit again changes the image data when the difference value exceeds the second reference value. An image data compression device for performing compression at a compression ratio.
【請求項6】 被写界を撮影して所定の枚数の画像の画
像データを形成し、該画像データを圧縮して蓄積し、入
力されるトリガに応動して該蓄積した画像データを出力
する監視カメラ装置において、該装置は、 前記被写界を撮影して所定の枚数の画像の画像データを
順次形成する撮像手段と、 該画像データを可変の圧縮率で1画像ごとに圧縮する圧
縮手段と、 該圧縮された画像データを古い画像データから順に上書
きしてサイクリックに蓄積する蓄積手段と、 前記蓄積された圧縮画像データを前記蓄積手段から読み
出して出力する出力手段と、 前記蓄積された画像データの出力を指示するトリガを出
力する入力手段と、 該トリガ手段に応動して前記圧縮手段、蓄積手段および
出力手段を制御する制御手段とを含み、 該制御手段は、前記圧縮された画像データのデータ量の
所定の第1の基準値に対する差分を算出し、該差分に応
じた圧縮率を前記圧縮手段に設定し、 前記圧縮手段は、該設定された圧縮率で前記画像データ
を圧縮し、 前記圧縮率は、前記蓄積手段に蓄積される圧縮された画
像データが前記所定の枚数を超えないような値に設定さ
れ、 前記制御手段は、前記入力手段から前記トリガが入力さ
れると、該トリガの入力時点を含む前記所定の枚数分の
圧縮画像データを前記蓄積手段から順次読み出して前記
出力手段より出力することを特徴とする監視カメラ装
置。
6. An object scene is photographed to form image data of a predetermined number of images, the image data is compressed and stored, and the stored image data is output in response to an input trigger. In a surveillance camera device, the device includes: an imaging unit that captures the object scene and sequentially forms image data of a predetermined number of images; and a compression unit that compresses the image data for each image at a variable compression ratio. Storage means for sequentially overwriting the compressed image data in order from oldest image data and cyclically storing the compressed image data; output means for reading and outputting the stored compressed image data from the storage means; Input means for outputting a trigger for instructing output of image data, and control means for controlling the compression means, storage means and output means in response to the trigger means, wherein the control means Calculating a difference between the data amount of the obtained image data and a predetermined first reference value, and setting a compression rate according to the difference to the compression unit; and the compression unit sets the image at the set compression ratio. Compressing data, the compression ratio is set to a value such that the number of compressed image data stored in the storage unit does not exceed the predetermined number, and the control unit receives the trigger from the input unit. Then, the predetermined number of compressed image data including the input point of the trigger is sequentially read from the storage unit and output from the output unit.
JP2000142234A 2000-05-09 2000-05-09 Image data compression device for monitoring camera Withdrawn JP2001320705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000142234A JP2001320705A (en) 2000-05-09 2000-05-09 Image data compression device for monitoring camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000142234A JP2001320705A (en) 2000-05-09 2000-05-09 Image data compression device for monitoring camera

Publications (1)

Publication Number Publication Date
JP2001320705A true JP2001320705A (en) 2001-11-16

Family

ID=18649246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000142234A Withdrawn JP2001320705A (en) 2000-05-09 2000-05-09 Image data compression device for monitoring camera

Country Status (1)

Country Link
JP (1) JP2001320705A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008182680A (en) * 2006-12-27 2008-08-07 Fujifilm Corp Monitoring system, monitoring method, and program
JP2008307163A (en) * 2007-06-13 2008-12-25 Joyco Systems Corp Adjustment machine of value recording medium
US7609301B2 (en) * 2002-09-10 2009-10-27 Sanyo Electric Co., Ltd. Motion image recording device with compression ratio control
CN102204252A (en) * 2008-08-28 2011-09-28 法国国家太空研究中心 Compression of earth observation satellite images
JP2012054884A (en) * 2010-09-03 2012-03-15 Yamaha Corp Moving image compression control device, moving image recording device and moving image recording/reproducing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7609301B2 (en) * 2002-09-10 2009-10-27 Sanyo Electric Co., Ltd. Motion image recording device with compression ratio control
JP2008182680A (en) * 2006-12-27 2008-08-07 Fujifilm Corp Monitoring system, monitoring method, and program
JP2008307163A (en) * 2007-06-13 2008-12-25 Joyco Systems Corp Adjustment machine of value recording medium
CN102204252A (en) * 2008-08-28 2011-09-28 法国国家太空研究中心 Compression of earth observation satellite images
JP2012054884A (en) * 2010-09-03 2012-03-15 Yamaha Corp Moving image compression control device, moving image recording device and moving image recording/reproducing device

Similar Documents

Publication Publication Date Title
JP4687404B2 (en) Image signal processing apparatus, imaging apparatus, and image signal processing method
JP3093233B2 (en) Image encoding apparatus and method
US6697568B1 (en) Motion image recording apparatus and digital camera
JP4612866B2 (en) Imaging method and imaging system
US7760244B2 (en) Image generating apparatus and image generating method
US7349023B2 (en) Camera-integrated video recording and reproducing apparatus, and record control method thereof
US8373770B2 (en) Imaging device, imaging method, and program including automatically controlling an interval of continuous photographing
US20030081130A1 (en) Apparatus and method for controlling a camera using a video compression algorithm
JPH09502595A (en) Apparatus and method for motion estimation with improved camera interface
JP4265919B2 (en) Tracking cooperative monitoring system and imaging apparatus
US7406548B2 (en) Systems and methods for responding to a data transfer
US5818524A (en) Digital still camera having an image data compression function
JP2001320705A (en) Image data compression device for monitoring camera
JP4337541B2 (en) Camera device, monitoring system, and camera device control method
JP2002218387A (en) Electronic camera
JP2005286770A (en) Imaging device and its control method
JP2007116633A (en) Image recording apparatus
JP5211947B2 (en) Imaging apparatus and program
JP4872571B2 (en) Imaging apparatus, imaging method, and program
JP2000278641A (en) Device and method for processing moving picture
JP2992904B2 (en) Digital image signal recording device
JP2002112086A (en) Camera system, image encoding device and image decoding device
JP2007124316A (en) Imaging apparatus, imaging method and program
JP4373254B2 (en) Image compression apparatus for controlling amount of compressed data and camera using the same
JP2865052B2 (en) Image compression transmission equipment

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070807