Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2796766B2 - High Efficiency Coding Method of Binary Image Mixed Natural Image - Google Patents
[go: Go Back, main page]

JP2796766B2 - High Efficiency Coding Method of Binary Image Mixed Natural Image - Google Patents

High Efficiency Coding Method of Binary Image Mixed Natural Image

Info

Publication number
JP2796766B2
JP2796766B2 JP20050092A JP20050092A JP2796766B2 JP 2796766 B2 JP2796766 B2 JP 2796766B2 JP 20050092 A JP20050092 A JP 20050092A JP 20050092 A JP20050092 A JP 20050092A JP 2796766 B2 JP2796766 B2 JP 2796766B2
Authority
JP
Japan
Prior art keywords
image
pixel
binary
output
natural
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 - Lifetime
Application number
JP20050092A
Other languages
Japanese (ja)
Other versions
JPH0622150A (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.)
KDDI Corp
Original Assignee
Kokusai Denshin Denwa KK
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 Kokusai Denshin Denwa KK filed Critical Kokusai Denshin Denwa KK
Priority to JP20050092A priority Critical patent/JP2796766B2/en
Priority to US07/983,670 priority patent/US5345317A/en
Priority to DE4242796A priority patent/DE4242796C2/en
Publication of JPH0622150A publication Critical patent/JPH0622150A/en
Application granted granted Critical
Publication of JP2796766B2 publication Critical patent/JP2796766B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、白黒階調画像またはカ
ラー画像の如き2値画像混在静止自然画像の高能率符号
化方に関するものである。
The present invention relates to relates to a high efficiency coding how-described binary image mix still natural image monochrome grayscale or color images.

【0002】[0002]

【従来の技術】従来より、カラー静止画像を対象とした
種々の符号化方式が提案されているが、中でも、CCI
TT SG VIIIとIEC/JTC1/SC29が
共同で検討を進めているJPEG方式、JBIG方式と
呼ばれる2つの国際標準方式が注目されている。カラー
静止画像の符号化方式として提案されたJPEG(Join
t PhotographicExpert Group )方式は、情報保存形で
はないが、階調画像を高能率に符号化できる方式であ
る。JPEG方式には、一般的にカラー静止画像に対し
て効率の良い方式である直交変換方式の一つである離散
コサイン変換(Descreate Cosine Transform;DCT)
が採用されている。DCTは、画像をブロックに分割
し、ブロックごとに離散コサイン変換を施し、その出力
係数を符号化する方式である。出力係数は、各周波数成
分ごとに独立に量子化され、符号化効率が最適となるよ
うに、各変換係数ごとに量子化ビット数を割り当ててい
る。2値で構成される画像を符号化する場合と異なり、
自然画像では、その画像に含まれる情報量の大きさか
ら、情報損失のない符号化器を用いることは実用的でな
く、適当なレベルでの量子化が必要となる。一般に、高
周波領域における量子化を粗くすることにより高い符号
化効率を達成することができる。一方、2値画像の符号
化方式として、国際標準規格案として提案されているJ
BIG(Joint Bi-level Image Expert Group )方式
は、基本的にバイナリ表現された画像を、情報の欠落な
しに高能率に符号化できる情報保存形符号化方式であ
る。
2. Description of the Related Art Conventionally, various coding systems for color still images have been proposed.
Two international standard schemes called JPEG scheme and JBIG scheme, which are being studied jointly by TT SG VIII and IEC / JTC1 / SC29, are attracting attention. JPEG (Join) proposed as a color still image coding method
t Photographic Expert Group) is not an information storage type, but is a method that can encode grayscale images with high efficiency. The JPEG scheme is generally one of orthogonal transformation schemes that is an efficient scheme for a color still image, and is a discrete cosine transform (DCT).
Has been adopted. DCT is a method in which an image is divided into blocks, discrete cosine transform is performed for each block, and output coefficients are encoded. The output coefficient is quantized independently for each frequency component, and the number of quantization bits is assigned to each transform coefficient so that the coding efficiency is optimized. Unlike encoding a binary image,
In the case of a natural image, it is not practical to use an encoder having no information loss due to the amount of information included in the image, and quantization at an appropriate level is required. In general, high coding efficiency can be achieved by coarsening the quantization in the high frequency region. On the other hand, as an encoding method for a binary image, J is proposed as an international standard.
The BIG (Joint Bi-level Image Expert Group) method is an information preserving coding method capable of efficiently coding an image basically expressed in binary without loss of information.

【0003】[0003]

【発明が解決しようとする課題】実際にオフィス等で用
いられるカラー画像は、画像中に文字が混在しているの
が一般的である。しかし、JPEG方式のように直交変
換方式を採用している符号化方式は、文字と画像が混在
する文書に対しては、文字領域の画質劣化が大きいとい
う欠点がある。また、特願平3-353952号「2値画像混在
静止自然画像の符号化方式」において、上記の問題点を
解決する符号化方式が提案されており、2値画像符号化
方式と自然画像符号化方式を組み合わせることにより、
文字と階調画像が混在する画像、特に、人工的に文字を
カラー画像に組み合わせた画像に対して、高い符号化効
率が得られることが示されている。さらに、スキャナで
取り込むことによりエッジ領域が鈍ったり、エッジ強調
がかけられた画像に本方式を適用すると、画像によって
性質が大きく異なるため、画像によっては、JPEG方
式などの直交変換方式より符号化効率が悪くなるという
難点が存在する。実際に伝送などの目的のために高能率
な符号化が必要とされている画像には、純然たる自然画
像だけでなく、むしろ、画像とそれに関連する印刷文字
が混在した画像や、マルチカラー文書画像の伝送が多い
と予想される。この画像に対して、上記従来技術におけ
る2値画混在静止画像符号化方式を適用する場合、上
記に挙げた画像、特に、人工的に文字をカラー画像に組
み合わせた画像に対して、高い符号化効率が得られる。
しかし、当該画像のエッジ領域が非常に鈍っている場
合、符号化ビット数が増加するという難点がある。
In a color image actually used in an office or the like, it is general that characters are mixed in the image. However, an encoding method that employs an orthogonal transformation method such as the JPEG method has a drawback that image quality of a character area is greatly deteriorated for a document in which characters and images are mixed. In Japanese Patent Application No. 3-353952, "Encoding method for binary image-mixed still natural image", an encoding method for solving the above problem is proposed. By combining the conversion methods,
It is shown that high encoding efficiency can be obtained for an image in which characters and gradation images are mixed, particularly for an image in which characters are artificially combined with a color image. Furthermore, if this method is applied to an image in which the edge area is dull or edge-enhanced by scanning with a scanner, the characteristics will differ greatly depending on the image. There is a drawback that it becomes worse. Images that require high-efficiency encoding for transmission or other purposes are not only pure natural images, but also images that contain mixed images and related printed characters, and multi-color documents. It is expected that there will be many image transmissions. For this image, the case of applying the 2 negative image mixed still image coding system in the prior art, images listed above, in particular, against the artificial image combining character color image, high code Conversion efficiency is obtained.
However, when the edge region of the image is very dull, there is a disadvantage that the number of coding bits increases.

【0004】本発明は、上記従来技術の問題点を解決す
るためになされたもので、文字のようにエッジの急峻な
領域を含んだ白黒階調画像、カラー画像あるいはマルチ
カラーと自然カラーとの混在文書の如き2値画像混在静
止自然画像を対象として、エッジ領域が非常に鈍った画
像に対しても、劣化の少ない符号化された画像を得るこ
とができ、また符号化効率を向上することができる2値
画像混在静止自然画像の高能率符号化方を提供するこ
とを目的としたものである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and is intended to provide a black-and-white gradation image, a color image or a multi-color image and a natural color image including a region having a sharp edge like a character. Binary image mixed static like mixed document
For a still image, a binary image mixed natural image that can obtain an encoded image with little deterioration and can improve the encoding efficiency even for an image whose edge region is extremely dull. it is intended to provide high-efficiency encoding how the images.

【0005】[0005]

