JP3281183B2 - Image encoding / decoding method and image encoding / decoding device - Google Patents

Image encoding / decoding method and image encoding / decoding device

Info

Publication number
JP3281183B2
JP3281183B2 JP15822294A JP15822294A JP3281183B2 JP 3281183 B2 JP3281183 B2 JP 3281183B2 JP 15822294 A JP15822294 A JP 15822294A JP 15822294 A JP15822294 A JP 15822294A JP 3281183 B2 JP3281183 B2 JP 3281183B2
Authority
JP
Japan
Prior art keywords
block
code data
prediction
code
binary
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
JP15822294A
Other languages
Japanese (ja)
Other versions
JPH089167A (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 JP15822294A priority Critical patent/JP3281183B2/en
Publication of JPH089167A publication Critical patent/JPH089167A/en
Application granted granted Critical
Publication of JP3281183B2 publication Critical patent/JP3281183B2/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、多値画像データを所定
形状のブロック単位に符号化する画像符号化復号化方法
および画像符号化復号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding / decoding method and an image encoding / decoding apparatus for encoding multi-valued image data in blocks of a predetermined shape.

【0002】[0002]

【従来の技術】近年、例えば、スキャナなどで読み取っ
て得た多値画像をそのままの状態で伝送したり、蓄積し
たいという要求がある。一般に、多値画像の情報量は膨
大であり、これをそのままの状態で伝送したり蓄積する
ことは非現実的である。そこで、多値画像を効率良く圧
縮できる多値画像符号化方式が各種提案されている。
2. Description of the Related Art In recent years, there has been a demand for transmitting or storing multi-valued images obtained by reading with a scanner or the like as they are. In general, the amount of information of a multi-valued image is enormous, and it is impractical to transmit or accumulate it as it is. Therefore, various multi-valued image encoding methods capable of efficiently compressing a multi-valued image have been proposed.

【0003】例えば、多値画像を直接符号化する方式と
しては、いわゆるJPEG方式がある。このJPEG方
式では、白黒多階調の画像やカラー画像を効率良く符号
化圧縮できるようにしている。
For example, there is a so-called JPEG system as a system for directly encoding a multi-valued image. In the JPEG system, a multi-tone black-and-white image and a color image can be efficiently encoded and compressed.

【0004】一方、二値画像についても、より効率のよ
い二値画像符号化方式が求められている。すなわち、ス
キャナなどの読取解像度が大幅に向上したため、1ペー
ジ当たりの画像情報量が膨大になり、したがって、従来
適用されてきた二値画像符号化方式、例えば、MH符号
化方式やMR符号化方式では、符号化後に得られる符号
データのデータ量が十分に小さくはならないという事態
を生じる。
On the other hand, with respect to binary images, a more efficient binary image coding system is required. That is, since the reading resolution of a scanner or the like has been greatly improved, the amount of image information per page has become enormous. Therefore, a binary image coding system which has been conventionally applied, for example, an MH coding system or an MR coding system In this case, a situation arises in which the amount of code data obtained after encoding does not become sufficiently small.

【0005】このため、いわゆるJBIG方式という二
値画像符号化方式が提案され、標準化されている。
For this reason, a so-called JBIG binary coding system has been proposed and standardized.

【0006】[0006]

【発明が解決しようとする課題】ところが、例えば、フ
ァクシミリ装置でやりとりしようとする原稿には、文字
原稿と写真原稿が1枚の原稿に混在しているものがあ
り、かかる場合、1ページ分の画像データを多値画像符
号化方式で符号化圧縮すると、復号化して得られた画像
の文字の部分が不鮮明になるという事態を生じ、また、
かかる画像データを二値画像符号化方式のみで符号化圧
縮すると、復号化して得られた画像の写真の部分の階調
性が失われて、画質が劣化するという事態を生じる。
However, for example, some documents to be exchanged with a facsimile machine include a text document and a photo document mixed in one document. When the image data is encoded and compressed by the multi-level image encoding method, a character portion of an image obtained by decoding becomes unclear, and
If the image data is encoded and compressed only by the binary image encoding method, the gradation of the photograph portion of the decoded image is lost, and the image quality is degraded.

【0007】本発明は、かかる実情に鑑みてなされたも
のであり、文字画像と写真画像が混在しているような原
稿画像を効率良く符号化圧縮できるとともに、復号化後
に得られた画像の画質を向上できる画像符号化復号化方
法および画像符号化復号化装置を提供することを目的と
している。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and it is possible to efficiently encode and compress an original image in which a character image and a photographic image are mixed, and to improve the image quality of an image obtained after decoding. It is an object of the present invention to provide an image encoding / decoding method and an image encoding / decoding device capable of improving the above.

【0008】[0008]

【課題を解決するための手段】本発明は、多値画像デー
タを所定形状のブロック単位に符号化する画像符号化復
号化方法において、符号化時、おのおののブロックにつ
いて、符号化対象の注目画素に関し、その注目画素に隣
接する複数の周囲画素の画素値に基づいて上記注目画素
の予測画素値を演算する予測処理を適用するとともに、
上記注目画素の画素値と上記予測画素値との予測誤差を
算出し、その予測誤差について所定の統計処理を適用
し、その統計処理結果に基づいてそのブロックについて
二値符号化処理を適用するか、多値符号化処理を適用す
るか、あるいは、符号化処理を適用しないかを判定し、
二値符号化処理を適用すると判定した場合には、そのブ
ロックの各画素について所定の二値符号化処理を適用し
てそれによって得た二値符号データとその符号データが
二値符号データであることを識別する第1の識別符号を
そのブロックの符号データとして出力し、多値符号化処
理を適用すると判定した場合には、そのブロックの各画
素について所定の多値符号化処理を適用してそれによっ
て得た多値符号データとその符号データが多値符号デー
タであることを識別する第2の識別符号をそのブロック
の符号データとして出力し、符号化処理を適用しないと
判定した場合には、そのブロックについて符号化処理を
適用していない旨をあらわす第3の識別符号をそのブロ
ックの符号データとして出力する一方、復号化時、符号
データに上記第1の識別符号が含まれているときには、
そのブロックについて所定の二値復号化処理を適用して
元の画像データを形成し、符号データに上記第2の識別
符号が含まれているときには、そのブロックについて所
定の多値復号化処理を適用して元の画像データを形成
し、符号データに上記第3の識別符号が含まれていると
きには、上記予測処理を実行し、その予測結果に基づい
てそのブロック内の画像データを形成するようにしたも
のである。
According to the present invention, there is provided an image encoding / decoding method for encoding multi-valued image data in block units of a predetermined shape. With respect to, while applying a prediction process of calculating the predicted pixel value of the target pixel based on the pixel values of a plurality of surrounding pixels adjacent to the target pixel,
Calculating a prediction error between the pixel value of the target pixel and the prediction pixel value, applying a predetermined statistical process to the prediction error, and applying a binary encoding process to the block based on the statistical processing result; , To apply multi-level encoding processing, or to determine whether to apply the encoding processing,
When it is determined that the binary coding process is applied, the binary code data obtained by applying a predetermined binary coding process to each pixel of the block and the code data are binary code data. Is output as code data of the block, and when it is determined that the multi-level encoding process is to be applied, a predetermined multi-level encoding process is applied to each pixel of the block. When the multi-level code data obtained thereby and the second identification code for identifying that the code data is multi-level code data are output as the code data of the block, and it is determined that the coding process is not applied, , A third identification code indicating that the encoding process has not been applied to the block is output as the code data of the block, while the first code is added to the code data at the time of decoding. When that contain identification code,
A predetermined binary decoding process is applied to the block to form original image data, and when the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block. To form the original image data, and when the code data includes the third identification code, execute the above-described prediction processing and form the image data in the block based on the prediction result. It was done.

【0009】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化方法において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理を適用するとともに、上記注目画素の画素値
と上記予測画素値との予測誤差を算出し、その予測誤差
の平均値と最大値を算出し、所定の閾値に基づいてその
算出した平均値と最大値を分類し、その分類結果に基づ
いて、そのブロックについて二値符号化処理を適用する
か、多値符号化処理を適用するか、あるいは、符号化処
理を適用しないかを判定し、二値符号化処理を適用する
と判定した場合には、そのブロックの各画素について所
定の二値符号化処理を適用してそれによって得た二値符
号データとその符号データが二値符号データであること
を識別する第1の識別符号をそのブロックの符号データ
として出力し、多値符号化処理を適用すると判定した場
合には、そのブロックの各画素について所定の多値符号
化処理を適用してそれによって得た多値符号データとそ
の符号データが多値符号データであることを識別する第
2の識別符号をそのブロックの符号データとして出力
し、符号化処理を適用しないと判定した場合には、その
ブロックについて符号化処理を適用していない旨をあら
わす第3の識別符号をそのブロックの符号データとして
出力する一方、復号化時、符号データに上記第1の識別
符号が含まれているときには、そのブロックについて所
定の二値復号化処理を適用して元の画像データを形成
し、符号データに上記第2の識別符号が含まれていると
きには、そのブロックについて所定の多値復号化処理を
適用して元の画像データを形成し、符号データに上記第
3の識別符号が含まれているときには、上記予測処理を
実行し、その予測結果に基づいてそのブロック内の画像
データを形成するようにしたものである。
Also, in an image coding / decoding method for coding multi-valued image data in block units of a predetermined shape, at the time of coding, each block is related to a target pixel to be coded and adjacent to the target pixel. A prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Calculate the average value and the maximum value, classify the calculated average value and the maximum value based on a predetermined threshold, and apply a binary coding process to the block based on the classification result, It is determined whether to apply the coding process or not, and if it is determined that the binary coding process is to be applied, a predetermined binary coding process is applied to each pixel of the block. And outputs the binary code data obtained thereby and the first identification code for identifying that the code data is binary code data as code data of the block, and applying multi-level coding processing. If it is determined, a second multi-level code data is obtained by applying a predetermined multi-level coding process to each pixel of the block and identifying that the multi-level code data is multi-level code data. The code is output as the code data of the block, and when it is determined that the coding process is not applied, a third identification code indicating that the coding process is not applied to the block is used as the code data of the block. On the other hand, at the time of decoding, if the first identification code is included in the code data at the time of decoding, a predetermined binary decoding process is applied to the block to obtain the original image. When data is formed, and the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block to form original image data, and the third data is added to the code data. When the identification code is included, the above-described prediction processing is executed, and image data in the block is formed based on the prediction result.

【0010】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化方法において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理を適用するとともに、上記注目画素の画素値
と上記予測画素値との予測誤差を算出し、その予測誤差
の平均値と最大値を算出し、所定の閾値に基づいてその
算出した平均値と最大値を分類し、その分類結果に基づ
いて、そのブロックについて二値符号化処理を適用する
か、多値符号化処理を適用するか、あるいは、符号化処
理を適用しないかを判定し、二値符号化処理を適用する
と判定した場合には、そのブロックの各画素について所
定の二値符号化処理を適用してそれによって得た二値符
号データとその符号データが二値符号データであること
を識別する第1の識別符号をそのブロックの符号データ
として出力し、多値符号化処理を適用すると判定した場
合には、そのブロックの各画素について所定の多値符号
化処理を適用してそれによって得た多値符号データとそ
の符号データが多値符号データであることを識別する第
2の識別符号をそのブロックの符号データとして出力
し、符号化処理を適用しないと判定した場合には、その
ブロックについて符号化処理を適用していない旨をあら
わす第3の識別符号をそのブロックの符号データとして
出力する一方、復号化時、符号データに上記第1の識別
符号が含まれているときには、そのブロックについて所
定の二値復号化処理を適用して元の画像データを形成
し、符号データに上記第2の識別符号が含まれていると
きには、そのブロックについて所定の多値復号化処理を
適用して元の画像データを形成し、符号データに上記第
3の識別符号が含まれているときには、上記予測処理を
実行し、その予測結果に基づいてそのブロック内の画像
データを形成するとともに、上記所定の閾値を外部から
変更可能にしたものである。
Also, in an image encoding / decoding method for encoding multi-valued image data in block units of a predetermined shape, at the time of encoding, each block is related to a target pixel to be coded and is adjacent to the target pixel. A prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Calculate the average value and the maximum value, classify the calculated average value and the maximum value based on a predetermined threshold, and apply a binary coding process to the block based on the classification result, or perform multi-level coding. It is determined whether to apply the encoding process or not to apply the encoding process. If it is determined that the binary encoding process is to be applied, a predetermined binary encoding process is applied to each pixel of the block. And outputs the binary code data obtained thereby and the first identification code for identifying that the code data is binary code data as code data of the block, and applying multi-level coding processing. If it is determined, a second multi-level code data is obtained by applying a predetermined multi-level coding process to each pixel of the block and identifying that the multi-level code data is multi-level code data. The code is output as the code data of the block, and when it is determined that the coding process is not applied, a third identification code indicating that the coding process is not applied to the block is used as the code data of the block. On the other hand, at the time of decoding, if the first identification code is included in the code data at the time of decoding, a predetermined binary decoding process is applied to the block to obtain the original image. When the second identification code is included in the code data, the original image data is formed by applying a predetermined multi-level decoding process to the block, and the third image is added to the code data. When the identification code is included, the prediction process is executed, image data in the block is formed based on the prediction result, and the predetermined threshold value can be changed from outside.

【0011】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化方法において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理を適用するとともに、上記注目画素の画素値
と上記予測画素値との予測誤差を算出し、その予測誤差
について所定の統計処理を適用し、その統計処理結果に
基づいてそのブロックについて二値符号化処理を適用す
るか、多値符号化処理を適用するか、あるいは、符号化
処理を適用しないかを判定し、二値符号化処理を適用す
ると判定した場合には、そのブロックの各画素の上記予
測誤差について所定の二値符号化処理を適用してそれに
よって得た二値符号データとその符号データが二値符号
データであることを識別する第1の識別符号をそのブロ
ックの符号データとして出力し、多値符号化処理を適用
すると判定した場合には、そのブロックの各画素の予測
誤差について所定の多値符号化処理を適用してそれによ
って得た多値符号データとその符号データが多値符号デ
ータであることを識別する第2の識別符号をそのブロッ
クの符号データとして出力し、符号化処理を適用しない
と判定した場合には、そのブロックについて符号化処理
を適用していない旨をあらわす第3の識別符号をそのブ
ロックの符号データとして出力する一方、復号化時、符
号データに上記第1の識別符号が含まれているときに
は、そのブロックについて所定の二値復号化処理を適用
して予測誤差を形成するとともに、そのブロックについ
て上記予測処理を適用して予測値を算出し、その算出し
た予測誤差と予測値を合成して元の画像データを形成
し、符号データに上記第2の識別符号が含まれていると
きには、そのブロックについて所定の多値復号化処理を
適用して予測誤差を形成するとともに、そのブロックに
ついて上記予測処理を適用して予測値を算出し、その算
出した予測誤差と予測値を合成して元の画像データを形
成し、符号データに上記第3の識別符号が含まれている
ときには、上記予測処理を実行し、その予測結果に基づ
いてそのブロック内の画像データを形成するようにした
ものである。
In an image coding / decoding method for coding multi-valued image data in block units having a predetermined shape, at the time of coding, each block is related to a target pixel to be coded and adjacent to the target pixel. A prediction process of calculating the predicted pixel value of the target pixel based on the pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Apply predetermined statistical processing, and determine whether to apply binary coding processing, multi-level coding processing, or no coding processing for the block based on the statistical processing result. If it is determined that the binary encoding process is to be applied, a binary code obtained by applying a predetermined binary encoding process to the prediction error of each pixel of the block is obtained. The data and a first identification code for identifying that the code data is binary code data are output as the code data of the block, and when it is determined that the multi-level coding process is applied, each pixel of the block is output. A predetermined multi-level encoding process is applied to the prediction error of the multi-level code data obtained as a result and a second identification code for identifying that the code data is multi-level code data is used as code data of the block. Output, and when it is determined that the encoding process is not applied, a third identification code indicating that the encoding process is not applied to the block is output as the code data of the block. When the code data contains the first identification code, a predetermined binary decoding process is applied to the block to form a prediction error, and A prediction value is calculated by applying the above-described prediction processing to the block, and the calculated prediction error and the prediction value are combined to form the original image data. When the code data includes the second identification code, Applying a predetermined multi-level decoding process to the block to form a prediction error, applying a prediction process to the block to calculate a prediction value, and combining the calculated prediction error with the prediction value. When the original image data is formed, and the code data includes the third identification code, the prediction processing is executed, and the image data in the block is formed based on the prediction result. It is.

【0012】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化方法において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理を適用するとともに、上記注目画素の画素値
と上記予測画素値との予測誤差を算出し、その予測誤差
の平均値と最大値を算出し、所定の閾値に基づいてその
算出した平均値と最大値を分類し、その分類結果に基づ
いて、そのブロックについて二値符号化処理を適用する
か、多値符号化処理を適用するか、あるいは、符号化処
理を適用しないかを判定し、二値符号化処理を適用する
と判定した場合には、そのブロックの各画素の上記予測
誤差について所定の二値符号化処理を適用してそれによ
って得た二値符号データとその符号データが二値符号デ
ータであることを識別する第1の識別符号をそのブロッ
クの符号データとして出力し、多値符号化処理を適用す
ると判定した場合には、そのブロックの各画素の上記予
測誤差について所定の多値符号化処理を適用してそれに
よって得た多値符号データとその符号データが多値符号
データであることを識別する第2の識別符号をそのブロ
ックの符号データとして出力し、符号化処理を適用しな
いと判定した場合には、そのブロックについて符号化処
理を適用していない旨をあらわす第3の識別符号をその
ブロックの符号データとして出力する一方、復号化時、
符号データに上記第1の識別符号が含まれているときに
は、そのブロックについて所定の二値復号化処理を適用
して予測誤差を形成するとともに、そのブロックについ
て上記予測処理を適用して予測値を算出し、その算出し
た予測誤差と予測値を合成して元の画像データを形成
し、符号データに上記第2の識別符号が含まれていると
きには、そのブロックについて所定の多値復号化処理を
適用して予測誤差を形成するとともに、そのブロックに
ついて上記予測処理を適用して予測値を算出し、その算
出した予測誤差と予測値を合成して元の画像データを形
成し、符号データに上記第3の識別符号が含まれている
ときには、上記予測処理を実行し、その予測結果に基づ
いてそのブロック内の画像データを形成するようにした
ものである。
Also, in an image coding / decoding method for coding multi-valued image data in block units of a predetermined shape, at the time of coding, each block is related to a target pixel to be coded and adjacent to the target pixel. A prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Calculate the average value and the maximum value, classify the calculated average value and the maximum value based on a predetermined threshold, and apply a binary coding process to the block based on the classification result, It is determined whether to apply the encoding process or not to apply the encoding process, and when it is determined to apply the binary encoding process, a predetermined value is set for the prediction error of each pixel of the block. A binary code data obtained by applying the binary coding process and a first identification code for identifying that the code data are binary code data are output as code data of the block, and a multi-level code is output. If it is determined that the coding process is applied, the multi-level code data obtained by applying a predetermined multi-level coding process to the prediction error of each pixel of the block and the code data are multi-level code data. A second identification code for identifying the presence of the block is output as code data of the block, and when it is determined that the coding process is not applied, a third code indicating that the coding process is not applied to the block is output. While outputting the identification code as code data of the block, at the time of decoding,
When the first identification code is included in the code data, a predetermined binary decoding process is applied to the block to form a prediction error, and the prediction value is applied to the block by applying the prediction process to the block. Calculate, combine the calculated prediction error and the predicted value to form the original image data, and when the code data includes the second identification code, perform a predetermined multi-level decoding process on the block. Applying the prediction error to form a prediction value, calculating the prediction value by applying the above-described prediction processing to the block, forming the original image data by combining the calculated prediction error and the prediction value, and When the third identification code is included, the above-described prediction processing is executed, and image data in the block is formed based on the prediction result.

【0013】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化方法において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理を適用するとともに、上記注目画素の画素値
と上記予測画素値との予測誤差を算出し、その予測誤差
の平均値と最大値を算出し、所定の閾値に基づいてその
算出した平均値と最大値を分類し、その分類結果に基づ
いて、そのブロックについて二値符号化処理を適用する
か、多値符号化処理を適用するか、あるいは、符号化処
理を適用しないかを判定し、二値符号化処理を適用する
と判定した場合には、そのブロックの各画素の上記予測
誤差について所定の二値符号化処理を適用してそれによ
って得た二値符号データとその符号データが二値符号デ
ータであることを識別する第1の識別符号をそのブロッ
クの符号データとして出力し、多値符号化処理を適用す
ると判定した場合には、そのブロックの各画素の上記予
測誤差について所定の多値符号化処理を適用してそれに
よって得た多値符号データとその符号データが多値符号
データであることを識別する第2の識別符号をそのブロ
ックの符号データとして出力し、符号化処理を適用しな
いと判定した場合には、そのブロックについて符号化処
理を適用していない旨をあらわす第3の識別符号をその
ブロックの符号データとして出力する一方、復号化時、
符号データに上記第1の識別符号が含まれているときに
は、そのブロックについて所定の二値復号化処理を適用
して予測誤差を形成するとともに、そのブロックについ
て上記予測処理を適用して予測値を算出し、その算出し
た予測誤差と予測値を合成して元の画像データを形成
し、符号データに上記第2の識別符号が含まれていると
きには、そのブロックについて所定の多値復号化処理を
適用して予測誤差を形成するとともに、そのブロックに
ついて上記予測処理を適用して予測値を算出し、その算
出した予測誤差と予測値を合成して元の画像データを形
成し、符号データに上記第3の識別符号が含まれている
ときには、上記予測処理を実行し、その予測結果に基づ
いてそのブロック内の画像データを形成するようにした
ものである。
In an image encoding / decoding method for encoding multi-valued image data in block units having a predetermined shape, at the time of encoding, for each block, a target pixel to be encoded is adjacent to the target pixel. A prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Calculate the average value and the maximum value, classify the calculated average value and the maximum value based on a predetermined threshold, and apply a binary coding process to the block based on the classification result, It is determined whether to apply the encoding process or not to apply the encoding process, and when it is determined to apply the binary encoding process, a predetermined value is set for the prediction error of each pixel of the block. A binary code data obtained by applying the binary coding process and a first identification code for identifying that the code data are binary code data are output as code data of the block, and a multi-level code is output. If it is determined that the coding process is applied, the multi-level code data obtained by applying a predetermined multi-level coding process to the prediction error of each pixel of the block and the code data are multi-level code data. A second identification code for identifying the presence of the block is output as code data of the block, and when it is determined that the coding process is not applied, a third code indicating that the coding process is not applied to the block is output. While outputting the identification code as code data of the block, at the time of decoding,
When the first identification code is included in the code data, a predetermined binary decoding process is applied to the block to form a prediction error, and the prediction value is applied to the block by applying the prediction process to the block. Calculate, combine the calculated prediction error and the predicted value to form the original image data, and when the code data includes the second identification code, perform a predetermined multi-level decoding process on the block. Applying the prediction error to form a prediction value, calculating the prediction value by applying the above-described prediction processing to the block, forming the original image data by combining the calculated prediction error and the prediction value, and When the third identification code is included, the above-described prediction processing is executed, and image data in the block is formed based on the prediction result.

【0014】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化装置において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理手段と、上記注目画素の画素値と上記予測画
素値との予測誤差を算出し、その予測誤差について所定
の統計処理を適用し、その統計処理結果に基づいてその
ブロックについて二値符号化処理を適用するか、多値符
号化処理を適用するか、あるいは、符号化処理を適用し
ないかを判定する判定手段と、上記判定手段が二値符号
化処理を適用すると判定した場合には、そのブロックの
各画素について所定の二値符号化処理を適用してそれに
よって得た二値符号データとその符号データが二値符号
データであることを識別する第1の識別符号をそのブロ
ックの符号データとして出力し、多値符号化処理を適用
すると判定した場合には、そのブロックの各画素につい
て所定の多値符号化処理を適用してそれによって得た多
値符号データとその符号データが多値符号データである
ことを識別する第2の識別符号をそのブロックの符号デ
ータとして出力し、符号化処理を適用しないと判定した
場合には、そのブロックについて符号化処理を適用して
いない旨をあらわす第3の識別符号をそのブロックの符
号データとして出力する画像符号化手段と、復号化時、
符号データに上記第1の識別符号が含まれているときに
は、そのブロックについて所定の二値復号化処理を適用
して元の画像データを形成し、符号データに上記第2の
識別符号が含まれているときには、そのブロックについ
て所定の多値復号化処理を適用して元の画像データを形
成し、符号データに上記第3の識別符号が含まれている
ときには、上記予測処理を実行し、その予測結果に基づ
いてそのブロック内の画像データを形成する画像復号化
手段を備えたものである。
Also, in an image coding / decoding apparatus for coding multi-valued image data in block units of a predetermined shape, at the time of coding, each block is related to a target pixel to be coded and adjacent to the target pixel. Prediction processing means for calculating a predicted pixel value of the pixel of interest based on pixel values of a plurality of surrounding pixels; calculating a prediction error between the pixel value of the pixel of interest and the predicted pixel value; A determination unit that applies statistical processing and determines whether to apply binary coding processing, multi-level coding processing, or no coding processing to the block based on the result of the statistical processing. And when the determination means determines that the binary coding process is to be applied, the binary code obtained by applying the predetermined binary coding process to each pixel of the block. The data and a first identification code for identifying that the code data is binary code data are output as the code data of the block, and when it is determined that the multi-level coding process is applied, each pixel of the block is output. Applying a predetermined multi-level encoding process for the multi-level code data and a second identification code for identifying that the code data is multi-level code data are output as code data of the block, If it is determined that the encoding process is not applied, an image encoding unit that outputs a third identification code indicating that the encoding process is not applied to the block as code data of the block; ,
When the code data contains the first identification code, the block is subjected to a predetermined binary decoding process to form original image data, and the code data contains the second identification code. The original image data is formed by applying a predetermined multi-level decoding process to the block, and when the code data contains the third identification code, the prediction process is executed. It is provided with image decoding means for forming image data in the block based on the prediction result.

【0015】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化装置において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理を適用するとともに、上記注目画素の画素値
と上記予測画素値との予測誤差を算出する予測処理手段
と、その予測誤差の平均値と最大値を算出し、所定の閾
値に基づいてその算出した平均値と最大値を分類し、そ
の分類結果に基づいて、そのブロックについて二値符号
化処理を適用するか、多値符号化処理を適用するか、あ
るいは、符号化処理を適用しないかを判定する判定手段
と、二値符号化処理を適用すると判定した場合には、そ
のブロックの各画素について所定の二値符号化処理を適
用してそれによって得た二値符号データとその符号デー
タが二値符号データであることを識別する第1の識別符
号をそのブロックの符号データとして出力し、多値符号
化処理を適用すると判定した場合には、そのブロックの
各画素について所定の多値符号化処理を適用してそれに
よって得た多値符号データとその符号データが多値符号
データであることを識別する第2の識別符号をそのブロ
ックの符号データとして出力し、符号化処理を適用しな
いと判定した場合には、そのブロックについて符号化処
理を適用していない旨をあらわす第3の識別符号をその
ブロックの符号データとして出力する画像符号化手段
と、復号化時、符号データに上記第1の識別符号が含ま
れているときには、そのブロックについて所定の二値復
号化処理を適用して元の画像データを形成し、符号デー
タに上記第2の識別符号が含まれているときには、その
ブロックについて所定の多値復号化処理を適用して元の
画像データを形成し、符号データに上記第3の識別符号
が含まれているときには、上記予測処理を実行し、その
予測結果に基づいてそのブロック内の画像データを形成
する画像復号化手段を備えたものである。
In an image coding / decoding apparatus for coding multi-valued image data in block units of a predetermined shape, at the time of coding, each block is related to a target pixel to be coded and is adjacent to the target pixel. Prediction processing means for applying a prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels, and calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; Calculate the average value and the maximum value of the prediction error, classify the calculated average value and the maximum value based on a predetermined threshold, and apply the binary coding process to the block based on the classification result. Means for determining whether to apply multi-level coding processing or not to apply coding processing, and, when determining to apply binary coding processing, Applying a predetermined binary encoding process for the binary code data obtained thereby and a first identification code identifying that the code data is binary code data are output as code data of the block, If it is determined that the multi-level coding process is applied, the multi-level code data obtained by applying the predetermined multi-level coding process to each pixel of the block and the code data are multi-level code data. Is output as the code data of the block, and when it is determined that the encoding process is not applied, the third identification code indicating that the encoding process is not applied to the block is output. An image encoding means for outputting a code as code data of the block; and, when decoding, when the first identification code is included in the code data, decoding of the block. To form the original image data by applying a predetermined binary decoding process, and when the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block. Image decoding means for forming the original image data, executing the prediction processing when the code data includes the third identification code, and forming the image data in the block based on the prediction result It is provided with.

【0016】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化装置において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理を適用するとともに、上記注目画素の画素値
と上記予測画素値との予測誤差を算出する予測処理手段
と、その予測誤差の平均値と最大値を算出し、所定の閾
値に基づいてその算出した平均値と最大値を分類し、そ
の分類結果に基づいて、そのブロックについて二値符号
化処理を適用するか、多値符号化処理を適用するか、あ
るいは、符号化処理を適用しないかを判定する判定手段
と、二値符号化処理を適用すると判定した場合には、そ
のブロックの各画素について所定の二値符号化処理を適
用してそれによって得た二値符号データとその符号デー
タが二値符号データであることを識別する第1の識別符
号をそのブロックの符号データとして出力し、多値符号
化処理を適用すると判定した場合には、そのブロックの
各画素について所定の多値符号化処理を適用してそれに
よって得た多値符号データとその符号データが多値符号
データであることを識別する第2の識別符号をそのブロ
ックの符号データとして出力し、符号化処理を適用しな
いと判定した場合には、そのブロックについて符号化処
理を適用していない旨をあらわす第3の識別符号をその
ブロックの符号データとして出力する画像符号化手段
と、復号化時、符号データに上記第1の識別符号が含ま
れているときには、そのブロックについて所定の二値復
号化処理を適用して元の画像データを形成し、符号デー
タに上記第2の識別符号が含まれているときには、その
ブロックについて所定の多値復号化処理を適用して元の
画像データを形成し、符号データに上記第3の識別符号
が含まれているときには、上記予測処理を実行し、その
予測結果に基づいてそのブロック内の画像データを形成
する画像復号化手段を備え、上記判定手段が適用する所
定の閾値を外部から変更可能にしたものである。
Also, in an image coding / decoding apparatus for coding multi-valued image data in block units of a predetermined shape, at the time of coding, for each block, a target pixel to be coded is adjacent to the target pixel. Prediction processing means for applying a prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels, and calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; Calculate the average value and the maximum value of the prediction error, classify the calculated average value and the maximum value based on a predetermined threshold, and determine whether to apply the binary coding process to the block based on the classification result. Means for determining whether to apply multi-level coding processing or not to apply coding processing, and, when determining to apply binary coding processing, Applying a predetermined binary encoding process for the binary code data obtained thereby and a first identification code identifying that the code data is binary code data are output as code data of the block, If it is determined that the multi-level coding process is applied, the multi-level code data obtained by applying the predetermined multi-level coding process to each pixel of the block and the code data are multi-level code data. Is output as the code data of the block, and when it is determined that the encoding process is not applied, the third identification code indicating that the encoding process is not applied to the block is output. An image encoding means for outputting a code as code data of the block; and, when decoding, when the first identification code is included in the code data, decoding of the block. To form original image data by applying a predetermined binary decoding process, and when the code data includes the second identification code, applying a predetermined multi-level decoding process to the block. Image decoding means for forming the original image data, and when the code data contains the third identification code, executing the prediction processing and forming the image data in the block based on the prediction result And the predetermined threshold value applied by the determination means can be changed from outside.

【0017】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化装置において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理を適用するとともに、上記注目画素の画素値
と上記予測画素値との予測誤差を算出する予測処理手段
と、その予測誤差について所定の統計処理を適用し、そ
の統計処理結果に基づいてそのブロックについて二値符
号化処理を適用するか、多値符号化処理を適用するか、
あるいは、符号化処理を適用しないかを判定する判定手
段と、二値符号化処理を適用すると判定した場合には、
そのブロックの各画素の上記予測誤差について所定の二
値符号化処理を適用してそれによって得た二値符号デー
タとその符号データが二値符号データであることを識別
する第1の識別符号をそのブロックの符号データとして
出力し、多値符号化処理を適用すると判定した場合に
は、そのブロックの各画素の予測誤差について所定の多
値符号化処理を適用してそれによって得た多値符号デー
タとその符号データが多値符号データであることを識別
する第2の識別符号をそのブロックの符号データとして
出力し、符号化処理を適用しないと判定した場合には、
そのブロックについて符号化処理を適用していない旨を
あらわす第3の識別符号をそのブロックの符号データと
して出力する画像符号化手段と、復号化時、符号データ
に上記第1の識別符号が含まれているときには、そのブ
ロックについて所定の二値復号化処理を適用して予測誤
差を形成するとともに、そのブロックについて上記予測
処理を適用して予測値を算出し、その算出した予測誤差
と予測値を合成して元の画像データを形成し、符号デー
タに上記第2の識別符号が含まれているときには、その
ブロックについて所定の多値復号化処理を適用して予測
誤差を形成するとともに、そのブロックについて上記予
測処理を適用して予測値を算出し、その算出した予測誤
差と予測値を合成して元の画像データを形成し、符号デ
ータに上記第3の識別符号が含まれているときには、上
記予測処理を実行し、その予測結果に基づいてそのブロ
ック内の画像データを形成する画像復号化手段を備えた
ものである。
Also, in an image coding / decoding apparatus for coding multi-valued image data in block units of a predetermined shape, at the time of coding, each block is related to a target pixel to be coded and adjacent to the target pixel. Prediction processing means for applying a prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels, and calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; Applying a predetermined statistical process to the prediction error, applying a binary encoding process to the block based on the result of the statistical process, applying a multi-level encoding process,
Alternatively, a determination unit that determines whether to apply the encoding process, and when it is determined that the binary encoding process is to be applied,
Binary code data obtained by applying a predetermined binary coding process to the prediction error of each pixel of the block and a first identification code for identifying that the code data is binary code data Output as the code data of the block, and when it is determined that the multi-level coding process is to be applied, the multi-level code obtained by applying the predetermined multi-level coding process to the prediction error of each pixel of the block is obtained. When the data and a second identification code for identifying that the code data is multi-level code data are output as the code data of the block, and it is determined that the coding process is not applied,
An image encoding unit that outputs a third identification code indicating that the encoding process has not been applied to the block as code data of the block, and the first identification code is included in the code data during decoding. When a predetermined binary decoding process is applied to the block to form a prediction error, a prediction value is calculated by applying the prediction process to the block, and the calculated prediction error and prediction value are calculated. When the original image data is formed by synthesis, and when the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block to form a prediction error, and , A prediction value is calculated by applying the above-described prediction processing, and the calculated prediction error and the prediction value are combined to form original image data. When that contain different symbols, it performs the prediction process, in which includes the picture decoding means for forming an image data of the block based on the prediction result.

【0018】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化装置において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理を適用するとともに、上記注目画素の画素値
と上記予測画素値との予測誤差を算出する予測処理手段
と、その予測誤差の平均値と最大値を算出し、所定の閾
値に基づいてその算出した平均値と最大値を分類し、そ
の分類結果に基づいて、そのブロックについて二値符号
化処理を適用するか、多値符号化処理を適用するか、あ
るいは、符号化処理を適用しないかを判定する判定手段
と、二値符号化処理を適用すると判定した場合には、そ
のブロックの各画素の上記予測誤差について所定の二値
符号化処理を適用してそれによって得た二値符号データ
とその符号データが二値符号データであることを識別す
る第1の識別符号をそのブロックの符号データとして出
力し、多値符号化処理を適用すると判定した場合には、
そのブロックの各画素の上記予測誤差について所定の多
値符号化処理を適用してそれによって得た多値符号デー
タとその符号データが多値符号データであることを識別
する第2の識別符号をそのブロックの符号データとして
出力し、符号化処理を適用しないと判定した場合には、
そのブロックについて符号化処理を適用していない旨を
あらわす第3の識別符号をそのブロックの符号データと
して出力する画像符号化手段と、復号化時、符号データ
に上記第1の識別符号が含まれているときには、そのブ
ロックについて所定の二値復号化処理を適用して予測誤
差を形成するとともに、そのブロックについて上記予測
処理を適用して予測値を算出し、その算出した予測誤差
と予測値を合成して元の画像データを形成し、符号デー
タに上記第2の識別符号が含まれているときには、その
ブロックについて所定の多値復号化処理を適用して予測
誤差を形成するとともに、そのブロックについて上記予
測処理を適用して予測値を算出し、その算出した予測誤
差と予測値を合成して元の画像データを形成し、符号デ
ータに上記第3の識別符号が含まれているときには、上
記予測処理を実行し、その予測結果に基づいてそのブロ
ック内の画像データを形成する画像復号化手段を備えた
ものである。
In an image coding / decoding apparatus for coding multi-valued image data in blocks of a predetermined shape, at the time of coding, for each block, a target pixel to be coded is adjacent to the target pixel. Prediction processing means for applying a prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels, and calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; Calculate the average value and the maximum value of the prediction error, classify the calculated average value and the maximum value based on a predetermined threshold, and determine whether to apply the binary coding process to the block based on the classification result. Means for determining whether to apply multi-level coding processing or not to apply coding processing, and, when determining to apply binary coding processing, The binary code data obtained by applying a predetermined binary coding process to the above prediction error and a first identification code for identifying that the code data is binary code data are represented by code data of the block. And if it is determined that the multi-level encoding process is to be applied,
A multi-level code data obtained by applying a predetermined multi-level coding process to the prediction error of each pixel of the block and a second identification code for identifying that the code data is multi-level code data are obtained. Output as the coded data of the block, and when it is determined that the coding process is not applied,
An image encoding unit that outputs a third identification code indicating that the encoding process has not been applied to the block as code data of the block, and the first identification code is included in the code data during decoding. When a predetermined binary decoding process is applied to the block to form a prediction error, a prediction value is calculated by applying the prediction process to the block, and the calculated prediction error and prediction value are calculated. When the original image data is formed by synthesis, and when the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block to form a prediction error, and , A prediction value is calculated by applying the above-described prediction processing, and the calculated prediction error and the prediction value are combined to form original image data. When that contain different symbols, it performs the prediction process, in which includes the picture decoding means for forming an image data of the block based on the prediction result.

【0019】また、多値画像データを所定形状のブロッ
ク単位に符号化する画像符号化復号化装置において、符
号化時、おのおののブロックについて、符号化対象の注
目画素に関し、その注目画素に隣接する複数の周囲画素
の画素値に基づいて上記注目画素の予測画素値を演算す
る予測処理を適用するとともに、上記注目画素の画素値
と上記予測画素値との予測誤差を算出する予測処理手段
と、その予測誤差の平均値と最大値を算出し、所定の閾
値に基づいてその算出した平均値と最大値を分類し、そ
の分類結果に基づいて、そのブロックについて二値符号
化処理を適用するか、多値符号化処理を適用するか、あ
るいは、符号化処理を適用しないかを判定する判定手段
と、二値符号化処理を適用すると判定した場合には、そ
のブロックの各画素の上記予測誤差について所定の二値
符号化処理を適用してそれによって得た二値符号データ
とその符号データが二値符号データであることを識別す
る第1の識別符号をそのブロックの符号データとして出
力し、多値符号化処理を適用すると判定した場合には、
そのブロックの各画素の上記予測誤差について所定の多
値符号化処理を適用してそれによって得た多値符号デー
タとその符号データが多値符号データであることを識別
する第2の識別符号をそのブロックの符号データとして
出力し、符号化処理を適用しないと判定した場合には、
そのブロックについて符号化処理を適用していない旨を
あらわす第3の識別符号をそのブロックの符号データと
して出力する画像符号化手段と、復号化時、符号データ
に上記第1の識別符号が含まれているときには、そのブ
ロックについて所定の二値復号化処理を適用して予測誤
差を形成するとともに、そのブロックについて上記予測
処理を適用して予測値を算出し、その算出した予測誤差
と予測値を合成して元の画像データを形成し、符号デー
タに上記第2の識別符号が含まれているときには、その
ブロックについて所定の多値復号化処理を適用して予測
誤差を形成するとともに、そのブロックについて上記予
測処理を適用して予測値を算出し、その算出した予測誤
差と予測値を合成して元の画像データを形成し、符号デ
ータに上記第3の識別符号が含まれているときには、上
記予測処理を実行し、その予測結果に基づいてそのブロ
ック内の画像データを形成する画像復号化手段を備え、
上記判定手段が適用する上記所定の閾値を外部から変更
可能にしたたものである。
Further, in an image coding / decoding apparatus for coding multi-valued image data in block units of a predetermined shape, at the time of coding, each block is related to a target pixel to be coded and adjacent to the target pixel. Prediction processing means for applying a prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels, and calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; Calculate the average value and the maximum value of the prediction error, classify the calculated average value and the maximum value based on a predetermined threshold, and determine whether to apply the binary coding process to the block based on the classification result. Means for determining whether to apply multi-level coding processing or not to apply coding processing, and, when determining to apply binary coding processing, The binary code data obtained by applying a predetermined binary coding process to the above prediction error and a first identification code for identifying that the code data is binary code data are represented by code data of the block. And if it is determined that the multi-level encoding process is to be applied,
A multi-level code data obtained by applying a predetermined multi-level coding process to the prediction error of each pixel of the block and a second identification code for identifying that the code data is multi-level code data are obtained. Output as the coded data of the block, and when it is determined that the coding process is not applied,
An image encoding unit that outputs a third identification code indicating that the encoding process has not been applied to the block as code data of the block, and the first identification code is included in the code data during decoding. When a predetermined binary decoding process is applied to the block to form a prediction error, a prediction value is calculated by applying the prediction process to the block, and the calculated prediction error and prediction value are calculated. When the original image data is formed by synthesis, and when the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block to form a prediction error, and , A prediction value is calculated by applying the above-described prediction processing, and the calculated prediction error and the prediction value are combined to form original image data. When that contain different symbols, performs the prediction process, includes the picture decoding means for forming an image data of the block based on the prediction result,
The predetermined threshold value applied by the determination means can be changed from outside.

【0020】また、前記予測処理では、前記注目画素に
対応する隣接画素が存在しないときには、所定画素値を
もつ仮想的な画素を隣接画素として採用するとよい。ま
た、前記二値復号化処理を適用して元の画像データを形
成するとき、その二値復号化処理で得た二値画像データ
を、所定の多値画像データに変換するようにするとよ
い。
In the prediction processing, when there is no adjacent pixel corresponding to the pixel of interest, a virtual pixel having a predetermined pixel value may be adopted as the adjacent pixel. Further, when the original image data is formed by applying the binary decoding process, the binary image data obtained by the binary decoding process may be converted into predetermined multi-valued image data.

【0021】[0021]

【作用】したがって、ブロック単位で多値符号化処理ま
たは二値符号化処理が適用されるので、文字画像と写真
画像が適切に符号化処理され、復号化後に得られる画像
の画質が良好になる。また、ブロック内の画素を予測処
理で生成できる場合には、そのブロックについては、符
号データを作成せず、復号化時に予測処理で生成するよ
うにしているので、符号化効率が大幅に向上する。ま
た、ブロック単位に適用する符号化処理を判定するとき
の条件を、適宜に設定できるので、ユーザが所望する画
質、または、処理速度を適宜に選択することができ、符
号化復号化処理の利用性が向上する。
Therefore, since multi-level coding or binary coding is applied in units of blocks, character images and photographic images are appropriately coded, and the image quality of the image obtained after decoding is improved. . Further, when the pixels in a block can be generated by the prediction processing, the block is generated by the prediction processing at the time of decoding without generating the code data, so that the coding efficiency is greatly improved. . In addition, since conditions for judging an encoding process to be applied to each block can be appropriately set, a user can appropriately select a desired image quality or a processing speed. The performance is improved.

【0022】[0022]

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

【0023】図1は、本発明の一実施例にかかるファク
シミリ装置を示している。
FIG. 1 shows a facsimile apparatus according to one embodiment of the present invention.

【0024】同図において、システム制御部1は、この
ファクシミリ装置の各部の制御処理、および、ファクシ
ミリ伝送制御手順処理を行うものであり、システムメモ
リ2は、システム制御部1が実行する制御処理プログラ
ム、および、処理プログラムを実行するときに必要な各
種データなどを記憶するとともに、システム制御部1の
ワークエリアを構成するものであり、パラメータメモリ
3は、このファクシミリ装置に固有な各種の情報を記憶
するためのものである。
In FIG. 1, a system control unit 1 performs a control process of each unit of the facsimile apparatus and a facsimile transmission control procedure process. A system memory 2 stores a control processing program executed by the system control unit 1. , And various data required when executing the processing program, and constitutes a work area of the system control unit 1. The parameter memory 3 stores various information unique to the facsimile apparatus. It is for doing.

【0025】多値スキャナ4は、所定の解像度で原稿画
像を多値に読み取るものであり、多値プロッタ5は、所
定の解像度で画像を多値で記録出力するものであり、操
作表示部6は、このファクシミリ装置を操作するための
もので、各種の操作キー、および、各種の表示器からな
る。
The multi-value scanner 4 reads a document image at a predetermined resolution in a multi-valued manner. The multi-value plotter 5 records and outputs an image at a predetermined resolution in a multi-valued manner. Is for operating the facsimile apparatus, and is composed of various operation keys and various displays.

【0026】多値符号化復号化部7は、ブロック単位に
多値画像を符号化するJPEG方式の多値画像符号化復
号化処理を適用して、多値の画信号を符号化圧縮すると
ともに、符号化圧縮されている多値画情報を元の画信号
に復号化するためのものであり、二値符号化復号化部8
は、多値の画信号を二値化処理するとともに、ブロック
単位に二値化画信号を符号化するJBIG方式の二値画
像符号化復号化処理を適用して、二値化画信号を符号化
圧縮するとともに、符号化圧縮されている二値画情報を
元の二値化画信号に復号化して、それによって得た二値
化画信号を所定の多値画信号に変換するものである。
The multi-level encoding / decoding section 7 applies a JPEG multi-level image encoding / decoding process for encoding a multi-level image in block units, and encodes and compresses the multi-level image signal. , For decoding the multi-valued image information that has been encoded and compressed into the original image signal.
Encodes a binary image signal by applying a binary image encoding / decoding process of the JBIG method that encodes the binary image signal in block units while binarizing the multivalued image signal. In addition, the binary image information that has been encoded and compressed is decoded into the original binary image signal, and the obtained binary image signal is converted into a predetermined multi-level image signal. .

【0027】画像蓄積装置9は、符号化圧縮された状態
の画情報を多数記憶するためのものであり、グループ3
ファクシミリモデム10は、グループ3ファクシミリの
モデム機能を実現するためのものであり、伝送手順信号
をやりとりするための低速モデム機能(V.21モデ
ム)、および、おもに画情報をやりとりするための高速
モデム機能(V.17モデム、V.29モデム、V.2
7terモデムなど)を備えている。
The image storage device 9 is for storing a large number of image information in a coded and compressed state.
The facsimile modem 10 implements a group 3 facsimile modem function, and has a low-speed modem function (V.21 modem) for exchanging transmission procedure signals, and a high-speed modem mainly for exchanging image information. Functions (V.17 modem, V.29 modem, V.2
7 ter modem, etc.).

【0028】網制御装置11は、このファクシミリ装置
を公衆電話回線網に接続するためのものであり、自動発
着信機能を備えている。
The network controller 11 is for connecting the facsimile apparatus to a public telephone line network and has an automatic transmission / reception function.

【0029】これらの、システム制御部1、システムメ
モリ2、パラメータメモリ3、多値スキャナ4、多値プ
ロッタ5、操作表示部6、多値符号化復号化部7、二値
符号化復号化部8、画像蓄積装置9、グループ3ファク
シミリモデム10、および、網制御装置11は、内部バ
ス12に接続されており、これらの各要素間でのデータ
のやりとりは、主としてこの内部バス12を介して行わ
れている。
The system control unit 1, the system memory 2, the parameter memory 3, the multi-value scanner 4, the multi-value plotter 5, the operation display unit 6, the multi-value coding / decoding unit 7, the binary coding / decoding unit 8, an image storage device 9, a group 3 facsimile modem 10, and a network control device 11 are connected to an internal bus 12, and data exchange between these elements is mainly performed through the internal bus 12. Is being done.

【0030】また、網制御装置11とグループ3ファク
シミリモデム10との間のデータのやりとりは、直接行
なわれている。
Data exchange between the network controller 11 and the group 3 facsimile modem 10 is directly performed.

【0031】さて、本実施例では、次のような方法によ
り、多値スキャナ4で読み取って得た多値画像データを
符号化圧縮する。
In this embodiment, multi-level image data obtained by reading with the multi-level scanner 4 is encoded and compressed by the following method.

【0032】まず、多値画像データを、図2(a)に示
したように、8×8サイズのブロックBLKに分割す
る。そして、このブロックBLKの全ての画素に対し、
同図(b)に示したようなテンプレートTPを適用し
て、処理対象となる注目画素Xの画素予測値を算出し、
その算出した画素予測値と実際の注目画素Xの画素値と
の誤差(以下、予測誤差という)を算出して、1ブロッ
ク分の予測誤差を形成する。
First, as shown in FIG. 2A, the multivalued image data is divided into 8 × 8 size blocks BLK. Then, for all the pixels of this block BLK,
By applying a template TP as shown in FIG. 3B, a pixel prediction value of the target pixel X to be processed is calculated,
An error between the calculated pixel prediction value and the actual pixel value of the target pixel X (hereinafter, referred to as a prediction error) is calculated to form a prediction error for one block.

【0033】ここで、画素予測値は、例えば、注目画素
Xの直前ラインの同一画素位置の隣接画素Aの画素値
と、注目画素Xの同一ラインの直前位置の隣接画素Bの
画素値の単純平均((A+B)/2)を算出して求め
る。また、例えば、ブロック内座標が(1,1)、
(1,2)(1,3)、(1,4)、(1,5)、
(1,6)(1,7)、(1,8)(2,1)、(3,
1)、(4,1)、(5,1)、(6,1)、(7,
1)、(8,1)の、隣接画素A,Bが存在しない注目
画素Xについては、それぞれ隣接画素A,Bの値として
仮想的な値を適用する。この仮想値としては、例えば、
多値画像データが取り得る値の中間値を用いることがで
きる。なお、このように、同一ブロック内に隣接画素
A,Bが存在しない注目画素Xの隣接画素A,Bとし
て、隣接ブロックの対応する画素の画素値を用いること
もできる。
Here, the pixel prediction value is, for example, a simple value of the pixel value of the adjacent pixel A at the same pixel position on the line immediately before the target pixel X and the pixel value of the adjacent pixel B immediately before the same line on the target line X. The average ((A + B) / 2) is calculated and obtained. Also, for example, the coordinates in the block are (1, 1),
(1,2) (1,3), (1,4), (1,5),
(1,6) (1,7), (1,8) (2,1), (3,
1), (4,1), (5,1), (6,1), (7,
For the target pixel X of 1) and (8, 1) where the adjacent pixels A and B do not exist, a virtual value is applied as the value of the adjacent pixels A and B, respectively. As this virtual value, for example,
An intermediate value of the values that can be taken by the multi-valued image data can be used. As described above, the pixel values of the corresponding pixels in the adjacent block can be used as the adjacent pixels A and B of the target pixel X in which the adjacent pixels A and B do not exist in the same block.

【0034】次に、1ブロック分の予測誤差値の平均値
DAと、最大値DMを算出し、そのブロックの予測誤差
の統計的傾向を分類し、そのブロックについて多値画像
符号化を適用するか、二値画像符号化を適用するか、あ
るいは、符号データを作成しないかを判定する。
Next, the average value DA and the maximum value DM of the prediction error values for one block are calculated, the statistical tendency of the prediction error of the block is classified, and multi-level image coding is applied to the block. It is determined whether to apply binary image coding or not to generate code data.

【0035】ここで、符号データを作成しなかったブロ
ックについては、復号化時、上述した予測演算を適用す
ることで、1ブロック分の多値画像データを作成する。
この場合、当然のことながら、復号化して得られる多値
画像データには誤差が含まれるが、その誤差が許容範囲
内であれば、そのブロックについての画質劣化が少な
く、1ページ分の画像全体としての画質劣化は問題にな
らない程度にすることができる。また、この画質劣化の
程度は、予測誤差の統計的傾向を分類するときの判断条
件の設定状態により、適宜に設定することができる。
Here, for a block for which no code data has been created, multi-valued image data for one block is created by applying the above-described prediction operation at the time of decoding.
In this case, naturally, the multi-valued image data obtained by decoding includes an error. However, if the error is within an allowable range, the image quality of the block is small and the entire image of one page is reduced. The image quality degradation as described above can be reduced to a level that does not cause a problem. Further, the degree of the image quality deterioration can be appropriately set according to the setting condition of the judgment condition when classifying the statistical tendency of the prediction error.

【0036】このようにして、符号化処理した後、おの
おののブロックBLKについて、図3(a)に示したよ
うなブロック符号データを形成する。このブロック符号
データは、1ブロック分の符号データの先頭に、そのブ
ロックの符号データの種別をあらわす2ビットのフラグ
を付加したものである。
After the encoding process, block code data as shown in FIG. 3A is formed for each block BLK. This block code data is obtained by adding a 2-bit flag indicating the type of code data of the block to the head of the code data of one block.

【0037】そして、上述した符号化処理により、符号
化処理が行われなかったブロックについては、同図
(b)に示すように、データ「00」のフラグFNのみ
がブロック符号データとして配置される。
Then, as for the block which has not been subjected to the encoding process by the above-described encoding process, only the flag FN of the data "00" is arranged as the block code data as shown in FIG. .

【0038】また、二値画像符号化処理が適用されたブ
ロックについては、同図(c)に示すように、データ
「01」のフラグFAと、そのブロックの二値符号デー
タをこの順序に配置したブロック符号データが形成され
る。
For a block to which the binary image encoding process has been applied, as shown in FIG. 9C, a flag FA of data "01" and binary code data of the block are arranged in this order. Block code data is formed.

【0039】また、多値画像符号化処理が適用されたブ
ロックについては、同図(d)に示すように、データ
「11」のフラグFBと、そのブロックの多値符号デー
タをこの順序に配置したブロック符号データが形成され
る。
For a block to which the multi-level image encoding process has been applied, as shown in FIG. 11D, a flag FB of data "11" and multi-level code data of the block are arranged in this order. Block code data is formed.

【0040】図4は、本発明の一実施例にかかる1ペー
ジ分の原稿画像の符号化時の処理例を示している。
FIG. 4 shows an example of processing at the time of encoding one page of a document image according to an embodiment of the present invention.

【0041】まず、多値スキャナ4により1ページ分の
原稿画像が読み取られ、それによって得られた多値画像
データは、例えば、システムメモリ2に形成されている
読込ページバッファなどに一時的に保存される。
First, one page of the document image is read by the multi-value scanner 4, and the multi-value image data obtained thereby is temporarily stored in, for example, a read page buffer formed in the system memory 2. Is done.

【0042】この状態で、1ブロック分の多値画像デー
タを、読込ページバッファから抽出し(処理101)、
上述した予測演算を適用して、1ブロック分の予測誤差
値を算出し(処理102,103)、その予測誤差値の
平均値DAと、最大値DMを算出する(処理104)。
In this state, one block of multivalued image data is extracted from the read page buffer (process 101).
A prediction error value for one block is calculated by applying the above-described prediction calculation (steps 102 and 103), and an average DA and a maximum value DM of the prediction error values are calculated (step 104).

【0043】そして、平均値DAが所定の閾値R1以下
になっているかどうかを調べ(判断105)、判断10
5の結果がYESになるときには、最大値DMが所定の
閾値R2以下になっているかどうかを調べる(判断10
6)。
Then, it is determined whether or not the average value DA is equal to or less than a predetermined threshold value R1 (decision 105).
When the result of Step 5 is YES, it is checked whether the maximum value DM is equal to or less than a predetermined threshold value R2 (decision 10).
6).

【0044】判断106の結果がYESになるときに
は、そのブロックの予測誤差が全体的に小さく、かつ、
そのブロックには、画像のエッジ部分のような画像部分
が含まれていない場合なので、この場合には、そのブロ
ックについて符号データを形成しないと判定する。そし
て、そのブロックの符号データとして、フラグFNを符
号バッファに保存する(処理107)。ここで、符号バ
ッファは、システムメモリ2の所定領域に形成されるバ
ッファ領域である。
If the result of decision 106 is YES, the prediction error for that block is small overall and
Since the block does not include an image portion such as an edge portion of the image, in this case, it is determined that no code data is formed for the block. Then, the flag FN is stored in the code buffer as the code data of the block (process 107). Here, the code buffer is a buffer area formed in a predetermined area of the system memory 2.

【0045】判断105の結果がNOになるとき、ある
いは、判断106の結果がNOになるときには、そのブ
ロックについて符号データを形成する。そこで、最大値
DMが所定の閾値R3(>R2)よりも大きくなってい
るかどうかを調べる(判断108)。
When the result of decision 105 is NO or when the result of decision 106 is NO, code data is formed for that block. Therefore, it is checked whether or not the maximum value DM is larger than a predetermined threshold value R3 (> R2) (decision 108).

【0046】判断108の結果がYESになるときに
は、画素の画素値変化が非常に大きくなるエッジ部分の
画像が、そのブロックに含まれている場合であり、この
場合には、そのブロックにあらわれているエッジ部分の
画像を保存できるように、二値画像符号化を適用すると
判定する。
When the result of the judgment 108 is YES, it is a case that the image of the edge portion where the pixel value change of the pixel is very large is included in the block, and in this case, the image appears in the block. It is determined that the binary image coding is applied so that the image of the existing edge portion can be saved.

