JP2894140B2 - Image coding method - Google Patents

Image coding method

Info

Publication number
JP2894140B2
JP2894140B2 JP3597193A JP3597193A JP2894140B2 JP 2894140 B2 JP2894140 B2 JP 2894140B2 JP 3597193 A JP3597193 A JP 3597193A JP 3597193 A JP3597193 A JP 3597193A JP 2894140 B2 JP2894140 B2 JP 2894140B2
Authority
JP
Japan
Prior art keywords
field
image
pixels
input
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.)
Expired - Fee Related
Application number
JP3597193A
Other languages
Japanese (ja)
Other versions
JPH06253289A (en
Inventor
靖彦 山根
正一 西野
豊彦 松田
裕士 藤原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3597193A priority Critical patent/JP2894140B2/en
Priority to KR1019940003023A priority patent/KR100219005B1/en
Priority to DE69415702T priority patent/DE69415702T2/en
Priority to EP94301197A priority patent/EP0614316B1/en
Priority to US08/199,630 priority patent/US5467135A/en
Publication of JPH06253289A publication Critical patent/JPH06253289A/en
Application granted granted Critical
Publication of JP2894140B2 publication Critical patent/JP2894140B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像を符号化する方法に
係り、特に動画像等のフレーム間および、フィールド間
の相関を利用する符号化において、画像系列中にズーム
等により、拡大・縮小された画像が存在する場合に効率
的な、画像符号化方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for encoding an image, and more particularly to an encoding method using a correlation between frames of a moving image or the like and between fields by zooming or the like in an image sequence. The present invention relates to an image encoding method that is efficient when an encoded image exists.

【0002】[0002]

【従来の技術】従来より動画像の符号化方法として、フ
レーム間、或はフィールド間の和および差分画像に対
し、N×M個(サイズ8×8)のブロックに分割し、前
記ブロックのデータに対し、直交変換(例えばDCT:
離散コサイン変換)等の変換を施し、得られた変換係数
に対し、量子化を行い、符号化を行う方法がある。図1
0に上述したような従来の符号化装置のブロック図を示
す。以下、従来の符号化装置について図10を用いて説
明する。
2. Description of the Related Art Conventionally, as a moving image coding method, a sum and difference image between frames or between fields is divided into N × M (size 8 × 8) blocks, and the data of the blocks is divided into N × M blocks. To an orthogonal transform (eg, DCT:
There is a method in which a transform such as discrete cosine transform) is performed, and the obtained transform coefficient is quantized and coded. FIG.
0 shows a block diagram of a conventional encoding device as described above. Hereinafter, a conventional encoding device will be described with reference to FIG.

【0003】図10において、1000は画像入力部、100
1、1002はそれぞれ1フレーム分の画像データを一時記
憶するフレームメモリであり、画像入力部1000から入力
された画像データの第1フレームはフレームメモリ1001
に、第2フレームは1002に記憶される。1003は加算器で
あり、フレームメモリ1001に記憶されている画像データ
と、フレームメモリ1002に記憶されている画像データの
加算結果を求める。1004は減算器であり、フレームメモ
リ1001に記憶されている画像データと、フレームメモリ
1002に記憶されている画像データの差分値を求める。
In FIG. 10, reference numeral 1000 denotes an image input unit;
Reference numerals 1 and 1002 denote frame memories for temporarily storing one frame of image data. The first frame of the image data input from the image input unit 1000 is a frame memory 1001.
The second frame is stored in 1002. An adder 1003 obtains a result of adding the image data stored in the frame memory 1001 and the image data stored in the frame memory 1002. Reference numeral 1004 denotes a subtractor, which stores image data stored in the frame memory 1001 and a frame memory.
A difference value of the image data stored in 1002 is obtained.

【0004】1005はセレクタであり、加算器1003と減算
器1004の出力を切り換える。1006はDCT(離散コサイ
ン変換)部であり、セレクタ1005からの出力に対し、N
×M個(サイズ8×8)のブロックに分割しDCTを施
す。1007は量子化部であり、DCT部1006でDCTされ
たブロックに対し量子化処理を行う。1009は可変長符号
化部であり、量子化部1007の出力に対し、エントロピー
符号化を行う。
[0004] A selector 1005 switches the output of the adder 1003 and the output of the subtractor 1004. Reference numeral 1006 denotes a DCT (discrete cosine transform) unit, which outputs N
It is divided into × M blocks (size 8 × 8) and subjected to DCT. Reference numeral 1007 denotes a quantization unit that performs quantization processing on the block DCT-processed by the DCT unit 1006. Reference numeral 1009 denotes a variable length coding unit which performs entropy coding on the output of the quantization unit 1007.

【0005】また、画像系列中にズーミングにより拡大
・縮小された画像が存在する場合、画像全体にわたって
フレームおよびフィールド間の相関が低くなり、符号化
効率が低下するため、符号化前処理として、n個のフレ
ームから構成されるフレーム群を形成し、前記フレーム
群に属する各入力フィールドに対し、基準フィールドを
設定し、前記基準フィールドに対する各入力フィールド
の動きベクトルを用い、各入力フィールドの拡大・縮小
画像を生成し、被符号化フィールドとし、符号化効率を
上げることが行われる。画像系列中にズーミングによ
り、基準フィールドに対し拡大された画像が存在する場
合、符号化前処理として画素を水平または垂直方向に対
し、画素ラインを間引くことにより縮小画像を生成し被
符号化フィールドとし、復号化時には復号化によって得
られた既復号化フィールドに対し、復号化後処理として
符号化前処理で間引いた画素を隣接する垂直または水平
ラインから補間し、既復号化フィールドの拡大画像を生
成する。
[0005] Further, when there is an image enlarged or reduced by zooming in an image sequence, the correlation between frames and fields is reduced over the entire image, and the coding efficiency is reduced. Forming a frame group composed of a plurality of frames, setting a reference field for each input field belonging to the frame group, and enlarging / reducing each input field using a motion vector of each input field with respect to the reference field. An image is generated and used as a field to be coded, thereby increasing the coding efficiency. If there is an image enlarged with respect to the reference field due to zooming in the image sequence, a reduced image is generated by thinning out the pixel lines in the horizontal or vertical direction as a pre-encoding process to generate a reduced image as the encoded field. At the time of decoding, the decoded field obtained by decoding is interpolated from adjacent vertical or horizontal lines with pixels decimated by pre-coding processing as post-decoding processing to generate an enlarged image of the decoded field. I do.

【0006】また、画像系列中にズーミングにより、基
準フィールドに対し縮小された画像が存在する場合、符
号化前処理として水平または垂直方向に対し、画素ライ
ンを挿入することにより拡大画像を生成し被符号化フィ
ールドとし、復号化時には復号化によって得られた既復
号化フィールドに対し、復号化後処理として符号化前処
理で挿入した画素ラインを間引くことで既復号化フィー
ルド拡大画像を生成する。
[0006] When an image reduced in size relative to a reference field due to zooming in an image sequence, an enlarged image is generated by inserting pixel lines in the horizontal or vertical direction as a pre-encoding process. An encoded field is generated, and an enlarged image of the decoded field is generated by thinning out the pixel lines inserted in the pre-coding process as the post-coding process from the decoded field obtained by the decoding at the time of decoding.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来の符号化方法では、画像系列中にズーミングにより、
基準フィールドに対し拡大された画像が存在する場合、
符号化前処理として水平または垂直方向に対し、画素ラ
インを間引くことにより縮小画像を生成し被符号化フィ
ールドとし、復号化時には復号化によって得られた既復
号化フィールドに対し、復号化後処理として符号化前処
理で間引いた画素ラインを隣接する水平または垂直方向
のラインから補間し、既復号化フィールドの拡大画像を
生成するため、前記復号化後処理の補間処理により画像
の中心部に劣化が生じるという問題点を有していた。
However, in the above-mentioned conventional encoding method, zooming is performed in an image sequence.
If there is an enlarged image for the reference field,
As a pre-encoding process, in the horizontal or vertical direction, a reduced image is generated by thinning out pixel lines and used as a field to be coded, and at the time of decoding, an already decoded field obtained by decoding is processed as a post-decoding process Interpolation of the pixel lines thinned out in the pre-encoding process from adjacent horizontal or vertical lines to generate an enlarged image of the already-decoded field causes deterioration at the center of the image due to the interpolation process of the post-decoding process. There was a problem that it occurred.

【0008】本発明はかかる点に鑑み、動画像等のフレ
ーム間およびフィールド間の相関を利用する符号化にお
いて、特にズーミングによる画像の拡大・縮小が存在す
る場合、符号化処理対象のフレーム間およびフィールド
間の相関を高めるとともに、拡大ズームの場合でも再生
時に画像の中心部に生じる劣化を抑え、符号化効率を向
上させることを目的としている。
In view of the above, the present invention has been made in consideration of the above-described problems in the encoding using the correlation between frames and fields between moving images and the like, particularly when there is enlargement / reduction of an image due to zooming. It is an object of the present invention to increase the correlation between fields, suppress deterioration occurring at the center of an image during reproduction even in the case of enlarged zoom, and improve coding efficiency.

【0009】[0009]

【課題を解決するための手段】上記目的を達するため、
第1の発明では、画像系列中にズーミングによる画像の
拡大・縮小が存在する場合、n個のフレームから構成さ
れる同一のフレーム群に属する各入力フィールドに対
し、1つの基準フィールドを設定し、前記基準フィール
ドに対する各フィールドの動きベクトルを検出し、前記
基準フィールドに対する入力フィールドが拡大画像の場
合、前記動きベクトルを用い、水平方向および垂直方向
に、共に隣接しない画素を間引き、入力フィールドの縮
小画像を生成し、該縮小画像を被符号化フィールドとす
ることを特徴とする。
In order to achieve the above object,
In the first invention, when there is an image enlargement / reduction by zooming in an image sequence, one reference field is set for each input field belonging to the same frame group composed of n frames, A motion vector of each field with respect to the reference field is detected, and when the input field with respect to the reference field is an enlarged image, pixels that are not adjacent to each other in the horizontal and vertical directions are thinned out using the motion vector, and a reduced image of the input field is reduced. Is generated, and the reduced image is used as a field to be coded.

【0010】また第2の発明では、復号化後処理におい
て、同一フレーム群に属する入力フィールドが基準フィ
ールドに対し拡大画像である場合、復号化処理によって
得られた既復号化フィールドに対し、前記符号化前処理
により間引かれた画素を、同一フィールドの周辺画素を
参照画素として補間することを特徴とする。
[0010] In the second invention, in the post-decoding process, when the input field belonging to the same frame group is an enlarged image with respect to the reference field, the encoded field is added to the decoded field obtained by the decoding process. The pixels thinned out by the pre-processing are interpolated using peripheral pixels in the same field as reference pixels.

【0011】また、第3の発明では、復号化後処理にお
いて、同一フレーム群に属する入力フィールドが基準フ
ィールドに対し拡大画像である場合、復号化処理によっ
て得られた既復号化フィールドに対し、符号化前処理に
より間引かれた画素を、同一フィールドの周辺画素およ
び同一フレームを構成する他のフィールドの周辺画素を
参照画素として補間することを特徴とする。
Further, in the third invention, in the post-decoding process, if the input field belonging to the same frame group is an enlarged image with respect to the reference field, a code is added to the already-decoded field obtained by the decoding process. Pixels thinned out by the pre-processing are interpolated using peripheral pixels of the same field and peripheral pixels of other fields constituting the same frame as reference pixels.

【0012】[0012]

【作用】第1の発明によれば、画像系列中に画像系列中
にズーミングによる拡大・縮小された画像が存在する場
合、基準フィールドに対する入力フィールドが拡大画像
の場合、基準フィールドに対する入力フィールドの動き
ベクトルを用い、水平方向および垂直方向に共に隣接し
ない画素を間引くことにより、入力フィールドの縮小画
像を生成するので、水平方向および垂直方向のエッジを
完全に喪失しない。
According to the first aspect of the invention, if an image sequence includes an image enlarged or reduced by zooming in the image sequence, if the input field for the reference field is an enlarged image, the movement of the input field relative to the reference field A reduced image of the input field is generated by thinning out pixels that are not adjacent in both the horizontal and vertical directions using a vector, so that horizontal and vertical edges are not completely lost.

【0013】また第2、第3の発明では、復号化後処理
において、同一フレーム群に属する入力フィールドが基
準フィールドに対し拡大画像である場合、復号化処理に
よって得られた既復号化フィールドに対し、符号化前処
理により間引かれた画素を、同一フィールドの周辺画素
あるいは、同一フィールドの周辺画素および同一フレー
ムを構成する他のフィールドの周辺画素等の、より相関
の強い画素を参照画素として補間するので、補間による
画質劣化をより抑えることができる。
In the second and third inventions, in the post-decoding process, when the input field belonging to the same frame group is an enlarged image with respect to the reference field, the decoded field obtained by the decoding process is The pixels decimated by the pre-encoding process are interpolated by using pixels having higher correlation, such as peripheral pixels of the same field or peripheral pixels of the same field and peripheral fields of another field constituting the same frame, as reference pixels. Therefore, image quality degradation due to interpolation can be further suppressed.

【0014】[0014]

【実施例】以下、本発明の一実施例の画像符号化方法に
ついて、図面を参照しながら説明する。図1は本発明の
一実施例における画像符号化装置のブロック図を示すも
のである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image coding method according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an image encoding apparatus according to an embodiment of the present invention.

【0015】図1において、100は画像入力部であ
り、フィールドデータが入力される。101は動きベク
トル検出部であり、基準となるフィールドデータに対す
る動きベクトルを検出する。102はズーム係数算出部
であり、動きベクトル検出部101で求めたベクトルに
より、ズーム係数を算出する。103はフィールドメモ
リであり、画像入力部100から入力されたフィールド
データを一時記憶する1フィールド分のメモリである。
105はサンプリングアドレス制御部であり、ズーム係
数算出部102で得られたズーム係数により、拡大・縮
小処理部104におけるサンプリングアドレスの制御を
行う。104は拡大・縮小処理部であり、サンプリング
アドレス制御部105のアドレス制御に従い、フィール
ドメモリ103に記憶されたフィールドデータの拡大画
像あるいは縮小画像を生成する。106はスイッチ部で
あり、基準フィールド制御信号107によりフィールド
メモリ103から読みだしたフィールドデータと、拡大
・縮小処理部104により生成された拡大画像あるいは
縮小画像を切り換えて符号化部108に出力する。
In FIG. 1, reference numeral 100 denotes an image input unit to which field data is input. Reference numeral 101 denotes a motion vector detection unit which detects a motion vector corresponding to reference field data. Reference numeral 102 denotes a zoom coefficient calculation unit that calculates a zoom coefficient based on the vector obtained by the motion vector detection unit 101. Reference numeral 103 denotes a field memory, which is a memory for one field that temporarily stores field data input from the image input unit 100.
Reference numeral 105 denotes a sampling address control unit which controls the sampling address in the enlargement / reduction processing unit 104 based on the zoom coefficient obtained by the zoom coefficient calculation unit 102. An enlargement / reduction processing unit 104 generates an enlarged image or reduced image of the field data stored in the field memory 103 in accordance with the address control of the sampling address control unit 105. Reference numeral 106 denotes a switch unit, which switches between field data read from the field memory 103 by the reference field control signal 107 and an enlarged image or a reduced image generated by the enlargement / reduction processing unit 104 and outputs the switched image to the encoding unit 108.

【0016】図3、図4、図6および図7を用いて図1
のブロック図の詳細な動作を説明する。図3は2フレー
ム(4フィールド)から構成されるフレーム群であり、
フィールド#0からフィールド#3で構成される。この
フレーム群においてフィールド#0を基準フィールドと
した場合の処理について以下説明する。また、条件とし
てこの場合、拡大ズームであるとする。
Referring to FIG. 1, FIG. 4, FIG. 6, and FIG.
The detailed operation of the block diagram of FIG. FIG. 3 shows a frame group composed of two frames (four fields).
It is composed of fields # 0 to # 3. Processing when field # 0 is used as a reference field in this frame group will be described below. In this case, it is assumed that the zoom is an enlarged zoom in this case.

【0017】まず、入力画像として、基準フィールド#
0が画像入力部100より入力される。このとき基準フ
ィールド制御信号107はアサートされる。動きベクト
ル検出部101では、基準フィールド制御信号107が
アサートされていれば、基準フィールド#0のデータを
一時記憶する。この場合、基準フィールド#0のデータ
を全て記憶する必要はなく、代表点のみを記憶してもよ
い(例えば、特開平2ー5689号公報)。また同じサ
イクルで基準フィールド#0のデータをフィールドメモ
リ103に書き込む。
First, as an input image, a reference field #
0 is input from the image input unit 100. At this time, the reference field control signal 107 is asserted. If the reference field control signal 107 is asserted, the motion vector detection unit 101 temporarily stores the data of the reference field # 0. In this case, it is not necessary to store all the data of the reference field # 0, and only the representative point may be stored (for example, JP-A-2-5689). In the same cycle, the data of the reference field # 0 is written to the field memory 103.

【0018】次のサイクルでスイッチ部106では基準
フィールド制御信号107により、フィールドメモリ1
03から読みだされた基準フィールド#0が選択され、
符号化部108に出力される。また、同じサイクルで画
像入力部100よりフィールドデータ#1が入力され
る。動きベクトル検出部101では、基準フィールド#
0とフィールド#1より動きベクトルを検出し、このベ
クトル値により、ズーム係数算出部102で基準フィー
ルド#0に対するフィールド#1のズーム係数を算出す
る。
In the next cycle, the switch unit 106 uses the reference field control signal 107 to control the field memory 1
The reference field # 0 read from No. 03 is selected,
Output to encoding section 108. Further, field data # 1 is input from the image input unit 100 in the same cycle. In motion vector detecting section 101, reference field #
A motion vector is detected from 0 and field # 1, and a zoom coefficient of field # 1 with respect to reference field # 0 is calculated by zoom coefficient calculation section 102 based on the vector value.

【0019】図4にズーム係数と動きベクトルの関係図
を示す。図4(a)は基準フィールド(この場合はフィ
ールド#0)に対する、対象フィールド(この場合はフ
ィールド#1)の動きベクトルを示す図である。図4に
おいて、Hは水平方向、Vは垂直方向を示し、左上が基
準点であり、丸印○はズームの中心を示す。図4は拡大
ズームであるので、動きベクトルはズームの中心に向か
ってのびている。図4(b)は、図4(a)における水
平方向の動きベクトルを一次関数で近似した様子を示
す。基準点より水平方向にx画素離れた位置の動きベク
トルVh(x)は水平方向のズーム係数(ah,bh)
を用いて Vh(x)=ah*x + bh で表すことができる。同様に図4(c)に図4(a)に
おける垂直方向の動きベクトルを一次関数で近似した様
子を示す。基準点より垂直方向にy画素離れた位置の動
きベクトルVv(y)は垂直方向のズーム係数(av,
bv)を用いて Vv(y)=av*y + bv で表すことができる。
FIG. 4 shows the relationship between the zoom coefficient and the motion vector. FIG. 4A is a diagram showing a motion vector of a target field (in this case, field # 1) with respect to a reference field (in this case, field # 0). In FIG. 4, H indicates the horizontal direction, V indicates the vertical direction, the upper left is the reference point, and a circle indicates the center of the zoom. Since FIG. 4 is an enlarged zoom, the motion vector extends toward the center of the zoom. FIG. 4B shows a state in which the horizontal motion vector in FIG. 4A is approximated by a linear function. The motion vector Vh (x) at a position that is x pixels away from the reference point in the horizontal direction is a horizontal zoom coefficient (ah, bh).
And Vh (x) = ah * x + bh. Similarly, FIG. 4C shows a state in which the vertical motion vector in FIG. 4A is approximated by a linear function. The motion vector Vv (y) at a position vertically y pixels away from the reference point is the vertical zoom coefficient (av,
Vv (y) = av * y + bv using bv).

【0020】このように、基準フィールド#0に対す
る、フィールド#1の動きベクトルより水平方向のズー
ム係数(ah01,bh01)と垂直方向のズーム係数
(av01,bv01)を、ズーム係数算出部102で
算出する。
As described above, the zoom coefficient calculation unit 102 calculates the horizontal zoom coefficients (ah01, bh01) and the vertical zoom coefficients (av01, bv01) from the motion vector of the field # 1 with respect to the reference field # 0. I do.

【0021】サンプリングアドレス制御部105では、
ズーム係数算出部102で得られたズーム係数に従い、
アドレスを生成し、拡大・縮小処理部104に与える。
ここで画素の間引きについて説明する。図6に間引きの
一例として水平方向のラインを間引く様子を示す。図6
はフィールドデータの様子を表すものであり、数字は画
素を表す。図6(a)は、同一ライン上の画素をすべて
間引くライン間引きの様子を示す図であり、矢印で示す
ラインが間引くラインであり、この場合、10、1
1、...18、19の画素が間引かれる。図6(b)
は、画素を間引いた後のフィールドの様子を示す図であ
る。
In the sampling address control unit 105,
According to the zoom coefficient obtained by the zoom coefficient calculation unit 102,
An address is generated and given to the enlargement / reduction processing unit 104.
Here, pixel thinning will be described. FIG. 6 shows an example of thinning out horizontal lines as an example of thinning. FIG.
Represents the state of the field data, and the numerals represent the pixels. FIG. 6A is a diagram showing a state of line thinning out in which all pixels on the same line are thinned out. Lines indicated by arrows are thinning lines.
1,. . . Pixels 18 and 19 are thinned out. FIG. 6 (b)
FIG. 4 is a diagram showing a state of a field after pixels are thinned out.

【0022】図6において、斜線部61は間引き処理に
よって画素の存在してなくなったラインを示す。このフ
ィールドデータを被符号化フィールドとして符号化を行
う。この場合、符号化効率の劣化を抑えるため、画素の
存在しなくなったラインについては、周辺の画素から補
間するといった処理を行う。例えば、1ライン上の画素
(30、31..、38、39)で置き換えるといった
処理を行う。しかし、この方法では、同一ライン上の画
素(10、11、,,、18、19)がすべて喪失する
ため、同画素ラインにエッジが存在する場合、エッジが
完全に喪失する。このような同一ライン上の画素をすべ
て間引く間引き方法とは異なり、本実施例のサンプリン
グアドレス制御部105では、ズーム係数算出部102
で得られたズーム係数より、水平方向および垂直方向に
対し、共に隣接しない画素を間引くサンプリングアドレ
スを生成し、拡大・縮小処理部104に与える。
In FIG. 6, a hatched portion 61 indicates a line in which no pixel exists due to the thinning process. Encoding is performed using this field data as an encoded field. In this case, in order to suppress the deterioration of the coding efficiency, a process of interpolating a line in which a pixel no longer exists from neighboring pixels is performed. For example, a process of replacing pixels with pixels (30, 31,..., 38, 39) on one line is performed. However, in this method, all the pixels (10, 11,..., 18, 19) on the same line are lost. Therefore, if an edge exists on the same pixel line, the edge is completely lost. Unlike the thinning method of thinning out all pixels on the same line, the sampling address control unit 105 of the present embodiment employs a zoom coefficient calculating unit 102
A sampling address for thinning out pixels that are not adjacent to each other in the horizontal direction and the vertical direction is generated from the zoom coefficient obtained in (1), and is provided to the enlargement / reduction processing unit 104.

【0023】図7は、本発明の間引きの様子を示す一実
施例であり、図7(a)に本実施例の間引きの様子を示
す。図7(a)に示すように、互いに隣接しない斜めの
画素を間引く、即ちこの場合、10、21、12、2
3、14、25、16、27、18、29画素を間引
く。このように、隣接しない画素を間引くことで、同一
ラインの全ての画素が喪失するのを防ぐ。図7(b)に
画素を間引いた後のフィールドの様子を示す図である。
同図において斜線部71は間引き処理によって画素の存
在してなくなったラインを示す。このフィールドデータ
を被符号化フィールドとして符号化を行う。
FIG. 7 shows one embodiment of the thinning-out state of the present invention. FIG. 7A shows the thinning-out state of the present embodiment. As shown in FIG. 7A, oblique pixels that are not adjacent to each other are thinned out, that is, in this case, 10, 21, 12, 2
Pixels of 3, 14, 25, 16, 27, 18, and 29 are thinned out. In this way, by thinning out non-adjacent pixels, it is possible to prevent all pixels on the same line from being lost. FIG. 7B illustrates a state of a field after pixels are thinned out.
In the figure, a hatched portion 71 indicates a line in which no pixel exists due to the thinning process. Encoding is performed using this field data as an encoded field.

【0024】この場合、符号化効率の劣化を抑えるた
め、画素の存在しなくなったラインについては、周辺の
画素から補間するといった処理を行う。例えば、1ライ
ン上の画素(30、31..、38、39)で置き換え
るといった処理を行う。また、このサンプリングアドレ
ス制御部105で生成するアドレスは、図7(a)に示
すサンプリングパターンに限らず、水平、垂直方向に共
に隣接する画素を保存するサンプリングパターンであれ
ばよい。
In this case, in order to suppress the deterioration of the coding efficiency, a process of interpolating the line where the pixel no longer exists from the neighboring pixels is performed. For example, a process of replacing pixels with pixels (30, 31,..., 38, 39) on one line is performed. The address generated by the sampling address control unit 105 is not limited to the sampling pattern shown in FIG. 7A, and may be any sampling pattern that stores pixels that are adjacent in both the horizontal and vertical directions.

【0025】このようにサンプリングアドレス制御部1
05に従って、フィールドメモリ103に一時記憶して
いるフィールド#1のデータに対し、拡大・縮小処理部
104でフィールド#1の縮小画像を生成し、被符号化
フィールドとして符号化部108に出力する。フィール
ド#2以降についても同様に、基準フィールド#0に対
する縮小画像を生成し、符号化部108に出力する。
As described above, the sampling address control unit 1
In accordance with 05, a reduction image of the field # 1 is generated by the enlargement / reduction processing unit 104 with respect to the data of the field # 1 temporarily stored in the field memory 103, and is output to the encoding unit 108 as a field to be encoded. Similarly, for field # 2 and thereafter, a reduced image for reference field # 0 is generated and output to encoding section 108.

【0026】次に復号化処理について説明する。図2は
本発明の一実施例における復号化装置のブロック図を示
すものである。図2において、200は復号化されたデ
ータを入力するための復号化データ入力部、201は復
号化データ入力部200から入力されたフィールドを一
時記憶するフィールドメモリ、202はズーム係数入力
部207から入力されたズーム係数を一時記憶するズー
ム係数メモリ部、204はサンプリングアドレス制御部
であり、ズーム係数メモリ部202から読みだしたズー
ム係数により、拡大・縮小処理部203におけるサンプ
リングアドレスの制御を行う。
Next, the decoding process will be described. FIG. 2 is a block diagram showing a decoding apparatus according to one embodiment of the present invention. In FIG. 2, reference numeral 200 denotes a decoded data input unit for inputting decoded data, 201 denotes a field memory for temporarily storing a field input from the decoded data input unit 200, and 202 denotes a zoom coefficient input unit 207. A zoom coefficient memory unit 204 for temporarily storing the input zoom coefficient is a sampling address control unit, and controls the sampling address in the enlargement / reduction processing unit 203 based on the zoom coefficient read from the zoom coefficient memory unit 202.

【0027】203は拡大・縮小処理部であり、サンプ
リングアドレス制御部204のアドレス制御に従い、フ
ィールドメモリ201に記憶されたフィールドデータの
拡大画像あるいは縮小画像を生成する。205はスイッ
チ部であり、ズーム係数メモリ部からの基準フィールド
制御信号によりフィールドメモリ201から読みだした
フィールドデータと、拡大・縮小処理部203により生
成された拡大画像あるいは縮小画像を切り換えて出力す
る。
An enlargement / reduction processing unit 203 generates an enlarged image or reduced image of the field data stored in the field memory 201 according to the address control of the sampling address control unit 204. Reference numeral 205 denotes a switch, which switches and outputs the field data read from the field memory 201 based on the reference field control signal from the zoom coefficient memory and the enlarged image or the reduced image generated by the enlargement / reduction processing unit 203.

【0028】図3、図6および図7を用いて図2のブロ
ック図の詳細な動作を説明する。図3におけるフィール
ド#0からフィールド#3で構成されるフレーム群に対
し、符号化前処理時に生成された被符号化フィールドを
それぞれフィールド#0’〜#3’とし、符号化・復号
化によって得られた復号化フィールドをフィールド#
0’’〜#3’’とし、復号化フィールドに対し、復号
化後処理で得られたフィールドをフィールド#0’’’
〜#3’’’とする。まず、復号化データとしてフィー
ルド#0’’が復号化データ入力部200から入力され
る。ズーム係数メモリ部202にはズーム係数入力部2
07より基準フィールド#0のズーム係数((ah0
0,bh00),(av00,bv00))=((0,
0),(0,0))が入力される。
The detailed operation of the block diagram of FIG. 2 will be described with reference to FIGS. 3, 6, and 7. For the frame group composed of field # 0 to field # 3 in FIG. 3, the fields to be coded generated at the time of the pre-coding process are referred to as fields # 0 'to # 3', respectively, and are obtained by coding and decoding. Decoded field to field #
0 ″ to # 3 ″, and the field obtained in the post-decoding process is set to field # 0 ″ ′ for the decoded field.
~ # 3 '''. First, field # 0 ″ is input from the decoded data input unit 200 as decoded data. The zoom coefficient memory unit 202 has a zoom coefficient input unit 2
07 to the zoom coefficient ((ah0
0, bh00), (av00, bv00)) = ((0,
0), (0, 0)).

【0029】ズーム係数メモリ部202は基準フィール
ド制御信号をアサートし、スイッチ部205に与える。
同じサイクルで復号化データ入力部200から入力され
たデータはフィールドメモリ201に書き込まれる。次
のサイクルでフィールドメモリ201からフィールド#
0’’を読みだし、スイッチ部205では出力画像20
6として、基準フィールド#0’’を出力する。
The zoom coefficient memory unit 202 asserts a reference field control signal and supplies it to the switch unit 205.
Data input from the decoded data input unit 200 in the same cycle is written to the field memory 201. In the next cycle, field # from field memory 201
0 '' is read out, and the output image 20
As 6, the reference field # 0 '' is output.

【0030】また同一サイクルで復号化データ入力部2
00より、フィールド#1’’が入力される。ズーム係
数メモリ部202は基準フィールド制御信号をネゲート
し、スイッチ部205に与え、フィールドメモリ201
にはフィールド#1’’の書き込みを行う。サンプリン
グアドレス制御部204では、ズーム係数メモリ部20
2から読みだしたフィールド#1’’のズーム係数 ((ah01,bh01),(av01,bv01)) を読みだし、アドレスを生成し、拡大・縮小処理部20
3に与える。拡大・縮小処理部203では拡大画像を生
成し、出力する。
In the same cycle, the decoded data input unit 2
00, field # 1 '' is input. The zoom coefficient memory unit 202 negates the reference field control signal and supplies the negated reference field control signal to the switch unit 205.
Is written in field # 1 ''. In the sampling address control unit 204, the zoom coefficient memory unit 20
2, the zoom coefficient ((ah01, bh01), (av01, bv01)) of the field # 1 '' read out, an address is generated, and the enlargement / reduction processing unit 20
Give to 3. The enlargement / reduction processing unit 203 generates and outputs an enlarged image.

【0031】図6(c)(d)に同一ライン上の画素を
すべて間引くライン間引き方法における、拡大画像生成
の様子を示す。図6(c)は復号化フィールドデータを
表しており、斜線部62が符号化処理時にズーム係数に
よる間引き処理によりデータの存在しない画素であり、
この部分に関しては、同一フィールドの周辺画素から補
間する等の処理により、補間された画素である。図6
(d)はズーム係数によって符号化前処理時に間引かれ
た画素位置に、画素を補間することによって得られた復
号化フィールド(図6(c))の拡大画像である。画素
10〜19は周辺画素、例えば上下の画素(○印)によ
り補間された画素である。
FIGS. 6C and 6D show how an enlarged image is generated in a line thinning method for thinning all pixels on the same line. FIG. 6C shows the decoded field data. The hatched portion 62 is a pixel having no data due to the thinning-out process by the zoom coefficient during the encoding process.
This portion is a pixel interpolated by processing such as interpolation from peripheral pixels in the same field. FIG.
(D) is an enlarged image of the decoded field (FIG. 6 (c)) obtained by interpolating pixels at the pixel positions thinned out during the pre-encoding processing by the zoom coefficient. Pixels 10 to 19 are pixels interpolated by peripheral pixels, for example, upper and lower pixels (marked by ○).

【0032】しかし、参照画素とする画素が同一ライン
上に存在していないので、補間ラインにエッジが存在す
る場合など、補間による画質劣化が大きくなる。このよ
うな同一ライン上の画素をすべて間引くライン間引き方
法とは異なり、本実施例のサンプリングアドレス制御部
204では、ズーム係数メモリ部202から読みだした
ズーム係数より、アドレスを生成し、拡大・縮小処理部
203に与える。
However, since pixels serving as reference pixels do not exist on the same line, image quality deterioration due to interpolation becomes large, for example, when an edge exists on an interpolation line. Unlike the line thinning method of thinning out all the pixels on the same line, the sampling address control unit 204 of this embodiment generates an address from the zoom coefficient read from the zoom coefficient memory unit 202 and enlarges / reduces the address. This is given to the processing unit 203.

【0033】図7は、本発明の拡大画像生成の様子を示
す一実施例であり、図7(c)は復号化フィールドデー
タを表しており、斜線部72が符号化前処理時に間引き
処理によりデータの存在しなくなった画素であり、この
部分に関しては、同一フィールドの周辺画素から補間す
る等の処理により、補間された画素である。図7(d)
はズーム係数によって符号化前処理時に間引かれた画素
位置に、画素を補間することによって得られた復号化フ
ィールド図7(c)の拡大画像である。画素10、2
1、12、23、14、25、16、27、18、29
は周辺画素、例えば上下の画素(○印)により補間され
た画素である。このように参照する画素が同一ライン上
にも存在するため、補間による画質劣化を抑えることが
できる。
FIG. 7 is an embodiment showing the manner of generating an enlarged image according to the present invention. FIG. 7 (c) shows the decoded field data. The pixel in which data no longer exists, and this portion is an interpolated pixel by a process such as interpolation from peripheral pixels in the same field. FIG. 7D
FIG. 7C is an enlarged image of the decoded field in FIG. 7C obtained by interpolating pixels at pixel positions thinned out during the encoding pre-processing by the zoom coefficient. Pixels 10, 2
1, 12, 23, 14, 25, 16, 27, 18, 29
Is a pixel interpolated by peripheral pixels, for example, upper and lower pixels (marked by ○). Since the pixels to be referred to also exist on the same line, it is possible to suppress image quality deterioration due to interpolation.

【0034】また、同一フレームを構成する他のフィー
ルドの画素を参照画素とすることで劣化を抑える方法も
ある。この場合、拡大・縮小処理部203に2フィール
ド記憶できるフィールドメモリを有する構成をとること
で実現できる。図9にフィールド間の画素を参照画素と
し補間する様子を示す。図9(a)はフレームを表して
おり、a0,b0,c0,d0,e0は奇数フィールド
のラインデータ、a1,b1,c1,d1は偶数フィー
ルドのラインデータを示す。また、斜線部と白抜き部は
エッジの境界を示すものであるとする。このとき、間引
き処理により奇数フィールドのb0ラインを間引き、縮
小画像を生成する場合を考える。
There is also a method of suppressing deterioration by using pixels of another field constituting the same frame as reference pixels. This can be realized by adopting a configuration having a field memory capable of storing two fields in the enlargement / reduction processing unit 203. FIG. 9 shows how pixels between fields are used as reference pixels for interpolation. FIG. 9A shows a frame, where a0, b0, c0, d0, and e0 indicate line data of an odd field, and a1, b1, c1, and d1 indicate line data of an even field. Further, it is assumed that the hatched portion and the white portion indicate the boundary of the edge. At this time, consider a case where the b0 line of the odd field is thinned out by the thinning processing to generate a reduced image.

【0035】図9(b)にb0ラインを間引いて得た被
符号化画像を示す。図9(c)に間引かれたb0ライン
を同一フィールドの周辺画素から補間して得た図9
(b)の拡大画像を示す。b0’ラインが補間されたラ
インである。このようにフレームとして構成した場合、
a1ラインとb1ラインの間にb0’ラインのような新
たなエッジが生成される。
FIG. 9B shows an encoded image obtained by thinning out the b0 line. FIG. 9C obtained by interpolating the thinned b0 line from the peripheral pixels of the same field in FIG.
The enlarged image of (b) is shown. The b0 'line is the interpolated line. When configured as a frame like this,
A new edge such as the b0 ′ line is generated between the a1 line and the b1 line.

【0036】図9(d)に間引かれたb0ラインを同一
フィールドの周辺画素と同一フレームを構成する他のフ
ィールドの周辺画素から補間して得た図9(b)の拡大
画像を示す。b0’ラインが補間されたラインである。
このようにフレームとして構成した場合、a1ラインと
b1ラインの間にb0’ラインのような新たなエッジが
生成されるが、同一フィールドの画素を参照するだけの
場合に比べ、劣化を抑えることができる。
FIG. 9D shows an enlarged image of FIG. 9B obtained by interpolating the decimated b0 line from the peripheral pixels of the same field and the peripheral pixels of another field constituting the same frame. The b0 'line is the interpolated line.
When configured as a frame in this way, a new edge such as the b0 'line is generated between the a1 line and the b1 line, but deterioration is suppressed as compared with the case where only pixels in the same field are referred to. it can.

【0037】このように、拡大・縮小処理部203にお
いて、復号化フィールド#1’’の拡大画像フィールド
#1’’’を生成する。スイッチ部205では出力画像
206として、拡大・縮小画像生成部203で生成した
フィールド#1’’’を出力する。フィールド#2’’
以降についても同様に、基準フィールド#0に対する拡
大画像フィールド#2’’’、フィールド#3’’’が
生成され、出力画像として206から出力される。
As described above, the enlargement / reduction processing unit 203 generates an enlarged image field # 1 ″ ′ of the decoding field # 1 ″. The switch unit 205 outputs the field # 1 ″ ′ generated by the enlarged / reduced image generation unit 203 as the output image 206. Field # 2 ''
Similarly, the enlarged image field # 2 "" and the field # 3 "" for the reference field # 0 are generated and output from the output image 206 as an output image.

【0038】次に、縮小ズームの場合について図5を用
いて説明する。基本的には上記した拡大ズームの場合と
同様である。図5に縮小ズームの場合のズーム係数と、
動きベクトルの関係図を示す。図5(a)は基準フィー
ルド(この場合はフィールド#0)に対する、対象フィ
ールド(この場合は、フィールド#1)の動きベクトル
を示す図である。同図においてHは水平方向、Vは垂直
方向を示し、左上が基準点であり、○はズームの中心を
示す。同図は縮小ズームであるので動きベクトルはズー
ムの中心から外に向かって放射状に延びている。図5
(b)は図5(a)における水平方向の動きベクトルを
一次関数で近似した様子を示す。基準点より水平方向に
x画素離れた位置の動きベクトルVh(x)は水平方向
のズーム係数(ah,bh)を用いて Vh(x)=ah*x + bh で表すことができる。
Next, the case of reduced zoom will be described with reference to FIG. Basically, it is the same as in the case of the above-described enlarged zoom. FIG. 5 shows a zoom coefficient in the case of a reduced zoom,
FIG. 4 shows a relationship diagram of motion vectors. FIG. 5A is a diagram showing a motion vector of a target field (in this case, field # 1) with respect to a reference field (in this case, field # 0). In the figure, H indicates the horizontal direction, V indicates the vertical direction, the upper left is the reference point, and ○ indicates the center of the zoom. Since the figure shows a reduced zoom, the motion vectors extend radially outward from the center of the zoom. FIG.
FIG. 5B shows a state in which the horizontal motion vector in FIG. 5A is approximated by a linear function. The motion vector Vh (x) at a position that is x pixels away from the reference point in the horizontal direction can be expressed as Vh (x) = ah * x + bh using the horizontal zoom coefficient (ah, bh).

【0039】同様に図5(c)は、図5(a)における
垂直方向の動きベクトルを一次関数で近似した様子を示
す。基準点より水平方向にy画素離れた位置の動きベク
トルVv(y)は水平方向のズーム係数(av,bv)
を用いて Vv(y)=av*y + bv で表すことができる。このような、基準フィールド#0
に対する、フィールド#1の動きベクトルより水平方向
のズーム係数(ah01,bh01)と垂直方向のズー
ム係数(av01,bv01)を用いて拡大画像を生成
する。
Similarly, FIG. 5C shows a state in which the vertical motion vector in FIG. 5A is approximated by a linear function. The motion vector Vv (y) at a position horizontally y pixels away from the reference point is a horizontal zoom coefficient (av, bv)
And Vv (y) = av * y + bv. Such a reference field # 0
, An enlarged image is generated from the motion vector of field # 1 using the horizontal zoom coefficients (ah01, bh01) and the vertical zoom coefficients (av01, bv01).

【0040】図8に拡大画像を生成する様子を示す。図
8(a)は入力フィールドデータを表している。図8
(b)は拡大後の画像である。同図において斜線部は補
間処理により生成された画素であり、この部分に関して
は、基準フィールドの同一位置の画素で置き換える、あ
るいは同一フィールドの周辺画素を参照画素として補間
する等の処理により、以降の符号化効率の劣化を抑える
処理を行う必要がある。復号化時には、復号化データに
対し、符号化前処理時に補間によって挿入した画素を間
引く処理を行う。
FIG. 8 shows how an enlarged image is generated. FIG. 8A shows input field data. FIG.
(B) is an image after enlargement. In the same figure, the hatched portion is a pixel generated by the interpolation process, and this portion is replaced by a pixel at the same position in the reference field, or is interpolated as a reference pixel by using a peripheral pixel of the same field as a reference pixel. It is necessary to perform processing for suppressing the deterioration of the coding efficiency. At the time of decoding, a process of thinning out the pixels inserted by interpolation at the time of pre-encoding processing is performed on the decoded data.

【0041】図8(c)は復号化フィールドデータを表
しており、斜線部が符号化前処理時にズーム係数により
挿入された画素であり、この部分に関しては、基準フィ
ールドの同一位置の画素で置き換える、あるいは同一フ
ィールドの周辺画素から補間する等の処理により、補間
された処理された画素である。図8(d)はズーム係数
によって符号化前処理時に挿入された画素を間引くこと
によって得られた復号化フィールド図8(c)の縮小画
像である。斜線部分は間引き処理によりデータの存在し
ない画素である。この画素に関しては、同一フィールド
の周辺画素を参照画素とし、補間する等の処理により、
画質劣化を抑える処理を行う必要がある。
FIG. 8C shows the decoded field data. The hatched portion is a pixel inserted by the zoom coefficient at the time of the pre-coding process, and this portion is replaced by a pixel at the same position in the reference field. , Or a pixel interpolated by a process such as interpolation from peripheral pixels in the same field. FIG. 8D is a reduced image of the decoded field in FIG. 8C obtained by thinning out the pixels inserted at the time of the pre-coding process by the zoom coefficient. The hatched portions are pixels for which no data exists due to the thinning process. With respect to this pixel, peripheral pixels of the same field are set as reference pixels, and processing such as interpolation is performed.
It is necessary to perform processing for suppressing image quality deterioration.

【0042】[0042]

【発明の効果】以上、説明したように本発明によれば、 (1)画像のフレーム間、或はフィールド間の相関を利
用する符号化方法において、画像系列中に画像系列中に
ズーミングによる拡大・縮小された画像が存在する場
合、特に基準フィールドに対する入力フィールドが拡大
画像の場合、基準フィールドに対する入力フィールドの
動きベクトルを用い、水平方向および垂直方向に共に隣
接しない画素を間引くことにより、入力フィールドの縮
小画像を生成するので、水平方向および垂直方向のエッ
ジを完全に喪失することなく、符号化効率をより向上さ
せることができる。
As described above, according to the present invention, according to the present invention, (1) In an encoding method utilizing correlation between frames or between fields of an image, enlargement by zooming in the image sequence is performed in the image sequence. When there is a reduced image, especially when the input field for the reference field is an enlarged image, the input field is reduced by thinning out pixels that are not adjacent in both the horizontal and vertical directions using the motion vector of the input field for the reference field. Since the reduced image is generated, the encoding efficiency can be further improved without completely losing the horizontal and vertical edges.

【0043】(2)復号化後処理において、同一フレー
ム群に属する入力フィールドが基準フィールドに対し拡
大画像である場合、復号化処理によって得られた既復号
化フィールドに対し、前記符号化前処理により間引かれ
た画素を、より相関の強い画素を参照画素として補間す
るので、補間による画質劣化を抑えることができる。
(2) In the post-decoding process, when the input fields belonging to the same frame group are an enlarged image with respect to the reference field, the decoded field obtained by the decoding process is processed by the pre-encoding process. Since the thinned-out pixels are interpolated using pixels having higher correlation as reference pixels, it is possible to suppress image quality deterioration due to the interpolation.

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

【図1】本発明の一実施例における符号化装置のブロッ
ク図
FIG. 1 is a block diagram of an encoding device according to an embodiment of the present invention.

【図2】本発明の一実施例における復号化装置のブロッ
ク図
FIG. 2 is a block diagram of a decoding device according to an embodiment of the present invention.

【図3】同一フレーム群に属するフィールドデータの様
子を示す図
FIG. 3 is a diagram showing a state of field data belonging to the same frame group;

【図4】ズーム係数と動きベクトルの関係を示す図FIG. 4 is a diagram showing a relationship between a zoom coefficient and a motion vector.

【図5】ズーム係数と動きベクトルの関係を示す図FIG. 5 is a diagram showing a relationship between a zoom coefficient and a motion vector.

【図6】拡大ズーム時の符号化前処理と復号化後処理に
よるフィールドデータの様子を示す図
FIG. 6 is a diagram showing a state of field data by a pre-encoding process and a post-decoding process at the time of enlargement zoom;

【図7】拡大ズーム時の符号化前処理と復号化後処理に
よるフィールドデータの様子を示す図
FIG. 7 is a diagram showing a state of field data by a pre-encoding process and a post-decoding process at the time of enlargement zoom;

【図8】縮小ズーム時の符号化前処理と復号化後処理に
よるフィールドデータの様子を示す図
FIG. 8 is a diagram illustrating a state of field data by a pre-encoding process and a post-decoding process at the time of reduction zoom.

【図9】拡大ズーム時の符号化前処理と復号化後処理に
よるフレームデータの様子を示す図
FIG. 9 is a diagram showing a state of frame data by a pre-encoding process and a post-decoding process at the time of enlargement zoom;

【図10】従来の符号化装置のブロック図FIG. 10 is a block diagram of a conventional encoding device.

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

100 画像入力部 101 動きベクトル検出部 102 ズーム係数算出部 103 フィールドメモリ 104 拡大・縮小処理部 105 サンプリングアドレス制御部 106 スイッチ部 107 符号化部 REFERENCE SIGNS LIST 100 image input unit 101 motion vector detection unit 102 zoom coefficient calculation unit 103 field memory 104 enlargement / reduction processing unit 105 sampling address control unit 106 switch unit 107 encoding unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 藤原 裕士 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (56)参考文献 特開 平3−166885(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04N 7/24 - 7/68 ────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yuji Fujiwara 1006 Kazuma Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (56) References JP-A-3-166885 (JP, A) (58) Field (Int.Cl. 6 , DB name) H04N 7/ 24-7/68

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像のフレーム間、或はフィールド間の相
関を利用する符号化方法における符号化前処理であっ
て、画像系列中にズーミングによる拡大・縮小された画
像が存在する場合、n個のフレーム(n:自然数)から
構成されるフレーム群を形成し、前記フレーム群に属す
る各入力フィールドに対し、第mフィールド(m:0≦
m≦2nー1, 整数)を基準フィールドとし、前記基準
フィールドに対する各入力フィールドの動きベクトルを
検出し、前記動きベクトルを用い、各入力フィールドの
拡大・縮小画像を生成し、該拡大・縮小画像を被符号化
フィールド(符号化処理における入力画像)とする画像
符号化方法であって、基準フィールドに対する入力フィ
ールドが拡大画像の場合、前記動きベクトルを用い、水
平方向および垂直方向に、共に隣接しない画素を間引
き、入力フィールドの縮小画像を生成し、該縮小画像を
被符号化フィールドとすることを特徴とする画像符号化
方法。
1. A pre-encoding process in an encoding method using correlation between frames or between fields of an image, wherein when an image sequence includes an image enlarged / reduced by zooming, the number of images is n. (N: natural number) is formed, and for each input field belonging to the frame group, an m-th field (m: 0 ≦
m ≦ 2n-1, integer), a motion vector of each input field with respect to the reference field is detected, and an enlarged / reduced image of each input field is generated using the motion vector. Is a field to be coded (input image in the encoding process), and when the input field for the reference field is an enlarged image, the motion vector is used and neither the horizontal direction nor the vertical direction is adjacent. An image encoding method, wherein pixels are thinned to generate a reduced image of an input field, and the reduced image is used as a field to be coded.
【請求項2】前記符号化前処理に対する復号化後処理で
あって、同一フレーム群に属する入力フィールドが基準
フィールドに対し拡大画像である場合、復号化処理によ
って得られた既復号化フィールドに対し、前記符号化前
処理により間引かれた画素を、同一フィールドの周辺画
素を参照画素として補間することを特徴とする請求項1
記載の画像符号化方法。
2. A post-decoding process for the pre-encoding process, wherein, when an input field belonging to the same frame group is an enlarged image with respect to a reference field, an already decoded field obtained by the decoding process is And interpolating pixels decimated by the pre-encoding process using peripheral pixels of the same field as reference pixels.
Image coding method as described in the above.
【請求項3】前記符号化前処理に対する復号化後処理で
あって、同一フレーム群に属する入力フィールドが基準
フィールドに対し拡大画像である場合、復号化処理によ
って得られた既復号化フィールドに対し、前記符号化前
処理により間引かれた画素を、同一フィールドの周辺画
素および同一フレームを構成する他のフィールドの周辺
画素を参照画素として補間することを特徴とする請求項
1記載の画像符号化方法。
3. A post-decoding process for the pre-encoding process, wherein, if an input field belonging to the same frame group is an enlarged image with respect to a reference field, the decoded field obtained by the decoding process is 2. The image encoding apparatus according to claim 1, wherein the pixels decimated by the pre-encoding process are interpolated using peripheral pixels of the same field and peripheral pixels of another field forming the same frame as reference pixels. Method.
JP3597193A 1993-02-22 1993-02-25 Image coding method Expired - Fee Related JP2894140B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP3597193A JP2894140B2 (en) 1993-02-25 1993-02-25 Image coding method
KR1019940003023A KR100219005B1 (en) 1993-02-22 1994-02-21 Image encoding method and apparatus
DE69415702T DE69415702T2 (en) 1993-02-22 1994-02-21 Methods and devices for coding and decoding moving images
EP94301197A EP0614316B1 (en) 1993-02-22 1994-02-21 Apparatuses and methods for moving picture coding and decoding
US08/199,630 US5467135A (en) 1993-02-22 1994-02-22 Apparatus and method for moving picture coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3597193A JP2894140B2 (en) 1993-02-25 1993-02-25 Image coding method

Publications (2)

Publication Number Publication Date
JPH06253289A JPH06253289A (en) 1994-09-09
JP2894140B2 true JP2894140B2 (en) 1999-05-24

Family

ID=12456811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3597193A Expired - Fee Related JP2894140B2 (en) 1993-02-22 1993-02-25 Image coding method

Country Status (1)

Country Link
JP (1) JP2894140B2 (en)

Also Published As

Publication number Publication date
JPH06253289A (en) 1994-09-09

Similar Documents

Publication Publication Date Title
KR100660358B1 (en) Moving picture coding method and decoding method, and apparatus and program using the same
US5973755A (en) Video encoder and decoder using bilinear motion compensation and lapped orthogonal transforms
JP4455364B2 (en) Resolution conversion method and apparatus
US20070047651A1 (en) Video prediction apparatus and method for multi-format codec and video encoding/decoding apparatus and method using the video prediction apparatus and method
JP2005135410A (en) Adaptive image upscaling method and apparatus
US7746930B2 (en) Motion prediction compensating device and its method
JP3540855B2 (en) Block distortion corrector
US5436666A (en) Limited-domain motion estimation/compensation for video encoding/decoding
WO2019170154A1 (en) De-blocking method for reconstructed projection-based frame that employs projection layout of 360-degree virtual reality projection
JPH05227525A (en) Picture encoder
KR20040000312A (en) Detection and proper interpolation of interlaced moving areas for MPEG decoding with embedded resizing
JP7324065B2 (en) Motion vector detection device, imaging device, motion vector detection method, and program
KR100219005B1 (en) Image encoding method and apparatus
JPH10215457A (en) Moving image decoding method and device
JP2894140B2 (en) Image coding method
JP4140091B2 (en) Image information conversion apparatus and image information conversion method
JP2897579B2 (en) Image coding method
CN111903132B (en) Image processing apparatus and method
CN114598877A (en) Inter-frame prediction method and related equipment
JPH0389792A (en) Picture encoding device
JP3639610B2 (en) Image encoding device
JP3632993B2 (en) Electronic zoom device and electronic zoom method
JP3784086B2 (en) Video signal encoding / decoding device and encoding / decoding method
JP2005506808A (en) Motion compensation with sub-block scanning
JP3235266B2 (en) Image enlargement device and image encoding / decoding device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees