JP3985567B2 - Encoding device and encoding method - Google Patents
Encoding device and encoding method Download PDFInfo
- Publication number
- JP3985567B2 JP3985567B2 JP2002100823A JP2002100823A JP3985567B2 JP 3985567 B2 JP3985567 B2 JP 3985567B2 JP 2002100823 A JP2002100823 A JP 2002100823A JP 2002100823 A JP2002100823 A JP 2002100823A JP 3985567 B2 JP3985567 B2 JP 3985567B2
- Authority
- JP
- Japan
- Prior art keywords
- video signal
- output
- switching
- determination
- signal
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、例えば携帯電話やTV電話システム等において、リアルタイムで映像信号を符号化する符号化装置および符号化方法に関するものである。
【0002】
【従来の技術】
図4に符号化装置の一例を示す。図4に示す符号化装置は、メモリ1、および符号化部104により構成される。メモリ1は、輝度信号および色差信号からなる映像信号を、マクロブロックに分割して出力する。図5はマクロブロックの構成を模式的に示す図である。ここでは、各マクロブロックの大きさを16(画素)×16(ライン)とする。映像信号が4:2:0の場合、16×16の領域の映像は、16×16の輝度信号Y、および8×8の2つの色差信号Cb,Crによって表される。従って、図5のように、8×8の6つのブロック(輝度信号に対応する4つのブロック、色差信号Cb,Crに対応するブロックが2つのブロック)により1つのマクロブロックが構成される。
【0003】
符号化部104は、マクロブロック単位で入力される映像信号に対し、イントラ符号化、またはインター符号化(フレーム間符号化と称する場合もある)を行うことにより符号化データを生成する。減算器2は、マクロブロック単位で入力される映像信号と、予測画像作成器11により出力される予測画像との差分を出力する。DCT回路3は、減算器2の出力に離散コサイン変換(Discrete Cosine Transform)を行うことにより、DCT係数を出力する。量子化回路4は、DCT回路3により出力されたDCT係数を量子化する。DC/AC予測器5は、現在のブロックに隣接するブロックのDC、およびAC係数に基づいて、DC係数およびAC係数の予測を行う。DC/AC予測器によって出力される予測係数は、図示しない並び替えメモリにより1次元配列に変換し、可変長符号化回路6に出力される。
【0004】
量子化回路4の出力はまた、逆量子化回路7に与えられる。逆量子化回路7は、量子化回路4により量子化されたDCT係数を逆量子化する。逆DCT回路8は、逆量子化回路の出力を逆DCT変換する。加算器9は、逆DCT回路8の出力と、予測画像作成器11の出力とを加算することにより得られる復号画像を復号画像メモリ10に出力する。復号画像は、インター符号化の際に行われる、動きベクトルの検出、および予測画像の作成に用いられる。
【0005】
動き検出回路12は、復号画像メモリ10により出力される復号画像、およびメモリ1によりマクロブロック単位で入力される映像信号に基づいて、動きベクトルの検出を行う。動きベクトルは、復号画像の中で各マクロブロックに最も近い画像が現れる位置を示すものである。予測画像作成器11は、動きベクトルに基づいて、復号画像から現在の映像信号に対応する予測画像を作成し、減算器2、および加算器9に出力する。動きベクトル予測回路13は、動きベクトルの予測を行い、予測ベクトルを可変長符号化回路6に出力する。可変長符号化回路6は、DC/AC予測器5、および動きベクトル13の出力を量子化パラメータなどの付加情報とともに可変長符号化し、ビットストリームを出力する。
【0006】
以下、イントラ符号化、およびイントラ符号化における符号化部104の動作について説明する。
イントラ符号化の場合、予測画像の作成は行われないので、DCT回路3にはメモリ1により出力される映像信号がマクロブロック単位で入力される。DCT回路3は、映像信号の各マクロブロックに対してDCT変換を行って得られるDCT係数を出力する。DCT回路3により出力される映像信号のDCT係数は、量子化回路4により量子化された後、DC/AC予測器5によりDC/AC予測され、可変長符号化回路6により量子化パラメータなどの付加情報とともに可変長符号化されビットストリームとして出力される。ここで、すべてのマクロブロックに対してイントラ符号化を適用するフレームをイントラフレーム(Iフレーム)と呼ぶ。
【0007】
一方、インター符号化の場合、減算器2からは予測画像と、メモリ1により出力される映像信号との差分(差信号)がマクロブロック単位で出力される。DCT回路3は予測画像と映像信号との差信号に対し、DCT変換を行って得られるDCT係数を出力する。差信号のDCT係数は、量子化回路4により量子化された後、DC/AC予測器5によりDC/AC予測され、可変長符号化回路6により動きベクトル、および量子化パラメータなどの付加情報とともに可変長符号化されビットストリームとして出力される。
【0008】
【発明が解決しようとする課題】
フレーム間予測を用いた符号化装置においては、シーンチェンジの多い映像や、動きの速い映像を符号化する場合、可変長符号化回路6により出力されるビットストリームのデータ容量が増大するという問題があった。また、こうした場合に量子化回路4の量子化ビット数を削減するよう構成した場合は、量子化ステップ幅が粗くなり符号化歪みが発生するという問題があった。
【0009】
本発明は、上述のような課題を解消するためになされたもので、シーンチェンジの多い映像が入力された場合においても、符号化歪みを増大させることなく符号化データのデータ容量を抑えることが可能な符号化装置、および符号化方法を提供することを目的とする。
【0010】
【課題を解決するための手段】
本発明による符号化装置は、入力画像を表す映像信号の帯域を制限した、前記入力画像に対応する帯域制限映像信号を出力するフィルタ手段と、前記映像信号または前記帯域制限映像信号のいずれかを出力する切替出力手段と、前記切替出力手段の出力を1フレーム分蓄積して1フレームに相当する期間遅延した第1の切替映像信号を出力するとともに、蓄積された前記切替出力手段の出力をマクロブロック単位に分割した第2の切替映像信号を出力するメモリ手段と、前記映像信号と前記帯域制限映像信号と前記第1の切替映像信号とに基づいて、前記映像信号のフレーム間の相関性の低さを表す判定信号を出力する判定手段と、前記第2の切替映像信号を符号化する符号化手段とを備え、前記切替出力手段は、前記判定信号に基づいて出力を切替えるとともに、前記判定手段は、前記映像信号と前記第1の切替映像信号との差を画素毎に演算して出力する第1の差分手段と、前記帯域制限映像信号と前記第1の切替映像信号との差を画素毎に演算して出力する第2の差分手段と、フレーム内のそれぞれの画素のうちで、前記第1の差分手段の出力の絶対値が第2の所定値よりも大きく、かつ、前記第2の差分手段の出力の絶対値が第3の所定値よりも大きい、画素の数をカウントする計数器とを備え、前記フレーム間の相関性の低さを表す値が第1の所定値よりも大きい場合は、前記判定信号として、前記切替出力手段に前記帯域制限映像信号を出力させるように切替える第1の判定信号を出力し、前記フレーム間の相関性の低さを表す値が前記第1の所定値以下である場合は、前記判定信号として、前記切替出力手段に前記映像信号を出力させるように切替える第2の判定信号を出力するとともに、前記フレーム間の相関性の低さを表す値が前記計数器でカウントされた画素カウント値であることを特徴とするものである。
【0017】
【発明の実施の形態】
以下、本発明をその実施の形態を示す図に基づいて具体的に説明する。尚、図において、従来のものと同一、または相当のものについては同一符号を付して説明を省略する。
【0018】
図1は本発明の一実施形態による符号化装置の構成を示すブロック図である。図1に示す符号化装置は、フィルタ101、切替器102、判定器103、メモリ1a、および符号化部104により構成される。符号化部104の構成、および動作は、図4に示した従来のものと同様である。
【0019】
フィルタ101は入力される映像信号の帯域(主に高域成分)を制限することにより、当該映像信号に対応する帯域制限映像信号を出力する。切替器102は、判定器103により出力される判定信号が‘0’の場合は映像信号を選択し、‘1’の場合はフィルタ101により出力される帯域制限映像信号をメモリ1aに出力する(判定信号の詳細については後述する)。メモリ1aは、切替器102により出力される映像信号、または帯域制限映像信号を1フレームに相当する期間遅延した後、判定器103に出力する。また、メモリ1aは、符号化部104に対しては、切替器102により出力された映像信号、または帯域制限映像信号をマクロブロック単位で出力する。符号化部104はメモリ1aによりマクロブロック単位で出力される、映像信号、または帯域制限映像信号に対し、インター符号化、またはイントラ符号化によるフレーム間予測符号化処理を行う。
【0020】
判定器103は、映像信号、帯域制限映像信号、およびメモリ1aにより出力される1フレーム前の映像信号、または当該1フレーム前の映像信号に対応する帯域制限映像信号に基づいて、映像信号によって表される画像と、当該画像の1フレーム前の画像との相関性を表す判定信号を出力する。判定器103は、現在の画像と、1フレーム前の画像との相関性が高いと判定された場合は判定信号を‘0’とし、低いと判定された場合は‘1’として出力する。これにより、1フレーム前の画像との相関性が高い場合(判定信号‘0’)、映像信号がそのまま符号化部104により符号化され、反対に、相関性が低い場合、つまりシーンチェンジが生じた場合(判定信号‘1’)、帯域制限によりデータ容量を削減した帯域制限映像信号が符号化部104により符号化される。
【0021】
符号化部104により出力されるビットストリームの符号量は、映像信号にシーンチェンジといった大きな変化が生じた場合に大幅に増加する。したがって、こうした場合に、データ量を削減した帯域制限映像信号を符号化することにより、符号量の急激な増加を防ぐことができる。
【0022】
以下、判定器103の具体的な構成、および動作について説明する。
図2は、判定器103の内部構成の一例を示すブロック図である。判定器103は、減算器201,205、絶対値検出器202,206、比較器203,207、論理積演算器204、計数器208、および比較器209により構成される。
【0023】
先に述べたように、メモリ1aの出力は、1フレーム前の画像を表す映像信号、または当該1フレーム前の画像を表す映像信号をフィルタ101により帯域制限した帯域制限映像信号となる。
【0024】
減算器201は映像信号とメモリ1aの出力との差分を画素毎に出力し、絶対値検出器202は減算器201の出力の絶対値(差分絶対値a)を出力する。減算器205はフィルタ101の出力とメモリ1aの出力との差分を画素毎に出力し、絶対値検出器206は減算器205の出力の絶対値(差分絶対値b)を出力する。
【0025】
絶対値検出器202,206により出力される差分絶対値a,bは、現在の画像と、1フレーム前の画像との差が大きい場合に大きな値となる。ここで、差分絶対値aは、メモリ1aの出力がフィルタ101により出力される1フレーム前の帯域制限映像信号である場合は、現在の画像を表す映像信号が高域成分を多く含む場合にも大きな値となる。また、差分絶対値bは、メモリ1bの出力が1フレーム前の画像を表す映像信号である場合、当該1フレーム前の画像を表す映像信号が高域性分を多く含む場合においても大きな値となる。
【0026】
比較器203は、差分絶対値aを予め設定される定数αと比較し、差分絶対値aが定数α以下の場合(a≦α)、‘0’を出力し、差分絶対値aがαより大きい場合(a>α)、‘1’を出力する。また、比較器207は、差分絶対値bを予め設定される定数βと比較し、差分絶対値bがβ以下の場合(b≦β)、‘0’を出力し、反対に差分絶対値がβより大きい場合(b>β)、‘1’を出力する。
【0027】
論理積演算器204は、比較器203,207の出力の論理積を出力し、計数器208は論理積演算器204の出力をカウントする。ここで、係数器208のカウント値は1フレーム毎にリセットされるものとする。論理積演算器204の出力は、差分絶対値aが設定値αよりも大きく、かつ差分絶対値bが設定値βよりも大きい場合に‘1’となる。
【0028】
比較器209は、計数器208のカウント値を予め設定される定数γと比較し、当該カウント値が定数γ以下の場合は‘0’、当該カウント値が定数γより大きくなった場合に‘1’となる判定信号を切替器102に出力する。したがって、比較器209により出力される判定信号は、現在の画像と、1フレーム前の画像との差が大きい場合、つまりシーンチェンジが生じた場合に‘1’となる。切替器102は判定信号が‘0’の場合は映像信号をメモリ1aに出力し、‘1’の場合は帯域制限映像信号をメモリ1aに出力する。これにより、シーンチェンジが生じた場合、帯域制限によりデータ容量を削減した帯域制限映像信号が符号化される。
【0029】
なお、フレーム単位で映像信号、または帯域制限映像信号の切替を行う場合、計数器208のカウント値をフレーム毎にリセットし、比較器209の定数γについても1フレームにおける画素数に対応した値とする。
【0030】
また、フレーム内の複数ライン、ないし複数画素からなる所定の判定単位毎に映像信号、または帯域制限映像信号の切替を行う場合は、計数器208のカウント値を当該判定単位毎にリセットし、比較器209の定数γについても1ブロックにおける画素数に対応した値とする。
【0031】
尚、フィルタ101は水平方向の低域通過フィルタでも、垂直方向の低域通過フィルタでも、水平・垂直の2次元フィルタであってもよい。
【0032】
上記の説明では符号化部104がMPEG4に準拠した符号化方式を用いる場合について説明したが、符号化部104は、H.261、H.263またはMPEG2、MPEG1に対応した符号化方式を用いるものであってもよい。また、符号化部104は、動き補償予測とDCTを用いた符号化方式に限らず、任意のフレーム間予測符号化方式を用いるものであればよい。
【0033】
図3は、本発明による符号化装置の他の構成を示すブロック図であり、図1と同一符号は、同一、または相当部分を示す。遅延回路301,302は、映像信号、およびフィルタ101の出力を、それぞれ所定期間遅延する。切替器102は、遅延回路301,302の出力のいずれかをメモリ1aに出力する。
【0034】
次に動作について説明する。判定器103は、図2に示すものと同様の構成を有し、先に説明した動作により判定信号を出力する。このとき、判定器103は複数ラインまたは複数画素からなる所定の判定単位毎に判定を行う。
【0035】
遅延回路301,302は、映像信号、およびフィルタ101により出力される帯域制限映像信号を、判定器103における前記判定単位毎に出力する。切替器102は判定器103により出力される判定信号に基づいて、遅延回路301,302の出力を切り替えてメモリ1aに出力する。これにより、判定器103において1フレーム前の画像との相関性が低いと判定された判定単位については、当該判定単位に対応する帯域制限映像信号がメモリ1aに出力される。また、判定器103において1フレーム前の画像との相関性が高いと判定された判定単位については、当該判定単位に対応する映像信号がメモリ1aに出力される。
【0036】
メモリ1aは、切替器102により、判定単位毎に出力される映像信号、または帯域制限映像信号を1フレームに相当する期間遅延して判定回路103に出力する。また、メモリ1aは、判定単位毎に出力される映像信号、および/または帯域制限映像信号により構成される1フレーム分の画像を表す信号をブロック単位で符号化部104に出力する。
【0037】
このように、複数のライン、または複数の画素からなる所定の判定単位毎に、1フレーム前の画像との相関性を検出し、前記判定単位毎に出力される判定信号に基づいてフィルタ101の出力を切替えることで、画像の一部が大きく変化するような場合、変化している部分のみにフィルタをかけることにより、フィルタ処理に伴う解像度劣化を目立たなくすることができる。
【0038】
なお、判定器103は輝度信号のみに基づいて判定信号を出力し、色差信号については、画面上で同一位置に相当する輝度信号の判定結果を使用するよう構成してもよい。
【0039】
また、上記説明においては、映像信号が図5に示したような4:2:0信号であるとしたが、映像信号はこれに限らず、RGB信号であっても、カラー情報をもたないモノクローム信号であってもよい。
【0040】
【発明の効果】
請求項1、および3に記載の符号化装置、および符号化方法は、1フレーム前の画像を出力するためのメモリと、符号化される信号をマクロブロック単位に分割して出力するためのメモリを兼用することができるので、回路規模を縮小することができる。
【図面の簡単な説明】
【図1】 本発明の一実施形態による符号化装置の構成を示すブロック図である。
【図2】 判定器の構成の一例を示すブロック図である。
【図3】 本発明の一実施形態による符号化装置の他の構成を示すブロック図である。
【図4】 従来の符号化装置の構成を示すブロック図である。
【図5】 ブロックの構成を示す概念図である。
【符号の説明】
1a メモリ、101 フィルタ、102 切替器、103 判定器、104符号化部、201 減算器、202 絶対値検出器、203 比較器、204論理積演算器、205 減算器、206 絶対値検出器、207 比較器、208 計数器、209 比較器。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an encoding apparatus and an encoding method for encoding a video signal in real time in, for example, a mobile phone or a TV phone system.
[0002]
[Prior art]
FIG. 4 shows an example of an encoding device. The encoding apparatus illustrated in FIG. 4 includes a
[0003]
The
[0004]
The output of the quantization circuit 4 is also given to the
[0005]
The
[0006]
Hereinafter, the operation of the
In the case of intra coding, since a predicted image is not created, the video signal output from the
[0007]
On the other hand, in the case of inter coding, the subtracter 2 outputs the difference (difference signal) between the predicted image and the video signal output from the
[0008]
[Problems to be solved by the invention]
In an encoding apparatus using inter-frame prediction, when encoding a video with many scene changes or a video with fast motion, there is a problem that the data capacity of the bit stream output from the variable length encoding circuit 6 increases. there were. In such a case, if the quantization circuit 4 is configured to reduce the number of quantization bits, there is a problem that the quantization step width becomes coarse and coding distortion occurs.
[0009]
The present invention has been made to solve the above-described problems, and can suppress the data volume of encoded data without increasing encoding distortion even when a video with many scene changes is input. An object is to provide a possible encoding device and encoding method.
[0010]
[Means for Solving the Problems]
An encoding apparatus according to the present invention includes a filter unit that limits a band of a video signal representing an input image and outputs a band limited video signal corresponding to the input image, and either the video signal or the band limited video signal. Switching output means for outputting, the output of the switching output means is accumulated for one frame, the first switching video signal delayed for a period corresponding to one frame is outputted, and the accumulated output of the switching output means is macro Based on the video signal, the band-limited video signal, and the first switching video signal, the memory means for outputting the second switching video signal divided into blocks, the correlation between the frames of the video signal A determination unit that outputs a determination signal representing lowness, and an encoding unit that encodes the second switching video signal, wherein the switching output unit outputs based on the determination signal. With switches, said determining means, said video signal and said first and first differentiating means for differential and calculates for each pixel the outputs of the switching video signals, the said band-limited image signal a first switching A second difference unit that calculates and outputs a difference from the video signal for each pixel; and among each pixel in the frame, an absolute value of an output of the first difference unit is greater than a second predetermined value. A counter that counts the number of pixels that is large and has an absolute value of an output of the second difference means that is greater than a third predetermined value, and a value that represents a low correlation between the frames. When larger than the first predetermined value, a first determination signal for switching so that the switching output means outputs the band-limited video signal is output as the determination signal, and the correlation between the frames is low. When the value representing is less than or equal to the first predetermined value As the judgment signal, and outputs a second determination signal for switching so as to output the video signal to said switch output means, a pixel value representing the correlation between low between the frames is counted by the counter It is a count value .
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof. In the figure, parts that are the same as or equivalent to the conventional ones are given the same reference numerals and explanations thereof are omitted.
[0018]
FIG. 1 is a block diagram showing a configuration of an encoding apparatus according to an embodiment of the present invention. The encoding apparatus shown in FIG. 1 includes a
[0019]
The
[0020]
The
[0021]
The amount of code of the bit stream output from the
[0022]
Hereinafter, a specific configuration and operation of the
FIG. 2 is a block diagram illustrating an example of the internal configuration of the
[0023]
As described above, the output of the memory 1a is a video signal representing an image one frame before, or a band limited video signal obtained by band-limiting the video signal representing the image one frame before by the
[0024]
The
[0025]
The absolute difference values a and b output by the
[0026]
The
[0027]
The AND
[0028]
The
[0029]
When switching video signals or band-limited video signals in units of frames, the count value of the
[0030]
In addition, when switching a video signal or a band-limited video signal for each predetermined determination unit composed of a plurality of lines or pixels in a frame, the count value of the
[0031]
The
[0032]
In the above description, the case where the
[0033]
FIG. 3 is a block diagram showing another configuration of the encoding apparatus according to the present invention. The same reference numerals as those in FIG. 1 denote the same or corresponding parts. The
[0034]
Next, the operation will be described. The
[0035]
The
[0036]
The memory 1 a delays the video signal output for each determination unit or the band-limited video signal by the
[0037]
As described above, the correlation with the image one frame before is detected for each predetermined determination unit including a plurality of lines or a plurality of pixels, and the
[0038]
Note that the
[0039]
In the above description, the video signal is a 4: 2: 0 signal as shown in FIG. 5, but the video signal is not limited to this, and even an RGB signal does not have color information. It may be a monochrome signal.
[0040]
【The invention's effect】
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an encoding apparatus according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating an example of a configuration of a determiner.
FIG. 3 is a block diagram showing another configuration of the encoding apparatus according to the embodiment of the present invention.
FIG. 4 is a block diagram showing a configuration of a conventional encoding device.
FIG. 5 is a conceptual diagram showing a configuration of a block.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1a Memory, 101 filter, 102 switching device, 103 judgment device, 104 encoding part, 201 subtractor, 202 absolute value detector, 203 comparator, 204 AND operation unit, 205 subtractor, 206 absolute value detector, 207 Comparator, 208 counter, 209 comparator.
Claims (4)
前記映像信号または前記帯域制限映像信号のいずれかを出力する切替出力手段と、
前記切替出力手段の出力を1フレーム分蓄積して1フレームに相当する期間遅延した第1の切替映像信号を出力するとともに、蓄積された前記切替出力手段の出力をマクロブロック単位に分割した第2の切替映像信号を出力するメモリ手段と、
前記映像信号と前記帯域制限映像信号と前記第1の切替映像信号とに基づいて、前記映像信号のフレーム間の相関性の低さを表す判定信号を出力する判定手段と、
前記第2の切替映像信号を符号化する符号化手段と、
を備え、
前記切替出力手段は、前記判定信号に基づいて出力を切替えるとともに、
前記判定手段は、
前記映像信号と前記第1の切替映像信号との差を画素毎に演算して出力する第1の差分手段と、
前記帯域制限映像信号と前記第1の切替映像信号との差を画素毎に演算して出力する第2の差分手段と、
フレーム内のそれぞれの画素のうちで、前記第1の差分手段の出力の絶対値が第2の所定値よりも大きく、かつ、前記第2の差分手段の出力の絶対値が第3の所定値よりも大きい、画素の数をカウントする計数器と、
を備え、
前記フレーム間の相関性の低さを表す値が第1の所定値よりも大きい場合は、前記判定信号として、前記切替出力手段に前記帯域制限映像信号を出力させるように切替える第1の判定信号を出力し、
前記フレーム間の相関性の低さを表す値が前記第1の所定値以下である場合は、前記判定信号として、前記切替出力手段に前記映像信号を出力させるように切替える第2の判定信号を出力するとともに、
前記フレーム間の相関性の低さを表す値が前記計数器でカウントされた画素カウント値であることを特徴とする符号化装置。Filter means for limiting a band of a video signal representing an input image and outputting a band limited video signal corresponding to the input image;
Switching output means for outputting either the video signal or the band-limited video signal;
The second output is obtained by accumulating the output of the switching output means for one frame, outputting a first switching video signal delayed for a period corresponding to one frame, and dividing the accumulated output of the switching output means in units of macroblocks. Memory means for outputting a switching video signal of
A determination unit that outputs a determination signal indicating low correlation between frames of the video signal based on the video signal, the band-limited video signal, and the first switching video signal;
Encoding means for encoding the second switching video signal;
With
The switching output means switches the output based on the determination signal,
The determination means includes
First difference means for calculating and outputting a difference between the video signal and the first switching video signal for each pixel;
Second difference means for calculating and outputting a difference between the band-limited video signal and the first switching video signal for each pixel;
Of each pixel in the frame, the absolute value of the output of the first difference means is larger than a second predetermined value, and the absolute value of the output of the second difference means is a third predetermined value. A counter that counts the number of pixels greater than,
With
When the value representing the low correlation between the frames is greater than a first predetermined value, the determination signal is switched as the determination signal so that the switching output means outputs the band-limited video signal. Output
When a value indicating low correlation between the frames is equal to or less than the first predetermined value, a second determination signal that is switched so that the switching output unit outputs the video signal is used as the determination signal. and outputs,
The encoding apparatus according to claim 1 , wherein a value indicating low correlation between the frames is a pixel count value counted by the counter .
切替出力手段は、前記判定信号に基づいて、前記判定単位に対応する映像信号、または帯域制限映像信号のいずれかを出力することを特徴とする請求項1に記載の符号化装置。The determination means outputs a determination signal indicating low correlation between the input image and an image one frame before the input image for each determination unit including a plurality of pixels or lines constituting the input image,
Switching output means, based on said decision signal, wherein the video signal corresponding to the determination unit encoding apparatus according or claim 1, characterized in that outputs one of band-limited image signal.
前記映像信号または前記帯域制限映像信号のいずれかを出力する切替出力ステップと、
前記切替出力ステップでの出力を1フレーム分蓄積して1フレームに相当する期間遅延した第1の切替映像信号と、前記切替出力ステップの出力をマクロブロック単位に分割した第2の切替映像信号と、を出力するメモリステップと、
前記映像信号と前記帯域制限映像信号と前記第1の切替映像信号とに基づいて、前記映像信号のフレーム間の相関性の低さを表す判定信号を出力する判定ステップと、
前記第2の切替映像信号を符号化する符号化ステップと、
を備え、
前記切替出力ステップは、前記判定信号に基づいて出力を切替えるとともに、
前記判定ステップは、
前記帯域制限映像信号と前記第1の切替映像信号との差を画素毎に演算して出力する第2の差分ステップと、
フレーム内のそれぞれの画素のうちで、前記第1の差分ステップでの出力の絶対値が第2の所定値よりも大きく、かつ、前記第2の差分ステップでの出力の絶対値が第3の所定 値よりも大きい、画素の数をカウントする計数ステップと、
を備え、
前記フレーム間の相関性の低さを表す値が第1の所定値よりも大きい場合は、前記判定信号として、前記切替出力ステップにて前記帯域制限映像信号を出力させるように切替える第1の判定信号を出力し、
前記フレーム間の相関性の低さを表す値が前記第1の所定値以下である場合は、前記判定信号として、前記切替出力ステップにて前記映像信号を出力させるように切替える第2の判定信号を出力するとともに、
前記フレーム間の相関性の低さを表す値が前記計数ステップでカウントされた画素カウント値であることを特徴とする符号化方法。A filtering step for limiting a bandwidth of a video signal representing an input image, and outputting a bandwidth limited video signal corresponding to the input image;
A switching output step for outputting either the video signal or the band-limited video signal;
A first switching video signal obtained by accumulating the output of the switching output step for one frame and delayed for a period corresponding to one frame; a second switching video signal obtained by dividing the output of the switching output step in units of macroblocks; A memory step for outputting,
A determination step of outputting a determination signal indicating a low correlation between frames of the video signal based on the video signal, the band-limited video signal, and the first switching video signal;
An encoding step of encoding the second switching video signal;
With
The switching output step switches the output based on the determination signal,
The determination step includes
A second difference step of calculating and outputting a difference between the band-limited video signal and the first switching video signal for each pixel;
Of each pixel in the frame, the absolute value of the output in the first difference step is larger than a second predetermined value, and the absolute value of the output in the second difference step is a third value. A counting step for counting the number of pixels greater than a predetermined value;
With
When the value representing the low correlation between the frames is larger than a first predetermined value, the determination signal is switched to output the band-limited video signal in the switching output step as the determination signal. Output signal,
A second determination signal for switching to output the video signal in the switching output step as the determination signal when a value indicating low correlation between the frames is equal to or less than the first predetermined value; and it outputs a,
The encoding method characterized in that the value indicating low correlation between the frames is the pixel count value counted in the counting step .
切替出力ステップは、前記判定信号に基づいて、前記判定単位に対応する映像信号、または帯域制限映像信号のいずれかを出力することを特徴とする請求項3に記載の符号化方法。The determination step outputs a determination signal indicating a low correlation between the input image and an image one frame before the input image for each determination unit including a plurality of pixels or lines constituting the input image,
4. The encoding method according to claim 3 , wherein the switching output step outputs either a video signal corresponding to the determination unit or a band limited video signal based on the determination signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002100823A JP3985567B2 (en) | 2002-04-03 | 2002-04-03 | Encoding device and encoding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002100823A JP3985567B2 (en) | 2002-04-03 | 2002-04-03 | Encoding device and encoding method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003299104A JP2003299104A (en) | 2003-10-17 |
JP3985567B2 true JP3985567B2 (en) | 2007-10-03 |
Family
ID=29388509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002100823A Expired - Fee Related JP3985567B2 (en) | 2002-04-03 | 2002-04-03 | Encoding device and encoding method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3985567B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6213420B2 (en) * | 2014-08-08 | 2017-10-18 | 株式会社リコー | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2845451B2 (en) * | 1988-07-12 | 1999-01-13 | 日本電気株式会社 | Preprocessing method and apparatus for moving image signal and encoding apparatus using the same |
JP3529432B2 (en) * | 1994-06-30 | 2004-05-24 | 株式会社東芝 | Video encoding / decoding device |
JPH0898178A (en) * | 1994-09-29 | 1996-04-12 | Sony Corp | Picture encoding device |
JPH09261656A (en) * | 1996-03-22 | 1997-10-03 | Toshiba Corp | Moving picture compression-encoding device |
JP2000324499A (en) * | 1999-05-14 | 2000-11-24 | Fujitsu Ltd | Picture processor and method for detecting scene change |
JP2001186520A (en) * | 1999-12-22 | 2001-07-06 | Victor Co Of Japan Ltd | High efficiency coder and method therefor |
-
2002
- 2002-04-03 JP JP2002100823A patent/JP3985567B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2003299104A (en) | 2003-10-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11575906B2 (en) | Image coding device, image decoding device, image coding method, and image decoding method | |
KR100703200B1 (en) | Intra-coding apparatus and method | |
EP1246131B1 (en) | Method and apparatus for the reduction of artifact in decompressed images using post-filtering | |
US7920628B2 (en) | Noise filter for video compression | |
EP1797722B1 (en) | Adaptive overlapped block matching for accurate motion compensation | |
US9083984B2 (en) | Adaptive coding structure and adaptive FCode determination in video coding | |
US9247250B2 (en) | Method and system for motion compensated picture rate up-conversion of digital video using picture boundary processing | |
US20060222074A1 (en) | Method and system for motion estimation in a video encoder | |
US8363728B2 (en) | Block based codec friendly edge detection and transform selection | |
JPH04196976A (en) | Image encoding device | |
JP2009531980A (en) | Method for reducing the computation of the internal prediction and mode determination process of a digital video encoder | |
JP2011510591A (en) | Coding mode determination method and apparatus using spatio-temporal complexity | |
JP2000244921A (en) | Method and device for coding video image | |
JP2008503177A (en) | Method for color difference deblocking | |
JP2007134755A (en) | Moving picture encoder and image recording and reproducing device | |
WO2006074043A2 (en) | Method and apparatus for providing motion estimation with weight prediction | |
JP2006270851A (en) | Image coding device and image decoding device | |
JP3599942B2 (en) | Moving picture coding method and moving picture coding apparatus | |
KR20070037533A (en) | Method for intra predictive coding for image data and encoder thereof | |
JP3985567B2 (en) | Encoding device and encoding method | |
US20110142135A1 (en) | Adaptive Use of Quarter-Pel Motion Compensation | |
JP2002262293A (en) | Moving image decoder and moving image decoding method | |
JPH09200769A (en) | Inter-motion compensation frame encoding system | |
JP2005303362A (en) | Image coder and program | |
JPH1056646A (en) | Video signal decoder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20040709 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060613 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060620 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060816 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070220 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070413 |
|
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: 20070619 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070702 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100720 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100720 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110720 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |