JPH0690363A - Predictive coding system coding device and decoding device - Google Patents

Predictive coding system coding device and decoding device

Info

Publication number
JPH0690363A
JPH0690363A JP26561592A JP26561592A JPH0690363A JP H0690363 A JPH0690363 A JP H0690363A JP 26561592 A JP26561592 A JP 26561592A JP 26561592 A JP26561592 A JP 26561592A JP H0690363 A JPH0690363 A JP H0690363A
Authority
JP
Japan
Prior art keywords
pixel
template
image information
input
creating
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
JP26561592A
Other languages
Japanese (ja)
Other versions
JP3224283B2 (en
Inventor
Yasuyuki Nomizu
泰之 野水
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 JP26561592A priority Critical patent/JP3224283B2/en
Publication of JPH0690363A publication Critical patent/JPH0690363A/en
Application granted granted Critical
Publication of JP3224283B2 publication Critical patent/JP3224283B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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

(57)【要約】 【目的】 各種画情報に対して常に高いデータ圧縮効果
を得ると共に、処理速度を高速化する。 【構成】 入力した画情報の性質に応じたテンプレート
を作成した後、所定の符号化処理を実行する。 【効果】 画素シンボルの予測精度が向上し、データ圧
縮効果が高くなる。また、不要な周囲画素を参照するこ
とを防止できるので、特にソフトウェアにより処理する
場合、処理速度が高速化する。
(57) [Abstract] [Purpose] To obtain a high data compression effect for various types of image information and to increase the processing speed. [Structure] After creating a template according to the property of input image information, a predetermined encoding process is executed. [Effect] The prediction accuracy of pixel symbols is improved, and the data compression effect is enhanced. Further, since it is possible to prevent unnecessary surrounding pixels from being referred to, the processing speed is increased especially when processing is performed by software.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、2値画情報の各画素の
シンボルを周囲画素の状態により予測し、その予測結果
に基ずいて画情報を符号化する予測符号化方式の符号化
装置、およびその符号化装置により生成された符号を元
の画情報に復元する復号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention predicts a symbol of each pixel of binary image information according to the states of surrounding pixels, and encodes image information based on the prediction result. , And a decoding device for restoring the code generated by the coding device to the original image information.

【0002】[0002]

【従来の技術】この種の予測符号化装置において、画情
報の各画素を予測する場合、参照する周囲画素数を多く
するほど、予測精度が向上する。また、参照する周囲画
素の画素位置は、注目画素との相関が高いほど、予測精
度が向上する。予測精度が向上すると、画情報のデータ
圧縮効果も向上することになる。
2. Description of the Related Art In this type of predictive coding apparatus, when predicting each pixel of image information, the prediction accuracy improves as the number of surrounding pixels to be referred increases. Further, the higher the correlation between the pixel position of the peripheral pixel to be referred to and the pixel of interest, the higher the prediction accuracy. When the prediction accuracy is improved, the data compression effect of image information is also improved.

【0003】一方、このような画情報の符号化処理をソ
フトウェアにより実行する場合には、参照する周囲画素
数を多くすると、予測処理に時間がかかるようになっ
て、処理速度が低下する。このため、通常、参照画素数
は、6〜10画素程度に設定している。
On the other hand, when such image information encoding processing is executed by software, if the number of surrounding pixels to be referred to is increased, the prediction processing will take time and the processing speed will decrease. Therefore, the number of reference pixels is usually set to about 6 to 10 pixels.

【0004】図16(a)〜(c)は、参照する周囲画
素位置を示すテンプレートの例を示している。同図にお
いて、ハッチングの枠が注目画素、空白の枠が参照する
周囲画素を示しており、これら3種のテンプレートは、
いずれも参照画素数が10画素のものである。
FIGS. 16 (a) to 16 (c) show examples of templates indicating the positions of surrounding pixels to be referred to. In the figure, the hatched frame shows the pixel of interest and the blank frame shows the surrounding pixels, and these three types of templates are
In each case, the number of reference pixels is 10.

【0005】画像の種類によって、注目画素に対して相
関の高い周囲画素の画素位置が異なるため、適合するテ
ンプレートもそれぞれ異なる。
Since the pixel positions of the surrounding pixels having a high correlation with the target pixel are different depending on the type of image, the matching templates are also different.

【0006】一般に、文字や図形のような2値画像を処
理する場合、同図(a)に示すように、全ての参照画素
が注目画素の近く配置されているテンプレートが適合す
る。また、絵や写真などの疑似中間調の画像の場合、同
図(b)に示すように、参照画素が分散したテンプレー
トが適合する。
Generally, when a binary image such as a character or a graphic is processed, a template in which all the reference pixels are arranged near the target pixel is suitable as shown in FIG. Further, in the case of a pseudo-halftone image such as a picture or a photograph, a template in which reference pixels are dispersed is suitable as shown in FIG.

【0007】一方、符号化された画情報を復号化する際
にも、順次復元する画情報の周囲画素を抽出するため
に、このようなテンプレートを使用する。この場合、使
用するテンプレートは、符号化で使用したものと同一で
なければならない。
On the other hand, even when decoding the encoded image information, such a template is used to extract the surrounding pixels of the image information to be sequentially restored. In this case, the template used must be the same as that used in the encoding.

【0008】[0008]

【発明が解決しようとする課題】ところで、ファクシミ
リ装置のように画像伝送する場合には、伝送する画像の
種類に応じて、送信側と受信側とが同時にテンプレート
を使い分けることが難しい。このため、従来は、2値画
像でも疑似中間調画像でも、ある程度高いデータ圧縮効
果が得られる、例えば図16(c)に示すような同一テ
ンプレートを使用していた。
By the way, in the case of transmitting an image like a facsimile machine, it is difficult for the transmitting side and the receiving side to use different templates at the same time depending on the type of image to be transmitted. Therefore, conventionally, the same template as shown in, for example, FIG. 16C is used, which can obtain a somewhat high data compression effect for both binary images and pseudo halftone images.

【0009】この結果、2値画像の場合も疑似中間調画
像の場合も、最適条件で符号化することができず、デー
タ圧縮効果が低下していた。
As a result, neither the binary image nor the pseudo-halftone image can be coded under the optimum condition, and the data compression effect is reduced.

【0010】また、画像の種類に拘らず、一定位置の画
素を参照するため、注目画素と相関の低い画素も参照す
ることになる。そのような参照処理は、無駄である上に
処理時間を要するため、符号化処理の処理速度が低下し
ていた。
Further, since a pixel at a fixed position is referred to regardless of the type of image, a pixel having a low correlation with the pixel of interest is also referred to. Since such a reference process is wasteful and requires a processing time, the processing speed of the encoding process is reduced.

【0011】このように、従来は、各種画情報に対して
常に高いデータ圧縮効果を得ることができない上に、処
理速度が遅いという問題があった。
As described above, conventionally, there has been a problem that a high data compression effect cannot always be obtained for various image information and the processing speed is slow.

【0012】本発明は、上記の問題を解決し、各種画情
報に対して常に高いデータ圧縮効果を得ると共に、処理
速度を高速化することができる予測符号化方式の符号化
装置および復号化装置を提供することを目的とする。
The present invention solves the above-mentioned problems, always obtains a high data compression effect for various image information, and can increase the processing speed, and an encoding device and a decoding device of a predictive encoding system. The purpose is to provide.

【0013】[0013]

【課題を解決するための手段】このために、本発明は、
画情報を入力すると、その画情報の性質に応じたテンプ
レートを作成し、その後、所定の符号化処理を実行する
ようにしたことを特徴とするものである。
To this end, the present invention provides
When the image information is input, a template is created according to the property of the image information, and then a predetermined encoding process is executed.

【0014】[0014]

【作用】入力する画情報に応じて、その都度テンプレー
トが作成されるので、各種画情報に対して常に高いデー
タ圧縮効果が得られる。また、この場合、テンプレート
には、画素シンボルの予測の際に参照不要な画素位置を
設定せず、無駄な参照処理を実行しないようにできるた
め、処理速度が高速化される。
Since the template is created each time in accordance with the inputted image information, a high data compression effect can be always obtained for various image information. Further, in this case, it is possible to prevent unnecessary reference processing from being set in the template at the time of predicting the pixel symbol and not to perform unnecessary reference processing, so that the processing speed is increased.

【0015】[0015]

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

【0016】図1は、本発明の一実施例に係る画像伝送
装置の送信側のブロック構成図を示している。図におい
て、画情報一時記憶部101は、入力される2値画情報
を一時格納するものである。固定テンプレート画素抽出
部102は、入力される画情報の各画素を注目画素と
し、予め固定的に設定されている周囲一定範囲の各画素
を抽出するものである。一致回数計数部103は、注目
画素と抽出された周囲の各画素とのシンボルの一致回数
を計数するものである。変化点計数部104は、入力さ
れる画情報のシンボルの変化点を計数するものである。
テンプレート作成部105は、符号化処理の際に抽出す
る周囲画素位置を指示するテンプレートを作成するもの
である。画素抽出部106は、作成されたテンプレート
に従って画情報の各画素を抽出するものである。算術符
号生成部107は、既知の演算処理により算術符号を生
成するものである。送信部108は、生成された符号情
報と共にテンプレートの仕様情報を送信するものであ
る。
FIG. 1 is a block diagram of the transmitting side of an image transmitting apparatus according to an embodiment of the present invention. In the figure, the image information temporary storage unit 101 temporarily stores the input binary image information. The fixed template pixel extraction unit 102 sets each pixel of the input image information as a pixel of interest and extracts each pixel of a fixed peripheral range set in advance. The coincidence count counting unit 103 counts the number of coincidences of symbols between the pixel of interest and the extracted surrounding pixels. The change point counting unit 104 counts the change points of the symbols of the input image information.
The template creation unit 105 creates a template that specifies the positions of surrounding pixels to be extracted during the encoding process. The pixel extraction unit 106 extracts each pixel of the image information according to the created template. The arithmetic code generation unit 107 generates an arithmetic code by known arithmetic processing. The transmitting unit 108 transmits template specification information together with the generated code information.

【0017】図2は、上記画像伝送装置の受信側のブロ
ック構成図を示している。図において、受信部201
は、送信側から送信される各情報を受信するものであ
る。テンプレート作成部202は、送信側から送信され
るテンプレートの仕様情報に従ってテンプレートを作成
するものである。算術符号復号部203は、受信した符
号情報を既知の演算処理により復号して元の画情報を復
元するものである。画素抽出部204は、上記テンプレ
ートに従って、復元した画情報の周囲画素を抽出するも
のである。
FIG. 2 is a block diagram of the receiving side of the image transmitting apparatus. In the figure, a receiving unit 201
Is to receive each information transmitted from the transmitting side. The template creating unit 202 creates a template according to the specification information of the template transmitted from the transmitting side. The arithmetic code decoding unit 203 decodes the received code information by known arithmetic processing to restore the original image information. The pixel extraction unit 204 extracts peripheral pixels of the restored image information according to the template.

【0018】以上の構成で、次に、本実施例の画像伝送
装置の送信側の動作を説明する。
Next, the operation of the transmission side of the image transmission apparatus of the present embodiment having the above-mentioned configuration will be described.

【0019】送信側は、図3に示すように、まず画情報
の入力を開始する。この画情報は、処理対象の画像を主
走査および副走査して1ラインずつ読み取った2値画情
報であり、この装置は、各ラインの画情報を1画素ずつ
順次入力する(処理301)。
As shown in FIG. 3, the transmitting side first starts inputting image information. This image information is binary image information obtained by scanning the image to be processed by main scanning and sub-scanning line by line, and this apparatus sequentially inputs the image information of each line pixel by pixel (process 301).

【0020】画情報一時記憶部101は、入力した画情
報を順次蓄積する。固定テンプレート画素抽出部102
は、入力する各画素に注目し、その注目画素周囲の各画
素を抽出する。抽出する画素は、図4に示すように、ハ
ッチングで示す注目画素に対して固定的に定められた各
画素D1〜D10である。一致回数計数部103は、抽
出される各画素D1〜D10と、注目画素との一致回数
を計数する。これにより、一致回数計数部103は、図
5に示すように、各画素D1〜D10に対応した各計数
値N1〜N10を出力する。また、変化点計数部104
は、入力される画情報の各画素を監視し、白から黒また
は黒から白に変化するごとに、その変化点数を計数する
(以上、処理302)。
The image information temporary storage unit 101 sequentially stores the input image information. Fixed template pixel extraction unit 102
Pays attention to each input pixel and extracts each pixel around the target pixel. Pixels to be extracted are, as shown in FIG. 4, pixels D1 to D10 that are fixedly determined with respect to the pixel of interest indicated by hatching. The coincidence count counting unit 103 counts the number of coincidences between the extracted pixels D1 to D10 and the target pixel. As a result, the coincidence number counting unit 103 outputs the count values N1 to N10 corresponding to the pixels D1 to D10, as shown in FIG. Also, the change point counting unit 104
Monitors each pixel of the input image information and counts the number of change points every time it changes from white to black or from black to white (above, process 302).

【0021】この画像伝送装置は、上記各動作を開始し
た後、計数される変化点数を監視すし(処理303)、
変化点数が予め設定された一定数未満であれば(処理3
03のN)、そのまま動作を継続する(処理302
へ)。
After starting each of the above operations, this image transmission device monitors the number of change points counted (process 303),
If the number of change points is less than a preset fixed number (process 3
03 N), the operation is continued as it is (process 302).
What).

【0022】そして、画像の白黒の変化点数が上記一定
数に達した場合(処理303のY)、そのときの上記一
致回数の各計数値N1〜N10を読み取る。そして、各
計数値N1〜N10の内、予め設定された一定値以上を
示している画素位置を判定して、それらの画素位置を示
すテンプレートを作成する(処理304)。
When the number of black-and-white change points of the image reaches the above-mentioned fixed number (Y in step 303), the count values N1 to N10 of the number of coincidences at that time are read. Then, among the count values N1 to N10, the pixel positions showing a predetermined constant value or more are determined, and a template showing those pixel positions is created (process 304).

【0023】上記計数値N1〜N10は、注目画素に対
する各画素位置の相関の大きさを示していることにな
る。従って、大きい値を示す画素位置とその画素数は、
画情報の種類により異なる。
The count values N1 to N10 indicate the magnitude of the correlation of each pixel position with respect to the target pixel. Therefore, the pixel position that shows a large value and the number of pixels are
It depends on the type of image information.

【0024】いま、例えば、文字や図形のような2値画
像の画情報が入力されたとすると、大きい値を示す画素
位置は、注目画素の近傍に集中すると共に、その画素数
は比較的少なくなる。これにより、例えば、図6(a)
に示すようなテンプレートが作成される。一方、絵や写
真のような疑似中間調画像の画情報が入力されたとする
と、大きい値を示す画素位置は、注目画素に対してやや
広い範囲に分散し、その画素数も比較的多くなる。これ
により、例えば、図6(b)に示すようなテンプレート
が作成される。
Now, for example, if image information of a binary image such as a character or a graphic is input, pixel positions showing a large value are concentrated near the pixel of interest and the number of pixels thereof is relatively small. . Thereby, for example, FIG.
A template as shown in is created. On the other hand, if the image information of a pseudo-halftone image such as a picture or a photograph is input, the pixel positions exhibiting a large value are dispersed in a rather wide range with respect to the target pixel, and the number of pixels is relatively large. Thereby, for example, a template as shown in FIG. 6B is created.

【0025】送信部108は、作成されたテンプレート
の仕様つまり抽出画素位置を示す情報を相手先に送信す
る(処理305)。画情報一時記憶部101は、画情報
の入力が終了するまで、順次格納する。画素抽出部10
6は、上記テンプレートが作成されると、画情報一時記
憶部101から画情報を順次読み出して、そのテンプレ
ートに従って、周囲画素を抽出する。算術符号生成部1
07は、抽出された周囲画素に基ずいて、注目画素を予
測する既知の演算処理により算術符号の符号情報を順次
生成する。送信部108は、生成された符号情報を順次
送信する(以上、処理306)。
The transmitting unit 108 transmits the specifications of the created template, that is, the information indicating the extracted pixel position to the other party (process 305). The image information temporary storage unit 101 sequentially stores the image information until the input is completed. Pixel extraction unit 10
When the template is created, 6 sequentially reads the image information from the image information temporary storage unit 101 and extracts the surrounding pixels according to the template. Arithmetic code generator 1
Reference numeral 07 sequentially generates the code information of the arithmetic code based on the extracted surrounding pixels by the known arithmetic processing for predicting the target pixel. The transmission unit 108 sequentially transmits the generated code information (above, processing 306).

【0026】これにより、この画像伝送装置の送信側か
ら、図7に示すように、テンプレートの仕様情報と符号
化された画情報である符号情報とが送信される。
As a result, as shown in FIG. 7, the transmission side of the image transmission apparatus transmits the specification information of the template and the code information which is the encoded image information.

【0027】一方、受信側では、図8に示すように、ま
ず受信部201が、送信される上記情報を受信する。テ
ンプレート作成部202は、その受信情報からテンプレ
ートの仕様情報を読み取って、テンプレートを作成する
(処理401)。算術符号復号部203は、受信した符
号情報を既知の演算処理により復号し、元の画情報を順
次復元する。画素抽出部204は、順次復元される画情
報の各画素に注目し、テンプレートに従って周囲画素を
抽出する。算術符号復号部203では、この抽出画素を
参照して注目画素を予測し、その予測結果に基ずいて画
情報を1画素ずつ復元することになる。このような復号
化処理により元の画情報が順次復元される(処理40
2)。
On the other hand, on the receiving side, as shown in FIG. 8, the receiving section 201 first receives the above-mentioned information to be transmitted. The template creation unit 202 reads template specification information from the received information and creates a template (process 401). The arithmetic code decoding unit 203 decodes the received code information by known arithmetic processing and sequentially restores the original image information. The pixel extraction unit 204 pays attention to each pixel of the image information that is sequentially restored, and extracts surrounding pixels according to the template. The arithmetic code decoding unit 203 predicts the pixel of interest with reference to the extracted pixel, and restores the image information pixel by pixel based on the prediction result. The original image information is sequentially restored by such a decoding process (process 40).
2).

【0028】以上のように、本実施例では、入力する画
情報のシンボルの変化点が一定数に達するまでの期間、
注目画素と周囲一定範囲の各画素とのシンボルの一致回
数を周囲の各画素位置別に計数し、その計数値が大きい
各画素位置を示すテンプレートを作成するようにしてい
る。
As described above, in the present embodiment, the period until the change point of the symbol of the input image information reaches a fixed number,
The number of times the symbol of interest matches the pixel of each pixel in the surrounding constant range is counted for each surrounding pixel position, and a template indicating each pixel position having a large count value is created.

【0029】これにより、テンプレートには、常に入力
する画情報において、注目画素と相関の高い画素位置の
み正しく設定することができる。このようなテンプレー
トを使用して所定の符号化処理を実行するので、各画素
の予測精度が向上し、画情報の種類に拘らず、常に高い
データ圧縮効果が得られるようになる。
As a result, in the template, it is possible to correctly set only the pixel position having a high correlation with the pixel of interest in the image information that is always input. Since the predetermined encoding process is executed using such a template, the prediction accuracy of each pixel is improved, and a high data compression effect can always be obtained regardless of the type of image information.

【0030】また、作成されるテンプレートには、注目
画素に対して相関の低い画素位置が設定されないので、
参照画素数を必要最小限に少なくすることができる。こ
れにより、無駄な参照処理を実行しなくなり、特に符号
化処理をソフトウェアにより実行する場合、処理速度を
高速化することができる。
Further, since no pixel position having a low correlation with the target pixel is set in the created template,
The number of reference pixels can be minimized. As a result, unnecessary reference processing is not executed, and particularly when the encoding processing is executed by software, the processing speed can be increased.

【0031】また、注目画素と周囲画素との一致回数の
計数動作は、入力する画情報のシンボルの変化点が一定
数に達するまで実行するので、画情報の変化点が少ない
画情報の場合でも、画情報の特性に応じたテンプレート
を正しく作成することができる。さらに、テンプレート
が作成されると、画情報の入力を続けながら、符号化処
理を実行するので、符号化処理を早く開始することがで
きる。
Further, the counting operation of the number of coincidences between the target pixel and the surrounding pixels is executed until the number of change points of the symbols of the input image information reaches a certain number, so that even in the case of image information having a small number of image information change points. , It is possible to correctly create a template according to the characteristics of image information. Furthermore, when the template is created, the encoding process is executed while continuing to input the image information, so that the encoding process can be started earlier.

【0032】図9は、本発明の第2の実施例に係る画像
伝送装置の送信側動作を示している。図中、図3と同一
符号は、同一処理を示している。本実施例では、画情報
の記憶,注目画素と周囲画素との一致回数の計数および
画情報の変化点の計数という各動作を開始すると(処理
302)、画情報の入力を監視し(処理307)、画情
報の入力が続いていると、上記各動作を継続する(処理
307のNより処理302へ)。
FIG. 9 shows the operation of the transmitting side of the image transmitting apparatus according to the second embodiment of the present invention. In the figure, the same symbols as in FIG. 3 indicate the same processing. In the present embodiment, when the operations of storing image information, counting the number of coincidences between a target pixel and surrounding pixels, and counting the change points of image information are started (process 302), the input of image information is monitored (process 307). ) If the image information is continuously input, the above-described operations are continued (from N in step 307 to step 302).

【0033】そして、画情報の入力が終了すると(処理
307のY)、一致回数計数部103で計数された注目
画素と周辺画素の一致回数と、変化点計数部104で計
数された変化点数とに基ずいて、テンプレートを作成す
る。
When the input of the image information is completed (Y in processing 307), the number of times the target pixel and the surrounding pixels have been matched by the number-of-matches counter 103 and the number of change points counted by the change-point counter 104 are determined. Create a template based on.

【0034】すなわち、いま、一致回数の計数値がN1
〜N10、変化点数がMであったとすると、変化点数に
対する一致回数の割合すなわちN1/M,N2/M・・
・N10/Mという各値を算出する。そして、それらの
各値の内、予め設定された一定値以上を示している画素
位置を判定して、それらの画素位置を示すテンプレート
を作成する(処理308)。この後、図3の処理305
以降の動作を同様に実行する。
That is, now, the count value of the number of coincidences is N1.
Suppose that N10 and the number of change points are M, the ratio of the number of coincidences to the number of change points, that is, N1 / M, N2 / M ...
-Calculate each value of N10 / M. Then, among the respective values, the pixel positions showing a predetermined fixed value or more are determined, and a template showing the pixel positions is created (process 308). After this, the process 305 of FIG.
The subsequent operations are similarly performed.

