JP2010166489A - Image compression/expansion apparatus - Google Patents
Image compression/expansion apparatus Download PDFInfo
- Publication number
- JP2010166489A JP2010166489A JP2009008891A JP2009008891A JP2010166489A JP 2010166489 A JP2010166489 A JP 2010166489A JP 2009008891 A JP2009008891 A JP 2009008891A JP 2009008891 A JP2009008891 A JP 2009008891A JP 2010166489 A JP2010166489 A JP 2010166489A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- image
- prediction
- signal
- encoding
- 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.)
- Granted
Links
- 238000007906 compression Methods 0.000 title claims abstract description 17
- 230000006835 compression Effects 0.000 title claims abstract description 17
- 230000033001 locomotion Effects 0.000 claims abstract description 73
- 230000007423 decrease Effects 0.000 claims abstract description 6
- 238000012544 monitoring process Methods 0.000 claims description 21
- 230000006837 decompression Effects 0.000 claims description 15
- 238000000034 method Methods 0.000 claims description 15
- 238000001514 detection method Methods 0.000 abstract description 30
- 230000005540 biological transmission Effects 0.000 description 13
- 238000013139 quantization Methods 0.000 description 11
- 239000000872 buffer Substances 0.000 description 10
- 238000013144 data compression Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000000605 extraction Methods 0.000 description 8
- 230000009466 transformation Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 238000001228 spectrum Methods 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
Images
Landscapes
- Studio Devices (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は、画像圧縮伸張装置に係り、特に、イントラ予測部と、動き補償予測部とを適応的に切替えて参照予測画像を生成する画像圧縮伸張装置に関する。 The present invention relates to an image compression / decompression apparatus, and more particularly to an image compression / decompression apparatus that adaptively switches between an intra prediction unit and a motion compensation prediction unit to generate a reference prediction image.
映像監視分野では、昼間、夜間を問わず監視映像を24時間、遠隔モニタするようなシステムが普及している。 In the video monitoring field, systems that remotely monitor monitoring video for 24 hours regardless of daytime or nighttime are widespread.
例えば、交通状況を監視する交差点や夜間人通りのまばらな場所に設置された監視カメラから、モニタリングを行うセンタに監視映像を送信する場合、監視映像はFPU(Field Pickup Unit)等の中継伝送装置、あるいはネットワーク等の伝送路を使ってセンタに送信される。 For example, when monitoring video is sent from a monitoring camera installed at an intersection or traffic sparsely located to a monitoring center, the monitoring video is a relay transmission device such as an FPU (Field Pickup Unit). Alternatively, it is transmitted to the center using a transmission line such as a network.
このような中継伝送装置、あるいはネットワーク等の伝送路は、送信されるチャンネルで使用可能な伝送路の帯域幅が制限されているため、監視カメラ側で撮影した映像を中継伝送装置、あるいは伝送路が許容する伝送ビットレートまで圧縮して送っているのが一般的である。 In such a relay transmission device or a transmission path of a network or the like, the bandwidth of the transmission path that can be used in the channel to be transmitted is limited. In general, the data is compressed to a transmission bit rate allowed by the
これら監視映像の圧縮にはMPEG−2やH.264符号化方式が採用されている。 MPEG-2 and H.264 are used to compress these surveillance videos. The H.264 encoding method is employed.
MPEG−2やH.264符号化方式は符号化の際、イントラ予測部と、動き補償予測部とを使って参照予測画像を生成する。イントラ予測とは、フレーム間予測を用いないマクロブロックに対して、上側や左側に隣接する隣接画素をもとに予測画像信号を生成し、その予測画像信号との差分を符号化する予測方法である。 MPEG-2 and H.264 In the H.264 encoding method, a reference prediction image is generated using an intra prediction unit and a motion compensation prediction unit at the time of encoding. Intra prediction is a prediction method that generates a predicted image signal based on adjacent pixels on the upper and left sides of a macroblock that does not use inter-frame prediction, and encodes the difference from the predicted image signal. is there.
また、動き補償予測とは、時間軸方向に前後するフレームを探索して必要な予測画像信号を生成し、入力画像とその予測画像信号との差分を符号化する方法である。 Also, motion compensated prediction is a method of generating a necessary predicted image signal by searching for frames going back and forth in the time axis direction, and encoding a difference between the input image and the predicted image signal.
イントラ予測による符号化ピクチャをIピクチャ、また、動き補償予測を使って符号化したピクチャをPピクチャ、Bピクチャ(時間軸方向に前後の参照予測画像をもとに符号化したピクチャをBピクチャ、それ以外をPピクチャ)と呼び、IPBと呼ばれる符号化ピクチャ構造を持つ上記符号化方式は、動画に適した符号化方式とされている。 A picture coded by intra prediction is an I picture, a picture coded using motion compensated prediction is a P picture, a B picture (a picture coded based on reference prediction pictures before and after in the time axis direction is a B picture, The other encoding method is called a P picture) and has an encoded picture structure called IPB. The encoding method is suitable for moving images.
符号化ピクチャ構造を決定するイントラ予測部と、動き補償予測部との切替え制御は、設定ビットレートをもとに、一定の周期でイントラピクチャが挿入されるようにイントラ予測部を周期的に選択したり、あるいは入力画像をもとに動きベクトルを算出し、動きが少ないシーンでは優先的に前後のフレームを使った長い予測間隔(動き補償予測部)を、一方、動きが激しいシーンでは、フレーム内の短い予測間隔(イントラ予測部)を優先的に選択し、入力画像のシーンに合わせて効率的に符号化ピクチャ構造を変更する方法がとられている。 Switching control between the intra prediction unit that determines the coded picture structure and the motion compensated prediction unit periodically selects the intra prediction unit so that intra pictures are inserted at a constant cycle based on the set bit rate. Or a motion vector based on the input image, and a long prediction interval (motion compensation prediction unit) that uses the previous and next frames preferentially in a scene with little motion, while a frame in a scene with heavy motion Among them, a method of preferentially selecting a short prediction interval (intra prediction unit) and efficiently changing the coded picture structure according to the scene of the input image is employed.
また、受信側の復号化においては、参照予測画像の生成の際に、選択される予測部が送信側と一致するように受信した符号化ストリームのヘッダ解析を行い、イントラ予測部と動き補償予測部とを適応的に切替えている。 In decoding on the reception side, when generating a reference prediction image, header analysis is performed on the received encoded stream so that the selected prediction unit matches the transmission side, and the intra prediction unit and motion compensation prediction are performed. The part is switched adaptively.
このように、MPEG−2やH.264符号化方式を使った遠隔監視システムでは、監視時の画像変化を検知するために、一度、受信側で復号処理を行っており、監視映像の保存を行う場合には、目視確認後に、データ量の削減のため再び圧縮した符号化ストリームに圧縮処理を行い、データーサーバーに保存している。 As described above, MPEG-2 and H.264 are used. In a remote monitoring system using the H.264 encoding method, in order to detect image changes during monitoring, decoding processing is performed once on the receiving side. When monitoring video is stored, data is checked after visual confirmation. In order to reduce the amount, the compressed stream is compressed again and stored in the data server.
例えば、このような監視カメラシステムの例として、特許文献1には、ディジタルデータ圧縮を使用したディジタル監視システムにおいて、映像信号をデータ圧縮するデータ圧縮部に、侵入者または進入物を検知する検出手段と、映像信号のデータ圧縮時のフレームレートおよびピクチャ構成を変更できる可変データ圧縮手段と、前記検出手段の信号に応じて前記可変データ圧縮手段のエンコード形式を変更する制御手段と、を設け、前記検出手段により侵入者又は侵入物が検出されない場合に、前記可変データ圧縮手段のデータ圧縮のフレームレートを下げ、このフレームレートに最適なピクチャ構成によりデータ圧縮を行うように制御し、前記可変データ圧縮手段により出力されるデータ圧縮後の映像データを記録手段に供給して、記録するように構成したディジタル監視システムが、特許文献1に提案されている。 For example, as an example of such a surveillance camera system, Patent Document 1 discloses a detection unit that detects an intruder or an entering object in a data compression unit that compresses a video signal in a digital surveillance system using digital data compression. And variable data compression means that can change the frame rate and picture configuration at the time of data compression of the video signal, and control means that changes the encoding format of the variable data compression means according to the signal of the detection means, When no intruder or intruder is detected by the detecting means, the data compression frame rate of the variable data compressing means is lowered, and the data compression is controlled so as to perform the data compression by the picture configuration optimum for the frame rate, and the variable data compression The compressed video data output by the means is supplied to the recording means for recording. Digital monitoring system constructed in so that is proposed in Patent Document 1.
前述した従来例の構成では、何らかのイベントが発生し、監視映像に変化があったとしても、受信側でそれを検知するには、圧縮された符号化ストリームを復号化してからでないと確認することが難しいという問題があった。また、特許文献1においても、圧縮後のデータを記録した記録手段からの映像を再生する際には、復号化してからでないと確認することが難しく、直ぐには受信側で確認することができない。 In the configuration of the conventional example described above, even if some event occurs and the monitoring video changes, in order to detect it on the receiving side, it is necessary to confirm that the compressed encoded stream is not decoded. There was a problem that was difficult. Also in Patent Document 1, when reproducing a video from a recording unit that records compressed data, it is difficult to confirm without decoding, and it cannot be confirmed immediately on the receiving side.
そこで、本発明の目的は、イントラ予測部と、動き補償予測部を適応的に切替えて参照予測画像を生成する符号化方式を用い監視映像を遠隔監視するシステムにおいて、受信した符号化ストリームを復号処理することなく、監視画像の時間軸方向の変化(動き)の有無を検出し、変化が認められた場合には、以降受信する符号化ストリームをアラーム画像として記録可能な画像圧縮伸張装置を提供することにある。 Accordingly, an object of the present invention is to decode a received encoded stream in a system for remotely monitoring a monitoring video using an encoding method in which a reference prediction image is generated by adaptively switching between an intra prediction unit and a motion compensation prediction unit. Provides an image compression / decompression device that can detect whether or not there is a change (motion) in the time axis direction of a monitoring image without processing, and if the change is recognized, an encoded stream to be received thereafter can be recorded as an alarm image There is to do.
上記目的を達成するために、本発明に係る画像圧縮伸張装置は、イントラ予測部と、動き補償予測部とを適応的に切替えて参照予測画像を生成する画像圧縮伸張装置において、所定単位時間内に生成される前記参照予測画像が上記どちらの予測部を用いて生成されたものかを示す識別フラグを累積し、その増減を予測選択情報として符号化ストリームのヘッダに付加して送信することを特徴とするものであり、次のような構成を有している。 In order to achieve the above object, an image compression / decompression apparatus according to the present invention is an image compression / decompression apparatus that generates a reference prediction image by adaptively switching between an intra prediction unit and a motion compensation prediction unit. The identification flag indicating which prediction unit is used to generate the reference prediction image is accumulated, and the increase / decrease is added to the header of the encoded stream as prediction selection information and transmitted. This is a feature and has the following configuration.
本発明に係る画像圧縮伸張装置では、送信側における符号化部は、映像データをマクロブロックに分割するマクロブロック分割部と、上記マクロブロックに分割された映像データと予測画像信号との差分画像を直交変換する直交変換部と、上記直交変換された差分画像を符号化する符号化部と、上記直交変換された差分画像を逆直交変換する逆直交変換部と、上記逆直交変換部の出力と上記予測画像信号とを加算し復号画像を生成する加算部と、上記加算部の出力から上記予測画像信号を生成するイントラ予測部とを有し、上記イントラ予測部は、上記復号画像データから複数の予測画像信号を生成し、上記マクロブロックに分割された映像データに基づいて所定の予測画像信号を選択する予測モード選択部および、上記復号画像データを上記複数の画素ブロック分割部のいずれの画素ブロック分割部に供給するかを制御する切替え部を有するように構成されている。 In the image compression / decompression apparatus according to the present invention, an encoding unit on a transmission side includes a macroblock division unit that divides video data into macroblocks, and a difference image between the video data divided into the macroblocks and a predicted image signal. An orthogonal transform unit that performs orthogonal transform, an encoding unit that encodes the difference image that has undergone orthogonal transform, an inverse orthogonal transform unit that performs inverse orthogonal transform on the difference image that has undergone orthogonal transform, and an output of the inverse orthogonal transform unit. An adder that adds the predicted image signal to generate a decoded image; and an intra prediction unit that generates the predicted image signal from the output of the adder. A prediction mode selection unit that generates a prediction image signal of the image and selects a predetermined prediction image signal based on the video data divided into the macroblocks, and the decoded image data It is configured to have a switching unit that controls whether to supply to any of the pixel block dividing unit of the plurality of pixel block division unit.
また、図1に示すように符号化部100は、動き補償予測部13および動き検出部16を有し、上記動き検出部16は、図5に示すように、上記マクロブロックに分割された映像データを複数の画素ブロックに分割する複数の画素ブロック分割部131〜137と、上記複数の画素ブロックに分割された画素ブロックと上記復号画像データとを比較し、所定の予測画像信号を探索する動きベクトル探索部138および、上記動きベクトル探索部の出力を選択する動き最適予測画像信号選択部139を有し、上記動き補償予測部13は、上記予測画像信号選択部の出力に基づいて上記復号画像データから上記所定の予測画像信号を出力するように、構成される。
As shown in FIG. 1, the
さらに、符号化部100は、所定単位時間内に予測モード選択部106から出力される参照予測画像が、上記どちらの予測部を使って生成されたものかを示す識別フラグを累積し、その増減を予測選択情報として出力する予測モード累積部104を有し、上記予測選択情報を圧縮符号化ストリームのヘッダに付加して送信する機能を有する可変長符号化部7に出力するように構成される。
Further, the
一方、本発明に係る画像圧縮伸張装置の受信側における復号化部は、図2に示すように入力端子120で受信した圧縮符号化ストリームをバッファリングする受信バッファ20と、受信バッファでバッファリングされた圧縮符号化ストリームからストリームヘッダを抽出し解析を行うヘッダ抽出解析部105と、上記ヘッダを取り除いた符号化ストリームに対し復号処理を行う可変長復号化部22と、上記可変長復号化処理された予測差分画像信号PΔV1を逆量子化する逆量子化部8と、その結果を逆直交変換する逆直交変換部9と、上記逆直交変換部9の出力と後述する予測モード選択部から出力される予測画像信号を加算し復号画像信号を生成する加算部10と、上記加算部の出力から上記予測画像信号を生成するイントラ予測部14と、デブロッキングフィルタ部でフィルタリングしたマクロブロック単位の上記復号画像信号を、記憶部の参照ピクチャバッファにてバッファリングし、規格で定められた所定のブロックサイズごとに、動きベクトルの探索を行い予測画像の生成を行う動き補償予測部を有する。これら、イントラ予測部14と動き補償予測部13の切替えは、上記ヘッダ抽出解析部105から出力される予測モードに従って行われる。
On the other hand, the decoding unit on the reception side of the image compression / decompression apparatus according to the present invention is buffered by the
さらに、上記構成に加え、所定単位時間内に予測モード選択部15を切替えて生成される参照予測画像のうちイントラ予測部を使って生成される参照予測画像と動き補償とを使って生成される参照予測画像の生成割合比を算出する予測モード情報蓄積部106を有し、例えば、上記イントラ予測部14による生成参照予測画像の割合比が急激に増加し、予め設定しておいた割合比を超えた場合には、上記予測モード情報蓄積部からアラーム検知部に対し、アラーム信号を発し、アラーム信号を受けたアラーム検知部は、それ以降に受信する符号化ストリームをアラーム画像として、アラーム画像記録部25に記録を開始させる構成とする。
Further, in addition to the above-described configuration, the reference prediction image generated using the intra prediction unit and the motion compensation among the reference prediction images generated by switching the prediction
本発明によれば、圧縮符号化ストリームのままの状態で、入力側の監視画像の変化を受信側で直ぐに検知可能となる。 According to the present invention, it is possible to immediately detect a change in the monitoring image on the input side on the receiving side while maintaining the compressed and encoded stream.
本発明を説明する前に、H.264符号化方式の従来例について図3、図4を用いて説明する。図3、図4は、H.264符号化部を説明するためのブロック図である。 Before describing the present invention, H.C. A conventional example of the H.264 encoding method will be described with reference to FIGS. 3 and FIG. It is a block diagram for demonstrating a H.264 encoding part.
はじめに、H.264符号化部について説明する。図3において、102は符号化部であり、1は入力端子である。この入力端子には、カメラ等で撮像された監視映像が入力され、輝度信号成分Yと2種類の色差信号成分CbとCrの映像データが、分離され入力される。これら入力された輝度信号成分Yと2種類の色差信号成分CbとCrの映像データはMB分割部3でMB(マクロブロック)16×16画素ブロックの輝度信号Yと8×8画素ブロックの色差信号CbとCrをそれぞれ、マクロブロック単位の符号化対象信号MBSに変換する。輝度信号成分Yと2種類の色差信号成分CbとCrの映像データは、MB分割部3でMB16×16画素ブロックの輝度信号Yとマクロブロック単位の符号化対象信号MBSに変換する。これらマクロブロック単位の符号化対象信号MBSは、減算部4で後述する予測画像信号PVと減算され、予測差分画像信号PΔV1が直交変換部5に供給される。
First, H. The H.264 encoding unit will be described. In FIG. 3, reference numeral 102 denotes an encoding unit, and 1 denotes an input terminal. A monitoring video imaged by a camera or the like is input to this input terminal, and video data of a luminance signal component Y and two types of color difference signal components Cb and Cr are separately input. The video data of the input luminance signal component Y and the two types of color difference signal components Cb and Cr is converted into an MB (macroblock) 16 × 16 pixel block luminance signal Y and an 8 × 8 pixel block color difference signal by the
なお、入力映像データは16×16画素ブロックの輝度信号Yと8×8画素ブロックの色差信号CbとCrそれぞれのマクロブロック単位のMBSは、説明を簡単にするために以下の説明では16×16画素ブロックの輝度信号Yのみを符号化対象として説明する。 For the input video data, the 16 × 16 pixel block luminance signal Y and the 8 × 8 pixel block color difference signals Cb and Cr MBS in units of macroblocks are described in the following description in order to simplify the description. Only the luminance signal Y of the pixel block will be described as an encoding target.
直交変換部5では水平、垂直方向の画像輝度データを水平方向、垂直方向の周波数スペクトルに変換するものであり、空間周波数スペクトルに変換された映像データを量子化部6で量子化する。量子化部6では、人の視覚特性が高周波成分に鈍感である特性を利用し、高周波成分側と低周波成分側とで量子化の荒さを変え、データ量の削減を行っている。量子化部6で量子化された映像データは、可変長符号化部7に供給される。
The
可変長符号化部7では、量子化部6で量子化されたデータを符号化し、マクロブロック単位の符号化対象信号MBSは、符号量を減少させることができ、画像データの圧縮が行われ、出力端子2から次段の信号処理装置へと伝達される。
The variable
一方、量子化部6からの空間周波数スペクトルに変換された映像データは、逆量子化部8で輝度信号Yと色差信号CbとCrの変換係数に対し逆量子化処理を行い、さらに後段の逆直交変換部9で再生予測差分信号PΔV2を復元し、加算部10に出力される。加算部10では、この再生予測信号PΔV2と後述する予測画像信号PVを加算部10で加算することにより、復号画像信号RVを再生し、デブロッキングフィルタ部11を介して記憶部12に供給される。復号画像信号RVはイントラ予測部14、予測モード選択部15を介して減算部4に供給され、減算部4では、前述した予測差分画像信号PΔV1が出力される。
On the other hand, the video data converted into the spatial frequency spectrum from the
次に、動き補償予測部13と動き検出部16について説明する。加算部10からの復号画像信号RVは、動き補償を行うためにブロックひずみを除去するデブロッキングフィルタ部11で、ブロックひずみを除去された復号信号が記憶部12に記憶される。この記憶部12に記憶された復号画像信号RVは、参照画像として動き補償予測部13および動き検出部16に供給される。
Next, the motion
動き検出部16では、符号化対象信号MBSを動き検索の対象とする16×16、16×8、8×16、8×8、8×4、4×8、4×4画素ブロックに分割し、各々のブロックに対し探索を行う。図5は、動き検出部16の構成例を示すブロック図である。130は入力端子、140は出力端子、131は16×16ブロック分割部、132は16×8ブロック分割部、133は8×16ブロック分割部、134は8×8ブロック分割部、135は8×4ブロック分割部、136は4×8ブロック分割部、137は4×4ロック分割部、138は動きベクトル探索部である。例えば、16×16の符号化対象信号MBSは8×8画素ブロック部134では、4個のブロックに分割され、その4個のブロックについて参照画像と比較され一致するブロックあるいは類似するブロックを探索する。例えば、16×16の符号化対象信号MBSを中心として、縦横16画素±16画素の範囲を探索範囲とした場合には、分割した8×8画素のブロック探索範囲の中を順次画素単位に移動して一致するブロックあるいは最も類似するブロックを探索する。つまり、分割した8×8画素ブロックの各画素の輝度値と探索範囲の中の8×8画素ブロック中の各画素の輝度値との差分値を演算し、8×8のブロックの各画素の差分値が最小のものを選択する。このようにして、4個のブロックの全てについて探索を行う。上記のような方法で、動きベクトル探索部138では、それぞれの画素ブロック分割部131〜137での各画素ブロックごとに、最小の輝度の差分値が算出されるので、その出力が動き最適画像選択部139に供給される。つまり、動きベクトル探索部138で、それぞれ探索された7個のブロックが、動き最適画像選択部139に供給され、動き最適画像選択部139では、これら7個のブロックから最も差分値の小さい分割ブロックを最適予測画像信号として選択する。
The
動き最適画像選択部139の出力は、動き補償予測部13および予測モード選択部15に供給される。動き補償予測部13では、動き最適画像選択部139の検出結果に基づいて最適予測画像信号が選択され、予測モード選択部15を介して減算部4及び加算部10に供給される。
The output of the motion optimal
予測モード選択部15では、先に説明したように動き検出部16の動きベクトル探索部138での差分値が前もって実験的に設定していた閾値よりも大きければ、探索範囲内に対象とする符号化対象信号MBSと一致するブロックあるいは、類似するブロックはないと判断し、この場合は、動き検出部16から出力信号は出ないこととなる。つまり、不審物侵入などによりフレーム間に相関のない画像が監視映像として入力された時に、イントラ予測部14が選択されやすい傾向にあり、この場合は先に説明したイントラ予測部14の出力が予測モード選択部15で選択され、減算部4および加算部10に供給される。
In the prediction
また、不審物侵入がなく、背景を含め動きがほとんどない、或いは、あったとしても部分的な画像が監視映像として入力された時には、動き補償部15が選択されやすい傾向にある。この場合は、動き検出部16の動きベクトル探索部138で最も小さい差分値の小さい分割ブロックが選択され、予測モード選択部15は動き補償予測部13の出力を選択し、減算部4および加算部10に供給する。なお、上記説明は、輝度信号Yについてのみ説明したが、色差信号については、4×4の固定画素に分割する場合を除き、輝度信号と同様の処理を行っているので、詳細な説明は省略する。
In addition, there is no suspicious object intrusion, there is little movement including the background, or even if a partial image is input as a surveillance video, the
次に、本発明に係る画像圧縮伸張装置における符号化部の一実施例について説明する。 Next, an embodiment of the encoding unit in the image compression / decompression apparatus according to the present invention will be described.
図1は、本発明におけるH.264符号化部の実施例のブロック図である。図1において、参照符号100は、符号化部を示し、106は予測モード選択部であり、104は予測モード累積部である。図3と共通のブロックには、同じ参照符号を付してある。
FIG. It is a block diagram of the Example of a H.264 encoding part. In FIG. 1,
ここで、図1に示す本発明の基本的な原理について説明する。H.264符号化方式における予測モード選択部15の動作については、上記図3で説明した通りであり、予測モード選択部15の出力は、入力画像によって適応的に切換わり、例えば、動き検出部16の動きベクトル探索部138での差分値が前もって実験的に設定して閾値よりも大きい場合には、探索範囲内に対象とする符号化対象信号MBSと一致するあるいは、類似するブロックはないと判断し、イントラ予測部14の出力が選択され、減算部4及び加算部10に供給する。また逆に、動き検出部16の動きベクトル探索部138で最も小さい差分値の小さい分割ブロックが選択された場合には、動き補償予測部13の出力を選択し、減算部4及び加算部10に供給する。
Here, the basic principle of the present invention shown in FIG. 1 will be described. H. The operation of the prediction
但し、映像遮断などの伝送トラブルによりエラーが発生した場合でも、エラー伝播を食い止め復帰できるように、周期的にイントラ予測部の出力を選択しなければならないことが規格上決まっており、この周期的な動作をリフレッシュと呼ぶ。 However, the standard determines that the output of the intra prediction unit must be selected periodically so that error propagation can be stopped and restored even if an error occurs due to transmission trouble such as video interruption. This operation is called refresh.
そこで、本発明では、例えば、監視被写体が通常は人や生物の出入りが禁じられた立ち入り禁止区域である場合、侵入物体がなく、前後のフレームで大きな画像変化がないと、符号化装置における予測モード選択部15は、動き検出部16の動きベクトル探索部138での差分値が前もって実験的に設定していた閾値以内に収まるため、探索範囲内に対象とする符号化対象信号MBSと一致するブロック或いは類似するブロックがあると判断し、動き検出部16から出力信号を出し、動き補償予測部13の出力が選択され、一方、立ち入り禁止区域にも関わらず、何らかの侵入物体があった場合には、符号化装置における予測モード選択部15は、動き検出部16の動きベクトル探索部138での差分値が前もって実験的に設定していた閾値を超え、探索範囲内に対象とする符号化対象信号MBSと一致するブロック、或いは類似するブロックがないと判断し、動き検出部16から出力信号を止め、イントラ予測部14の出力が選択される傾向のある予測モード選択部15の動作に着目して、本発明の画像圧縮伸張装置では上記リフレッシュレートを所定単位時間とし、この間に予測モード選択部15が選択するイントラ予測部と動き補償予測部を使って生成される予測参照画像の占める生成割合比率を上記予測モード累積部104で算出し、イントラ予測部を使った生成参照画像の占める割合比が急激に増減し、予め設定しておいた割合比を超えた場合には、監視被写体に何らかの変化があったものと判断し、予測選択情報を可変長符号化部7へ送り、ユーザーが使用可能な符号化ストリームヘッダのユーザー領域に付加して、受信側の複号化部へ送るようにする。
Therefore, in the present invention, for example, when the monitoring subject is an entry-inhibited area that is normally prohibited from entering or leaving humans or living things, there is no intruding object, and there is no significant image change between the previous and next frames. Since the difference value in the motion
次に、図4を用いてH.264の復号化部103(従来例)について説明した後に、本発明における受信側復号化部の一実施例を、図2を用いて説明する。 Next, referring to FIG. After describing the H.264 decoding unit 103 (conventional example), an embodiment of the receiving side decoding unit according to the present invention will be described with reference to FIG.
120は、受信側における圧縮符号化ストリームを受信する入力端子である。受信した圧縮符号化ストリームをバッファリングする受信バッファ20と、受信バッファ20でバッファリングされた圧縮符号化ストリームからストリームヘッダを抽出し解析を行うヘッダ抽出解析部21と、上記ヘッダを取り除いた符号化ストリームに対し復号処理を行う可変長復号化部22と、上記可変長復号化処理された予測差分画像信号を逆量子化する逆量子化部8と、その結果を逆直交変換する逆直交変換部9と、上記逆直交変換部の出力と、後述する予測モード選択部15から出力される予測画像信号PVを加算し復号画像信号RVを生成する加算部10と上記加算部10の出力から上記予測画像信号PVを生成するイントラ予測部14と、デブロッキングフィルタ部11で、フィルタリングしたマクロブロック単位の上記復号画像信号を、記憶部の参照ピクチャバッファにてバッファリングし、上記符号化部における動き検出部16と同様に所定のブロックサイズごとに、動きベクトルの探索を行う動き検出部16と、動き検出部16の出力に従い予測画像の生成を行う動き補償予測部13を有する。
また、上記復号画像信号RVはスキャン変換部23にも出力され、マクロブロックをラインスキャンにスキャン変更したのち、モニタ出力部24を通して所定のフォーマットに戻した復号化ストリームが出力端子27から出力される。従来の遠隔監視者は、上記復号化ストリームを目視確認し、何らかの問題を発見した時には、アラーム検知部26よりアラームを出し、アラーム画像記録部に記録し、監視画像を保存している。なお、図4において、送信側の符号化部102(図3)と同一の機能のものには同じ参照符号を付してある。次に、本発明の復号化部の特徴となるブロックについて本発明の一実施例である図2を用いて説明する。
The decoded image signal RV is also output to the
該当ブロックは、ヘッダ抽出解析部105、予測モード情報蓄積部106、アラーム検知部26とアラーム画像記録部25である。(図4と同じものには同じ参照符号を付してある)上記のように、送信側から送られてくる圧縮符号化ストリームは、入力端子120で受信されたのち、受信バッファ20を介し、ヘッダ抽出解析部105に入力される。ヘッダ抽出解析部105では、上記送信側の可変長符号化部7で付加された予測選択情報を、符号化ストリームヘッダのユーザー領域から抽出し、解析を行い、抽出した予測選択情報を予測モード情報蓄積部106に送る。予測モード情報蓄積部106では、予測選択情報を累積し、リフレッシュ間隔毎の増減を予め設定してあった閾値レベルを超えるかどうか判定を行い、閾値レベルを超えた場合、すなわちイントラ予測部14を使った生成参照画像が続き、大半を占める場合には、送信側の監視モニタ画像に何らかのイベントが発生したと判断し、アラーム検知部107に対し、アラーム信号を発する。
The corresponding blocks are the header
アラーム検知部107では、アラーム信号を受けると、その受信頻度に従い、以降受信する符号化ストリームをアラーム画像として、アラーム画像記録部108に記録開始するアラームトリガ信号を出力するように構成される。アラーム画像記録部108では、上記アラームトリガ信号に従い、ヘッダ抽出解析部105から出力される符号化ストリームを復号することなく記録し始める。
以上説明したように、本発明の符号化装置では、上記リフレッシュレートを所定単位時間とし、この間に予測モード選択部106が選択するイントラ予測部と動き補償予測部を使って生成される予測参照画像の閉める割合比を超えた場合には、監視被写体に何らかの変化があったものと判断し、予測選択情報を可変長符号化部へ7へ送り、ユーザーが使用可能な符号化ストリームヘッダのユーザー領域に付加して、受信側の復号部へ送るようにする。
When receiving an alarm signal, the
As described above, in the encoding apparatus according to the present invention, the refresh reference is generated by using the intra prediction unit and the motion compensation prediction unit selected by the prediction
一方、受信側の復号化部では、圧縮ストリームのヘッダ情報の解析を行い、抽出した予測選択情報を予測モード情報蓄積部106に送る。予測モード情報蓄積部106では予測選択情報を累積し、リフレッシュ間隔の増減を予め設定してあった閾値レベルを超えるかどうか判定を行い、閾値レベルを超えた場合、すなわちイントラ予測部14を使った生成参照画像が続き大半を占める場合には、送信側の監視モニタ画像に何らかのイベントが発生したと判断し、アラーム検知部107に対しアラーム信号を発する構成である。
On the other hand, the decoding unit on the receiving side analyzes header information of the compressed stream, and sends the extracted prediction selection information to the prediction mode
本発明は画像圧縮伸張装置に利用できる。 The present invention can be used in an image compression / decompression apparatus.
1,120…入力端子、2…出力端子、3…MB分割部、4…減算部、5…直交変換部、6…量子化部、7…可変長符号化部、8…逆量子化部、9…逆直交変換部、10…加算部、11…デブロッキングフィルタ部、12…参照ピクチャバッファ、13…動き補償予測部、14…イントラ予測部、15,106…予測モード選択部、16…動き検出部、20…受信バッファ、22…可変長復号化部、23…スキャン変換部、24…モニタ出力部、
108…アラーム画像記録部、26…アラーム検知部、104…予測モード累積部、
100,102…符号化部、101,103…復号化部、PV…予測画像信号、
PΔV1…予測差分画像信号、PΔV2…再生予測差分信号、
RV…復号画像信号、105…へッダ抽出解析部。
DESCRIPTION OF SYMBOLS 1,120 ... Input terminal, 2 ... Output terminal, 3 ... MB division part, 4 ... Subtraction part, 5 ... Orthogonal transformation part, 6 ... Quantization part, 7 ... Variable length coding part, 8 ... Dequantization part, DESCRIPTION OF
108 ... alarm image recording unit, 26 ... alarm detection unit, 104 ... prediction mode accumulation unit,
100, 102 ... Coding unit, 101, 103 ... Decoding unit, PV ... Predicted image signal,
PΔV1 ... prediction difference image signal, PΔV2 ... reproduction prediction difference signal,
RV: Decoded image signal, 105: Header extraction analysis unit.
Claims (2)
る圧縮伸張装置。 In a remote monitoring system using an encoding method that adaptively switches between an intra prediction unit and a motion compensation prediction unit to generate a reference prediction image, a change in the time axis direction of the monitoring image without decoding the received encoded stream An image compression / decompression apparatus comprising means for detecting the presence or absence of the image.
Compression and decompression device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009008891A JP5244625B2 (en) | 2009-01-19 | 2009-01-19 | Image compression / decompression device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009008891A JP5244625B2 (en) | 2009-01-19 | 2009-01-19 | Image compression / decompression device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010166489A true JP2010166489A (en) | 2010-07-29 |
JP5244625B2 JP5244625B2 (en) | 2013-07-24 |
Family
ID=42582282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009008891A Active JP5244625B2 (en) | 2009-01-19 | 2009-01-19 | Image compression / decompression device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5244625B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101585022B1 (en) | 2014-10-02 | 2016-01-14 | 주식회사 에스원 | Streaming Data Analysis System for Motion Detection in Image Monitering System and Streaming Data Analysis Method for Motion detection |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003288599A (en) * | 2002-02-05 | 2003-10-10 | Samsung Electronics Co Ltd | Apparatus detecting motion of image data and detecting method thereof |
JP2004274216A (en) * | 2003-03-06 | 2004-09-30 | Sharp Corp | Moving image data dividing apparatus |
JP2005012422A (en) * | 2003-06-18 | 2005-01-13 | Victor Co Of Japan Ltd | Intercom system |
-
2009
- 2009-01-19 JP JP2009008891A patent/JP5244625B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003288599A (en) * | 2002-02-05 | 2003-10-10 | Samsung Electronics Co Ltd | Apparatus detecting motion of image data and detecting method thereof |
JP2004274216A (en) * | 2003-03-06 | 2004-09-30 | Sharp Corp | Moving image data dividing apparatus |
JP2005012422A (en) * | 2003-06-18 | 2005-01-13 | Victor Co Of Japan Ltd | Intercom system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101585022B1 (en) | 2014-10-02 | 2016-01-14 | 주식회사 에스원 | Streaming Data Analysis System for Motion Detection in Image Monitering System and Streaming Data Analysis Method for Motion detection |
Also Published As
Publication number | Publication date |
---|---|
JP5244625B2 (en) | 2013-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4014263B2 (en) | Video signal conversion apparatus and video signal conversion method | |
US7933333B2 (en) | Method and apparatus for detecting motion in MPEG video streams | |
RU2506711C2 (en) | Image processing method and apparatus | |
JP2004200989A (en) | Imaging apparatus and supervisory system | |
KR101585022B1 (en) | Streaming Data Analysis System for Motion Detection in Image Monitering System and Streaming Data Analysis Method for Motion detection | |
US7280596B2 (en) | Apparatus detecting motion of image data and detecting method thereof | |
KR20060043051A (en) | Method for encoding and decoding video signal | |
JP2007194928A (en) | Remote monitoring device and method | |
US20120033138A1 (en) | Motion detector for cadence and scene change detection and methods for use therewith | |
US20130251033A1 (en) | Method of compressing video frame using dual object extraction and object trajectory information in video encoding and decoding process | |
US9654775B2 (en) | Video encoder with weighted prediction and methods for use therewith | |
JP2017126896A (en) | Monitoring system, monitoring device, and reproducer | |
KR20040084517A (en) | Security system using mobile phone | |
TWI577180B (en) | Dynamic image prediction decoding device, dynamic image prediction decoding method | |
US20150208082A1 (en) | Video encoder with reference picture prediction and methods for use therewith | |
JP5244625B2 (en) | Image compression / decompression device | |
JPH07231442A (en) | Security monitor device | |
CN110012289A (en) | It is a kind of based on crowd's method for detecting abnormality H.264 | |
KR100366382B1 (en) | Apparatus and method for coding moving picture | |
KR102271118B1 (en) | Apparatus and method for recording video data | |
JP4157661B2 (en) | Method and apparatus for detecting moving object in moving image | |
JP5081729B2 (en) | Image encoding device | |
KR100987922B1 (en) | Frame based reference frame fate distortion optimization using Motion Blur/Deblur post filter | |
JP2012227955A (en) | Image encoder | |
JP3658016B2 (en) | Digital image communication / recording device, transmitting device, receiving device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110930 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120627 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120710 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120905 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130326 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130408 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160412 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5244625 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |