JPS58165482A - Encoder of color picture data - Google Patents

Encoder of color picture data

Info

Publication number
JPS58165482A
JPS58165482A JP57049598A JP4959882A JPS58165482A JP S58165482 A JPS58165482 A JP S58165482A JP 57049598 A JP57049598 A JP 57049598A JP 4959882 A JP4959882 A JP 4959882A JP S58165482 A JPS58165482 A JP S58165482A
Authority
JP
Japan
Prior art keywords
data
color
run
prediction
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.)
Granted
Application number
JP57049598A
Other languages
Japanese (ja)
Other versions
JPH0435949B2 (en
Inventor
Satoru Tomita
悟 富田
Shuichi Nishikawa
秀一 西川
Toshihiro Aota
青田 俊弘
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP57049598A priority Critical patent/JPS58165482A/en
Publication of JPS58165482A publication Critical patent/JPS58165482A/en
Publication of JPH0435949B2 publication Critical patent/JPH0435949B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/64Systems for the transmission or the storage of the colour picture signal; Details therefor, e.g. coding or decoding means therefor

Abstract

PURPOSE:To encode only data having correlation to the position of picture element group when the result of prediction is correct and to encode color data and data having correlation with position when not correct, by performing the prediction based on the data relating to inputted color picture data. CONSTITUTION:A run length and color discrimination circuit 7 which are same as a run detection circuit 2, converts a color picture data into a run length data and a color data. The run length data and the color data are given to a prediction circuit 8 and to a memory 9. The prediction circuit 8 predicts the color of inputted run newly based on a stored data of the memory 9. Further, the run length data and the color data are given to a code converting circuit 10. The circuit 10 encodes the run length data and the color data, the same as a code converting circuit 3. Said prediction circuit 8 controls the operation of the circuit 10, depending whether or not the predicted result is coincident with the color data inputted actually, that is, whether the result of prediction is correct or not.

Description

【発明の詳細な説明】 この発明は色彩画像データ符号化鏑置に関し、特にたと
えば色彩画像データをランごとに符号化する色彩−像デ
ータに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a color image data encoding system, and more particularly to color-image data encoding, for example, run-by-run encoding of color image data.

白黒だけではなく複数の色からなる多色画像の色彩画像
データを伝送する場合、白黒の画像データを伝送する場
合に比べてその情報量が非常に多くなる。そのため、色
彩画像データを符号化よってデータ圧輪して伝送するこ
とが行なわれている。
When transmitting color image data of a multicolor image consisting of not only black and white but also a plurality of colors, the amount of information is much larger than when transmitting black and white image data. Therefore, color image data is compressed by encoding and transmitted.

11tIJは従来の色彩画像データの符号化および復号
化方式の一例を示すブロック図である。図において、符
号化値w1には、m素順次に色彩画像データが入力され
る。この色彩−像データはラン検出回路2に与えられ、
ランデータに変換される。
11tIJ is a block diagram showing an example of a conventional color image data encoding and decoding method. In the figure, color image data is input to the encoded value w1 in m-element order. This color-image data is applied to the run detection circuit 2,
converted to run data.

ここで、ランとは、同一走査線方向に並ぶ同一の色を持
つmJIIIの連続したものである。すなわち、ラン検
出回路2は色彩ii像データをラン長データ(ランの画
素数)とそのランの色データとに変換する。これによっ
て、色彩画像データはかなりデータ圧縮されたことにな
る。さらに、データ圧縮を行なうために、ラン検出回路
2の出力は符号変換回路3に与えられる。符号変換回路
3は与えられたラン長データと色データとを符号化し、
伝送する。受は側では、この伝送された符号化データを
ll@化回路4によって一層化し、もとの色彩画像デー
タに変換する。なお、復号化回路4はm浬的には、符号
化回路1と同様である。
Here, a run is a series of mJIIIs having the same color and arranged in the same scanning line direction. That is, the run detection circuit 2 converts the color ii image data into run length data (the number of pixels in a run) and color data for that run. As a result, the color image data is considerably compressed. Furthermore, the output of run detection circuit 2 is applied to code conversion circuit 3 for data compression. The code conversion circuit 3 encodes the given run length data and color data,
Transmit. On the receiving side, this transmitted encoded data is single-layered by the ll@ conversion circuit 4 and converted into the original color image data. Note that the decoding circuit 4 is essentially the same as the encoding circuit 1.

第1図の方式では、ランごとに必ず色データを符号化し
て伝送しなければならない。そのため、色データの符@
―が多くな?、伝送にwI鴎がかかる。また、符号デー
タの蓄−には大きい記憶容量のメモリが必要となる。 
、・::。
In the method shown in FIG. 1, color data must be encoded and transmitted for each run. Therefore, the color data symbol @
- Is there a lot? , transmission takes a lot of effort. Furthermore, a memory with a large storage capacity is required to store code data.
,・::.

その他、色彩に関する情報、[の量を減少させる方、′
ニー。
Other information on color, how to reduce the amount of,
knee.

式として、画面を複数のプ呻11ニックに分け、プロン
、、 ・− り単位に限定された数の色(たとえば2色)で龜付けを
行なう方式があるが、この方式では、−像の表現力が制
限されまた1lIIli11を作成jる段階においてブ
ロックを考慮に入れなければならず1lillである。
As a method, there is a method in which the screen is divided into a plurality of 11 nicks, and a limited number of colors (for example, two colors) are used to color each screen. The expressive power is limited and blocks must be taken into account at the stage of creating 1lIIli11.

それゆえに、この発明の主たる目的は、画像に何ら制限
を与えることなく、色彩に関する情報の量を減少し得る
色彩画像データ符号化装置を提供することである。
Therefore, the main object of the present invention is to provide a color image data encoding device that can reduce the amount of color information without imposing any restrictions on the image.

この発明は、要約すれば、色彩画像データを同色単位の
画素群ごとに符号化するものにおいて、新たに入力され
る画素群の色データを既に入力された色彩画像データに
関連するデータに基づいて予測し、その予測結果が正し
いときはm素群位置に相関するデータのみを符号化し、
予測結果が誤っているときは色データと位置に相関する
データとを符号化するようにしたものである。
To summarize, the present invention encodes color image data for each pixel group of the same color, in which color data of a newly input pixel group is encoded based on data related to already input color image data. predict, and when the prediction result is correct, encode only the data correlated to the m prime group position,
When the prediction result is incorrect, color data and data correlated to position are encoded.

この発明の上述1.・、の目的およびその他の目的と特
徴は、allllllを参q’i′L/で行なう以下の
詳細な説明から一層明らかと谷・、j、4う。
The above-mentioned 1. The purpose and other objects and features of ., will become more apparent from the following detailed description of q'i'L/ with reference to allllll.

第2図はこの発明の一実施例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of the present invention.

構成において、色彩画像データは符号化回路5のラン長
・色識別回路7に与えられる。このラン長・色識別回路
7は前述のラン検出回路2と同様に、色彩画像データを
ラン長データと色データとに変換する。このラン長デー
タと色データとは、予測回路8に与えられるとともに、
メモリ9に与えられる。予測回路8は新たに入力される
ランの色をメモリ9の記憶データに基づいて予測する。
In the configuration, color image data is provided to a run length/color identification circuit 7 of an encoding circuit 5. This run length/color discrimination circuit 7 converts color image data into run length data and color data, similarly to the run detection circuit 2 described above. This run length data and color data are given to the prediction circuit 8, and
memory 9. The prediction circuit 8 predicts the color of a newly inputted run based on the data stored in the memory 9.

さらに、ラン長データと色データとは符号変換@路10
に与えられる。この符号変換回路10は前述の符号変換
回路3と同様に、ラン長データと色データとを符号化す
る。ここで、予測回路8は予測した結果が実際に入力さ
れた色データと一致しているか否か、すなわち予測結果
が正しいか誤っているかによっ“Cr?号賓換回路10
の動作を制御する。後述するが、予測結果が正しいとき
は符号変換回sioにラン長データのみを符号化させて
伝送させる。また、予測結果が誤っているときはラン長
データと色データとの両方を符号化させて伝送させる。
Furthermore, run length data and color data are code converted @Route 10
given to. This code conversion circuit 10 encodes run length data and color data similarly to the code conversion circuit 3 described above. Here, the prediction circuit 8 determines whether the predicted result matches the actually input color data, that is, whether the predicted result is correct or incorrect.
control the behavior of As will be described later, when the prediction result is correct, only run length data is encoded and transmitted at the code conversion stage sio. Furthermore, if the prediction result is incorrect, both run length data and color data are encoded and transmitted.

上述のようにして伝送される符号は復号化回路6の符号
識別回路11に与えられる。この符号識別回路11は与
えられる符号がラン長の符号か色の符号かを識別し、ラ
ン長の符号と色の符号とを分けて出力する。ラン長の符
号はラン長符号逆変換回路12に与えられ、もとのラン
長データに逆蛮換される。また、色の符号は色符号逆変
換回路13に与えられ、もとの色データに逆蛮換される
。これらラン長符号逆変換回路12および色符号逆変換
回路13の出力は予測回路14に与えられる。この予測
回路14は、ラン長データのみが与えられたときは上述
の予測回路8と同様の方法でその4ンの色を予測する。
The code transmitted as described above is given to the code identification circuit 11 of the decoding circuit 6. The code identification circuit 11 identifies whether the supplied code is a run length code or a color code, and outputs the run length code and color code separately. The run length code is given to a run length code inverse conversion circuit 12, where it is inversely converted into the original run length data. Further, the color code is given to a color code inverse conversion circuit 13, and is inversely converted into the original color data. The outputs of the run length code inverse conversion circuit 12 and the color code inverse conversion circuit 13 are given to a prediction circuit 14. This prediction circuit 14 predicts the colors of the four lines in the same manner as the prediction circuit 8 described above when only run length data is given.

なお、メモリ15には既に検層化されたラン長データお
よび色データが記憶されており、予測回路14はこの記
憶データに基づいて予測を行なう。そして、予測回11
14はこのとき予測した色データと、与えられたラン長
データとをそのときのランのデータとして出力する。ま
た、予測回路14はラン長データと色データとが両方と
も与えられたとき、その与えられた両データをそのまま
ランのデータとして出力する。
Note that the memory 15 has already stored run length data and color data that have been logged, and the prediction circuit 14 makes predictions based on this stored data. And prediction episode 11
14 outputs the predicted color data and the given run length data as the run data at that time. Furthermore, when the prediction circuit 14 is given both run length data and color data, it outputs both of the given data as is as run data.

動作において、今、符号化すべきランXの色を(X)と
し、予測回路8によって予測されたランXの色を(X′
)とする。また、ランXのラン長を(LX)とすると、
伝送されるランXの符Ji8COXは次式で表わされる
In operation, the color of run X to be encoded is now (X), and the color of run X predicted by the prediction circuit 8 is (X'
). Also, if the run length of run X is (LX),
The sign Ji8COX of the transmitted run X is expressed by the following equation.

ただし、F (LX)はラン長(LX)を表わす符号C
あり、G(X)は色(X)を表わす符号である。   
        、 第3図(a、)ないしく6)は種々のラン配置を示す図
である。このような形で、メモリ9には各5>(1)y
>Mkf−)J:@デニ・・、−pg“′記憶87°゛
る。以下には、この第3図q!l参照して予5uii路
8(7) 予1111 fF 4C′6゛r @°±1
1〒。
However, F (LX) is the code C representing the run length (LX).
, and G(X) is a code representing color (X).
, Figures 3(a,) to 6) are diagrams showing various run arrangements. In this way, each 5>(1)y is stored in the memory 9.
>Mkf-) J: @Deni..., -pg"' memory 87°. Below, with reference to this Fig. 3 q!l, pre-5uii path 8 (7) pre-1111 fF 4C'6゛r @°±1
1〒.

今、ランAの色(A)を91I!、する場合を想・定す
ると−、ランAの近傍のランのデ4.−夕が予測のため
に用いられる。これは1、−像におけるランの色楢藺を
利用したものである。ここで、ランAの直前のランBは
ランAとは色が興なることは明らかであるため、ランB
のデータは予測データから除外される。
Now, the color of run A (A) is 91I! , Suppose that −, De 4. of runs near run A. - Evening is used for prediction. This takes advantage of the color scheme of orchids in the 1. - image. Here, it is clear that run B immediately before run A has a different color than run A, so run B
data will be excluded from the predicted data.

まず、第3図(a )のように、ランAの直前の走査線
におい°【ラン八と接するランがランCの1つだけの場
合(ランBは予測データから除外されている)、ランC
の色データ(C)がランAの色データどして予測される
First, as shown in Fig. 3(a), in the scanning line immediately before run A, if there is only one run that touches run 8, run C (run B is excluded from the prediction data), then run C
The color data (C) of run A is predicted as the color data of run A.

次に、第3図(b)に示すように、ランAと接するラン
がランC,OaよびEのように複数ある場合、ランAと
接するiii*数が最も多いランの色データがう> A
 (9色データとして予11される。なお、ランAと接
するIm素数によりいずれのランの色を予測色とプるか
に代えて、単に注目ランに接するランの位置に−って予
測を行なうようにしてもよい。たとえ−11j′最も左
側にあるランCの色を教るランDの色を無条件にランA
の予測色としてもよいし、最も右側にあるランEの色を
無条件にランへの予測色としてもよい。
Next, as shown in FIG. 3(b), if there are multiple runs such as runs C, Oa, and E that are in contact with run A, the color data of the run that is in contact with run A with the largest number of A
(It is pre-11 as 9-color data.Instead of determining which run's color is the predicted color based on the Im prime number that is in contact with run A, prediction is simply performed based on the position of the run that is in contact with the run of interest. Even if -11j' the color of run D, which teaches the color of the leftmost run C, is unconditionally changed to run A.
The predicted color may be set as the predicted color, or the color of the rightmost run E may be unconditionally set as the predicted color of the run.

次に、第3図(c)、4S、示すように、ランAと接す
るランがない場合、ランAから走査線方向の一定の距離
内にランBとは興なるランがあるか否かが判断される。
Next, as shown in FIG. 3(c) and 4S, if there is no run touching run A, it is determined whether there is a run different from run B within a certain distance from run A in the scanning line direction. be judged.

そして、一定距離内にランCがあ□  った場合このラ
ンCの色データ(C)がランAの色データとして予測さ
れる。なお、第3図(d ”)に示すようにランAから
走査線方向一定距離内に複数のランCおよびDがある場
合、ランAから最も近い距離のランCの色データ(C)
がランAの色データとして予測される。なお、注目ラン
からの距離によっていずれのランの色を予測色とするか
に代えて、単に注目ランから走査線方向一定距離内にあ
るランの位置によって予測を行なうようにしてもよい。
If a run C is found within a certain distance, the color data (C) of this run C is predicted as the color data of run A. If there are multiple runs C and D within a certain distance from run A in the scanning line direction as shown in FIG.
is predicted as run A color data. Note that instead of determining which run's color is the predicted color based on the distance from the run of interest, prediction may be performed simply based on the position of a run within a certain distance in the scanning line direction from the run of interest.

たとえば、左側にあるランCの色を無条件にランAの予
測色としてもよいし、右側にあるランDを無条件にラン
Aの予測色としてもよい。
For example, the color of run C on the left may be unconditionally set as the predicted color of run A, or the color of run D on the right may be unconditionally set as the predicted color of run A.

次に、第3図(e、)に示すようにランAと接するラン
がなく、しかもランAから走査線方向に一定距離内にも
ランBと興なるランがなければ、ランAの直前のランB
のさらに直前のランCの色データ(C)がランAの色デ
ータとして予測される。
Next, as shown in FIG. 3(e), if there is no run that touches run A, and if there is no run that intersects with run B within a certain distance from run A in the scanning line direction, then Run B
The color data (C) of the immediately preceding run C is predicted as the color data of the run A.

なお、ランAの位置する走査線が画像の最も上の走査線
である場合は、ランAの近傍にある画素では予測データ
に用いるランが存在しない場合がある。このような場合
は、たとえば画像の背景となる色がメモリ9に初期設定
され、この初期設定された色が予測データとして用いら
れる。
Note that if the scanning line where run A is located is the topmost scanning line of the image, there may be no run used for prediction data in pixels near run A. In such a case, for example, the color of the background of the image is initially set in the memory 9, and this initially set color is used as prediction data.

第4A図および第48図は予測回路8の動作を説明する
ためのフローチャトである。以下、第2図ないし第48
11を参照してこの実施例の動作について説明する。
4A and 48 are flowcharts for explaining the operation of the prediction circuit 8. FIG. Below, Figures 2 to 48
11, the operation of this embodiment will be explained.

まず、ラン長・色識1別回路7は色彩画像データを色デ
ータとラン長データとに嚢換する。この色データとラン
長データとはメモリ9に与えられ記憶、される。また、
予測回路8は第4A図に示すフローチャートのステップ
(図示ではSと略す)1ないし14の動作に従って、注
目ランAの色データを予測する。この動作は、第3図の
説明から容易に理解されるであろうからここではこれ以
上の説明を省略する。
First, the run length/color discrimination circuit 7 converts color image data into color data and run length data. The color data and run length data are provided to the memory 9 and stored therein. Also,
The prediction circuit 8 predicts the color data of the target run A according to the operations of steps (abbreviated as S in the figure) 1 to 14 of the flowchart shown in FIG. 4A. Since this operation will be easily understood from the explanation of FIG. 3, further explanation will be omitted here.

次に、予測回路8は第48図に示すステップ15におい
てランBと択なるランがランAから走査線方−一定距離
内にあ・たかどうがを判断する。
Next, in step 15 shown in FIG. 48, the prediction circuit 8 determines whether a run selected from run B is within a certain distance from run A in the scanning line direction.

一定距離内にあった場合、ステップ16においてう゛ン
8と興なるランがランAと接していたかどうかを判断す
る′。接していたと判断される場合は、第3図(a)お
よび(b)に示すような場合であり、ステップ17にお
いて最大の隣接Ii衆数を持つランの色がランAの予測
色とされる。そして、ステップ18において、ランAの
実際の色が予測測色と同じである場合、す雇゛わち予測
が正しい場合はステップ19においてランAのラン長の
符号、1゜ 変換のみを符号表検回路10km指示する。応じて、讐 符号−換回路10はラン長め:符号のみをlll1化、
回路6に伝送する。一方、ラン入の色が予測色と興なる
場合、すなわち予測が誤っていた場合はステップ20に
おいτランAの色およびラン長の符号変換を符号変換回
路10に指示する。応じて、符号変換回路10はランA
のラン長および色をともに符号化し、I@化回路6に伝
送する。そのとき符号変換回路10は、予測が誤ってい
るときに伝送される色符号およびラン長符号が予測が正
しいときに伝送されるラン長符号と識別されるように、
予測が正しいときに伝送されるラン長符号の前または後
に識別符号を伝路する。なお、この識別符号の伝送に代
えて、ラン長符号自身が識別可能゛な符号とされても゛
よい。
If it is within a certain distance, it is determined in step 16 whether or not the run 8 is in contact with run A. If it is determined that they are in contact with each other, as shown in FIGS. 3(a) and (b), the color of the run with the largest number of neighbors Ii is determined as the predicted color of run A in step 17. . Then, in step 18, if the actual color of run A is the same as the predicted colorimetry, in other words, if the prediction is correct, in step 19, the sign of the run length of run A, only the 1° conversion, is added to the code table. Instruct the test circuit to be 10 km. Accordingly, the code conversion circuit 10 has a longer run: converts only the code to ll1,
It is transmitted to circuit 6. On the other hand, if the color entered in the run is different from the predicted color, that is, if the prediction is wrong, the code conversion circuit 10 is instructed to convert the color and run length of τ run A in step 20. Accordingly, the code conversion circuit 10 converts the run A
The run length and color are both encoded and transmitted to the I@ encoding circuit 6. The code conversion circuit 10 then operates such that the color code and run length code transmitted when the prediction is incorrect are identified as the run length code transmitted when the prediction is correct.
An identification code is transmitted before or after the run length code that is transmitted when the prediction is correct. Note that instead of transmitting this identification code, the run length code itself may be an identifiable code.

一方、上述のステップ16においてランBと興なるラン
がランAと接していなかったと判断された場′合、すな
わち第3Il(C)および(d−)に示すような場合は
、ステップ21の動作が行なわれる。すなわち、第’4
A図のステップ12において保持されていた最□゛示距
離のランの色がランAの予測色とされる。以誓は、ステ
ップ18ないし20、)llb工。ゎti’h’。□、
□(1))sfyア、。
On the other hand, if it is determined in step 16 above that the run that separates from run B is not in contact with run A, that is, in the case shown in 3rd Il (C) and (d-), the operation in step 21 is performed. will be carried out. That is, the '4th
The color of the run with the longest indicated distance held in step 12 in Figure A is taken as the predicted color of run A. Hereafter, steps 18 to 20, )llb engineering.ゎti'h'. □、
□(1)) sfya.