【0047】すなわち、この場合、そのブロックの1ブ
ロック分の多値画像データを二値符号化復号化部8によ
って符号化圧縮し(処理109)、そのブロックの符号
データとして、フラグFAおよび二値符号化復号化部8
が形成した二値符号データを、順次符号バッファに保存
する(処理110,111)。
That is, in this case, the multivalued image data for one block of the block is encoded and compressed by the binary encoding / decoding section 8 (process 109), and the flag FA and the binary Encoding / decoding unit 8
Are sequentially stored in the code buffer (steps 110 and 111).

【0048】判断108の結果がNOになるときには、
そのブロックにはエッジ部分の画像が含まれていない場
合であり、かかる場合には、画像の再現性を向上するた
めに多値画像符号化を適用すると判定する。
When the result of decision 108 is NO,
The block does not include the image of the edge portion. In such a case, it is determined that the multi-valued image coding is applied in order to improve the reproducibility of the image.

【0049】したがって、この場合、そのブロックの1
ブロック分の多値画像データを多値符号化復号化部7に
よって符号化圧縮し(処理112)、そのブロックの符
号データとして、フラグFBおよび多値符号化復号化部
7が形成した多値符号データを、順次符号バッファに保
存する(処理113,114)。
Therefore, in this case, one of the blocks
The multi-level image data for the block is encoded and compressed by the multi-level encoding / decoding unit 7 (process 112), and the flag FB and the multi-level code generated by the multi-level encoding / decoding unit 7 are used as the code data of the block. The data is sequentially stored in the code buffer (steps 113 and 114).

【0050】このようにして、1ブロック分の符号デー
タの作成と、符号バッファへの保存を終了すると、その
ときに1ページ分の多値画像データについての処理が終
了したかどうかを調べ(判断115)、判断115の結
果がNOになるときには、処理101に戻り、残りのブ
ロックの符号化処理を実行する。
When the creation of the code data for one block and the storage in the code buffer are completed in this way, it is checked whether the processing for the multi-valued image data for one page has been completed at that time (determination). 115) When the result of the determination 115 is NO, the process returns to the process 101, and the encoding process of the remaining blocks is executed.

【0051】また、1ページ分の符号化処理を終了した
場合で、判断115の結果がYESになるときには、符
号バッファに保存した1ページ分の符号データを、その
ときに指定されている出力先に出力して(処理11
6)、この処理を終了する。なお、1ページ分の符号化
処理を終了すると、ページバッファに保存されている処
理対象ページの多値画像データは、通常、消去される。
When the encoding process for one page has been completed and the result of determination 115 is YES, the encoded data for one page stored in the code buffer is output to the output destination designated at that time. (Process 11
6), this process ends. When the encoding process for one page is completed, the multi-valued image data of the processing target page stored in the page buffer is usually deleted.

【0052】ここで、閾値R1,R2,R3の値は、そ
のときに読取処理する原稿画像に指定された画質に応じ
て、適宜な値に設定することができる。この指定は、ユ
ーザが操作表示部6を操作することでなされる。
Here, the values of the thresholds R1, R2, and R3 can be set to appropriate values according to the image quality specified for the original image to be read at that time. This designation is made by the user operating the operation display unit 6.

【0053】例えば、閾値R1は、1ブロック分の画素
の全体的な予測誤差の度合を検査するものであり、この
値を大きく設定すると、符号データが形成されないブロ
ックが増えるので、形成された符号データのデータ量は
小さくなるが、画質の劣化が大きくなる。また、閾値R
1の値を小さく設定すると、符号データが形成されない
ブロックが減少するので、画質の劣化の度合が減少し
て、画質が向上するが、符号データが形成されるブロッ
クが増えるので、符号データのデータ量が大きくなる。
For example, the threshold value R1 is for checking the degree of the overall prediction error of the pixels for one block. If this value is set to a large value, the number of blocks in which code data is not formed increases. Although the data amount of the data is small, the deterioration of the image quality is large. Also, the threshold R
When the value of 1 is set to a small value, the number of blocks in which code data is not formed is reduced, so that the degree of image quality deterioration is reduced and the image quality is improved. The amount increases.

【0054】また、閾値R2は、予測誤差が小さいが、
エッジ画像を含むようなブロックを検出するためのもの
である。したがって、この値を小さくすると、エッジ画
像を検出する割合が大きくなり、符号データを形成しな
いブロック数が減少する。逆に、この値を大きくする
と、エッジ画像を検出する割合が小さくなり、符号デー
タを形成しないブロック数が増大する。
The threshold value R2 has a small prediction error,
This is for detecting a block including an edge image. Therefore, when this value is reduced, the ratio of detecting an edge image increases, and the number of blocks in which code data is not formed decreases. Conversely, when this value is increased, the ratio of detecting an edge image decreases, and the number of blocks in which code data is not formed increases.

【0055】また、閾値R3は、符号化するブロック
に、エッジ画像を含むかどうかを判定するためのもので
ある。したがって、この値を小さくすると、エッジ画像
を検出する割合が大きくなり、文字の部分の画像の画質
を向上できる。また、この値を小さくすると、エッジ画
像を検出する割合が小さくなり、写真の部分の画像の画
質をより向上できる。
The threshold value R3 is for determining whether or not a block to be encoded includes an edge image. Therefore, when this value is reduced, the ratio of detecting the edge image increases, and the image quality of the character portion image can be improved. Further, when this value is reduced, the rate of detecting the edge image is reduced, and the image quality of the image of the photograph can be further improved.

【0056】したがって、例えば、ユーザにより、「画
質優先;写真」が指定された場合には、符号データを形
成しないブロック数を減少させ、かつ、写真画像として
判定されるブロック数を多くするため、閾値R1を小さ
く、閾値R2を小さく、閾値R3を大きくする。また、
「画質優先;文字」が指定された場合には、閾値R1を
小さく、閾値R2を小さく、閾値R3を小さくする。
Therefore, for example, when the user designates "image quality priority; photograph", the number of blocks in which code data is not formed is reduced, and the number of blocks determined as a photographic image is increased. The threshold value R1 is reduced, the threshold value R2 is reduced, and the threshold value R3 is increased. Also,
When "image quality priority; text" is specified, the threshold value R1, the threshold value R2, and the threshold value R3 are reduced.

【0057】また、「伝送時間短縮」が指定された場合
には、符号データを形成しないブロック数を増大させる
ために、閾値R1を大きく、閾値R2を大きく、閾値R
3を小さくする。なお、閾値R3を小さい値に設定する
と、より二値画像符号化されるブロック数が増大し、符
号データのデータ量を低減できる。
When "shortening of transmission time" is designated, the threshold R1 is increased, the threshold R2 is increased, and the threshold R2 is increased in order to increase the number of blocks in which code data is not formed.
Decrease 3 When the threshold value R3 is set to a small value, the number of blocks to be subjected to binary image encoding increases, and the amount of code data can be reduced.

【0058】また、符号データを形成しないブロック数
が増えるほど、1ページ分の符号化処理時間を短縮でき
るので、閾値R1,R2,R3の値を適宜に設定するこ
とで、符号化処理時間と画質との調整をとることができ
る。
Further, as the number of blocks in which code data is not formed increases, the encoding processing time for one page can be reduced. Therefore, by appropriately setting the values of the thresholds R1, R2, and R3, the encoding processing time can be reduced. Adjustment with image quality can be taken.

【0059】図5は、1ページ分の符号データを元の多
値画像データに復号化するときの処理例を示している。
FIG. 5 shows an example of processing when decoding the code data for one page into the original multi-valued image data.

【0060】まず、符号データから2ビットのフラグを
抽出(処理201)し、その内容がフラグFN(=「0
0」)であるかフラグFA(=「01」)であるかフラ
グFB(=「11」)であるかを調べる(判断202,
203)。
First, a 2-bit flag is extracted from the code data (processing 201), and the content of the flag is represented by a flag FN (= “0”).
0 ”), flag FA (=“ 01 ”), or flag FB (=“ 11 ”) (determination 202,
203).

【0061】抽出したフラグがフラグFNの場合で、判
断202の結果がYESになるときには、上述した予測
演算を1ブロック分の全ての画素について適用し、それ
によって形成した1ブロック分の予測画素値を、そのと
きのブロックのブロックアドレスに対応したページバッ
ファのブロック領域に保存する(処理204,20
5)。ここで、ページバッファは、1ページ分の多値画
像データを一時的に保存するためのものであり、システ
ムメモリ2に形成される。また、ブロックアドレスと
は、おのおののブロックが配置される領域を示すための
アドレスデータである。
When the extracted flag is the flag FN and the result of the judgment 202 is YES, the above-described prediction operation is applied to all the pixels of one block, and the predicted pixel value of one block formed thereby is obtained. Is stored in the block area of the page buffer corresponding to the block address of the current block (steps 204 and 20).
5). Here, the page buffer is for temporarily storing multi-valued image data for one page, and is formed in the system memory 2. The block address is address data for indicating an area where each block is arranged.

【0062】抽出したフラグがフラグFAの場合で、判
断203の結果がYESになるときには、1ビットの符
号データを抽出して、その符号データを二値符号化復号
化部8に転送して二値画像復号化処理を実行させ(処理
206)、それにより、二値符号化復号化部8から出力
される復号データ(多値画像データ)を、ブロックバッ
ファの対応する画素アドレス領域に保存する(処理20
7)。ここで、ブロックバッファは、1ブロック分の多
値画像データを保存するためのものであり、システムメ
モリ2に形成される。
When the extracted flag is the flag FA and the result of determination 203 is YES, 1-bit code data is extracted, and the code data is transferred to the binary coding / decoding section 8 and A value image decoding process is executed (process 206), whereby the decoded data (multi-valued image data) output from the binary coding / decoding unit 8 is stored in the corresponding pixel address area of the block buffer (step 206). Processing 20
7). Here, the block buffer is for storing multi-valued image data for one block, and is formed in the system memory 2.

【0063】このようにして、符号データの1ビットに
ついての復号化処理を終了すると、そのときに、ブロッ
クバッファに1ブロック分の多値画像データがそろった
かどうかを調べ(判断208)、判断208の結果がN
Oになるときには、処理206に戻り、次の符号データ
の復号化処理を実行する。
As described above, when the decoding process for one bit of the code data is completed, it is checked whether or not one block of multi-valued image data is ready in the block buffer (decision 208). Is N
When it becomes O, the process returns to the process 206 to execute the decoding process of the next code data.

【0064】1ブロック分の多値画像データがそろった
場合で、判断208の結果がYESになると、そのとき
のブロックバッファの内容を、そのときのブロックに対
応したページバッファのアドレス空間の領域に保存する
(処理209)。
When the multi-valued image data for one block has been prepared and the result of determination 208 is YES, the contents of the block buffer at that time are stored in the address space area of the page buffer corresponding to the block at that time. It is stored (process 209).

