JP2007019817A - Image coding apparatus - Google Patents
Image coding apparatus Download PDFInfo
- Publication number
- JP2007019817A JP2007019817A JP2005198812A JP2005198812A JP2007019817A JP 2007019817 A JP2007019817 A JP 2007019817A JP 2005198812 A JP2005198812 A JP 2005198812A JP 2005198812 A JP2005198812 A JP 2005198812A JP 2007019817 A JP2007019817 A JP 2007019817A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- unit
- event
- quality
- encoded
- 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
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Closed-Circuit Television Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は監視対象の映像を記録する映像監視システムの画像符号化装置に関し、特に、事象発生時に高画質な映像を記録するようにした画像符号化装置に関するものである。 The present invention relates to an image encoding device of a video monitoring system that records a video to be monitored, and more particularly to an image encoding device that records high-quality video when an event occurs.
近年、防犯等を目的とした映像監視システムが各種提案されている(例えば、特許文献1参照)。 In recent years, various video surveillance systems for crime prevention have been proposed (see, for example, Patent Document 1).
図10は、従来の映像監視システムにおける画像符号化装置の構成を示すブロック図である。画像符号化装置401は、撮像素子402と、監視対象で発生した異常な事象を検出する事象検出部403と、時間情報を出力する時計部404と、撮像素子402からの高画質な画像データを記録すると共に、後述する映像変換部からの低画質な画像データを記録する映像記録部405と、映像記録部405から読み出した高画質な画像データを低画質な画像データに変換する映像変換部406と、事象検出部403及び時計部404からの情報に基づいて、映像記録部405に対する映像情報の記録を制御する書き込み制御部407と、で構成される。
FIG. 10 is a block diagram showing a configuration of an image encoding device in a conventional video surveillance system. The
上記構成の従来の画像符号化装置の動作について説明する。映像記録部405は、撮像素子402からの高画質画像データを記録すると共に、映像変換部406からの低画質画像データを記録する。そして、通常、即ち異常な事象が発生しない場合、書き込み制御部407は、現在時刻から所定の設定時間を差し引いた時刻以前の高画質画像データを映像記録部405から順次消去するように制御を行っている。
しかしながら、従来の画像符号化装置では、映像記録部405に対して高画質な画像データの書き込み及び読み出しと、低画質な画像データの書き込みという3種類のデータ転送が行われるため、高画質な画像データの書き込みだけが行われる場合に比べてデータ転送量が非常に多くなるという問題があった。
However, since the conventional image encoding apparatus performs three types of data transfer, that is, writing and reading high-quality image data and writing low-quality image data with respect to the
道路、店舗、倉庫等の監視システムでは、通常、複数の監視カメラ(撮像素子)からの映像を一つの映像記録部405に記録することが多く、従って、複数の映像を同時に処理するためには映像記録部405へのデータ転送量を低減する必要がある。
In a monitoring system for roads, stores, warehouses, etc., usually, images from a plurality of monitoring cameras (imaging devices) are often recorded in one
本発明は 従来の問題を解決するためになされたもので、中途段階まで符号化した画像データの所定の変換係数のみを、一時記憶部に間欠記憶しておくことにより、必要とするメモリ容量を抑制し、映像記録部へのデータ転送量を低減することができる画像符号化装置を提供することを目的とする。 The present invention has been made in order to solve the conventional problem, and by temporarily storing only predetermined conversion coefficients of image data encoded until halfway in a temporary storage unit, a required memory capacity can be reduced. An object of the present invention is to provide an image encoding device that can suppress the data transfer amount to the video recording unit.
本発明の画像符号化装置は、光信号を電気信号に変換する撮像素子と、アナログ信号をデジタル信号に変換するA/D変換器と、前記デジタル信号から所要の符号化画像データを生成する符号化部と、中途段階まで符号化した画像データを所定時間保持しておく一時記憶部と、完全に符号化した画像データを記録する記録部と、画像データの符号化及び取捨選択に関わる処理を制御する制御部と、撮像近傍の異常な事象を検出する事象検出部とを備え、前記制御部は、符号化のピクチャタイプ及び前記事象検出部による事象検出の有無の条件に基づいて、前記一時記憶部に記憶した中途段階まで符号化した画像データ並びに前記記憶部に記録した完全に符号化した画像データの、保持または削除を判断することを特徴とする。
この構成により、必要とするメモリ容量及び記録部へのデータ転送量を抑制し、且つ事象発生前後の高画質な画像データを記録することができる。
An image encoding apparatus according to the present invention includes an image sensor that converts an optical signal into an electrical signal, an A / D converter that converts an analog signal into a digital signal, and a code that generates required encoded image data from the digital signal. An encoding unit, a temporary storage unit that retains image data encoded until halfway for a predetermined time, a recording unit that records completely encoded image data, and processing related to encoding and selection of image data A control unit for controlling, and an event detection unit for detecting an abnormal event near the imaging, the control unit is based on the picture type of encoding and the condition of the presence or absence of event detection by the event detection unit, It is characterized in that it is determined whether to store or delete the image data encoded up to a halfway stage stored in the temporary storage unit and the completely encoded image data recorded in the storage unit.
With this configuration, the required memory capacity and data transfer amount to the recording unit can be suppressed, and high-quality image data before and after the occurrence of the event can be recorded.
また、本発明の画像符号化装置は、前記制御部は、前記記録部への画像データ記録後に所定時間が経過し、且つ前記事象検出部による事象検出がない場合、符号化した高画質な画像データを、ピクチャタイプに基づいて間引き、低画質な画像データに処理した後に前記記録部に間欠記録すると共に、前記符号化した高画質な画像データ部分を削除し、前記事象検出部による事象検出がある場合、事象発生前後の予め設定した時間だけ前記符号化した高画質な画像データを前記記録部に保持することを特徴とする。
この構成により、必要とするメモリ容量及び記録部へのデータ転送量を抑制し、且つ事象発生前後の高画質な画像データを記録することができる。
また、通常時、即ち異常な事象が発生しない状態では、低画質な間欠画像データが記録部に記録されるため、記録部の記憶容量を節約でき、より長時間の記録や、画像符号化装置の製造コスト低減が可能となる。
Further, in the image encoding device according to the present invention, the control unit performs the encoding with high image quality when a predetermined time elapses after the image data is recorded in the recording unit and no event is detected by the event detecting unit. The image data is thinned based on the picture type, processed into low-quality image data, and then intermittently recorded in the recording unit, and the encoded high-quality image data part is deleted, and the event by the event detection unit When there is detection, the encoded high-quality image data is held in the recording unit for a preset time before and after the occurrence of the event.
With this configuration, the required memory capacity and data transfer amount to the recording unit can be suppressed, and high-quality image data before and after the occurrence of the event can be recorded.
Further, in the normal state, that is, in a state where no abnormal event occurs, since low-quality intermittent image data is recorded in the recording unit, it is possible to save the storage capacity of the recording unit, and to record for a longer time or an image encoding device. The manufacturing cost can be reduced.
また、本発明の画像符号化装置は、前記制御部は、中途段階まで符号化した画像データの所定の変換係数だけを、前記一時記憶部に記憶することを特徴とする。
この構成により、異常な事象が発生しないときに記録する低画質な画像データの画質を調整することができる。
In the image encoding device of the present invention, the control unit stores only a predetermined transform coefficient of image data encoded up to an intermediate stage in the temporary storage unit.
With this configuration, it is possible to adjust the image quality of low-quality image data to be recorded when no abnormal event occurs.
また、本発明の画像符号化装置は、事象発生後にユーザーが前記事象発生前後の映像を不要と判断した場合、前記制御部は、事象発生前後の前記高画質な画像データを前記記録部から取り出し、中途段階まで復号処理をし、所定の変換係数だけを用いて再度符号化した低画質な画像データを、前記記録部に間欠記録することを特徴とする。
この構成により、事象に関連する高画質な画像データでも、ユーザーが不要と判断した画像は低画質な間欠画像データに順次変換されるため、記録部の記憶容量を節約でき、より長時間の記録や、画像符号化装置の製造コスト低減が可能となる。
In the image encoding device of the present invention, when the user determines that the video before and after the occurrence of the event is unnecessary after the occurrence of the event, the control unit reads the high-quality image data before and after the occurrence of the event from the recording unit. It is characterized in that low-quality image data that has been extracted and decoded halfway through and encoded again using only predetermined transform coefficients is intermittently recorded in the recording unit.
With this configuration, even with high-quality image data related to the event, images that the user determines to be unnecessary are sequentially converted into low-quality intermittent image data, so the storage capacity of the recording unit can be saved, and longer recording time In addition, the manufacturing cost of the image encoding device can be reduced.
また、本発明の画像符号化装置は、ユーザーが事象発生の前後に画像データを記録したい時間と、事象未発生時に間引いて画像データを記録する間欠記録時間を、パラメータとして入力する入力部とをさらに備え、前記制御部が、前記パラメータと使用可能なメモリ容量から一時記憶部に何れの変換係数を記憶するかを決定することを特徴とする。
この構成により、所定のメモリ容量を用いて、ユーザーの入力した事象発生前後の記録時間と間欠記録時間を満たす、低画質な間欠画像データを記録することができる。
The image encoding apparatus of the present invention includes an input unit for inputting, as parameters, a time when the user wants to record image data before and after the occurrence of an event, and an intermittent recording time for recording the image data when the event has not occurred. In addition, the control unit may determine which conversion coefficient is to be stored in the temporary storage unit from the parameter and a usable memory capacity.
With this configuration, it is possible to record low-quality intermittent image data that satisfies the recording time and intermittent recording time before and after the occurrence of an event input by the user, using a predetermined memory capacity.
また、本発明の画像符号化装置は、ユーザーが設定した前記パラメータにより記憶される画像データの画質を確認する表示部を備えることを特徴とする。
この構成により、ユーザーは自分が設定した前記パラメータにより記録される、低画質な間欠画像データの画質を確認することができる。
The image coding apparatus according to the present invention further includes a display unit for confirming an image quality of image data stored according to the parameter set by a user.
With this configuration, the user can confirm the image quality of the low-quality intermittent image data recorded according to the parameters set by the user.
本発明は、必要とするメモリ容量及び映像記録部へのデータ転送量を抑制し、且つ事象発生前後の高画質な画像データを記録することができる。また、通常時、即ち異常な事象が発生しない状態では、低画質な間欠画像データが記録部に記録されるため、記録部の記憶容量を節約でき、より長時間の記録や、画像符号化装置の製造コスト低減が可能となる。 The present invention can suppress the required memory capacity and the amount of data transferred to the video recording unit, and can record high-quality image data before and after the occurrence of the event. Further, in the normal state, that is, in a state where no abnormal event occurs, since low-quality intermittent image data is recorded in the recording unit, it is possible to save the storage capacity of the recording unit, and to record for a longer time or an image encoding device. The manufacturing cost can be reduced.
以下、本発明の実施形態の画像符号化装置について、図面を用いて説明する。 Hereinafter, an image coding apparatus according to an embodiment of the present invention will be described with reference to the drawings.
図1は、本発明の実施の形態1における画像符号化装置の内部構成を示すブロック図である。画像符号化装置101は、光信号を電気信号に変換する固体撮像素子102と、電気信号であるアナログ信号をデジタル信号に変換するA/D変換器103と、デジタル信号から所要の符号化画像データを生成する符号化部104と、中途段階まで符号化した画像データを所定時間保持しておく一時記憶部105と、完全に符号化した画像データを記録する記録部106と、中途段階まで符号化した画像データまたは完全に符号化した画像データを、符号化及び取捨選択する処理を制御する制御部107と、撮像近傍の異常な事象を検出する事象検出部108とを有する。
FIG. 1 is a block diagram showing an internal configuration of an image coding apparatus according to
符号化部104では、A/D変換器103からのデジタル信号を符号化する際に、1フレームのみによる符号化を行ってIピクチャを生成する。また、画面間符号化として、現在と過去のフレームの関係を用いた前方向予測によるPピクチャの生成や、過去と未来のフレームを用いた双方向予測によるBピクチャの生成を行う。1つのIピクチャとそれに続く、複数枚のP又はBピクチャの画像の組をGOP(Group Of Piccture)と称する。
When encoding the digital signal from the A /
符号化部104では、DCT(Discrete Cosine Transform:離散コサイン変換)109により周波数領域に変換された係数が、量子化110により量子化される。更に、高周波削除117は、制御部107からの制御により、量子化後の係数に対して、当該係数の所定の高周波係数を削除する(即ち、レベルを0にする)。これにより高画質な画像データは、データ量の少ない低画質データに変換される。
In the
図2は、本発明の実施の形態1における画像符号化装置の動作手順を示すフロー図である。はじめに、制御部107は、事象発生前の記録時間[T1]、事象発生後の記録時間[T2]及び間欠時間[td]に基づいて変数を設定し(ステップS101)、一時記憶部105を初期化する(ステップS102)。
FIG. 2 is a flowchart showing an operation procedure of the image coding apparatus according to
撮像素子からのデジタル信号は、符号化部104で1フレーム分の高画質な画像データに符号化される(ステップS103)。このとき間欠時間[td]毎に、1枚のIピクチャと複数枚のPピクチャが生成される。これにより、1間欠時間[td]毎に1GOPのデータが生成される。図3は、本発明の実施の形態1における画像符号化装置の、記憶部及び一時記憶部内の画像データの状態を示す図である。図に示すように、本実施の形態では、間欠時間[td]に取得されるフレーム数は4枚で、Bピクチャは生成されずPピクチャのみの画面間符号化を行っている。また、本実施の形態では、事象発生前の記録時間T1を3GOP分の時間、事象発生後の記録時間T2を2GOP分の時間、それぞれ記録するものとして説明する。
The digital signal from the image sensor is encoded into high-quality image data for one frame by the encoding unit 104 (step S103). At this time, one I picture and a plurality of P pictures are generated every intermittent time [td]. As a result, 1 GOP data is generated every intermittent time [td]. FIG. 3 is a diagram showing the state of the image data in the storage unit and the temporary storage unit of the image coding apparatus according to
次に、符号化した高画質な画像データ(I)が記録部106に記録される(ステップS104)。同時に、制御部107は、記録した画像データがIピクチャであるか否かの判定(ステップS105)と、事象が検出されているか否かの判定(ステップS106)を行う。時刻t0において記録した画像データはIピクチャであり、且つ事象が検出されていないため、ステップS110の判定へ移行する。この場合X2>0ではないので、更にステップS112へ移行し、一時記憶部105にIピクチャの量子化したDCT変換係数を、高周波削除117により所定の高周波係数を削除した後、低画質な画像データ(I')として記憶させ(ステップS112)、変数を更新する(ステップS113)。
Next, the encoded high-quality image data (I) is recorded in the recording unit 106 (step S104). At the same time, the
次に、制御部107は、一時記憶部105に時刻T1以前のデータが記憶されているか否かを判断する(ステップS114)。この段階では一時記憶部105に以前のデータは記憶されていないので、ステップS103へ戻り、次フレームの高画質な画像データの符号化を行う。
Next, the
時刻t1の前までは符号化した画像データがPピクチャであるので、ステップS103からステップS105までの、画像データの符号化と高画質な画像データの記録部106への記録がPピクチャの枚数だけ繰り返される。以降の時刻t1、時刻t2では時刻t0と同様の処理が実行されるので、それらについての説明は省略する。
Since the encoded image data is a P picture before time t1, the encoding of the image data and the recording of the high-quality image data in the
図3では、記録部106に記録されている高画質なGOP(1つのIと3つのPで構成され、それぞれVLC(Variable Length Coding)111により可変長符号化されている)をH1,H2、H3と表し、一時記録部105に記録されている低画質なGOP(1つのI´で構成される)をL1,L2,L3と表している。また、L1,L2,L3をVLC111で可変長符号化したものをそれぞれL1´、L2´、L3´と表している。
In FIG. 3, high-quality GOPs (consisting of one I and three Ps, each of which is variable-length encoded by a variable length coding (VLC) 111) recorded in the
時刻t3において、高画質な画像データであるH1、H2、H3が記憶部106に記録されており、低画質な画像データ用のDCT変換係数であるL1、L2、L3が一時記憶部105に記憶されている。時刻t3の時点で制御部107は、一時記憶部105に時刻T1以前のデータが記憶されているか否かの判断(ステップS114)において、記憶されていると判断するので、時刻T1以前の途中段階まで符号化した画像データL1を符号化部104のVLC111で可変長符号化させ(ステップS115)、完全に符号化した低画質な画像データL1´を記録部106に記録させる(ステップS116)。
At time t3, high-quality image data H1, H2, and H3 are recorded in the
また、制御部107は、このとき対応する高画質な画像データH1を記録部106から削除させ(ステップS117)、同時に低画質な画像データ用の量子化したDCT変換係数であるL1を一時記憶部105から削除させる(ステップS118)。
Further, the
次に時刻t3と時刻t4の間に事象検出部116が、事象を検出し、制御部107が事象検出フラグをセットする。
Next, between time t3 and time t4, the
時刻t4において、低画質な画像データであるL1´と高画質な画像データであるH2、H3、H4が記録部106に記録されており、低画質な画像データ用に所定の高周波係数が削除された量子化後のDCT変換係数であるL2、L3、L4が一時記憶部105に記憶されている。時刻t4の時点で制御部107は、事象の検出有無の判断(ステップS106)において、事象が検出されたと判断するので、一時記憶部105に記憶されている低画質な画像データ用の量子化したDCT変換係数(L2、L3、L4)を全て削除させ(ステップS107)、事象発生後の記録時間をX2にセットする(ステップS108)。その後、事象検出フラグを解除する(ステップS109)。
At time t4, L1 ′, which is low-quality image data, and H2, H3, H4, which are high-quality image data, are recorded in the
次に時刻t5の時点で制御部107は、事象発生後の画像データ記録中か否かの判断(ステップS110)において、画像データ記録中と判断するので、変数を更新する(ステップS111)。つまり、このときには低画質な画像データ用に所定の高周波係数が削除された量子化後のDCT変換係数であるL5、L6は一時記憶部105に記憶されない。
Next, at time t5, the
時刻t6の時点で制御部107は、事象発生後の画像データ記録中な否かの判断(ステップS110)において、データ記録終了と判断するので、ステップS112へ移行し、時刻t0で説明した処理と同じ処理手順へ移行する。
At the time t6, the
尚、高周波削除117により所定の高周波係数を削除する手順は、まず、1マクロブロックに割り当てられるメモリ容量[SIZE MB]を、一時記憶部105の容量[SIZE]と、事象発生前の記録時間[T1]と、間欠時間[td]に基づいて、下記の式により算出し、1マクロブロックに割り当てられるメモリ容量を超える手前まで、DC係数からジグザグスキャン順に量子化後のDCT変換係数を、一時記憶部106に記憶していくことで実現される。
The procedure for deleting a predetermined high-frequency coefficient by the high-frequency deletion 117 is as follows. First, the memory capacity [SIZE MB] assigned to one macroblock is changed from the capacity [SIZE] of the
図4は、高周波係数の削除例を示す図である。図では、1マクロブロックに割り当てられるメモリ容量に、量子化後のDCT変換係数を15係数まで記憶できる場合の削除例を示している。また、このようにジグザグスキャン順に量子化後の変換係数を残すことで、視覚特性上で重要となる低周波係数を優先的に保持することができ、低画質な画像データに変換する際に画質を維持しやすい。 FIG. 4 is a diagram illustrating an example of deleting a high frequency coefficient. In the figure, an example of deletion is shown in which up to 15 DCT transform coefficients after quantization can be stored in the memory capacity allocated to one macroblock. In addition, by leaving the conversion coefficients after quantization in the zigzag scan order in this way, it is possible to preferentially retain low frequency coefficients that are important in visual characteristics, and image quality when converting to low-quality image data. Easy to maintain.
以上のように、本発明の実施の形態1における画像符号化装置によれば、Iピクチャの量子化後のDCT変換係数に対して所定の高周波係数を削除して記憶する一時記憶部を設け、T1時間事象が発生しない場合には一時記憶部の量子化後のDCT変換係数に対してVLCを行って記録部に記録し、対応する高画質な画像データを記録部から削除することにより、必要とするメモリ容量及び映像記録部へのデータ転送量を抑制し、且つ事象発生前後の高画質な画像データを記録することができる。また、通常時、即ち異常な事象が発生しない状態では、低画質な間欠画像データを記録部に記録されるため、記録部の記憶容量を節約でき、より長時間の記録や、画像符号化装置の製造コスト低減が可能となる。
As described above, according to the image coding apparatus in
図5は、本発明の実施の形態2における画像符号化装置の内部構成を示すブロック図である。実施の形態1と比較して、ユーザーの入力を受け付ける入力部209と、符号化部204内に、記憶部206から読み出した高画質な画像データの可変長復号化を行うVLD(Variable Length Decoding)219とが付加された点が異なる。その他の構成は実施の形態1のそれと同じであるため、説明を省略する。
FIG. 5 is a block diagram showing an internal configuration of the image coding apparatus according to Embodiment 2 of the present invention. Compared to
図6は、本発明の実施の形態2における画像符号化装置の動作手順を示すフロー図である。まず、第1の実施の形態と同様に動作して、事象発生時に前後の画像を高画質な画像データとして記憶部206に記録し、事象発生前後以外は、低画質な画像データを記録部206に記録する。次に、高画質な画像データを事象発生後にユーザーが確認して(ステップS201)、データの要・不要の判断(ステップS202)において不要と判断した場合、事象発生前後以外の画像データと同様に、低画質な画像データに変換して、記録部206に記録する。
FIG. 6 is a flowchart showing an operation procedure of the image coding apparatus according to Embodiment 2 of the present invention. First, the same operation as in the first embodiment is performed, and the previous and subsequent images are recorded as high-quality image data in the
そのため、まず入力部209により、ユーザーが不要と判断して、指定した高画質な画像データを、制御部207が判別し、記録部206から該当する高画質な画像データを読み出し(ステップS203)、VLD219で可変長復号化を行う(ステップS204)。次に、高周波削除228で所定の高周波係数を削除し(ステップS205)、復号した量子化後のDCT変換係数に対して、再びVLC212で可変長符号化を行って低画質な画像データを作成する(ステップS206)。この低画質な画像データを記録部206に記録し(ステップS207)、先程読み出した高画質な画像データは記録部206から削除する(ステップS208)。尚、低画質な画像データへの変換は、高画質な画像データのIピクチャのみに対して行い、P及びBピクチャに対しては行わない。また、高画質な画像データの削除はGOP単位で行う。
Therefore, first, the
以上のように本発明の実施の形態2における画像符号化装置によれば、ユーザーが事象発生前後の高画質な画像データを確認し、不要と判断した場合に、不要な高画質な画像データを指定できる入力部と、符号化部に高画質な画像データの可変長復号化を行うVLDとを設けることにより、不要と判断された事象に関連する高画質な画像データが、低画質な間欠画像データに順次変換されるため、記録部の記憶容量を節約でき、より長時間の記録や、画像符号化装置の製造コスト低減が可能となる。 As described above, according to the image coding apparatus in the second embodiment of the present invention, when the user confirms high-quality image data before and after the occurrence of the event and determines that it is unnecessary, unnecessary high-quality image data is displayed. By providing an input unit that can be specified and a VLD that performs variable-length decoding of high-quality image data in the encoding unit, high-quality image data related to an event that is determined to be unnecessary becomes a low-quality intermittent image. Since the data is sequentially converted, it is possible to save the storage capacity of the recording unit, and it is possible to record for a longer time and to reduce the manufacturing cost of the image encoding device.
図7は、本発明の実施の形態3における画像符号化装置の内部構成を示すブロック図である。実施の形態1と比較して、事象発生前の記録時間[T1]と、事象発生後の記録時間[T2]と、間欠時間[td]とをユーザーが入力するための入力部309と、ユーザーの入力したパラメータにより決定された高周波係数を削除した低画質な復号画像データであるデジタル信号をアナログ信号に変換するD/A変換器310と、アナログ信号を画像として表示する表示部311とが付加された点が異なる。その他の構成は実施の形態1のそれと同じであるため、説明を省略する。
FIG. 7 is a block diagram showing an internal configuration of the image coding apparatus according to Embodiment 3 of the present invention. Compared to
図8は、表示部311のユーザーインターフェース例を模式的に示す図である。ユーザーインターフェース401は、ユーザが入力を行う入力部402と、入力部402により入力したパラメータで決定された高周波係数を削除した低画質な復号画像データを表示する表示部403を有する。ここで、入力部402は、事象発生前の録画時間[T1]の入力用フォーム404と、事象発生後の録画時間[T2]の入力用フォーム405と、間欠時間[td]の入力用フォーム406と、前記3つの入力フォームに入力した値により決定した高周波係数を削除した低画質な復号化画像データの表示を実行する実行ボタン407と、実行状態から停止状態に移行するための停止ボタン408を有する。
FIG. 8 is a diagram schematically illustrating an example of a user interface of the
図9は、本発明の実施の形態3における画像符号化装置の動作手順を示すフロー図である。まず、ユーザーが事象発生前の録画時間[T1]の入力用フォーム404と、事象発生後の録画時間[T2]の入力用フォーム405と、間欠時間[td]の入力用フォーム406に値を入力して(ステップS301)、実行ボタン407を押下すると(ステップS302)、制御部307は、入力されたパラメータ(T1、T2、td)の書き込みを行う(ステップS303)。
FIG. 9 is a flowchart showing an operation procedure of the image coding apparatus according to Embodiment 3 of the present invention. First, the user inputs values in the
符号化部304は、最初に1フレーム分の符号化を行う(ステップS304)。そして、符号化したフレームがIピクチャであるか否かの判断と(ステップS305)、停止ボタン押下の有無の判断を行い(ステップS306)、符号化したフレームがPピクチャやBピクチャの場合、または停止ボタンが押下されている場合は、その後の処理を実行せずに次のフレームの符号化に進む。
The
一方、符号化したフレームがIピクチャで且つ停止ボタンが押下されていない場合、入力されたパラメータ(T1、T2、td)の読み込みを行い(ステップS307)、制御部307は、設定したパラメータに基づいて上記に示した削除する高周波係数の決定式により削除する高周波係数を決定する(ステップS308)。尚、上述の式において、一時記憶部305の容量[SIZE]はハード設計時に決定されるため、通常はユーザーの調整項目にはならない。一方、1フレームのマクロブロック数は符号化を行う画像の解像度によって決定されるため、解像度を変更できるシステムでは、ユーザーが設定できるようにユーザーインターフェース401に解像度の設定を含めても良い。
On the other hand, when the encoded frame is an I picture and the stop button is not pressed, the input parameters (T1, T2, td) are read (step S307), and the
その後、符号化部304において、決定した高周波係数を削除し(ステップS309)、削除した量子化後のDCT係数を逆量子化315で逆量子化し(ステップS310)、さらに逆DCT316で逆DCTして低画質な画像データを復号する(ステップS311)。次に、復号化した低画質な画像データを表示部403に表示する(ステップS312)。この際、実施の形態1で示したように低画質な画像データは、Iピクチャ毎に作成されるため、間欠時間の入力フォーム406で指定した時間毎に、表示部403の画像が更新される。
Thereafter, the
以上のように本発明の実施の形態3における画像符号化装置によれば、ユーザーが事象発生の前後に画像データを記録したい時間と、事象未発生時に間引いて画像データを記録する間欠記録時間をパラメータとして入力する入力部と、ユーザーが設定したパラメータにより記憶される画像データの画質を確認する表示部とを設けることにより、ユーザーは自分が設定したパラメータにより記録される、低画質な間欠画像データの画質を確認しながらパラメータを決定することができる。 As described above, according to the image coding apparatus in Embodiment 3 of the present invention, the time for which the user wants to record image data before and after the occurrence of an event and the intermittent recording time for recording image data by thinning out when no event occurs are recorded. By providing an input unit for input as a parameter and a display unit for confirming the image quality of image data stored according to the parameters set by the user, the user can record intermittent image data with low image quality recorded according to the parameters set by the user. The parameters can be determined while checking the image quality.
尚、以上の説明では、符号化部104をMPEGで構成した例について説明したが、その他の圧縮方式、例えばウェーブレット変換などについても同様に実施可能であることは言うまでもない。
In the above description, the example in which the
以上のように、本発明にかかる画像符号化装置は、必要とするメモリ容量及び映像記録部へのデータ転送量を抑制し、且つ事象発生前後の高画質な画像データを記録することができるという効果を有し、監視対象の映像を記録する映像監視システムの画像符号化装置等において有用である。 As described above, the image coding apparatus according to the present invention can suppress the required memory capacity and the data transfer amount to the video recording unit, and can record high-quality image data before and after the occurrence of the event. It has an effect and is useful in an image encoding device of a video surveillance system that records video to be monitored.
101、201、301 画像符号化装置
102、202、302 固体撮像素子
103、203、303 A/D変換器
104、204、304 符号化部
105、205、305 一時記憶部
106、206、306 記録部
107、207、307 制御部
108、208、308 事象検出部
109、210、312 DCT
110、211、313 量子化
111、212、314 VLC
112、213、315 逆量子化
113、214、316 逆DCT
114、215、317 フレームメモリ
115、216、318 動き補償
116、217、319 動きベクトル検出
117、218、320 高周波削除
209、309 入力部
219 VLD
310 D/A変換器
311 表示部
101, 201, 301
110, 211, 313
112, 213, 315
114, 215, 317
310 D /
Claims (6)
前記制御部は、符号化のピクチャタイプ及び前記事象検出部による事象検出の有無の条件に基づいて、前記一時記憶部に記憶した中途段階まで符号化した画像データ並びに前記記憶部に記録した完全に符号化した画像データの、保持または削除を判断することを特徴とする画像符号化装置。 An image sensor that converts an optical signal into an electrical signal, an A / D converter that converts an analog signal into a digital signal, an encoding unit that generates required encoded image data from the digital signal, and encoding up to an intermediate stage A temporary storage unit that retains the image data for a predetermined time, a recording unit that records the completely encoded image data, a control unit that controls processing related to encoding and selection of the image data, An event detection unit for detecting abnormal events;
The control unit, based on the picture type of encoding and the condition of presence / absence of event detection by the event detection unit, encoded image data stored in the temporary storage unit up to a halfway stage and the complete recorded in the storage unit An image encoding apparatus characterized by determining whether to store or delete image data encoded in (1).
前記事象検出部による事象検出がある場合、事象発生前後の予め設定した時間だけ前記符号化した高画質な画像データを前記記録部に保持することを特徴とする請求項1記載の画像符号化装置。 The control unit thins out the encoded high-quality image data based on the picture type when a predetermined time elapses after the image data is recorded in the recording unit and there is no event detection by the event detection unit, After being processed into low-quality image data and intermittently recorded in the recording unit, the encoded high-quality image data portion is deleted,
2. The image encoding according to claim 1, wherein when there is event detection by the event detection unit, the encoded high-quality image data is held in the recording unit for a preset time before and after the occurrence of the event. apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005198812A JP2007019817A (en) | 2005-07-07 | 2005-07-07 | Image coding apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005198812A JP2007019817A (en) | 2005-07-07 | 2005-07-07 | Image coding apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007019817A true JP2007019817A (en) | 2007-01-25 |
Family
ID=37756578
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005198812A Withdrawn JP2007019817A (en) | 2005-07-07 | 2005-07-07 | Image coding apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007019817A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6525229B1 (en) * | 2019-01-25 | 2019-06-05 | 株式会社 テクノミライ | Digital search security system, method and program |
-
2005
- 2005-07-07 JP JP2005198812A patent/JP2007019817A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6525229B1 (en) * | 2019-01-25 | 2019-06-05 | 株式会社 テクノミライ | Digital search security system, method and program |
WO2020152851A1 (en) * | 2019-01-25 | 2020-07-30 | 株式会社 テクノミライ | Digital search security system, method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1107613B1 (en) | Picture recording apparatus and methods | |
JP4682102B2 (en) | Image coding apparatus and image coding method | |
JP5331316B2 (en) | Improved video buffer before alarm | |
US7916785B2 (en) | Image processing apparatus and method | |
JP2006157910A (en) | Filtering method for removing blocking artifacts and apparatus therefor | |
JP2006197557A (en) | Image encoding apparatus, image encoding method and program thereof | |
JP2010041354A (en) | Moving image coding method, coding device and coding program | |
US7889934B2 (en) | Image processing apparatus and processing method thereof | |
JP2010074241A (en) | Moving picture reproducing apparatus, moving picture reproducing method, program, and recording medium | |
JP6278712B2 (en) | Imaging apparatus and control method thereof | |
US20120141041A1 (en) | Image filtering method using pseudo-random number filter and apparatus thereof | |
JP2007049516A (en) | Video recording apparatus and scene change extracting method | |
JP2016005103A (en) | Imaging apparatus and control method therefor | |
US20070127571A1 (en) | Image processing apparatus and method | |
KR101606931B1 (en) | Apparatus for recording/playing key frame still image and method for orerating the same | |
JP2007019817A (en) | Image coding apparatus | |
RU2643477C1 (en) | Video prediction encoding device, video prediction encoding method, video prediction encoding program, video prediction decoding device, video prediction decoding method and video prediction decoding program | |
JP4706567B2 (en) | Image processing method, image processing method program, recording medium storing image processing method program, and image processing apparatus | |
JP4594163B2 (en) | Image coding method and image coding apparatus | |
JP4621629B2 (en) | Image decoding device | |
JP2018191136A (en) | Encoding device, encoding method and program | |
JP2008199521A (en) | Image processing apparatus and method thereof | |
JP4596975B2 (en) | Image encoding method and image processing apparatus | |
JP2006295492A (en) | Image processing apparatus | |
US7692695B2 (en) | Imaging apparatus and control method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20071113 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20071120 |
|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20081007 |