JPH11215381A - Coder and recoder - Google Patents

Coder and recoder

Info

Publication number
JPH11215381A
JPH11215381A JP30036498A JP30036498A JPH11215381A JP H11215381 A JPH11215381 A JP H11215381A JP 30036498 A JP30036498 A JP 30036498A JP 30036498 A JP30036498 A JP 30036498A JP H11215381 A JPH11215381 A JP H11215381A
Authority
JP
Japan
Prior art keywords
image
area
similar
image information
information
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.)
Pending
Application number
JP30036498A
Other languages
Japanese (ja)
Inventor
Yasuyuki Nomizu
泰之 野水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP30036498A priority Critical patent/JPH11215381A/en
Publication of JPH11215381A publication Critical patent/JPH11215381A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a coder and a decoder by which coding and decoding processing is conducted at a high-speed accurately as well as at a very high efficiency. SOLUTION: An image area division means 201 divides a received image into small block areas. An area image information storage means 202 stores image information of the divided small block areas, a similar image selection means 203 selects a small block area similar to a noted small block area. A similar image discrimination means 204 discriminates whether or not an image is identical to the image of the noted small block area and valid or not. Based on the discrimination result, an image matching coding means 205, a similarity prediction coding means 206 and a prediction coding means 207 encode efficiently the noted small block area.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、送受信するデータ
を圧縮するための符号化処理に用いられる符号化装置、
及び復号化装置に関し、特に、2値画像データの圧縮に
好適であり、また、白黒画像データ処理だけでなく、単
色(モノカラー)の画像データ処理にも適用することが
可能な符号化装置、及び復号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoding apparatus used for encoding processing for compressing data to be transmitted and received,
And a decoding device, which is particularly suitable for compressing binary image data, and which can be applied not only to black-and-white image data processing but also to monochrome (mono-color) image data processing. And a decoding device.

【0002】[0002]

【従来の技術】近年、オフィスで使用される文書のほと
んどはパーソナルコンピュータやワードプロセッサで作
成された文書となってきており、手書きによる文書はほ
とんどなくなってきている。
2. Description of the Related Art In recent years, most documents used in offices have been created by personal computers and word processors, and documents handwritten have almost disappeared.

【0003】パーソナルコンピュータやワードプロセッ
サで作成された文書のほとんどは文字及び罫線情報で構
成されるものであり、写真が入ったようなものはほとん
どない。
[0003] Most of documents prepared by personal computers and word processors are composed of character and ruled line information, and almost no documents include photographs.

【0004】これらの画像は通常、文字の大きさ、文字
の形状、文字間隔、文字並び等にある程度の規則性が存
在している。これに対して手書き文字や写真のような画
像では、上述したような特徴は存在しない。
[0004] These images usually have a certain degree of regularity in character size, character shape, character spacing, character arrangement, and the like. On the other hand, an image such as a handwritten character or a photograph does not have the above-described features.

【0005】一方、ファクシミリやディジタル複写機の
ように画像を電子情報として扱う機器においては、入力
画像をスキャナ等で光学的に走査して電子情報に変換を
行う。
On the other hand, in a device such as a facsimile or a digital copier which handles an image as electronic information, an input image is optically scanned by a scanner or the like and converted into electronic information.

【0006】この変換を行った際の電子情報量は解像度
や画像の大きさに依存し、解像度及び画像の大きさが大
きくなればなるほど多くなる。通常、変換された電子情
報は一時的に記憶領域に保存される場合が多く、そのた
め情報量が多くなればなるほど必要とされる記憶領域の
量も多くなる。
The amount of electronic information at the time of performing this conversion depends on the resolution and the size of the image, and increases as the resolution and the size of the image increase. Usually, the converted electronic information is often temporarily stored in a storage area, and therefore, the larger the amount of information, the larger the required storage area.

【0007】特に近年では解像度が向上する傾向にあ
り、それらの画像を保存するために必要とされるメモリ
またはディスク容量も増大し、コストアップが避けられ
ないという問題を有していた。
In particular, in recent years, the resolution has tended to be improved, and the memory or disk capacity required for storing those images has also increased, and there has been a problem that an increase in cost cannot be avoided.

【0008】この問題を解決する方法の1つに画像を効
率良く符号化する方法がある。画像符号化の代表例とし
てはファクシミリ等で使用されているMH,MR,MMR 方式が
ある。これらの方式は画像の種類に関係なく画像をラス
ター単位で符号化するのでどんな種類の画像にも適用は
可能である。
One of the methods for solving this problem is a method for efficiently encoding an image. Representative examples of image coding include the MH, MR, and MMR methods used in facsimile and the like. Since these methods encode an image in raster units regardless of the type of the image, it can be applied to any type of image.

【0009】上記画像の符号化方式について、以下にさ
らに説明する。画像の符号化方式は大きく2値画像用と
多値画像用とに分けられ、前者にはMH,MR,MMR 符号化方
式があり、これらはファクシミリの標準符号化方式にな
っている。また最近では算術符号を使った符号化方式が
注目されておりQM-Coderと呼ばれる符号化方式がある。
このQM-CoderはITU-T (International Telecommunicat
ion Union-Telecommunication Standardization Secto
r, 国際電信電話諮問委員会)とISO (International O
rganization for Stadardization,国際標準化機構)と
で標準方式として検討されているJBIG方式と呼ばれる符
号化方式に用いられている。
The above-described image coding method will be further described below. The image coding methods are roughly classified into binary image and multi-value image. The former includes MH, MR, and MMR coding methods, which are standard facsimile coding methods. Recently, an encoding method using an arithmetic code has attracted attention, and there is an encoding method called QM-Coder.
This QM-Coder is based on ITU-T (International Telecommunicat
ion Union-Telecommunication Standardization Secto
r, International Telegraph and Telephone Advisory Committee and ISO (International O
rganization for Stadardization (International Organization for Standardization)).

【0010】一方、後者にはITU-T とISO とで標準方式
として検討されている離散コサイン変換(以下DCT)
を使ったADCT(適応コサイン変換)方式(JPEG方式と呼
ばれている)があり、画像情報を周波数情報に変換した
後に、情報の符号化を行う方式がある。
On the other hand, the latter has a discrete cosine transform (hereinafter referred to as DCT), which has been studied as a standard method by ITU-T and ISO.
There is an ADCT (Adaptive Cosine Transform) method (called the JPEG method) that uses image data, and a method that converts image information into frequency information and then encodes the information.

【0011】従って、従来の符号化装置を備えた画像処
理装置によれば、このような従来の符号化を行い、情報
量を圧縮し、メモリ等の削減を行うことが可能であると
している。
Therefore, according to the image processing apparatus provided with the conventional encoding device, it is possible to perform such conventional encoding, compress the amount of information, and reduce the memory and the like.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、上記従
来の符号化装置においては、文字画像に対しては効率良
く符号化を行うことが可能であるが、写真や手書き文字
等の画像に対しては、満足できる程度の効率で符号化が
行われないという問題点を有する。
However, in the above-described conventional encoding apparatus, it is possible to efficiently encode a character image, but not to an image such as a photograph or a handwritten character. Encoding is not performed with a satisfactory degree of efficiency.

【0013】また、文字画像を符号化する場合であって
も、文字の性質等の情報は利用せずに単に画像として符
号化を行うので、非常に高い符号化効率を得ることは不
可能であるという問題点を有している。
Further, even when a character image is encoded, it is impossible to obtain a very high encoding efficiency because the encoding is performed simply as an image without using information such as the properties of the character. There is a problem that there is.

【0014】本発明は、上記事情に鑑みなされたもの
で、高速、かつ、正確に、非常に高い効率で、符号化、
及び復号化の処理を行うことが可能な符号化装置、及び
復号化装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has been made in consideration of the above circumstances.
It is an object of the present invention to provide an encoding device and a decoding device capable of performing a decoding process.

【0015】[0015]

【課題を解決するための手段】請求項1記載の発明は、
入力された画像情報を文字、若しくは図形単位でブロッ
ク領域に分割する画像領域分割手段と、該画像領域分割
手段から入力されたブロック領域の画像情報を複数保存
する領域画像情報保存手段と、該画像領域分割手段から
入力されたブロック領域を注目ブロック領域とし、該領
域画像情報保存手段に保存された複数のブロック領域を
参照ブロック領域として、注目ブロック領域の画像情報
と参照ブロック領域の画像情報とを比較し、注目ブロッ
ク領域の画像情報と類似する参照ブロック領域の画像情
報を選択して抽出する類似画像選択手段と、前記類似画
像選択手段により選択された参照ブロック領域の画像情
報が前記注目ブロック領域の画像情報と同一であると
き、注目ブロック領域を同一領域と判定し、該参照ブロ
ック領域の画像情報が、前記注目ブロック領域の画像情
報と同一でなく類似であるとき、注目ブロック領域を類
似領域と判定し、該参照ブロック領域の画像情報が、前
記注目ブロック領域の画像領域と同一でも類似でもない
とき、注目ブロック領域を非類似領域と判定する類似画
像判定手段と、前記同一領域と判定された注目ブロック
領域の画像情報を、前記領域画像情報保存手段に記憶さ
れた対応する参照ブロック領域の画像情報を用いて符号
化する画像一致符号化手段と、前記類似領域と判定され
た注目ブロック領域の画像情報を、前記領域画像情報保
存手段に記憶された対応する参照ブロック領域の画像情
報と前記注目ブロック領域の画像情報とに基づいて予測
して符号化する類似予測符号化手段と、前記非類似領域
と判定された注目ブロック領域の画像情報を、前記注目
ブロック領域の画像情報に基づいて予測して符号化する
予測符号化手段と、前記画像一致符号化手段と類似予測
符号化手段と予測符号化手段から出力された符号化結果
に基づき、符号情報を作成する符号情報作成手段とを備
えることを特徴とする。
According to the first aspect of the present invention,
Image area dividing means for dividing input image information into block areas in units of characters or figures; area image information storing means for storing a plurality of block area image information input from the image area dividing means; The block area input from the area dividing unit is set as a target block area, and a plurality of block areas stored in the area image information storage unit are set as reference block areas, and the image information of the target block area and the image information of the reference block area are compared. A similar image selecting means for comparing and selecting and extracting image information of a reference block area similar to the image information of the target block area; and the image information of the reference block area selected by the similar image selecting means is the target block area. When the image information is the same as that of the reference block area, the target block area is determined to be the same area. When the image information of the target block region is not the same as the image information of the target block region, the target block region is determined to be a similar region, and the image information of the reference block region is not the same as or similar to the image region of the target block region. Similar image determining means for determining the target block area as a non-similar area; and image information of the reference block area stored in the area image information storing means. Image coincidence encoding means for encoding the image data of the target block area determined to be the similar area with the image information of the corresponding reference block area stored in the area image information storage means and the target block. Similar prediction encoding means for predicting and encoding based on the image information of the area, and an image of the target block area determined to be the dissimilar area Information, predictive coding means for predicting and coding based on the image information of the block area of interest, and coding results output from the image coincidence coding means, the similar prediction coding means and the prediction coding means. And code information creating means for creating code information based on the information.

【0016】従って、この発明によれば、画情報を符号
化する際に、画情報を文字や図形等の小ブロック領域に
分割して、分割された小ブロック領域の情報を保存しな
がら分割された小ブロック領域の情報毎に対して、以前
に登場した小ブロック領域の画像の中から注目する小ブ
ロック領域の画像と類似する類似小ブロック領域の画像
を選択し、選択された類似小ブロック領域の画像が注目
する小ブロック領域の画像と同一である場合には類似小
ブロック領域の領域情報を用いて符号化を行い、同一で
ない場合は選択した類似小ブロック領域が、注目小ブロ
ック領域の符号化に有効である有効類似小ブロック領域
であるか否かを判断した後に、有効である場合は注目小
ブロック領域の画像を類似小ブロック領域の画像と注目
小ブロック領域の画像とから予測して符号化を行い、有
効でない場合は注目小ブロック領域の画像を類似小ブロ
ック領域の画像を用いずに予測符号化を行うことによ
り、非常に効率的に符号化を行うことができる。
Therefore, according to the present invention, when encoding image information, the image information is divided into small block regions such as characters and figures, and the divided small block regions are stored while storing the information. For each piece of information of the small block area, an image of a similar small block area similar to the image of the small block area of interest is selected from among the small block area images that appeared before, and the selected similar small block area is selected. If the image of the target small block region is the same as the image of the target small block region, encoding is performed using the region information of the similar small block region. Otherwise, the selected similar small block region is replaced with the code of the target small block region. After determining whether or not the area is an effective similar small block area that is effective for image formation, if it is effective, the image of the target small block area is compared with the image of the similar small block area and the target small block area. Perform coding by predicting from the image, and if not effective, perform predictive coding on the image of the small block area of interest without using the image of the similar small block area, thereby performing coding very efficiently Can be.

【0017】請求項2記載の発明は、請求項1記載の発
明において、前記領域画像情報保存手段が、前記ブロッ
ク領域の大きさと位置情報とを表す記憶列を保存するこ
とを特徴とする。
According to a second aspect of the present invention, in the first aspect of the present invention, the area image information storage means stores a storage sequence representing the size and position information of the block area.

【0018】従って、この発明によれば、請求項1記載
の発明の作用が得られると共に、小ブロック領域の画像
を保存する場合には画像そのものを保存する方法が考え
られるが、その場合記憶領域の大きさが大きくなってし
まうという問題がある。そこで、既に登場している小ブ
ロック領域と、同一、若しくは略同じ画像情報である場
合には、既に登場している小ブロック領域の画像情報を
参照すれば、その小ブロック領域の位置と大きさのみを
指定するだけで、実際の画像は参照することが可能であ
る。また、これらをインデクスを付して記憶列とすれ
ば、インデクスを参照するだけで、目的の画像を参照す
ることが可能になる。
Therefore, according to the present invention, the effect of the first aspect of the present invention can be obtained, and a method of saving the image itself can be considered when saving the image of the small block area. There is a problem that the size of the image becomes large. Therefore, if the image information is the same or substantially the same as that of the small block area that has already appeared, by referring to the image information of the small block area that has already appeared, the position and size of the small block area can be obtained. You can refer to the actual image simply by specifying only. If these are added to an index to form a storage sequence, it is possible to refer to the target image only by referring to the index.

【0019】請求項3記載の発明は、請求項2記載の発
明において、前記画像一致符号化手段が、前記同一領域
と判定された注目ブロック領域の画像情報を表す記憶列
のインデクスと位置情報とを用いて符号化し、前記類似
予測符号化手段が、前記類似領域と判定された注目ブロ
ック領域の画像情報を表す記憶列のインデクスと位置情
報と該画像情報とに基づいて予測して符号化し、前記予
測符号化手段が、前記非類似領域と判定された注目ブロ
ック領域の大きさと位置情報と該画像情報に基づいて符
号化することを特徴とする。
According to a third aspect of the present invention, in the second aspect of the present invention, the image coincidence encoding means includes an index and a position information of a storage sequence representing image information of the target block area determined as the same area. The similarity predictive encoding means predicts and encodes based on the image information and the index and position information of the storage sequence representing the image information of the block area of interest determined as the similar area, The predictive encoding unit performs encoding based on the size and position information of the target block area determined as the dissimilar area and the image information.

【0020】従って、この発明によれば、請求項2記載
の発明の作用が得られると共に、画像を小ブロック領域
の単位に符号化することは、符号化時においては必ずし
も登場する小ブロック領域の順序で符号化をしなくても
良いという利点や、復号時に任意の小ブロック領域のみ
を抽出復号できるという利点がある。また、小ブロック
領域の符号化を行う場合、既に登場した画像であればそ
のインデクスのみを符号化すれば効率的であるし、類似
する画像があれば類似する画像を用いて予測符号化を行
えば符号化効率は良くなる。
Therefore, according to the present invention, the effect of the invention described in claim 2 can be obtained, and encoding of an image in units of small block areas can be achieved by encoding a small block area which always appears at the time of encoding. There is an advantage that it is not necessary to perform encoding in order and an advantage that only an arbitrary small block area can be extracted and decoded at the time of decoding. When encoding a small block area, it is efficient to encode only the index of an image that has already appeared, and if there is a similar image, predictive encoding is performed using a similar image. For example, the coding efficiency is improved.

【0021】従って、これらの利点を利用して、画像一
致符号化手段では一致した類似小ブロック領域の画像を
表すインデクスを符号化することで高能率な符号化を、
類似予測符号化手段は類似した類似小ブロック領域の画
像を表すインデクスと注目小ブロック領域の画像とを利
用して注目小ブロック領域を符号化して符号を作成する
ことで高能率な符号化が可能になる。
Therefore, taking advantage of these advantages, the image coincidence encoding means encodes an index representing an image of a similar similar small block area, thereby achieving highly efficient encoding.
The similarity prediction coding means encodes a small block area of interest using an index representing an image of a similar similar small block area and an image of a small block area of interest to generate a code, thereby enabling highly efficient coding. become.

【0022】請求項4記載の発明は、請求項3記載の発
明において、前記画像一致符号化手段と類似予測符号化
手段と予測符号化手段が、前記注目ブロック領域の先の
注目ブロック領域の位置情報と前記注目ブロック領域の
位置情報との差分に基づき注目ブロック領域の位置情報
を符号化することを特徴とする。
According to a fourth aspect of the present invention, in the third aspect of the present invention, the image coincidence encoding unit, the similar prediction encoding unit, and the prediction encoding unit determine a position of the target block area ahead of the target block area. The position information of the target block area is encoded based on a difference between the information and the position information of the target block area.

【0023】従って、この発明によれば、請求項3記載
の発明の作用が得られると共に、パーソナルコンピュー
タやワードプロセッサで作成された文字画像は文字の並
びや間隔に規則性があることが多い。位置情報の符号量
はその絶対値が少ないほど効率は良くなる。よって注目
小ブロック領域近傍の小ブロック領域の位置情報を利用
すれば位置情報に必要とされる絶対値を少なくすること
ができ、高能率な符号化が可能となる。
Therefore, according to the present invention, the operation of the invention described in claim 3 can be obtained, and character images created by a personal computer or a word processor often have regularity in arrangement and intervals of characters. The smaller the absolute value of the code amount of the position information, the higher the efficiency. Therefore, if the position information of the small block area near the small block area of interest is used, the absolute value required for the position information can be reduced, and highly efficient encoding can be performed.

【0024】請求項5記載の発明は、請求項3又は4に
記載の発明において、前記画像一致符号化手段と類似予
測符号化手段と予測符号化手段が、該注目ブロック領域
の先の注目ブロック領域と注目ブロック領域との最も近
い端部同士の距離の差分に基づき前記注目ブロック領域
の位置情報を符号化することを特徴とする。
According to a fifth aspect of the present invention, in the third or fourth aspect of the present invention, the image coincidence encoding unit, the similar prediction encoding unit, and the prediction encoding unit include a target block ahead of the target block area. The position information of the block area of interest is encoded based on a difference between the distances between the nearest ends of the area and the block area of interest.

【0025】従って、この発明によれば、請求項3又は
4に記載の発明の作用が得られると共に、位置情報の符
号量はその絶対値が少ないほど効率は良くなるため、注
目小ブロック領域近傍の小ブロック領域の位置情報を利
用する場合にも、最も近い格子点間の情報を利用すれば
位置情報に必要とされる絶対値を少なくすることがで
き、高能率な符号化が可能となる。
Therefore, according to the present invention, the effect of the invention described in claim 3 or 4 can be obtained, and the smaller the absolute value of the code amount of the position information is, the higher the efficiency becomes. When the position information of the small block area is used, the absolute value required for the position information can be reduced by using the information between the closest grid points, and highly efficient encoding can be performed. .

【0026】請求項6記載の発明は、請求項1から5の
いずれかに記載の発明において、前記画像一致符号化手
段と類似予測符号化手段と予測符号化手段が、各符号化
手段のいずれで符号化したかを表す第1の識別情報を追
加するとともに、前記符号情報作成手段が、符号情報の
終了を表す第2の識別情報を追加することを特徴とす
る。
According to a sixth aspect of the present invention, in the first aspect of the present invention, the image coincidence encoding unit, the similar prediction encoding unit, and the prediction encoding unit are any one of the encoding units. In addition to adding first identification information indicating whether or not encoding has been performed, the code information creating unit adds second identification information indicating the end of the code information.

【0027】従って、この発明によれば、請求項1から
5のいずれかに記載の発明の作用が得られると共に、各
符号に識別情報を付加することで復号側で誤り無く画情
報を再生可能になる。また、識別情報により復号側での
処理を容易に決定できるので処理速度を向上させること
ができる。
Therefore, according to the present invention, the effect of the invention described in any one of the first to fifth aspects can be obtained, and the image information can be reproduced without error on the decoding side by adding identification information to each code. become. Further, the processing on the decoding side can be easily determined based on the identification information, so that the processing speed can be improved.

【0028】請求項7記載の発明は、請求項1から6の
いずれかに記載の発明において、前記類似画像選択手段
が、前記注目ブロック領域と同一の大きさの参照ブロッ
ク領域を選択して抽出することを特徴とする。
According to a seventh aspect of the present invention, in the first aspect of the present invention, the similar image selecting means selects and extracts a reference block area having the same size as the target block area. It is characterized by doing.

【0029】従って、この発明によれば、請求項1から
6のいずれかに記載の発明の作用が得られると共に、符
号化装置においては類似する画像を検索する場合、検索
対象となる画像が多い場合には処理が遅くなるという問
題があるが、類似画像選択手段は、注目領域の大きさと
一致するもののみを検索するので、構成が簡単で高速に
検索を実行することができる。
Therefore, according to the present invention, the effect of the invention described in any one of the first to sixth aspects can be obtained, and when a similar image is searched in the encoding device, there are many images to be searched. In such a case, there is a problem that the processing becomes slow. However, since the similar image selection unit searches only the image that matches the size of the attention area, the search can be performed quickly with a simple configuration.

【0030】請求項8記載の発明は、請求項1から7の
いずれかに記載の発明において、前記類似画像選択手段
が、前記注目ブロック領域の画像情報と参照ブロック領
域の画像情報とを比較し、各々の画像情報を構成する画
素の画像データの不一致数に基づき判定をすることを特
徴とする。
According to an eighth aspect of the present invention, in the first aspect of the present invention, the similar image selecting means compares the image information of the target block area with the image information of the reference block area. The determination is made based on the number of image data mismatches of pixels constituting each piece of image information.

【0031】従って、この発明によれば、請求項1から
7のいずれかに記載の発明の作用が得られると共に、類
似画像判定手段は、注目小ブロック領域の画像と選択さ
れた類似小ブロック領域の画像との間における不一致な
画素数を計数し、その数を元に、同一であるか否か、及
び有効であるか否かを判定するので、構成が簡単で高速
に判定を実行することができる。
Therefore, according to the present invention, the operation of the invention described in any one of the first to seventh aspects is obtained, and the similar image determining means determines the image of the small block area of interest and the selected similar small block area. The number of inconsistent pixels between the image and the image is counted, and based on the number, it is determined whether or not the pixel is the same, and whether or not the image is valid. Can be.

【0032】請求項9記載の発明は、入力される符号情
報に基づき同一領域と類似領域と非類似領域とを識別す
る識別手段と、ブロック領域の画像情報を記憶する再生
領域保存手段と、前記識別手段が同一領域と識別した場
合に、前記再生領域保存手段に記憶されているブロック
領域の画像情報を出力するように指示する画像一致復号
手段と、前記識別手段が類似領域と識別した場合に、前
記再生領域保存手段に記憶されているブロック領域の画
像情報に基づき予測復号化し、別のブロック領域の画像
情報を作成して前記再生領域保存手段に記憶する類似予
測復号手段と、前記識別手段が非類似領域と識別した場
合に、符号情報を予測復号化し、ブロック領域の画像情
報を作成して前記再生領域保存手段に記憶する予測復号
手段と、前記再生領域保存手段に記憶されたブロック領
域の画像情報に基づき全体の画像情報を作成する再生画
像結合手段とを備えることを特徴とする。
According to a ninth aspect of the present invention, there is provided an identification means for identifying the same area, a similar area and a dissimilar area based on input code information, a reproduction area storage means for storing image information of a block area, An image coincidence decoding unit that instructs to output image information of a block area stored in the reproduction area storage unit when the identification unit identifies the same region; and a case where the identification unit identifies the similar region. Similar prediction decoding means for predictively decoding based on image information of a block area stored in the reproduction area storage means, creating image information of another block area and storing the image information in the reproduction area storage means, Predictive decoding means for predicting and decoding the code information when it is identified as a dissimilar area, creating image information of the block area and storing the image information in the reproduction area storage means; Characterized in that it comprises a reproduction image combining means for generating image information of the entire basis of the image information stored in the storage block area range storage means.

【0033】従って、この発明によれば、インデクスの
情報が符号化されている場合にはインデクスの情報から
元の画像を再生し、類似小ブロック領域の画像を用いて
符号化されている場合には類似する小ブロック領域の画
像を利用して画像を再生し、類似小ブロック領域の画像
を用いずに符号化されている符号の場合には類似小ブロ
ック領域の画像を用いずに画像を再生し、各再生された
画像を最終的に結合して全体の画像を作成することがで
きるので、符号化手段のそれぞれにより作成される高能
率で符号化された符号から誤り無く画像を再生すること
ができる。
Therefore, according to the present invention, when index information is encoded, the original image is reproduced from the index information, and when the image is encoded using the image of the similar small block area, Reproduces an image by using an image of a similar small block area, and reproduces an image without using an image of a similar small block area if the code is encoded without using the image of the similar small block area Then, since each reproduced image can be finally combined to form an entire image, it is possible to reproduce an image without error from a highly efficient code generated by each of the encoding means. Can be.

【0034】[0034]

【発明の実施の形態】次に、本発明に係る符号化装置、
及び復号化装置の実施形態について図面を参照して詳細
に説明する。図1に、本発明に係る符号化装置、及び復
号化装置をファクシミリに適用した場合の一実施形態の
構成のブロック図を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an encoding apparatus according to the present invention,
An embodiment of a decoding device will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an embodiment in which an encoding device and a decoding device according to the present invention are applied to a facsimile.

【0035】図1に示されるように、このファクシミリ
は、まず送信側で画像読取部101においてCCDイメ
ージセンサ等を用いて原稿を読み取り、続く画像処理部
102で送信データを適切なデータにするために処理を
行い、最後に符号化部103において符号化を行って生
成された符号を伝送路へ送出する。
As shown in FIG. 1, in the facsimile, first, an image reading unit 101 reads a document using a CCD image sensor or the like on a transmission side, and then, an image processing unit 102 converts transmission data into appropriate data. Finally, the encoding unit 103 performs encoding and sends out the generated code to the transmission path.

【0036】一方、受信側で画像を再生するときは、符
号化データを復号部104により復号し、画像処理部1
05で出力装置に適した画像処理を行い、プロッター等
の画像出力部106に出力することでハードコピーを得
る。
On the other hand, when an image is reproduced on the receiving side, the encoded data is decoded by the decoding unit 104 and the image processing unit 1
At 05, a hard copy is obtained by performing image processing suitable for the output device and outputting it to the image output unit 106 such as a plotter.

【0037】なお、画像処理部102及び105で行わ
れる処理の例としては、2値画像においては解像度変
換、サイズ変換等があり、カラーを含めた多値画像にお
いては色(色成分)変換、解像度変換、サイズ変換等が
挙げられる。符号化部103、復号部104で使われる
符号化方式の例としては、2値画像を対象とするもので
は従来のファクシミリで使われているMH,MR,MMR 方式や
算術符号を用いたJBIG方式があり、多値画像を対象とす
るものでは適応離散コサイン変換を用いたJPEG方式があ
る。
Examples of processing performed by the image processing units 102 and 105 include resolution conversion and size conversion for binary images, and color (color component) conversion for multivalued images including colors. Examples include resolution conversion and size conversion. Examples of the encoding method used in the encoding unit 103 and the decoding unit 104 include the MH, MR, MMR method used in the conventional facsimile and the JBIG method using the arithmetic code for binary images. There is a JPEG method using adaptive discrete cosine transform for multivalued images.

【0038】次に、図1に示される符号化部103につ
いて、図2を参照してさらに詳細に説明する。図2に、
図1に示される符号化部103の構成のブロック図を示
す。また、図2は、本発明に係る符号化装置の一実施形
態の構成のブロック図を示すものでもある。
Next, the encoding section 103 shown in FIG. 1 will be described in more detail with reference to FIG. In FIG.
FIG. 2 shows a block diagram of a configuration of an encoding unit 103 shown in FIG. FIG. 2 also shows a block diagram of a configuration of an embodiment of the encoding device according to the present invention.

【0039】符号化部103の構成としては、画情報を
文字や図形等の単位で小ブロック領域に分割する画像領
域分割手段201と、分割された画像の画像情報を保存
する領域画像情報保存手段202と、以前に登場して領
域画像情報保存手段202で保存されている小ブロック
領域の画像の中から注目する小ブロックの画像と類似す
る小ブロック領域の画像を選択抽出する類似画像選択手
段203と、選択抽出された類似小ブロック領域の画像
が注目する小ブロック領域の画像と同一であるか否か、
及び同一でない場合、小ブロック領域の類似小ブロック
領域として有効であるか否かを判定する類似画像判定手
段204と、類似画像判定手段204で同一であると判
定された場合に小ブロック領域の画像を類似小ブロック
領域の画像情報を用いて符号化を行う画像一致符号化手
段205と、注目小ブロック領域の画像を類似小ブロッ
ク領域の画像から予測して符号化を行う類似予測符号化
手段206と、注目小ブロック領域の画像を類似小ブロ
ック領域の画像を用いずに予測符号化を行う予測符号化
手段207と、画像一致符号化手段205、類似予測符
号化手段206、及び予測符号化手段207のそれぞれ
から出力された3つの符号化結果を元に、相手方に送信
する符号を作成する符号情報作成手段208とから構成
されている。
The coding unit 103 includes an image area dividing unit 201 for dividing image information into small block areas in units of characters, figures, and the like, and an area image information storing unit for storing image information of divided images. A similar image selecting unit 203 for selectively extracting an image of a small block region similar to the image of the small block of interest from among the small block region images that have previously appeared and stored in the region image information storing unit 202; Whether or not the image of the selected and extracted similar small block area is the same as the image of the small block area of interest,
If not the same, the similar image determining unit 204 that determines whether or not the small block region is effective as a similar small block region, and the image of the small block region when the similar image determining unit 204 determines that they are the same. , Using the image information of the similar small block region, and a similar prediction encoding unit 206 that predicts and codes the image of the small block region of interest from the image of the similar small block region. A predictive coding unit 207 that performs predictive coding of the image of the small block region of interest without using an image of the similar small block region, an image matching coding unit 205, a similar predictive coding unit 206, and a predictive coding unit 207 based on the three encoding results output from each of the 207s.

【0040】次に、図2に示される符号化部の動作につ
いて以下に説明する。まず符号化するために入力された
画情報(画像)は画像領域分割手段201に入力され、
文字や図形等の単位に分割される。分割された画情報は
領域画像情報保存手段202に入力され、分割された小
ブロック領域の画像の保存が行われる。続いて類似画像
選択手段203によって注目小ブロック領域の画像と類
似する小ブロック領域が領域画像情報保存手段202に
保存されている画像情報を元に選択抽出される。
Next, the operation of the encoding unit shown in FIG. 2 will be described below. First, image information (image) input for encoding is input to the image area dividing means 201,
It is divided into units such as characters and figures. The divided image information is input to the area image information storage unit 202, and the image of the divided small block area is stored. Subsequently, the similar image selecting unit 203 selectively extracts a small block region similar to the image of the target small block region based on the image information stored in the region image information storing unit 202.

【0041】類似小ブロック領域が選択抽出されると、
続いて、類似画像判定手段204は、類似画像選択手段
203によって選択されたこの類似小ブロック領域の画
像が、注目小ブロック領域の画像と同一であるか、又は
注目小ブロック領域を符号化する際に有効な有効類似小
ブロック領域であるか否かを判断する。選択された類似
小ブロック領域の画像が注目小ブロック領域の画像と同
一の場合は画像一致符号化手段205によって類似小ブ
ロック領域の画像情報を用いて符号化が実行される。
When the similar small block area is selectively extracted,
Subsequently, the similar image determining unit 204 determines whether the image of the similar small block region selected by the similar image selecting unit 203 is the same as the image of the small block region of interest or encodes the small block region of interest. Is determined to be an effective similar small block area. If the selected image of the similar small block area is the same as the image of the small block area of interest, the image matching encoding unit 205 performs encoding using the image information of the similar small block area.

【0042】選択された類似小ブロック領域の画像が注
目小ブロック領域の画像の類似画像として有効であると
判定された場合は、類似予測符号化手段206によって
類似小ブロック領域の画像の画像情報、及び類似小ブロ
ック領域の画像を用いて予測を行い注目小ブロック領域
の画像を符号化する。選択された類似小ブロック領域の
画像が注目小ブロック領域の画像の類似画像として有効
ではないと判定された場合は、予測符号化手段207に
よって類似小ブロック領域の画像を用いない通常の方法
で予測を行い注目小ブロック領域の画像を符号化する。
以上が基本的な動作である。
If it is determined that the selected image of the similar small block area is valid as the similar image of the image of the small block area of interest, the similar prediction encoding means 206 outputs the image information of the image of the similar small block area, Then, prediction is performed using the image of the similar small block region, and the image of the target small block region is encoded. If it is determined that the selected image of the similar small block region is not valid as the similar image of the image of the small block region of interest, the prediction encoding unit 207 predicts the image using a normal method that does not use the image of the similar small block region. And encode the image of the small block area of interest.
The above is the basic operation.

【0043】次に、図2に示される個々の部材の動作に
ついて以下にさらに詳細に説明する。まず、画像領域分
割手段201により分割された小ブロック領域の、領域
画像情報保存手段202において保存する情報である
が、この情報として小ブロック領域の画像の位置情報と
大きさとを保存する方法が考えられる。これは実際の画
像を保存する場合に比べて情報量を小さくすることがで
きるからである。また、これら保存する情報はインデク
スを付して管理することが考えられる。これによればイ
ンデクス番号を知るだけで領域画像を参照でき、非常に
効率的になるからである。
Next, the operation of the individual members shown in FIG. 2 will be described in more detail below. First, information on the small block area divided by the image area dividing means 201 is stored in the area image information storage means 202. As this information, a method of storing the position information and the size of the image of the small block area is considered. Can be This is because the amount of information can be reduced as compared with the case where an actual image is stored. In addition, it is conceivable that the information to be stored is managed by adding an index. According to this, the area image can be referred to only by knowing the index number, which is very efficient.

【0044】次に、類似画像判定手段204が行う判定
方法としては色々考えられるが、単純に以前に登場した
小ブロック領域の画像と、注目小ブロック領域の画像と
の不一致画素数から判定する方法が考えられる。この方
法は非常に単純な構成で実現でき、処理の高速化が可能
である。判定例としては、不一致画素が無ければ同一で
あると判定し、不一致画素がある定められた数または割
合より少ない場合には類似画像は有効であると判定し、
そうでない場合は類似画像は無効であると判定する方法
が挙げられる。
Next, although various methods can be considered as the determination method performed by the similar image determination means 204, a method of simply determining from the number of mismatched pixels between the image of the small block region that has appeared before and the image of the small block region of interest. Can be considered. This method can be realized with a very simple configuration, and can speed up the processing. As a determination example, if there is no mismatching pixel, it is determined that they are the same, and if the number of mismatching pixels is smaller than a predetermined number or ratio, it is determined that the similar image is valid,
Otherwise, there is a method of determining that the similar image is invalid.

【0045】さらに、注目小ブロック領域の画像をどの
ように符号化するかについては、以下に説明するような
方式であっても良い。以下に説明する方式は、2つのし
きい値Th、及びTh0を用いて、注目小ブロック領域
の画像の符号化を決定する方式である。
Further, as to how to encode the image of the small block area of interest, the following method may be used. The method described below is a method of determining the encoding of the image of the small block area of interest using two thresholds Th and Th0.

【0046】この、本発明に係る符号化装置における符
号化の処理の一例について、図9を参照して詳細に説明
する。図9に、本発明に係る符号化装置の符号化の処理
の一例のフローチャートを示す。ただし、図9を説明す
る場合は、本明細書及び図面に用いられる用語と異な
る、通常当業者に用いられる用語を用いて説明する。そ
のため、図9においては、「注目パターン」とは、本明
細書及び図面中における用語のうち、「注目小ブロック
領域」のことをいい、「一致符号化」とは、図2に示さ
れる画像一致符号化手段205による符号化をいい、
「パターン参照符号化」とは、図2に示される類似予測
符号化手段206による符号化をいい、「パターン符号
化」とは、図2に示される予測符号化手段207による
符号化をいう。さらに、「パターン登録」とは、図2に
示される領域画像情報保存手段202における保存を意
味する。
An example of the encoding process in the encoding device according to the present invention will be described in detail with reference to FIG. FIG. 9 shows a flowchart of an example of the encoding process of the encoding device according to the present invention. However, when describing FIG. 9, description will be made using terms that are different from terms used in the present specification and the drawings and are generally used by those skilled in the art. Therefore, in FIG. 9, the “pattern of interest” refers to the “small block region of interest” in the terms of the present specification and the drawings, and “coincidence encoding” refers to the image shown in FIG. 2. Refers to encoding by the coincidence encoding means 205,
“Pattern reference encoding” refers to encoding by the similar prediction encoding unit 206 shown in FIG. 2, and “pattern encoding” refers to encoding by the prediction encoding unit 207 shown in FIG. Further, “pattern registration” means storage in the area image information storage unit 202 shown in FIG.

【0047】図9に示される符号化は、lossy(い
わゆる、不可逆変換)による符号化の流れである。この
場合、ステップS91において、前述の注目パターンの
一致度を判断し、一致度≧Th0であればステップS9
3に移行して一致符号化を行い、Th0>一致度≧Th
であればステップS95に移行してパターン参照符号化
を行い、一致度<ThであればステップS97に移行し
てパターン符号化を行う。
The encoding shown in FIG. 9 is a flow of encoding by lossy (so-called irreversible transformation). In this case, in step S91, the degree of coincidence of the pattern of interest is determined.
3 and performs match coding, and Th0> match degree ≧ Th
If so, the process proceeds to step S95 to perform pattern reference encoding. If the degree of coincidence <Th, the process proceeds to step S97 to perform pattern encoding.

【0048】ステップS95におけるパターン参照符号
化、及びステップS97におけるパターン符号化の後
は、ステップS99に移行して、パターン登録を実行す
る。ここで、Thとは、一致度のしきい値であり、Th
0とは、一致符号化のしきい値である。
After the pattern reference encoding in step S95 and the pattern encoding in step S97, the flow shifts to step S99 to execute pattern registration. Here, Th is a threshold value of the degree of coincidence, and Th is
0 is a threshold value of the coincidence coding.

【0049】この図9に示されるフローチャートを参照
すると明らかなように、本発明に係る符号化装置におけ
る画質と符号化効率の制御は、ThとTh0の両パラメ
ータで制御できる。
As is clear from the flowchart shown in FIG. 9, the control of the image quality and the coding efficiency in the coding apparatus according to the present invention can be controlled by both Th and Th0 parameters.

【0050】また、一致度は注目パターンと選択された
マッチング(選択)パターン(例えば、以前に登場した
小ブロック領域の画像のことをいう。)とのEX−OR
の結果としているが、さらに具体的に言うと、処理にお
いては次の式で計算される値を用いる。一致度=(選択
パターンとの一致画素数)/(注目パターンの総画素
数)。なお、Th0(Th0>Th)についてはシミュ
レーションで決定する。
The degree of coincidence is EX-OR between the pattern of interest and the selected matching (selection) pattern (for example, an image of a small block area that has appeared before).
More specifically, a value calculated by the following equation is used in the processing. Matching degree = (number of pixels matching the selected pattern) / (total number of pixels of the pattern of interest). Note that Th0 (Th0> Th) is determined by simulation.

【0051】続いて、図2に示される画像一致符号化手
段205、類似予測符号化手段206、及び予測符号化
手段207の符号化動作についてさらに詳細に説明す
る。画像一致符号化手段205では一致した類似小ブロ
ック領域の画像を表す領域画像情報保存手段202に保
存されている記憶列のインデクスと、注目小ブロック領
域が位置する位置情報とを符号化した符号を作成する。
Next, the encoding operation of the image coincidence encoding unit 205, the similar prediction encoding unit 206, and the prediction encoding unit 207 shown in FIG. 2 will be described in further detail. The image coincidence encoding unit 205 encodes a code obtained by encoding the index of the storage sequence stored in the region image information storage unit 202 representing the image of the similar similar small block region and the position information at which the target small block region is located. create.

【0052】類似予測符号化手段206は類似した類似
小ブロック領域の画像を表す領域画像情報保存手段20
2に保存されている記憶列のインデクスと注目小ブロッ
ク領域が位置する位置情報、及び類似小ブロック領域の
画像を利用して注目小ブロック領域の画像を符号化した
符号を作成する。
The similarity prediction encoding means 206 stores the area image information storing means 20 representing the image of the similar similar small block area.
A code that encodes the image of the small block area of interest is created using the index of the storage column stored in 2, the position information of the position of the small block area of interest, and the image of the similar small block area.

【0053】予測符号化手段207は注目小ブロック領
域の大きさと注目小ブロック領域が位置する位置情報、
及び注目小ブロック領域の画像を符号化した符号を作成
する。
The predictive coding means 207 calculates the size of the small block area of interest and the position information where the small block area of interest is located,
Then, a code is generated by encoding the image of the small block area of interest.

【0054】また、上記3つの符号化手段により符号化
された符号であることを識別するために、各符号列の先
頭に識別情報を設けることが好ましい。この識別情報
は、画像一致符号化手段205と類似予測符号化手段2
06と予測符号化手段207のいずれで符号化したかを
表すべく、各符号化手段により、各符号列の先頭に追加
される。また、符号情報作成手段208は、各符号化手
段により符号化された符号列からなる符号情報の終了を
表す識別情報を追加する。識別情報としては3つのモー
ドに、符号終了を表す識別情報を加えて4種類であるの
で最低でも2ビットで十分である。もちろんこの識別情
報も符号化してしまえば情報量は少なくなる。
It is preferable to provide identification information at the beginning of each code string in order to identify that the code is coded by the above three coding means. This identification information is transmitted to the image coincidence encoding unit 205 and the similar prediction encoding unit 2
In order to indicate which one of the code sequence 06 and the predictive coding unit 207 has been coded, each coding unit adds it to the beginning of each code string. Further, the code information creating unit 208 adds identification information indicating the end of the code information composed of the code string encoded by each encoding unit. As the identification information, there are four types including the identification information indicating the end of the code in addition to the three modes, so that at least two bits are sufficient. Of course, if this identification information is also encoded, the amount of information is reduced.

【0055】また、位置情報であるが単純に基点(例え
ば紙の左上)からの位置を符号化するよりは、注目小ブ
ロック領域の1つ前に符号化した小ブロック領域の位置
情報と、注目小ブロック領域の位置を表す位置情報との
差分を符号化することが考えられる。この方法は位置情
報として必用とされる絶対値が少なくなるため符号化情
報も少なくなると言う利点がある。
In addition to the position information, rather than simply coding the position from the base point (for example, the upper left of the paper), the position information of the small block area coded immediately before the target small block area and the focus It is conceivable to encode the difference from the position information indicating the position of the small block area. This method has the advantage that the absolute value required as the position information is reduced, so that the encoded information is also reduced.

【0056】さらに、この絶対値を少なくするために、
最も距離の近い格子点との差分情報を位置情報として符
号化することが考えられ、その場合は絶対値はさらに小
さくなり符号化効率は向上する。この場合について図6
を参照して説明する。図6に、位置情報を効率良く符号
化する際の概念図を示す。
Further, in order to reduce this absolute value,
It is conceivable that the difference information from the closest grid point is encoded as position information, in which case the absolute value is further reduced and the encoding efficiency is improved. In this case, FIG.
This will be described with reference to FIG. FIG. 6 shows a conceptual diagram when efficiently encoding position information.

【0057】図6に示されるように、位置情報として
は、offsetとして表される、小ブロック領域に含
まれる格子点間の距離が最も短くなる格子点の組を選択
している。
As shown in FIG. 6, as the position information, a set of grid points represented by offset and having the shortest distance between the grid points included in the small block area is selected.

【0058】次に、上述の画像一致符号化手段205、
類似予測符号化手段206、及び予測符号化手段207
により符号化された情報が、符号情報作成手段208に
より送信される符号とされた場合の概念図を図5を参照
して説明する。図5に、上記3つの符号化手段により符
号化された符号の概念図を示す。
Next, the above-described image coincidence encoding means 205,
Similar prediction encoding means 206 and prediction encoding means 207
A conceptual diagram in the case where the information encoded according to the above is a code transmitted by the code information creating means 208 will be described with reference to FIG. FIG. 5 shows a conceptual diagram of codes encoded by the above three encoding means.

【0059】次に、図2に示される類似画像選択手段2
03の動作について説明する。注目小ブロック領域の画
像に類似している類似小ブロック領域の選択方法とし
て、注目小ブロック領域と大きさが同一のもののみを検
索する方法が考えられる。これによれば検索に必要とさ
れる処理時間を短縮でき処理速度を向上することができ
る。
Next, the similar image selecting means 2 shown in FIG.
03 will be described. As a method for selecting a similar small block area similar to the image of the small block area of interest, a method of searching only those having the same size as the small block area of interest can be considered. According to this, the processing time required for the search can be reduced, and the processing speed can be improved.

【0060】次に、上記3つの符号化手段により実際に
適用される符号化方式の一例について、図7、及び図8
を参照して以下に説明する。図7に算術符号化方式を実
施する符号化手段の構成のブロック図を示し、図8に算
術符号化方式による符号化の概念図を示す。
Next, an example of an encoding method actually applied by the three encoding means will be described with reference to FIGS.
This will be described below with reference to FIG. FIG. 7 is a block diagram of a configuration of a coding unit that performs the arithmetic coding method, and FIG. 8 is a conceptual diagram of coding by the arithmetic coding method.

【0061】図7に示されるように、算術符号化方式
は、符号化では入力された画像データを予測情報作成部
(テンプレートと呼ぶこともある)701と呼ばれる部
分で符号化する画素と周囲の画素との状況により情報源
のマルコフ分離を行った予測データを作成し、この予測
データに基づき算術符号化部702で予測データを動的
に評価しながら符号化を行う。ここで、“マルコフ分
離”とは、“マルコフ情報源(Markov source )の状
態”と同じ意味で、state of Markov sourceと呼ばれる
ものである。
As shown in FIG. 7, in the arithmetic coding method, in the coding, input image data is encoded by a pixel to be encoded by a part called a prediction information creation unit (also referred to as a template) 701 and surrounding pixels. Predicted data in which Markov separation of an information source is performed according to the situation with pixels is generated, and encoding is performed based on the predicted data while an arithmetic coding unit 702 dynamically evaluates the predicted data. Here, “Markov separation” has the same meaning as “state of Markov source”, and is called a state of Markov source.

【0062】復号では入力された符号データを符号化時
と同じ予測情報作成部704で既に復号された画素で復
号しようとする画素の周囲の画素との状況により情報源
のマルコフ分離を行って復号しようとするデータの予測
データを作成し、この予測データに基づき算術復号部7
03で予測データを動的に評価しながら復号を行う。
In decoding, the input code data is decoded by performing Markov separation of the information source according to the situation of the pixels already decoded by the same prediction information creating unit 704 as the pixels at the time of coding and the surrounding pixels. The prediction data of the data to be created is created, and the arithmetic decoding unit 7
At 03, decoding is performed while dynamically evaluating the prediction data.

【0063】算術符号化方式は、従来のランレングス符
号化方式(MH,MR) よりは一般的に符号化効率が良いもの
である。その符号化方法は、[0,1]の数直線上の対
応区間(2進小数で[0.0・・・・0,0.1・・・
・1])を各シンボルの生起確率に応じて不等長に分割
していき、対象シンボル系列を対応する部分区間に割り
当て、再帰的に分割を繰り返していくことにより得られ
た区間内に含まれる点の座標を、少なくとも他の区間と
区別できる2進小数で表現してそのまま符号とするもの
である。
The arithmetic coding method generally has higher coding efficiency than the conventional run-length coding method (MH, MR). The encoding method is based on a corresponding section on the number line of [0, 1] (binary decimal [0.0... 0, 0.1.
[1]) is divided into unequal lengths according to the occurrence probabilities of the respective symbols, the target symbol sequence is assigned to the corresponding sub-interval, and is included in the interval obtained by repeating the division recursively. The coordinates of the point to be expressed are represented as binary decimal numbers that can be distinguished from at least other sections, and used as codes.

【0064】ここで、図8を参照して、シンボル系列’
0100’を例に算術符号化の概念を説明する。まず第
1シンボルの符号化時には全区間が’0’と’1’のシ
ンボルの生起確率の比に従ってA(0)とA(1)に分
割され、’0’の発生により区間A(0)が選択され
る。次に第2シンボルの符号化の際にはその状態におけ
る両シンボルの生起確率比によってA(0)がさらに分
割され、発生シンボル系列に対応する区間としてA(0
1)が選択される。
Here, referring to FIG.
The concept of arithmetic coding will be described with reference to 0100 'as an example. First, at the time of encoding the first symbol, the entire section is divided into A (0) and A (1) according to the ratio of the occurrence probabilities of the symbols '0' and '1', and the section A (0) is generated by the occurrence of '0'. Is selected. Next, when encoding the second symbol, A (0) is further divided by the occurrence probability ratio of both symbols in that state, and A (0) is defined as a section corresponding to the generated symbol sequence.
1) is selected.

【0065】このような分割と選択の処理の繰り返しに
より符号化が進んでいくものである。一方、復号化では
符号化と全く逆の処理を行い、符号が示す2進小数をも
とにシンボルを再生するものである。ここで重要なの
は、シンボルの符号化を行う際の数直線の幅であり、こ
の数直線の幅が符号化開始時と復号化開始時とで一致し
ないとシンボルを正確に再現できなくなってしまうとい
うことである。普通はこの数直線の幅を符号化側と復号
化側とで1としている。
Coding proceeds by repeating such division and selection processing. On the other hand, in the decoding, a process completely opposite to that of the encoding is performed, and the symbol is reproduced based on the binary decimal number indicated by the code. What is important here is the width of a number line when encoding a symbol. If the width of the number line does not match between the start of encoding and the start of decoding, the symbol cannot be accurately reproduced. That is. Normally, the width of this number line is set to 1 on the encoding side and the decoding side.

【0066】本発明では以上のような処理によって入力
された画像を符号化するものである。ここで、本発明に
係る符号化装置の符号化動作について、図4を参照して
説明する。図4に、本発明に係る符号化装置の符号化動
作のフローチャートを示す。
In the present invention, an image input by the above processing is encoded. Here, the encoding operation of the encoding device according to the present invention will be described with reference to FIG. FIG. 4 shows a flowchart of the encoding operation of the encoding device according to the present invention.

【0067】図4に示されるように、まず、画像領域分
割手段201により、入力画像の小ブロック領域への分
割処理が行われる(ステップS1)。次に、ステップS
3において、類似画像選択手段203が、符号化を行う
注目小ブロック領域と類似している類似小ブロック領域
を選択する。
As shown in FIG. 4, first, the image area dividing means 201 divides an input image into small block areas (step S1). Next, step S
In 3, the similar image selecting means 203 selects a similar small block area similar to the target small block area to be coded.

【0068】次に、類似画像判定手段204が、類似小
ブロック領域の画像が、注目小ブロック領域の画像と同
一であるか否かを判定する(ステップS5)。ここで、
注目小ブロック領域の画像と同一であると判定された場
合(Yes)は、ステップS7において、画像一致符号
化手段205が類似小ブロック領域の画像を使用しての
符号化を実行して、動作を終了する。
Next, the similar image determining means 204 determines whether or not the image of the similar small block region is the same as the image of the target small block region (step S5). here,
If it is determined that the image is the same as the image of the small block area of interest (Yes), in step S7, the image matching encoding unit 205 performs encoding using the image of the similar small block area, and performs the operation. To end.

【0069】ステップS5の判定において、注目小ブロ
ック領域の画像と同一でないと判定された場合(No)
は、次に、類似小ブロック領域の画像は、注目小ブロッ
ク領域の画像を符号化するのに有効であるか否かを判定
する(ステップS9)。
When it is determined in step S5 that the image is not the same as the image of the small block area of interest (No)
Next, it is determined whether or not the image of the similar small block region is effective for encoding the image of the small block region of interest (step S9).

【0070】ステップS9の判定において、注目小ブロ
ック領域の画像を符号化するのに有効であると判定され
た場合(Yes)は、類似予測符号化手段206が類似
画像を使用しての符号化を実行して、動作を終了する
(ステップS11)。
If it is determined in step S9 that it is effective to encode the image of the small block area of interest (Yes), the similar prediction encoding unit 206 performs encoding using the similar image. And terminate the operation (step S11).

【0071】ステップS9の判定において、注目小ブロ
ック領域の画像を符号化するのに有効でないと判定され
た場合(No)は、予測符号化手段207が類似画像を
使用せずに符号化を実行して、動作を終了する(ステッ
プS13)。
If it is determined in step S9 that the image of the small block area of interest is not effective for encoding (No), the predictive encoding means 207 executes encoding without using a similar image. Then, the operation ends (step S13).

【0072】次に、本発明に係る復号化装置の一実施形
態について図3を参照して説明する。図3に、本発明に
係る復号化装置の一実施形態のブロック図を示す。
Next, an embodiment of the decoding apparatus according to the present invention will be described with reference to FIG. FIG. 3 shows a block diagram of an embodiment of the decoding device according to the present invention.

【0073】図3に示されるように、この復号化装置の
構成は、入力した符号情報の符号化の種類を識別して、
画像一致復号手段301、類似予測復号手段302、若
しくは予測復号手段303に出力する識別手段306
と、注目小ブロック領域の画像に一致した類似小ブロッ
ク領域の画像を表す、領域画像情報保存手段202に保
存されている記憶列のインデクスを符号化した符号を復
号して、注目小ブロック領域の画像を再生する画像一致
復号手段301と、既に再生した小ブロック領域の画像
を元に予測して復号を行う類似予測復号手段302と、
既に再生した小ブロック領域の画像には無関係に予測復
号を行う予測復号手段303と、これら3つの復号手段
で再生された再生画像を保存する再生領域保存手段30
4と、これら3つの復号手段で再生された再生画像を結
合して全体の画像を再生する再生画像結合手段305と
から構成されている。
As shown in FIG. 3, the configuration of this decoding device is to identify the type of coding of the input code information,
Identification means 306 to output to image coincidence decoding means 301, similarity prediction decoding means 302, or prediction decoding means 303
And a code that encodes the index of the storage sequence stored in the area image information storage unit 202 that represents the image of the similar small block area that matches the image of the small block area of interest, and decodes the code of the small block area of interest. An image matching decoding unit 301 for reproducing an image, a similar prediction decoding unit 302 for performing prediction and decoding based on an image of a small block area which has already been reproduced,
Predictive decoding means 303 for performing predictive decoding irrespective of an image of a small block area which has already been reproduced, and reproduction area storage means 30 for storing reproduction images reproduced by these three decoding means.
4 and a reproduced image combining means 305 for combining the reproduced images reproduced by these three decoding means to reproduce the entire image.

【0074】次に、図3に示される復号化装置の動作に
ついて以下に詳細に説明する。まず、識別手段306
が、入力されてくる符号情報から注目符号が、インデク
スが符号化されたものなのか、類似小ブロック領域の画
像を用いて符号化されたものなのか、それとも類似小ブ
ロック領域の画像を用いないで符号化されたものかを識
別する。インデクスが符号化されたものである場合には
インデクスの情報から元の画像を再生して再生領域保存
手段304に出力する。
Next, the operation of the decoding apparatus shown in FIG. 3 will be described in detail. First, the identification means 306
Is the target code from the input code information, whether the index is coded, or is coded using the image of the similar small block region, or does not use the image of the similar small block region Identify whether or not it is encoded. If the index is coded, the original image is reproduced from the index information and output to the reproduction area storage unit 304.

【0075】類似小ブロック領域の画像を用いて符号化
されている符号の場合には、以前に登場した類似する小
ブロック領域の画像を利用して画像を再生して再生領域
保存手段304に出力する。類似小ブロック領域の画像
を用いずに符号化されている符号の場合には類似小ブロ
ック領域の画像を用いずに画像を再生して再生領域保存
手段304に出力する。再生領域保存手段304では再
生された小ブロック領域毎の画像を保存すると共に全体
の画像を作成するために再生画像結合手段305に画像
を出力する。再生画像結合手段305では各再生された
画像を最終的に結合して全体の画像を作成を行い、画像
情報として出力する。以上のことを要約すると、識別手
段306は、入力される符号情報に基づき同一領域と類
似領域と非類似領域とを識別する。再生領域保存手段3
04は、ブロック領域の画像情報を記憶する。画像一致
復号手段301は、識別手段306が同一領域と識別し
た場合に、再生領域保存手段304に記憶されているブ
ロック領域の画像情報を出力するように指示する。類似
予測復号手段302は、識別手段306が類似領域と識
別した場合に、再生領域保存手段304に記憶されてい
るブロック領域の画像情報に基づき予測復号化し、別の
ブロック領域の画像情報を作成して再生領域保存手段3
04に記憶する。予測復号手段303は、識別手段30
6が非類似領域と識別した場合に、符号情報を予測復号
化し、ブロック領域の画像情報を作成して再生領域保存
手段304に記憶する。再生画像結合手段305は、再
生領域保存手段304に記憶されたブロック領域の画像
情報に基づき全体の画像情報を作成する。
In the case of a code coded using the image of the similar small block area, the image is reproduced using the image of the similar small block area that has appeared before and output to the reproduction area storage means 304. I do. In the case of a code encoded without using the image of the similar small block area, the image is reproduced without using the image of the similar small block area and output to the reproduction area storage unit 304. The reproduction area storage unit 304 stores the reproduced image for each small block area and outputs the image to the reproduction image combining unit 305 in order to create the entire image. The reproduced image combining means 305 finally combines the reproduced images to create an entire image, and outputs it as image information. To summarize the above, the identification unit 306 identifies the same area, a similar area, and a dissimilar area based on the input code information. Reproduction area storage means 3
Reference numeral 04 stores image information of the block area. When the identification unit 306 identifies the same area, the image matching decoding unit 301 instructs to output the image information of the block area stored in the reproduction area storage unit 304. When the identification unit 306 identifies a similar region, the similar prediction decoding unit 302 performs predictive decoding based on the image information of the block region stored in the reproduction region storage unit 304, and creates image information of another block region. Playback area storage means 3
04. The predictive decoding means 303
When 6 is identified as a dissimilar area, the code information is predictively decoded, and the image information of the block area is created and stored in the reproduction area storage unit 304. The reproduced image combining means 305 creates the entire image information based on the image information of the block area stored in the reproduced area storage means 304.

【0076】従って、上記実施形態の符号化装置、及び
復号化装置によれば、画像領域分割手段201により分
割された小ブロック領域に対して符号化を行う際に、以
前に登場した小ブロック領域との対応関係を考慮し、注
目小ブロック領域の画像が以前に登場した小ブロック領
域と同一の画像であれば、画像一致符号化手段205が
符号化を行い、以前に登場した小ブロック領域と類似
し、かつ、注目小ブロック領域を符号化する際に有効で
ある場合は、類似予測符号化手段206が符号化を実行
し、以前に登場した類似小ブロック領域が、注目小ブロ
ック領域を符号化する際に有効でなければ、予測符号化
手段207が符号化を実行しているため、文字等で構成
された画像の符号化を、非常に効率的に行うことがで
き、さらにその復号化も同様である。
Therefore, according to the encoding apparatus and the decoding apparatus of the above embodiment, when encoding is performed on the small block area divided by the image area dividing means 201, the small block area previously appeared Considering the correspondence relationship, if the image of the small block area of interest is the same image as the small block area that appeared before, the image matching encoding unit 205 performs encoding, and If the similar small block area is effective when encoding the small block area of interest, the similar prediction encoding unit 206 executes the encoding, and the similar small block area that has appeared earlier encodes the small block area of interest. If it is not effective at the time of encoding, since the predictive encoding means 207 performs the encoding, the encoding of the image composed of characters and the like can be performed very efficiently, and It is the same.

【0077】[0077]

【発明の効果】以上の説明から明らかなように、請求項
1記載の発明によれば、パーソナルコンピュータやワー
ドプロセッサで作成された文字画像には文字の形状、大
きさ等の規則性が存在することが多く、それらの情報を
利用すれば文字画像においては非常に高い効率で符号化
が可能になることから、画像を文字等の小ブロック単位
に分割し、分割された小ブロック領域の画像を符号化す
る際に、既にその小ブロック領域と同じまたは類似した
ものが登場しているか否かを判断して、同じものである
場合には以前に登場した小ブロック領域の情報を利用し
て符号化を行い、類似である場合には類似小ブロック領
域の画像を利用して符号化を行い、そうでない場合は通
常の予測符号化を行うので、非常に高い効率で符号化が
可能となる符号化装置を提供することができる。
As is apparent from the above description, according to the first aspect of the present invention, a character image created by a personal computer or a word processor has regularity such as character shape and size. If such information is used, character images can be coded with very high efficiency, so the image is divided into small blocks such as characters, and the image of the divided small block area is encoded. At the time of conversion, it is determined whether or not the same or similar one has already appeared in the small block area, and if it is the same, encoding is performed using the information of the previously appeared small block area. And if it is similar, the encoding is performed using the image of the similar small block area; otherwise, normal prediction encoding is performed, so that encoding that can be encoded with extremely high efficiency It is possible to provide a location.

【0078】また、請求項2記載の発明によれば、小ブ
ロック領域の画像を保存する場合には画像そのものを保
存する方法が考えられるが、その場合記憶領域の大きさ
が大きくなってしまう問題がある。そこで、既に登場し
た小ブロック領域であれば領域の大きさと位置を記憶し
ておけば、実際の小ブロック領域の画像は参照すること
が可能となり、また、これらをインデクスを付した記憶
列とすればインデクスを参照するだけで目的の画像を参
照することが可能となり、従って、領域画像情報保存手
段では領域の大きさと位置情報のみを記憶した記憶列を
保存するので、記憶領域が大きくなるのを回避すること
が可能な符号化装置を提供することができる。
According to the second aspect of the present invention, when an image of a small block area is stored, a method of storing the image itself can be considered, but in this case, the size of the storage area becomes large. There is. Therefore, if the size and position of the small block area that has already appeared are stored, the image of the actual small block area can be referred to, and these can be used as indexed storage columns. For example, it is possible to refer to the target image only by referring to the index. Therefore, the region image information storage means stores a storage sequence storing only the size and the position information of the region. An encoding device that can be avoided can be provided.

【0079】また、請求項3記載の発明によれば、画像
を小ブロック領域の単位毎に符号化することは、符号化
時においては必ずしも登場する小ブロック領域の順序で
符号化をしなくても良いという利点や、復号時に任意の
小ブロック領域のみを抽出復号できるという利点があ
り、また、小ブロック領域の符号化を行う場合、既に登
場した画像であればそのインデクスのみを符号化すれば
効率的であるし、類似する画像があれば類似する小ブロ
ック領域の画像を用いて予測符号化を行えば符号化効率
は良くなる。そこで、本発明ではこれらの利点を利用し
て、画像一致符号化手段では一致した類似小ブロック領
域の画像を表すインデクスを符号化することで高能率な
符号化を、類似予測符号化手段は類似した類似小ブロッ
ク領域の画像を表すインデクスと、注目小ブロック領域
の画像とを利用して注目小ブロック領域を符号化して符
号を作成することにより、高能率な符号化を行うことが
可能な符号化装置を提供することができる。
According to the third aspect of the present invention, encoding an image in units of small block areas does not necessarily require encoding in the order of small block areas that appear during encoding. There is an advantage that it is also good, and there is an advantage that it is possible to extract and decode only an arbitrary small block area at the time of decoding, and when encoding a small block area, if an image that has already appeared is encoded only its index It is efficient, and if there is a similar image, the encoding efficiency is improved by performing predictive encoding using an image of a similar small block area. Therefore, in the present invention, by utilizing these advantages, the image matching encoding means encodes an index representing an image of a similar similar small block area, thereby achieving highly efficient encoding. A code capable of performing high-efficiency coding by coding a target small block region using an index representing an image of a similar small block region and an image of the target small block region to generate a code. Device can be provided.

【0080】また、請求項4記載の発明は、パーソナル
コンピュータやワードプロセッサで作成された文字画像
は文字の並びや間隔に規則性があることが多いことに着
目し、位置情報の符号量はその絶対値が少ないほど効率
は良くなるため、注目小ブロック領域の近傍の小ブロッ
ク領域の位置情報を利用して位置情報に必要とされる絶
対値を少なくすることにより、高能率な符号化を行うこ
とが可能な符号化装置を提供することができる。
The invention according to claim 4 focuses on the fact that character images created by a personal computer or a word processor often have regularity in the arrangement and spacing of characters, and the code amount of position information is determined by its absolute value. Since the smaller the value is, the higher the efficiency is, it is possible to perform highly efficient encoding by reducing the absolute value required for the position information by using the position information of the small block area near the small block area of interest. Can be provided.

【0081】また、請求項5記載の発明は、位置情報の
符号量はその絶対値が少ないほど効率が良くなるという
点に着目し、注目小ブロック領域の近傍の小ブロック領
域の位置情報を利用する場合にも、最も近い格子点間の
情報を利用して位置情報に必要とされる絶対値を少なく
することにより、高能率な符号化を行うことが可能な符
号化装置を提供することができる。
The invention according to claim 5 focuses on the fact that the smaller the absolute value of the code amount of the position information, the higher the efficiency, and utilizes the position information of the small block area near the small block area of interest. In this case, it is possible to provide an encoding device capable of performing highly efficient encoding by reducing the absolute value required for position information by using information between nearest lattice points. it can.

【0082】また、請求項6記載の発明は、各符号に識
別情報を付加することで復号側で誤り無く注目小ブロッ
ク領域の画情報を再生可能になると共に、識別情報によ
り復号側での処理を容易に決定できるので処理速度を向
上することが可能な符号化装置を提供することができ
る。
According to the present invention, the image information of the small block area of interest can be reproduced without error on the decoding side by adding identification information to each code, and the processing on the decoding side can be performed based on the identification information. Can be easily determined, so that an encoding device capable of improving the processing speed can be provided.

【0083】また、請求項7記載の発明は、類似画像選
択手段が、注目小ブロック領域の大きさと一致する小ブ
ロック領域のみを検索し、類似小ブロック領域として選
択することにより、構成が簡単で高速に検索を実行する
ことが可能な符号化装置を提供することができる。
Further, according to the invention of claim 7, the similar image selecting means retrieves only the small block area that matches the size of the small block area of interest and selects it as a similar small block area, so that the configuration is simple. An encoding device capable of executing a search at high speed can be provided.

【0084】また、請求項8記載の発明は、類似画像判
定手段は、注目小ブロック領域と選択された類似小ブロ
ック領域との間における不一致な画素数を計数し、その
画素数に基づいて判定を実行することにより、構成が簡
単で高速に判定を実行することが可能な符号化装置を提
供することができる。
According to an eighth aspect of the present invention, the similar image determining means counts the number of inconsistent pixels between the target small block area and the selected similar small block area, and determines based on the number of pixels. , It is possible to provide an encoding device having a simple configuration and capable of executing the determination at high speed.

【0085】さらに、請求項9記載の発明は、インデク
スの情報が符号化されている場合にはインデクスの情報
から元の画像を再生し、類似小ブロック領域の画像を用
いて符号化されている場合には類似する小ブロック領域
の画像を利用して画像を再生し、類似小ブロック領域の
画像を用いずに符号化されている符号の場合には類似小
ブロック領域の画像を用いずに画像を再生し、各再生さ
れた画像を最終的に結合して全体の画像を作成すること
ができるので、高能率に符号化された符号に基づき、誤
り無く画像を再生することが可能な復号化装置を提供す
ることができる。
Further, according to the ninth aspect of the present invention, when the index information is encoded, the original image is reproduced from the index information and encoded using the image of the similar small block area. In the case where the image is reproduced using the image of the similar small block area, the image is reproduced without using the image of the similar small block area when the code is encoded without using the image of the similar small block area. To reproduce the image and finally combine the reproduced images to form the entire image, so that decoding can be performed without error based on highly efficient encoded codes. An apparatus can be provided.

【0086】次に、図10、及び図11を参照して、本
発明に係る符号化装置の符号化性能と、従来のJBIG
−1の符号化性能との比較を行う。ただし、以下の図1
0、及び図11に示される#4とは、画像(Imag
e)の種類を表す番号であり、#4の画像は、横書きで
テキスト数が多い画像を表す。その他にも、#2や#8
の画像が、手書きの画像であったり、#3、#5、#6
の画像が、表や図が混在した画像であるとして良い。
Next, with reference to FIGS. 10 and 11, the coding performance of the coding apparatus according to the present invention and the conventional JBIG
Compare with the coding performance of -1. However, the following FIG.
0 and # 4 shown in FIG. 11 correspond to the image (Imag
This is a number representing the type of e), and the image # 4 represents an image with a large number of texts in horizontal writing. In addition, # 2 and # 8
Are handwritten images, # 3, # 5, # 6
May be an image in which tables and figures are mixed.

【0087】図10に、lossy(いわゆる、不可逆
変換)時の、本発明に係る符号化装置の符号化性能と、
従来のJBIG−1の符号化性能との比較結果の表1を
示す。
FIG. 10 shows the coding performance of the coding apparatus according to the present invention at the time of lossy (so-called irreversible transformation),
Table 1 shows the result of comparison with the encoding performance of the conventional JBIG-1.

【0088】ここで、図10に示される表1において
は、図9のフローチャートにおいて、Th0=90、T
h=85とした場合の圧縮結果を示している。表1中、
new(t2)の欄が本発明に係る符号化装置の値であ
り、整数値は符号量(byte)であり、比率は、JB
IG−1との比率を示している。
Here, in Table 1 shown in FIG. 10, in the flowchart of FIG.
This shows the compression result when h = 85. In Table 1,
The column of new (t2) is the value of the encoding device according to the present invention, the integer value is the code amount (byte), and the ratio is JB.
The ratio with IG-1 is shown.

【0089】図10に示される表1を参照すると明らか
なように、Resolution(解像度)が400
〔dpi〕で、Imageが#4の場合、JBIG−1
では、符号量が99802byteであるのに対して、
本発明に係る符号化装置、即ちnew(t2)では、4
8749byteとなっている。従って、JBIG−1
/new(t2)=2.05となっている。
As apparent from Table 1 shown in FIG. 10, the resolution (resolution) is 400.
In [dpi], when Image is # 4, JBIG-1
Then, while the code amount is 99802 bytes,
In the encoding device according to the present invention, that is, new (t2), 4
8749 bytes. Therefore, JBIG-1
/New(t2)=2.05.

【0090】図10に示される表1を見ても分かるよう
に、本発明に係る符号化装置では、#4のような横書き
でテキスト数が多い画像に対して、JBIG−1に比べ
て約100%も符号化効率が向上している。図10に示
される表1の結果は、lossy時の結果であるため、
再生画質との関係もあるが、JBIG−1を越えている
ことは明らかである。
As can be seen from Table 1 shown in FIG. 10, in the encoding apparatus according to the present invention, an image such as # 4 having a large number of texts in a horizontal writing mode is more effective than JBIG-1. The coding efficiency is improved by 100%. Since the result of Table 1 shown in FIG. 10 is a result at the time of lossy,
Although there is a relationship with the reproduction image quality, it is clear that the value exceeds JBIG-1.

【0091】次に、lossless(いわゆる、可逆
変換)時の性能比較について説明する。図11に、lo
ssless時の、本発明に係る符号化装置の符号化性
能と、従来のJBIG−1の符号化性能との比較結果の
表2を示す。
Next, the performance comparison at the time of lossless (so-called reversible conversion) will be described. FIG.
Table 2 shows a comparison result between the coding performance of the coding apparatus according to the present invention and the coding performance of the conventional JBIG-1 at the time of sless.

【0092】ここで、図11に示される表2において
は、本発明に係る符号化装置の圧縮結果を示している。
表2中、newの欄が本発明に係る符号化装置の値であ
り、整数値は符号量(byte)であり、比率は、JB
IG−1との比率を示している。
Here, Table 2 shown in FIG. 11 shows the compression result of the encoding apparatus according to the present invention.
In Table 2, the column of new is the value of the encoding device according to the present invention, the integer value is the code amount (byte), and the ratio is JB.
The ratio with IG-1 is shown.

【0093】図11に示される表2を参照すると明らか
なように、Resolution(解像度)が400
〔dpi〕で、Imageが#4の場合、JBIG−1
では、符号量が99802byteであるのに対して、
本発明に係る符号化装置、即ちnewでは、79707
byteとなっている。従って、JBIG−1/new
=1.25となっている。
As is apparent from Table 2 shown in FIG. 11, the resolution (resolution) is 400.
In [dpi], when Image is # 4, JBIG-1
Then, while the code amount is 99802 bytes,
In the encoding device according to the present invention, that is, in the new, 79707
byte. Therefore, JBIG-1 / new
= 1.25.

【0094】図11に示される表2を参照すると明らか
なように、本発明に係る符号化装置では、JBIG−1
に比べてlossless時において同等以上の性能を
有しているのがわかる。特に#4のような横書きでテキ
スト数が多いものに対しては、JBIG−1に比べて約
25%も符号化効率が向上している。JBIG−1が現
時点で最高の効率を示す2値lossless符号化方
式であることを考えると、本発明に係る符号化装置の優
位性は大きいと言える。
As is apparent from Table 2 shown in FIG. 11, the encoding apparatus according to the present invention uses the JBIG-1
It can be seen that it has the same or better performance at the time of the lossless as compared with. In particular, the coding efficiency is improved by about 25% as compared with JBIG-1 for a horizontally written text having a large number of texts such as # 4. Considering that JBIG-1 is a binary lossless coding scheme showing the highest efficiency at present, it can be said that the superiority of the coding apparatus according to the present invention is large.

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

【図1】本発明に係る符号化装置、及び復号化装置の一
実施形態を具備するファクシミリの構成のブロック図で
ある。
FIG. 1 is a block diagram of a configuration of a facsimile provided with an embodiment of an encoding device and a decoding device according to the present invention.

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

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

【図4】図2に示される符号化部の動作を示すフローチ
ャートである。
FIG. 4 is a flowchart showing an operation of the encoding unit shown in FIG.

【図5】図2に示される符号化部により送信される符号
の概念図である。
FIG. 5 is a conceptual diagram of a code transmitted by the encoding unit shown in FIG.

【図6】図2に示される符号化部が位置情報を符号化す
る際の概念図である。
6 is a conceptual diagram when the encoding unit shown in FIG. 2 encodes position information.

【図7】図2に示される符号化部により行われる算術符
号化方式を実行する動作部のブロック図である。
7 is a block diagram of an operation unit that executes an arithmetic coding method performed by the coding unit illustrated in FIG. 2;

【図8】図7に示される算術符号化方式の動作部による
算術符号化方式の概念図である。
8 is a conceptual diagram of an arithmetic coding method by an operation unit of the arithmetic coding method shown in FIG. 7;

【図9】本発明に係る符号化装置の符号化の一例のフロ
ーチャートである。
FIG. 9 is a flowchart of an example of encoding performed by the encoding device according to the present invention.

【図10】本発明に係る符号化装置の性能を説明するた
めの表である。
FIG. 10 is a table for explaining the performance of the encoding device according to the present invention.

【図11】本発明に係る符号化装置の性能を説明するた
めの表である。
FIG. 11 is a table for explaining the performance of the encoding device according to the present invention.

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

101 画像読取部 102 画像処理部 103 符号化部 104 復号部 105 画像処理部 106 画像出力部 201 画像領域分割手段 202 領域画像情報保存手段 203 類似画像選択手段 204 類似画像判定手段 205 画像一致符号化手段 206 類似予測符号化手段 207 予測符号化手段 208 符号情報作成手段 301 画像一致復号手段 302 類似予測復号手段 303 予測復号手段 304 再生領域保存手段 305 再生画像結合手段 306 識別手段 701 予測情報作成部 702 算術符号化部 703 算術復号部 704 予測情報作成部 DESCRIPTION OF SYMBOLS 101 Image reading part 102 Image processing part 103 Encoding part 104 Decoding part 105 Image processing part 106 Image output part 201 Image area division means 202 Area image information storage means 203 Similar image selection means 204 Similar image determination means 205 Image coincidence encoding means 206 Similar prediction coding means 207 Predictive coding means 208 Code information creation means 301 Image coincidence decoding means 302 Similar prediction decoding means 303 Prediction decoding means 304 Playback area storage means 305 Playback image combining means 306 Identification means 701 Prediction information creation unit 702 Arithmetic Encoding unit 703 Arithmetic decoding unit 704 Prediction information creation unit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 入力された画像情報を文字、若しくは図
形単位でブロック領域に分割する画像領域分割手段と、 該画像領域分割手段から入力されたブロック領域の画像
情報を複数保存する領域画像情報保存手段と、 該画像領域分割手段から入力されたブロック領域を注目
ブロック領域とし、該領域画像情報保存手段に保存され
た複数のブロック領域を参照ブロック領域として、注目
ブロック領域の画像情報と参照ブロック領域の画像情報
とを比較し、注目ブロック領域の画像情報と類似する参
照ブロック領域の画像情報を選択して抽出する類似画像
選択手段と、 前記類似画像選択手段により選択された参照ブロック領
域の画像情報が前記注目ブロック領域の画像情報と同一
であるとき、注目ブロック領域を同一領域と判定し、該
参照ブロック領域の画像情報が、前記注目ブロック領域
の画像情報と同一でなく類似であるとき、注目ブロック
領域を類似領域と判定し、該参照ブロック領域の画像情
報が、前記注目ブロック領域の画像領域と同一でも類似
でもないとき、注目ブロック領域を非類似領域と判定す
る類似画像判定手段と、 前記同一領域と判定された注目ブロック領域の画像情報
を、前記領域画像情報保存手段に記憶された対応する参
照ブロック領域の画像情報を用いて符号化する画像一致
符号化手段と、 前記類似領域と判定された注目ブロック領域の画像情報
を、前記領域画像情報保存手段に記憶された対応する参
照ブロック領域の画像情報と前記注目ブロック領域の画
像情報とに基づいて予測して符号化する類似予測符号化
手段と、 前記非類似領域と判定された注目ブロック領域の画像情
報を、前記注目ブロック領域の画像情報に基づいて予測
して符号化する予測符号化手段と、 前記画像一致符号化手段と類似予測符号化手段と予測符
号化手段から出力された符号化結果に基づき、符号情報
を作成する符号情報作成手段とを備えることを特徴とす
る符号化装置。
1. An image area dividing means for dividing input image information into block areas in units of characters or figures, and an area image information storing means for storing a plurality of image information of the block areas input from the image area dividing means. Means; a block area input from the image area dividing means as a target block area; and a plurality of block areas stored in the area image information storage means as reference block areas. Image information of a reference block area similar to the image information of the target block area, and image information of the reference block area selected by the similar image selection means. Is the same as the image information of the target block area, the target block area is determined to be the same area, and the reference block When the image information of the area is not the same as the image information of the target block area but is similar, the target block area is determined to be a similar area, and the image information of the reference block area is the same as the image information of the target block area. And if not similar, a similar image determining means for determining the target block area as a non-similar area; and image information of the target block area determined to be the same area as a corresponding reference stored in the area image information storing means. An image matching encoding unit that encodes using the image information of the block region; and an image of the corresponding reference block region stored in the region image information storage unit, the image information of the target block region determined to be the similar region. Predictive encoding means for predicting and encoding based on the information and the image information of the target block area, and a target block determined as the non-similar area. Prediction coding means for predicting and coding the image information of the block area based on the image information of the block area of interest; output from the image coincidence coding means, the similar prediction coding means, and the prediction coding means. And a code information creating means for creating code information based on the encoded result.
【請求項2】 前記領域画像情報保存手段が、前記ブロ
ック領域の大きさと位置情報とを表す記憶列を保存する
ことを特徴とする請求項1に記載の符号化装置。
2. The encoding apparatus according to claim 1, wherein said area image information storage means stores a storage sequence indicating the size and position information of said block area.
【請求項3】 前記画像一致符号化手段が、前記同一領
域と判定された注目ブロック領域の画像情報を表す記憶
列のインデクスと位置情報とを用いて符号化し、 前記類似予測符号化手段が、前記類似領域と判定された
注目ブロック領域の画像情報を表す記憶列のインデクス
と位置情報と該画像情報とに基づいて予測して符号化
し、 前記予測符号化手段が、前記非類似領域と判定された注
目ブロック領域の大きさと位置情報と該画像情報に基づ
いて符号化することを特徴とする請求項2に記載の符号
化装置。
3. The image coincidence encoding unit encodes using an index and a position information of a storage sequence representing image information of a block region of interest determined to be the same region, wherein the similar prediction encoding unit includes: Predicting and encoding based on the index, position information, and the image information of the storage sequence representing the image information of the target block area determined to be the similar area, and the predictive encoding unit is determined to be the non-similar area. 3. The coding apparatus according to claim 2, wherein coding is performed based on the size and position information of the noted block area and the image information.
【請求項4】 前記画像一致符号化手段と類似予測符号
化手段と予測符号化手段が、前記注目ブロック領域の先
の注目ブロック領域の位置情報と前記注目ブロック領域
の位置情報との差分に基づき注目ブロック領域の位置情
報を符号化することを特徴とする請求項3に記載の符号
化装置。
4. The image coincidence encoding unit, the similar prediction encoding unit, and the prediction encoding unit, based on a difference between position information of the target block region ahead of the target block region and position information of the target block region. The encoding apparatus according to claim 3, wherein the position information of the block area of interest is encoded.
【請求項5】 前記画像一致符号化手段と類似予測符号
化手段と予測符号化手段が、該注目ブロック領域の先の
注目ブロック領域と注目ブロック領域との最も近い端部
同士の距離の差分に基づき前記注目ブロック領域の位置
情報を符号化することを特徴とする請求項3又は4に記
載の符号化装置。
5. The image coincidence encoding unit, the similar prediction encoding unit, and the prediction encoding unit calculate a difference between the distances between the nearest end portions of the target block region and the target block region. The encoding device according to claim 3, wherein the position information of the target block area is encoded based on the position information.
【請求項6】 前記画像一致符号化手段と類似予測符号
化手段と予測符号化手段が、各符号化手段のいずれで符
号化したかを表す第1の識別情報を追加するとともに、
前記符号情報作成手段が、符号情報の終了を表す第2の
識別情報を追加することを特徴とする請求項1から5の
いずれかに記載の符号化装置。
6. The image coincidence encoding unit, the similar prediction encoding unit, and the prediction encoding unit add first identification information indicating which of the encoding units has encoded the image, and
The encoding device according to claim 1, wherein the code information creating unit adds second identification information indicating the end of the code information.
【請求項7】 前記類似画像選択手段が、前記注目ブロ
ック領域と同一の大きさの参照ブロック領域を選択して
抽出することを特徴とする請求項1から6のいずれかに
記載の符号化装置。
7. The encoding apparatus according to claim 1, wherein said similar image selecting means selects and extracts a reference block area having the same size as the target block area. .
【請求項8】 前記類似画像選択手段が、前記注目ブロ
ック領域の画像情報と参照ブロック領域の画像情報とを
比較し、各々の画像情報を構成する画素の画像データの
不一致数に基づき判定をすることを特徴とする請求項1
から7のいずれかに記載の符号化装置。
8. The similar image selecting means compares the image information of the target block area with the image information of the reference block area, and makes a determination based on the number of mismatches of the image data of the pixels constituting each image information. 2. The method according to claim 1, wherein
8. The encoding device according to any one of claims 1 to 7.
【請求項9】 入力される符号情報に基づき同一領域と
類似領域と非類似領域とを識別する識別手段と、 ブロック領域の画像情報を記憶する再生領域保存手段
と、 前記識別手段が同一領域と識別した場合に、前記再生領
域保存手段に記憶されているブロック領域の画像情報を
出力するように指示する画像一致復号手段と、 前記識別手段が類似領域と識別した場合に、前記再生領
域保存手段に記憶されているブロック領域の画像情報に
基づき予測復号化し、別のブロック領域の画像情報を作
成して前記再生領域保存手段に記憶する類似予測復号手
段と、 前記識別手段が非類似領域と識別した場合に、符号情報
を予測復号化し、ブロック領域の画像情報を作成して前
記再生領域保存手段に記憶する予測復号手段と、 前記再生領域保存手段に記憶されたブロック領域の画像
情報に基づき全体の画像情報を作成する再生画像結合手
段とを備えることを特徴とする復号化装置。
9. An identification means for identifying the same area, a similar area and a dissimilar area based on input code information; a reproduction area storage means for storing image information of a block area; An image coincidence decoding unit that instructs to output image information of a block area stored in the reproduction area storage unit when the identification area is identified; and the reproduction area storage unit when the identification unit identifies the similar area. Predictive decoding based on the image information of a block area stored in the similar area, creating similar image information of another block area and storing the same in the reproduction area storage means; In this case, predictive decoding means for predictively decoding code information, creating image information of a block area, and storing the image information in the reproduction area storage means, and storing the image information in the reproduction area storage means. Decoding apparatus characterized by comprising a reproduction image combining means for generating image information of the entire basis of the image information of the block area.
JP30036498A 1997-10-15 1998-10-07 Coder and recoder Pending JPH11215381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30036498A JPH11215381A (en) 1997-10-15 1998-10-07 Coder and recoder

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP29775497 1997-10-15
JP9-297754 1997-10-15
JP30036498A JPH11215381A (en) 1997-10-15 1998-10-07 Coder and recoder

Publications (1)

Publication Number Publication Date
JPH11215381A true JPH11215381A (en) 1999-08-06

Family

ID=26561221

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30036498A Pending JPH11215381A (en) 1997-10-15 1998-10-07 Coder and recoder

Country Status (1)

Country Link
JP (1) JPH11215381A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005260501A (en) * 2004-03-10 2005-09-22 Oki Electric Ind Co Ltd Moving picture coding device, moving picture decoding device, and moving picture enhancement conversion system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005260501A (en) * 2004-03-10 2005-09-22 Oki Electric Ind Co Ltd Moving picture coding device, moving picture decoding device, and moving picture enhancement conversion system
JP4517685B2 (en) * 2004-03-10 2010-08-04 沖電気工業株式会社 Moving picture encoding apparatus, moving picture decoding apparatus, and moving picture enhancement conversion system

Similar Documents

Publication Publication Date Title
JP4152789B2 (en) Clustering system and clustering method
US7317838B2 (en) Compression of bi-level images with explicit representation of ink clusters
US20090274363A1 (en) Image processing apparatus and image encoding method
JP3302246B2 (en) Encoding device
JP2000050268A (en) Image coding device
JP4522199B2 (en) Image encoding apparatus, image processing apparatus, control method therefor, computer program, and computer-readable storage medium
JPH02290371A (en) Method of compacting image having pattern frequency and method and system for determining pattern frequency of image
JP3872217B2 (en) Dither image binary expression processing method, dither image compression binary expression decompression method, and dither image compression and decompression system
JP2006270325A (en) Image compression apparatus, image decompression apparatus, image data, image processing method and program
JPH11215381A (en) Coder and recoder
KR100597004B1 (en) The apparatus for processing of the binary image using the reassignment of the symbol dictionary and the method thereof
JPH10108011A (en) Data-processing unit
JP4748805B2 (en) Image coding apparatus and control method thereof
JPH06178122A (en) Adaptive encoding device for color image
JP2004312693A (en) Image encoding apparatus and image encoding method
JP3309892B2 (en) Image information encoding device and decoding device
JP3852237B2 (en) Image processing device
US7076109B2 (en) System and method of automatically determining the dominant periodicity in sequential binary data
US6272256B1 (en) Fast compression of periodic halftoned bitonal images
JP3363698B2 (en) Multi-tone image coding device
JP3263218B2 (en) Image information data compression and playback device
JP4743884B2 (en) Image coding apparatus and control method thereof
JP2001103315A (en) Image coding method and image coder
JPH10126624A (en) Picture encoding device and picture decoding device
JP4526069B2 (en) Image information arithmetic coding apparatus and image information arithmetic decoding apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040702

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040706

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040906

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041005