【0065】抽出したフラグがフラグFBの場合で、判
断203の結果がNOになるときには、1ビットの符号
データを抽出して、その符号データを多値符号化復号化
部7に転送して多値画像復号化処理を実行させ(処理2
10)、それにより、多値符号化復号化部7から出力さ
れる復号データ(多値画像データ)を、ブロックバッフ
ァの対応する画素アドレス領域に保存する(処理21
1)。
When the extracted flag is the flag FB and the result of determination 203 is NO, 1-bit code data is extracted, and the code data is transferred to the multi-level encoding / decoding unit 7 to Value image decoding processing (processing 2
10) As a result, the decoded data (multi-level image data) output from the multi-level encoding / decoding unit 7 is stored in the corresponding pixel address area of the block buffer (process 21).
1).

【0066】このようにして、符号データの1ビットに
ついての復号化処理を終了すると、そのときに、ブロッ
クバッファに1ブロック分の多値画像データがそろった
かどうかを調べ(判断212)、判断212の結果がN
Oになるときには、処理210に戻り、次の符号データ
の復号化処理を実行する。
As described above, when the decoding process for one bit of the code data is completed, it is checked whether or not one block of multi-valued image data is ready in the block buffer (decision 212). Is N
When it becomes O, the process returns to the process 210 to execute the decoding process of the next code data.

【0067】1ブロック分の多値画像データがそろった
場合で、判断212の結果がYESになると、そのとき
のブロックバッファの内容を、そのときのブロックに対
応したページバッファのアドレス空間の領域に保存する
(処理213)。
When the multi-valued image data for one block has been prepared and the result of determination 212 is YES, the contents of the block buffer at that time are stored in the address space area of the page buffer corresponding to the block at that time. It is stored (process 213).

【0068】このようにして、1ブロック分の復号化処
理を終了すると、その時点で、ページバッファに1ペー
ジ分の多値画像データが保存されているかどうかを調べ
て(判断214)、判断214の結果がNOになるとき
には、処理201に戻り、次のブロックの復号化処理を
実行する。
When the decoding process for one block is completed in this way, it is checked whether or not one page of multi-valued image data is stored in the page buffer at that time (decision 214). If the result is NO, the process returns to step 201 to execute the decoding process for the next block.

【0069】また、1ページ分の復号化処理を終了した
場合で、判断214の結果がYESになるときには、そ
のときのページバッファに保存されている1ページ分の
多値画像データを、そのときに指定されている出力先に
転送して(処理215)、1ページ分の画像復号化処理
を終了する。
When the decoding process for one page has been completed and the result of determination 214 is YES, the multi-valued image data for one page stored in the page buffer at that time is (Step 215), and the image decoding process for one page is completed.

【0070】このようにして、本実施例では、ブロック
単位に、そのブロックに適用する符号化方式を判定する
とともに、画質劣化の問題がない場合には、符号データ
を形成しないようにしているから、符号データのデータ
量を大幅に低減することができる。
As described above, in the present embodiment, the coding method applied to the block is determined for each block, and the code data is not formed when there is no problem of the image quality deterioration. , The amount of code data can be significantly reduced.

【0071】また、画質の設定は、閾値R1,R2,R
3の値を適宜に調整することで、ある程度変動させるこ
とができるので、ユーザが要求する画質と、符号化効率
との兼合いを、適切に釣り合わせることができる。この
画質と閾値R1,R2,R3との関係は、あらかじめ実
験により決定しておき、ユーザの画質の選択肢に応じた
値を設定するようにすることが好ましい。
The image quality is set by using threshold values R1, R2, R
By appropriately adjusting the value of 3, the value can be changed to some extent, so that the balance between the image quality required by the user and the coding efficiency can be appropriately balanced. It is preferable that the relationship between the image quality and the threshold values R1, R2, and R3 is determined in advance by an experiment, and a value corresponding to the user's image quality options is set.

【0072】図6は、本発明の他の実施例にかかる1ペ
ージ分の画像符号化時の処理例を示している。なお、こ
の場合にも、上述した実施例と同様に、あらかじめ多値
スキャナ4により1ページ分の原稿画像が読み取られ、
それによって得られた多値画像データは、例えば、シス
テムメモリ2に形成されている読込ページバッファなど
に一時的に保存されている。
FIG. 6 shows an example of processing for encoding an image of one page according to another embodiment of the present invention. Also in this case, similarly to the above-described embodiment, one page of the document image is read in advance by the multi-valued scanner 4, and
The multi-valued image data obtained thereby is temporarily stored in, for example, a read page buffer formed in the system memory 2.

【0073】この状態で、1ブロック分の多値画像デー
タを、読込ページバッファから抽出し(処理301)、
上述した予測演算を適用して、1ブロック分の予測誤差
値を算出し(処理302,303)、その予測誤差値の
平均値DAと、最大値DMを算出する(処理304)。
In this state, one block of multi-valued image data is extracted from the read page buffer (process 301).
A prediction error value for one block is calculated by applying the above-described prediction calculation (steps 302 and 303), and an average DA and a maximum value DM of the prediction error values are calculated (step 304).

【0074】そして、平均値DAが所定の閾値R1以下
になっているかどうかを調べ(判断305)、判断30
5の結果がYESになるときには、そのブロックの予測
誤差が全体的に小さい場合なので、この場合には、その
ブロックについて符号データを形成しないと判定する。
そして、そのブロックの符号データとして、フラグFN
を符号バッファに保存する(処理306)。
Then, it is checked whether or not the average value DA is equal to or less than a predetermined threshold value R1 (decision 305).
When the result of 5 is YES, the prediction error of the block is small as a whole, and in this case, it is determined that no code data is formed for the block.
Then, the flag FN is used as the code data of the block.
Is stored in the code buffer (process 306).

【0075】判断305の結果がNOになるときには、
そのブロックについて符号データを形成する。そこで、
最大値DMが所定の閾値R2よりも大きくなっているか
どうかを調べる(判断307)。
If the result of decision 305 is NO,
Code data is formed for the block. Therefore,
It is checked whether the maximum value DM is larger than a predetermined threshold value R2 (decision 307).

【0076】判断307の結果がYESになるときに
は、画素の画素値変化が非常に大きくなるエッジ部分の
画像が、そのブロックに含まれている場合であり、この
場合には、そのブロックにあらわれているエッジ部分の
画像を保存できるように、二値画像符号化を適用すると
判定する。
If the result of determination 307 is YES, it means that the image of the edge portion where the pixel value change of the pixel is very large is included in the block, and in this case, the image appears in the block. It is determined that the binary image coding is applied so that the image of the edge portion that exists can be stored.

【0077】すなわち、この場合、そのブロックの1ブ
ロック分の多値画像データを二値符号化復号化部8によ
って符号化圧縮し(処理308)、そのブロックの符号
データとして、フラグFAおよび二値符号化復号化部8
が形成した二値符号データを、順次符号バッファに保存
する(処理309,310)。
That is, in this case, the multivalued image data for one block of the block is encoded and compressed by the binary encoding / decoding section 8 (process 308), and the flag FA and the binary Encoding / decoding unit 8
Are sequentially stored in the code buffer (steps 309 and 310).

【0078】判断307の結果がNOになるときには、
そのブロックにはエッジ部分の画像が含まれていない場
合であり、かかる場合には、画像の再現性を向上するた
めに多値画像符号化を適用すると判定する。
If the result of decision 307 is NO,
The block does not include the image of the edge portion. In such a case, it is determined that the multi-valued image coding is applied in order to improve the reproducibility of the image.

【0079】したがって、この場合、そのブロックの1
ブロック分の多値画像データを多値符号化復号化部7に
よって符号化圧縮し(処理311)、そのブロックの符
号データとして、フラグFBおよび多値符号化復号化部
7が形成した多値符号データを、順次符号バッファに保
存する(処理312,313)。
Therefore, in this case, one of the blocks
The multi-level image data for the block is encoded and compressed by the multi-level encoding / decoding unit 7 (process 311), and the flag FB and the multi-level code formed by the multi-level encoding / decoding unit 7 are used as the code data of the block. The data is sequentially stored in the code buffer (processes 312 and 313).

【0080】このようにして、1ブロック分の符号デー
タの作成と、符号バッファへの保存を終了すると、その
ときに1ページ分の多値画像データについての処理が終
了したかどうかを調べ(判断314)、判断314の結
果がNOになるときには、処理301に戻り、残りのブ
ロックの符号化処理を実行する。
When the creation of the code data for one block and the storage in the code buffer are completed in this way, it is checked whether the processing for the multi-valued image data for one page has been completed at that time (determination). 314) When the result of the determination 314 is NO, the process returns to the process 301 to execute the encoding process of the remaining blocks.

【0081】また、1ページ分の符号化処理を終了した
場合で、判断314の結果がYESになるときには、符
号バッファに保存した1ページ分の符号データを、その
ときに指定されている出力先に出力して(処理31
5)、この処理を終了する。なお、1ページ分の符号化
処理を終了すると、ページバッファに保存されている処
理対象ページの多値画像データは、通常、消去される。
When the encoding process for one page is completed and the result of determination 314 is YES, the encoded data for one page stored in the code buffer is output to the output destination designated at that time. Output to (process 31
5), this process ends. When the encoding process for one page is completed, the multi-valued image data of the processing target page stored in the page buffer is usually deleted.

【0082】この場合には、閾値R1のみを用いて、ブ
ロックの符号データを形成するか否かを判定している。
この場合でも、上述と同様の効果が得られる。ただし、
この場合には、ブロック全体の予測誤差が小さく、か
つ、エッジ画像が含まれるようなブロックについても符
号化処理が行われないので、その分、文字部分の画質が
悪くなるというおそれがある。
In this case, it is determined whether or not to form the code data of the block using only the threshold value R1.
In this case, the same effect as described above can be obtained. However,
In this case, since the prediction error of the entire block is small and the encoding process is not performed on the block including the edge image, the image quality of the character portion may be deteriorated accordingly.

【0083】ところで、上述した実施例では、多値画像
データを直接符号化処理しているが、画像の内容によっ
ては、予測誤差の値を符号化処理した方が、符号化効率
が向上する場合がある。
In the above embodiment, the multi-valued image data is directly encoded. However, depending on the contents of the image, encoding the prediction error value improves the encoding efficiency. There is.

【0084】図7は、予測誤差値を符号化する場合の1
ページ分の符号化処理の一例を示している。なお、この
場合も、上述した実施例と同様に、あらかじめ多値スキ
ャナ4により1ページ分の原稿画像が読み取られ、それ
によって得られた多値画像データは、例えば、システム
メモリ2に形成されている読込ページバッファなどに一
時的に保存されている。
FIG. 7 shows a case where a prediction error value is encoded.
An example of encoding processing for a page is shown. Also in this case, similarly to the above-described embodiment, the multi-valued scanner 4 reads a document image for one page in advance, and the multi-valued image data obtained thereby is formed in the system memory 2, for example. Is temporarily stored in the read page buffer.

【0085】この状態で、1ブロック分の多値画像デー
タを、読込ページバッファから抽出し(処理401)、
上述した予測演算を適用して、1ブロック分の予測誤差
値を算出し(処理402,403)、その予測誤差値の
平均値DAと、最大値DMを算出する(処理404)。
In this state, one block of multi-valued image data is extracted from the read page buffer (process 401).
By applying the above-described prediction calculation, a prediction error value for one block is calculated (processes 402 and 403), and an average DA and a maximum value DM of the prediction error values are calculated (process 404).

【0086】そして、平均値DAが所定の閾値R1以下
になっているかどうかを調べ(判断405)、判断40
5の結果がYESになるときには、最大値DMが所定の
閾値R2以下になっているかどうかを調べる(判断40
6)。
Then, it is determined whether or not the average value DA is equal to or smaller than a predetermined threshold value R1 (decision 405).
If the result of Step 5 is YES, it is checked whether or not the maximum value DM is equal to or less than a predetermined threshold value R2 (decision 40).
6).

【0087】判断406の結果がYESになるときに
は、そのブロックの予測誤差が全体的に小さく、かつ、
そのブロックには、画像のエッジ部分のような画像部分
が含まれていない場合なので、この場合には、そのブロ
ックについて符号データを形成しないと判定する。そし
て、そのブロックの符号データとして、フラグFNを符
号バッファに保存する(処理407)。ここで、符号バ
ッファは、システムメモリ2の所定領域に形成されるバ
ッファ領域である。
If the result of decision 406 is YES, the prediction error for that block is small overall and
Since the block does not include an image portion such as an edge portion of the image, in this case, it is determined that no code data is formed for the block. Then, the flag FN is stored in the code buffer as the code data of the block (process 407). Here, the code buffer is a buffer area formed in a predetermined area of the system memory 2.

【0088】判断405の結果がNOになるとき、ある
いは、判断406の結果がNOになるときには、そのブ
ロックについて符号データを形成する。そこで、最大値
DMが所定の閾値R3(>R2)よりも大きくなってい
るかどうかを調べる(判断408)。
When the result of decision 405 is NO, or when the result of decision 406 is NO, code data is formed for that block. Then, it is checked whether or not the maximum value DM is larger than a predetermined threshold value R3 (> R2) (decision 408).

【0089】判断408の結果がYESになるときに
は、画素の画素値変化が非常に大きくなるエッジ部分の
画像が、そのブロックに含まれている場合であり、この
場合には、そのブロックにあらわれているエッジ部分の
画像を保存できるように、二値画像符号化を適用すると
判定する。
If the result of decision 408 is YES, it means that the image of the edge portion where the pixel value change of the pixel is very large is included in the block, and in this case, the image appears in the block. It is determined that the binary image coding is applied so that the image of the existing edge portion can be saved.

【0090】すなわち、この場合、そのブロックの1ブ
ロック分の予測誤差値を二値符号化復号化部8によって
符号化圧縮し(処理409)、そのブロックの符号デー
タとして、フラグFAおよび二値符号化復号化部8が形
成した二値符号データを、順次符号バッファに保存する
(処理410,411)。
That is, in this case, the prediction error value for one block of the block is coded and compressed by the binary coding / decoding section 8 (processing 409), and the flag FA and the binary code The binary code data formed by the decoding / decoding unit 8 is sequentially stored in a code buffer (steps 410 and 411).

【0091】判断408の結果がNOになるときには、
そのブロックにはエッジ部分の画像が含まれていない場
合であり、かかる場合には、画像の再現性を向上するた
めに多値画像符号化を適用すると判定する。
When the result of decision 408 is NO,
The block does not include the image of the edge portion. In such a case, it is determined that the multi-valued image coding is applied in order to improve the reproducibility of the image.

【0092】したがって、この場合、そのブロックの1
ブロック分の予測誤差値を多値符号化復号化部7によっ
て符号化圧縮し(処理412)、そのブロックの符号デ
ータとして、フラグFBおよび多値符号化復号化部7が
形成した多値符号データを、順次符号バッファに保存す
る(処理413,414)。
Therefore, in this case, one of the blocks
The prediction error value for the block is encoded and compressed by the multi-level encoding / decoding section 7 (processing 412), and the flag FB and the multi-level code data formed by the multi-level encoding / decoding section 7 are used as the code data of the block. Are sequentially stored in the code buffer (processes 413 and 414).

【0093】このようにして、1ブロック分の符号デー
タの作成と、符号バッファへの保存を終了すると、その
ときに1ページ分の多値画像データについての処理が終
了したかどうかを調べ(判断415)、判断415の結
果がNOになるときには、処理401に戻り、残りのブ
ロックの符号化処理を実行する。
When the creation of the code data for one block and the storage in the code buffer are completed in this way, it is checked whether or not the processing for the multi-valued image data for one page has been completed at that time (determination). 415) When the result of the determination 415 is NO, the process returns to the process 401 to execute the encoding process of the remaining blocks.

【0094】また、1ページ分の符号化処理を終了した
場合で、判断415の結果がYESになるときには、符
号バッファに保存した1ページ分の符号データを、その
ときに指定されている出力先に出力して(処理41
6)、この処理を終了する。なお、1ページ分の符号化
処理を終了すると、ページバッファに保存されている処
理対象ページの多値画像データは、通常、消去される。
When the encoding process for one page is completed and the result of determination 415 is YES, the encoded data for one page stored in the code buffer is output to the output destination designated at that time. (Process 41)
6), this process ends. When the encoding process for one page is completed, the multi-valued image data of the processing target page stored in the page buffer is usually deleted.

【0095】図8は、このようにして形成された1ペー
ジ分の符号データを復号化するときの処理の一例を示し
ている。
FIG. 8 shows an example of a process for decoding the code data for one page formed in this way.

【0096】まず、符号データから2ビットのフラグを
抽出(処理501)し、その内容がフラグFN(=「0
0」)であるかフラグFA(=「01」)であるかフラ
グFB(=「11」)であるかを調べる(判断502,
503)。
First, a 2-bit flag is extracted from the code data (process 501), and the content of the flag is determined by the flag FN (= “0”).
0 "), flag FA (=" 01 "), or flag FB (=" 11 ") (determination 502,
503).

【0097】抽出したフラグがフラグFNの場合で、判
断502の結果がYESになるときには、上述した予測
演算を1ブロック分の全ての画素について適用し、それ
によって形成した1ブロック分の予測画素値を、そのと
きのブロックのブロックアドレスに対応したページバッ
ファのブロック領域に保存する(処理504,50
5)。ここで、ページバッファは、1ページ分の多値画
像データを一時的に保存するためのものであり、システ
ムメモリ2に形成される。また、ブロックアドレスと
は、おのおののブロックが配置される領域を示すための
アドレスデータである。
When the extracted flag is the flag FN and the result of the decision 502 is YES, the above-described prediction operation is applied to all the pixels of one block, and the predicted pixel value of one block formed thereby is obtained. Is stored in the block area of the page buffer corresponding to the block address of the block at that time (processes 504 and 50).
5). Here, the page buffer is for temporarily storing multi-valued image data for one page, and is formed in the system memory 2. The block address is address data for indicating an area where each block is arranged.

【0098】抽出したフラグがフラグFAの場合で、判
断503の結果がYESになるときには、1ビットの符
号データを抽出して、その符号データを二値符号化復号
化部8に転送して二値画像復号化処理を実行させ(処理
506)、それにより、二値符号化復号化部8から出力
される復号データ(予測誤差値(多値画像データ))
を、ブロックバッファの対応する画素アドレス領域に保
存する(処理507)。ここで、ブロックバッファは、
1ブロック分の多値画像データを保存するためのもので
あり、システムメモリ2に形成される。
If the extracted flag is the flag FA and the result of decision 503 is YES, 1-bit code data is extracted, and the code data is transferred to the binary coding / decoding section 8 and A value image decoding process is executed (process 506), whereby the decoded data (prediction error value (multi-valued image data)) output from the binary coding / decoding unit 8
Is stored in the corresponding pixel address area of the block buffer (process 507). Here, the block buffer is
This is for storing one block of multivalued image data, and is formed in the system memory 2.

【0099】このようにして、符号データの1ビットに
ついての復号化処理を終了すると、そのときに、ブロッ
クバッファに1ブロック分の予測誤差値がそろったかど
うかを調べ(判断508)、判断508の結果がNOに
なるときには、処理506に戻り、次のビットの符号デ
ータの復号化処理を実行する。
When the decoding process for one bit of the code data is completed in this way, it is checked whether or not the prediction error values for one block are completed in the block buffer at this time (decision 508). When the result is NO, the process returns to the process 506 to execute the decoding process of the code data of the next bit.

【0100】1ブロック分の多値画像データがそろった
場合で、判断508の結果がYESになると、上述した
予測演算をブロックバッファに保存されている1ブロッ
ク分の全ての画素について適用して、1ブロック分の予
測画素値を算出し(処理509)、その形成した予測画
素値とブロックバッファに保存されている予測誤差を合
成して、1ブロック分の多値画像データを形成し、その
多値画像データの内容でブロックバッファの内容を書換
える(処理510)。そして、そのブロックバッファの
内容を、そのときのブロックに対応したページバッファ
のアドレス空間の領域に保存する(処理511)。
When one block of multi-valued image data has been prepared and the result of decision 508 is YES, the above-described prediction operation is applied to all pixels of one block stored in the block buffer, and A predicted pixel value for one block is calculated (step 509), and the formed predicted pixel value is combined with a prediction error stored in a block buffer to form multi-valued image data for one block. The contents of the block buffer are rewritten with the contents of the value image data (process 510). Then, the contents of the block buffer are stored in the address space area of the page buffer corresponding to the block at that time (process 511).

【0101】抽出したフラグがフラグFBの場合で、判
断503の結果がNOになるときには、1ビットの符号
データを抽出して、その符号データを多値符号化復号化
部7に転送して多値画像復号化処理を実行させ(処理5
12)、それにより、多値符号化復号化部7から出力さ
れる復号データ(予測誤差値)を、ブロックバッファの
対応する画素アドレス領域に保存する(処理513)。
If the extracted flag is the flag FB and the result of determination 503 is NO, 1-bit code data is extracted and the Value image decoding processing (processing 5
12) Thus, the decoded data (prediction error value) output from the multi-level encoding / decoding unit 7 is stored in the corresponding pixel address area of the block buffer (process 513).

【0102】このようにして、符号データの1ビットに
ついての復号化処理を終了すると、そのときに、ブロッ
クバッファに1ブロック分の予測誤差値がそろったかど
うかを調べ(判断514)、判断514の結果がNOに
なるときには、処理512に戻り、次の符号データの復
号化処理を実行する。
When the decoding process for one bit of the code data is completed in this way, at this time, it is checked whether or not the prediction error values for one block are complete in the block buffer (decision 514). When the result is NO, the process returns to the process 512 to execute the decoding process of the next code data.

【0103】1ブロック分の多値画像データがそろった
場合で、判断514の結果がYESになると、上述した
予測演算をブロックバッファに保存されている1ブロッ
ク分の全ての画素について適用して、1ブロック分の予
測画素値を算出し(処理515)、その形成した予測画
素値とブロックバッファに保存されている予測誤差を合
成して、1ブロック分の多値画像データを形成し、その
多値画像データの内容でブロックバッファの内容を書換
える(処理516)。そして、そのブロックバッファの
内容を、そのときのブロックに対応したページバッファ
のアドレス空間の領域に保存する(処理517)。
When the multi-valued image data for one block has been prepared and the result of decision 514 is YES, the above-described prediction operation is applied to all the pixels for one block stored in the block buffer. A predicted pixel value for one block is calculated (step 515), and the formed predicted pixel value and the prediction error stored in the block buffer are combined to form multi-valued image data for one block. The contents of the block buffer are rewritten with the contents of the value image data (process 516). Then, the contents of the block buffer are stored in the address space area of the page buffer corresponding to the block at that time (process 517).

【0104】このようにして、1ブロック分の復号化処
理を終了すると、その時点で、ページバッファに1ペー
ジ分の多値画像データが保存されているかどうかを調べ
て(判断518)、判断518の結果がNOになるとき
には、処理501に戻り、次のブロックの復号化処理を
実行する。
As described above, when the decoding process for one block is completed, it is checked whether or not one page of multi-valued image data is stored in the page buffer at that time (decision 518). If the result is NO, the process returns to step 501 to execute the decoding process for the next block.

【0105】ところで、上述した実施例では、おのおの
のブロックの符号データの最後には、ブロックの終了を
あらわす符号を付加していないが、このようなブロック
終了をあらわす符号を付加してもよい。その場合、この
ブロック終了符号を参照して、1ブロック分の符号デー
タの終了を判定できるので、1ブロック分の復号化終了
判定処理をより簡単にすることができる。
In the above-described embodiment, a code indicating the end of the block is not added to the end of the code data of each block, but a code indicating the end of the block may be added. In this case, the end of one block of code data can be determined with reference to the block end code, so that the decoding end determination process for one block can be further simplified.

【0106】ただし、上述した実施例のJPEG方式や
JBIG方式のように、元々がブロック毎に区切った画
像単位に画像符号化するような符号化方式では、符号デ
ータの終端部にブロックの終了をあらわす符号が付加さ
れていたり、あるいは、符号データの先端部に1ブロッ
ク分の符号データ長さを表示するような符号が付加され
ていることがあるので、それらの符号を参照して1ブロ
ック分の符号データの区切りを判別することができる。
However, in an encoding system such as the JPEG system or JBIG system of the above-described embodiment, in which an image is originally encoded in image units divided into blocks, the end of the block is added to the end of the code data. In some cases, a code representing the code data is added or a code indicating the length of the code data of one block is added to the leading end of the code data. Can be determined.

【0107】また、上述した実施例では、多値画像符号
化方式としてJPEG方式を適用し、二値画像符号化方
式としてJBIG方式を適用した場合を説明したが、そ
れ以外の符号化方式を用いることもできる。例えば、二
値画像符号化方式としては、MH符号化方式、MR符号
化方式、あるいは、MMR符号化方式を用いることがで
きる。
In the above-described embodiment, the case where the JPEG system is applied as the multi-valued image coding system and the JBIG system is applied as the binary image coding system has been described. However, other coding systems are used. You can also. For example, as the binary image coding method, an MH coding method, an MR coding method, or an MMR coding method can be used.

【0108】また、上述した実施例では、本発明をファ
クシミリ装置について適用したが、本発明は、それ以外
の装置についても同様にして適用することができる。
In the above-described embodiment, the present invention is applied to a facsimile apparatus. However, the present invention can be applied to other apparatuses in the same manner.

【0109】[0109]

【発明の効果】以上説明したように、本発明によれば、
ブロック単位で多値符号化処理または二値符号化処理が
適用されるので、文字画像と写真画像が適切に符号化処
理され、復号化後に得られる画像の画質が良好になると
いう効果を得る。
As described above, according to the present invention,
Since the multi-level encoding process or the binary encoding process is applied for each block, the character image and the photographic image are appropriately encoded, and the image quality obtained after decoding is improved.

【0110】また、ブロック内の画素を予測処理で生成
できる場合には、そのブロックについては、符号データ
を作成せず、復号化時に予測処理で生成するようにして
いるので、符号化効率が大幅に向上するという効果も得
る。
When the pixels in a block can be generated by the prediction process, the block is generated by the prediction process at the time of decoding without generating the code data. It also has the effect of improving.

【0111】また、ブロック単位に適用する符号化処理
を判定するときの条件を、適宜に設定できるので、ユー
ザが所望する画質、または、処理速度を適宜に選択する
ことができ、符号化復号化処理の利用性が向上するとい
う効果も得る。
Further, since conditions for determining the encoding process to be applied to each block can be appropriately set, the user can appropriately select the desired image quality or processing speed, and The effect that the usability of the processing is improved is also obtained.

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

【図1】本発明の一実施例にかかるファクシミリ装置を
示したブロック図。
FIG. 1 is a block diagram showing a facsimile apparatus according to one embodiment of the present invention.

【図2】符号化処理の概略を説明するための概略図。FIG. 2 is a schematic diagram for explaining an outline of an encoding process.

【図3】符号データの信号形式の一例を示した概略図。FIG. 3 is a schematic diagram showing an example of a signal format of code data.

【図4】本発明の一実施例にかかる1ページ分の画像の
符号化処理の一例を示したフローチャート。
FIG. 4 is a flowchart showing an example of encoding processing of an image for one page according to an embodiment of the present invention.

【図5】本発明の一実施例にかかる1ページ分の復号化
処理の一例を示したフローチャート。
FIG. 5 is a flowchart illustrating an example of a decoding process for one page according to an embodiment of the present invention.

【図6】本発明の他の実施例にかかる1ページ分の画像
の符号化処理を示したフローチャート。
FIG. 6 is a flowchart showing an image encoding process for one page according to another embodiment of the present invention.

【図7】本発明のさらに他の実施例にかかる1ページ分
の画像の符号化処理を示したフローチャート。
FIG. 7 is a flowchart showing encoding processing of an image for one page according to still another embodiment of the present invention.

【図8】本発明のさらに他の実施例にかかる1ページ分
の復号化処理を示したフローチャート。
FIG. 8 is a flowchart showing a decoding process for one page according to still another embodiment of the present invention.

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

1 システム制御部 2 システムメモリ 7 多値符号化復号化部 8 二値符号化復号化部 REFERENCE SIGNS LIST 1 system control unit 2 system memory 7 multi-level encoding / decoding unit 8 binary encoding / decoding unit