【課題を解決するための手段】この目的を達成するため
に、本発明による2値画像混在静止自然画像の高能率符
号化方式は、符号化対象となる原画像たる白黒階調画像
またはカラー画像を、2値画像混在静止画像符号化方式
を用いて差分画像を生成し、原画像と差分画像を画素ブ
ロック単位で比較し、2値画像混在静止画像符号化方式
が、自然画像符号化方式より符号化効率が高いと評価
た画素ブロックのみを2値画像混在静止画像符号化方式
で符号化し、それ以外の画素ブロックを自然画像符号化
方式で符号化するように構成されている。2値画像混在
静止画像符号化方式の符号化側において、対象とする原
画像を画素のブロックに分割し、2値画像混在静止画像
符号化方式を適用する画素ブロックと、自然画像符号化
方式を適用するブロックを、以下に述べる方法で選択す
る。まず、原画像を文字領域判定した後、文字領域と判
定された全てのブロックに対して、2値画像混在静止画
像符号化方式を適用し、画像の2値化処理、濃淡画像作
成処理を行なって、差分画像を生成する。原画像と差分
画像の画素ブロックを符号化評価部分に送り、各画素ブ
ロックごとに、2値画像混在静止画像符号化方式を適用
したことにより、どの程度画質が改善されるかを以下に
述べる方法で評価する。従来技術によるDCTの自然画
像のための量子化テーブルは、一般には高周波成分ほど
大きなステップサイズを持つ。文字のエッジのような、
急峻に画素値が変化するブロックでは、高周波成分が多
く生じ、前述のような量子化テーブルを使用すると、画
質劣化が大きくなる。
In order to achieve this object, a high-efficiency coding method for a binary natural image-mixed still natural image according to the present invention comprises a black-and-white gradation image or a color image as an original image to be coded. Is generated using a binary image mixed still image coding method, and the original image and the difference image are compared on a pixel block basis, and the binary image mixed still image coding method is different from the natural image coding method. It is configured so that only the pixel blocks evaluated as having high coding efficiency are encoded by the binary image mixed still image encoding method, and the other pixel blocks are encoded by the natural image encoding method. I have. On the encoding side of the binary image mixed still image coding method, the target original image is divided into pixel blocks, and a pixel block to which the binary image mixed still image coding method is applied and a natural image coding method are used. The block to be applied is selected in the manner described below. First, after the original image is determined to be in the character area, the binary image mixed still image coding method is applied to all blocks determined to be the character area, and the image is binarized and the gray image is created. Then, a difference image is generated. The following describes how the image quality can be improved by sending the pixel blocks of the original image and the difference image to the coding evaluation part, and applying the binary image mixed still image coding method for each pixel block. To evaluate. A quantization table for a DCT natural image according to the related art generally has a larger step size as a high frequency component. Like the edge of a character,
In a block where the pixel value changes steeply, many high-frequency components are generated, and if the quantization table as described above is used, the image quality is greatly deteriorated.

【0006】そこで、 1つの方法として、原画像と比較
して、差分画像の画素ブロック内の画素値の変化が小さ
ければ、2値画像混在静止画像符号化方式を適用したこ
とにより、画質が改善されたと評価する方法を用いるこ
とができる。また、別の方法として、原画像と差分画像
をそれぞれDCT符号化/復号化し、符号化の前後を比
較して、画質の劣化が抑制されたかどうか調べることに
より、画質が改善されたと評価する方法を用いることが
できる。前記、符号化評価部分の結果に基づき、2値画
像混在静止画像符号化方式を適用すべきでないと判定さ
れた画素ブロックでは、生成された差分画像を使用せ
ず、原画像をそのまま自然画像符号化する。最終的に、
各画素ブロックで、2値画像混在静止画像符号化方式ま
たは、自然画像符号化方式を適用する。復号化は従来技
術による2値画像混在静止自然画像符号化方式の復号化
側と同一のものを用いる。
Therefore, as one method, if the change in the pixel value in the pixel block of the difference image is small as compared with the original image, the image quality is improved by applying the binary image mixed still image coding method. It is possible to use a method of estimating that it has been performed. As another method, an original image and a difference image are each subjected to DCT encoding / decoding, and before and after encoding are compared to check whether deterioration of image quality has been suppressed, thereby evaluating that image quality has been improved. Can be used. In the pixel block for which it is determined that the binary image mixed still image coding method should not be applied based on the result of the coding evaluation part, the original image is directly used as the natural image code without using the generated difference image. Become Finally,
In each pixel block, a binary image mixed still image coding method or a natural image coding method is applied. The decoding uses the same one as the decoding side of the binary image mixed still natural image coding method according to the prior art.

【0007】[0007]

【実施例1】図1は本発明による符号化方法を実施する
ための装置の構成図である。1は画像ブロック化回路、
2は画像2値化回路、3は画像合成回路、4は差分画像
作成回路である。5は2値画像符号化器、6は符号化
器、7は従来技術の自然画像符号化器、8は信号出力回
路である。9は文字領域判別回路、10は符号化評価回
路である。 画像ブロック化回路1は、例えば図3に示
す如き原画像Sを、例えば、縦8画素×横8画素=64
画素より構成される画素ブロックに分割する。すべての
分割された画素ブロックからなる画像S’は、文字領域
判別回路9に順次出力する。文字領域判別回路9は、画
像ブロック化回路1より受信した画像S’を画素ブロッ
クごとに解析し、文字を含むと判定された画素ブロック
に対してのみ画像2値化回路2において2値化処理を行
なうように指示を画像2値化回路2に与える。画像2値
化回路2は、画像ブロック化回路1より分割された画素
ブロックを受信し、各画素ブロックごとに、画素ブロッ
クに含まれる画素の画素値の平均値Saを算出する。次
に、画像S’の画素のうち、各ブロックごとにSaより
画素値の大きい画素を1、画素値の低い画素を0に変換
した画像Bを生成し、画像合成回路3および2値画像符
号化器5 に転送する。同時に各ブロックごとにSaより
画素値の大きい画素の画素値の平均値Shと、Saより
画素値の小さい画素の画素値の平均値Slを算出し、画
像合成回路3および差分値符号化器6に転送する。
Embodiment 1 FIG. 1 is carrying out the coding how according to the invention
It is a configuration diagram of a device for. 1 is an image blocking circuit,
2 is an image binarization circuit, 3 is an image synthesis circuit, and 4 is a difference image creation circuit. 5 is a binary image encoder, 6 is an encoder, 7 is a conventional natural image encoder, and 8 is a signal output circuit. Reference numeral 9 denotes a character area determination circuit, and reference numeral 10 denotes an encoding evaluation circuit. The image blocking circuit 1 converts the original image S as shown in FIG. 3 into, for example, 8 vertical pixels × 8 horizontal pixels = 64
It is divided into pixel blocks composed of pixels. The image S ′ composed of all divided pixel blocks is sequentially output to the character area determination circuit 9. The character area discriminating circuit 9 analyzes the image S ′ received from the image blocking circuit 1 for each pixel block, and performs a binarization process in the image binarizing circuit 2 only on the pixel blocks determined to include characters. Is given to the image binarization circuit 2. The image binarization circuit 2 receives the pixel blocks divided by the image blocking circuit 1, and calculates, for each pixel block, an average value Sa of the pixel values of the pixels included in the pixel block. Next, among the pixels of the image S ′, an image B is generated by converting a pixel having a pixel value larger than Sa into 1 and a pixel having a lower pixel value into 0 for each block, and the image synthesizing circuit 3 and the binary image code. To the generator 5. At the same time, for each block, the average value Sh of the pixel value of the pixel value larger than Sa and the average value S1 of the pixel value of the pixel value smaller than Sa are calculated, and the image synthesizing circuit 3 and the difference value encoder 6 are calculated. Transfer to

【0008】画像合成回路3は、画像2値化回路2より
受信した画像Bと各ブロックごとの平均値ShおよびS
lを用いて、画像Bのすべての画素を対象として、その
画素値が1 ならば、その画素の含まれるブロックの平均
値Shに画素値を置き換え、一方、その画素値が0なら
ば、その画素の含まれるブロックの平均値Slに画素値
を置き換えた画像Cを生成する。画像Cは差分画像作成
回路4に転送される。差分画像作成回路4は、ブロック
化された画像S’と画像合成回路3より受信した画像C
すべての画素について、画像Sの画素値から画像Cの
画素値を引いた画素値をもつ差分画像D生成し、自然画
像符号化器7に転送する。符号化評価回路10は、差分
画像作成回路4から受信した差分画像Dと、画像ブロッ
ク化回路1から受信した原画像S’とを用いて、2値画
像混在静止画像符号化方式の効果を各ブロック毎に評価
する。評価の結果、当該画素ブロックで2値画像混在静
止画像符号化方式の効果が見られないと判定された場
合、自然画像符号化器7に差分画像ではなく原画像
S’上の当該画素ブロックを符号化する指示を与え、2
値画像符号化器5と符号化器6にはその画素ブロックか
ら生成された画像Bおよび平均値Sh、Slを符号化し
ない指示を与える。
The image synthesizing circuit 3 compares the image B received from the image binarizing circuit 2 with the average values Sh and S for each block.
Using l, if the pixel value is 1 for all the pixels of the image B, the pixel value is replaced with the average value Sh of the block including the pixel, while if the pixel value is 0, the pixel value is replaced with the average value Sh. An image C is generated in which the pixel value is replaced with the average value Sl of the block including the pixel. The image C is transferred to the difference image creation circuit 4. The difference image creation circuit 4 includes a block image S ′ and an image C received from the image synthesis circuit 3.
, A difference image D having a pixel value obtained by subtracting the pixel value of the image C from the pixel value of the image S is transferred to the natural image encoder 7. The coding evaluation circuit 10 uses the difference image D received from the difference image creation circuit 4 and the original image S ′ received from the image blocking circuit 1 to determine the effect of the binary image mixed still image coding method. Evaluate each block. Evaluation of the results, if the effect of the binary image mixed still image coding method in the pixel block is determined to not be seen, rather than the difference image D to natural image coder 7 original image
An instruction to encode the pixel block on S ′ is given, and 2
The value image encoder 5 and the encoder 6 are instructed not to encode the image B and the average values Sh and Sl generated from the pixel block.

【0009】符号化評価回路10の例1として、次のよ
うな回路を用いることができる。原画像S’および差分
画像のそれぞれの画素ブロックについて、画素ブロッ
ク内の一つの画素と、その縦横に隣り合う画素との差の
二乗を計算し、これを全て加算した値d を計算する。原
画像S’での計算値DSと、差分画像での計算値dD
とを比較して、パラメータfを用いて、以下のように判
定する。 dS≧f×dDならば、2値画像混在符号化方式dS<f×dDならば 、自然画像符号化方式 上記に示した符号化評価回路10は、一例に過ぎず、他
にもDCTによる誤差を比較する回路等として次のよう
な例2の回路を用いることができる。すなわち、原画像
S’および差分画像のそれぞれの画素ブロックについ
て、従来技術DCT方式を用いて符号化/復号化を行っ
た画素ブロックを生成し、DCT方式によって生じる画
素値の変化の二乗を計算し、これを全て加算した値rを
計算する。原画像S’での計算値rSと、差分画像
の計算値rDとを比較して、パラメータfを用いて、以
下のように判定する。 rS≧f×rDならば、2値画像混在符号化方式rS<f×rDならば 、自然画像符号化方式
As an example 1 of the coding evaluation circuit 10 , the following circuit can be used. For each pixel block of the original image S ' and the difference image D , the square of the difference between one pixel in the pixel block and its vertically and horizontally adjacent pixels is calculated, and a value d obtained by adding all of them is calculated. The calculated value DS in the original image S ′ and the calculated value dD in the difference image D
Is determined by using the parameter f as follows. If dS ≧ f × dD, binary image mixed coding system dS <fxdD , natural image coding system The above-described coding evaluation circuit 10 is merely an example, and other errors caused by DCT Can be used as a circuit for comparing the following. That is, the original image
For each pixel block of S ′ and the difference image D , a pixel block that has been encoded / decoded using the conventional DCT method is generated, and the square of the change in pixel value caused by the DCT method is calculated. Calculate a value r obtained by adding all the values. The calculated value rS of the original image S ' is compared with the calculated value rD of the difference image D , and the following determination is made using the parameter f. If rS ≧ f × rD, a binary image mixed encoding method, if rS <fxrD, a natural image encoding method

【0010】2値画像符号化器5は、画像2値化回路2
より受信した画像Bを符号化し、符号化されたデータB
cを信号出力回路8に転送する。2値画像符号化器5の
例として、JBIG、MMRなどの既存の符号化器を用
いることができる。符号化器6は、画像2値化回路2よ
り受信した、画像の各ブロックごとの平均値Shおよび
Slを符号化し、符号化されたデータShcおよびSl
cを信号出力回路8に転送する。符号化器6の例とし
て、連続する前のブロックの平均値との差を符号化する
DPCM方式を用いることができる。自然画像符号器7
は、差分画像作成回路4より受信した画像D又は画像ブ
ロック化回路1の出力であるブロック化された原画像
S’を符号化し、符号化されたデータDcを信号出力回
路8に転送する。自然画像符号化器の例として、上記
従来技術のDCTを用いることができる。信号出力回路
8は、2値画像符号化器5、符号化器6、自然画像符号
化器7より符号化されたデータBc,Shc,Slc,
Dcを受信し、信号を特定のフォーマットで出力する。
本発明により、原画Sが文字の混在した画像の場合、符
号化評価回路10を加えることにより、画像Sを先願発
明である特願平3−353952号により提案した2値
混在静止自然画像符号化方式を用いて符号化するのに
比較してより高い符号化効率を得ることができる。
[0010] The binary image encoder 5 includes an image binarization circuit 2
The received image B is encoded, and the encoded data B
c is transferred to the signal output circuit 8. As an example of the binary image encoder 5, an existing encoder such as JBIG or MMR can be used. The encoder 6 encodes the average values Sh and Sl for each block of the image received from the image binarization circuit 2 and encodes the encoded data Shc and Sl.
c is transferred to the signal output circuit 8. As an example of the encoder 6, a DPCM method that encodes a difference from an average value of a block before a continuous block can be used. Natural image encoder 7
Is the image D or the image block received from the difference image creation circuit 4.
Blocked original image that is the output of the locking circuit 1
S ′ is encoded, and the encoded data Dc is transferred to the signal output circuit 8. As an example of the natural image encoder 7 , the above-described DCT of the related art can be used. The signal output circuit 8 outputs the data Bc, Shc, Slc, encoded by the binary image encoder 5, the encoder 6, and the natural image encoder 7.
Dc and outputs the signal in a specific format.
According to the present invention, when the original image S is an image in which characters are mixed, the image S is first applied by adding the coding evaluation circuit 10.
It is possible to obtain a higher coding efficiency compared to coding using a coding method of binary mixed still natural image proposed by Japanese Patent Application 3-353952 is bright.

【0011】[0011]

【実施例2】図2は、実施例1から、文字領域判別回路
9を除いた構成図である。1から8まで、及び、10
は、実施例1に準ずる。この図2の実施例では、個々の
画素ブロックを、図1の実施例のように文字領域判別回
路9で文字を含む画素ブロックであるか否かを選別する
ことなしに、全て2値画像符号化器5に転送し、符号化
評価回路10による評価判断のみにより、個々の画素ブ
ロックの符号化に2値画像混在符号化方式をとるか自然
画像符号化方式をとるかが決められることになる。この
図2の実施例は、図1の実施例より符号化効率は若干劣
るが、エッジ領域が非常に鈍った画像に対しても劣化の
少ない符号化された画像を得るという効果が得られる。
[Embodiment 2] FIG. 2 is a block diagram of the embodiment 1 from which a character area discriminating circuit 9 is omitted. 1 to 8 and 10
According to the first embodiment. In the embodiment of FIG.
The pixel block is converted to a character area determination cycle as in the embodiment of FIG.
Road 9 to determine whether the block is a pixel block containing text
All of them are transferred to the binary image encoder 5 and encoded.
The individual pixel block is determined only by the evaluation judgment by the evaluation circuit 10.
Whether to use a binary image mixed encoding method for lock encoding
It is decided whether to use the image coding method. The embodiment of FIG. 2 is slightly inferior in coding efficiency to the embodiment of FIG. 1, but has an effect of obtaining an encoded image with little deterioration even for an image whose edge region is extremely dull.

【0012】本発明による効果S/N比および符号化ビ
ット数削減は次表の通りである。
The effects of the present invention The S / N ratio and the number of coded bits are reduced as shown in the following table.

【0013】[0013]

【表1】 ここで、JPEGはJPEG方式、OLDは特願平3-35
3952号にて提案した2値混在静止画像符号化方式の1
例、NEW1は例1の評価回路を用いた場合、NEW2
は例2の評価回路を用いた場合である。この表1で用い
たS/Nの定義は次の数1の通りである。
[Table 1] Here, JPEG is JPEG system, OLD is Japanese Patent Application Hei 3-35.
1 of binary mixed still image coding method proposed in 3952
For example, NEW1 is NEW2 when the evaluation circuit of Example 1 is used.
Is a case where the evaluation circuit of Example 2 is used. The definition of S / N used in Table 1 is as follows.

【0014】[0014]

【数1】 但し、si,j は原画像の画素値、di,j は符号化/復号
化された画像の画素値、M,Nは画像の縦横の画素数で
ある。また、255は画素値としてとり得る最大値であ
る。
(Equation 1) Here, s i, j is the pixel value of the original image, d i, j is the pixel value of the encoded / decoded image, and M and N are the number of vertical and horizontal pixels of the image. 255 is the maximum value that can be taken as a pixel value.

【0015】[0015]

【発明の効果】以上詳細に説明したように本発明は、対
象となる白黒階調画像またはカラー画像より画像の各ブ
ロックごとに2値混在静止画像符号化方式を用いて差分
画像を生成し、原画像と差分画像とを比較して、2値混
在静止画像符号化方式による画質改善を評価し、画質改
善の効果のある画素ブロックにのみ2値混在静止画像符
号化方式で符号化し、それ以外の画素ブロックには自然
画像符号化方式で符号化することにより、文字領域を含
んだ白黒階調画像およびカラー画像の劣化の少ない符号
化を実現することができる。
As described in detail above, the present invention generates a differential image using a binary mixed still image encoding method for each block of an image from a target black-and-white grayscale image or color image, The original image and the difference image are compared to evaluate the image quality improvement by the binary mixed still image coding method, and only the pixel blocks having the image quality improving effect are coded by the binary mixed still image coding method. By encoding the pixel block with the natural image encoding method, it is possible to realize encoding with less deterioration of the black and white gradation image and the color image including the character area.

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

【図1】本発明を適用した符号化側装置の構成例を示す
ブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of an encoding-side device to which the present invention has been applied.

【図2】本発明を適用した他の符号化側装置の構成例を
示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration example of another encoding side device to which the present invention has been applied.

【図3】本発明に用いる原画の1例を示す図である。FIG. 3 is a diagram showing an example of an original image used in the present invention.

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

1 画像ブロック化回路 2 画像2値化回路 3 画像合成回路 4 差分画像作成回路 5 2値画像符号化器 6 符号化器 7 自然画像符号化器 8 信号出力回路 9 文字領域判別回路 10 符号化評価回路 DESCRIPTION OF SYMBOLS 1 Image blocking circuit 2 Image binarization circuit 3 Image synthesis circuit 4 Difference image creation circuit 5 Binary image encoder 6 Encoder 7 Natural image encoder 8 Signal output circuit 9 Character area discriminating circuit 10 Encoding evaluation circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04N 1/41 - 1/419 H04N 7/24 - 7/68──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) H04N 1/41-1/419 H04N 7/24-7/68

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 原静止自然画像を複数の画素ブロック
(n×m画素) に分割し、 前記複数の画素ブロックから2値画像領域または2値画
像領域を含む画像ブロックを検知し、前記検知されたブ
ロックの各画素の画素値をある閾値(Sa)を用いて2値化
することにより2値化出力を作成し、 前記原静止自然画像の各画素ブロックの前記のように2
値化された画素値それぞれの2値化される前の画素値
が前記閾値(Sa)より大であるか小であるかに従って前記
各画素ブロック内のそれぞれの画素値の第一の平均値
(Sh)または前記各画素ブロック内のそれぞれの画素
値の第二の平均値(Sl)に相当する特定の計算値に置
き換えした計算値出力を作成し、 前記原静止自然画像の各画素ブロックの各画素の前記2
値化される前の画素値と前記計算値出力との差分を用い
て差分画像を生成し、 前記原画像をそのまま符号化して出力する自然画像符号
化出力と前記差分画像を符号化して出力する2値画像混
在静止画像符号化出力とを画素ブロック単位で符号化効
率を比較し、 前記2値画像混在静止画像符号化出力が前記自然画像符
号化出力より符号化効率が高いと評価した画素ブロック
のみは、前記2値化出力と前記第一,第二の平均値及び
前記差分画像を符号化する2値画像混在静止画像符号化
方式により符号化をし、 それ以外の画素ブロックは前記自然画像符号化出力を符
号化する自然画像符号化方式により符号化をする2値画
像混在静止自然画像の高能率符号化方法。
1. An original still natural image is divided into a plurality of pixel blocks (n × m pixels), and a binary image area or an image block including a binary image area is detected from the plurality of pixel blocks. A binarized output is created by binarizing the pixel values of each pixel of the block using a certain threshold (Sa), as described above for each pixel block of the original still natural image.
Valued first average value of each pixel value in said each pixel block according to whether the pixel value before is small or is greater than the threshold (Sa) being the respective binarized pixel values (Sh) or a calculated value output replaced with a specific calculated value corresponding to the second average value (Sl) of the respective pixel values in each of the pixel blocks, and 2 for each pixel
Generates a difference image by using the difference between the pixel value of the before they are binarized with the calculated value output, outputs the original as it encodes and outputs a natural image coded output the difference image pictures by coding A pixel block in which the coding efficiency of a binary image mixed still image coded output is compared with the coding efficiency of each pixel block, and the binary image mixed still image coded output is evaluated to have higher coding efficiency than the natural image coded output. Only the binary image is encoded by a binary image mixed still image encoding method for encoding the binary output, the first and second average values and the difference image, and the other pixel blocks are the natural image. A high-efficiency encoding method for a binary natural image-mixed still natural image encoded by a natural image encoding system for encoding an encoded output.
【請求項2】 原静止自然画像を複数の画素ブロック
(n×m画素) に分割し、 前記複数の画素ブロックの各画素の画素値をある閾値(S
a)を用いて2値化することにより2値化出力を作成し、 前記原静止自然画像の各画素ブロックの前記のように2
値化された画素値それぞれの2値化される前の画素値
が前記閾値(Sa)より大であるか小であるかに従って前記
各画素ブロック内のそれぞれの画素値の第一の平均値
(Sh)または前記各画素ブロック内のそれぞれの画素
値の第二の平均値(Sl)に相当する特定の計算値に置
き換えした計算値出力を作成し、 前記原静止自然画像の各画素ブロックの各画素の前記2
値化される前の画素値と前記計算値出力との差分を用い
て差分画像を生成し、 前記原画像をそのまま符号化して出力する自然画像符号
化出力と前記差分画像を符号化して出力する2値画像混
在静止画像符号化出力とを画素ブロック単位で符号化効
率を比較し、 前記2値画像混在静止画像符号化出力が前記自然画像符
号化出力より符号化効率が高いと評価した画素ブロック
のみは、前記2値化出力と前記第一,第二の平均値及び
前記差分画像を符号化する2値画像混在静止画像符号化
方式により符号化をし、 それ以外の画素ブロックは前記自然画像符号化出力を符
号化する自然画像符号化方式により符号化をする2値画
像混在静止自然画像の高能率符号化方法。
2. An original still natural image is divided into a plurality of pixel blocks (n × m pixels), and a pixel value of each pixel of the plurality of pixel blocks is set to a certain threshold value (S
a) creating a binarized output by binarizing using a), as described above, for each pixel block of the original still natural image;
Valued first average value of each pixel value in said each pixel block according to whether the pixel value before is small or is greater than the threshold (Sa) being the respective binarized pixel values (Sh) or a calculated value output replaced with a specific calculated value corresponding to the second average value (Sl) of the respective pixel values in each of the pixel blocks, and 2 for each pixel
Generates a difference image by using the difference between the pixel value of the before they are binarized with the calculated value output, outputs the original as it encodes and outputs a natural image coded output the difference image pictures by coding A pixel block in which the coding efficiency of a binary image mixed still image coded output is compared with the coding efficiency of each pixel block, and the binary image mixed still image coded output is evaluated to have higher coding efficiency than the natural image coded output. Only the binary image is encoded by a binary image mixed still image encoding method for encoding the binary output, the first and second average values and the difference image, and the other pixel blocks are the natural image. A high-efficiency encoding method for a binary natural image-mixed still natural image encoded by a natural image encoding system for encoding an encoded output.
JP20050092A 1991-12-19 1992-07-03 High Efficiency Coding Method of Binary Image Mixed Natural Image Expired - Lifetime JP2796766B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP20050092A JP2796766B2 (en) 1992-07-03 1992-07-03 High Efficiency Coding Method of Binary Image Mixed Natural Image
US07/983,670 US5345317A (en) 1991-12-19 1992-12-01 High efficiency coding method for still natural images mingled with bi-level images
DE4242796A DE4242796C2 (en) 1991-12-19 1992-12-17 Highly efficient coding method for natural images mixed with two-level images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20050092A JP2796766B2 (en) 1992-07-03 1992-07-03 High Efficiency Coding Method of Binary Image Mixed Natural Image

Publications (2)

Publication Number Publication Date
JPH0622150A JPH0622150A (en) 1994-01-28
JP2796766B2 true JP2796766B2 (en) 1998-09-10

Family

ID=16425355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20050092A Expired - Lifetime JP2796766B2 (en) 1991-12-19 1992-07-03 High Efficiency Coding Method of Binary Image Mixed Natural Image

Country Status (1)

Country Link
JP (1) JP2796766B2 (en)

Also Published As

Publication number Publication date
JPH0622150A (en) 1994-01-28

Similar Documents

Publication Publication Date Title
US4668995A (en) System for reproducing mixed images
US5345317A (en) High efficiency coding method for still natural images mingled with bi-level images
JP2705744B2 (en) Image encoding device and decoding device
JP3005007B2 (en) Image coding device
US5539842A (en) Method and apparatus for compressing and decompressing images of documents
US7013050B2 (en) Image encoding apparatus and method, program code, and storage medium
EP0635985A1 (en) Improved decompression standard ADCT-compressed document images
JP3843581B2 (en) Image encoding device, image decoding device, image processing device, image encoding method, image decoding method, and image processing method
JP2004173276A (en) Decision surface preparation method, image data pixel classifying method, and collar document classifying method
US8041135B2 (en) Image encoding apparatus and control method thereof
KR940017695A (en) Halftone Image Coding Method Considering Similarity between Blocks
de Queiroz Compression of compound documents
JPH07123269A (en) Corder for picture signal
JP3193086B2 (en) Adaptive encoding apparatus and decoding apparatus for color document image
US7061638B2 (en) Image encoding apparatus
JPH08125868A (en) Image processing apparatus and method
US6640005B1 (en) Method for inconspicuously adding tracking data in coded images
JP2910000B2 (en) Encoding method for binary natural image mixed still image
de Queiroz et al. Fast segmentation of JPEG-compressed documents
EP1006714A2 (en) Method of processing mixed raster content planes
JP2796766B2 (en) High Efficiency Coding Method of Binary Image Mixed Natural Image
JP3108133B2 (en) Adaptive coding of color document images
US7746501B2 (en) Method and device for compressing image data
Barthel et al. New technology for raster document image compression
JPH06178122A (en) Adaptive encoding device for color image

Legal Events

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

Free format text: PAYMENT UNTIL: 20100703

Year of fee payment: 12