【0035】このように本実施例では、入力する全画情
報に対して、注目画素と周囲画素との一致回数を計数
し、その計数結果に基ずいてテンプレートを作成するよ
うにしている。これにより、画情報全体の性質に応じた
テンプレートを正しく作成することができるので、より
高いデータデータ圧縮効果が得られるようになる。
As described above, in this embodiment, the number of coincidences between the target pixel and the surrounding pixels is counted for all the input image information, and the template is created based on the count result. As a result, it is possible to correctly create a template according to the characteristics of the entire image information, and a higher data data compression effect can be obtained.

【0036】図10は、本発明の第3の実施例に係る画
像伝送装置の送信側を示している。図中、図1と同一符
号は、同一部分を示し、図1と異なる点は、テンプレー
ト作成部105の代りにテンプレート選択部109を配
設すると共に、新たにテンプレート記憶部110を配設
している点である。テンプレート記憶部110は、例え
ば、図11の(a)〜(h)に示すような各種パターン
のテンプレートを予め記憶しているもので、テンプレー
ト選択部109は、その内の1つを選択するものであ
る。
FIG. 10 shows the transmitting side of the image transmitting apparatus according to the third embodiment of the present invention. In the figure, the same reference numerals as those in FIG. 1 indicate the same parts, and the difference from FIG. 1 is that a template selecting section 109 is provided instead of the template creating section 105 and a new template storage section 110 is provided. That is the point. The template storage unit 110 stores in advance templates of various patterns as shown in, for example, FIGS. 11A to 11H, and the template selection unit 109 selects one of them. Is.

【0037】図12は、本実施例の画像伝送装置の受信
側を示している。図中、図2と同一符号は、同一部分を
示し、図2と異なる点は、テンプレート作成部202の
代りにテンプレート番号選択部205を配設すると共
に、新たにテンプレート記憶部206を配設している点
である。テンプレート記憶部206は、上記テンプレー
ト記憶部110と同様のもので、テンプレート番号選択
部205は、テンプレート記憶部206が記憶している
テンプレートの1つを選択するものである。
FIG. 12 shows the receiving side of the image transmitting apparatus of this embodiment. In the figure, the same reference numerals as in FIG. 2 indicate the same parts, and the difference from FIG. 2 is that a template number selecting section 205 is provided instead of the template creating section 202, and a new template storage section 206 is provided. That is the point. The template storage unit 206 is the same as the template storage unit 110, and the template number selection unit 205 is one for selecting one of the templates stored in the template storage unit 206.

【0038】図13は、本実施例の画像伝送装置の送信
側動作を示している。図中、図3と同一符号は、同一処
理を示している。本実施例では、入力する画情報の変化
点が一定数に達すると(処理303のY)、記憶してい
る各種テンプレートの内から、適合するものを1つ選択
する。
FIG. 13 shows the operation on the transmission side of the image transmission apparatus of this embodiment. In the figure, the same symbols as in FIG. 3 indicate the same processing. In the present embodiment, when the number of change points of the input image information reaches a certain number (Y of processing 303), one matching one is selected from the stored various templates.

【0039】この選択は、例えば、次のように実行す
る。すなわち、一致回数計数部103の各計数値N1〜
N10の内から、各種テンプレートが指示する画素位置
に対応する計数値を読み取って、それらの平均値を算出
する。
This selection is executed as follows, for example. That is, the count values N1 to N1 of the match counter 103
The count value corresponding to the pixel position designated by each template is read from N10 and the average value thereof is calculated.

【0040】例えば、いま、一致回数計数部103は、
図5に示した各画素の計数値N1〜N10を指示してい
るものとする。ここで、例えば、図11(a)のテンプ
レートを考えると、このテンプレートが示す10個の画
素位置は、図5の10個の計数値N1〜N10にそれぞ
れ対応している。この場合、同図(a)のテンプレート
における上記平均値は、(N1+N2・・・+N10)
/10として算出する。また、例えば、図11(g)の
テンプレートを考えると、このテンプレートが示す7個
の画素位置は、図5の計数値N4〜N10に対応してい
る。この場合、上記平均値は、(N3+N4・・・+N
10)/7として算出する。
For example, now, the coincidence counter 103 is
It is assumed that the count values N1 to N10 of each pixel shown in FIG. 5 are designated. Here, for example, considering the template of FIG. 11A, the ten pixel positions indicated by the template correspond to the ten count values N1 to N10 of FIG. 5, respectively. In this case, the average value in the template of FIG.
Calculate as / 10. Further, for example, considering the template of FIG. 11 (g), the seven pixel positions indicated by this template correspond to the count values N4 to N10 of FIG. In this case, the average value is (N3 + N4 ... + N
10) / 7 is calculated.

【0041】各種テンプレートに対して、このように計
数値の平均値を算出し、平均値が最大になった1つのテ
ンプレートを選択する(以上、処理309)。
The average value of the count values is calculated in this way for each template, and one template having the maximum average value is selected (step 309).

【0042】この後、図14に示すように、選択したテ
ンプレート番号を送信する(処理310)。次いで、画
情報を符号化して生成した符号情報を送信する(処理3
06)。
Thereafter, as shown in FIG. 14, the selected template number is transmitted (process 310). Next, the code information generated by encoding the image information is transmitted (Process 3
06).

【0043】一方、受信側では、送信されたテンプレー
ト番号を読み取って、該当するテンプレートを選択す
る。そして、その選択したテンプレートを使用して、所
定の画情報の符号処理を実行する。
On the other hand, the receiving side reads the transmitted template number and selects the corresponding template. Then, using the selected template, a predetermined image information coding process is executed.

【0044】以上のように、各種テンプレートを予め記
憶しておき、処理する画情報に適合する1つを選択して
使用するようにしても、前述の実施例と同様に、常に高
いデータ圧縮効果が得られると共に、処理速度を高速化
することができるようになる。
As described above, even if various templates are stored in advance and one that matches the image information to be processed is selected and used, a high data compression effect is always obtained, as in the above embodiment. And the processing speed can be increased.

【0045】また、この場合、送信側は、受信側に対し
て、テンプレート情報として、テンプレート番号のみ送
信すればよいので、送信情報のデータ量を削減すること
ができる。
Further, in this case, the transmitting side need only transmit the template number as the template information to the receiving side, so that the data amount of the transmitting information can be reduced.

【0046】なお、上記実施例では、1つのテンプレー
トを選択する際、各計数値N1〜N10の内から、各テ
ンプレートに対応する各計数値を単純に平均するように
したが、注目画素に対してより相関の強い画素位置の計
数値に係数を掛けて重み付けした上で平均するようにす
れば、より適切なテンプレートを選択することができ
る。
In the above embodiment, when one template is selected, the count values corresponding to each template among the count values N1 to N10 are simply averaged. A more appropriate template can be selected by multiplying the count value of the pixel position having a stronger correlation by a coefficient, weighting the average value, and then averaging.

【0047】また、注目画素と周囲画素との一致回数
は、画情報の変化点が一定数に達するまで、計数するよ
うにしたが、第2の実施例の場合と同様に、画情報の最
後まで計数するようにしてもよい。
The number of coincidences between the pixel of interest and the surrounding pixels is counted until the number of change points of the image information reaches a certain number. However, as in the case of the second embodiment, the end of the image information is changed. You may make it count up to.

【0048】さらに、上述の各実施例では、送信側と受
信側とが通信する際のプロトコル交信を考えなかった
が、プロトコル交信を実行する際には、送信側は、受信
側の装置機能を確認し、受信側に送信モードを通知した
後、画情報を送信するようにすればよい。
Furthermore, in each of the above-described embodiments, the protocol communication when the transmitting side and the receiving side communicate is not considered, but when executing the protocol communication, the transmitting side performs the device function of the receiving side. The image information may be transmitted after confirming and notifying the receiving side of the transmitting mode.

【0049】例えば、G3ファクシミリ装置のように、
CCITTの勧告T.30に準拠したプロトコル交信を
実行する場合には、図15に示すように、受信側は、着
呼に応答して、CED信号とNSF信号を送出する際、
NSF信号により、算術符号化による伝送機能と、テン
プレートを可変する機能を有していることを送信側に通
知する。
For example, like a G3 facsimile machine,
CCITT Recommendation T. When performing protocol communication conforming to 30, when the receiving side sends out the CED signal and the NSF signal in response to the incoming call, as shown in FIG.
The NSF signal notifies the transmitting side that it has a transmission function by arithmetic coding and a function of changing the template.

【0050】送信側は、そのNSF信号で受信側機能を
確認する。そして、NSS信号とTCF信号を送出する
際、NSS信号で、使用するテンプレートの仕様や番号
を通知する。
The transmitting side confirms the function of the receiving side by the NSF signal. Then, when transmitting the NSS signal and the TCF signal, the specification and the number of the template to be used are notified by the NSS signal.

【0051】このような手順により、勧告T.30に準
拠したプロトコル交信で前述の各実施例の画像伝送を実
行することができる。
According to the procedure described above, the recommendation T. The image transmission of each of the above-described embodiments can be performed by protocol communication conforming to 30.

【0052】なお、以上の各実施例では、画像伝送する
場合について説明したが、画像ファイリング装置のよう
に、画像を記憶装置に蓄積する場合においても、本発明
を同様に適用することができる。
In each of the above embodiments, the case of transmitting an image has been described, but the present invention can be similarly applied to the case of storing an image in a storage device such as an image filing device.

【0053】[0053]

【発明の効果】以上のように、本発明によれば、入力し
た画情報の性質に応じてテンプレートを作成して、所定
の符号化処理を実行するようにしたので、各種画情報に
対して、常に高いデータ圧縮効果が得られると共に、テ
ンプレートには、画素シンボルの予測の際に参照不要な
画素位置を設定せず、無駄な参照処理を実行しないよう
にできるため、処理速度が高速化される。
As described above, according to the present invention, a template is created according to the property of input image information and a predetermined encoding process is executed. , A high data compression effect is always obtained, and unnecessary template processing is not performed in the template when predicting pixel symbols, and unnecessary reference processing is not executed, so that the processing speed is increased. It

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

【図1】本発明の一実施例に係る画像伝送装置の送信側
のブロック構成図である。
FIG. 1 is a block configuration diagram of a transmission side of an image transmission device according to an embodiment of the present invention.

【図2】上記画像伝送装置の受信側のブロック構成図で
ある。
FIG. 2 is a block configuration diagram of a receiving side of the image transmission device.

【図3】上記画像伝送装置の送信側の動作フローチャー
トである。
FIG. 3 is an operation flowchart of the transmission side of the image transmission device.

【図4】入力する画情報から固定的に抽出する周囲画素
を示す説明図である。
FIG. 4 is an explanatory diagram showing surrounding pixels fixedly extracted from input image information.

【図5】その周囲画素と注目画素との一致回数の計数値
の説明図である。
FIG. 5 is an explanatory diagram of a count value of the number of times of coincidence between the peripheral pixel and the target pixel.

【図6】作成されるテンプレートの例を示す説明図であ
る。
FIG. 6 is an explanatory diagram showing an example of a created template.

【図7】送信情報の説明図である。FIG. 7 is an explanatory diagram of transmission information.

【図8】上記画像伝送装置の受信側の動作フローチャー
トである。
FIG. 8 is an operation flowchart of a receiving side of the image transmission device.

【図9】本発明の第2の実施例に係る画像伝送装置の送
信側の動作フローチャートである。
FIG. 9 is an operation flowchart of the transmission side of the image transmission device according to the second embodiment of the present invention.

【図10】本発明の第3の実施例に係る画像伝送装置の
送信側のブロック構成図である。
FIG. 10 is a block configuration diagram of a transmitting side of an image transmitting apparatus according to a third embodiment of the present invention.

