JPH0686076A - Data transmitter - Google Patents

Data transmitter

Info

Publication number
JPH0686076A
JPH0686076A JP4255602A JP25560292A JPH0686076A JP H0686076 A JPH0686076 A JP H0686076A JP 4255602 A JP4255602 A JP 4255602A JP 25560292 A JP25560292 A JP 25560292A JP H0686076 A JPH0686076 A JP H0686076A
Authority
JP
Japan
Prior art keywords
data
circuit
scanning
information data
scan
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
JP4255602A
Other languages
Japanese (ja)
Inventor
Yoko Matsuura
陽子 松浦
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP4255602A priority Critical patent/JPH0686076A/en
Publication of JPH0686076A publication Critical patent/JPH0686076A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To reduce the entropy per information source symbol by transmitting the information data including a prescribed matrix equivalent to a single block after rearranging the data into a serial information data and inversely scanning this data to rearrange it into a prescribed matrix. CONSTITUTION:The input image data S1 undergoes an orthogonal transformation through a two-dimensional DCT circuit 2 and then is quantized by a quantizing circuit 3. The quantized DCT coefficient data C2 received from the circuit 3 is inputted to the scanning circuits 4A-4C respectively. The circuits 4A-4C turns the data C2 into the run length and input them to a selector circuit 5 as the two-dimensional series data RA1-RA3. At the same time, the EOB symbols EOB1-EOB3 are inputted to a comparator 6. The comparator 6 transmits the scan pattern data STD of the largest 0 run length. Thus the circuit 5 selects one of data RA1-RA3 and inputs it to a variable length coding circuit 8. A multiplexing circuit 7 turns the data RA0 into an entropy code, and the entropy code is multiplexed together with the data STD.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【目次】以下の順序で本発明を説明する。 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段(図1) 作用(図1) 実施例(図1〜図5) 発明の効果[Table of Contents] The present invention will be described in the following order. Field of Industrial Application Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems (FIG. 1) Action (FIG. 1) Embodiments (FIGS. 1 to 5) Effects of the Invention

【0002】[0002]

【産業上の利用分野】本発明はデータ伝送装置に関し、
例えば画像データを直交変換して得られる情報データを
伝送するものに適用し得る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission device,
For example, it can be applied to a device that transmits information data obtained by orthogonally transforming image data.

【0003】[0003]

【従来の技術】従来、画像データを高能率に符号化して
伝送する手法として、画像データを例えば2次元DCT
(discrete cosine transfer)等の手法で直交変換し、
この結果得られるDCT係数データを、量子化すると共
にハフマン符号化等の可変長符号化方法でエントロピー
符号化して伝送するようになされたものがある。
2. Description of the Related Art Conventionally, as a method of encoding image data with high efficiency and transmitting the image data, for example, two-dimensional DCT
Orthogonal transformation is performed by a method such as (discrete cosine transfer),
Some DCT coefficient data obtained as a result are quantized and entropy coded by a variable length coding method such as Huffman coding and transmitted.

【0004】このように2次元マトリクスでなるDCT
係数データの1ブロツク分を伝送する場合、いわゆるジ
グザグスキヤンと呼ばれるスキヤンパターンで走査して
1次元系列に変換後、連続する0の数(いわゆる0ラ
ン)を数えてランレングス化し、0以外の値(これを非
0と呼ぶ)でなる振幅値と組み合わせた2次元系列とし
て、情報源を拡大することにより情報源1記号当たりの
エントロピーを下げる伝送方法が用いられている。
The DCT having a two-dimensional matrix as described above
When transmitting one block of coefficient data, after scanning with a scan pattern called so-called zigzag scan scan and converting it into a one-dimensional sequence, the number of consecutive 0s (so-called 0 run) is counted to make a run length, and a value other than 0 As a two-dimensional sequence combined with an amplitude value (which is called non-zero), a transmission method is used in which the entropy per symbol of the information source is reduced by expanding the information source.

【0005】またDCT係数データの1ブロツク分の最
後の係数が0の場合、1次元系列の最後に出現した非0
の係数からブロツクの最後の0までの0ランを、例えば
エンドオブブロツク(EOB)記号として特別な符号を
割り付けると、ほとんどの場合EOB記号が最長の0ラ
ンを取る。このためにブロツク内の他の0ランの長さは
これより短くなり、0ラン及び非0の振幅値でなる2次
元配列のエントロピーを下げるようになされている。
If the last coefficient for one block of the DCT coefficient data is 0, the non-zero appearing at the end of the one-dimensional sequence.
If a special code is assigned from the coefficient of to the last zero of the block, for example as the end of block (EOB) symbol, the EOB symbol takes the longest zero run in most cases. For this reason, the length of other 0 runs in the block is shorter than this, and the entropy of the two-dimensional array having 0 runs and non-zero amplitude values is reduced.

【0006】[0006]

【発明が解決しようとする課題】ところがこのようにD
CT係数データの1ブロツク分をジグザグスキヤンで走
査して伝送する場合、DTC係数データの分布によつて
は必ずしもジグザグスキヤンで最長の0ランをとるEO
B記号を得ることが出来ない場合があり、1情報源記号
当たりのエントロピーを実用上十分に減少させ得ないと
いう問題がある。
However, as described above, D
When one block of CT coefficient data is scanned and transmitted by zigzag scanning, EO that takes the longest 0 run in zigzag scanning depending on the distribution of DTC coefficient data.
In some cases, the B symbol cannot be obtained, and there is a problem that the entropy per information source symbol cannot be sufficiently reduced in practical use.

【0007】またDCT係数データを走査する際にカツ
トオフを設け、エネルギー積算量でスキヤン方向を切り
替えることが提案されているが、この場合はEOB記号
がとる0ランの長さが予め決めれており、EOB記号に
有効に0を割り付けて情報源1記号当たりのエントロピ
ーを削減できない問題がある。
Further, it has been proposed to provide a cut-off at the time of scanning the DCT coefficient data and switch the scanning direction by the energy integration amount. In this case, the length of 0 run taken by the EOB symbol is predetermined, There is a problem that it is not possible to effectively allocate 0 to the EOB symbol and reduce the entropy per information source symbol.

【0008】実際上エネルギー積算量で選択しても、情
報源のエレメント数が他の走査パターンよりも多くなる
場合には、結果的に他の走査パターンより1情報源記号
当たりのエントロピーが増大してしまう問題があつた。
In practice, even if the energy integration amount is selected, if the number of elements of the information source is larger than that of the other scanning patterns, the entropy per one information source symbol is increased as compared with the other scanning patterns. There was a problem that caused it.

【0009】本発明は以上の点を考慮してなされたもの
で、簡易な方法かつ構成で1ブロツク分が所定のマトリ
クスでなる情報データを伝送する際、全体として1情報
源記号当たりのエントロピーを確実に減少させ得るデー
タ伝送装置を提案しようとするものである。
The present invention has been made in consideration of the above points, and when transmitting information data in which one block is a predetermined matrix by a simple method and configuration, the entropy per one information source symbol is totally taken. The present invention is intended to propose a data transmission device that can surely reduce the number.

【0010】[0010]

【課題を解決するための手段】かかる課題を解決するた
め本発明においては、1ブロツク分が所定のマトリクス
でなる情報データC2を伝送するデータ伝送装置1にお
いて、情報データC2の1ブロツク分を、それぞれ異な
る走査パターンで走査してシリアル情報データRA1、
RA2、RA3に並べ換える複数の走査手段4A、4
B、4Cと、その複数の走査手段4A、4B、4Cから
得られるシリアル情報データRA1、RA2、RA3中
に発生する連続した0が最長となる走査パターンを選択
する選択手段6と、その選択手段6で選択されたシリア
ル情報データRA0を走査パターンの種別ST0と共に
送出するデータ送出手段5、7、8とを設けるようにし
た。
In order to solve such a problem, in the present invention, one block of the information data C2 is transmitted in the data transmission device 1 which transmits the information data C2 in which one block is a predetermined matrix. The serial information data RA1 is scanned by different scanning patterns,
A plurality of scanning means 4A, 4A for rearranging to RA2, RA3
B and 4C, a selecting means 6 for selecting a scanning pattern in which consecutive 0s generated in the serial information data RA1, RA2, RA3 obtained from the plurality of scanning means 4A, 4B, 4C are the longest, and the selecting means. The data sending means 5, 7, 8 for sending the serial information data RA0 selected in 6 together with the scan pattern type ST0 are provided.

【0011】また本発明においては、1ブロツク分が所
定のマトリクスでなる情報データC2を伝送するデータ
伝送装置10において、走査パターンST10と共に伝
送されたシリアル情報データRAX10を、走査パター
ンST10に基づいて逆走査し、所定のマトリクスに並
べ換える逆走査手段13を設けるようにした。
Further, in the present invention, in the data transmission device 10 for transmitting the information data C2 in which one block is a predetermined matrix, the serial information data RAX10 transmitted together with the scanning pattern ST10 is reversed based on the scanning pattern ST10. A reverse scanning unit 13 that scans and rearranges in a predetermined matrix is provided.

