JP3226637B2 - Coding device and decoding device for predictive coding method - Google Patents

Coding device and decoding device for predictive coding method

Info

Publication number
JP3226637B2
JP3226637B2 JP32627592A JP32627592A JP3226637B2 JP 3226637 B2 JP3226637 B2 JP 3226637B2 JP 32627592 A JP32627592 A JP 32627592A JP 32627592 A JP32627592 A JP 32627592A JP 3226637 B2 JP3226637 B2 JP 3226637B2
Authority
JP
Japan
Prior art keywords
pixel
image information
memory
symbol
data table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP32627592A
Other languages
Japanese (ja)
Other versions
JPH06152969A (en
Inventor
泰之 野水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP32627592A priority Critical patent/JP3226637B2/en
Publication of JPH06152969A publication Critical patent/JPH06152969A/en
Application granted granted Critical
Publication of JP3226637B2 publication Critical patent/JP3226637B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、予測符号化方式の符号
化装置および復号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coding device and a decoding device for a predictive coding system.

【0002】[0002]

【従来の技術】画情報のデータ圧縮に好適な符号化方式
として予測符号化方式が知られている。
2. Description of the Related Art A predictive coding method is known as a coding method suitable for compressing image information data.

【0003】予測符号化方式では、画情報の各画素に注
目し、その周囲一定範囲の各画素を参照して注目画素の
シンボルを予測し、その予測結果に基ずいて画情報を符
号化する。
In the predictive coding method, attention is paid to each pixel of image information, a symbol of the pixel of interest is predicted with reference to each pixel in a certain range around the image information, and image information is encoded based on the prediction result. .

【0004】一般に、注目画素のシンボルを予測する際
には、図8に示すように、参照する各画素のシンボルパ
ターンとシンボル出現確率値との対応を示すデータテー
ブルを作成する。そして、注目画素の予測動作を順次実
行しながら、過去の予測的中率を評価し、テーブル内の
シンボル出現確率値を更新するようにしている。
In general, when predicting the symbol of a pixel of interest, a data table showing the correspondence between the symbol pattern of each pixel to be referenced and the symbol appearance probability value is created as shown in FIG. Then, while sequentially performing the prediction operation of the pixel of interest, the past predictive accuracy is evaluated, and the symbol appearance probability value in the table is updated.

【0005】参照画素数は、多いほど予測精度が向上
し、データ圧縮効果も高くなる。また、参照画素数を一
定にした場合、参照画素の位置と画像の種類とデータ圧
縮効果との間には相関関係がある。すなわち、特定の画
像の画情報には、参照画素を特定の位置に設定した場合
に、最も高いデータ圧縮効果が得られるようになる。例
えば、一般に、文字画像の場合、参照画素位置は、注目
画素に近い一定範囲に集中時的に設定するのが良い。一
方、疑似中間調画像の場合、注目画素に近い位置から離
れた位置まで広い範囲にわたって設定するのが良い。
[0005] The larger the number of reference pixels, the higher the prediction accuracy and the higher the data compression effect. When the number of reference pixels is fixed, there is a correlation between the position of the reference pixel, the type of image, and the data compression effect. That is, in the image information of a specific image, the highest data compression effect can be obtained when the reference pixel is set at a specific position. For example, in general, in the case of a character image, the reference pixel position is preferably set to be concentrated in a certain range close to the target pixel. On the other hand, in the case of a pseudo halftone image, it is preferable to set a wide range from a position close to the target pixel to a position distant from the target pixel.

【0006】従来は、参照画素数やその画素位置は、処
理する画像の種類に応じて固定的に設定していた。
Conventionally, the number of reference pixels and their pixel positions have been fixedly set according to the type of image to be processed.

【0007】図8から明らかなように、上記データテー
ブルのデータ量は、参照画素数に応じて増大する。画情
報を符号化する符号化装置では、このようなデータテー
ブルをメモリに格納して、上記処理を実行することにな
る。
As is apparent from FIG. 8, the data amount of the data table increases in accordance with the number of reference pixels. An encoding device that encodes image information stores such a data table in a memory and executes the above-described processing.

【0008】ところで、装置によっては、1つのメモリ
を、上記データテーブルだけでなく、他の処理のデータ
の格納にも兼用することが多い。
Incidentally, depending on the device, one memory is often used not only for storing the data table but also for storing data for other processes.

【0009】このような装置では、他の処理でメモリ容
量の大部分が消費され、上記データテーブルを格納する
だけの、空き容量が無くなってしまうことがある。この
場合、符号化処理を実行することができなかった。
In such an apparatus, most of the memory capacity is consumed in other processing, and the free space for storing the data table may be exhausted. In this case, the encoding process could not be executed.

【0010】このようなメモリの容量不足という事態を
なくすために、参照画素数を少なくして上記データテー
ブルのデータ量を小さくすることが考えられる。しかし
ながら、参照画素数を少なくすると、データ圧縮効果
が、常に低下してしまうことになる。
In order to eliminate such a shortage of memory capacity, it is conceivable to reduce the number of reference pixels to reduce the data amount of the data table. However, when the number of reference pixels is reduced, the data compression effect always decreases.

【0011】なお、符号化された画情報を復号化する復
号化装置においても、順次復元される画情報に対して、
上記と同様の処理を実行するために、符号化装置と同様
のデータテーブルを作成してメモリに格納する。従っ
て、復号化装置においても、同様の事態が発生してい
た。
[0011] In a decoding apparatus for decoding coded image information, the image information which is successively reconstructed is also decoded.
In order to execute the same processing as described above, a data table similar to that of the encoding device is created and stored in the memory. Therefore, a similar situation has occurred in the decoding device.

【0012】[0012]

【発明が解決しようとする課題】このように、従来は、
メモリの容量不足で符号化や復号化処理を実行できなく
なったり、データ圧縮効果が常に低下してしまったりす
るという問題があった。
As described above, conventionally,
There has been a problem that encoding and decoding processing cannot be performed due to insufficient memory capacity, and the data compression effect is constantly reduced.

【0013】本発明は、上記の問題を解決し、符号化や
復号化処理を確実に実行し、データ圧縮効果の低下を極
力少なくすることができる予測符号化方式の符号化装置
および復号化装置を提供することを目的とする。
[0013] The present invention solves the above-mentioned problems, and performs an encoding and decoding process without fail. The encoding apparatus and the decoding apparatus of the predictive encoding system can reduce the reduction of the data compression effect as much as possible. The purpose is to provide.

【0014】[0014]

【課題を解決するための手段】このために本発明は、符
号化または復号化処理を開始する際に、参照画素の画素
数を増減することにより、参照画素のシンボルパターン
とシンボル出現確率との対応を示すデータテーブルを、
常にメモリの空き容量に入るデータサイズに調節する手
段を備えるたことを特徴とするものである。
For this purpose, the present invention increases or decreases the number of reference pixels at the start of encoding or decoding processing, thereby enabling the symbol pattern of the reference pixel and the symbol appearance probability to be compared. A data table showing the correspondence
The present invention is characterized in that a means for adjusting the data size to always fit in the free space of the memory is provided.

【0015】[0015]

【作用】これにより、メモリの容量不足で符号化や復号
化処理を実行できなくなったり、データ圧縮効果が常に
低下してしまうということが防止される。
As a result, it is possible to prevent the encoding and decoding processes from being unable to be executed due to insufficient memory capacity, and to prevent the data compression effect from being constantly reduced.

【0016】[0016]

【実施例】以下、添付図面を参照しながら、本発明の実
施例を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0017】図1は、本発明の一実施例に係る符号化装
置のブロック構成図を示したものである。図において、
参照画素抽出部1は、入力される画情報の各画素に注目
して、その周囲一定範囲の各画素を参照画素として抽出
するものである。テンプレート作成部2は、抽出する各
画素位置を示すテンプレートを作成するものである。参
照画素数決定部3は、抽出する参照画素数をメモリ4の
空き容量に基ずいて決定するものである。メモリ4は、
注目画素のシンボル予測に必要なデータテーブルを格納
する一方、符号化処理以外の図示せぬ他の処理手段が必
要に応じて各種データを格納するものである。確立評価
予測部5は、参照画素のシンボルパターンに基ずいて注
目画素のシンボルを予測するものである。この場合、予
測動作を実行しながら過去の予測的中率を評価して予測
値を補正してゆく機能を有している。符号化部6は、注
目画素シンボルの予測結果に基ずいて所定の算術符号を
生成するものである。
FIG. 1 is a block diagram showing an encoding apparatus according to one embodiment of the present invention. In the figure,
The reference pixel extracting unit 1 focuses on each pixel of the input image information and extracts each pixel in a certain range around the pixel as a reference pixel. The template creating unit 2 creates a template indicating each pixel position to be extracted. The reference pixel number determination unit 3 determines the number of reference pixels to be extracted based on the free space of the memory 4. Memory 4 is
While storing a data table necessary for symbol prediction of the pixel of interest, other processing means (not shown) other than the encoding processing stores various data as necessary. The establishment evaluation prediction unit 5 predicts the symbol of the pixel of interest based on the symbol pattern of the reference pixel. In this case, it has a function of evaluating the past predictive accuracy while executing the prediction operation and correcting the predicted value. The encoding unit 6 generates a predetermined arithmetic code based on the prediction result of the target pixel symbol.

【0018】図2は、上記符号化装置で生成された符号
化画情報を元の画情報に復元する復号化装置のブロック
構成図を示したものである。図において、復号化部7
は、画情報の各画素を順次復元するものである。参照画
素抽出部8、テンプレート作成部9、確立評価予測部1
0およびメモリ11は、それぞれ図1の同一名称の各部
と同一の処理を実行するものである。
FIG. 2 is a block diagram showing a decoding apparatus for restoring the coded image information generated by the above-mentioned coding apparatus to the original image information. In the figure, the decoding unit 7
Is for sequentially restoring each pixel of the image information. Reference pixel extraction unit 8, template creation unit 9, establishment evaluation prediction unit 1
0 and the memory 11 execute the same processes as those of the units having the same names in FIG.

【0019】以上の構成で、次に上記符号化装置の動作
を説明する。
Next, the operation of the coding apparatus having the above configuration will be described.

【0020】この符号化装置は起動すると、図3に示す
ように、参照画素数決定部3は、メモリ4の空き容量を
判定する(処理101)。
When the encoding apparatus is started, as shown in FIG. 3, the reference pixel number determination unit 3 determines the free space of the memory 4 (process 101).

【0021】本実施例では、符号化処理と他の処理とで
メモリ4を共用しているので、メモリ4の空き容量は、
時により増減している。参照画素数決定部3は、メモリ
4の空き容量が大きい場合には参照画素数を多くし、空
き容量が小さい場合には小さい参照画素数を少なくする
というように、予め設定されている条件に従って参照画
素数を決定する(処理102)。
In this embodiment, since the memory 4 is shared between the encoding process and other processes, the free space of the memory 4 is
It fluctuates from time to time. The reference pixel number determination unit 3 increases the number of reference pixels when the free space of the memory 4 is large, and decreases the number of small reference pixels when the free space is small, according to a preset condition. The number of reference pixels is determined (process 102).

【0022】テンプレート作成部2は、決定された参照
画像数のテンプレートを作成する。すなわち、テンプレ
ート作成部2には、図4(a)に示すように、注目画素
位置Xに対して19個の周囲画素が設定されると共に、
それぞれの画素には優先順位が定められている。テンプ
レート作成部2は、その優先順位に従って参照画素数分
の各画素位置を示すテンプレートを作成する。例えば、
参照画素数が8個の場合には、同図(b)に示すよう
に、優先順位1〜8までの各画素位置を示すテンプレー
トを作成する。また、参照画素数が13個の場合には、
同図(c)に示すように、優先順位1〜13までの各画
素位置を示すテンプレートを作成する(処理103)。
The template creating section 2 creates a template having the determined number of reference images. That is, as shown in FIG. 4A, 19 surrounding pixels are set for the target pixel position X in the template creating unit 2,
Each pixel has a priority. The template creation unit 2 creates a template indicating each pixel position for the number of reference pixels according to the priority order. For example,
When the number of reference pixels is eight, as shown in FIG. 7B, a template indicating each pixel position of priority order 1 to 8 is created. When the number of reference pixels is 13,
As shown in FIG. 9C, a template indicating each pixel position in the priority order 1 to 13 is created (process 103).

【0023】この後、符号化装置は、画情報を1画素ず
つ順次入力する。そして、参照画素抽出部1、確立評価
予測部5および符号化部6が所定の動作を開始して符号
化処理を実行する。
Thereafter, the encoding device sequentially inputs the image information one pixel at a time. Then, the reference pixel extraction unit 1, the establishment evaluation prediction unit 5, and the encoding unit 6 start a predetermined operation to execute an encoding process.

【0024】すなわち、参照画素抽出部1は、入力され
る各画素に注目し、上記テンプレートにより示される周
囲画素を抽出する。確立評価予測部5は、動作を開始す
る際に、図8に示したようなデータテーブルをメモリ4
に作成する。いま、例えば、参照画素数が8個であった
とすると、参照画素のシンボルパターンは、2の8乗通
りの種類存在することになる。このデータテーブルで
は、1つ1つのシンボルパターンに対応する確率データ
が記憶される。この確率データは、注目画素が劣勢シン
ボルあるいは優勢シンボルとして出現する確率を示すも
のである。
That is, the reference pixel extraction unit 1 focuses on each input pixel and extracts surrounding pixels indicated by the template. When starting the operation, the establishment evaluation prediction unit 5 stores the data table as shown in FIG.
To create. Now, for example, if the number of reference pixels is eight, there are two to eight power symbol patterns of reference pixels. In this data table, probability data corresponding to each symbol pattern is stored. This probability data indicates the probability that the pixel of interest appears as an inferior symbol or a superior symbol.

【0025】確立評価予測部5は、上記データテーブル
にまず確率データの初期値を設定する。そして、注目画
素が劣勢シンボルになるか優勢シンボルになるか順次予
測すると共に、該当する確率データを順次読み出す。そ
して、それらの情報を予測情報として符号化部6に出力
する。また、その予測動作を実行しながら、過去の予測
的中率を評価し、予測確率が実際の注目画素のシンボル
出現確率に近づくように、テーブル内の確率データを更
新する。符号化部6は、上記予測情報に基ずいて算術符
号を順次生成する。
The establishment evaluation prediction unit 5 first sets an initial value of probability data in the data table. Then, prediction is sequentially made as to whether the target pixel is to be the inferior symbol or the superior symbol, and the corresponding probability data is sequentially read. Then, the information is output to the encoding unit 6 as prediction information. In addition, while executing the prediction operation, the past predictive accuracy is evaluated, and the probability data in the table is updated so that the prediction probability approaches the actual symbol appearance probability of the target pixel. The encoding unit 6 sequentially generates arithmetic codes based on the prediction information.

【0026】このようにして、画情報が符号化される
(以上、処理104)。
In this manner, the image information is encoded (the above is the processing 104).

【0027】次に上記復号化装置の動作を説明する。Next, the operation of the decoding apparatus will be described.

【0028】本実施例では、この復号化装置で復号化処
理を実行する場合、上記符号化装置側で設定された参照
画素数を復号化装置に設定する。この設定は、例えば、
オペレータの操作で行なう。
In this embodiment, when a decoding process is executed by the decoding device, the number of reference pixels set by the coding device is set in the decoding device. This setting, for example,
Performed by operator operation.

【0029】この復号化装置は起動すると、図5に示す
ように、設定された参照画素数をテンプレート作成部9
が入力する(処理201)。そして、前記テンプレート
作成部2と同様に、その参照画素数のテンプレートを作
成する(処理202)。
When the decoding apparatus is started, as shown in FIG.
Is input (process 201). Then, similarly to the template creation unit 2, a template having the reference pixel number is created (process 202).

【0030】この後、所定の復号化処理を実行する。す
なわち、復号化部7は、符号化画情報を順次入力し、確
立評価予測部10から出力される予測情報に基ずいて画
情報の1画素ずつ復元する。参照画素抽出部8は、復元
される画情報の各画素に注目して、テンプレートが示す
注目画素周囲の参照画素を抽出する。確立評価予測部1
0は、上記確立評価予測部5と同様に、メモリ11にシ
ンボル出現確率のデータテーブルを作成して、注目画素
のシンボルを予測すると共に、その出現確率を復号化部
7に出力する。このようにして、符号化画情報が復号化
される(処理203)。
Thereafter, a predetermined decoding process is executed. That is, the decoding unit 7 sequentially inputs the coded image information, and restores the image information one pixel at a time based on the prediction information output from the establishment evaluation prediction unit 10. The reference pixel extracting unit 8 focuses on each pixel of the image information to be restored, and extracts reference pixels around the target pixel indicated by the template. Establishment evaluation prediction unit 1
0 creates a data table of symbol appearance probabilities in the memory 11 in the same way as the above-described probability evaluation prediction unit 5, predicts the symbol of the pixel of interest, and outputs the appearance probability to the decoding unit 7. Thus, the encoded image information is decoded (process 203).

【0031】以上のように、本実施例では、符号化処理
を開始する際に、メモリ4の空き容量を判定して、空き
容量か小さい場合には、参照画素数を少なくするように
している。参照画素数を少なくすると、シンボル出現確
率を記憶するためのデータテーブルのサイズが小さくて
済むので、メモリ4の空き容量が小さくても格納できる
ようになる。これにより、メモリの容量不足で符号化処
理が実行できなくなるということが防止される。
As described above, in this embodiment, when the encoding process is started, the free space of the memory 4 is determined, and if the free space is small, the number of reference pixels is reduced. . If the number of reference pixels is reduced, the size of the data table for storing the symbol appearance probabilities may be small, so that the data can be stored even if the free space of the memory 4 is small. This prevents the encoding process from being unable to be executed due to insufficient memory capacity.

【0032】また、メモリ4の空き容量が大きい場合に
は、参照画素数を多くするようにしている。参照画素数
を多くすると、注目画素のシンボル予測精度が向上する
ので、高いデータ圧縮効果が得られるようになる。
When the free space of the memory 4 is large, the number of reference pixels is increased. When the number of reference pixels is increased, the symbol prediction accuracy of the pixel of interest is improved, so that a high data compression effect can be obtained.

【0033】また、テンプレートを作成する際には、注
目画素周囲の各画素位置に予め優先順位を定めておき、
その優先順位に従って参照画素数分の各画素を参照画素
に設定するようにしている。
When a template is created, priorities are determined in advance at each pixel position around the target pixel, and
Each pixel for the number of reference pixels is set as a reference pixel according to the priority order.

【0034】参照画素の画素位置と画像の種類とデータ
圧縮効果との間には、一定の相関関係がある。従って、
上記のように、参照画素の画素位置を予め定めておくこ
により、特定の画像に対して高いデータ圧縮効果が得ら
れるようになる。
There is a certain correlation between the pixel position of the reference pixel, the image type, and the data compression effect. Therefore,
By setting the pixel position of the reference pixel in advance as described above, a high data compression effect can be obtained for a specific image.

【0035】次に、本発明の他の実施例を説明する。Next, another embodiment of the present invention will be described.

【0036】図6は、本実施例の画像伝送装置のブロッ
ク構成図を示している。図において、送信側には、符号
化装置301と送信装置302、受信側には、受信装置
303と復号化装置304とがそれぞれ設置され、両者
は、通信回線305で接続されている。
FIG. 6 is a block diagram of the image transmission apparatus according to the present embodiment. In the figure, an encoding device 301 and a transmitting device 302 are installed on the transmitting side, and a receiving device 303 and a decoding device 304 are installed on the receiving side, respectively, and both are connected by a communication line 305.

【0037】符号化装置301は、前記実施例の図1に
示した装置である。送信装置302は、符号化画情報を
送信する装置である。受信装置303は、送信装置30
2と通信して符号化画情報を受信する装置である。復号
化装置304は、前記実施例の図2に示した装置であ
る。この場合、この復号化装置304内のメモリ11
は、復号化処理以外の他の処理でも使用されており、空
き容量が不定であるものとする。
The coding apparatus 301 is the apparatus shown in FIG. 1 of the above embodiment. The transmission device 302 is a device that transmits encoded image information. The receiving device 303 includes the transmitting device 30
2 is a device that receives encoded image information by communicating with the second encoded image information. The decoding device 304 is the device shown in FIG. 2 of the above embodiment. In this case, the memory 11 in the decoding device 304
Is used in processing other than the decoding processing, and the free space is assumed to be indefinite.

【0038】本実施例では、送信側と受信側とが通信す
る場合、図7に示すように、まず、受信側が、復号化装
置304内のメモリ11の空き容量を送信側に通知す
る。送信側では、通知されたメモリ11の空き容量と、
符号化装置301内のメモリ4の空き容量とをチェック
し、小さい方の空き容量に応じて、参照画素数を決定す
る。送信側は、その決定した参照画素数を受信側に通知
する。この後、決定した参照画素数のテンプレートを作
成し、画情報を符号化して、受信側に送信する。
In this embodiment, when the transmitting side and the receiving side communicate, as shown in FIG. 7, the receiving side first notifies the free side of the memory 11 in the decoding device 304 to the transmitting side. On the transmitting side, the notified free space of the memory 11
The free space of the memory 4 in the encoding device 301 is checked, and the number of reference pixels is determined according to the smaller free space. The transmitting side notifies the receiving side of the determined number of reference pixels. Thereafter, a template having the determined number of reference pixels is created, the image information is encoded, and transmitted to the receiving side.

【0039】受信側では、通知された参照画素数のテン
プレートを作成する。そして、符号化画情報を受信し
て、復号化する。
On the receiving side, a template of the notified number of reference pixels is created. Then, the coded image information is received and decoded.

【0040】このように、本実施例では、符号化画情報
を伝送する場合に、送信側は、送信側のメモリ空き容量
だけでなく、受信側のメモリの空き容量もチェックし
て、参照画素数を決定するようにしている。これによ
り、送信側だけでなく、受信側がメモリの容量不足で復
号化処理を実行できなくなるということが防止される。
As described above, in the present embodiment, when transmitting the coded image information, the transmitting side checks not only the free space of the memory of the transmitting side but also the free space of the memory of the receiving side, and checks the reference pixel. I try to determine the number. This prevents the receiving side as well as the transmitting side from being unable to execute the decoding process due to insufficient memory capacity.

【0041】なお、上記実施例では、画像伝送装置とい
うことで説明したが、ファクシミリ装置においても、本
発明は同様に適用することができる。例えば、G3ファ
クシミリの場合には、伝送制御手順において、受信側
は、NSF信号でメモリの空き容量を送信側に通知し、
送信側は、NSS信号で参照画素数を受信側に通知すれ
ばよい。
Although the above embodiment has been described with reference to an image transmission apparatus, the present invention can be similarly applied to a facsimile apparatus. For example, in the case of the G3 facsimile, in the transmission control procedure, the receiving side notifies the transmitting side of the free space of the memory with the NSF signal,
The transmitting side may notify the receiving side of the number of reference pixels by the NSS signal.

【0042】また、図4で示したように、周囲画素の優
先順位は1種類だけ定めておくようにしたが、複数種類
定めておき、画像の種類に応じて使い分けるようにすれ
ば、各種画像に対して、高いデータ圧縮効果が得られる
ようなる。
Also, as shown in FIG. 4, only one type of priority is set for the surrounding pixels. However, if a plurality of types are determined and used in accordance with the type of image, various types of images can be used. , A high data compression effect can be obtained.

【0043】[0043]

【発明の効果】以上のように、本発明によれば、符号化
または復号化処理を開始する際に、参照画素の画素数を
増減して、参照画素のシンボルパターンとシンボル出現
確率との対応を示すデータテーブルを、常にメモリの空
き容量に入るデータサイズに調節するようにしたので、
メモリの容量不足で処理を実行できなくなったり、デー
タ圧縮効果が常に低下してしまうということが防止され
る。
As described above, according to the present invention, when the encoding or decoding process is started, the number of reference pixels is increased or decreased, and the correspondence between the symbol pattern of the reference pixel and the symbol appearance probability is increased. The data table that indicates is always adjusted to the data size that fits in the free space of the memory,
It is possible to prevent the processing from being unable to be executed due to insufficient memory capacity and the data compression effect from being constantly reduced.

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

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

【図2】その実施例における復号化装置のブロック構成
図である。
FIG. 2 is a block diagram of a decoding device according to the embodiment.

【図3】符号化処理の動作フローチャートである。FIG. 3 is an operation flowchart of an encoding process.

【図4】テンプレートの作成方法を示す説明図である。FIG. 4 is an explanatory diagram showing a method for creating a template.

【図5】復号化処理の動作フローチャートである。FIG. 5 is an operation flowchart of a decoding process.

【図6】本発明の他の実施例に画像伝送装置のブロック
構成図である。
FIG. 6 is a block diagram of an image transmission apparatus according to another embodiment of the present invention.

【図7】その実施例における送信側と受信側との間の交
信情報の説明図である。
FIG. 7 is an explanatory diagram of communication information between a transmitting side and a receiving side in the embodiment.

【図8】データテーブルの説明図である。FIG. 8 is an explanatory diagram of a data table.

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

1,8 参照画素抽出部 2,9 テンプレート作成部 3 参照画素数決定部 4,11 メモリ 5,10 確立評価予測部 6 符号化部 7 復号化部 301 符号化装置 302 送信装置 303 受信装置 304,304 復号化装置 1, 8 reference pixel extraction unit 2, 9 template creation unit 3 reference pixel number determination unit 4, 11 memory 5, 10 establishment evaluation prediction unit 6 encoding unit 7 decoding unit 301 encoding device 302 transmitting device 303 receiving device 304, 304 decoding device

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 空き容量が不定のメモリと、画情報の各
画素に注目してその周囲一定数の各画素を参照画素とし
て抽出する画素抽出手段と、抽出した参照画素のシンボ
ルパターンに応じて注目画素のシンボルの出現確率を予
測する予測手段と、その予測結果に基ずいて算術符号を
生成する符号化手段と、上記参照画素のシンボルパター
ンと上記シンボルの出現確率との対応をデータテーブル
として上記メモリに格納するデータテーブル格納手段
と、符号化処理を開始する際に上記参照画素の画素数を
増減して上記データテーブルを常に上記メモリの空き容
量に入るデータサイズに調節するテーブルサイズ調節手
段とを備えていることを特徴とする予測符号化方式の符
号化装置。
1. A memory having an undefined free space, a pixel extracting means for paying attention to each pixel of image information and extracting a fixed number of pixels around the pixel as a reference pixel, and according to a symbol pattern of the extracted reference pixel. Prediction means for predicting the appearance probability of the symbol of the pixel of interest, encoding means for generating an arithmetic code based on the prediction result, and a correspondence between the symbol pattern of the reference pixel and the appearance probability of the symbol as a data table Data table storage means for storing data in the memory; and table size adjusting means for adjusting the data table to a data size which always fits in the free space of the memory by increasing or decreasing the number of reference pixels when starting the encoding process. A coding device for a predictive coding method, comprising:
【請求項2】 符号化した画情報を送信すると共に受信
側でも空き容量が不定のメモリに上記データテーブルを
格納する場合に、上記テーブルサイズ調節手段は、上記
データテーブルを送信側と受信側のそれぞれの上記メモ
リに入るデータサイズに調節する手段であることを特徴
とする請求項1記載の予測符号化方式の符号化装置。
2. When transmitting the encoded image information and storing the data table in a memory having an undefined free space on the receiving side, the table size adjusting means stores the data table on the transmitting side and the receiving side. 2. A predictive coding method encoding apparatus according to claim 1, further comprising means for adjusting a data size to be stored in each of said memories.
【請求項3】 符号化した画情報を送信する場合に上記
参照画素の画素数の情報を受信側に送信する手段を備え
ていることを特徴とする請求項1記載の予測符号化方式
の符号化装置。
3. The code according to claim 1, further comprising means for transmitting information on the number of pixels of the reference pixels to a receiving side when transmitting the encoded image information. Device.
【請求項4】 空き容量が不定のメモリと、復号化によ
り復元した画情報の各画素に注目してその周囲の各画素
を参照画素として抽出する画素抽出手段と、抽出した参
照画素のシンボルパターンに応じて注目画素のシンボル
の出現確率を予測する予測手段と、その予測結果に基ず
いて符号化された画情報から元の画情報を復元する復号
化手段と、上記参照画素のシンボルパターンとシンボル
の出現確率との対応をデータテーブルとして上記メモリ
に格納するデータテーブル格納手段と、符号化装置から
符号化した画情報と共に上記参照画素の画素数の情報を
受信する手段と、その受信した画素数に従って上記テー
ブルサイズを調節する手段とを備えていることを特徴と
する予測符号化方式の復号化装置。
4. A memory having an undefined free space, pixel extracting means for paying attention to each pixel of image information restored by decoding, and extracting each surrounding pixel as a reference pixel, and a symbol pattern of the extracted reference pixel. Prediction means for predicting the appearance probability of the symbol of the pixel of interest in accordance with, decoding means for restoring the original image information from the image information encoded based on the prediction result, and a symbol pattern of the reference pixel Data table storage means for storing the correspondence with the symbol appearance probability in the memory as a data table; means for receiving information on the number of reference pixels together with the coded image information from the coding apparatus; Means for adjusting the table size according to the number.
【請求項5】 符号化した画情報を受信する場合に上記
メモリの空き容量の情報を上記符号化装置に送信する手
段を備えていることを特徴とする請求項4記載の予測符
号化方式の復号化装置。
5. The predictive coding system according to claim 4, further comprising means for transmitting information on the free space of said memory to said coding device when receiving the coded image information. Decryption device.
【請求項6】 上記テーブルサイズを調節する手段で設
定した画素数に応じて上記参照画素の各画素位置を固定
的に設定するテンプレート作成手段を備えていることを
特徴とする請求項1記載の予測符号化方式の復号化装置
または請求項4記載の予測符号化方式の復号化装置。
6. The apparatus according to claim 1, further comprising a template creating means for fixedly setting each pixel position of said reference pixel according to the number of pixels set by said table size adjusting means. 5. A decoding device for a predictive coding system or a decoding device for a predictive coding system according to claim 4.
JP32627592A 1992-11-12 1992-11-12 Coding device and decoding device for predictive coding method Expired - Fee Related JP3226637B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32627592A JP3226637B2 (en) 1992-11-12 1992-11-12 Coding device and decoding device for predictive coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32627592A JP3226637B2 (en) 1992-11-12 1992-11-12 Coding device and decoding device for predictive coding method

Publications (2)

Publication Number Publication Date
JPH06152969A JPH06152969A (en) 1994-05-31
JP3226637B2 true JP3226637B2 (en) 2001-11-05

Family

ID=18185947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32627592A Expired - Fee Related JP3226637B2 (en) 1992-11-12 1992-11-12 Coding device and decoding device for predictive coding method

Country Status (1)

Country Link
JP (1) JP3226637B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000165634A (en) * 1994-10-28 2000-06-16 Seiko Epson Corp Device and method for storing picture data in memory
JP4520197B2 (en) * 2004-03-31 2010-08-04 アルファビジョン株式会社 Image data compression method
JP4588360B2 (en) * 2004-05-18 2010-12-01 パナソニック株式会社 Video encoding / decoding processing method, video encoding / decoding processing apparatus, and video interactive communication system
US7724164B2 (en) 2007-01-24 2010-05-25 Samsung Electronics Co., Ltd. Apparatus and method of dynamically caching symbols to manage a dictionary in a text image coding and decoding system

Also Published As

Publication number Publication date
JPH06152969A (en) 1994-05-31

Similar Documents

Publication Publication Date Title
US8553780B2 (en) Motion vector encoding device and decoding device
US6236680B1 (en) Encoding and decoding system of motion image containing arbitrary object
JPH09135358A (en) Image encoding device using arithmetic code
JP3123792B2 (en) Encoding device and decoding device using arithmetic code
JP3226637B2 (en) Coding device and decoding device for predictive coding method
US7196802B2 (en) Image processing device having compression judgement
JPH06181523A (en) Encoding device and decoding device of predictive coding system
US6069980A (en) Adaptive character image generation and synthesis
JP3123795B2 (en) Encoding device and decoding device using arithmetic code
US6339659B1 (en) Fractal coding/decoding of picture data using memory capacity information
JP3224283B2 (en) Predictive encoding device and predictive decoding device
JP3123791B2 (en) Encoding device and decoding device using arithmetic code
JP3215211B2 (en) Image information encoding device
JPH08214169A (en) Fractal image coding system
JP3123797B2 (en) Coding device and decoding device for predictive coding method
JP3249647B2 (en) Image processing device
US6738521B2 (en) Coding device and coding method
JP3118042B2 (en) Multiplexing method for encoding / decoding processing using arithmetic codes
JP3076070B2 (en) Encoded data transmission device
JP2729172B2 (en) Image data processing device
JPH06164413A (en) Method for constituting arithmetic sign encoding device and decoding device
JPH01108861A (en) Picture coder
JP2953351B2 (en) Predictive coding device for television signals
JP3295507B2 (en) Binary image encoding / decoding method
JPH05336510A (en) Motion compensation encoding device and decoding device

Legal Events

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