JP2005184477A - Device and method for encoding picture - Google Patents
Device and method for encoding picture Download PDFInfo
- Publication number
- JP2005184477A JP2005184477A JP2003422516A JP2003422516A JP2005184477A JP 2005184477 A JP2005184477 A JP 2005184477A JP 2003422516 A JP2003422516 A JP 2003422516A JP 2003422516 A JP2003422516 A JP 2003422516A JP 2005184477 A JP2005184477 A JP 2005184477A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- encoding
- time length
- unit time
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
本発明は、監視カメラシステム等の撮影システムにおいて画像データのエンコードを行う画像エンコード装置、及び、画像エンコード方法に関する。 The present invention relates to an image encoding apparatus and an image encoding method for encoding image data in a photographing system such as a surveillance camera system.
従来、監視カメラによって撮影された画像を記憶し、犯罪が発生した場合に、その記録された画像を捜査等に役立てることを可能とした監視カメラシステムが提案されている。 2. Description of the Related Art Conventionally, there has been proposed a surveillance camera system that stores an image taken by a surveillance camera and can use the recorded image for investigation or the like when a crime occurs.
従来の監視カメラシステムの第1のブロック図を図6に示す。図6に示す監視カメラシステム500では、エンコーダ504は、1フィールド時間(1フィールドの画像に対応する単位時間)当たり1フィールド分の画像データの圧縮を行うことができる。このエンコーダ504は、16個のカメラ502a乃至502pの各チャンネルに対応する画像データの全て又は一部が多重化されることによって生成される、ITU−R(International Telecommunication Union −Radiocommunication sector)のBT.656規格に準拠した画像データ(以下、「多重化画像データ」と称する)を、1フィールド時間で1フィールド分圧縮する。記録ディスク506は、1フィールド時間当たり1フィールド分の画像データの記録を行うことができる。この記録ディスク506は、エンコーダ504によって圧縮された1フィールドの画像データを1フィールド時間で記録する。
A first block diagram of a conventional surveillance camera system is shown in FIG. In the
図6に示す監視カメラシステム500におけるタイミングチャートを図7に示す。このタイミングチャートに示すように、エンコーダ504が1フィールド時間当たり1フィールド分の画像データの圧縮を行うことができ、且つ、記録ディスク506が1フィールド時間当たり1フィールド分の画像データの記録を行うことができる場合には、カメラ502が出力する多重化画像データは、オーバフローすることなく、1フィールド時間でエンコーダ504によって圧縮され、次の1フィールド時間で記録ディスク506によって記録される。
FIG. 7 shows a timing chart in the
また、カメラが出力する画像データが圧縮されても、圧縮後の画像データが所定サイズ以下にならない場合、更に画像データを圧縮するのではなく、圧縮後の画像データの一部を削減して所定サイズ以下に抑えて記録する画像圧縮装置が提案されている(例えば特許文献1参照)。圧縮後の画像データが所定サイズを超える場合に、その圧縮後の画像データが更に圧縮されるような構成を有する画像圧縮装置では、圧縮処理に要する時間が長くなり、入力される画像データがオーバーフローして画像のコマ落ちが生じることがある。しかし、従来の画像圧縮装置では、更なる圧縮は行われず、圧縮後の画像データの一部を削減しているため、エンコーダが1フィールド時間当たり1フィールド分の画像データの圧縮を行うことができ、且つ、記録ディスクが1フィールド時間当たり1フィールド分の画像データの記録を行うことができる場合には、入力される画像データのオーバーフローにより画像のコマ落ちが生じることを防止することができる。
しかしながら、複数のカメラの各チャンネル毎に、そのチャンネルに対応する複数の画像データ間の相関に基づく画像圧縮が行われる場合、エンコーダが1フィールド時間当たり1フィールド分の画像データの圧縮を行うことができ、且つ、記録ディスクが1フィールド時間当たり1フィールド分の画像データの記録を行うことができる場合であっても、システム全体として十分なスループットが得られない場合がある。 However, when image compression based on correlation between a plurality of image data corresponding to each channel is performed for each channel of a plurality of cameras, the encoder may compress image data for one field per field time. Even when the recording disk can record one field of image data per field time, there may be a case where sufficient throughput cannot be obtained as a whole system.
このことを図8及び図9を用いて説明する。従来の監視カメラシステムの第2のブロック図を図8に示す。図8に示す監視カメラシステム700では、4フィールド分の画像データ間の相関に基づく画像圧縮(4フィールド相関の画像圧縮)が行われる。
This will be described with reference to FIGS. A second block diagram of a conventional surveillance camera system is shown in FIG. In the
バッファ703は、16個のカメラ702a乃至702pの全て又は一部によって撮影された画像のデータが多重化されることによって得られる、ITU−RのBT.656規格に準拠した多重化画像データを入力し、この多重化画像データ内の各画像データを、その画像データを生成したカメラ702のチャンネルの番号(カメラチャンネル番号)毎に蓄積する。更に、バッファ703は、いずれかのチャンネルに対応する画像データを4フィールド分蓄積した場合に、対応するカメラチャンネル番号をエンコードリクエストキュー704へ出力する。エンコードリクエストキュー704は、バッファ703からのカメラチャンネル番号を入力し、保持する。
The
エンコーダ705は、4フィールド時間で4フィールド相関の画像圧縮を行うことができる。このエンコーダ705は、エンコードリクエストキュー704に保持されたカメラチャンネル番号を参照することにより、画像圧縮が可能な画像データに対応するカメラチャンネル番号を得る。更に、エンコーダ706は、4フィールド時間で、得たカメラチャンネル番号に対応する4フィールド分の画像データをバッファ704から読み出し、4フィールド相関の画像圧縮を行う。記録ディスク706は、4フィールド時間当たり4フィールド分の画像データの記録を行うことができる。この記録ディスク706は、エンコーダ705による4フィールド相関の画像圧縮により得られた圧縮後の画像データを4フィールド時間で記録する。
The
図8に示す監視カメラシステム700におけるエンコーダ705の動作状況を図9に示す。
FIG. 9 shows an operation state of the
図9において、フィールド時間1では、バッファ703には、カメラチャンネル番号9(CH9)に対応する画像データが4フィールド分蓄積されるとともに、カメラチャンネル番号13(CH13)に対応する画像データが5フィールド分蓄積されている。ここで、カメラチャンネル番号9(CH9)に対応する画像データの方がカメラチャンネル番号13(CH13)に対応する画像データよりも早く4フィールド分バッファ703に蓄積されたとすると、エンコードリクエストキュー704の先頭には、カメラチャンネル番号9(CH9)が保持され、続いてカメラチャンネル番号13(CH13)が保持されることになる。この場合、エンコーダ705は、次のフィールド時間2において、バッファ703からカメラチャンネル番号9(CH9)に対応する4フィールド分の画像データを読み出し、フィールド時間5まで4フィールド相関の画像圧縮を行う。
In FIG. 9, at
エンコーダ705の動作が終了するフィールド時間5では、バッファ703には、カメラチャンネル番号13(CH13)に対応する画像データが6フィールド分蓄積されており、エンコードリクエストキュー704には、カメラチャンネル番号13(CH13)が保持されている。この場合、エンコーダ705は、次のフィールド時間6において、バッファ703からカメラチャンネル番号13(CH13)に対応する4フィールド分の画像データを読み出し、フィールド時間9まで4フィールド相関の画像圧縮を行う。
At
そして、エンコーダ705の動作が終了するフィールド時間9では、バッファ703に蓄積された各チャンネルに対応する画像データの中に、4フィールド分以上を有するものはないため、エンコードリクエストキュー704には、何も保持されていない。この場合、エンコーダ705は、次のフィールド時間10乃至13において未動作状態となる。
In the
更に、エンコーダ705の未動作状態が終了するフィールド時間13では、バッファ703には、カメラチャンネル番号11(CH11)に対応する画像データが4フィールド分、カメラチャンネル番号12(CH12)に対応する画像データが4フィールド分それぞれ蓄積される。ここで、カメラチャンネル番号11(CH11)に対応する画像データは、フィールド時間10の時に4フィールド分がバッファ703に蓄積され、カメラチャンネル番号12(CH12)に対応する画像データは、フィールド時間13の時に4フィールド分がバッファ703に蓄積されている。このため、エンコードリクエストキュー704の先頭には、カメラチャンネル番号11(CH11)が保持され、続いてカメラチャンネル番号12(CH12)が保持されることになる。この場合、エンコーダ705は、次のフィールド時間14において、バッファ703からカメラチャンネル番号11(CH11)に対応する4フィールド分の画像データを読み出し、フィールド時間17まで4フィールド相関の画像圧縮を行う。
Further, at the
エンコーダ705の動作状態が図9に示すものとなる場合、エンコーダ705のスループットが4フィールド時間で4フィールド相関の画像圧縮であるから4/4であり、エンコーダ705の動作率が16フィールド時間中12フィールド時間動作しているから3/4であることを利用すると、フィールド時間2乃至17におけるエンコーダ705が1フィールド時間当たりに処理して出力する画像データのフィールド数(出力平均スループット)は、これらを乗算した3/4となる。すなわち、エンコーダ705の出力平均スループットは、バッファ703が1フィールド時間当たりに蓄積する画像データのフィールド数(入力スループット)である1(フィールド/フィールド時間)よりも低い値となる。更に、エンコーダ705が一旦未動作状態になると、その後に連続的に動作状態になったとしても、出力平均スループットが1(フィールド/フィールド時間)に回復することはない。その結果、入力される画像データはオーバーフローしてしまう可能性が高い。
When the operation state of the
本発明は従来の問題を解決するためになされたもので、エンコード対象の画像データのオーバーフローを抑制した画像エンコード装置及び画像エンコード方法を提供することを目的とする。 The present invention has been made to solve the conventional problems, and an object of the present invention is to provide an image encoding apparatus and an image encoding method in which overflow of image data to be encoded is suppressed.
本発明の画像エンコード装置は、単位時間長の画像データを順次入力して蓄積する画像データ蓄積手段と、前記画像データ蓄積手段に前記単位時間長の画像データが蓄積された場合に、前記単位時間長よりも短い時間内に、前記画像データ蓄積手段に蓄積された前記単位時間長の画像データのエンコードを行い、エンコード後の画像データを出力する画像データエンコード手段とを有する構成となる。 The image encoding apparatus according to the present invention includes an image data storage unit that sequentially inputs and stores unit time length image data, and the unit time length when the unit time length image data is stored in the image data storage unit. Image data encoding means for encoding the image data of the unit time length stored in the image data storage means and outputting the encoded image data within a time shorter than the length is provided.
この構成により、単位時間長の画像データが蓄積された場合には、単位時間長よりも短い時間内に、その単位時間長の画像データのエンコードが行われ、エンコード対象の画像データのオーバーフローが抑制される。 With this configuration, when image data of unit time length is accumulated, the image data of the unit time length is encoded within a time shorter than the unit time length, and the overflow of the image data to be encoded is suppressed. Is done.
また、本発明の画像エンコード装置は、前記画像データ蓄積手段に前記単位時間長の画像データがエンコード処理単位数分蓄積されたことを検出する画像データ蓄積検出手段を有し、前記画像データエンコード手段が、前記画像データ蓄積検出手段により、前記画像データ蓄積手段に前記単位時間長の画像データがエンコード処理単位数分蓄積されたことが検出された場合に、前記エンコード処理単位数分の単位時間長の画像データのエンコードを行う構成とすることができる。 The image encoding apparatus of the present invention further comprises image data storage detecting means for detecting that the unit time length of image data has been stored in the image data storage means for the number of encoding processing units, and the image data encoding means However, when it is detected by the image data storage detection means that the unit time length of image data has been stored in the image data storage means, the unit time length of the number of encoding processing units The image data can be encoded.
この構成により、画像データエンコード手段は、画像データ蓄積手段に前記単位時間長の画像データがエンコード処理単位数分蓄積されたことを簡易に認識し、迅速に画像データの圧縮を開始することが可能となる。 With this configuration, the image data encoding means can easily recognize that the image data of the unit time length has been stored in the image data storage means for the number of encoding processing units, and can quickly start compressing the image data. It becomes.
また、本発明の画像エンコード装置は、前記画像データエンコード手段が、前記エンコード処理単位数分の単位時間長の画像データ間の相関に基づくエンコードを行う構成とすることができる。 Further, the image encoding apparatus of the present invention may be configured such that the image data encoding means performs encoding based on a correlation between image data having a unit time length corresponding to the number of encoding processing units.
この構成により、画像データ間の相関に基づくエンコードが行われる場合においても、エンコード対象の画像データのオーバーフローが抑制される。 With this configuration, even when encoding based on correlation between image data is performed, overflow of image data to be encoded is suppressed.
また、本発明の画像エンコード装置は、前記単位時間長よりも短い時間内に、前記画像データエンコード手段によりエンコードが行われた画像データを記録する画像データ記録手段を有する構成とすることができる。 The image encoding apparatus according to the present invention may further include an image data recording unit that records the image data encoded by the image data encoding unit within a time shorter than the unit time length.
この構成により、エンコード後の画像データが記録される場合においても、エンコード対象の画像データのオーバーフローが抑制される。 With this configuration, even when encoded image data is recorded, overflow of the image data to be encoded is suppressed.
また、本発明の画像エンコード装置は、前記画像データ蓄積手段が、複数のチャンネルに対応する前記単位時間長の画像データが多重化された画像データを順次入力して蓄積し、前記画像データエンコード手段が、前記画像データ蓄積手段に、前記複数のチャンネルのいずれかに対応する単位時間長の画像データが蓄積された場合に、前記単位時間長の画像データのエンコードを行う構成とすることができる。 Further, in the image encoding apparatus of the present invention, the image data storage means sequentially inputs and stores the image data multiplexed with the unit time length image data corresponding to a plurality of channels, and the image data encoding means However, when image data having a unit time length corresponding to one of the plurality of channels is stored in the image data storage unit, the image data having the unit time length can be encoded.
この構成により、複数のチャンネルに対応する単位時間長の画像データが多重化された画像データが蓄積される場合において、複数のチャンネルのいずれかに対応する単位時間長の画像データが順次エンコードされるようにすることができる。 With this configuration, when image data in which unit time length image data corresponding to a plurality of channels is multiplexed is stored, unit time length image data corresponding to any of the plurality of channels is sequentially encoded. Can be.
また、本発明の画像エンコード装置は、前記画像データエンコード手段が、前記画像データ蓄積手段に蓄積された前記単位時間長の画像データを読み出し、圧縮を行って出力する構成とすることができる。 The image encoding apparatus of the present invention may be configured such that the image data encoding unit reads out the unit time length of image data stored in the image data storage unit, performs compression, and outputs the compressed data.
この構成により、エンコードが画像データの圧縮である場合においても、エンコード対象の画像データのオーバーフローが抑制される。 With this configuration, even when encoding is compression of image data, overflow of image data to be encoded is suppressed.
また、本発明の画像エンコード方法は、単位時間長の画像データを順次入力して蓄積する画像データ蓄積ステップと、前記画像データ蓄積ステップにおいて前記単位時間長の画像データが蓄積された場合に、前記単位時間長よりも短い時間内に、前記蓄積された前記単位時間長の画像データのエンコードを行い、エンコード後の画像データを出力する画像データエンコードステップとを有する構成となる。 The image encoding method of the present invention includes an image data storage step for sequentially inputting and storing unit time length image data, and when the unit time length image data is stored in the image data storage step, An image data encoding step of encoding the accumulated image data of the unit time length within a time shorter than the unit time length and outputting the encoded image data.
また、本発明の画像エンコード方法は、前記単位時間長の画像データがエンコード処理単位数分蓄積されたことを検出する画像データ蓄積検出ステップを有し、前記画像データエンコードステップが、前記画像データ蓄積ステップにおいて前記単位時間長の画像データがエンコード処理単位数分蓄積されたことが検出された場合に、前記エンコード処理単位数分の前記単位時間長の画像データのエンコードを行う構成とすることができる。 The image encoding method of the present invention further includes an image data accumulation detecting step for detecting that the unit time length of image data is accumulated for the number of encoding processing units, and the image data encoding step includes the image data accumulation step. When it is detected in the step that the unit time length of image data has been accumulated for the number of encoding processing units, the unit time length of image data for the number of encoding processing units can be encoded. .
また、本発明の画像エンコード方法は、単位時間長よりも短い時間内に、前記画像エンコードステップにおいてエンコードが行われた前記単位時間長の画像データを記録する画像データ記録ステップを有する構成とすることができる。 The image encoding method of the present invention includes an image data recording step for recording the image data of the unit time length encoded in the image encoding step within a time shorter than the unit time length. Can do.
また、本発明の画像エンコード方法は、前記画像データ蓄積ステップが、複数のチャンネルに対応する前記単位時間長の画像データが多重化された画像データを順次入力して蓄積し、前記画像データエンコードステップが、前記画像データ蓄積ステップにおいて前記複数のチャンネルのいずれかに対応する前記単位時間長の画像データが蓄積された場合に、前記単位時間長の画像データのエンコードを行う構成とすることができる。 In the image encoding method of the present invention, the image data accumulation step sequentially inputs and accumulates image data obtained by multiplexing the unit time length image data corresponding to a plurality of channels, and the image data encoding step However, when the unit time length image data corresponding to one of the plurality of channels is stored in the image data storage step, the unit time length image data may be encoded.
本発明は、画像データ蓄積手段が単位時間長の画像データを蓄積した場合には、画像データエンコード手段は単位時間長よりも短い時間内に、その単位時間長の画像データのエンコードを行う。すなわち、画像データエンコード手段が動作状態において単位時間当たりエンコードを行う画像データ数は、画像データ蓄積手段が単位時間当たりに蓄積する画像データ数よりも多いため、エンコード対象の画像データのオーバーフローを抑制することが可能となる。 In the present invention, when the image data storage means stores image data of unit time length, the image data encoding means encodes the image data of the unit time length within a time shorter than the unit time length. That is, since the number of image data to be encoded per unit time in the operating state of the image data encoding unit is larger than the number of image data to be stored per unit time by the image data storage unit, the overflow of the image data to be encoded is suppressed. It becomes possible.
以下、本発明の実施の形態の画像エンコード装置を適用した監視カメラシステムについて、図面を用いて説明する。 Hereinafter, a surveillance camera system to which an image encoding apparatus according to an embodiment of the present invention is applied will be described with reference to the drawings.
本発明の実施の形態における画像エンコード装置を適用した監視カメラシステムのブロック図を図1に示す。図1に示す監視カメラシステム100は、16個のカメラ102a乃至102p(以下、これらカメラ102a乃至102pをまとめて、適宜「カメラ102」と称する)と、カメラ102によって生成された画像のデータを蓄積するバッファ103と、エンコードの対象となる画像データを生成したカメラ102のチャンネル番号(カメラチャンネル番号)を保持するエンコードリクエストキュー104と、画像データのエンコードを行う3フィールド時間エンコーダ105と、3フィールド時間エンコーダ105によるエンコード処理後の画像データを記録する3フィールド時間記録ディスク106とを有する。なお、以下においては、3フィールド時間エンコーダ105によるエンコード処理として、画像データの圧縮が行われるものとする。
FIG. 1 shows a block diagram of a surveillance camera system to which an image encoding apparatus according to an embodiment of the present invention is applied. The
以上のように構成された監視カメラシステム100について、図2及び図3を用いてその動作を説明する。なお、図2に示す動作と図3に示す動作とは並行して行われる。
The operation of the
まず、図2について説明する。カメラ102a乃至102pは、監視の対象となる道路や駅構内、室内等の所定範囲を撮影し、単位時間長の画像データを生成する。これらカメラ102a乃至102pのチャンネルには、カメラチャンネル番号CH1乃至CH16が対応付けられている。なお、単位時間長とは、1フィールドの画像に対応する時間を意味する。バッファ103は、カメラ102a乃至102pの全て又は一部によって生成された画像データが多重化されることによって得られる、ITU−RのBT.656規格に準拠した画像データ(以下、「多重化画像データ」と称する)を入力し、この多重化画像データ内の各画像データを、その画像データを生成したカメラ102のチャンネルのカメラチャンネル番号毎に蓄積する(S101)。
First, FIG. 2 will be described. The
更に、バッファ102は、いずれかのカメラ102のチャンネルに対応する画像データを4フィールド分蓄積したか否かを判定する(S102)。いずれかのカメラ102のチャンネルに対応する画像データを4フィールド分蓄積していない場合、バッファ103は、カメラ102からの多重化画像データをカメラチャンネル番号毎に蓄積する処理(S101)以降を繰り返す。
Further, the buffer 102 determines whether or not image data corresponding to any one of the channels of the camera 102 has been accumulated for four fields (S102). When the image data corresponding to the channel of any camera 102 is not accumulated for four fields, the
一方、バッファ102は、いずれかのカメラ102のチャンネルに対応する画像データを4フィールド分蓄積した場合、その4フィールド分蓄積した画像データを生成したカメラ102のチャンネルのカメラチャンネル番号を、エンコードリクエストキュー104へ出力する(S103)。エンコードリクエストキュー104は、FIFO(First In First Out)形式の入出力構造を有し、バッファ102からのカメラチャンネル番号を保持する(S104)。その後、バッファ103による、カメラ102からの多重化画像データをカメラチャンネル番号毎に蓄積する処理(S101)以降が繰り返される。
On the other hand, when the buffer 102 accumulates image data corresponding to the channel of any camera 102 for four fields, the buffer 102 stores the camera channel number of the channel of the camera 102 that generated the image data accumulated for the four fields in the encoding request queue. It outputs to 104 (S103). The
次に、図3について説明する。3フィールド時間エンコーダ105は、3フィールドの画像に対応する時間(3フィールド時間)で、4フィールド分の画像データを読み出し、4フィールド相関の画像圧縮を行って出力することができる。すなわち、3フィールド時間エンコーダ105は、1フィールド時間当たり4/3フィールド分の画像データの圧縮を行うことができる。
Next, FIG. 3 will be described. The three-
この3フィールド時間エンコーダ105は、エンコードリクエストキュー104にカメラチャンネル番号が保持されているか否かを判定する(S201)。3フィールド時間エンコーダ105は、エンコードリクエストキュー104にカメラチャンネル番号が保持されている場合、その保持されているカメラチャンネル番号を読み出し、その読み出したカメラチャンネル番号に対応する画像データを、バッファ103から4フィールド分読み出す(ステップ202)。この際、読み出されたカメラチャンネル番号は、エンコードリクエストキュー104から削除される。また、3フィールド時間エンコーダ105は、バッファ103に、読み出し対象の画像データが5フィールド以上蓄積されている場合、先に蓄積されたものから順に4フィールド分読み出す。更に、3フィールド時間エンコーダ105は、読み出した4フィールド分の画像データについて、読み出し時間も含めて3フィールド時間で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する(S203)。
The three-
3フィールド時間記録ディスク106は、3フィールド時間で、4フィールド分の圧縮後の画像データを記録することができる。すなわち、3フィールド時間エンコーダ105は、1フィールド時間当たり4/3フィールド分の圧縮後の画像データを記録することができる。この3フィールド時間記録ディスク106は、3フィールド時間で、3フィールド時間エンコーダ105による4フィールド相関の画像圧縮により得られた圧縮後の画像データを記録する(ステップ204)。その後、3フィールド時間エンコーダ105による、エンコードリクエストキュー104にカメラチャンネル番号が保持されているか否かの判定(S201)以降の動作が繰り返される。
The 3-field
次に、画像データのフィールド数に応じた3フィールド時間エンコーダ105の動作状況を図4及び図5を用いて説明する。
Next, the operation status of the three-
まず、図4について説明する。この図4における画像データのフィールド数の遷移は、図9における画像データのフィールド数の遷移と同一である。なお、図4においてフィールド時間1乃至17は、それぞれ1フィールド時間の時間長を有する。
First, FIG. 4 will be described. The transition of the number of fields of the image data in FIG. 4 is the same as the transition of the number of fields of the image data in FIG. In FIG. 4,
図4において、フィールド時間1では、バッファ103には、カメラチャンネル番号9(CH9)に対応する画像データが4フィールド分蓄積されるとともに、カメラチャンネル番号13(CH13)に対応する画像データが5フィールド分蓄積されている。ここで、カメラチャンネル番号9(CH9)に対応する画像データの方がカメラチャンネル番号13(CH13)に対応する画像データよりも早く4フィールド分バッファ103に蓄積されていたものとすると、エンコードリクエストキュー104の先頭には、カメラチャンネル番号9(CH9)が保持され、続いてカメラチャンネル番号13(CH13)が保持されることになる。この場合、3フィールド時間エンコーダ105は、次のフィールド時間2において、バッファ103からカメラチャンネル番号9(CH9)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間(フィールド時間2乃至4)で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。なお、フィールド時間2において、3フィールド時間エンコーダ105がバッファ103からカメラチャンネル番号9(CH9)に対応する4フィールド分の画像データを読み出した後も、バッファ103には、カメラチャンネル番号9(CH9)に対応する1フィールド分の画像データが蓄積されているが、これは、フィールド時間2において、カメラチャンネル番号9(CH9)に対応する1フィールド分の画像データが新たにバッファ103に入力され、蓄積されたことを意味する。
In FIG. 4, at
3フィールド時間エンコーダ105の動作が終了するフィールド時間4では、バッファ103には、カメラチャンネル番号13(CH13)に対応する画像データが6フィールド分蓄積されており、エンコードリクエストキュー104には、カメラチャンネル番号13(CH13)が保持されている。この場合、3フィールド時間エンコーダ105は、次のフィールド時間5において、バッファ103からカメラチャンネル番号13(CH13)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間(フィールド時間5乃至7)で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。
At
そして、3フィールド時間エンコーダ105の動作が終了するフィールド時間7では、バッファ103に蓄積された各チャンネルに対応する画像データの中に、4フィールド分以上を有するものはない。このため、エンコードリクエストキュー104には、何も保持されていない。この場合、3フィールド時間エンコーダ105は、次の3フィールド時間(フィールド時間8乃至10)において未動作状態となる。
In the
次に、3フィールド時間エンコーダ105の未動作状態が終了するフィールド時間10では、バッファ103には、カメラチャンネル番号11(CH11)に対応する画像データが4フィールド分蓄積され、エンコードリクエストキュー104には、カメラチャンネル番号11(CH11)が保持されている。この場合、3フィールド時間エンコーダ105は、次のフィールド時間11において、バッファ103からカメラチャンネル番号11(CH11)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間(フィールド時間11乃至13)で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。
Next, at the
次に、3フィールド時間エンコーダ105の動作が終了するフィールド時間13では、バッファ103には、カメラチャンネル番号12(CH12)に対応する画像データが4フィールド分蓄積され、エンコードリクエストキュー104には、カメラチャンネル番号12(CH12)が保持されている。この場合、3フィールド時間エンコーダ105は、次のフィールド時間14において、バッファ103からカメラチャンネル番号12(CH12)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間(フィールド時間14乃至16)で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。
Next, at the
更に、3フィールド時間エンコーダ105の動作が終了するフィールド時間16では、バッファ103には、カメラチャンネル番号13(CH13)に対応する画像データが4フィールド分蓄積され、エンコードリクエストキュー104には、カメラチャンネル番号13(CH13)が保持されている。この場合、3フィールド時間エンコーダ105は、次のフィールド時間17において、バッファ103からカメラチャンネル番号13(CH13)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。
Further, at the
3フィールド時間エンコーダ105の動作状態が図4に示すものとなる場合、3フィールド時間エンコーダ105のスループットが3フィールド時間で4フィールド相関の画像圧縮であるから4/3であり、3フィールド時間エンコーダ105の動作率が16フィールド時間中13フィールド時間動作しているから13/16であることを利用すると、フィールド時間2乃至17における3フィールド時間エンコーダ105が1フィールド時間当たりに処理して出力する画像データのフィールド数(出力平均スループット)は、これらを乗算した13/12となる。すなわち、図9における従来の出力平均スループットである3/4より増加する。従って、従来よりも、入力される画像データがオーバーフローしてしまうことを抑制することができる。また、3フィールド時間エンコーダ105がバッファ103から画像データを読み出す頻度が従来よりも増加するため、バッファ103の使用率を削減することができる。このため、バッファ103の容量削減が可能となる。
When the operation state of the three-
次に、図5について説明する。なお、図5においてフィールド時間1乃至17は、図4と同様、それぞれ1フィールド時間の時間長を有する。
Next, FIG. 5 will be described. In FIG. 5,
図5において、フィールド時間1では、バッファ103には、カメラチャンネル番号6(CH6)に対応する画像データが4フィールド分、カメラチャンネル番号10(CH10)に対応する画像データが6フィールド分、カメラチャンネル番号12(CH12)に対応する画像データが5フィールド分、カメラチャンネル番号15(CH15)に対応する画像データが4フィールド分蓄積されている。ここで、4フィールド分の画像データが蓄積されるまでの時間の早い順が、カメラチャンネル番号10(CH10)に対応する画像データ、カメラチャンネル番号12(CH12)に対応する画像データ、カメラチャンネル番号6(CH6)に対応する画像データ、カメラチャンネル番号15(CH15)に対応する画像データの順であったものとすると、エンコードリクエストキュー104には、カメラチャンネル番号10(CH10)、カメラチャンネル番号12(CH12)、カメラチャンネル番号6(CH6)、カメラチャンネル番号15(CH15)の順でカメラチャンネル番号が保持されることになる。この場合、3フィールド時間エンコーダ105は、次のフィールド時間2において、バッファ103からカメラチャンネル番号10(CH10)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間(フィールド時間2乃至4)で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。
In FIG. 5, at
3フィールド時間エンコーダ105の動作が終了するフィールド時間4では、バッファ103には、カメラチャンネル番号(CH12)に対応する画像データが5フィールド分、カメラチャンネル番号6(CH6)に対応する画像データが4フィールド分、カメラチャンネル番号15(CH15)に対応する画像データが4フィールド分それぞれ蓄積されており、エンコードリクエストキュー104には、カメラチャンネル番号12(CH12)、カメラチャンネル番号6(CH6)、カメラチャンネル番号15(CH15)の順でカメラチャンネル番号が保持されている。この場合、3フィールド時間エンコーダ105は、次のフィールド時間5において、バッファ103からカメラチャンネル番号12(CH12)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間(フィールド時間5乃至7)で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。
In the
そして、3フィールド時間エンコーダ105の動作が終了するフィールド時間7では、バッファ103には、カメラチャンネル番号6(CH6)に対応する画像データが4フィールド分、カメラチャンネル番号15(CH15)に対応する画像データが4フィールド分それぞれ蓄積され、エンコードリクエストキュー104には、カメラチャンネル番号6(CH6)、カメラチャンネル番号15(CH15)の順でカメラチャンネル番号が保持されている。更に、フィールド時間7では、バッファ103には、カメラチャンネル番号13(CH13)に対応する画像データが4フィールド分蓄積され、エンコードリクエストキュー104には、カメラチャンネル番号15(CH15)に続いてカメラチャンネル番号13(CH13)が保持されている。この場合、3フィールド時間エンコーダ105は、次のフィールド時間8において、バッファ103からカメラチャンネル番号6(CH6)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間(フィールド時間8乃至10)で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。
At
次に、3フィールド時間エンコーダ105の動作が終了するフィールド時間10では、バッファ103には、カメラチャンネル番号15(CH15)に対応する画像データが4フィールド分、カメラチャンネル番号13(CH13)に対応する画像データが4フィールド分それぞれ蓄積され、エンコードリクエストキュー104には、カメラチャンネル番号15(CH15)、カメラチャンネル番号13(CH13)の順でカメラチャンネル番号が保持されている。この場合、3フィールド時間エンコーダ105は、次のフィールド時間11において、バッファ103からカメラチャンネル番号15(CH15)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間(フィールド時間11乃至13)で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。
Next, at the
次に、3フィールド時間エンコーダ105の動作が終了するフィールド時間13では、バッファ103には、カメラチャンネル番号13(CH13)に対応する画像データが4フィールド分蓄積され、エンコードリクエストキュー104には、カメラチャンネル番号13(CH13)が保持されている。この場合、3フィールド時間エンコーダ105は、次のフィールド時間14において、バッファ103からカメラチャンネル番号13(CH13)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間(フィールド時間11乃至13)で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。
Next, at
そして、フィールド時間14以降、バッファ103には、カメラチャンネル番号2(CH2)に対応する画像データが4フィールド分蓄積され、エンコードリクエストキュー104には、カメラチャンネル番号2(CH2)が保持されるとともに、フィールド時間15以降、バッファ103には、カメラチャンネル番号1(CH1)に対応する画像データが4フィールド分蓄積され、エンコードリクエストキュー104には、カメラチャンネル番号2(CH2)に続いて、カメラチャンネル番号1(CH1)が保持される。このため、3フィールド時間エンコーダ105の動作が終了するフィールド時間16では、バッファ103には、カメラチャンネル番号2(CH2)に対応する画像データが4フィールド分、カメラチャンネル番号1(CH1)に対応する画像データが4フィールド分それぞれ蓄積され、エンコードリクエストキュー104には、カメラチャンネル番号2(CH2)、カメラチャンネル番号1(CH1)の順でカメラチャンネル番号が保持されることになる。この場合、3フィールド時間エンコーダ105は、次のフィールド時間17において、バッファ103からカメラチャンネル番号2(CH2)に対応する4フィールド分の画像データを読み出し、この読み出し時間を含めて3フィールド時間で、4フィールド相関の画像圧縮を行い、3フィールド時間記録ディスク106へ出力する。
After the
3フィールド時間エンコーダ105の動作状態が図5に示すものとなる場合、3フィールド時間エンコーダ105のスループットが3フィールド時間で4フィールド相関の画像圧縮であるから4/3であり、3フィールド時間エンコーダ105の動作率が16フィールド時間中16フィールド時間動作しているから16/16であることを利用すると、フィールド時間2乃至17における3フィールド時間エンコーダ105が1フィールド時間当たりに処理して出力する画像データのフィールド数(出力平均スループット)は、これらを乗算した4/3となり、バッファ103が1フィールド時間当たりに蓄積する画像データのフィールド数(入力スループット)である1(フィールド/フィールド時間)よりも大きい値となる。従って、入力される画像データがオーバーフローしてしまうことを抑制することができる。また、図4における動作と同様、3フィールド時間エンコーダ105がバッファ103から画像データを読み出す頻度が従来よりも増加するため、バッファ103の使用率を削減することができため、バッファ103の容量削減が可能となる。
When the operation state of the three-
なお、前述した本発明の実施の形態では、画像データはフィールド単位に入力され、エンコード処理及び記録が行われたが、フレーム単位に入力され、エンコード処理及び記録が行われるようにしても良い。 In the above-described embodiment of the present invention, image data is input in units of fields and encoded and recorded. However, it may be input in units of frames and encoded and recorded.
また、前述した本発明の実施の形態では、4フィールドの画像データ間の相関に基づく画像圧縮が行われる場合について説明したが、2フィールド以上あるいは2フレーム以上の画像データ間の相関に基づく画像圧縮が行われる場合においても、本発明を適用することができる。 In the above-described embodiment of the present invention, the case where the image compression based on the correlation between the image data of the four fields is described, but the image compression based on the correlation between the image data of two fields or more or two frames or more is described. The present invention can be applied even when the above is performed.
更に、前述した実施形態では、3フィールド時間エンコーダ105は、1フィールド時間当たり4/3フィールド分の画像データの圧縮を行うことが可能な処理能力を有するが、1フィールド時間当たり1フィールド分以上、あるいは、1フレーム時間当たり1フレーム以上の画像データの圧縮を行うことが可能な処理能力を有するものであれば、本発明を適用することができる。また、バッファ103に入力される画像データは、ITU−RのBT.656規格に準拠した画像データ以外であっても良い。
Further, in the above-described embodiment, the 3-
以上のように、本発明に係る画像エンコード装置及び画像エンコード方法は、エンコード対象の画像データのオーバーフローを抑制することが可能となるという効果を有し、画像エンコード装置及び画像エンコード方法として有用である。 As described above, the image encoding device and the image encoding method according to the present invention have an effect that it is possible to suppress overflow of image data to be encoded, and are useful as an image encoding device and an image encoding method. .
100 監視カメラシステム
102a〜102p カメラ
103 バッファ
104 エンコードリクエストキュー
105 3フィールド時間エンコーダ
106 3フィールド時間記録ディスク
DESCRIPTION OF
Claims (10)
前記画像データ蓄積手段に前記単位時間長の画像データが蓄積された場合に、前記単位時間長よりも短い時間内に、前記画像データ蓄積手段に蓄積された前記単位時間長の画像データのエンコードを行い、エンコード後の画像データを出力する画像データエンコード手段とを有することを特徴とする画像エンコード装置。 Image data storage means for sequentially inputting and storing image data of unit time length;
When the unit time length image data is stored in the image data storage unit, the unit time length image data stored in the image data storage unit is encoded within a time shorter than the unit time length. And an image data encoding means for outputting the encoded image data.
前記画像データエンコード手段は、前記画像データ蓄積検出手段により、前記画像データ蓄積手段に前記単位時間長の画像データがエンコード処理単位数分蓄積されたことが検出された場合に、前記エンコード処理単位数分の単位時間長の画像データのエンコードを行うことを特徴とする請求項1記載の画像エンコード装置。 The image data storage means has image data storage detection means for detecting that the unit time length of image data has been stored for the number of encoding processing units,
The image data encoding unit detects the number of encoding processing units when the image data storage detecting unit detects that the unit time length of image data has been stored in the image data storage unit. The image encoding apparatus according to claim 1, wherein the image data is encoded with a unit time length of minutes.
前記画像データエンコード手段は、前記画像データ蓄積手段に、前記複数のチャンネルのいずれかに対応する単位時間長の画像データが蓄積された場合に、前記単位時間長の画像データのエンコードを行うことを特徴とする請求項1乃至4のいずれか記載の画像エンコード装置。 The image data storage means sequentially inputs and stores image data obtained by multiplexing the unit time length image data corresponding to a plurality of channels,
The image data encoding means encodes the unit time length image data when the image data storage means stores image data of a unit time length corresponding to any of the plurality of channels. The image encoding device according to claim 1, wherein the image encoding device is an image encoding device.
前記画像データ蓄積ステップにおいて前記単位時間長の画像データが蓄積された場合に、前記単位時間長よりも短い時間内に、前記蓄積された前記単位時間長の画像データのエンコードを行い、エンコード後の画像データを出力する画像データエンコードステップとを有することを特徴とする画像エンコード方法。 An image data storage step of sequentially inputting and storing image data of unit time length; and
When the image data of the unit time length is accumulated in the image data accumulation step, the accumulated image data of the unit time length is encoded within a time shorter than the unit time length. And an image data encoding step for outputting image data.
前記画像データエンコードステップは、前記画像データ蓄積ステップにおいて前記単位時間長の画像データがエンコード処理単位数分蓄積されたことが検出された場合に、前記エンコード処理単位数分の前記単位時間長の画像データのエンコードを行うことを特徴とする請求項7記載の画像エンコード方法。 An image data storage detection step for detecting that the unit time length of image data is stored for the number of encoding processing units;
In the image data encoding step, when it is detected in the image data storage step that the unit time length of image data has been stored for the number of units of encoding processing, the unit time length of images for the number of units of encoding processing 8. The image encoding method according to claim 7, wherein the data is encoded.
前記画像データエンコードステップは、前記画像データ蓄積ステップにおいて前記複数のチャンネルのいずれかに対応する前記単位時間長の画像データが蓄積された場合に、前記単位時間長の画像データのエンコードを行うことを特徴とする請求項7乃至9のいずれか記載の画像エンコード方法。
The image data accumulation step sequentially inputs and accumulates image data obtained by multiplexing the unit time length image data corresponding to a plurality of channels,
The image data encoding step encodes the unit time length image data when the unit time length image data corresponding to any of the plurality of channels is stored in the image data storage step. 10. The image encoding method according to claim 7, wherein the image encoding method is any one of claims 7 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003422516A JP2005184477A (en) | 2003-12-19 | 2003-12-19 | Device and method for encoding picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003422516A JP2005184477A (en) | 2003-12-19 | 2003-12-19 | Device and method for encoding picture |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005184477A true JP2005184477A (en) | 2005-07-07 |
Family
ID=34783363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003422516A Pending JP2005184477A (en) | 2003-12-19 | 2003-12-19 | Device and method for encoding picture |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005184477A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012203706A (en) * | 2011-03-25 | 2012-10-22 | Kayaba Ind Co Ltd | Drive recorder and drive recorder system |
-
2003
- 2003-12-19 JP JP2003422516A patent/JP2005184477A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012203706A (en) * | 2011-03-25 | 2012-10-22 | Kayaba Ind Co Ltd | Drive recorder and drive recorder system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5331316B2 (en) | Improved video buffer before alarm | |
JP2009033423A (en) | Image compression method and image processing device | |
US8094991B2 (en) | Methods and apparatus for recording and reproducing a moving image, and a recording medium in which program for executing the methods is recorded | |
US20090154551A1 (en) | Apparatus for recording/reproducing moving picture, and recording medium thereof | |
US6947660B2 (en) | Motion picture recording/reproduction apparatus | |
KR100597917B1 (en) | Moving picture recording apparatus and system | |
US7006701B2 (en) | Sequential digital image compression | |
JP2005184477A (en) | Device and method for encoding picture | |
JP2002262272A (en) | Digital supervisory camera system and controller | |
JP2003009085A (en) | Device and method for recording digital signal and device and method for reproducing digital signal | |
JP2005117447A (en) | Animation recording device, animation recording method and animation recording program | |
JP3196764B2 (en) | Moving image recording / playback method | |
JP2001186530A (en) | Multiple channel image compressor and method therefor | |
JP2003189242A (en) | Video recording and reproducing device and reproducing method | |
JP4255455B2 (en) | Image data compression device | |
JP4451754B2 (en) | Image data storage method | |
US10412340B2 (en) | Recording device and multiplexing method | |
JP2004104193A (en) | Imaging apparatus and recorder | |
JP2001186469A (en) | Intermittent picture recording device and its method | |
KR19990019528A (en) | Data transmission device and method of security system using MPEG encoder | |
JPH08186822A (en) | Image decoder | |
JP2007043575A (en) | Image processor and image processing method | |
JP2009055648A (en) | Image data compression apparatus | |
JP2003235011A (en) | Program stream production apparatus and recording and reproducing apparatus employing the same | |
JP2001186528A (en) | Bit stream frequency converter for image signal and method therefor |