JPH04108270A - Video signal encoding device - Google Patents

Video signal encoding device

Info

Publication number
JPH04108270A
JPH04108270A JP2227039A JP22703990A JPH04108270A JP H04108270 A JPH04108270 A JP H04108270A JP 2227039 A JP2227039 A JP 2227039A JP 22703990 A JP22703990 A JP 22703990A JP H04108270 A JPH04108270 A JP H04108270A
Authority
JP
Japan
Prior art keywords
signal
block
encoding device
processing
video 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.)
Pending
Application number
JP2227039A
Other languages
Japanese (ja)
Inventor
Masazumi Yamada
正純 山田
Shinya Sumino
眞也 角野
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 JP2227039A priority Critical patent/JPH04108270A/en
Publication of JPH04108270A publication Critical patent/JPH04108270A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は映像信号を記録および伝送するために、画像の
データ量を削減する手段である高能率符号化を行なう映
像信号の符号化装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a video signal encoding device that performs high-efficiency encoding, which is a means of reducing the amount of image data in order to record and transmit video signals. be.

従来の技術 映像信号の符号化装置の1つに画面を小ブロックに分割
するものがある。更に分割したブロックの処理に関して
、フレーム単位で行なうものと、フィールド単位で行な
うものがある。現行のテレビジョン方式では画面を一走
査線ごとにインタレースと呼ばれる飛び越し走査が行な
われており、フィールド単位よりもフレーム単位で処理
を行なった場合の方が走査線間の距離が短く、相関が高
い、このため静止画に対して予測符号化あるいは直交変
換などの処理を行なう場合にはフレーム単位で処理した
方が効率がよい、ところが画面中で動いている部分に対
しフレーム単位で処理を行なった場合には、1走査線お
きに、1フイールド走査時間に動いた距離だけ画素のず
れが生じるため相関が低くなり、 効率が悪くなる。
One of the conventional video signal encoding devices is one that divides the screen into small blocks. Furthermore, regarding the processing of divided blocks, there are two types: one that performs processing on a frame basis and one that performs processing on a field basis. In the current television system, interlaced scanning called interlacing is performed on the screen for each scanning line, and when processing is performed frame by frame rather than field by field, the distance between the scanning lines is shorter and the correlation is reduced. Therefore, when performing predictive coding or orthogonal transformation on a still image, it is more efficient to process it frame by frame. In this case, pixels are shifted every other scanning line by the distance moved in one field scanning time, resulting in low correlation and poor efficiency.

このような問題を解決するため、ブロック内の処理の仕
方を、フィールド間、フィールド内で比較して効率のよ
い方に切り替える方式が考案されている。
In order to solve such problems, a method has been devised in which the processing method within a block is compared between fields and within a field and switched to the more efficient method.

第3図は従来の映像信号の符号化装置を説明するための
符号化装置、復号化装置の構成図である。
FIG. 3 is a configuration diagram of an encoding device and a decoding device for explaining a conventional video signal encoding device.

同図において(a)は符号化装置の構成図であり、1は
バッファメモリ、2,3はブロック化器、45は直交変
換器、6.7は量子化器、8,9は符号化器、10は比
較器である。
In the figure, (a) is a block diagram of the encoding device, in which 1 is a buffer memory, 2 and 3 are block generators, 45 is an orthogonal transformer, 6.7 is a quantizer, and 8 and 9 are encoders. , 10 is a comparator.

バッファメモリ1に蓄えられた画像を、プロ。The images stored in buffer memory 1 can be saved in professional mode.

り什器2.3により縦8画素×横8画素のブロックに分
割にする。さらに第2図に示すように縦8画素×横8画
素のブロックをフレーム内処理用に4走査線ごとに上下
2分割、またフィールド内処理用に1走査線おきに2分
割してそれぞれ2個の縦4西素×横8i!i素のプロ・
ンクをつくる。
It is divided into blocks of 8 pixels vertically by 8 pixels horizontally using fixture 2.3. Furthermore, as shown in Figure 2, a block of 8 pixels vertically x 8 pixels horizontally is divided into upper and lower halves every 4 scanning lines for intra-frame processing, and divided into 2 parts every other scanning line for intra-field processing, resulting in two blocks each. Vertical 4 west elements x horizontal 8 i! I elementary professional
create a link.

