Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0220196B2 - - Google Patents
[go: Go Back, main page]

JPH0220196B2 - - Google Patents

Info

Publication number
JPH0220196B2
JPH0220196B2 JP59156613A JP15661384A JPH0220196B2 JP H0220196 B2 JPH0220196 B2 JP H0220196B2 JP 59156613 A JP59156613 A JP 59156613A JP 15661384 A JP15661384 A JP 15661384A JP H0220196 B2 JPH0220196 B2 JP H0220196B2
Authority
JP
Japan
Prior art keywords
block
output
value
code
conversion circuit
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 - Lifetime
Application number
JP59156613A
Other languages
Japanese (ja)
Other versions
JPS6156587A (en
Inventor
Shinichi Maki
Takashi Ito
Kiichi Matsuda
Toshitaka Tsuda
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59156613A priority Critical patent/JPS6156587A/en
Publication of JPS6156587A publication Critical patent/JPS6156587A/en
Publication of JPH0220196B2 publication Critical patent/JPH0220196B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像データの動き補償フレーム間符
号化方式の最適ブロツク検出回路の改良に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an improvement of an optimal block detection circuit for a motion compensated interframe coding method for image data.

画像データを帯域圧縮符号化して伝送する場合
の高能率な符号化方式として動き補償フレーム間
符号化方式が用いられる。
A motion compensated interframe coding method is used as a highly efficient coding method when image data is band-compressed and transmitted.

この方法は、第2図Bに示す予測値となる前フ
レームの画像が第2図Aに示す現フレームの画像
に移動した場合、前フレームと現フレーム間のの
差分をその儘とつたのでは差分情報が多いので、
フレームをブロツクに区切り、第2図Aに示す例
えばブロツクAの画像に最も近似したブロツク
を、第2図Bに示す前フレームより切出し求め、
(この場合はBであるとする)予測ブロツクとな
る前フレームのブロツクBとの画素の差分値の累
積値及び、受信側にてブロツクBが判るようにす
る為に、ブロツクBの位置を示す、第2図Aの矢
印の、ブロツクAとブロツクB間のベクトル情報
を送信するようにしている。
In this method, when the previous frame image that becomes the predicted value shown in Figure 2B moves to the current frame image shown in Figure 2A, the difference between the previous frame and the current frame is taken as is. Since there is a lot of information,
The frame is divided into blocks, and the block most similar to the image of block A shown in FIG. 2A is cut out from the previous frame shown in FIG. 2B, and
(In this case, it is assumed to be B.) Indicates the cumulative value of the difference value of pixels from block B of the previous frame, which is the predicted block, and the position of block B so that block B can be recognized on the receiving side. , vector information between block A and block B indicated by the arrow in FIG. 2A is transmitted.

一般的に、フレーム間の画像データの差分値
は、統計的に0に近いものが多く、又ブロツクと
予測ブロツク間の距離であるベクトルも統計的に
0に近いものが多い。
Generally, the difference value of image data between frames is often statistically close to 0, and the vector representing the distance between a block and a predicted block is also often statistically close to 0.

そこで、実際の上記差分値の累積値及びベクト
ル情報を送信するのには、伝送量を少なくする為
に、差分値の場合は、第3図に示す如く、差分値
が0に近いもの程、符号割当ビツト数を少なく、
差分値が大きいもの程、符号割当ビツト数を多く
した可変長符号を用いている。
Therefore, in order to reduce the transmission amount when transmitting the actual accumulated value and vector information of the above-mentioned difference values, in the case of difference values, as shown in Fig. 3, the closer the difference value is to 0, the more Reduce the number of bits assigned to the code,
The larger the difference value, the larger the number of bits allocated to the code is used.

又ベクトル情報の場合は、第4図に示す如く、
ベクトルが短いもの程、符号割当ビツト数を少な
く、ベクトルが長いもの程符号割当ビツト数を多
くした可変長符号を用いている。
In the case of vector information, as shown in Figure 4,
A variable length code is used in which the shorter the vector, the smaller the number of code bits allocated, and the longer the vector, the larger the number of code bits allocated.

よつて、前フレームより、最適ブロツクを検出
する場合、ブロツク内の画素の差分値を可変長符
号とした符号の累積値と、ベクトル情報を可変長
符号とした符号との和の符号長が、最も短くなる
ブロツクを最適ブロツクとして検出すれば、伝送
情報量を最も少なくすることが出来る。
Therefore, when detecting the optimal block from the previous frame, the code length of the sum of the cumulative value of the code using the variable length code as the difference value of the pixels in the block and the code using the vector information as the variable length code is If the shortest block is detected as the optimal block, the amount of transmitted information can be minimized.

この最適ブロツクを検出する最適ブロツク検出
回路としては回路規模が小さいことが望ましい。
It is desirable that the optimum block detection circuit for detecting this optimum block has a small circuit scale.

〔従来の技術〕[Conventional technology]

第5図は従来例の最適ブロツク検出回路のブロ
ツク図である。
FIG. 5 is a block diagram of a conventional optimal block detection circuit.

第5図では、現フレームの1ブロツクを減算器
1に入力し(入力ブロツク)、又前フレームの1
ブロツクを予測ブロツクとして減算器1に入力
し、差分値を求め、符号変換回路2にて、この差
分値に対応した可変長符号に変換し、加算器3に
送る。
In Fig. 5, one block of the current frame is input to subtracter 1 (input block), and one block of the previous frame is input to subtracter 1 (input block).
The block is input to a subtracter 1 as a prediction block, a difference value is determined, and a code conversion circuit 2 converts it into a variable length code corresponding to this difference value, and sends it to an adder 3.

加算器3の他の入力にはセレクタ11の出力が
入力しており、加算器3では両者が加算され、1
データ遅延素子(FF)5に入力し、1データ遅
延素子(FF)5の出力は加算器12に送られる
と共に、セレクタ11に入力している。
The output of the selector 11 is input to the other input of the adder 3, and the adder 3 adds both of them, resulting in 1
The output of the one data delay element (FF) 5 is sent to the adder 12 and is also input to the selector 11.

セレクタ11には又0が入力しており、セレク
タ11では、予測ブロツクとの差分値の一番先頭
のデータが減算器1より送信された時のみ0を選
択して加算器3に入力し、他の場合は、1データ
遅延素子(FF)5の出力を選択し加算器3に入
力する。
0 is also input to the selector 11, and the selector 11 selects 0 and inputs it to the adder 3 only when the first data of the difference value from the predicted block is transmitted from the subtracter 1. In other cases, the output of the 1-data delay element (FF) 5 is selected and input to the adder 3.

従つて、加算器3では、入力ブロツクと予測ブ
ロツクとの画素の差分値を可変長符号とした符号
の累積値が求められ、これが加算器12に入力す
る。
Therefore, the adder 3 calculates the cumulative value of the code using the pixel difference value between the input block and the prediction block as a variable length code, and inputs this to the adder 12.

一方、ベクトル情報はベクトル情報符号変換回
路4にて可変長符号に変換され、セレクタ8にC
として入力すると共に、加算器12に入力してお
り、上記累積値と加算され、フリツプフロツプ6
に送られ、ブロツククロツクによりラツチされ、
Aとして比較回路7及びセレクタ8に入力する。
On the other hand, the vector information is converted into a variable length code by the vector information code conversion circuit 4 and sent to the selector 8.
It is also input to the adder 12, and is added to the above cumulative value, and the flip-flop 6
is sent to and latched by the block clock.
It is input as A to the comparator circuit 7 and selector 8.

比較回路7及びセレクタ8には、前の予測ブロ
ツクに対し上記と同様にして求めた値Bが入力し
ており、又セレクタ8には前の予測ブロツクのベ
クトル情報を可変長符号にした符号Dが入力して
おり、比較回路7でAとBが比較され、小さい方
の値を例えばAとすると、セレクタ8では、Aと
Cを選択し、フリツプフロツプ9を加え、ベクト
ル情報を可変長符号にした符号と、差分値を可変
長符号にしての累積値に、ベクトル情報を可変長
符号にした符号との加算値をラツチし出力する。
The comparison circuit 7 and the selector 8 are input with the value B obtained for the previous prediction block in the same manner as above, and the selector 8 is input with a code D obtained by converting the vector information of the previous prediction block into a variable length code. is input, the comparison circuit 7 compares A and B, and if the smaller value is, for example, A, the selector 8 selects A and C, adds the flip-flop 9, and converts the vector information into a variable length code. The added value of the code, the cumulative value obtained by converting the difference value into a variable length code, and the code obtained by converting vector information into a variable length code is latched and output.

この動作を繰り返すと、伝送する符号量の最小
の予測ブロツクである最適ブロツクを検出するこ
とが出来る。
By repeating this operation, it is possible to detect the optimal block, which is the predicted block with the smallest amount of code to be transmitted.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記最適ブロツク検出回路で
は、加算器が2個必要で回路規模の大きい問題点
がある。
However, the optimum block detection circuit described above requires two adders and has a problem in that the circuit size is large.

本発明は加算器が1個で最適ブロツクが検出出
来る回路規模の小さい最適ブロツク検出回路の提
供を目的としている。
An object of the present invention is to provide an optimal block detection circuit having a small circuit scale and capable of detecting an optimal block using only one adder.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点は、符号変換回路の出力を加算器に
入力し、出力を1データ遅延素子を介して、ブロ
ツク単位でラツチするラツチ回路に加え、 又該ベクトル情報符号変換回路の出力及び該1
データ遅延素子の出力をセレクタに入力し、予測
ブロツクとの差分値を最初に求めた時は該セレク
タより該ベクトル情報符号変換回路の出力を選択
し、それ以外の時は該1データ遅延素子の出力で
ある1データ前の値を選択して該加算器に入力す
るようにし、 該ラツチ回路の出力にて、現フレームのブロツ
クと前フレームの予測ブロツクとの各画素毎の差
分値を符号変換回路にて可変長符号に変換した符
号の累積値と、予測ブロツクとのベクトルをベク
トル情報符号変換回路にて可変長符号に変換した
符号との加算値を求めるようにすることで解決さ
れる。
The above problem is caused by a latch circuit that inputs the output of the code conversion circuit to an adder and latches the output in block units through a 1 data delay element, and also requires the output of the vector information code conversion circuit and the 1 data delay element.
The output of the data delay element is input to the selector, and when the difference value from the prediction block is first obtained, the output of the vector information code conversion circuit is selected from the selector, and at other times, the output of the vector information code conversion circuit is selected. Select the previous value of the output data and input it to the adder, and at the output of the latch circuit, the difference value for each pixel between the block of the current frame and the predicted block of the previous frame is code-converted. This problem can be solved by calculating the sum of the cumulative value of the code converted into a variable length code by the circuit and the code obtained by converting the vector of the prediction block into the variable length code by the vector information code conversion circuit.

〔作用〕[Effect]

本発明によれば、符号変換回路の出力を加算器
に入力し、出力を1データ遅延素子に加え、 又該ベクトル情報符号変換回路の出力及び該1
データ遅延素子の出力をセレクタに入力し、 予測ブロツクとの差分値を最初に求めた時は該
セレクタより該ベクトル情報符号変換回路の出力
を選択し、それ以外の時は該1データ遅延素子の
出力である1データ前の値を選択して該加算器に
入力し、 現フレームのブロツクと前フレームの予測ブロ
ツクとの各画素毎の差分値を符号変換回路にて可
変長符号に変換した符号の累積値と、予測ブロツ
クとのベクトルをベクトル情報符号変換回路にて
可変長符号に変換した符号との加算値を求めるよ
うにしているので、加算器を1個とすることが出
来回路規模を小さくすることが出来る。
According to the present invention, the output of the code conversion circuit is input to the adder, the output is added to one data delay element, and the output of the vector information code conversion circuit and the one
The output of the data delay element is input to the selector, and when the difference value from the prediction block is first obtained, the output of the vector information code conversion circuit is selected from the selector, and at other times, the output of the vector information code conversion circuit is selected. The output value of one data previous is selected and inputted to the adder, and the difference value for each pixel between the block of the current frame and the predicted block of the previous frame is converted into a variable length code by a code conversion circuit. Since the cumulative value of the prediction block and the code obtained by converting the vector of the prediction block into a variable length code using the vector information code conversion circuit are calculated, the number of adders can be reduced to one, and the circuit size can be reduced. It can be made smaller.

〔実施例〕〔Example〕

第1図は本発明の実施例の最適ブロツク検出回
路のブロツク図である。
FIG. 1 is a block diagram of an optimal block detection circuit according to an embodiment of the present invention.

第1図で第5図の従来例の場合と異なる点は、
加算器12を除き、1データ遅延素子5の出力及
び0を入力しているセレクタ11を、1データ遅
延素子5の出力及びベクトル情報符号変換回路4
の出力の入力しているセレクタ10に変換した点
である。
The differences in Fig. 1 from the conventional example shown in Fig. 5 are as follows.
Except for the adder 12, the output of the 1-data delay element 5 and the selector 11 inputting 0 are connected to the output of the 1-data delay element 5 and the vector information code conversion circuit 4.
This is the point where the output of is converted to the input selector 10.

この異なる点を中心に以下説明する。 This different point will be mainly explained below.

第1図の場合は、符号変換回路2の出力を加算
器3に入力し、出力を1データ遅延素子5に加
え、又該ベクトル情報符号変換回路4の出力及び
該1データ遅延素子5の出力をセレクタに入力
し、 予測ブロツクとの差分値を最初に求めた時は該
セレクタ10より該ベクトル情報符号変換回路4
の出力を選択し、それ以外の時は該1データ遅延
素子5の出力である1データ前の値を選択して該
加算器3に入力している。
In the case of FIG. 1, the output of the code conversion circuit 2 is input to the adder 3, the output is added to the 1 data delay element 5, and the output of the vector information code conversion circuit 4 and the output of the 1 data delay element 5. is input to the selector, and when the difference value from the predicted block is first calculated, the vector information code conversion circuit 4 is input from the selector 10 to the vector information code conversion circuit 4.
At other times, the value of one data previous, which is the output of the one data delay element 5, is selected and input to the adder 3.

従つて、加算器3では、入力ブロツクと予測ブ
ロツクとの画素の差分値を符号変換回路2にて可
変長符号とした符号の累積値と、予測ブロツクと
のベクトルをベクトル情報符号変換回路4にて可
変長符号に変換した符号との加算値が求められ
る。
Therefore, the adder 3 converts the pixel difference value between the input block and the prediction block into a variable-length code in the code conversion circuit 2, and outputs the cumulative value of the code and the vector of the prediction block to the vector information code conversion circuit 4. The value added to the code converted into a variable length code is calculated.

よつて、第5図の加算器12を除くことが出来
回路規模を小さくすることが出来る。
Therefore, the adder 12 shown in FIG. 5 can be removed and the circuit scale can be reduced.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明せる如く本発明によれば、回路
規模の小さい最適ブロツク検出回路が得られる効
果がある。
As described above in detail, according to the present invention, an optimal block detection circuit with a small circuit scale can be obtained.

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

第1図は本発明の実施例の最適ブロツク検出回
路のブロツク図、第2図は、動き補償フレーム間
符号化方式の説明図、第3図はブロツク間の差分
値と符号割当ビツト数との関係を示す図、第4図
はベクトル情報の距離に応じた符号割当ビツト数
を示す図、第5図は従来例の最適ブロツク検出回
路のブロツク図である。 図において、1は減算器、2は符号変換回路、
3,12は加算器、4はベクトル情報符号変換回
路、5は1データ遅延素子、6,9はフリツプフ
ロツプ、7は比較回路、8,10,11はセレク
タを示す。
FIG. 1 is a block diagram of an optimal block detection circuit according to an embodiment of the present invention, FIG. 2 is an explanatory diagram of a motion compensated interframe coding method, and FIG. FIG. 4 is a diagram showing the relationship, FIG. 4 is a diagram showing the number of code allocation bits depending on the distance of vector information, and FIG. 5 is a block diagram of a conventional optimal block detection circuit. In the figure, 1 is a subtracter, 2 is a code conversion circuit,
3 and 12 are adders, 4 is a vector information code conversion circuit, 5 is one data delay element, 6 and 9 are flip-flops, 7 is a comparison circuit, and 8, 10, and 11 are selectors.

Claims (1)

【特許請求の範囲】 1 画像データの動き補償フレーム間符号化方式
の最適ブロツクを検出する為の、 現フレームのブロツクと前フレームの予測ブロ
ツクとの各画素毎の差分値を符号変換回路にて可
変長符号に変換してブロツク単位で累積した値を
求め、又該予測ブロツクとのベクトルをベクトル
情報符号変換回路にて可変長符号に変換した値
を、前記累積した値に加算し、該加算した値を、
前の予測ブロツクに対し加算した値と比較し、小
さい方の値を選択保持することで、加算した値の
最小の予測ブロツクを検出する最適ブロツク検出
回路において、 該符号変換回路の出力を加算器に入力し、出力
を1データ遅延素子を介して、ブロツク単位でラ
ツチするラツチ回路に加え、 又該ベクトル情報符号変換回路の出力及び該1
データ遅延素子の出力をセレクタに入力し、予測
ブロツクとの差分値を最初に求めた時は該セレク
タより該ベクトル情報符号変換回路の出力を選択
し、それ以外の時は該1データ遅延素子の出力で
ある1データ前の値を選択して該加算器に入力す
るようにし、 該ラツチ回路の出力にて、現フレームのブロツ
クと前フレームの予測ブロツクとの各画素毎の差
分値を符号変換回路にて可変長符号に変換した符
号の累積値と、予測ブロツクとのベクトルをベク
トル情報符号変換回路にて可変長符号に変換した
符号との加算値を求めるようにしたことを特徴と
する最適ブロツク検出回路。
[Claims] 1. In order to detect the optimal block of the motion compensated interframe coding method for image data, a code conversion circuit calculates the difference value for each pixel between the block of the current frame and the predicted block of the previous frame. Convert it into a variable length code to find the accumulated value in block units, and add the value obtained by converting the vector with the predicted block to the variable length code in a vector information code conversion circuit to the accumulated value, and perform the addition. The value
In the optimal block detection circuit, which detects the minimum prediction block of the added value by comparing it with the value added to the previous prediction block and selecting and holding the smaller value, the output of the code conversion circuit is sent to the adder. In addition to the latch circuit that latches the output in block units through one data delay element, the output of the vector information code conversion circuit and the one
The output of the data delay element is input to the selector, and when the difference value from the prediction block is first obtained, the output of the vector information code conversion circuit is selected from the selector, and at other times, the output of the vector information code conversion circuit is selected. Select the previous value of the output data and input it to the adder, and at the output of the latch circuit, the difference value for each pixel between the block of the current frame and the predicted block of the previous frame is code-converted. The optimum method is characterized in that the sum of the cumulative value of the code converted into a variable length code by the circuit and the code obtained by converting the vector of the predicted block into the variable length code by the vector information code conversion circuit is calculated. Block detection circuit.
JP59156613A 1984-07-27 1984-07-27 Optimum block detector circuit Granted JPS6156587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59156613A JPS6156587A (en) 1984-07-27 1984-07-27 Optimum block detector circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59156613A JPS6156587A (en) 1984-07-27 1984-07-27 Optimum block detector circuit

Publications (2)

Publication Number Publication Date
JPS6156587A JPS6156587A (en) 1986-03-22
JPH0220196B2 true JPH0220196B2 (en) 1990-05-08

Family

ID=15631557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59156613A Granted JPS6156587A (en) 1984-07-27 1984-07-27 Optimum block detector circuit

Country Status (1)

Country Link
JP (1) JPS6156587A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0752953B2 (en) * 1987-02-25 1995-06-05 日本電信電話株式会社 Motion vector evaluation method in motion compensation coding
DE69322769T2 (en) * 1992-03-03 1999-07-22 Kabushiki Kaisha Toshiba, Kawasaki, Kanagawa CODE FOR CHANGEABLE IMAGES
US6611559B1 (en) 1996-09-24 2003-08-26 Matsushita Electric Industrial Co., Ltd. Apparatus and method of detecting motion vectors by calculating a correlation degree between each candidate block

Also Published As

Publication number Publication date
JPS6156587A (en) 1986-03-22

Similar Documents

Publication Publication Date Title
US6101282A (en) Apparatus and method for image data encoding
US4571618A (en) TV Signal median prediction coding system
US4202011A (en) Television signal coder
US5710826A (en) Image encoding method
JP2000125297A (en) Method for coding and decoding consecutive image
EP0510627B1 (en) Encoding and decoding devices
JPH0547158B2 (en)
US4533957A (en) Method of processing picture signal to increase average run length and apparatus therefor
CN1980393A (en) Image coding device, method and computer program
KR0178195B1 (en) Apparatus for encoding an image signal using vector quantization technique
JP2001352550A (en) Image decoding apparatus and image decoding method
JPH0220196B2 (en)
JP2001516185A (en) Motion estimation method and apparatus employing subsampling technique
EP0597733B1 (en) Image encoding device
JP2768669B2 (en) Motion compensation inter-frame coding device for TV signal
US6058216A (en) Apparatus for encoding image data
JP2861381B2 (en) Image signal encoding apparatus and method
JP2608909B2 (en) Video predictive coding
JP2810478B2 (en) Image coding device
JPH0630399A (en) Motion vector detection method and detector
JP2570788B2 (en) Decoding device for high efficiency coding of television signals
JPH0547157B2 (en)
JP2697897B2 (en) Color image encoding method and apparatus
JPH0946709A (en) Image coding device
JPH0133994B2 (en)