【図11】その実施例において、予め記憶しておく各種
テンプレートの例を示す説明図である。
FIG. 11 is an explanatory diagram showing an example of various templates stored in advance in the embodiment.

【図12】上記画像伝送装置の受信側のブロック構成図
である。
FIG. 12 is a block configuration diagram of a receiving side of the image transmission device.

【図13】上記画像伝送装置の送信側の動作フローチャ
ートである。
FIG. 13 is an operation flowchart of the transmission side of the image transmission device.

【図14】上記実施例における送信情報の説明図であるFIG. 14 is an explanatory diagram of transmission information in the above embodiment.

【図15】本発明のさらに別の実施例において送信側と
受信側とのプロトコル交信の手順を示す説明図である。
FIG. 15 is an explanatory diagram showing a procedure of protocol communication between a transmission side and a reception side in still another embodiment of the present invention.

【図16】既知の各種テンプレートを示す説明図であ
る。
FIG. 16 is an explanatory diagram showing various known templates.

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

101 画情報一時記憶部 102 固定テンプレート画素抽出部 103 一致回数計数部 104 変化点計数部 105,202 テンプレート作成部 106,204 画素抽出部 107 算術符号生成部 108 送信部 109 テンプレート選択部 110,206 テンプレート記憶部 201 受信部 203 算術符号復号部 205 テンプレート番号選択部 101 Image Information Temporary Storage Unit 102 Fixed Template Pixel Extraction Unit 103 Match Count Counting Unit 104 Change Point Counting Unit 105, 202 Template Creation Unit 106, 204 Pixel Extraction Unit 107 Arithmetic Code Generation Unit 108 Transmission Unit 109 Template Selection Unit 110, 206 Template Storage unit 201 Reception unit 203 Arithmetic code decoding unit 205 Template number selection unit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 注目画素周囲の各画素位置を示すテンプ
レートを備え、2値画情報を1画素ずつ順次入力し、入
力した画情報の各画素に注目し上記テンプレートで示さ
れる周囲画素の状態により注目画素のシンボルを予測
し、その予測結果に基ずいて符号を生成する予測符号化
方式の符号化装置において、入力した画情報の性質に応
じたテンプレートを作成するテンプレート作成手段と、
作成したテンプレートを使用して上記符号を生成する符
号化実行手段とを備えていることを特徴とする予測符号
化方式の符号化装置。
1. A template which shows each pixel position around a pixel of interest is provided, binary image information is sequentially input pixel by pixel, and each pixel of the input image information is focused, depending on the state of the surrounding pixels indicated by the template. In a coding device of a predictive coding system that predicts a symbol of a pixel of interest and generates a code based on the prediction result, template creating means for creating a template according to the property of input image information,
An encoding device of a predictive encoding system, comprising: an encoding execution unit that generates the above-mentioned code using the created template.
【請求項2】 上記テンプレート作成手段は、順次入力
される画情報の画素シンボルの変化点を計数する手段
と、入力された各画素に順次注目しその注目画素と周囲
一定範囲の各画素とのシンボルの一致回数を上記周囲一
定範囲の各画素位置別に計数する手段と、上記画素シン
ボルの変化点の計数値が一定値に達した場合に上記各画
素位置別の上記一致回数の計数値を読み取る手段と、読
み取った計数値が比較的大きい各画素位置を示すテンプ
レートを作成する手段とにより構成していることを特徴
とする請求項1記載の予測符号化方式の符号化装置。
2. The template creating means comprises means for counting the change points of the pixel symbols of the image information that are sequentially input, and attention for each input pixel sequentially, and the pixel of interest and each pixel within a certain peripheral range. Means for counting the number of times of symbol coincidence for each pixel position within the surrounding constant range, and reading the number of coincidences for each pixel position when the count value of the changing point of the pixel symbol reaches a constant value. The coding apparatus according to claim 1, wherein the coding apparatus comprises a means and a means for creating a template indicating each pixel position where the read count value is relatively large.
【請求項3】 上記テンプレート作成手段は、順次入力
される画情報の画素シンボルの変化点を計数する手段
と、入力された各画素に順次注目しその注目画素と周囲
一定範囲の各画素とのシンボルの一致回数を上記周囲一
定範囲の各画素位置別に計数する手段と、その計数動作
を入力された全画情報に対して実行し終えた場合に上記
画素シンボルの変化点の計数値に対する上記各画素位置
別の上記一致回数の計数値の割合を判定する手段と、判
定した割合が比較的大きい各画素位置を示すテンプレー
トを作成する手段とにより構成していることを特徴とす
る請求項1記載の予測符号化方式の符号化装置。
3. The template creating means comprises means for counting the change points of the pixel symbols of the image information that are sequentially input, and sequentially focusing attention on each input pixel and the target pixel and each pixel in a peripheral fixed range. Means for counting the number of times of coincidence of symbols for each pixel position in the surrounding constant range, and for each of the count values of the changing points of the pixel symbols when the counting operation is completed for all input image information. 2. The method according to claim 1, further comprising: a unit for determining a ratio of the count value of the number of coincidences for each pixel position, and a unit for creating a template indicating each pixel position having a relatively large determined ratio. Predictive coding system coding device.
【請求項4】 示している各画素位置が異なる複数のテ
ンプレートを備え、上記テンプレート作成手段は、上記
複数のテンプレートの内から入力した画情報の性質に応
じた1つのテンプレートを選択する手段であることを特
徴とする請求項1記載の予測符号化方式の符号化装置。
4. A plurality of templates having different pixel positions shown are provided, and the template creating means is means for selecting one template from the plurality of templates according to the property of image information input. The coding apparatus according to claim 1, wherein the predictive coding method is used.
【請求項5】 生成した符号に、使用したテンプレート
の仕様を示す情報を付加して出力する手段を備えている
ことを特徴とする請求項1記載の予測符号化方式の符号
化装置。
5. The predictive coding system coding apparatus according to claim 1, further comprising means for adding information indicating specifications of a template used to the generated code and outputting the code.
【請求項6】 注目画素周囲の各画素位置を示すテンプ
レートを備え、入力された符号から画情報を復元する際
に注目画素のシンボルを上記テンプレートで示される周
囲画素の状態により予測し、その予測結果に基ずいて2
値画情報を1画素ずつ復元する予測符号化方式の復号化
装置において、符号と共にテンプレートの仕様を示す情
報を入力する入力手段と、入力した情報に従ってテンプ
レートを作成するテンプレート作成手段と、作成したテ
ンプレートを使用して上記2値画情報を復元する復号化
実行手段とを備えていることを特徴とする予測符号化方
式の復号化装置。
6. A template showing each pixel position around a pixel of interest is provided, and when restoring image information from an input code, the symbol of the pixel of interest is predicted by the state of surrounding pixels shown by the template, and the prediction is performed. 2 based on the result
In a predictive coding method decoding device that restores value image information pixel by pixel, input means for inputting information indicating template specifications together with a code, template creating means for creating a template according to the input information, and created template And a decoding execution unit that restores the binary image information by using the decoding device.
【請求項7】 示している各画素位置が異なる複数のテ
ンプレートを備え、上記テンプレート作成手段は、入力
した情報に従って上記複数のテンプレートの内の1つの
テンプレートを選択する手段であることを特徴とする請
求項6記載の予測符号化方式の復号化装置。
7. A plurality of templates having different pixel positions shown are provided, and the template creating means is means for selecting one of the plurality of templates according to input information. A predictive coding method decoding device according to claim 6.
JP26561592A 1992-09-09 1992-09-09 Predictive encoding device and predictive decoding device Expired - Fee Related JP3224283B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26561592A JP3224283B2 (en) 1992-09-09 1992-09-09 Predictive encoding device and predictive decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26561592A JP3224283B2 (en) 1992-09-09 1992-09-09 Predictive encoding device and predictive decoding device

Publications (2)

Publication Number Publication Date
JPH0690363A true JPH0690363A (en) 1994-03-29
JP3224283B2 JP3224283B2 (en) 2001-10-29

Family

ID=17419597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26561592A Expired - Fee Related JP3224283B2 (en) 1992-09-09 1992-09-09 Predictive encoding device and predictive decoding device

Country Status (1)

Country Link
JP (1) JP3224283B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002054757A1 (en) * 2000-12-28 2002-07-11 Evolvable Systems Research Institute, Inc. Data coding method and device, and data coding program
US6711296B1 (en) 1998-02-26 2004-03-23 Japan As Represented By Secretary Of Agency Of Industrial Science And Technology Apparatus for performing loss-less compression-coding of adaptive evolution type on image data
JP2010212744A (en) * 2009-03-06 2010-09-24 Nec Corp Method and device for data compression, and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3261208B2 (en) 1993-05-12 2002-02-25 株式会社リコー Picture information prediction encoding and decoding apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3108479B2 (en) 1991-08-28 2000-11-13 株式会社リコー Encoding / decoding method and apparatus therefor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711296B1 (en) 1998-02-26 2004-03-23 Japan As Represented By Secretary Of Agency Of Industrial Science And Technology Apparatus for performing loss-less compression-coding of adaptive evolution type on image data
WO2002054757A1 (en) * 2000-12-28 2002-07-11 Evolvable Systems Research Institute, Inc. Data coding method and device, and data coding program
WO2002054758A1 (en) * 2000-12-28 2002-07-11 Evolvable Systems Research Institute, Inc. Adaptive prediction codeing/decoding method and device, and adapttive prediction codeintg/decoding program
US7254273B2 (en) 2000-12-28 2007-08-07 Evolvable Systems Research Institute, Inc. Data coding method and device, and data coding program
JP2010212744A (en) * 2009-03-06 2010-09-24 Nec Corp Method and device for data compression, and program

Also Published As

Publication number Publication date
JP3224283B2 (en) 2001-10-29

Similar Documents

Publication Publication Date Title
KR100214332B1 (en) Method for changing image ratio
EP0449528A2 (en) Image processing apparatus
US5515179A (en) Image processing of isolated pixels, and method, apparatus and facsimile incorporating such processing
JP3224283B2 (en) Predictive encoding device and predictive decoding device
JP3223046B2 (en) Error diffusion coding apparatus for binary image
JPH06181523A (en) Predictive coding system coding device and decoding device
US7142328B2 (en) Image reduction method, image processing device and method of controlling image processing device
JP3226637B2 (en) Coding device and decoding device for predictive coding method
JP3139460B2 (en) Method and apparatus for encoding binary document image
JP3281183B2 (en) Image encoding / decoding method and image encoding / decoding device
KR100750151B1 (en) Method and apparatus for sending fax data
US5809168A (en) Method and apparatus for estimating a character size of an alphanumeric subject copy in a facimile system
JP3059769B2 (en) Picture information predictive coding device
JP3220217B2 (en) Facsimile machine
JP3858877B2 (en) Image forming apparatus and image forming method
JP3123795B2 (en) Encoding device and decoding device using arithmetic code
JP3295507B2 (en) Binary image encoding / decoding method
JP3983592B2 (en) Image communication device
JPH09154023A (en) Image processing apparatus and method
JP3879900B2 (en) Facsimile device
JP3215211B2 (en) Image information encoding device
JPS62234466A (en) Image processing device
JPH05260286A (en) Variable power device for binary image
JP2000224413A (en) Image transmission method and facsimile apparatus
JPH04256284A (en) Resolution automatic selection system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080824

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080824

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090824

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090824

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100824

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100824

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110824

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110824

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120824

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees