JPH10126624A - Picture encoding device and picture decoding device - Google Patents

Picture encoding device and picture decoding device

Info

Publication number
JPH10126624A
JPH10126624A JP8295934A JP29593496A JPH10126624A JP H10126624 A JPH10126624 A JP H10126624A JP 8295934 A JP8295934 A JP 8295934A JP 29593496 A JP29593496 A JP 29593496A JP H10126624 A JPH10126624 A JP H10126624A
Authority
JP
Japan
Prior art keywords
image
similar
picture
small block
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
JP8295934A
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 JP8295934A priority Critical patent/JPH10126624A/en
Publication of JPH10126624A publication Critical patent/JPH10126624A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To improve encoding efficiency and to dissolve erroneous substitution by substituting a picture for code information for respective divided small block areas and selecting the picture of the preserved small block area which is most similar. SOLUTION: Inputted picture information is inputted to a picture area division means 201 and it is area-divided into the units of a character and a graphic and they are segmented. A picture recognition means 203 executes a recognition processing on the notice picture which is divided and inputted. A picture substitution means 204 substitutes the picture for code information of a pertinent character code and the like and it is outputted to an encoding information generation means 209. When the picture cannot be substituted for the character code and the like, a similar pictures selection means 205 selects and extracts the picture similar to the notice picture from the picture preserved in an area picture preservation means 202. A similar picture encoding means 207 encodes the notice picture by using the similar picture. When the similar picture does not exist, a prediction/encoding means 208 encodes the notice picture by a regular method.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えばファクシミ
リ装置や画像ファイリング装置のように、画像を扱う装
置において、伝送や格納の際のデータ量を圧縮するため
に用いられる画像符号化装置および画像復号装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding apparatus and an image decoding apparatus used for compressing the amount of data at the time of transmission and storage in an apparatus which handles images, such as a facsimile apparatus and an image filing apparatus. It concerns the device.

【0002】[0002]

【従来の技術】画像の符号化方式は大きく2値画像用と
多値画像用とに分けられ、前者にはMH,MR,MMR
符号化方式等があり、これらはファクシミリの標準符号
化方式になっている。また最近では算術符号を使った符
号化方式が注目されておりQMコーダと呼ばれる符号化
方式がある。このQMコーダはITU−T(国際電信電
話諮問委員会)とIS0(国際標準化機構)で標準方式
として検討されているJBIG(Joint Bi−l
evel Image Coding Experts
Group)方式と呼ばれる符号化方式に用いられて
いる。一方、後者には、ITU−TとISOとで標準方
式として検討されている離散コサイン変換(以下DC
T)を使ったADCT(適応離散コサイン変換)方式
で、JPEG(Joint Photographic
Coding Experts Group)方式と
呼ばれているものがあり、画像情報を周波数情報に変換
した後に、情報の符号化を行うものである。
2. Description of the Related Art Image coding methods are roughly classified into binary image coding and multi-valued image coding. The former are MH, MR, MMR.
There are coding methods and the like, which are standard facsimile coding methods. Recently, an encoding method using an arithmetic code has attracted attention, and there is an encoding method called a QM coder. This QM coder is JBIG (Joint Bi-l), which is being studied as a standard method by ITU-T (International Telegraph and Telephone Consultative Committee) and ISO (International Organization for Standardization).
evel Image Coding Experts
(Group) method. On the other hand, the latter includes a discrete cosine transform (hereinafter referred to as DC), which is studied as a standard method by ITU-T and ISO.
T) using ADCT (Adaptive Discrete Cosine Transform) and JPEG (Joint Photographic).
There is a so-called “Coding Experts Group” method, which encodes information after converting image information into frequency information.

【0003】[0003]

【発明が解決しようとする課題】ところが、上述した画
像の符号化方式は符号化効率(圧縮率)の点で既にある
程度限界に達しており、今後の飛躍的な効率向上は余り
期待できない。
However, the above-mentioned image coding method has already reached a certain limit in terms of coding efficiency (compression rate), and a dramatic improvement in efficiency in the future cannot be expected much.

【0004】ところで、近年、オフィス等で使用される
文書のほとんどはパーソナルコンピュータ(PC)やワ
ードプロセッサ(ワープロ)で作成されたものとなって
きており、手書きによる文書はほとんどなくなってきて
いる。PCやワープロで作成された文書は通常、ファク
シミリで扱われるような画像情報ではなく、文字コード
や罫線等のレイアウト情報で構成されるコード情報であ
るのがほとんどである。これらのコード情報の利点は、
データ量が格段に少なくて済む点と編集等の処理が簡単
である点が挙げられる。例えば、ファクシミリのような
画像情報では、文字やレイアウトの編集を行う場合には
画像に対して処理を行わなければならないため、処理量
や処理に必要とされる作業領域が非常に大きくなってし
まう。このような問題から、従来ではファクシミリの出
力原稿のような画像情報に対して編集等の処理が行われ
ること、言い換えれば受信した文書等に対して編集処理
を行うことはほとんどなかった。
[0004] In recent years, most documents used in offices and the like have been created by personal computers (PCs) and word processors (word processors), and documents handwritten have almost disappeared. A document created by a PC or a word processor is usually not code information handled by facsimile but code information composed of layout information such as character codes and ruled lines. The advantage of this code information is
The point is that the amount of data is extremely small, and that processing such as editing is simple. For example, in the case of image information such as a facsimile, when characters and layouts are edited, processing must be performed on the image, so that the processing amount and the work area required for the processing become very large. . Due to such a problem, processing such as editing is conventionally performed on image information such as an output document of a facsimile, in other words, editing processing is rarely performed on a received document or the like.

【0005】画像情報からPCやワープロで使用される
コード情報に変換する方法としてはOCR(光学文字認
識)がある。OCRは、読み取られた原稿中の文字を自
動的に判別し、コンピュータで扱える文字コードに変換
する技術であり、スキャナ、複写機、ファクシミリなど
に使われており、一般的には画像から文字を切り出し、
その切り出した文字を文字コードに置き換えるものであ
る。
As a method of converting image information into code information used in a PC or word processor, there is OCR (optical character recognition). OCR is a technology that automatically identifies the characters in a scanned document and converts them into character codes that can be handled by a computer. Scanning, copying machines, facsimile machines, etc. generally use OCR to extract characters from images. Cut out,
The extracted character is replaced with a character code.

【0006】ところが、OCRには誤置換という大きな
問題があり、これは現在でもうまく解決できていない。
誤置換とは、文字を誤って違う文字に置き換えてしまう
ことで、例えば数字の「1」とアルファベットの
「l」、記号の「○」とアルファベットの「O」であ
る。このような誤置換は場合によっては画質を極端に落
とす原因となることがあり、OCRにおける大きな問題
となっている。また、現状のOCRは画像におけるノイ
ズ等の影響により文字の認識率は100%ではない。よ
って、文字認識後の文書においては誤置換がある可能性
があるため、結局は変換後の文書全体を見直すことが多
い。これもOCRにおける大きな問題である。
However, the OCR has a major problem of erroneous replacement, which has not been successfully solved even at present.
The erroneous replacement means that a character is erroneously replaced with a different character. For example, a numeral "1" and an alphabet "l", a symbol "o" and an alphabet "O". In some cases, such erroneous replacement may cause an extreme drop in image quality, which is a major problem in OCR. In the current OCR, the character recognition rate is not 100% due to the influence of noise or the like in an image. Therefore, there is a possibility that the document after the character recognition may be erroneously replaced. Therefore, after all, the whole document after the conversion is often reviewed. This is also a major problem in OCR.

【0007】そこで、本発明はこのような問題点を解決
するためになされたものであり、符号化効率を飛躍的に
向上させることができ、また誤置換の問題を解消できる
画像符号化装置およびその復号装置を提供することを目
的とするものである。
Accordingly, the present invention has been made to solve such a problem, and an image coding apparatus and a picture coding apparatus capable of dramatically improving coding efficiency and solving the problem of erroneous replacement. It is an object to provide the decoding device.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本願の請求項1に記載の画像符号化装置は、入力さ
れる画情報を文字や図形等の単位で小ブロック領域に分
割する画像領域分割手段と、この画像領域分割手段で分
割された画像を保存する領域画像保存手段と、前記画像
領域分割手段で分割された小ブロック領域毎に画像認識
を行う画像認識手段と、この画像認識手段により画像を
文字コード等のコード情報に置換できる場合には、当該
小ブロック領域の画像を該当するコード情報に置換する
画像置換手段と、前記画像認識手段により画像を文字コ
ード等のコード情報に置換できない場合には、前記領域
画像保存手段に保存してある以前に登場した小ブロック
領域の画像の中から当該注目する小ブロック領域の画像
と最も類似する小ブロック領域の画像を選択抽出する類
似画像選択手段と、この類似画像選択手段で選択抽出さ
れた類似画像が注目する小ブロック領域の画像の類似画
像として有効であるか否かを判断する類似画像判定手段
と、この類似画像判定手段で有効であると判断された場
合は、当該小ブロック領域の画像に対して類似画像から
予測して符号化を行う類似予測符号化手段と、前記類似
画像判定手段で無効であると判断された場合は、当該小
ブロック領域の画像に対して類似画像を用いずに予測符
号化を行う予測符号化手段と、前記画像置換手段と2つ
の予測符号化手段の結果を元に出力する符号情報を作成
する符号情報作成手段とを有するものである。
In order to achieve the above object, an image coding apparatus according to a first aspect of the present invention divides input image information into small block areas in units of characters and figures. Image area dividing means, area image storing means for storing an image divided by the image area dividing means, image recognizing means for performing image recognition for each small block area divided by the image area dividing means, When the image can be replaced by code information such as a character code by the recognition means, image replacement means for replacing the image of the small block area with the corresponding code information; and code information such as a character code by the image recognition means. If the image cannot be replaced with the image of the small block region of interest from among the previously appeared small block region images stored in the region image storage unit, Similar image selecting means for selectively extracting an image in the lock area, and similar image determination for determining whether the similar image selected and extracted by the similar image selecting means is effective as a similar image of the image of the small block area of interest Means for predicting and encoding the image of the small block area from a similar image when the similar image determining means determines that the image is valid; and the similar image determining means. When it is determined that the image is invalid in the small block area, a prediction encoding unit that performs prediction encoding without using a similar image for the image of the small block area, and a result of the image replacement unit and the two prediction encoding units And code information generating means for generating code information to be output based on the code information.

【0009】さらに、請求項2に記載の発明は、前記請
求項1記載の画像符号化装置において、前記画像認識手
段の認識率を高く設定することにより、前記画像置換手
段で誤置換の生じないパターンのみをコード情報に置換
するようにしたものである。
Further, according to a second aspect of the present invention, in the image encoding apparatus of the first aspect, by setting a high recognition rate of the image recognizing means, erroneous replacement does not occur in the image replacing means. Only the pattern is replaced with the code information.

【0010】また、請求項3に記載の発明は、前記請求
項1又は請求項2記載の画像符号化装置において、前記
類似画像判定手段は、前記類似画像選択手段で選択抽出
された類似画像と注目画像との一致率を元に類似画像と
して有効か否かを判定するようにしたものである。
According to a third aspect of the present invention, in the image coding apparatus according to the first or second aspect, the similar image determining means includes a similar image selected and extracted by the similar image selecting means. It is determined whether or not the image is valid as a similar image based on the matching rate with the image of interest.

【0011】一方、請求項4に記載の画像復号装置は、
入力される符号情報がコード情報に置換されたものか、
類似画像を用いて符号化されたものか、類似画像を用い
ずに符号化されたものかを識別する符号識別手段と、コ
ード情報に置換された情報から元の小ブロック画像を作
成する置換画像作成手段と、既に再生した小ブロック領
域の画像を元に類似画像から予測して復号を行う類似予
測復号手段と、既に再生した小ブロック領域の画像には
無関係に予側復号を行う予測復号手段と、前記置換画像
作成手段と2つの予測復号手段で再生された再生画像を
保存する再生領域保存手段と、前記置換画像作成手段と
2つの予測復号手段で再生された再生画像を結合して全
体の画像を再生する再生画像結合手段とを有するもので
ある。
[0011] On the other hand, an image decoding apparatus according to claim 4 is
Whether the input code information has been replaced with code information,
Code identification means for identifying whether the image has been encoded using a similar image or not, and a replacement image for creating an original small block image from information replaced with code information Creation means, similarity prediction decoding means for predicting and decoding from a similar image based on a previously reproduced small block area image, and predictive decoding means for performing preliminary decoding independently of the already reproduced small block area image A reproduction area storage unit for storing a reproduction image reproduced by the replacement image generation unit and the two prediction decoding units; and a reproduction image reproduced by the substitution image generation unit and the two prediction decoding units. And a reproduced image combining means for reproducing the image.

【0012】さらに、請求項5に記載の発明は、前記請
求項4記載の画像復号装置において、前記再生画像に、
前記置換画像作成手段で再生された画像とその他の2つ
の予測復号手段で再生された画像とを識別する識別情報
を付加するようにしたものである。
Further, according to a fifth aspect of the present invention, in the image decoding apparatus according to the fourth aspect, the reproduced image includes:
Identification information for identifying an image reproduced by the replacement image generating means and an image reproduced by the other two predictive decoding means is added.

【0013】そして、請求項6に記載の発明は、前記請
求項5記載の画像復号装置において、前記識別情報とし
て、一方の画像に他方とは異なる色を付けるようにした
ものである。
According to a sixth aspect of the present invention, in the image decoding apparatus according to the fifth aspect, a different color is assigned to one image from the other as the identification information.

【0014】また、請求項7に記載の発明は、前記請求
項5記載の画像復号装置において、前記識別情報とし
て、一方の画像の背景に任意のパターンを付加するよう
にしたものである。
According to a seventh aspect of the present invention, in the image decoding apparatus of the fifth aspect, an arbitrary pattern is added to the background of one image as the identification information.

【0015】また、請求項8に記載の発明は、前記請求
項5記載の画像復号装置において、前記識別情報とし
て、一方の画像に下線等の任意のパターンを付加するよ
うにしたものである。
According to an eighth aspect of the present invention, in the image decoding apparatus according to the fifth aspect, an arbitrary pattern such as an underline is added to one image as the identification information.

【0016】[0016]

【発明の実施の形態】以下、本願の各発明の実施形態を
図面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0017】ここでは、本願の各発明の実施形態とし
て、ファクシミリ装置に適用した場合を例にとって説明
する。
Here, as an embodiment of each invention of the present application, a case where the present invention is applied to a facsimile machine will be described as an example.

【0018】図1は本願の各発明を具体的に実施したと
きのファクシミリ装置におけるブロック構成図を示した
ものである。まず送信側で、画像読取部101において
CCDイメージセンサ等を用いて原稿を読み取り、続く
画像処理部102で送信データを適切なデータにするた
めの処理を行い、最後に符号化部103において符号化
を行って生成された符号を伝送路へ送出する。一方、受
信側で画像を再生するときは、符号化データを復号部1
04により復号し、画像処理部105で出力装置に適し
た画像処理を行い、プロッター等の画像出力部106に
出力することでハードコピーを得る。
FIG. 1 shows a block diagram of a facsimile apparatus when each invention of the present application is specifically implemented. First, on the transmitting side, an image reading unit 101 reads a document using a CCD image sensor or the like, and then performs processing for converting transmission data into appropriate data in an image processing unit 102, and finally performs encoding in an encoding unit 103. And sends the generated code to the transmission path. On the other hand, when the image is reproduced on the receiving side, the encoded data is
04, the image processing unit 105 performs image processing suitable for the output device, and outputs the image data to an image output unit 106 such as a plotter to obtain a hard copy.

【0019】なお、画像処理部102,105で行われ
る処理の例としては、2値画像においては解像度変換,
サイズ変換等があり、カラーを含めた多値画像において
は色(色成分)変換,解像度変換,サイズ変換等が挙げ
られる。符号化部103、復号部104で使われる符号
化方式の例として、2値画像を対象とするものでは従来
からファクシミリで使われているMH,MR,MMR方
式や算術符号を用いたJBIG方式があり、多値画像を
対象とするものでは適応離散コサイン変換(ADCT)
を用いたJPEG方式がある。この符号化部(画像符号
化装置)103と復号部(画像復号装置)104の内部
ブロック図をそれぞれ図2、図3に示す。
Examples of processing performed by the image processing units 102 and 105 include resolution conversion for a binary image,
There is a size conversion and the like, and in a multi-valued image including a color, a color (color component) conversion, a resolution conversion, a size conversion and the like can be mentioned. Examples of the encoding method used in the encoding unit 103 and the decoding unit 104 include MH, MR, MMR methods conventionally used in facsimile and JBIG method using arithmetic codes for binary images. Yes, adaptive discrete cosine transform (ADCT) for multi-valued images
There is a JPEG system that uses JPEG. 2 and 3 show the internal block diagrams of the encoding unit (image encoding device) 103 and the decoding unit (image decoding device) 104, respectively.

【0020】まず、本発明における符号化装置の一例に
ついて図2のブロック図を用いて説明する。
First, an example of the encoding device according to the present invention will be described with reference to the block diagram of FIG.

【0021】構成としては、入力される画情報を文字や
図形等の単位で小ブロック領域に分割する画像領域分割
手段201、分割された画像を保存する領域画像保存手
段202、分割された小ブロック領域毎に画像認識を行
う画像認識手段203、小ブロック領域の画像を該当す
るコード情報に置換する画像置換手段204、以前に登
場した小ブロック領域の画像の中から注目する小ブロッ
ク領域の画像と最も類似する小ブロック領域の画像を選
択抽出する類似画像選択手段205、選択抽出された類
似画像が注目する小ブロック領域の画像の類似画像とし
て有効であるかを否か判断する類似画像判定手段20
6、小ブロック領域の画像を類似画像から予測して符号
化を行う類似予測符号化手段207、小ブロック領域の
画像を類似画像を用いずに予測符号化を行う予測符号化
手段208、前記画像置換手段204と2つの予測符号
化手段207,208の結果を元に符号を作成する符号
情報作成手段209から成る。なお、上述した各手段
は、この符号化装置が用いられるファクシミリ装置を構
成するFCU(ファクシミリコントロールユニット)や
メモリ、あるいは、この符号化装置と後述する復号装置
専用に設けられたプロセッサやメモリを用いて、図4に
フローチャートで示す処理を実行することにより実現さ
れる。
An image area dividing means 201 for dividing input image information into small block areas in units of characters and figures, an area image storing means 202 for storing divided images, a divided small block Image recognition means 203 for performing image recognition for each area; image replacement means 204 for replacing the image of the small block area with the corresponding code information; Similar image selecting means 205 for selecting and extracting the image of the most similar small block area, similar image determining means 20 for determining whether or not the selected and extracted similar image is effective as a similar image of the image of the small block area of interest
6, similar prediction encoding means 207 for predicting and encoding an image of a small block area from a similar image, predictive encoding means 208 for predictively encoding an image of a small block area without using a similar image, It comprises a code information creating means 209 for creating a code based on the results of the replacing means 204 and the two predictive encoding means 207 and 208. Note that each of the above-mentioned units uses an FCU (facsimile control unit) or a memory constituting a facsimile apparatus in which the encoding apparatus is used, or a processor or a memory provided exclusively for the encoding apparatus and a decoding apparatus described later. This is realized by executing the processing shown by the flowchart in FIG.

【0022】次に、上記構成の符号化装置の動作につい
て図4に示したフローチャートを参照して説明する。
Next, the operation of the encoding apparatus having the above configuration will be described with reference to the flowchart shown in FIG.

【0023】まず、符号化するために入力された画情報
は画像領域分割手段201に入力され、文字や図形等の
単位に領域分割され、切り出される(処理401)。分
割された画情報は領域画像保存手段202、画像認識手
段203および類似画像選択手段205に各々入力され
る。
First, the image information input for encoding is input to the image area dividing means 201, where the image information is divided into units such as characters and figures and cut out (process 401). The divided image information is input to the area image storage unit 202, the image recognition unit 203, and the similar image selection unit 205, respectively.

【0024】領域画像保存手段202では、分割された
領域画像の保存を行う(処理402)。画像認識手段2
03では、分割されて入力された注目画像に対して認識
処理を行い、画像を文字コード等のコード情報に置換で
きるか否かを判断する(判断403)。認識処理の一例
としては、画像が文字であるか否かを判断し、文字であ
る場合にはその骨格情報から文字の種類を認識する方法
がある。
The area image storage means 202 stores the divided area image (process 402). Image recognition means 2
In 03, a recognition process is performed on the divided and input target image, and it is determined whether or not the image can be replaced with code information such as a character code (decision 403). As an example of the recognition processing, there is a method of determining whether or not an image is a character and, if the image is a character, recognizing the type of the character from its skeleton information.

【0025】もし、画像認識手段203で文字コード等
のコード情報に置き換えることができると判断された場
合には、画像置換手段204で該当するコード情報に画
像が置換され、そのコード情報が符号情報作成手段20
9に出力される(判断403のYES→処理404→処
理409)。
If the image recognizing means 203 determines that the image can be replaced with code information such as a character code, the image is replaced by the corresponding code information by the image replacing means 204 and the code information is replaced with the code information. Creation means 20
9 (YES in decision 403 → process 404 → process 409).

【0026】一方、画像認識手段203で文字コード等
に置き換えることができないと判断された場合には、続
いて類似画像選択手段205によって注目画像と類似す
る画像が領域画像保存手段202に保存されている画像
から選択抽出される(判断403のNO→処理40
5)。類似画像の選択方法の一例としては、大きさが同
じものを優先し、黒画素数が近いものを優先し、形状が
近いものを選択するという方法が挙げられる。
On the other hand, if the image recognizing means 203 determines that the image cannot be replaced with a character code or the like, then the similar image selecting means 205 stores an image similar to the target image in the area image storing means 202. (Step 403: NO)
5). As an example of a method of selecting a similar image, there is a method of giving priority to an image having the same size, giving priority to an image having a similar number of black pixels, and selecting an image having a similar shape.

【0027】類似画像が選択抽出されると、続いて類似
画像判定手段206によって、選択された画像が類似画
像として有効であるか否かを判断する(判断406)。
判断方法としては色々考えられるが、選択抽出された類
似画像と注目画像との一致率を元に、一致率が予め定め
られた一定値以上の場合に有効と判定するようにする
と、構成が簡単になる。
When a similar image is selectively extracted, the similar image determining means 206 determines whether the selected image is valid as a similar image (determination 406).
There are various determination methods, but if the matching ratio is determined to be valid when the matching ratio is equal to or greater than a predetermined value based on the matching ratio between the selected and extracted similar image and the target image, the configuration is simplified. become.

【0028】選択された類似画像が注目する画像の類似
画像として有効であると判断された場合は、類似予測符
号化手段207によって類似画像を用いて予測を行い注
目画像を符号化する(判断406のYES→処理40
7)。一方、選択された類似画像が注目する画像の類似
画像として無効であると判断された場合は、予測符号化
手段208によって類似画像を用いない通常の方法で予
測を行い注目画像を符号化する(判断406のNO→処
理408)。
If it is determined that the selected similar image is effective as a similar image of the image of interest, the similar image predicting means 207 performs prediction using the similar image and encodes the image of interest (decision 406). YES → Process 40
7). On the other hand, when it is determined that the selected similar image is invalid as a similar image of the image of interest, the prediction encoding unit 208 performs prediction using a normal method that does not use similar images and encodes the image of interest ( NO in decision 406 → process 408).

【0029】予測符号化の例としては、図5に示すよう
な算術符号化方式が挙げられる。算術符号化方式は、符
号化では、入力された画像データを予測情報作成部50
1と呼ばれる部分(テンプレートと呼ぶこともある)で
符号化する画素と周囲の画素との状況により情報源のマ
ルコフ分離を行った予測情報を作成し、この予測情報を
もとに算術符号化部502で予測情報を動的に評価しな
がら符号化を行う。復号では、入力された符号データを
符号化時と同じ予測情報作成部504で既に復号された
画素で復号しようとする画素の周囲の画素との状況によ
り情報源のマルコフ分離を行って復号しようとするデー
タの予側情報を作成し、この予測情報をもとに算術復号
部503で予側情報を動的に評価しながら復号を行う。
As an example of predictive coding, there is an arithmetic coding method as shown in FIG. In the arithmetic coding method, in the coding, the input image data is converted into a prediction information creation unit 50.
The prediction information is obtained by performing Markov separation of an information source on the basis of the situation of the pixel to be coded in a portion referred to as “1” (also referred to as a template) and surrounding pixels, and an arithmetic coding unit is performed based on the prediction information. At 502, encoding is performed while dynamically evaluating prediction information. In decoding, decoding is performed by performing Markov separation of an information source according to the situation of pixels around the pixel to be decoded with the pixels already decoded by the same prediction information creating unit 504 as the encoding data at the time of encoding. The prediction side information of the data to be generated is created, and the arithmetic decoding section 503 performs decoding while dynamically evaluating the prediction side information based on the prediction information.

【0030】算術符号化方式は、従来のランレングス符
号化方式(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 the corresponding section on the number line of [0, 1] (binary decimal [0.0... 0, 0.1
... 1]) are divided into unequal lengths in accordance with the occurrence probabilities of the respective symbols, the target symbol sequence is assigned to the corresponding subsections, and the section obtained by repeating the division recursively. The coordinates of the points contained within are represented by binary decimal numbers that can be distinguished from at least other sections, and are used as codes.

【0031】シンボル系列‘0100’を例に算術符号
化の概念を図6を用いて説明すると、まず第1シンボル
の符号化時には全区間が‘0’と‘1’のシンボルの生
起確率の比に従ってA(0)とA(1)に分割され、
‘0’の発生により区間A(0)が選択される。次に、
第2シンボルの符号化の際にはその状態における両シン
ボルの生起確率比によってA(0)がさらに分割され、
発生シンボル系列に対応する区間としてA(01)が選
択される。このような分割と選択の処理の繰り返しによ
り符号化が進んでいくものである。一方、復号化では符
号化と全く逆の処理を行い、符号が示す2進小数をもと
にシンボルを再生するものである。ここで重要なのは、
シンボルの符号化を行う際の数直線の幅であり、この数
直線の幅が符号化開始時と復号化開始時とで一致しない
とシンボルを正確に再現できなくなってしまうというこ
とである。普通はこの数直線の幅を符号化側と復号化側
で1としている。
The concept of arithmetic coding will be described with reference to FIG. 6 using the symbol sequence '0100' as an example. First, when coding the first symbol, the ratio of the occurrence probabilities of the symbols '0' and '1' in all sections Is divided into A (0) and A (1) according to
Section A (0) is selected by the occurrence of '0'. next,
When encoding the second symbol, A (0) is further divided by the occurrence probability ratio of both symbols in that state,
A (01) is selected as a section corresponding to the generated symbol sequence. 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. The important thing here is that
This 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. Normally, the width of this number line is set to 1 on the encoding side and the decoding side.

【0032】以上のような処理によって、入力された画
像を符号化し、画像置換手段204と2つの予測符号化
手段207,208の結果(処理404、処理407、
処理408の結果)を元に符号情報作成手段209で符
号情報を作成し(処理409)、これを入力画像が終了
するまで行う(判断410のNO→処理401のルー
プ)。
With the above processing, the input image is encoded, and the results of the image replacing means 204 and the two predictive encoding means 207 and 208 (processing 404, processing 407,
Based on the result of the process 408), code information is created by the code information creating means 209 (process 409), and this is performed until the input image is completed (NO in decision 410 → loop of process 401).

【0033】以上のように、文字等の情報は画像である
場合よりも文字コード等のコード情報の方がデータ量が
格段に少なく、かつ汎用性も高い点に着目して、画像認
識手段203を用いて画像をコード情報に置き換えられ
る部分はコード情報に置き換え、置き換えられない部分
は類似予測符号化手段207と予測符号化手段208に
よって効率の良い予測符号化を行うので、非常に高い効
率で符号化が可能となる。
As described above, the information of characters and the like is much smaller in the amount of data and the versatility of code information such as character codes than in the case of image data. Is used to replace the image with code information, and the non-replaceable part performs efficient predictive coding by the similar predictive coding means 207 and the predictive coding means 208. The encoding becomes possible.

【0034】なお、画像置換手段204での置換におい
て誤置換を起こさないようにすることで、情報量は多く
なるものの、信頼性の高いものとすることができる。す
なわち、画像認識において認識率を高くすると誤置換は
少なくなる反面、認識できない画像が多くなるため、全
体としての情報量は多くなる。逆に認識率を低くすると
情報量は少なくなるが誤置換が多くなってしまう。誤置
換はOCRにとっては大きな問題であり、それを解決す
るためには誤置換が全く起こらないような処理を行わな
ければならない。前述したように、数字の「1」とアル
ファベットの「l」や、記号の「○」とアルファベット
の「O」のように誤置換の多いパターンが存在する反
面、誤置換のないパターンというものもある程度存在す
る。よって、そのようなパターンのみをコード情報に置
換するようにすれば、この問題は解決できる。
By preventing erroneous replacement in the replacement by the image replacement means 204, the information amount is increased, but the reliability can be increased. That is, when the recognition rate is increased in the image recognition, the erroneous replacement is reduced, but the number of unrecognizable images is increased. Conversely, when the recognition rate is lowered, the amount of information is reduced, but erroneous replacement is increased. Misplacement is a major problem for OCR, and in order to solve it, processing must be performed so that misplacement does not occur at all. As described above, there are patterns with many mis-replacements, such as the numeral “1” and the letter “l”, and the symbol “O” and the letter “O”, but there are also patterns without mis-replacement. Present to some extent. Therefore, this problem can be solved by replacing only such a pattern with the code information.

【0035】このように、画像置換手段204が誤置換
を全く起こさないパターンのみ置換を行うようにするこ
とにより、誤置換が全く起こらないため画質劣化はな
く、かつ、画像をコード情報に置き換えられる部分はコ
ード情報に置き換え、置き換えられない部分は効率の良
い予測符号化を行うので、非常に高い効率で符号化が可
能となる。
As described above, since the image replacing means 204 performs replacement only on a pattern that does not cause erroneous replacement at all, no erroneous replacement occurs, so that there is no deterioration in image quality and the image can be replaced with code information. The part is replaced with code information, and the part that is not replaced is subjected to efficient predictive coding, so that coding can be performed with extremely high efficiency.

【0036】次に、本発明における復号装置の一例につ
いて図3のブロック図を用いて説明する。
Next, an example of the decoding apparatus according to the present invention will be described with reference to the block diagram of FIG.

【0037】構成は、入力される符号情報が置換された
コード情報か、類似画像を用いて符号化されている符号
か、類似画像を用いずに符号化されている符号かを識別
する符号識別手段301、コード情報に置換された情報
から元の小ブロック画像を作成する置換画像作成手段3
02、既に再生した小ブロック領域の画像を元に予測し
て復号を行う類似予測復号手段303、既に再生した小
ブロック領域の画像には無関係に予側復号を行う予測復
号手段304、上記置換画像作成手段302と2つの予
測復号手段303,304で再生された再生画像を保存
する再生領域保存手段305、個々に再生された再生画
像を結合して全体の画像を再生する再生画像結合手段3
06から成る。なお、上述した各手段も、この復号装置
が用いられるファクシミリ装置を構成するFCUやメモ
リ、あるいは、この復号装置と前記符号化装置専用に設
けられたプロセッサやメモリを用いて、図7にフローチ
ャートで示す処理を実行することにより実現される。な
お、本実施形態においては、符号識別手段301を独立
して設けたが、置換画像作成手段302、類似予測復号
手段303、予測復号手段304のそれぞれに専用の符
号識別手段を設けても良い。
The structure is a code identification for identifying whether the input code information is replaced code information, a code coded using a similar image, or a code coded without using a similar image. Means 301, replacement image creating means 3 for creating an original small block image from information replaced with code information
02, similar prediction decoding means 303 for performing prediction and decoding based on the image of the already reproduced small block area, predictive decoding means 304 for performing preliminary decoding regardless of the image of the already reproduced small block area, Reproduction area storage means 305 for storing the reproduced images reproduced by the creating means 302 and the two predictive decoding means 303 and 304, and reproduced image combining means 3 for combining the reproduced images individually and reproducing the entire image
06. Note that each of the above-described units also uses an FCU or a memory constituting a facsimile apparatus in which the decoding apparatus is used, or a processor or a memory provided exclusively for the decoding apparatus and the encoding apparatus, as shown in the flowchart of FIG. It is realized by executing the processing shown. In the present embodiment, the code identifying means 301 is provided independently, but each of the replacement image creating means 302, the similar predictive decoding means 303, and the predictive decoding means 304 may be provided with a dedicated code identifying means.

【0038】次に、上記構成の復号装置の動作について
図7に示したフローチャートを参照して説明する。
Next, the operation of the decoding apparatus having the above configuration will be described with reference to the flowchart shown in FIG.

【0039】まず、入力されてくる符号から注目符号
が、置換されたコード情報か、類似画像を用いて符号化
されたものなのか、それとも類似画像を用いないで符号
化されたものかを符号識別手段301で識別する(判断
701)。置換されたコード情報である場合には、置換
画像作成手段302でコード情報から元の画像に再生し
て再生領域保存手段305に出力する(処理702→処
理705)。
First, it is determined whether the code of interest is the replaced code information, the code coded using the similar image, or the code coded without using the similar image from the input codes. Identification is performed by the identification means 301 (determination 701). If it is the replaced code information, the replaced image creating means 302 reproduces the original image from the code information and outputs it to the reproduction area storage means 305 (processing 702 → processing 705).

【0040】また、類似画像を用いて符号化されている
符号の場合には、類似予測復号手段303で前記再生領
域保存手段305に保存されている以前に登場した類似
する小ブロック領域の画像を利用して画像を再生し、再
生領域保存手段305に出力する(処理703→処理7
05)。
In the case of a code that has been encoded using a similar image, the similar predictive decoding unit 303 replaces the image of a similar small block region that has previously appeared and is stored in the reproduction region storage unit 305. The image is reproduced using the image data and output to the reproduction area storage unit 305 (processing 703 → processing 7).
05).

【0041】さらに、類似画像を用いずに符号化されて
いる符号の場合には、予測復号手段304で類似画像を
用いずに画像を再生して再生領域保存手段305に出力
する(処理704→処理705)。
Further, in the case of a code encoded without using a similar image, the predictive decoding unit 304 reproduces the image without using a similar image and outputs it to the reproduction area storage unit 305 (step 704 → Process 705).

【0042】再生領域保存手段305では再生された小
ブロック領域毎の画像を保存するとともに、全体の画像
を作成するために再生画像結合手段306に画像を出力
する(処理705→処理706)。これを入力されてく
る符号情報が終了するまで繰り返し(判断707のNO
→判断701のループ)、終了すると、再生画像結合手
段306では各再生された画像を最終的に結合して全体
の画像の作成を行い、出力する。
The reproduction area storage means 305 stores the reproduced image for each small block area and outputs the image to the reproduction image combining means 306 in order to create the entire image (processing 705 → processing 706). This is repeated until the input code information is completed (NO in decision 707).
Upon completion of the loop (determination 701 loop), the reproduced image combining means 306 finally combines the reproduced images to create the entire image and outputs it.

【0043】このように、置換されたコード情報である
場合にはコード情報から元の画像を再生し、類似画像を
用いて符号化されている符号の場合は類似する小ブロッ
ク領域の画像を利用して画像を再生し、類似画像を用い
ずに符号化されている符号の場合は類似画像を用いずに
画像を再生し、各再生された画像を最終的に結合して全
体の画像を作成することができるので、前述した符号化
装置で作成される高効率で符号化された符号から誤り無
く画像を再生することが可能になる。
As described above, in the case of the replaced code information, the original image is reproduced from the code information, and in the case of the code encoded using the similar image, the image of the similar small block area is used. If the code is encoded without using a similar image, the image is reproduced without using a similar image, and each reproduced image is finally combined to create an entire image Therefore, it is possible to reproduce an image without error from the highly efficient encoded code created by the encoding device described above.

【0044】なお、全体の画像を構成する際に、コード
置換されていた画像とそれ以外の画像とを区別できるよ
うに識別情報を付して再生することで、ユーザーが簡単
に両者を識別できるようになる。識別情報としては、一
方の画像に他方とは異なる色を原画像色を損なわない範
囲で付けるようにして色で識別するとか、一方の画像の
背景に薄い網目等の背景パターンを付加するとか、また
は一方の画像に下線等の特異キャラクタのパターンを付
加する等が考えられる。このようにすることにより、コ
ード情報に置き換えられていた画像と置き換えられなか
った画像とを、色や背景パターンや下線キャラクタパタ
ーン等によって簡単に識別することが可能になる。
It is to be noted that, when composing the entire image, the user can easily identify both the code-replaced image and the other image by reproducing the image with identification information so that the image can be distinguished from the other image. Become like As the identification information, a color different from the other image is added to one image within a range that does not impair the color of the original image, or a background pattern such as a thin mesh is added to the background of one image, Alternatively, a unique character pattern such as an underline may be added to one of the images. This makes it possible to easily identify the image replaced with the code information and the image not replaced with a color, a background pattern, an underlined character pattern, or the like.

【0045】最後に、本発明で使用される符号情報のフ
ォーマットについてであるが、1つの例として、符号の
処理方法が3種類あるため3つの状態を識別できるよう
にし、加えて各画像の位置情報を加える方法が考えられ
る。3種類の状態を表現する方法や位置情報を表現する
方法は色々あるが、例えば3種類の表現は2ビットを使
ってA=“00”,B=“10”,C=“11”とし、
位置情報は1つ前に符号化した画像からのオフセット位
置等で表現することが考えられる。
Finally, regarding the format of the code information used in the present invention, as one example, since there are three types of code processing methods, three states can be identified, and in addition, the position of each image can be identified. A method of adding information is conceivable. There are various methods of expressing three types of states and methods of expressing position information. For example, three types of expressions use two bits, A = “00”, B = “10”, and C = “11”.
It is conceivable that the position information is represented by an offset position or the like from the immediately preceding encoded image.

【0046】[0046]

【発明の効果】以上のように、本願の請求項1記載の発
明によれば、画情報を符号化する際に、画情報を文字や
図形等の小ブロック領域に分割して、分割された小ブロ
ック領域毎に画像認識を行い、画像を文字コード等のコ
ード情報に置換できる場合には注目ブロック領域の画像
を該当するコード情報に置換し、置換できない場合は、
以前に登場した小ブロック領域の画像の中から注目する
小ブロック領域の画像と最も類似する小ブロック領域の
画像を選択し、選択された類似画像が注目する小ブロッ
ク領域の画像の類似画像として有効であるか否かを判断
した後に、有効である場合は当該小ブロック領域の画像
を類似画像から予測して符号化を行い、無効である場合
は当該小ブロック領域の画像を類似画像を用いずに予測
符号化を行うようにして、画像をコード情報に置き換え
られる部分はコード情報に置き換え、置き換えられない
部分は効率の良い予測符号化を行うようにしたので、非
常に高い効率で符号化が可能となる効果がある。
As described above, according to the first aspect of the present invention, at the time of encoding image information, the image information is divided into small block areas such as characters and figures and divided. Image recognition is performed for each small block area. If the image can be replaced with code information such as a character code, the image of the target block area is replaced with the corresponding code information.
Select the image of the small block area most similar to the image of the small block area of interest from among the images of the small block area that appeared before, and enable the selected similar image as a similar image of the image of the small block area of interest After determining whether or not the image is valid, the image of the small block area is predicted from a similar image and coding is performed. If the image is invalid, the image of the small block area is not used and the similar image is not used. The parts that can be replaced with code information are replaced with code information, and the parts that are not replaced are subjected to efficient predictive coding, so that coding can be performed with extremely high efficiency. There is a possible effect.

【0047】さらに、請求項2記載の発明によれば、上
記において、誤置換を起こさないパターンのみ置換を行
うようにしたので、誤置換が起こらないため画質劣化は
なく、かつ、画像をコード情報に置き換えられる部分は
コード情報に置き換え、置き換えられない部分は効率の
良い予測符号化を行うので、非常に高い効率で符号化が
可能となる。
Further, according to the second aspect of the present invention, only the pattern which does not cause the erroneous replacement is replaced, so that the erroneous replacement does not occur, so that the image quality is not degraded, and the image is replaced with the code information. Are replaced with code information, and the parts that are not replaced are subjected to efficient predictive coding, so that coding can be performed with extremely high efficiency.

【0048】また、請求項3記載の発明によれば、上記
において、選択された類似画像が注目画像の類似画像と
して有効であるか否かの判断を、類似画像と注目画像と
の一致率を元に判定するようにしたので、上記の効果に
加えて、構成が簡単になる利点がある。
According to the third aspect of the present invention, in the above, it is determined whether or not the selected similar image is valid as a similar image of the image of interest by determining a coincidence rate between the similar image and the image of interest. Since the determination is made based on the original, there is an advantage that the configuration is simplified in addition to the above effects.

【0049】一方、請求項4記載の発明によれば、上記
により符号化された符号を復号する際に、置換されたコ
ード情報である場合にはコード情報から元の画像を再生
し、類似画像を用いて符号化されている符号の場合は以
前に登場した類似する小ブロック領域の画像を利用して
画像を再生し、類似画像を用いずに符号化されている符
号の場合は類似画像を用いずに画像を再生し、各再生さ
れた画像を最終的に結合して全体の画像を作成するよう
にしたので、上記により高効率で符号化された符号から
誤り無く画像を再生することが可能になる。
On the other hand, according to the invention of claim 4, when the code coded as described above is decoded, if the code information is replaced code information, the original image is reproduced from the code information and the similar image is reproduced. In the case of a code that has been encoded using, the image is reproduced using an image of a similar small block area that appeared earlier, and in the case of a code that has been encoded without using a similar image, the similar image is reproduced. Since the images are reproduced without using them and each reproduced image is finally combined to form an entire image, it is possible to reproduce an image without error from a code coded with high efficiency as described above. Will be possible.

【0050】さらに、請求項5記載の発明によれば、上
記復号時に、コード情報に置き換えられていた画像と置
き換えられなかった画像とを識別できるような識別情報
を付して画像を再生するので、ユーザーは簡単に両者を
識別可能になる。
Further, according to the fifth aspect of the present invention, at the time of the decoding, the image is reproduced by attaching identification information capable of discriminating between the image replaced with the code information and the image not replaced. , The user can easily identify both.

【0051】そして、請求項6記載の発明によれば、上
記識別情報として、一方の画像は他方とは異なる色を付
けるようにしたので、コード情報に置き換えられていた
画像と置き換えられなかった画像とを色によって簡単に
識別することが可能になる。
According to the sixth aspect of the present invention, since one image is given a different color from the other as the identification information, the image replaced with the code information is replaced with the image not replaced. Can be easily identified by color.

【0052】また、請求項7記載の発明によれば、上記
識別情報として、一方の画像の背景に任意のパターンを
付加するようにしたので、コード情報に置き換えられて
いた画像と置き換えられなかった画像とを背景パターン
によって簡単に識別することが可能になる。
According to the seventh aspect of the present invention, an arbitrary pattern is added to the background of one image as the identification information. Therefore, the image is not replaced with the image replaced with the code information. The image and the background pattern can be easily identified.

【0053】また、請求項8記載の発明によれば、上記
識別情報として、一方の画像に下線等の任意のパターン
を付加するようにしたので、コード情報に置き換えられ
ていた画像と置き換えられなかった画像とを付加された
下線等のパターンによって簡単に識別することが可能に
なる。
According to the eighth aspect of the invention, an arbitrary pattern such as an underline is added to one of the images as the identification information, so that the image is not replaced with the image replaced with the code information. The image can be easily identified by the added pattern such as the underline.

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

【図1】本願の各発明を具体的に実施したときのファク
シミリ装置における構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a facsimile apparatus when each invention of the present application is specifically implemented.

【図2】本発明による画像符号化装置の構成を示すブロ
ック図。
FIG. 2 is a block diagram showing a configuration of an image encoding device according to the present invention.

【図3】同じく、本発明による画像復号装置の構成を示
すブロック図。
FIG. 3 is a block diagram showing a configuration of an image decoding apparatus according to the present invention.

【図4】上記図2に示した画像符号化装置の動作を示す
フローチャート。
FIG. 4 is a flowchart showing the operation of the image encoding device shown in FIG. 2;

【図5】算術符号化方式の構成を示すブロック図。FIG. 5 is a block diagram showing a configuration of an arithmetic coding system.

【図6】算術符号化の概念を示した説明図。FIG. 6 is an explanatory diagram showing the concept of arithmetic coding.

【図7】上記図3に示した画像復号装置の動作を示すフ
ローチャート。
FIG. 7 is a flowchart showing the operation of the image decoding apparatus shown in FIG. 3;

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

101 画像読取部 102、105 画像処理部 103 符号化部 104 復号部 106 画像出力部 201 画像領域分割手段 202 領域画像保存手段 203 画像認識手段 204 画像置換手段 205 類似画像選択手段 206 類似画像判定手段 207 類似予測符号化手段 308 予測符号化手段 209 符号情報作成手段 301 符号識別手段 302 置換画像作成手段 303 類似予測復号手段 304 予測復号手段 305 再生領域保存手段 306 再生画像結合手段 501、504 予測情報作成部 502 算術符号化部 503 算術復号部 DESCRIPTION OF SYMBOLS 101 Image reading part 102, 105 Image processing part 103 Encoding part 104 Decoding part 106 Image output part 201 Image area division means 202 Area image storage means 203 Image recognition means 204 Image replacement means 205 Similar image selection means 206 Similar image determination means 207 Similar prediction encoding means 308 Prediction encoding means 209 Code information creation means 301 Code identification means 302 Replacement image creation means 303 Similar prediction decoding means 304 Prediction decoding means 305 Playback area storage means 306 Playback image combining means 501, 504 Prediction information creation section 502 Arithmetic encoder 503 Arithmetic decoder

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 入力される画情報を文字や図形等の単位
で小ブロック領域に分割する画像領域分割手段と、 前記画像領域分割手段で分割された画像を保存する領域
画像保存手段と、 前記画像領域分割手段で分割された小ブロック領域毎に
画像認識を行う画像認識手段と、 前記画像認識手段により画像を文字コード等のコード情
報に置換できる場合には、当該小ブロック領域の画像を
該当するコード情報に置換する画像置換手段と、 前記画像認識手段により画像を文字コード等のコード情
報に置換できない場合には、前記領域画像保存手段に保
存してある以前に登場した小ブロック領域の画像の中か
ら当該注目する小ブロック領域の画像と最も類似する小
ブロック領域の画像を選択抽出する類似画像選択手段
と、 前記類似画像選択手段で選択抽出された類似画像が注目
する小ブロック領域の画像の類似画像として有効である
か否かを判断する類似画像判定手段と、 前記類似画像判定手段で有効であると判断された場合
は、当該小ブロック領域の画像に対して類似画像から予
測して符号化を行う類似予測符号化手段と、 前記類似画像判定手段で無効であると判断された場合
は、当該小ブロック領域の画像に対して類似画像を用い
ずに予測符号化を行う予測符号化手段と、 前記画像置換手段と2つの予測符号化手段の結果を元に
出力する符号情報を作成する符号情報作成手段とを有す
ることを特徴とする画像符号化装置。
1. An image area dividing means for dividing input image information into small block areas in units of characters, figures, and the like; an area image storing means for storing an image divided by the image area dividing means; An image recognition unit that performs image recognition for each of the small block regions divided by the image region division unit; and if the image recognition unit can replace the image with code information such as a character code, the image of the small block region is applied. Image replacement means for replacing the code information to be replaced with an image of a previously appeared small block area stored in the area image storage means when the image cannot be replaced with code information such as a character code by the image recognition means. A similar image selecting means for selectively extracting an image of the small block area most similar to the image of the small block area of interest from among the selected small block areas; A similar image determination unit that determines whether the output similar image is valid as a similar image of the image of the small block area of interest; and if the similar image determination unit determines that the similar image is valid, the small image A similar prediction encoding unit that predicts and encodes the image of the block region from a similar image, and, if the similar image determination unit determines that the image is invalid, the similar region is similar to the image of the small block region. A predictive encoding unit that performs predictive encoding without using an image; and code information creating unit that creates code information to be output based on the results of the image replacing unit and the two predictive encoding units. Image encoding device.
【請求項2】 前記画像認識手段の認識率を高く設定す
ることにより、前記画像置換手段で誤置換の生じないパ
ターンのみをコード情報に置換するようにしたことを特
徴とする請求項1記載の画像符号化装置。
2. The method according to claim 1, wherein the recognition rate of the image recognition means is set high so that only the pattern which does not cause erroneous replacement by the image replacement means is replaced with code information. Image coding device.
【請求項3】 前記類似画像判定手段は、前記類似画像
選択手段で選択抽出された類似画像と注目画像との一致
率を元に類似画像として有効か否かを判定することを特
徴とする請求項1又は請求項2記載の画像符号化装置。
3. The similar image determination unit determines whether or not the similar image is valid as a similar image based on a coincidence rate between the similar image selected and extracted by the similar image selection unit and a target image. The image encoding device according to claim 1 or 2.
【請求項4】 入力される符号情報がコード情報に置換
されたものか、類似画像を用いて符号化されたものか、
類似画像を用いずに符号化されたものかを識別する符号
識別手段と、 コード情報に置換された情報から元の小ブロック画像を
作成する置換画像作成手段と、 既に再生した小ブロック領域の画像を元に類似画像から
予測して復号を行う類似予測復号手段と、 既に再生した小ブロック領域の画像には無関係に予側復
号を行う予測復号手段と、 前記置換画像作成手段と2つの予測復号手段で再生され
た再生画像を保存する再生領域保存手段と、 前記置換画像作成手段と2つの予測復号手段で再生され
た再生画像を結合して全体の画像を再生する再生画像結
合手段とを有することを特徴とする画像復号装置。
4. A method according to claim 1, wherein the input code information is replaced with code information, or encoded using a similar image.
Code identification means for identifying whether or not the image has been encoded without using a similar image; replacement image creation means for creating an original small block image from information replaced with code information; Similar prediction decoding means for predicting and decoding from a similar image based on the same, predictive decoding means for performing preliminary decoding independently of an image of a small block area which has already been reproduced, Means for storing a reproduced image reproduced by the means, and reproduced image combining means for combining the reproduced images reproduced by the replacement image creating means and the two predictive decoding means to reproduce the entire image. An image decoding device characterized by the above-mentioned.
【請求項5】 前記再生画像に、前記置換画像作成手段
で再生された画像とその他の2つの予測復号手段で再生
された画像とを識別する識別情報を付加することを特徴
とする請求項4記載の画像復号装置。
5. The reproduction image according to claim 4, wherein identification information for identifying an image reproduced by said replacement image generating means and an image reproduced by the other two predictive decoding means is added. The image decoding device according to any one of the preceding claims.
【請求項6】 前記識別情報として、一方の画像に他方
とは異なる色を付けることを特徴とする請求項5記載の
画像復号装置。
6. The image decoding apparatus according to claim 5, wherein one color of the one image is different from that of the other image as the identification information.
【請求項7】 前記識別情報として、一方の画像の背景
に任意のパターンを付加することを特徴とする請求項5
記載の画像復号装置。
7. An arbitrary pattern is added to the background of one of the images as the identification information.
The image decoding device according to any one of the preceding claims.
【請求項8】 前記識別情報として、一方の画像に下線
等の任意のパターンを付加することを特徴とする請求項
5記載の画像復号装置。
8. The image decoding apparatus according to claim 5, wherein an arbitrary pattern such as an underline is added to one of the images as the identification information.
JP8295934A 1996-10-18 1996-10-18 Picture encoding device and picture decoding device Pending JPH10126624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8295934A JPH10126624A (en) 1996-10-18 1996-10-18 Picture encoding device and picture decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8295934A JPH10126624A (en) 1996-10-18 1996-10-18 Picture encoding device and picture decoding device

Publications (1)

Publication Number Publication Date
JPH10126624A true JPH10126624A (en) 1998-05-15

Family

ID=17827017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8295934A Pending JPH10126624A (en) 1996-10-18 1996-10-18 Picture encoding device and picture decoding device

Country Status (1)

Country Link
JP (1) JPH10126624A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999065226A1 (en) * 1998-06-09 1999-12-16 Matsushita Electric Industrial Co., Ltd. Image encoder, image decoder, character checker, and data storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999065226A1 (en) * 1998-06-09 1999-12-16 Matsushita Electric Industrial Co., Ltd. Image encoder, image decoder, character checker, and data storage medium
US6996280B1 (en) 1998-06-09 2006-02-07 Matsushita Electric Industrial Co., Ltd. Image encoder, image decoder, character checker, and data storage medium

Similar Documents

Publication Publication Date Title
US8331671B2 (en) Image processing apparatus and image encoding method related to non-photo image regions
US7317838B2 (en) Compression of bi-level images with explicit representation of ink clusters
US7542605B2 (en) Image processing apparatus, control method therefor, and program
US7321688B2 (en) Image processor for character recognition
JPS60254871A (en) Encoding method of facsimile image
US6996280B1 (en) Image encoder, image decoder, character checker, and data storage medium
US20100150460A1 (en) Ocr-guided text tokenization of digital images
JP5049921B2 (en) Image processing apparatus and image processing method
JP2000048036A (en) Image processor and its method
JP3872217B2 (en) Dither image binary expression processing method, dither image compression binary expression decompression method, and dither image compression and decompression system
JP5178490B2 (en) Image processing apparatus, image processing method, and computer program
US20060045341A1 (en) Apparatus and method for high-speed character recognition
US6301391B1 (en) Coding apparatus
JPH10126624A (en) Picture encoding device and picture decoding device
JPH10108011A (en) Data-processing unit
JPH05151349A (en) Image data compressing method and encoding circuit
JPH1117959A (en) Run length coding method for binary image and recording medium storing run length coding program
JPH0830794A (en) Image compression method
JP3363698B2 (en) Multi-tone image coding device
JP3309892B2 (en) Image information encoding device and decoding device
US7076109B2 (en) System and method of automatically determining the dominant periodicity in sequential binary data
JP3852237B2 (en) Image processing device
JP4526069B2 (en) Image information arithmetic coding apparatus and image information arithmetic decoding apparatus
Rucklidge et al. Flexible network document imaging architecture
JPH11215381A (en) Coder and recoder