【0012】さらに本発明において、選択手段6は、シ
リアル情報データRA1、RA2、RA3中の最後尾E
OB1、EOB2、EOB3に発生する連続した0が最
長となる走査パターンを選択するようにした。また本発
明において、選択手段6は、所定数のブロツク単位で走
査パターンを選択するようにした。さらにまた本発明に
おいて、情報データC2は、画像データSIを直交変換
して得られる係数データでなるようにした。
Further, in the present invention, the selection means 6 is the last E of the serial information data RA1, RA2, RA3.
A scanning pattern in which consecutive 0s generated in OB1, EOB2, and EOB3 are longest is selected. Further, in the present invention, the selecting means 6 selects the scanning pattern in units of a predetermined number of blocks. Furthermore, in the present invention, the information data C2 is made to be coefficient data obtained by orthogonally transforming the image data SI.

【0013】[0013]

【作用】1ブロツク分が所定のマトリクスでなる情報デ
ータC2を、それぞれ異なる走査パターンで走査してシ
リアル情報データRA1、RA2、RA3に並べ換え、
この結果シリアル情報データRA1、RA2、RA3中
の連続した0が最長となる走査パターン又は最後尾に発
生する連続した0が最長のものを選択して、走査パター
ンの種別ST1と共に送出し、このように走査パターン
と共に伝送されたシリアル情報データRAX10を、走
査パターンに基づいて逆走査して、所定のマトリクスに
並べ換えるようにしたことにより、全体として1情報源
記号当たりのエントロピーを確実に減少させ得る。
The information data C2 in which one block is a predetermined matrix is scanned by different scanning patterns and rearranged into serial information data RA1, RA2, RA3,
As a result, a scan pattern having the longest continuous 0s in the serial information data RA1, RA2, RA3 or the longest continuous 0s generated at the end is selected and transmitted together with the scan pattern type ST1. Since the serial information data RAX10 transmitted together with the scan pattern is reversely scanned based on the scan pattern and rearranged in a predetermined matrix, the entropy per one information source symbol can be surely reduced as a whole. .

【0014】[0014]

【実施例】以下図面について、本発明の一実施例を詳述
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0015】図1において、1は全体として本発明によ
るデータ伝送装置として画像データを符号化して伝送す
るデータ符号化装置を示し、入力される画像データSI
がまず2次元DCT(discrete cosine transfer)回路
2で直交変換される。続いて2次元DCT回路2で得ら
れるDCT係数データC1が、続く量子化回路3で所定
の量子化ビツト数で量子化される。
In FIG. 1, reference numeral 1 denotes a data coding apparatus for coding and transmitting image data as a data transmission apparatus according to the present invention as a whole, and input image data SI.
Is first orthogonally transformed by a two-dimensional DCT (discrete cosine transfer) circuit 2. Subsequently, the DCT coefficient data C1 obtained by the two-dimensional DCT circuit 2 is quantized by the subsequent quantization circuit 3 with a predetermined number of quantization bits.

【0016】量子化回路3から送出された量子化DCT
係数データC2は、第1、第2及び第3のスキヤン回路
4A、4B及び4Cに入力される。この第1〜第3のス
キヤン回路4A〜4Cでは、量子化DCT係数データC
2を図2、図3及び図4に示すように、それぞれ異なる
スキヤンパターンで走査して1次元系列に変換した後、
非0の係数値とその直前に出現した0の数を数えてラン
レングス化する。
Quantized DCT sent from the quantization circuit 3
The coefficient data C2 is input to the first, second and third scanning circuits 4A, 4B and 4C. In the first to third scanning circuits 4A to 4C, the quantized DCT coefficient data C
2, as shown in FIGS. 2, 3 and 4, after scanning with different scan patterns and converting them into a one-dimensional sequence,
A non-zero coefficient value and the number of 0s appearing immediately before that are counted to form a run length.

【0017】これにより第1、第2及び第3のスキヤン
回路4A、4B及び4Cでは、これを組み合わせて(0
ラン(R),非0の係数値(A))の2次元系列を作
り、さらにブロツクの最後に出現する0ランにエンドオ
ブブロツク(EOB)記号を割り当ててブロツクの終わ
りを表す識別記号とし、これらを2次元系列データRA
1(Ri,Ai)、RA2(Ri,Ai)、RA3(Ri,Ai)と
してそれぞれセレクタ回路5に入力すると共に、それぞ
れのEOB記号EOB1、EOB2、EOB3を比較器
6に入力する。
As a result, the first, second and third scanning circuits 4A, 4B and 4C combine these (0
A two-dimensional sequence of run (R) and non-zero coefficient value (A) is created, and an end-of-block (EOB) symbol is assigned to the 0 run appearing at the end of the block as an identification symbol indicating the end of the block. 2D series data RA
1 (Ri, Ai), RA2 (Ri, Ai), RA3 (Ri, Ai) are input to the selector circuit 5, respectively, and respective EOB symbols EOB1, EOB2, EOB3 are input to the comparator 6.

【0018】比較器6は入力されるそれぞれのEOB記
号EOB1、EOB2及びEOB3の0ラン長を比較し
て0ラン長の一番長いスキヤンパターンを判別し、この
判別結果をスキヤンパターンデータST0としてセレク
タ回路5に送出すると共に、多重化回路8に送出する。
The comparator 6 compares the 0 run lengths of the input EOB symbols EOB1, EOB2 and EOB3 to determine the longest scan pattern of 0 run length, and the result of this determination is used as the scan pattern data ST0. The signal is sent to the circuit 5 and is sent to the multiplexing circuit 8.

【0019】これによりセレクタ回路5は、入力される
スキヤンパターンデータST0に応じて、第1、第2及
び第3のスキヤン回路4A、4B及び4Cより入力され
る2次元系列データRA1(Ri,Ai)、RA2(Ri,A
i)、RA3(Ri,Ai)の何れかを選択し、これを2次
元系列データRA0として可変長符号化回路7に入力す
る。
As a result, the selector circuit 5 receives the two-dimensional sequence data RA1 (Ri, Ai) from the first, second and third scan circuits 4A, 4B and 4C according to the input scan pattern data ST0. ), RA2 (Ri, A
i) or RA3 (Ri, Ai) is selected, and this is input to the variable length coding circuit 7 as two-dimensional sequence data RA0.

【0020】可変長符号化回路7は入力される2次元系
列データRA0をハフマン符号化等の手法でエントロピ
ー符号化し、この結果得られる符号化データRAX0が
多重化回路8でスキヤンパターンデータST0と共に多
重化され、データ符号化装置1の出力伝送データDOU
Tとして送出される。
The variable-length coding circuit 7 entropy-codes the input two-dimensional sequence data RA0 by a method such as Huffman coding, and the resulting coded data RAX0 is multiplexed by the multiplexing circuit 8 with the scan pattern data ST0. Output transmission data DOU of the data encoding device 1
Sent as T.

【0021】この伝送データDOUTは、図5に示すよ
うなデータ復号化装置10に入力伝送データDINとし
て入力され、まず分離回路11において符号化データR
AX10及びスキヤンパターンデータST10に分離さ
れ、このうち符号化データRAX10が可変長復号化回
路12で復号化され、2次元系列データRA10として
逆スキヤン回路13に送出される。
This transmission data DOUT is input as input transmission data DIN to the data decoding device 10 as shown in FIG.
It is separated into AX10 and scan pattern data ST10, of which encoded data RAX10 is decoded by the variable length decoding circuit 12 and sent to the inverse scan circuit 13 as two-dimensional sequence data RA10.

【0022】逆スキヤン回路13は可変長復号化回路1
2から入力される2次元系列データRA10を、分離回
路11から入力されるスキヤンパターンデータST10
に基づいて逆スキヤンし、この結果得られる量子化DC
T係数データC12が逆量子化回路14で逆量子化さ
れ、このDCT係数データC10が2次元逆DCT回路
15で逆直交変換され、このようにして得られる画像デ
ータSOがデータ復号化装置10の出力として送出され
る。
The inverse scan circuit 13 is a variable length decoding circuit 1.
2 from the two-dimensional series data RA10 input from the scan circuit pattern data ST10 input from the separation circuit 11.
Inverse quantization based on the resulting quantized DC
The T coefficient data C12 is inversely quantized by the inverse quantization circuit 14, the DCT coefficient data C10 is inversely orthogonally transformed by the two-dimensional inverse DCT circuit 15, and the image data SO thus obtained is converted into the image data SO of the data decoding apparatus 10. Sent as output.

【0023】以上の構成において、例えば量子化DCT
係数データC2を図2に示すように、ジグザグスキヤン
で走査した場合2次元系列データRA1(Ri,Ai)は、
(0,12)(0,2)(0,3)(0,1)(1,
1)(3,4)(0,8)(0,1)(8,6)(0,
7)(0,2)(11,1)(EOB)となり、EOB
の0ランは29になる。このとき情報源1記号当たりの
エントロピーは 0.610、0ランの平均及びエントロピー
は1.91及び 1.585、0ランの標準偏差σは 3.546にな
る。
In the above configuration, for example, the quantized DCT
When the coefficient data C2 is scanned by zigzag scanning as shown in FIG. 2, the two-dimensional series data RA1 (Ri, Ai) is
(0,12) (0,2) (0,3) (0,1) (1,
1) (3, 4) (0, 8) (0, 1) (8, 6) (0,
7) (0, 2) (11, 1) (EOB) becomes EOB
0 runs to 29. At this time, the entropy per symbol of the information source is 0.610, the mean and entropy of 0 runs are 1.91 and 1.585, and the standard deviation σ of 0 runs is 3.546.

【0024】また同様の量子化DCT係数データC2を
図3に示すように、垂直スキヤンで走査した場合の2次
元系列データRA2(Ri,Ai)は、(0,12)(0,
3)(0,1)(0,4)(0,8)(0,6)(0,
7)(2,1)(0,2)(1,1)(2,2)(0,
1)(EOB)となり、EOBの0ランは47になる。
このとき情報源1記号当たりのエントロピーは 0.641、
0ランの平均及びエントロピーは 0.416及び 1.041、0
ランの標準偏差σは 0.759になる。
Further, as shown in FIG. 3, the same quantized DCT coefficient data C2 is scanned by a vertical scan, the two-dimensional sequence data RA2 (Ri, Ai) is (0,12) (0,
3) (0, 1) (0, 4) (0, 8) (0, 6) (0,
7) (2,1) (0,2) (1,1) (2,2) (0,
1) (EOB), and 0 run of EOB becomes 47.
At this time, the entropy per symbol of the information source is 0.641,
The mean and entropy of 0 runs are 0.416 and 1.041,0
The standard deviation σ of the run is 0.759.

【0025】またさらに同様の量子化DCT係数データ
C2を図4に示すように、水平スキヤンで走査した場合
の2次元系列データRA3(Ri,Ai)は、(0,12)
(0,2)(0,1)(12,3)(0,1)(13,
1)(0,4)(0,8)(13,2)(0,6)
(0,7)(0,1)(EOB)となり、EOBの0ラ
ンは14になる。このとき情報源1記号当たりのエント
ロピーは 0.598、0ランの平均及びエントロピーは3.16
及び1.041 、0ランの標準偏差σは5.48になる。
Further, as shown in FIG. 4, similar quantized DCT coefficient data C2 is (0, 12) when the two-dimensional series data RA3 (Ri, Ai) is scanned by a horizontal scan.
(0,2) (0,1) (12,3) (0,1) (13,
1) (0, 4) (0, 8) (13, 2) (0, 6)
(0,7) (0,1) (EOB), and the 0 run of EOB becomes 14. At this time, the entropy per symbol of the information source is 0.598, the average of 0 runs and the entropy is 3.16.
And 1.041, the standard deviation σ of 0 runs is 5.48.

【0026】従つて量子化DCT係数データC2が図2
から図4に示すようなマトリクスで表される場合には、
図3に示した垂直スキヤンで走査した場合の2次元系列
データRA2(Ri,Ai)が選択される。このようにして
得られた系列の0ランの平均は、他より一番短くなつて
おり、0ランの最大長も小さい。すなわち標準偏差も最
小となり、従つてラン系列のエントロピーも低下し、全
体としてのエントロピーも下がり圧縮率が改善される。
Accordingly, the quantized DCT coefficient data C2 is shown in FIG.
From the matrix shown in FIG.
Two-dimensional series data RA2 (Ri, Ai) in the case of scanning with the vertical scan shown in FIG. 3 is selected. The average of 0 runs of the sequence thus obtained is shorter than the others, and the maximum length of 0 runs is also small. That is, the standard deviation is also minimized, so that the entropy of the run sequence is reduced, the entropy as a whole is reduced, and the compression rate is improved.

【0027】実際上図2〜図4では参考として、各々情
報源1記号当たりのエントロピーを求めているが、これ
は1ブロツクの取る値であつて局所的な値でしかない。
むしろブロツクの全体のエントロピーや、エントロピー
符号化後の平均符号長を決定する意味で重要なのは、各
々のブロツクのエントロピーよりも、各ブロツク内/外
のデータの分散(標準偏差)である。
2 to 4, the entropy per symbol of each information source is actually obtained as a reference, but this is a value taken by one block and is only a local value.
Rather, it is not the entropy of each block but the variance (standard deviation) of the data inside / outside each block that is important in determining the overall entropy of the block and the average code length after entropy coding.

【0028】例えば1ブロツク内の情報源1記号当たり
のエントロピーのみ参照すると、図4の場合が最小であ
り、水平スキヤンパターンを選択しなければならない
が、この水平スキヤンパターンは反対に0ランの標準偏
差が最も大きい。すなわち0を中心としたラプラス分布
を成すべきはずの0ランの裾野を延ばすこととなり、全
体のラン系列のみならず2次元系列のエントロピーまで
上げてしまうことになる。
For example, referring to only the entropy per source symbol in a block, the case of FIG. 4 is the minimum and a horizontal scan pattern must be chosen, which is the opposite of the 0 run standard. The deviation is the largest. That is, the base of the 0 run that should form the Laplace distribution centered on 0 is extended, and the entropy of the two-dimensional sequence as well as the entire run sequence is increased.

【0029】従つてこの実施例では、0ランの標準偏差
を簡単に小さくコントロールできるEOBに含まれる0
の数でスキヤンパターンを選択するようになされ、この
2次元系列データRA0を可変長符号化回路8でエント
ロピー符号化することにより、平均符号長を短縮するこ
とができる。
Therefore, in this embodiment, the zero deviation contained in the EOB which can easily control the standard deviation of the zero run to be small.
The scan pattern is selected according to the number of .times. And the two-dimensional sequence data RA0 is entropy coded by the variable length coding circuit 8 to shorten the average code length.

【0030】以上の構成によれば、画像データSIを2
次元DCT変換してなるDCT係数データを伝送する際
に、所定マトリクスでなるDCT係数データC2を、そ
れぞれ異なるスキヤンパターンでスキヤンして0ラン
(R)及び非0の係数値(A)の2次元配列を作ると共
に、ブロツク最後に出現する0ランにEOB記号を割り
当て、EOB記号に含まれる0ランの長さの応じてスキ
ヤンパターンを選択して伝送するようにしたことによ
り、全体として伝送される1情報源記号当たりのエント
ロピーを確実に減少させ得るデータ符号化装置1及びデ
ータ復号化装置10を実現できる。
According to the above configuration, the image data SI is set to 2
When transmitting the DCT coefficient data obtained by the three-dimensional DCT conversion, the DCT coefficient data C2 formed by a predetermined matrix is scanned by different scan patterns, and two-dimensional of 0 run (R) and non-zero coefficient value (A). By making an array and assigning an EOB symbol to the 0 run that appears at the end of the block, and selecting and transmitting a scan pattern according to the length of the 0 run included in the EOB symbol, the entire data is transmitted. It is possible to realize the data encoding device 1 and the data decoding device 10 that can surely reduce the entropy per information source symbol.

【0031】なお上述の実施例においては、1ブロツク
単位でスキヤンパターンをコントロールして全体のエン
トロピーを下げる場合について述べたが、これに代え、
数ブロツク単位のEOBに応じて最適なスキヤンパター
ンを判断し、数ブロツク単位でコントロールするように
しても良く、このようにすれば全体としてオーバーヘツ
ドを軽減し得る。
In the above embodiment, the case where the scanning pattern is controlled in units of 1 block to reduce the entropy of the whole is described, but instead of this,
The optimum scanning pattern may be determined according to the EOB of several blocks, and control may be performed in units of several blocks. By doing so, the overhead can be reduced as a whole.

【0032】また上述の実施例においては、EOBの0
ランが最長となるスキヤンパターンを選択した場合につ
いて述べたが、EOBの0ランに代え、(0ラン,非0
の係数)の取る0ランの最大のものが最も小さいスキヤ
ンパターンを選択したり、実際上0ランの標準偏差又は
分散が最も小さいスキヤンパターンを選択するようにし
ても、上述の実施例と同様の効果を実現できる。
Further, in the above embodiment, 0 of EOB is set.
The case where the skiyan pattern with the longest run is selected has been described. However, instead of the 0 run of EOB, (0 run, non-zero
Even if the Sukiyan pattern having the smallest 0 run maximum of 0) or the Sukiyan pattern having the smallest 0 run standard deviation or variance is selected, the same as in the above-described embodiment. The effect can be realized.

【0033】また上述の実施例においては、画像データ
を2次元DCT変換してなるDCT係数データを伝送す
る場合について述べたが、画像データの変換はDCT変
換に限らず、例えば2次元フーリエ変換等の直交変換手
法を用いるようにしても上述の実施例と同様の効果を実
現できる。
Further, in the above-mentioned embodiment, the case of transmitting the DCT coefficient data obtained by performing the two-dimensional DCT conversion of the image data has been described. Even if the orthogonal transform method is used, the same effect as that of the above-described embodiment can be realized.

【0034】また上述の実施例においては、スキヤンパ
ターンとしてジグザグスキヤン、垂直スキヤン、水平ス
キヤンの3種類のスキヤンパターンを用いた場合につい
て述べたが、本発明によるスキヤンパターンはこれに限
らず、他のスキヤンパターンを用いるようにしても上述
の実施例と同様の効果を実現できる。
Further, in the above-mentioned embodiment, the case where three types of scan patterns of zigzag scan scan, vertical scan scan, and horizontal scan scan are used as scan scan patterns is described, but the scan scan pattern according to the present invention is not limited to this. Even if the scan pattern is used, the same effect as that of the above-described embodiment can be realized.

【0035】さらに上述の実施例においては、本発明を
画像データを直交変換し、この結果でなるマトリクス状
の係数データを走査して伝送する場合について述べた
が、本発明はこれに限らず、1ブロツクが所定のマトリ
クス状でなる情報データを走査して伝送する場合に広く
適用して好適なものである。
Further, in the above-described embodiments, the present invention has been described with respect to the case where the image data is orthogonally transformed and the resulting matrix-shaped coefficient data is scanned and transmitted. However, the present invention is not limited to this. It is suitable for wide application when scanning and transmitting information data in which one block has a predetermined matrix shape.

【0036】[0036]

【発明の効果】上述のように本発明によれば、1ブロツ
ク分が所定のマトリクスでなる情報データを、それぞれ
異なる走査パターンで走査してシリアル情報データに並
べ換え、この結果シリアル情報データの内最後尾に発生
する0の個数が最長のものを選択して、走査パターンの
種別と共に送出し、このように走査パターンと共に伝送
されたシリアル情報データを、走査パターンに基づいて
逆走査して、所定のマトリクスに並べ換えるようにした
ことにより、全体として1情報源記号当たりのエントロ
ピーを確実に減少させ得るデータ伝送装置を実現でき
る。
As described above, according to the present invention, information data of which one block is a predetermined matrix is scanned by different scanning patterns and rearranged into serial information data, and as a result, the last of the serial information data is obtained. The longest number of 0s generated in the tail is selected and sent out together with the type of the scanning pattern. The serial information data thus transmitted together with the scanning pattern is reverse-scanned based on the scanning pattern to obtain a predetermined number. By rearranging in a matrix, it is possible to realize a data transmission device that can surely reduce the entropy per information source symbol as a whole.

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

【図1】本発明によるデータ伝送装置の一実施例でなる
データ符号化装置を示すブロツク図である。
FIG. 1 is a block diagram showing a data encoding device as an embodiment of a data transmission device according to the present invention.

【図2】図1のデータ符号化装置のスキヤン回路で実行
するジグザグスキヤンの説明に供する略線図である。
FIG. 2 is a schematic diagram used for explaining zigzag skiyan executed by a scan circuit of the data encoding device in FIG.

【図3】図1のデータ符号化装置のスキヤン回路で実行
する垂直スキヤンの説明に供する略線図である。
3 is a schematic diagram for explaining a vertical scan executed by a scan circuit of the data encoding device of FIG. 1. FIG.

【図4】図1のデータ符号化装置のスキヤン回路で実行
する水平スキヤンの説明に供する略線図である。
4 is a schematic diagram for explaining a horizontal scan executed by a scan circuit of the data encoding device in FIG. 1. FIG.

【図5】本発明によるデータ伝送装置の一実施例でなる
データ復号化装置を示すブロツク図である。
FIG. 5 is a block diagram showing a data decoding device which is an embodiment of a data transmission device according to the present invention.

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

1……データ符号化装置、2……2次元DCT回路、3
……量子化回路、4……スキヤン回路、5……セレクタ
回路、6……比較器、7……多重化回路、8……可変長
符号化回路、10……データ復号化装置、11……分離
回路、12……可変長復号化回路、13……逆スキヤン
回路、14……逆量子化回路、15……2次元逆DCT
回路。
1 ... Data encoding device, 2 ... Two-dimensional DCT circuit, 3
... Quantization circuit, 4 ... Scan circuit, 5 ... Selector circuit, 6 ... Comparator, 7 ... Multiplexing circuit, 8 ... Variable length coding circuit, 10 ... Data decoding device, 11 ... ... Separation circuit, 12 ... Variable length decoding circuit, 13 ... Inverse scan circuit, 14 ... Inverse quantization circuit, 15 ... Two-dimensional inverse DCT
circuit.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】1ブロツク分が所定のマトリクスでなる情
報データを伝送するデータ伝送装置において、 上記情報データの上記1ブロツク分を、それぞれ異なる
走査パターンで走査してシリアル情報データに並べ換え
る複数の走査手段と、 当該複数の走査手段から得られる上記シリアル情報デー
タ中に発生する連続した0が最長となる上記走査パター
ンを選択する選択手段と、 当該選択手段で選択された上記シリアル情報データを上
記走査パターンの種別と共に送出するデータ送出手段と
を具えることを特徴とするデータ伝送装置。
1. A data transmission device for transmitting information data, one block of which is a predetermined matrix, wherein a plurality of blocks of the information data are scanned by different scanning patterns and rearranged into serial information data. Scanning means, selecting means for selecting the scanning pattern in which consecutive 0s generated in the serial information data obtained from the plurality of scanning means are longest, and the serial information data selected by the selecting means. A data transmission device comprising: a data transmission means for transmitting together with a type of a scanning pattern.
【請求項2】1ブロツク分が所定のマトリクスでなる情
報データを伝送するデータ伝送装置において、 上記走査パターンと共に伝送された上記1ブロツク分の
上記シリアル情報データを、上記走査パターンに基づい
て逆走査し、上記所定のマトリクスに並べ換える逆走査
手段を具えることを特徴とするデータ伝送装置。
2. A data transmission device for transmitting information data in which one block corresponds to a predetermined matrix, and the serial information data corresponding to one block transmitted together with the scanning pattern is reverse-scanned based on the scanning pattern. Then, the data transmission apparatus is provided with an inverse scanning means for rearranging the matrix into the predetermined matrix.
【請求項3】上記選択手段は、上記シリアル情報データ
中の最後尾に発生する連続した0が最長となる上記走査
パターンを選択するようにしたことを特徴とする請求項
1に記載のデータ伝送装置。
3. The data transmission according to claim 1, wherein the selecting means selects the scanning pattern in which a continuous 0 generated at the end of the serial information data is the longest. apparatus.
【請求項4】上記選択手段は、所定ブロツク数単位で上
記走査パターンを選択するようにしたことを特徴とする
請求項1に記載のデータ伝送装置。
4. The data transmission device according to claim 1, wherein the selecting means selects the scanning pattern in units of a predetermined number of blocks.
【請求項5】上記情報データは、画像信号を直交変換し
て得られる係数データでなることを特徴とする請求項
1、請求項2、請求項3又は請求項4に記載のデータ伝
送装置。
5. The data transmission device according to claim 1, wherein the information data is coefficient data obtained by orthogonally transforming an image signal.
JP4255602A 1992-08-31 1992-08-31 Data transmitter Pending JPH0686076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4255602A JPH0686076A (en) 1992-08-31 1992-08-31 Data transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4255602A JPH0686076A (en) 1992-08-31 1992-08-31 Data transmitter

Publications (1)

Publication Number Publication Date
JPH0686076A true JPH0686076A (en) 1994-03-25

Family

ID=17281011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4255602A Pending JPH0686076A (en) 1992-08-31 1992-08-31 Data transmitter

Country Status (1)

Country Link
JP (1) JPH0686076A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016521927A (en) * 2013-05-17 2016-07-25 アイ−シーイーエス(イノベイティブ コンプレッション エンジニアリング ソリューションズ) A method for encoding particularly compressed images, especially by "range coder" or arithmetic compression

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016521927A (en) * 2013-05-17 2016-07-25 アイ−シーイーエス(イノベイティブ コンプレッション エンジニアリング ソリューションズ) A method for encoding particularly compressed images, especially by "range coder" or arithmetic compression

Similar Documents

Publication Publication Date Title
JP4286322B2 (en) Transmission and reception of encoded video images
US5945930A (en) Data processing apparatus
JPH0377477A (en) Method and apparatus for variable length coding
EP0426260A2 (en) Adaptive zonal coder
JPH10224230A (en) Run length coder
JPH06237448A (en) Variable length coder and decoder
JPH09200757A (en) Encoder, decoder and data transmitter
JPH0787331A (en) Image compressing/coding method
JP3217507B2 (en) Image compression device
JPH0686076A (en) Data transmitter
US6084913A (en) Method for compressing dynamic image information and system and device therefor
JP3624450B2 (en) Image data encoding method and image data encoding apparatus
JPH04100390A (en) High efficient encoding system
JP3011811B2 (en) Decoding device for variable length code of image data
JPH0344187A (en) Coder for picture signal
JP2003219421A5 (en)
JPH03192878A (en) Picture data compressor
JPH0385062A (en) Picture data coding device
JP3191462B2 (en) High efficiency coding device
JPH03285460A (en) Picture data compressing and encoding system
JPH02200061A (en) Encoder
JPH08265754A (en) Encoding device
JPH03191676A (en) Image coding system
JPH02161887A (en) System and device for encoding image signal
JPS63121373A (en) Coding system for conversion coefficient