Claims (16)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 多値画像データを所定形状のブロック単
位に符号化する画像符号化復号化方法において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出し、その予測誤
差について所定の統計処理を適用し、その統計処理結果
に基づいてそのブロックについて二値符号化処理を適用
するか、多値符号化処理を適用するか、あるいは、符号
化処理を適用しないかを判定し、二値符号化処理を適用
すると判定した場合には、そのブロックの各画素につい
て所定の二値符号化処理を適用してそれによって得た二
値符号データとその符号データが二値符号データである
ことを識別する第1の識別符号をそのブロックの符号デ
ータとして出力し、多値符号化処理を適用すると判定し
た場合には、そのブロックの各画素について所定の多値
符号化処理を適用してそれによって得た多値符号データ
とその符号データが多値符号データであることを識別す
る第2の識別符号をそのブロックの符号データとして出
力し、符号化処理を適用しないと判定した場合には、そ
のブロックについて符号化処理を適用していない旨をあ
らわす第3の識別符号をそのブロックの符号データとし
て出力する一方、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して元の画像データを形成し、符号データに
上記第2の識別符号が含まれているときには、そのブロ
ックについて所定の多値復号化処理を適用して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
ことを特徴とする画像符号化復号化方法。
1. An image coding / decoding method for coding multi-valued image data in units of a block having a predetermined shape, wherein, at the time of coding, each block is related to a target pixel to be coded and adjacent to the target pixel. A prediction process of calculating the predicted pixel value of the target pixel based on the pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Apply predetermined statistical processing, and determine whether to apply binary coding processing, multi-level coding processing, or no coding processing for the block based on the statistical processing result. If it is determined that the binary coding process is to be applied, binary code data obtained by applying a predetermined binary coding process to each pixel of the block and its code A first identification code for identifying that the data is binary code data is output as code data of the block, and when it is determined that the multi-level encoding process is to be applied, a predetermined value is determined for each pixel of the block. Applying multi-level coding processing to output multi-level code data obtained by the multi-level coding processing and a second identification code for identifying the code data as multi-level code data as code data of the block; If it is determined that the block is not applied, a third identification code indicating that the coding process has not been applied to the block is output as the code data of the block, while, at the time of decoding, the first data is added to the code data at the time of decoding. When the block includes the identification code, the original image data is formed by applying a predetermined binary decoding process to the block, and the code data includes the second identification code. If it is, the predetermined image is applied to the block to form the original image data, and if the code data includes the third identification code, the prediction process is executed. An image encoding / decoding method characterized by forming image data in the block based on the prediction result.
【請求項2】 多値画像データを所定形状のブロック単
位に符号化する画像符号化復号化方法において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出し、その予測誤
差の平均値と最大値を算出し、所定の閾値に基づいてそ
の算出した平均値と最大値を分類し、その分類結果に基
づいて、そのブロックについて二値符号化処理を適用す
るか、多値符号化処理を適用するか、あるいは、符号化
処理を適用しないかを判定し、二値符号化処理を適用す
ると判定した場合には、そのブロックの各画素について
所定の二値符号化処理を適用してそれによって得た二値
符号データとその符号データが二値符号データであるこ
とを識別する第1の識別符号をそのブロックの符号デー
タとして出力し、多値符号化処理を適用すると判定した
場合には、そのブロックの各画素について所定の多値符
号化処理を適用してそれによって得た多値符号データと
その符号データが多値符号データであることを識別する
第2の識別符号をそのブロックの符号データとして出力
し、符号化処理を適用しないと判定した場合には、その
ブロックについて符号化処理を適用していない旨をあら
わす第3の識別符号をそのブロックの符号データとして
出力する一方、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して元の画像データを形成し、符号データに
上記第2の識別符号が含まれているときには、そのブロ
ックについて所定の多値復号化処理を適用して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
ことを特徴とする画像符号化復号化方法。
2. An image coding / decoding method for coding multi-valued image data in units of a block having a predetermined shape, wherein at the time of coding, a target pixel to be coded is adjacent to the target pixel for encoding for each block. A prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Calculate the average value and the maximum value, classify the calculated average value and the maximum value based on a predetermined threshold, and apply a binary coding process to the block based on the classification result, It is determined whether to apply the encoding process or not to apply the encoding process, and when it is determined to apply the binary encoding process, a predetermined binary encoding process is performed for each pixel of the block. The binary code data obtained thereby and the first identification code for identifying that the code data is binary code data are output as the code data of the block, and it is determined that the multi-level coding process is applied. In this case, the multi-level code data obtained by applying a predetermined multi-level coding process to each pixel of the block and a second identification code for identifying that the code data is multi-level code data Is output as the code data of the block, and when it is determined that the coding process is not applied, a third identification code indicating that the coding process is not applied to the block is output as the code data of the block. On the other hand, at the time of decoding, when the first identification code is included in the code data, a predetermined binary decoding process is applied to the block to obtain the original image data. When the second identification code is included in the code data, a predetermined multi-level decoding process is applied to the block to form original image data, and the third data is added to the code data. An image encoding / decoding method, characterized in that when the identification code is included, the prediction processing is performed, and image data in the block is formed based on the prediction result.
【請求項3】 多値画像データを所定形状のブロック単
位に符号化する画像符号化復号化方法において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出し、その予測誤
差の平均値と最大値を算出し、所定の閾値に基づいてそ
の算出した平均値と最大値を分類し、その分類結果に基
づいて、そのブロックについて二値符号化処理を適用す
るか、多値符号化処理を適用するか、あるいは、符号化
処理を適用しないかを判定し、二値符号化処理を適用す
ると判定した場合には、そのブロックの各画素について
所定の二値符号化処理を適用してそれによって得た二値
符号データとその符号データが二値符号データであるこ
とを識別する第1の識別符号をそのブロックの符号デー
タとして出力し、多値符号化処理を適用すると判定した
場合には、そのブロックの各画素について所定の多値符
号化処理を適用してそれによって得た多値符号データと
その符号データが多値符号データであることを識別する
第2の識別符号をそのブロックの符号データとして出力
し、符号化処理を適用しないと判定した場合には、その
ブロックについて符号化処理を適用していない旨をあら
わす第3の識別符号をそのブロックの符号データとして
出力する一方、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して元の画像データを形成し、符号データに
上記第2の識別符号が含まれているときには、そのブロ
ックについて所定の多値復号化処理を適用して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
とともに、 上記所定の閾値を外部から変更可能にしたことを特徴と
する画像符号化復号化方法。
3. An image encoding / decoding method for encoding multi-valued image data in block units of a predetermined shape, wherein at encoding, for each block, a pixel of interest to be encoded is adjacent to the pixel of interest. A prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Calculate the average value and the maximum value, classify the calculated average value and the maximum value based on a predetermined threshold, and apply a binary coding process to the block based on the classification result, or perform multi-level coding. It is determined whether to apply the encoding process or not to apply the encoding process, and when it is determined to apply the binary encoding process, a predetermined binary encoding process is performed for each pixel of the block. The binary code data obtained thereby and the first identification code for identifying that the code data is binary code data are output as the code data of the block, and it is determined that the multi-level coding process is applied. In this case, the multi-level code data obtained by applying a predetermined multi-level coding process to each pixel of the block and a second identification code for identifying that the code data is multi-level code data Is output as the code data of the block, and when it is determined that the coding process is not applied, a third identification code indicating that the coding process is not applied to the block is output as the code data of the block. On the other hand, at the time of decoding, when the first identification code is included in the code data, a predetermined binary decoding process is applied to the block to obtain the original image data. When the second identification code is included in the code data, a predetermined multi-level decoding process is applied to the block to form original image data, and the third data is added to the code data. When the identification code is included, the image processing device executes the prediction process, forms image data in the block based on the prediction result, and enables the predetermined threshold value to be changed from outside. Encoding / decoding method.
【請求項4】 多値画像データを所定形状のブロック単
位に符号化する画像符号化復号化方法において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出し、その予測誤
差について所定の統計処理を適用し、その統計処理結果
に基づいてそのブロックについて二値符号化処理を適用
するか、多値符号化処理を適用するか、あるいは、符号
化処理を適用しないかを判定し、二値符号化処理を適用
すると判定した場合には、そのブロックの各画素の上記
予測誤差について所定の二値符号化処理を適用してそれ
によって得た二値符号データとその符号データが二値符
号データであることを識別する第1の識別符号をそのブ
ロックの符号データとして出力し、多値符号化処理を適
用すると判定した場合には、そのブロックの各画素の予
測誤差について所定の多値符号化処理を適用してそれに
よって得た多値符号データとその符号データが多値符号
データであることを識別する第2の識別符号をそのブロ
ックの符号データとして出力し、符号化処理を適用しな
いと判定した場合には、そのブロックについて符号化処
理を適用していない旨をあらわす第3の識別符号をその
ブロックの符号データとして出力する一方、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して予測誤差を形成するとともに、そのブロ
ックについて上記予測処理を適用して予測値を算出し、
その算出した予測誤差と予測値を合成して元の画像デー
タを形成し、符号データに上記第2の識別符号が含まれ
ているときには、そのブロックについて所定の多値復号
化処理を適用して予測誤差を形成するとともに、そのブ
ロックについて上記予測処理を適用して予測値を算出
し、その算出した予測誤差と予測値を合成して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
ことを特徴とする画像符号化復号化方法。
4. An image coding / decoding method for coding multi-valued image data in units of a block having a predetermined shape, wherein at the time of coding, for each block, a target pixel to be coded is adjacent to the target pixel. A prediction process of calculating the predicted pixel value of the target pixel based on the pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Apply predetermined statistical processing, and determine whether to apply binary coding processing, multi-level coding processing, or no coding processing for the block based on the statistical processing result. If it is determined that the binary coding process is to be applied, a predetermined binary coding process is applied to the prediction error of each pixel of the block to obtain a binary code data. And outputs a first identification code for identifying that the code data is binary code data as the code data of the block, and when it is determined that the multi-level coding process is applied, each pixel of the block is output. A predetermined multi-level encoding process is applied to the prediction error of the multi-level code data obtained as a result and a second identification code for identifying that the code data is multi-level code data is used as code data of the block. Output, and when it is determined that the encoding process is not applied, a third identification code indicating that the encoding process is not applied to the block is output as the code data of the block. When the code data includes the first identification code, a predetermined binary decoding process is applied to the block to form a prediction error, and By applying the prediction process to calculate a predicted value for the click,
The calculated prediction error and prediction value are combined to form original image data. When the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block. A prediction error is formed, a prediction value is calculated by applying the above-described prediction processing to the block, the calculated prediction error and the prediction value are combined to form original image data, and the third image is added to the code data. An image encoding / decoding method, characterized in that when the identification code is included, the prediction processing is performed, and image data in the block is formed based on the prediction result.
【請求項5】 多値画像データを所定形状のブロック単
位に符号化する画像符号化復号化方法において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出し、その予測誤
差の平均値と最大値を算出し、所定の閾値に基づいてそ
の算出した平均値と最大値を分類し、その分類結果に基
づいて、そのブロックについて二値符号化処理を適用す
るか、多値符号化処理を適用するか、あるいは、符号化
処理を適用しないかを判定し、二値符号化処理を適用す
ると判定した場合には、そのブロックの各画素の上記予
測誤差について所定の二値符号化処理を適用してそれに
よって得た二値符号データとその符号データが二値符号
データであることを識別する第1の識別符号をそのブロ
ックの符号データとして出力し、多値符号化処理を適用
すると判定した場合には、そのブロックの各画素の上記
予測誤差について所定の多値符号化処理を適用してそれ
によって得た多値符号データとその符号データが多値符
号データであることを識別する第2の識別符号をそのブ
ロックの符号データとして出力し、符号化処理を適用し
ないと判定した場合には、そのブロックについて符号化
処理を適用していない旨をあらわす第3の識別符号をそ
のブロックの符号データとして出力する一方、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して予測誤差を形成するとともに、そのブロ
ックについて上記予測処理を適用して予測値を算出し、
その算出した予測誤差と予測値を合成して元の画像デー
タを形成し、符号データに上記第2の識別符号が含まれ
ているときには、そのブロックについて所定の多値復号
化処理を適用して予測誤差を形成するとともに、そのブ
ロックについて上記予測処理を適用して予測値を算出
し、その算出した予測誤差と予測値を合成して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
ことを特徴とする画像符号化復号化方法。
5. An image coding / decoding method for coding multi-valued image data in block units having a predetermined shape, wherein at the time of coding, for each block, a target pixel to be coded is adjacent to the target pixel. A prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Calculate the average value and the maximum value, classify the calculated average value and the maximum value based on a predetermined threshold, and apply a binary coding process to the block based on the classification result, or perform multi-level coding. It is determined whether to apply the encoding process or not to apply the encoding process. If it is determined that the binary encoding process is to be applied, the prediction error of each pixel of the block is determined by a predetermined value. Applying a coding process, outputting binary code data obtained by the coding process and a first identification code for identifying that the code data is binary code data, as code data of the block; If it is determined that is applied, multi-level code data obtained by applying a predetermined multi-level coding process to the prediction error of each pixel of the block and the code data are multi-level code data Is output as the code data of the block, and when it is determined that the encoding process is not applied, the third identification code indicating that the encoding process is not applied to the block Is output as the code data of the block. On the other hand, at the time of decoding, when the first identification code is included in the code data, a predetermined binary decoding is performed on the block. To form the prediction error by applying a process to calculate a predicted value by applying the prediction process for the block,
The calculated prediction error and prediction value are combined to form original image data. When the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block. A prediction error is formed, a prediction value is calculated by applying the above-described prediction processing to the block, the calculated prediction error and the prediction value are combined to form original image data, and the third image is added to the code data. An image encoding / decoding method, characterized in that when the identification code is included, the prediction processing is performed, and image data in the block is formed based on the prediction result.
【請求項6】 多値画像データを所定形状のブロック単
位に符号化する画像符号化復号化方法において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出し、その予測誤
差の平均値と最大値を算出し、所定の閾値に基づいてそ
の算出した平均値と最大値を分類し、その分類結果に基
づいて、そのブロックについて二値符号化処理を適用す
るか、多値符号化処理を適用するか、あるいは、符号化
処理を適用しないかを判定し、二値符号化処理を適用す
ると判定した場合には、そのブロックの各画素の上記予
測誤差について所定の二値符号化処理を適用してそれに
よって得た二値符号データとその符号データが二値符号
データであることを識別する第1の識別符号をそのブロ
ックの符号データとして出力し、多値符号化処理を適用
すると判定した場合には、そのブロックの各画素の上記
予測誤差について所定の多値符号化処理を適用してそれ
によって得た多値符号データとその符号データが多値符
号データであることを識別する第2の識別符号をそのブ
ロックの符号データとして出力し、符号化処理を適用し
ないと判定した場合には、そのブロックについて符号化
処理を適用していない旨をあらわす第3の識別符号をそ
のブロックの符号データとして出力する一方、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して予測誤差を形成するとともに、そのブロ
ックについて上記予測処理を適用して予測値を算出し、
その算出した予測誤差と予測値を合成して元の画像デー
タを形成し、符号データに上記第2の識別符号が含まれ
ているときには、そのブロックについて所定の多値復号
化処理を適用して予測誤差を形成するとともに、そのブ
ロックについて上記予測処理を適用して予測値を算出
し、その算出した予測誤差と予測値を合成して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
とともに、 上記所定の閾値を外部から変更可能にしたことを特徴と
する画像符号化復号化方法。
6. An image coding / decoding method for coding multi-valued image data in block units having a predetermined shape, wherein each block includes a target pixel to be coded adjacent to the target pixel at the time of coding. A prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels is applied, and a prediction error between the pixel value of the target pixel and the predicted pixel value is calculated. Calculate the average value and the maximum value, classify the calculated average value and the maximum value based on a predetermined threshold, and apply a binary coding process to the block based on the classification result, or perform multi-level coding. It is determined whether to apply the encoding process or not to apply the encoding process. If it is determined that the binary encoding process is to be applied, the prediction error of each pixel of the block is determined by a predetermined value. Applying a coding process, outputting binary code data obtained by the coding process and a first identification code for identifying that the code data is binary code data, as code data of the block; If it is determined that is applied, multi-level code data obtained by applying a predetermined multi-level coding process to the prediction error of each pixel of the block and the code data are multi-level code data Is output as the code data of the block, and when it is determined that the encoding process is not applied, the third identification code indicating that the encoding process is not applied to the block Is output as the code data of the block. On the other hand, at the time of decoding, when the first identification code is included in the code data, a predetermined binary decoding is performed on the block. To form the prediction error by applying a process to calculate a predicted value by applying the prediction process for the block,
The calculated prediction error and prediction value are combined to form original image data. When the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block. A prediction error is formed, a prediction value is calculated by applying the above-described prediction processing to the block, and the calculated prediction error and the prediction value are combined to form original image data. When the identification code is included, the image processing device executes the prediction process, forms image data in the block based on the prediction result, and enables the predetermined threshold value to be changed from outside. Encoding / decoding method.
【請求項7】 前記予測処理は、前記注目画素に対応す
る隣接画素が存在しないときには、所定画素値をもつ仮
想的な画素を隣接画素として採用することを特徴とする
請求項1または請求項2または請求項3または請求項4
または請求項5または請求項6記載の画像符号化復号化
方法。
7. The prediction process according to claim 1, wherein when there is no adjacent pixel corresponding to the target pixel, a virtual pixel having a predetermined pixel value is adopted as an adjacent pixel. Or claim 3 or claim 4
7. The image encoding / decoding method according to claim 5 or claim 6.
【請求項8】 前記二値復号化処理を適用して元の画像
データを形成するとき、その二値復号化処理で得た二値
画像データを、所定の多値画像データに変換することを
特徴とする請求項1または請求項2または請求項3記載
の画像符号化復号化方法。
8. When applying the binary decoding process to form original image data, converting the binary image data obtained by the binary decoding process into predetermined multi-valued image data. 4. The image encoding / decoding method according to claim 1, wherein the image encoding / decoding method is performed.
【請求項9】 多値画像データを所定形状のブロック単
位に符号化する画像符号化復号化装置において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理手段と、 上記注目画素の画素値と上記予測画素値との予測誤差を
算出し、その予測誤差について所定の統計処理を適用
し、その統計処理結果に基づいてそのブロックについて
二値符号化処理を適用するか、多値符号化処理を適用す
るか、あるいは、符号化処理を適用しないかを判定する
判定手段と、 上記判定手段が二値符号化処理を適用すると判定した場
合には、そのブロックの各画素について所定の二値符号
化処理を適用してそれによって得た二値符号データとそ
の符号データが二値符号データであることを識別する第
1の識別符号をそのブロックの符号データとして出力
し、多値符号化処理を適用すると判定した場合には、そ
のブロックの各画素について所定の多値符号化処理を適
用してそれによって得た多値符号データとその符号デー
タが多値符号データであることを識別する第2の識別符
号をそのブロックの符号データとして出力し、符号化処
理を適用しないと判定した場合には、そのブロックにつ
いて符号化処理を適用していない旨をあらわす第3の識
別符号をそのブロックの符号データとして出力する画像
符号化手段と、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して元の画像データを形成し、符号データに
上記第2の識別符号が含まれているときには、そのブロ
ックについて所定の多値復号化処理を適用して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
画像復号化手段を備えたことを特徴とする画像符号化復
号化装置。
9. An image coding / decoding apparatus for coding multi-valued image data in block units having a predetermined shape, wherein each block is associated with a target pixel to be coded and adjacent to the target pixel at the time of coding. Prediction processing means for calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels; calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; A determination unit that applies statistical processing and determines whether to apply binary coding processing, multi-level coding processing, or no coding processing to the block based on the result of the statistical processing. When the determination means determines that the binary coding process is to be applied, the predetermined binary coding process is applied to each pixel of the block, and the binary code data obtained thereby is obtained. Data and the first identification code for identifying that the code data is binary code data are output as the code data of the block, and when it is determined that the multi-level coding process is to be applied, each of the blocks of the block is output. A predetermined multi-level coding process is applied to the pixel, and multi-level code data obtained thereby and a second identification code for identifying that the code data is multi-level code data are output as code data of the block. If it is determined that the encoding process is not applied, an image encoding unit that outputs a third identification code indicating that the encoding process is not applied to the block as code data of the block, When the first identification code is included in the code data, the original image data is formed by applying a predetermined binary decoding process to the block, and the code data is generated. When the second identification code is included in the data, the original image data is formed by applying a predetermined multi-level decoding process to the block, and the code data includes the third identification code. An image encoding / decoding apparatus comprising: an image decoding unit that executes the above-described prediction processing and forms image data in the block based on the prediction result.
【請求項10】 多値画像データを所定形状のブロック
単位に符号化する画像符号化復号化装置において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出する予測処理手
段と、 その予測誤差の平均値と最大値を算出し、所定の閾値に
基づいてその算出した平均値と最大値を分類し、その分
類結果に基づいて、そのブロックについて二値符号化処
理を適用するか、多値符号化処理を適用するか、あるい
は、符号化処理を適用しないかを判定する判定手段と、 二値符号化処理を適用すると判定した場合には、そのブ
ロックの各画素について所定の二値符号化処理を適用し
てそれによって得た二値符号データとその符号データが
二値符号データであることを識別する第1の識別符号を
そのブロックの符号データとして出力し、多値符号化処
理を適用すると判定した場合には、そのブロックの各画
素について所定の多値符号化処理を適用してそれによっ
て得た多値符号データとその符号データが多値符号デー
タであることを識別する第2の識別符号をそのブロック
の符号データとして出力し、符号化処理を適用しないと
判定した場合には、そのブロックについて符号化処理を
適用していない旨をあらわす第3の識別符号をそのブロ
ックの符号データとして出力する画像符号化手段と、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して元の画像データを形成し、符号データに
上記第2の識別符号が含まれているときには、そのブロ
ックについて所定の多値復号化処理を適用して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
画像復号化手段を備えたことを特徴とする画像符号化復
号化装置。
10. An image encoding / decoding apparatus which encodes multi-valued image data in block units having a predetermined shape, wherein at the time of encoding, for each block, a target pixel to be encoded is adjacent to the target pixel. Prediction processing means for applying a prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels, and calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; Calculate the average value and the maximum value of the prediction error, classify the calculated average value and the maximum value based on a predetermined threshold, and determine whether to apply the binary coding process to the block based on the classification result. A determination means for determining whether to apply the multi-level encoding process or not to apply the encoding process, and, if it is determined to apply the binary encoding process, each pixel of the block. Applying a predetermined binary encoding process for the binary code data obtained thereby and a first identification code identifying that the code data is binary code data are output as code data of the block, If it is determined that the multi-level coding process is applied, the multi-level code data obtained by applying the predetermined multi-level coding process to each pixel of the block and the code data are multi-level code data. Is output as the code data of the block, and when it is determined that the encoding process is not applied, the third identification code indicating that the encoding process is not applied to the block is output. An image encoding means for outputting a code as code data of the block; and, when decoding, when the first identification code is included in the code data, the image coding means outputs the code. To form the original image data by applying a predetermined binary decoding process, and when the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block. Image decoding means for forming the original image data, executing the prediction processing when the code data includes the third identification code, and forming the image data in the block based on the prediction result An image encoding / decoding device comprising:
【請求項11】 多値画像データを所定形状のブロック
単位に符号化する画像符号化復号化装置において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出する予測処理手
段と、 その予測誤差の平均値と最大値を算出し、所定の閾値に
基づいてその算出した平均値と最大値を分類し、その分
類結果に基づいて、そのブロックについて二値符号化処
理を適用するか、多値符号化処理を適用するか、あるい
は、符号化処理を適用しないかを判定する判定手段と、 二値符号化処理を適用すると判定した場合には、そのブ
ロックの各画素について所定の二値符号化処理を適用し
てそれによって得た二値符号データとその符号データが
二値符号データであることを識別する第1の識別符号を
そのブロックの符号データとして出力し、多値符号化処
理を適用すると判定した場合には、そのブロックの各画
素について所定の多値符号化処理を適用してそれによっ
て得た多値符号データとその符号データが多値符号デー
タであることを識別する第2の識別符号をそのブロック
の符号データとして出力し、符号化処理を適用しないと
判定した場合には、そのブロックについて符号化処理を
適用していない旨をあらわす第3の識別符号をそのブロ
ックの符号データとして出力する画像符号化手段と、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して元の画像データを形成し、符号データに
上記第2の識別符号が含まれているときには、そのブロ
ックについて所定の多値復号化処理を適用して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
画像復号化手段を備え、 上記判定手段が適用する所定の閾値を外部から変更可能
にしたことを特徴とする画像符号化復号化装置。
11. An image coding / decoding apparatus for coding multi-valued image data in block units of a predetermined shape, wherein each block is associated with a target pixel to be coded and adjacent to the target pixel at the time of coding. Prediction processing means for applying a prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels, and calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; Calculate the average value and the maximum value of the prediction error, classify the calculated average value and the maximum value based on a predetermined threshold, and determine whether to apply the binary coding process to the block based on the classification result. A determination means for determining whether to apply the multi-level encoding process or not to apply the encoding process, and, if it is determined to apply the binary encoding process, each pixel of the block. Applying a predetermined binary encoding process for the binary code data obtained thereby and a first identification code identifying that the code data is binary code data are output as code data of the block, If it is determined that the multi-level coding process is applied, the multi-level code data obtained by applying the predetermined multi-level coding process to each pixel of the block and the code data are multi-level code data. Is output as the code data of the block, and when it is determined that the encoding process is not applied, the third identification code indicating that the encoding process is not applied to the block is output. An image encoding means for outputting a code as code data of the block; and, when decoding, when the first identification code is included in the code data, the image coding means outputs the code. To form original image data by applying a predetermined binary decoding process, and when the code data includes the second identification code, applying a predetermined multi-level decoding process to the block. Image decoding means for forming the original image data, and when the code data contains the third identification code, executing the prediction processing and forming the image data in the block based on the prediction result An image encoding / decoding apparatus, characterized in that a predetermined threshold value applied by the determination means can be changed from outside.
【請求項12】 多値画像データを所定形状のブロック
単位に符号化する画像符号化復号化装置において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出する予測処理手
段と、 その予測誤差について所定の統計処理を適用し、その統
計処理結果に基づいてそのブロックについて二値符号化
処理を適用するか、多値符号化処理を適用するか、ある
いは、符号化処理を適用しないかを判定する判定手段
と、 二値符号化処理を適用すると判定した場合には、そのブ
ロックの各画素の上記予測誤差について所定の二値符号
化処理を適用してそれによって得た二値符号データとそ
の符号データが二値符号データであることを識別する第
1の識別符号をそのブロックの符号データとして出力
し、多値符号化処理を適用すると判定した場合には、そ
のブロックの各画素の予測誤差について所定の多値符号
化処理を適用してそれによって得た多値符号データとそ
の符号データが多値符号データであることを識別する第
2の識別符号をそのブロックの符号データとして出力
し、符号化処理を適用しないと判定した場合には、その
ブロックについて符号化処理を適用していない旨をあら
わす第3の識別符号をそのブロックの符号データとして
出力する画像符号化手段と、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して予測誤差を形成するとともに、そのブロ
ックについて上記予測処理を適用して予測値を算出し、
その算出した予測誤差と予測値を合成して元の画像デー
タを形成し、符号データに上記第2の識別符号が含まれ
ているときには、そのブロックについて所定の多値復号
化処理を適用して予測誤差を形成するとともに、そのブ
ロックについて上記予測処理を適用して予測値を算出
し、その算出した予測誤差と予測値を合成して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
画像復号化手段を備えたことを特徴とする画像符号化復
号化装置。
12. An image encoding / decoding apparatus which encodes multi-valued image data in a block unit having a predetermined shape, wherein at the time of encoding, for each block, a target pixel to be encoded is adjacent to the target pixel. Prediction processing means for applying a prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels, and calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; A predetermined statistical process is applied to the prediction error, and based on the result of the statistical process, a binary coding process is applied to the block, a multi-level coding process is applied, or no coding process is applied. Determining means for determining whether or not to apply a binary coding process, and applying a predetermined binary coding process to the prediction error of each pixel of the block when determining that the binary coding process is to be applied; Then, the obtained binary code data and the first identification code for identifying the code data as binary code data are output as the code data of the block, and it is determined that the multi-level coding process is applied. In this case, the second multi-level code data is obtained by applying a predetermined multi-level coding process to the prediction error of each pixel of the block and identifying that the multi-level code data is multi-level code data. The identification code is output as the code data of the block, and if it is determined that the coding process is not applied, a third identification code indicating that the coding process is not applied to the block is code data of the block. Image decoding means for outputting as the above, and when decoding, when the first identification code is included in the code data, a predetermined binary decoding process is performed on the block. Apply to form a prediction error, calculate the predicted value by applying the above prediction process for the block,
The calculated prediction error and prediction value are combined to form original image data. When the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block. A prediction error is formed, a prediction value is calculated by applying the above-described prediction processing to the block, the calculated prediction error and the prediction value are combined to form original image data, and the third image is added to the code data. An image encoding / decoding apparatus comprising: an image decoding unit that executes the prediction processing when an identification code is included and forms image data in the block based on the prediction result.
【請求項13】 多値画像データを所定形状のブロック
単位に符号化する画像符号化復号化装置において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出する予測処理手
段と、 その予測誤差の平均値と最大値を算出し、所定の閾値に
基づいてその算出した平均値と最大値を分類し、その分
類結果に基づいて、そのブロックについて二値符号化処
理を適用するか、多値符号化処理を適用するか、あるい
は、符号化処理を適用しないかを判定する判定手段と、 二値符号化処理を適用すると判定した場合には、そのブ
ロックの各画素の上記予測誤差について所定の二値符号
化処理を適用してそれによって得た二値符号データとそ
の符号データが二値符号データであることを識別する第
1の識別符号をそのブロックの符号データとして出力
し、多値符号化処理を適用すると判定した場合には、そ
のブロックの各画素の上記予測誤差について所定の多値
符号化処理を適用してそれによって得た多値符号データ
とその符号データが多値符号データであることを識別す
る第2の識別符号をそのブロックの符号データとして出
力し、符号化処理を適用しないと判定した場合には、そ
のブロックについて符号化処理を適用していない旨をあ
らわす第3の識別符号をそのブロックの符号データとし
て出力する画像符号化手段と、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して予測誤差を形成するとともに、そのブロ
ックについて上記予測処理を適用して予測値を算出し、
その算出した予測誤差と予測値を合成して元の画像デー
タを形成し、符号データに上記第2の識別符号が含まれ
ているときには、そのブロックについて所定の多値復号
化処理を適用して予測誤差を形成するとともに、そのブ
ロックについて上記予測処理を適用して予測値を算出
し、その算出した予測誤差と予測値を合成して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
画像復号化手段を備えたことを特徴とする画像符号化復
号化装置。
13. An image encoding / decoding apparatus which encodes multi-valued image data in block units of a predetermined shape, wherein at the time of encoding, for each block, a target pixel to be encoded is adjacent to the target pixel. Prediction processing means for applying a prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels, and calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; Calculate the average value and the maximum value of the prediction error, classify the calculated average value and the maximum value based on a predetermined threshold, and determine whether to apply the binary coding process to the block based on the classification result. A determination means for determining whether to apply the multi-level encoding process or not to apply the encoding process, and, if it is determined to apply the binary encoding process, each pixel of the block. The binary code data obtained by applying a predetermined binary coding process to the above prediction error and a first identification code for identifying that the code data is binary code data are represented by code data of the block. And if it is determined that the multi-level coding process is to be applied, multi-level code data obtained by applying a predetermined multi-level coding process to the prediction error of each pixel of the block and its code A second identification code for identifying that the data is multi-level code data is output as the code data of the block, and when it is determined that the coding process is not applied, the coding process is applied to the block. Image encoding means for outputting a third identification code indicating that there is no data as the code data of the block, and the first identification code is included in the code data upon decoding. Sometimes, a prediction error is formed by applying a predetermined binary decoding process to the block, and a prediction value is calculated by applying the prediction process to the block,
The calculated prediction error and prediction value are combined to form original image data. When the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block. A prediction error is formed, a prediction value is calculated by applying the above-described prediction processing to the block, the calculated prediction error and the prediction value are combined to form original image data, and the third image is added to the code data. An image encoding / decoding apparatus comprising: an image decoding unit that executes the prediction processing when an identification code is included and forms image data in the block based on the prediction result.
【請求項14】 多値画像データを所定形状のブロック
単位に符号化する画像符号化復号化装置において、 符号化時、おのおののブロックについて、符号化対象の
注目画素に関し、その注目画素に隣接する複数の周囲画
素の画素値に基づいて上記注目画素の予測画素値を演算
する予測処理を適用するとともに、上記注目画素の画素
値と上記予測画素値との予測誤差を算出する予測処理手
段と、 その予測誤差の平均値と最大値を算出し、所定の閾値に
基づいてその算出した平均値と最大値を分類し、その分
類結果に基づいて、そのブロックについて二値符号化処
理を適用するか、多値符号化処理を適用するか、あるい
は、符号化処理を適用しないかを判定する判定手段と、 二値符号化処理を適用すると判定した場合には、そのブ
ロックの各画素の上記予測誤差について所定の二値符号
化処理を適用してそれによって得た二値符号データとそ
の符号データが二値符号データであることを識別する第
1の識別符号をそのブロックの符号データとして出力
し、多値符号化処理を適用すると判定した場合には、そ
のブロックの各画素の上記予測誤差について所定の多値
符号化処理を適用してそれによって得た多値符号データ
とその符号データが多値符号データであることを識別す
る第2の識別符号をそのブロックの符号データとして出
力し、符号化処理を適用しないと判定した場合には、そ
のブロックについて符号化処理を適用していない旨をあ
らわす第3の識別符号をそのブロックの符号データとし
て出力する画像符号化手段と、 復号化時、符号データに上記第1の識別符号が含まれて
いるときには、そのブロックについて所定の二値復号化
処理を適用して予測誤差を形成するとともに、そのブロ
ックについて上記予測処理を適用して予測値を算出し、
その算出した予測誤差と予測値を合成して元の画像デー
タを形成し、符号データに上記第2の識別符号が含まれ
ているときには、そのブロックについて所定の多値復号
化処理を適用して予測誤差を形成するとともに、そのブ
ロックについて上記予測処理を適用して予測値を算出
し、その算出した予測誤差と予測値を合成して元の画像
データを形成し、符号データに上記第3の識別符号が含
まれているときには、上記予測処理を実行し、その予測
結果に基づいてそのブロック内の画像データを形成する
画像復号化手段を備え、 上記判定手段が適用する上記所定の閾値を外部から変更
可能にしたことを特徴とする画像符号化復号化装置。
14. An image coding / decoding apparatus for coding multi-valued image data in units of a block having a predetermined shape, wherein at the time of coding, for each block, a target pixel to be coded is adjacent to the target pixel. Prediction processing means for applying a prediction process of calculating a predicted pixel value of the target pixel based on pixel values of a plurality of surrounding pixels, and calculating a prediction error between the pixel value of the target pixel and the predicted pixel value; Calculate the average value and the maximum value of the prediction error, classify the calculated average value and the maximum value based on a predetermined threshold, and determine whether to apply the binary coding process to the block based on the classification result. A determination means for determining whether to apply the multi-level encoding process or not to apply the encoding process, and, if it is determined to apply the binary encoding process, each pixel of the block. The binary code data obtained by applying a predetermined binary coding process to the above prediction error and a first identification code for identifying that the code data is binary code data are represented by code data of the block. And if it is determined that the multi-level coding process is to be applied, multi-level code data obtained by applying a predetermined multi-level coding process to the prediction error of each pixel of the block and its code A second identification code for identifying that the data is multi-level code data is output as the code data of the block, and when it is determined that the coding process is not applied, the coding process is applied to the block. Image encoding means for outputting a third identification code indicating that there is no data as the code data of the block, and the first identification code is included in the code data upon decoding. Sometimes, a prediction error is formed by applying a predetermined binary decoding process to the block, and a prediction value is calculated by applying the prediction process to the block,
The calculated prediction error and prediction value are combined to form original image data. When the code data includes the second identification code, a predetermined multi-level decoding process is applied to the block. A prediction error is formed, a prediction value is calculated by applying the above-described prediction processing to the block, the calculated prediction error and the prediction value are combined to form original image data, and the third image is added to the code data. When the identification code is included, the image processing apparatus includes image decoding means for executing the prediction processing and forming image data in the block based on the prediction result. An image encoding / decoding device characterized in that the image encoding / decoding device can be changed from the above.
【請求項15】 前記予測処理は、前記注目画素に対応
する隣接画素が存在しないときには、所定画素値をもつ
仮想的な画素を隣接画素として採用することを特徴とす
る請求項9または請求項10または請求項11または請
求項12または請求項13または請求項14記載の画像
符号化復号化装置。
15. The prediction process according to claim 9, wherein when there is no adjacent pixel corresponding to the target pixel, a virtual pixel having a predetermined pixel value is adopted as an adjacent pixel. An image encoding / decoding apparatus according to claim 11, claim 12, claim 13, or claim 14.
【請求項16】 前記二値復号化処理を適用して元の画
像データを形成するとき、その二値復号化処理で得た二
値画像データを、所定の多値画像データに変換すること
を特徴とする請求項9または請求項10または請求項1
1記載の画像符号化復号化装置。
16. When forming the original image data by applying the binary decoding process, converting the binary image data obtained by the binary decoding process into predetermined multi-valued image data. Claim 9 or Claim 10 or Claim 1
2. The image encoding / decoding device according to 1.
JP15822294A 1994-06-17 1994-06-17 Image encoding / decoding method and image encoding / decoding device Expired - Fee Related JP3281183B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15822294A JP3281183B2 (en) 1994-06-17 1994-06-17 Image encoding / decoding method and image encoding / decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15822294A JP3281183B2 (en) 1994-06-17 1994-06-17 Image encoding / decoding method and image encoding / decoding device