においてラン8と興なるランがランAから一定距錐・内
になかったと判断された場合、すなわち第3図(e)の
ような場合、ステップ22においτランへの直前のラン
のさらに直前のランの色がメモリ9から読出される。そ
して、ステップ23において読出したランの色がランA
の予測色とされる。
If it is determined that the run associated with run 8 is not within a certain distance from run A, that is, in the case shown in FIG. The color of the run is read from memory 9. Then, the color of the run read out in step 23 is run A.
This is the predicted color.

以下は、前述のステップ18ないし20の動作が行なわ
れる。
Subsequently, the operations of steps 18 to 20 described above are performed.

なお、検層化回路6では、予測回路14は色符号逆変換
回1i13から色データが与えられなかったときのみ、
第3図で説明したような予■を行なう。したがって、゛
予測回路14からはラン長・色識別1路7から出力され
る色データおよびラン長データと全く同じデータが出力
される。
In addition, in the logging circuit 6, the prediction circuit 14 only when color data is not given from the color code inverse conversion circuit 1i13,
Perform the preparation as explained in FIG. 3. Therefore, the prediction circuit 14 outputs data that is exactly the same as the color data and run length data output from the run length/color identification path 7.

上述のごとく、予測回路8で予測された色が実際のデー
タの色と一致した場合はそのランの色データが符号化さ
れずまた伝送されないため、伝送すべき符号量を少なく
することができる。
As described above, when the color predicted by the prediction circuit 8 matches the color of the actual data, the color data of that run is not encoded or transmitted, so the amount of code to be transmitted can be reduced.

第511はこの発明の他の実施例を示すブロック図であ
る。構成において、第2図と同様の部分は同じ参照番号
を付しその説明を省略する。この実施例では、符号化回
路100のメモリ90は色彩―−データをそのまま記憶
する。そして、予測回路80ではメモリ90から読出し
た色彩画像データをラン長データと色データとに変換し
て予測データに用いる。また、復号上回路600では、
メモリ150はメモリ90と同様に画素ごとの色彩画像
データを記憶している。また、予測回路140はその出
力が画素単位の色彩画一データであり、また予測におい
ても参照する画像データの形式が画素単位である。
No. 511 is a block diagram showing another embodiment of the present invention. In the configuration, the same parts as in FIG. 2 are given the same reference numerals, and the explanation thereof will be omitted. In this embodiment, memory 90 of encoding circuit 100 stores color-data as is. Then, the prediction circuit 80 converts the color image data read from the memory 90 into run length data and color data, which are used as prediction data. Furthermore, in the decoding circuit 600,
Like the memory 90, the memory 150 stores color image data for each pixel. Furthermore, the output of the prediction circuit 140 is color uniform data in units of pixels, and the format of the image data referred to in prediction is also in units of pixels.

なお、以上説明した実施例では、参照する予測データと
して主として予測すべきランの直前の走査線に含まれる
ランのデータを用いたが、予測すべきランの上方の複数
の走査−に含まれるランのデータを予測データとして用
いてもよい。たとえば、注目ランAの上方の2走査纏に
含まれるランのデータを予測データとして用いる場合、
第6図に示すようにランの色が(E)−(C)7’ (
8)でかつ(F)−(D)f (B)であるとき、同色
のランが右下がりの方向で連結されてii拳を構成して
いることが予測され、ランAの色はランCの色に等しい
と予測することができる。このように、複数の走査−の
ランを予測データとして用いれば、画像の構成状態も考
慮に入れることができさらに予測串を向上することがで
きる。したがって、さらに符号量の低下を図ることがで
きる。なお、第2図の実施例の場合は、ランAに接する
ランのうちランAに接する画素数が最も多いランDの色
がランAの色として予測されることになる。
Note that in the embodiments described above, run data included in the scan line immediately before the run to be predicted is mainly used as reference prediction data, but data for runs included in a plurality of scans above the run to be predicted are used as reference prediction data. data may be used as prediction data. For example, when using run data included in the two scan groups above the run of interest A as prediction data,
As shown in Figure 6, the color of the run is (E)-(C)7' (
8) and (F)-(D)f (B), it is predicted that runs of the same color are connected in a downward-to-right direction to form a fist, and the color of run A is the same as that of run C. can be predicted to be equal to the color of In this way, if a plurality of scan runs are used as prediction data, the configuration state of the image can also be taken into account, and prediction can be further improved. Therefore, it is possible to further reduce the amount of code. In the case of the embodiment shown in FIG. 2, the color of run D, which has the largest number of pixels in contact with run A among the runs that are in contact with run A, is predicted as the color of run A.

また、以上説明した実施例では、ランを表わすデータと
し1色データとラン長データとを用いるようにしたが、
このラン長データに代えτランの切れ目の位置(アドレ
ス)データを用いるようにしてもよい。すなわち、ラン
の位置に相関するデータであれば、距離の計算や画素数
の計数が行なえる。         :、1::、、
11:。
Further, in the embodiment described above, one color data and run length data are used as data representing a run.
Instead of this run length data, τ run break position (address) data may be used. That is, as long as the data correlates with the position of the run, distance calculations and pixel counts can be performed. :, 1::,,
11:.

・、11、 100ゝ・50発m P(::tt w・ゞ°1″され
た色データのみを符号 、るようにしたので、色彩li
像データの符号量を大幅に少なくすることができる。
・, 11, 100ゝ・50 shots m
The amount of code for image data can be significantly reduced.

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

第1図は従来の色彩画像データの符号化および像層化方
式を示すブロック図である。第2図はこの発明の一実施
例を示すブロック図である。第3図はランの種々の配置
を示す図である。第4A図および第48!liは予測回
路8や動作を説明するための)O−チャートである。第
5図はこの発明の他の実施例を示すブロック図である。 第6図は複数走査線のランを予測データとして参蕉する
例を説明するための図解図である。  ・ 図において、7はラン長・色識別回路、8.14.80
および140は予測回路、9.15.90およU150
はメツモリ、10は符号変換回路を示す。 代理人  葛 1野 偲 −(外1名)、、1′ 11[: 第3図 第4B図 第5図 第6図 手続補正書く自発) 1旨i’1lih官殿 ]、  =J)1’lの表示     特願昭87−4
98118号2゜発明の名称 色彩−諏データ符号化装置 3、  )+li市をする者 5、補正の対象 明細書の発明の詳細な説明の−および図面6、補正の内
容 (1) 明細書第2頁第11行の「符号化」を「符号、
化゛に」に訂正する。 (2) 明細書第3頁第9行ないし第10行を下記の文
章に訂正する。 記 一データに変換する。なお、復号化回路4は原理的に符
号化asiと逆の変換処理を行なう。 (3) 明細書第7頁第9行(下から第12行)のr 
(X)−(X’ )の場合」 を 「(×)≠(X′)
の場合」に訂正する。 (4)へ明細書第8頁第5行ないし1119行を下記の
文章に訂正する。 11 、:、記 まず、第3図< a 、>、1’のように、ランAの直
前の走査線において、ランiと興なる色を有しかっラン
Aと接するランがランc1つだけの場合(ランBと同じ
色を有するランは前述の理由により予測データから除外
されている。以下、第311 (b )ないしくe)に
おいても同様。)、ランCの色データ(C)がランAの
色データとして予測される。 (5) 明細書第8頁第11行ないし第12行、第9真
第2行ないし第3行、ならびに第9貫第19行ないし第
20行のrランAと接する」を「ランAと接しかつラン
Bと興なる色を有する」に訂正する。 (6) 明細書第9頁第4行、第10員第1行、第11
頁第4行、第11貫第7行、第12頁第11行ないし第
12行、ならびに第12頁第19行の「興なる」を「異
なる色を有する」に訂正する。 (7) 明細書119真第9行の「複数めラン」をEラ
ンBと興なる白を有する複数のラン」に訂正する。 (8) 明細書第10員第11行の「フローチャト」を
「フローチャート」に訂正する。 (9) 明細書第12員第5行ないし第8行を下記の文
章に訂正する。 送される色符号がラン長符号と識別されるように、色符
号の前に識別符号を伝送する。なお、この識別符 (10) 明細書第12員第9行のrラン長符号自身が
」を「色信号自身がラン長符号と」に訂正する。 (11) 明細書第15頁第4行の「予測牢」を「予測
一致率」に訂正する。 (12) 第3図を別紙のとおり。 (13) 第4A図を別紙のとおり。 駅上
FIG. 1 is a block diagram illustrating a conventional color image data encoding and image layering method. FIG. 2 is a block diagram showing an embodiment of the present invention. FIG. 3 is a diagram showing various arrangements of runs. Figures 4A and 48! li is an O-chart for explaining the prediction circuit 8 and its operation. FIG. 5 is a block diagram showing another embodiment of the invention. FIG. 6 is an illustrative diagram for explaining an example in which runs of a plurality of scanning lines are used as prediction data. - In the figure, 7 is the run length/color discrimination circuit, 8.14.80
and 140 is a prediction circuit, 9.15.90 and U150
1 is a memory, and 10 is a code conversion circuit. Agent Kuzu 1 No Tsune - (1 other person), 1' 11[: Figure 3, Figure 4B, Figure 5, Figure 6, voluntarily to write amendments to the procedure) 1 opinion i'1lih government office], = J) 1' Display of l Patent application 1987-4
No. 98118 2゜ Title of the invention Color - Su data encoding device 3, ) + Li City holder 5, Detailed description of the invention in the specification subject to amendment - and Drawing 6, Contents of amendment (1) Specification No. Change “encoding” in line 11 of page 2 to “code,”
Corrected to ``to change''. (2) Lines 9 and 10 of page 3 of the specification are corrected to read as follows. Convert to written data. Note that the decoding circuit 4 basically performs a conversion process that is inverse to the encoding asi. (3) r on page 7, line 9 (line 12 from the bottom) of the specification
In the case of (X)-(X')", change to "(×)≠(X')
Correct to "In the case of". To (4), page 8, line 5 to line 1119 of the specification is corrected to the following sentence. 11 , :, First, as shown in Fig. 3 < a , >, 1', in the scanning line immediately before run A, there is only one run, run c, which has a color different from run i and is in contact with run A. (A run having the same color as run B is excluded from the prediction data for the above-mentioned reason. The same applies to cases 311(b) to 311(e) below). ), the color data of run C (C) is predicted as the color data of run A. (5) "Abuts r-run A" in pages 8, lines 11 and 12 of the specification, lines 2 and 3 of the 9th section, and lines 19 and 20 of the 9th section is replaced with "Run A". It is corrected to ``It has a color that is adjacent to and contrasts with Run B''. (6) Specification page 9, line 4, member 10, line 1, 11
In line 4 of page 11, line 7 of page 11, lines 11 to 12 of page 12, and line 19 of page 12, the word ``okonari'' is corrected to ``have a different color.'' (7) "Multiple runs" in line 9 of Specification 119 is corrected to "Multiple runs with E-run B and rising white." (8) Correct "Flowchart" in Line 11 of Part 10 of the specification to "Flowchart." (9) Lines 5 to 8 of Member 12 of the specification are corrected to the following sentence. An identification code is transmitted before the color code so that the transmitted color code is identified as a run length code. Note that the identification code (10) "The r run length code itself" in the 9th line of the 12th member of the specification is corrected to "The color signal itself is the run length code." (11) "Predicted rate" on page 15, line 4 of the specification is corrected to "predicted match rate." (12) Figure 3 is as attached. (13) Figure 4A is as attached. On the station

Claims (1)

【特許請求の範囲】 惇 内素順次に入力される色彩画像データを符号化する色彩
画像データ符号化装獄であって、前記色彩画像データを
同色単位で画素群の位置に相関するデータと色データと
に変換するデータ、9変換手段、 既に入力さ、れた色彩画像データに関連するデータの少
なくとも一部を記、憶、する記憶手段、前記データ変換
手段から出力さ、れる色データを前記記憶手段の記憶デ
ータに赫づいて予獣する予測手段、 前記位置に相関するデータと色データとを符号化するデ
ータ符号化手段、 前記予測手段の予測結果が正しいとき、前記データ符号
化手段を制御して前記位置に相関するデータのみを符号
化させる手段、および 前記予測手段の予測結果が課っているとき、前記データ
符号化手段を制御して前記色データと前記位置に相関す
るデータとを符号化させる手段を備える、色彩−像デー
タ符号化製置。
[Scope of Claims] A color image data encoding device for encoding color image data input sequentially, the color image data being encoded in units of the same color by data and color data correlated to the position of a pixel group. 9 conversion means; storage means for storing at least part of the data related to the color image data that has already been input; Prediction means for predicting based on data stored in the means; data encoding means for encoding data and color data correlated to the position; when the prediction result of the prediction means is correct, controlling the data encoding means; means for controlling the data encoding means to encode only the data correlated with the position, and when the prediction result of the prediction means is imposed, controlling the data encoding means to encode only the data correlated with the color data and the position. A color-image data encoding facility comprising means for encoding.
JP57049598A 1982-03-25 1982-03-25 Encoder of color picture data Granted JPS58165482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57049598A JPS58165482A (en) 1982-03-25 1982-03-25 Encoder of color picture data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57049598A JPS58165482A (en) 1982-03-25 1982-03-25 Encoder of color picture data

Publications (2)

Publication Number Publication Date
JPS58165482A true JPS58165482A (en) 1983-09-30
JPH0435949B2 JPH0435949B2 (en) 1992-06-12

Family

ID=12835660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57049598A Granted JPS58165482A (en) 1982-03-25 1982-03-25 Encoder of color picture data

Country Status (1)

Country Link
JP (1) JPS58165482A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55124361A (en) * 1979-03-19 1980-09-25 Nippon Telegr & Teleph Corp <Ntt> Redundancy suppression coding system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55124361A (en) * 1979-03-19 1980-09-25 Nippon Telegr & Teleph Corp <Ntt> Redundancy suppression coding system

Also Published As

Publication number Publication date
JPH0435949B2 (en) 1992-06-12

Similar Documents

Publication Publication Date Title
US6212234B1 (en) Color image encoding apparatus and color image decoding apparatus
US4654483A (en) Electronic conference system
EP1689194A2 (en) Image encoder and image decoder
EP0564227B1 (en) Image encoding apparatus and method
EP0327931A2 (en) Method of storing and transmitting image data as image file suitable for image search
EP0510627B1 (en) Encoding and decoding devices
JPS6145429B2 (en)
JP2000032456A (en) Dynamic image coding method using sprite coding, decoding method, coder, decoder, dynamic image coding program and recording medium with dynamic image decoding program recorded therein
EA200201010A1 (en) ELECTION DATA COMPRESSION FOR DIGITAL MESSAGE INFORMATION
JPS58165482A (en) Encoder of color picture data
JPH0422392B2 (en)
JPH10198792A (en) Pattern matching coding method and coding device therefor
JPS61148971A (en) Image processing system
US5801840A (en) Apparatus for decoding codes with less memory capacity
JP3209260B2 (en) Image coding method and apparatus
JPH0834433B2 (en) Encoding device and encoding method
JPS59224977A (en) Run length code converting system
JP2506705B2 (en) Coding / decoding apparatus for hierarchical image
JPH04241550A (en) Destination designating method for communication terminal equipment
CN113473212A (en) Digital television display method with both unidirectional broadcast network and bidirectional communication network
JPS5894275A (en) Picture signal encoding system
JPS5983459A (en) Facsimile device
JPS6235973A (en) Picture information processing device
JPS58212263A (en) Method for encoding color picture
JP2001103320A (en) Image transfer device and image transfer method