それぞれのブロックの信号は直交変換器4.5により直
交変換され、量子化器6,7により再量子化され、符号
化器8.9により符号化される。
The signals of each block are orthogonally transformed by an orthogonal transformer 4.5, requantized by quantizers 6 and 7, and encoded by an encoder 8.9.

フィールド間処理、フィールド内処理の符号量を比較器
10によりそれぞれ8×8画素のブロック単位で比較し
、符号量の小さい方を選択する。フィールド間処理、フ
ィールド内処理のどちらを選択したかを示すフラグもと
もに出力する。
The comparator 10 compares the code amounts of the inter-field processing and the intra-field process in units of 8×8 pixel blocks, and selects the one with the smaller code amount. A flag indicating whether inter-field processing or intra-field processing is selected is also output.

第3図(b)は復号化装置の構成図である。同図におい
て11はバ・7フアメモリ、12は復号化器、13は逆
量子化器、14は直交変換器、15は逆ブロツク化器、
16は選択器である。
FIG. 3(b) is a block diagram of the decoding device. In the figure, 11 is a buffer memory, 12 is a decoder, 13 is an inverse quantizer, 14 is an orthogonal transformer, 15 is an inverse block generator,
16 is a selector.

符号化入力はバッファメモリ11に蓄えられた後、復号
化器12によって復号され、逆量子化器13によって符
号化装置側の符号化器と量子化器の逆の操作を施され、
直交変換器14により映像信号に戻される0選択器16
はフラグからフィルド間処理、フィールド内処理のいず
れかを選び、逆ブロツク化器15により復号化結果を符
号化時に選択した画素配列に戻し出力する。
After the encoded input is stored in the buffer memory 11, it is decoded by the decoder 12, and subjected to the inverse operation of the encoder and quantizer on the encoding device side by the inverse quantizer 13,
0 selector 16 which is returned to the video signal by the orthogonal transformer 14
selects either inter-field processing or intra-field processing from the flag, and the deblocker 15 returns the decoding result to the pixel array selected at the time of encoding and outputs it.

発明が解決しようとする課題 しかしながら、従来の技術では、フィールド間処理、フ
ィールド内処理の選択を行なうために両者を符号化、量
子化する必要があり、計算時間。
Problems to be Solved by the Invention However, in the conventional technology, in order to select between inter-field processing and intra-field processing, it is necessary to encode and quantize both, which increases calculation time.

回路規模の面で問題がある。特に符号化効率を上げるた
めに?31S1iな処理を行なう符号化器を用いるほど
、この問題は顕著となる。
There is a problem in terms of circuit scale. Especially to increase encoding efficiency? This problem becomes more serious as the encoder that performs the H.31S1i processing is used.

本発明はかかる点に鑑み、より簡単な構成で符号化効率
の高い映像信号の符号化装置を提供することを目的とす
る。
In view of the above, an object of the present invention is to provide a video signal encoding device with a simpler configuration and higher encoding efficiency.

課題を解決するための手段 本発明は、画面をブロックに分割するブロック化手段と
、分割された各ブロック内の信号の前フレームの信号と
の間の差分信号を計算する手段と、前記差分信号の間数
きあらかじめ設定した1個または複数個の定数を比較す
る手段と、前記差分信号の間数と前記定数の関係から各
ブロック内の符号化処理を1フィールド間あるいはフィ
ールド内で行なう2つの場合のうち一方の処理を選択す
る手段と、選択した処理により符号化する手段を備える
ことを特徴とする映像信号の符号化器!である。
Means for Solving the Problems The present invention provides blocking means for dividing a screen into blocks, means for calculating a difference signal between a signal in each divided block and a signal of a previous frame, and a means for calculating a difference signal between a signal in each divided block and a signal in a previous frame. means for comparing one or more constants with a preset number of intervals; and two means for performing encoding processing within each block between fields or within a field based on the relationship between the number of intervals of the difference signal and the constants. A video signal encoder characterized by comprising means for selecting one of the two types of processing, and means for encoding according to the selected processing! It is.

作用 本発明は上記の手段によって、フレーム間差分信号をi
l!!値と比較することにより、複雑な処理の変換、量
子化、符号化を実際に行なう前にフィールド間、フィー
ルド内等の処理方法を切り替えることができ、各ブロッ
クについて実際の変換、量子化、符号化針夏を行なう回
数を1回に抑えることができ、より簡単な構成で計算時
間の短い符号化効率の高い映像信号の符号化装置を得る
ことができる。
Effect The present invention uses the above-mentioned means to convert the inter-frame difference signal to i.
l! ! By comparing the values, it is possible to switch the processing method between fields, within fields, etc. before actually performing complex processing such as conversion, quantization, and coding, and to compare the actual conversion, quantization, and coding for each block. The number of times the conversion process is performed can be suppressed to one, and a video signal encoding device with a simpler configuration, short calculation time, and high encoding efficiency can be obtained.

実施例 第1図は本発明の第1の実施例を説明するための符号化
装置の構成図である。17はフレームメモリ、18はバ
ッファメモリ、19.20はブロック化器、21は減算
器、22は比較器、23は直交変換器、24は量子化器
、25は符号化器である。
Embodiment FIG. 1 is a block diagram of an encoding apparatus for explaining a first embodiment of the present invention. 17 is a frame memory, 18 is a buffer memory, 19.20 is a block generator, 21 is a subtracter, 22 is a comparator, 23 is an orthogonal transformer, 24 is a quantizer, and 25 is an encoder.

フレームメモリ17には符号化しようとするフレームの
1フレーム前の信号を記憶しておく。
The frame memory 17 stores a signal of one frame before the frame to be encoded.

バッファメモリ1日に蓄えられた符号化しようとするフ
レームの信号を、ブロック化器19により縦8画素×横
8画素のブロックに分割する。前記分割されたそれぞれ
のブロックの信号と同し画素位置の位置の1フレーム前
のブロックの信号をフレームメモリ17から取り出し、
減算器21により差分を得る。得られた差分値の絶対値
の総和と闇値とを比較器22により比較する。
The signal of the frame to be encoded stored in the buffer memory for one day is divided into blocks of 8 pixels vertically by 8 pixels horizontally by a block generator 19. Retrieving from the frame memory 17 the signal of the block one frame before the same pixel position as the signal of each of the divided blocks;
A subtracter 21 obtains a difference. A comparator 22 compares the sum of the absolute values of the obtained difference values and the dark value.

フレーム間差分が大きい場合は一般的にブロック内の画
が動いていると考えられるため、闇値以上である場合は
動いていると判断し、フィールド内処理を選択する。閾
値以下である場合は止まっていると判定し、フィールド
間処理を選択する。
If the inter-frame difference is large, it is generally considered that the image within the block is moving, so if it is equal to or greater than the darkness value, it is determined that it is moving, and intra-field processing is selected. If it is below the threshold, it is determined that it has stopped, and inter-field processing is selected.

フィールド間処理が選ばれた場合には第2図に示すよう
に縦Bij素×横8画素のブロックを4走査線ごとに上
下2分割、またフィールド内処理用が選ばれた場合には
1走査線おきに2分割してそれぞれ2個の縦4画素×横
8画素のブロックをブロック化器20によりつくる。
When inter-field processing is selected, a block of Bij pixels vertically x 8 pixels horizontally is divided into upper and lower halves every 4 scanning lines as shown in Figure 2, and when intra-field processing is selected, one scan is performed. The block is divided into two every other line, and the block generator 20 creates two blocks each having 4 pixels in the vertical direction and 8 pixels in the horizontal direction.

選択された方のブロックの信号は直交変換器23によっ
て変換され、量子化器24により再量子化、符号化器2
5により符号化される。
The signal of the selected block is transformed by the orthogonal transformer 23, requantized by the quantizer 24, and then requantized by the encoder 2.
5.

従来例に比較して、実際の直交変換、量子化。Actual orthogonal transformation and quantization compared to conventional examples.

符号化の複雑な処理をフィールド間、フィールド内のそ
れぞれに対して行なわず、選択後に一度だけ直交変換、
量子化、符号化を行なうだけでよく、装置構成を小さく
、計算時間を短くできる。
Rather than performing complex encoding processing between fields and within fields, orthogonal transformation is performed only once after selection.
It is only necessary to perform quantization and encoding, and the device configuration can be made smaller and calculation time can be shortened.

なお、以上の説明において、分割するブロックの大きさ
を4×8画素、フレーム間差分の比較を行なう大きさを
8X8!素としてか、これらの大きさは任意である。ま
た、フィールド間処理用およびフィールド内処理用とし
て第2図に示したブロック分割方法を用いたが、これら
の分割方法は任意である。
In the above explanation, the size of the block to be divided is 4 x 8 pixels, and the size of the comparison between frames is 8 x 8! Basically, these sizes are arbitrary. Furthermore, although the block division method shown in FIG. 2 was used for inter-field processing and intra-field processing, these division methods may be arbitrary.

また、闇値とフレーム間差分値の絶対値の和を比較した
が、これはフレーム間差分値の自乗の和など他の関数を
用いてもよい、また比較方法は任意であり、闇値を1個
あるいは複数用意してそれぞれの判定からどちらかを選
択してもよい。
In addition, although we compared the sum of the absolute values of the darkness value and the inter-frame difference value, other functions such as the sum of the squares of the inter-frame difference values may be used, and the comparison method is arbitrary. One or more may be prepared and one of the judgments may be selected.

発明の詳細 な説明したように、本発明によれば、より簡単な構成で
符号化効率の高い映像信号の符号化装置を得ることがで
きる。
As described in detail, according to the present invention, it is possible to obtain a video signal encoding device with a simpler configuration and higher encoding efficiency.

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

第1図は本発明の第1の実施例の符号化装置の構成を示
したブロック図、第2図はブロックの分割方法およびブ
ロック内の処理の比較方法の説明図、第3図(a)は従
来の符号化装置の構成を示したブロック回、同図Φ)は
従来の復号化装置の構成を示したブロフク図である。 1.18・・・・・・バッファメモリ、2,3,19゜
20・・・・・・ブロック化器、4,5,14.23・
・・・・・直交変換器、6.7.24・・・・・・量子
化器、8.925・・・・・・符号化器、12・・・・
・・復号化器、13・・・・・・逆量子化器、15・・
・・・・逆プロ、り什器、16・・・・・・選択器、1
7・・・・・フレームメモリ、22・・・・・・比較器
、21・・・・・・減算器。 代理人の氏名 弁理士小鍜治明 ほか2名第 図 r!r号1組く」プロ12 変膿7”S−tフ 第 図
FIG. 1 is a block diagram showing the configuration of an encoding device according to a first embodiment of the present invention, FIG. 2 is an explanatory diagram of a method of dividing blocks and a method of comparing processes within a block, and FIG. 3(a) 1 is a block diagram showing the configuration of a conventional encoding device, and Φ) in the same figure is a block diagram showing the configuration of a conventional decoding device. 1.18...Buffer memory, 2,3,19°20...Blocker, 4,5,14.23.
... Orthogonal transformer, 6.7.24 ... Quantizer, 8.925 ... Encoder, 12 ...
...Decoder, 13...Inverse quantizer, 15...
...Reverse production, fixtures, 16...Selector, 1
7...Frame memory, 22...Comparator, 21...Subtractor. Name of agent: Patent attorney Haruaki Ogata and 2 others Figure r! R No. 1 Class" Pro 12 Henepus 7" S-t F Diagram

Claims (3)

【特許請求の範囲】[Claims] (1)画面をブロックに分割するブロック化手段と、分
割された各ブロック内の信号と前フレームの信号との間
の差分信号を計算する手段と、前記差分信号の関係とあ
らかじめ設定した1個または複数個の定数を比較する手
段と、前記差分信号の関数と前記定数の関係から各ブロ
ック内の符号化処理を1フィールド間あるいはフィール
ド内で行なう2つの場合のうち一方の処理を選択する手
段と、選択した処理により符号化する手段を備えること
を特徴とする映像信号の符号化装置。
(1) Blocking means for dividing the screen into blocks, means for calculating a difference signal between the signal in each divided block and the signal of the previous frame, and a preset value based on the relationship between the difference signals. or means for comparing a plurality of constants, and means for selecting one of two cases in which encoding processing within each block is performed between fields or within a field based on the relationship between the function of the difference signal and the constant. 1. A video signal encoding device comprising: and means for encoding by the selected processing.
(2)分割された各ブロック内の信号と、前フレーム中
でそれぞれのブロックと同じ画素位置にあるブロック内
の信号との間の差分信号を計算する手段を備えることを
特徴とする請求項(1)記載の映像信号の符号化装置。
(2) A method for calculating a difference signal between a signal in each divided block and a signal in a block located at the same pixel position as each block in the previous frame. 1) The video signal encoding device described above.
(3)分割された各ブロック内の信号と、前フレーム中
でそれぞれのブロック内に対応する位置から縦方向及び
横方向に任意の画素だけずれた位置にあるブロック内の
信号との間の差分信号を計算する手段を備えることを特
徴とする請求項(1)記載の映像信号の符号化装置。
(3) Difference between the signal in each divided block and the signal in a block located at a position shifted by an arbitrary pixel in the vertical and horizontal directions from the corresponding position in each block in the previous frame 2. The video signal encoding device according to claim 1, further comprising means for calculating the signal.
JP2227039A 1990-08-28 1990-08-28 Video signal encoding device Pending JPH04108270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2227039A JPH04108270A (en) 1990-08-28 1990-08-28 Video signal encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2227039A JPH04108270A (en) 1990-08-28 1990-08-28 Video signal encoding device

Publications (1)

Publication Number Publication Date
JPH04108270A true JPH04108270A (en) 1992-04-09

Family

ID=16854572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2227039A Pending JPH04108270A (en) 1990-08-28 1990-08-28 Video signal encoding device

Country Status (1)

Country Link
JP (1) JPH04108270A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6146684A (en) * 1984-08-13 1986-03-06 Nec Corp System and device for inter-frame encoding/decoding
JPS63234788A (en) * 1987-03-10 1988-09-30 フィリップス エレクトロニクス ネムローゼ フェンノートシャップ Television system which transfers encoded digital picture signal from encoding station to decoding station

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6146684A (en) * 1984-08-13 1986-03-06 Nec Corp System and device for inter-frame encoding/decoding
JPS63234788A (en) * 1987-03-10 1988-09-30 フィリップス エレクトロニクス ネムローゼ フェンノートシャップ Television system which transfers encoded digital picture signal from encoding station to decoding station

Similar Documents

Publication Publication Date Title
KR100333229B1 (en) Image signal coding method
EP1096801B1 (en) Device for predicting and decoding images
JP2562499B2 (en) High-efficiency image encoding device and its decoding device
EP0585051B1 (en) Image processing method and apparatus
US20030095603A1 (en) Reduced-complexity video decoding using larger pixel-grid motion compensation
JPS62203496A (en) Highly efficient encoding system for animation picture signal
KR20090128504A (en) Image information decoding method and apparatus
JPH0775111A (en) Digital signal encoder
JPH0662389A (en) Video signal encoder
US6556714B2 (en) Signal processing apparatus and method
JPH04108270A (en) Video signal encoding device
JP2507199B2 (en) Image coding method and apparatus
JPH05130593A (en) Encoding device
JP3067404B2 (en) Image encoding device and decoding device
JP3166835B2 (en) Method and apparatus for highly efficient coding of moving images
JPH07143487A (en) Image coding device
EP1163796B1 (en) A method and a device for encoding and decoding of interlaced video signals by a codec for progressive video signals
JPH0474085A (en) Coder for video signal
JP2956726B2 (en) Method and apparatus for highly efficient coding of moving images
JPH07203460A (en) Trajectory display
JP3867323B2 (en) Encoding apparatus and method thereof
CA2328581C (en) Method for the coding of picture signals
JPH07112283B2 (en) Motion vector detection device and detection method
JP2642525B2 (en) Intra-frame coding method for images
CN117998091A (en) Video coding method, device, equipment and storage medium