Publications (2)

Publication Number Publication Date
JPH089167A JPH089167A (en) 1996-01-12
JP3281183B2 true JP3281183B2 (en) 2002-05-13

Family

ID=15666959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15822294A Expired - Fee Related JP3281183B2 (en) 1994-06-17 1994-06-17 Image encoding / decoding method and image encoding / decoding device

Country Status (1)

Country Link
JP (1) JP3281183B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636641B1 (en) 1996-03-19 2003-10-21 Mitsubishi Denki Kabushiki Kaisha Encoding apparatus, decoding apparatus, encoding method and decoding method
US6744925B2 (en) 1996-03-19 2004-06-01 Mitsubishi Denki Kabushiki Kaisha Encoding apparatus, decoding apparatus, encoding method, and decoding method
CN100413311C (en) * 2005-09-16 2008-08-20 光宝科技股份有限公司 Method for raising image printing quality utilizing undistorted compression technology and system thereof
JP5029560B2 (en) 2008-10-01 2012-09-19 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus, compression method and decompression method

Also Published As

Publication number Publication date
JPH089167A (en) 1996-01-12

Similar Documents

Publication Publication Date Title
US8660347B2 (en) Image processing apparatus and processing method therefor
JP5132517B2 (en) Image processing apparatus and image processing method
US5442459A (en) Process for encoding a half tone image considering similarity between blocks
JP3281183B2 (en) Image encoding / decoding method and image encoding / decoding device
JPH07264417A (en) Image coding method
US6577768B1 (en) Coding method, code converting method, code converting apparatus, and image forming apparatus
JP2003046789A (en) Image coding apparatus and image decoding apparatus
JP3361201B2 (en) Image encoding apparatus, image encoding / decoding apparatus, and image encoding / decoding method
JP3265100B2 (en) Facsimile machine
JP2003153008A (en) Image coding device and image decoding device
JP3563838B2 (en) Image encoding / decoding device
US20010015825A1 (en) Method and apparatus for encoding image data in conformity with joint bi-level image group system
JP3295507B2 (en) Binary image encoding / decoding method
JPH11289461A (en) Image coding method and image coder
JP3263212B2 (en) Image transmission method, image recording method, image transmission device, and image recording device
JPH08317220A (en) Encoding and decoding device and method for mixed image of different value bit maps
JP4719924B2 (en) Image processing apparatus and image processing method
JP3864681B2 (en) Image data encoding apparatus, image data encoding method, recording medium, and image forming apparatus
JP3736107B2 (en) Image processing device
JPH1141472A (en) Image data processor
JPH09252408A (en) Decoder for multi-gradation image
JPH07143348A (en) Image coding method
JP4526069B2 (en) Image information arithmetic coding apparatus and image information arithmetic decoding apparatus
JPH0832812A (en) Image processing unit and its method
JP3295502B2 (en) Facsimile apparatus control method and facsimile apparatus

Legal Events

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

Free format text: PAYMENT UNTIL: 20080222

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090222

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100222

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110222

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees