JP2012005076A - Character image compression apparatus and character image restoration apparatus, character image compression method and character image restoration method, and character image compression program and character image restoration program - Google Patents

Character image compression apparatus and character image restoration apparatus, character image compression method and character image restoration method, and character image compression program and character image restoration program Download PDF

Info

Publication number
JP2012005076A
JP2012005076A JP2010141043A JP2010141043A JP2012005076A JP 2012005076 A JP2012005076 A JP 2012005076A JP 2010141043 A JP2010141043 A JP 2010141043A JP 2010141043 A JP2010141043 A JP 2010141043A JP 2012005076 A JP2012005076 A JP 2012005076A
Authority
JP
Japan
Prior art keywords
image
character
character image
linear sum
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010141043A
Other languages
Japanese (ja)
Other versions
JP5605009B2 (en
Inventor
Hiroaki Takebe
浩明 武部
Yoshinobu Hotta
悦伸 堀田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010141043A priority Critical patent/JP5605009B2/en
Publication of JP2012005076A publication Critical patent/JP2012005076A/en
Application granted granted Critical
Publication of JP5605009B2 publication Critical patent/JP5605009B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PROBLEM TO BE SOLVED: To compress a character image with a high quality and a low capacitance.SOLUTION: A character recognition section 51 performs character recognition on a character image acquired by a character image acquisition section 50, a linear sum image production section 53 acquires from a dictionary DB 58 a plurality of sample images corresponding to the recognized character and produce a linear sum image with the plurality of sample images. Furthermore, a differential image production section 55 produces a differential image between the character image acquired by the character image acquisition section 50 and the linear sum image, and a storage section 56 stores in storage means 30 the linear sum image and the differential image in association with each other.

Description

本件は、文字画像圧縮装置及び文字画像復元装置、文字画像圧縮方法及び文字画像復元方法、並びに文字画像圧縮プログラム及び文字画像復元プログラムに関する。   The present invention relates to a character image compression device, a character image restoration device, a character image compression method, a character image restoration method, a character image compression program, and a character image restoration program.

文書画像を大量保存する場合や、例えば銀行業務のように窓口で取得した帳票画像を業務センター等へ大量送信する場合等においては、文書画像を高品質かつ低容量に圧縮できることが好ましい。   When storing a large amount of document images, or when transmitting a large amount of form images acquired at a window such as banking operations to a business center or the like, it is preferable that the document images can be compressed with high quality and low capacity.

一般に画像を圧縮する方式としてJPEG(Joint Photographic Experts Group)圧縮がある。しかし、文書画像に対してJPEG圧縮を行うと、文字パターンの周辺にブロックノイズが発生して視認性が大きく低下することがある。特に、元の文書画像の画質が劣悪な場合や文字が小さい場合などにおいて、JPEG圧縮を行うと文字が非常に見づらくなる。   In general, there is JPEG (Joint Photographic Experts Group) compression as a method for compressing images. However, when JPEG compression is performed on a document image, block noise may occur around the character pattern and the visibility may be greatly reduced. In particular, when the image quality of the original document image is inferior or the characters are small, the characters are very difficult to see when JPEG compression is performed.

これに対し、最近では、例えば特許文献1のような技術を用いた圧縮方法が提案されている。特許文献1に記載の技術は、文書画像を文字画像と背景画像に分離して、それぞれに適した圧縮を行うというものである。具体的には、背景画像にはJPEG圧縮を施し、その一方で、文字画像に対しては、文字の色を減らし複数枚の2値画像に変換しそれらに対して可逆圧縮を施すというものである。   On the other hand, recently, for example, a compression method using a technique such as Patent Document 1 has been proposed. The technique described in Patent Document 1 separates a document image into a character image and a background image, and performs compression suitable for each. Specifically, the background image is subjected to JPEG compression, while the character image is reduced in character color and converted into a plurality of binary images and subjected to reversible compression. is there.

更に、特許文献2のような、文字認識結果を用いた圧縮方法も提案されている。この技術では、文字認識結果の信頼性が高い文字を文字コードに置き換えて保存するというものである。また、特許文献3には、文字認識結果の文字コードに対して、文字画像と最も近い文字フォントを探索して近似画像とし、それを入力画像に対する予測画像とし、予測誤差を求めて符号化する技術が開示されている。   Furthermore, a compression method using a character recognition result as in Patent Document 2 has also been proposed. In this technique, characters with high reliability in character recognition results are replaced with character codes and stored. Japanese Patent Laid-Open No. 2004-228561 searches for a character font closest to a character image by searching for a character code as a result of character recognition, sets it as an approximate image, sets it as a predicted image for an input image, obtains a prediction error, and encodes it. Technology is disclosed.

特開2005−159663号公報JP 2005-159663 A 特開平8−295934号公報JP-A-8-295934 特開平10−178638号公報JP-A-10-178638

しかしながら、上記特許文献1の技術では、文字の色を減らすことで文字パターンの一部が消失するなどして、必ずしも視認性を改善できるとは限らない。また、特許文献2の技術のように文字認識を用いても、文字認識結果自体が100%信頼できるものではないため、誤った画像が復元される可能性がある。また、特許文献3の技術を用いても、取得する文書画像は大抵の場合劣化しているため、最も近いフォントの文字画像でも実際の画像との差分が大きくなってしまい、文字画像の高精度(高品質)な圧縮を実現できないおそれがある。   However, with the technique of the above-mentioned Patent Document 1, visibility cannot always be improved because a part of the character pattern disappears by reducing the color of the character. Further, even if character recognition is used as in the technique of Patent Document 2, the character recognition result itself is not 100% reliable, so that an erroneous image may be restored. Further, even if the technique of Patent Document 3 is used, the document image to be acquired is often deteriorated, so that the difference between the character image of the closest font and the actual image becomes large, and the character image has high accuracy. There is a possibility that (high quality) compression cannot be realized.

そこで本件は上記の課題に鑑みてなされたものであり、高品質で、低容量に文字画像を圧縮することが可能な文字画像圧縮装置、文字画像圧縮方法及び文字画像圧縮プログラムを提供することを目的とする。また、本件は、高品質で、低容量に圧縮された文字画像を復元することが可能な文字画像復元装置、文字画像復元方法及び文字画像復元プログラムを提供することを目的とする。   Accordingly, the present invention has been made in view of the above problems, and provides a character image compression device, a character image compression method, and a character image compression program that are capable of compressing a character image with high quality and low capacity. Objective. It is another object of the present invention to provide a character image restoration device, a character image restoration method, and a character image restoration program that can restore a character image that has been compressed with a high quality and a low capacity.

本明細書に記載の文字画像圧縮装置は、文字画像を取得する文字画像取得部と、前記文字画像取得部で取得された前記文字画像の文字認識を行う文字認識部と、前記文字認識部にて認識された文字に対応する複数のサンプル画像を取得し、前記複数のサンプル画像を用いた線形和画像を生成する線形和画像生成部と、前記文字画像取得部が取得した前記文字画像と、前記線形和画像との差分画像を生成する差分画像生成部と、前記線形和画像の情報と、前記差分画像の情報とを関連付けて、格納手段に格納する格納部と、を備える。   The character image compression device described in this specification includes a character image acquisition unit that acquires a character image, a character recognition unit that performs character recognition of the character image acquired by the character image acquisition unit, and a character recognition unit. A plurality of sample images corresponding to the recognized character, a linear sum image generation unit that generates a linear sum image using the plurality of sample images, the character image acquired by the character image acquisition unit, A difference image generation unit that generates a difference image with the linear sum image; and a storage unit that associates the information of the linear sum image with the information of the difference image and stores the information in a storage unit.

本明細書に記載の文字画像復元装置は、本明細書に記載の文字画像圧縮装置の前記格納部が前記格納手段に格納した、前記線形和画像の情報と、前記差分画像の情報とを取得する取得部と、前記取得部が取得した情報から前記文字画像を復元する復元部と、を備える。   The character image restoration device described in the present specification acquires the linear sum image information and the difference image information stored in the storage unit by the storage unit of the character image compression device described in the specification. And a restoration unit that restores the character image from the information acquired by the acquisition unit.

本明細書に記載の文字画像圧縮方法は、コンピュータが、文字画像を取得する文字画像取得工程と、前記文字画像取得工程で取得された前記文字画像の文字認識を行う文字認識工程と、前記文字認識工程で認識された文字に対応する複数のサンプル画像を取得し、前記複数のサンプル画像を用いた線形和画像を生成する線形和画像生成工程と、前記文字画像取得工程で取得した前記文字画像と、前記線形和画像との差分画像を生成する差分画像生成工程と、前記線形和画像の情報と、前記差分画像の情報とを関連付けて、格納手段に格納する格納工程と、を実行する文字画像圧縮方法である。   In the character image compression method described in the present specification, a computer acquires a character image acquisition step of acquiring a character image, a character recognition step of performing character recognition of the character image acquired in the character image acquisition step, and the character A linear sum image generation step of acquiring a plurality of sample images corresponding to the characters recognized in the recognition step and generating a linear sum image using the plurality of sample images, and the character image acquired in the character image acquisition step And a difference image generating step for generating a difference image with the linear sum image, and a storage step for associating the information of the linear sum image with the information of the difference image and storing in the storage means. This is an image compression method.

本明細書に記載の文字画像復元方法は、コンピュータが、本明細書に記載の文字画像圧縮方法を用いて、前記格納手段に格納された、前記線形和画像の情報と、前記差分画像の情報とを取得する取得工程と、前記取得工程において取得された情報から前記文字画像を復元する復元工程と、を実行する文字画像復元方法である。   The character image restoration method described in the present specification is such that the computer uses the character image compression method described in the specification to store the linear sum image information and the difference image information stored in the storage unit. And a restoration step of restoring the character image from the information acquired in the acquisition step.

本明細書に記載の文字画像圧縮プログラムは、コンピュータに、文字画像を取得する文字画像取得工程と、前記文字画像取得工程で取得された前記文字画像の文字認識を行う文字認識工程と、前記文字認識工程で認識された文字に対応する複数のサンプル画像を取得し、前記複数のサンプル画像を用いた線形和画像を生成する線形和画像生成工程と、前記文字画像取得工程で取得した前記文字画像と、前記線形和画像との差分画像を生成する差分画像生成工程と、前記線形和画像の情報と、前記差分画像の情報とを関連付けて、格納手段に格納する格納工程と、を実行させる文字画像圧縮プログラムである。   The character image compression program described in the present specification includes a computer, a character image acquisition step of acquiring a character image, a character recognition step of performing character recognition of the character image acquired in the character image acquisition step, and the character A linear sum image generation step of acquiring a plurality of sample images corresponding to the characters recognized in the recognition step and generating a linear sum image using the plurality of sample images, and the character image acquired in the character image acquisition step And a difference image generating step for generating a difference image with the linear sum image, and a storage step for storing the linear sum image information and the difference image information in association with each other and storing them in storage means An image compression program.

本明細書に記載の文字画像復元プログラムは、コンピュータに、本明細書に記載の文字画像圧縮プログラムを用いて、前記格納手段に格納された、前記線形和画像の情報と、前記差分画像の情報とを取得する取得工程と、前記取得工程において取得された情報から前記文字画像を復元する復元工程と、を実行させる文字画像復元プログラムである。   The character image restoration program described in the present specification uses the character image compression program described in the present specification on a computer to store the linear sum image information and the difference image information stored in the storage unit. And a restoration process for restoring the character image from the information acquired in the acquisition process.

本明細書に記載の文字画像圧縮装置、文字画像圧縮方法及び文字画像圧縮プログラムは、高品質で、低容量に文字画像を圧縮することができるという効果を奏する。また、本明細書に記載の文字画像復元装置、文字画像復元方法及び文字画像復元プログラムは、高品質で、低容量に圧縮された文字画像を復元することができるという効果を奏する。   The character image compression apparatus, the character image compression method, and the character image compression program described in this specification have an effect that a character image can be compressed with high quality and low capacity. Further, the character image restoration device, the character image restoration method, and the character image restoration program described in the present specification have an effect that a character image compressed with a high quality and a low capacity can be restored.

一実施形態に係る情報処理装置の構成を概略的に示す図である。It is a figure showing roughly the composition of the information processor concerning one embodiment. 図1のPCのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of PC of FIG. 図1のPCの機能ブロック図が示されている。A functional block diagram of the PC of FIG. 1 is shown. 文字画像圧縮部と、文字画像復元部の詳細な機能ブロック図である。It is a detailed functional block diagram of a character image compression part and a character image restoration part. 辞書DBのデータ構造を示す図である。It is a figure which shows the data structure of dictionary DB. 一実施形態の情報処理装置における文書画像圧縮処理の具体的な処理内容を示すフローチャートである。It is a flowchart which shows the specific processing content of the document image compression process in the information processing apparatus of one Embodiment. 図6のステップS16(文字画像圧縮のサブルーチン)における具体的処理を示すフローチャートである。It is a flowchart which shows the specific process in step S16 (subroutine of character image compression) of FIG. 図8(a)〜図8(d)は、線形和画像の生成方法を説明するための図である。FIG. 8A to FIG. 8D are diagrams for explaining a method of generating a linear sum image. 図7のステップS28の具体的処理を示すフローチャートである。It is a flowchart which shows the specific process of step S28 of FIG. 図10(a)、図10(b)は、差分画像の生成方法を説明するための図である。FIG. 10A and FIG. 10B are diagrams for explaining a method of generating a difference image. 図11(a)は、圧縮文字データのデータ構造を模式的に示す図であり、図11(b)は、文字画像データのデータ構造を示す図であるFIG. 11A is a diagram schematically showing the data structure of compressed character data, and FIG. 11B is a diagram showing the data structure of character image data. 差分画像データのデータ構造を示す図である。It is a figure which shows the data structure of difference image data. 文書画像の復元処理を示すフローチャートである。It is a flowchart which shows the restoration process of a document image. 図13のステップS94の具体的処理内容を示すフローチャートである。It is a flowchart which shows the specific processing content of step S94 of FIG. 図15(a)〜図15(c)は、比較例1を説明するための図である。FIG. 15A to FIG. 15C are diagrams for explaining the comparative example 1. FIG. 図16(a)〜図16(c)は、比較例2を説明するための図である。FIG. 16A to FIG. 16C are diagrams for explaining the comparative example 2. FIG. 変形例に係るPCの機能ブロック図である。It is a functional block diagram of PC concerning a modification. 図18(a)は、変形例に係る表示例を示す図であり、図18(b)は、図18(a)の画像を鮮明にした状態を示す図である。FIG. 18A is a diagram illustrating a display example according to the modification, and FIG. 18B is a diagram illustrating a state where the image of FIG. 図19(a)〜図19(c)は、変形例における重み係数の計算手順を示す図である。FIG. 19A to FIG. 19C are diagrams showing the calculation procedure of the weighting coefficient in the modified example.

以下、文字画像圧縮装置及び文字画像復元装置の一実施形態について詳細に説明する。図1には、一実施形態に係る情報処理装置100の構成が概略的に示されている。この図1に示すように、情報処理装置100は、PC10と、ディスプレイ12と、キーボード14と、マウス16と、スキャナ18とを備える。   Hereinafter, an embodiment of a character image compression device and a character image restoration device will be described in detail. FIG. 1 schematically shows the configuration of an information processing apparatus 100 according to an embodiment. As shown in FIG. 1, the information processing apparatus 100 includes a PC 10, a display 12, a keyboard 14, a mouse 16, and a scanner 18.

PC10は、外部から入力される文書画像を圧縮して保持するとともに、ユーザの指示に応じて、保存している文書画像を復元して、ディスプレイ12に表示する機能を有している。   The PC 10 has a function of compressing and holding a document image input from the outside, restoring a saved document image in accordance with a user instruction, and displaying the restored document image on the display 12.

図2には、PC10のハードウェア構成が示されている。この図2に示すように、PC10は、CPU90、ROM91、RAM92、記憶部(ここではHDD(Hard Disk Drive))93、入出力部94等を備えており、これら構成各部は、バス95に接続されている。PC10では、ROM91あるいはHDD93に格納されている各種プログラム(文字画像圧縮プログラム及び文字画像復元プログラムを含む)をCPU90が実行することにより、図3の各部の機能が実現される。また、入出力部94には、図1のディスプレイ12、キーボード14、マウス16、スキャナ18等が接続されている。   FIG. 2 shows the hardware configuration of the PC 10. As shown in FIG. 2, the PC 10 includes a CPU 90, a ROM 91, a RAM 92, a storage unit (HDD (Hard Disk Drive)) 93, an input / output unit 94, and the like. Has been. In the PC 10, the CPU 90 executes various programs (including a character image compression program and a character image restoration program) stored in the ROM 91 or the HDD 93, thereby realizing the functions of the respective units in FIG. Further, the input / output unit 94 is connected to the display 12, the keyboard 14, the mouse 16, the scanner 18 and the like of FIG.

図1に戻り、ディスプレイ12は、液晶ディスプレイ等の表示装置であり、PC10から入力される画像を表示する。キーボード14及びマウス16は、ユーザがPC10への指示を入力する際に用いられるユーザインタフェースである。スキャナ18は、文字や図形等が記載された紙文書の画像(文書画像と呼ぶ)を読み取り、PC10に入力する装置である。   Returning to FIG. 1, the display 12 is a display device such as a liquid crystal display, and displays an image input from the PC 10. The keyboard 14 and the mouse 16 are user interfaces used when a user inputs an instruction to the PC 10. The scanner 18 is a device that reads an image (referred to as a document image) of a paper document in which characters, graphics, and the like are described, and inputs them to the PC 10.

図3には、PC10の機能ブロック図が示されている。この図3に示すように、PC10は、文書画像分離部20と、背景画像圧縮部22と、文字画像圧縮装置としての文字画像圧縮部24と、格納手段30と、背景画像復元部40と、文字画像復元装置としての文字画像復元部42と、文書画像生成部44と、表示制御部46と、を有する。   FIG. 3 shows a functional block diagram of the PC 10. As shown in FIG. 3, the PC 10 includes a document image separation unit 20, a background image compression unit 22, a character image compression unit 24 as a character image compression device, a storage unit 30, a background image restoration unit 40, A character image restoration unit 42 as a character image restoration device, a document image generation unit 44, and a display control unit 46 are included.

文書画像分離部20は、スキャナ18にて読み込まれた文書画像を、背景画像と文字画像とに分離する。ここで、文字画像とは、文書画像に含まれる文字を1文字ずつ取り出した画像である。また、背景画像は、文字画像以外の部分の画像である。   The document image separation unit 20 separates the document image read by the scanner 18 into a background image and a character image. Here, the character image is an image obtained by extracting characters included in the document image one by one. The background image is an image of a portion other than the character image.

背景画像圧縮部22は、文書画像分離部20で分離された背景画像をJPEG形式などにより圧縮して、当該圧縮により生成された圧縮背景データを格納手段30に格納する。文字画像圧縮部24は、辞書DB58に格納されているデータを用いて、文書画像分離部20で分離された文字画像を後述する方法で圧縮する。また、文字画像圧縮部24は、圧縮により生成された圧縮文字データを、格納手段30に格納する。なお、文字画像圧縮部24の詳細については、後述する。   The background image compression unit 22 compresses the background image separated by the document image separation unit 20 in the JPEG format or the like, and stores the compressed background data generated by the compression in the storage unit 30. The character image compression unit 24 uses the data stored in the dictionary DB 58 to compress the character image separated by the document image separation unit 20 by a method described later. The character image compressing unit 24 stores the compressed character data generated by the compression in the storage unit 30. Details of the character image compression unit 24 will be described later.

ここで、格納手段30及び辞書DB58は、図2のHDD93により実現されている。辞書DB58には、複数の文字に対して、複数のフォント、複数の劣化度の画像(サンプル画像(図8(b)参照)と呼ぶ)が格納されている。   Here, the storage means 30 and the dictionary DB 58 are realized by the HDD 93 of FIG. The dictionary DB 58 stores a plurality of fonts and images of a plurality of deterioration levels (referred to as sample images (see FIG. 8B)) for a plurality of characters.

背景画像復元部40は、格納手段30に格納されている圧縮背景データを読み出し、当該圧縮背景データから、背景画像を復元する。文字画像復元部42は、格納手段30に格納されている圧縮文字データを読み出し、当該圧縮文字データと、辞書DB58に格納されているデータとに基づいて、文字画像を復元する。なお、文字画像復元部42の詳細については、後述する。   The background image restoration unit 40 reads the compressed background data stored in the storage unit 30 and restores the background image from the compressed background data. The character image restoration unit 42 reads the compressed character data stored in the storage unit 30 and restores the character image based on the compressed character data and the data stored in the dictionary DB 58. Details of the character image restoration unit 42 will be described later.

文書画像生成部44は、背景画像復元部40で復元された背景画像と、文字画像復元部42で復元された文字画像とを用いて、文書画像を生成(復元)する。表示制御部46は、文書画像生成部44で生成された文書画像を、ディスプレイ12に表示する。   The document image generation unit 44 generates (restores) a document image using the background image restored by the background image restoration unit 40 and the character image restored by the character image restoration unit 42. The display control unit 46 displays the document image generated by the document image generation unit 44 on the display 12.

図4には、文字画像圧縮部24及び文字画像復元部42の詳細な機能ブロック図が示されている。図4に示すように、文字画像圧縮部24は、文字画像取得部50と、文字認識部51と、色情報取得部52と、線形和画像生成部53と、差分画像生成部55と、格納部56と、を備える。   FIG. 4 shows a detailed functional block diagram of the character image compression unit 24 and the character image restoration unit 42. As shown in FIG. 4, the character image compression unit 24 includes a character image acquisition unit 50, a character recognition unit 51, a color information acquisition unit 52, a linear sum image generation unit 53, a difference image generation unit 55, and a storage. Part 56.

文字画像取得部50は、図3の文書画像分離部20において文書画像から分離された文字画像を取得する。文字認識部51は、文字画像取得部50で取得された文字画像の文字認識を行う。色情報取得部52は、文字画像から色情報(ここでは、色相と彩度)を取得する。   The character image acquisition unit 50 acquires the character image separated from the document image in the document image separation unit 20 of FIG. The character recognition unit 51 performs character recognition of the character image acquired by the character image acquisition unit 50. The color information acquisition unit 52 acquires color information (here, hue and saturation) from the character image.

線形和画像生成部53は、複数のサンプル画像の各々に重み付けを行い、サンプル画像の画素値と各サンプル画像の重み係数とを積算した値の和から線形和画像を生成する。より具体的には、サンプル画像取得部54aと、重み係数決定部54bと、画像生成部54cと、を有している。サンプル画像取得部54aは、文字認識部51にて認識された文字に対応する複数のサンプル画像を辞書DB58から取得する。また、重み係数決定部54bは、複数のサンプル画像を用いた線形和による生成画像が、文字画像に類似するように、各サンプル画像の重み係数を決定する。画像生成部54cは、複数のサンプル画像と各サンプル画像の重み係数とを積算した値の和から、線形和画像を生成する。   The linear sum image generation unit 53 weights each of the plurality of sample images, and generates a linear sum image from the sum of values obtained by integrating the pixel values of the sample images and the weighting coefficients of the sample images. More specifically, it includes a sample image acquisition unit 54a, a weight coefficient determination unit 54b, and an image generation unit 54c. The sample image acquisition unit 54 a acquires a plurality of sample images corresponding to the characters recognized by the character recognition unit 51 from the dictionary DB 58. In addition, the weighting coefficient determination unit 54b determines the weighting coefficient of each sample image so that the image generated by linear sum using a plurality of sample images is similar to the character image. The image generation unit 54c generates a linear sum image from the sum of values obtained by integrating a plurality of sample images and the weighting coefficient of each sample image.

差分画像生成部55は、文字画像取得部50が取得した文字画像と、線形和画像生成部53で生成された線形和画像との差分画像を生成するとともに、差分画像を可逆圧縮して差分画像データを生成する。   The difference image generation unit 55 generates a difference image between the character image acquired by the character image acquisition unit 50 and the linear sum image generated by the linear sum image generation unit 53, and reversibly compresses the difference image to generate the difference image. Generate data.

格納部56は、線形和画像の情報(線形和画像生成に用いたサンプル画像の情報及び重み係数を含む文字画像データ)と、差分画像の情報(差分画像データ)とを関連付けて、格納手段30に格納する。   The storage unit 56 associates linear sum image information (sample image information and character image data including weighting coefficients used for linear sum image generation) with difference image information (difference image data), and stores the storage unit 30. To store.

図3の文字画像復元部42は、図4に示すように、取得部60と、復元部62と、出力部64と、を備えている。   As shown in FIG. 4, the character image restoration unit 42 of FIG. 3 includes an acquisition unit 60, a restoration unit 62, and an output unit 64.

取得部60は、格納手段30に格納されている情報のうち、線形和画像の情報と、差分画像の情報とを取得する。復元部62は、取得部60が取得した線形和画像の情報と辞書DB58のサンプル画像とから生成される線形和画像と、差分画像の情報から生成される差分画像とから文字画像を復元する。出力部64は、復元部62において復元された文字画像を図3の文書画像生成部44に対して出力する。   The acquisition unit 60 acquires linear sum image information and difference image information among the information stored in the storage unit 30. The restoration unit 62 restores a character image from the linear sum image generated from the information of the linear sum image acquired by the acquisition unit 60 and the sample image of the dictionary DB 58 and the difference image generated from the information of the difference image. The output unit 64 outputs the character image restored by the restoration unit 62 to the document image generation unit 44 of FIG.

次に、辞書DB58のデータ構造について、図5に基づいて説明する。図5に示すように、辞書DB58には、「文字種類数」の項目と、「文字種類1」〜「文字種類p」の項目が設けられている。なお、図5では、「文字種類数」の項目には、pが入力されることになる。ここで、文字種類とは、文字そのもの(例えば、「あ」、「い」…など)を意味し、フォントや画像の劣化度が異なっているものも含めて、1つの文字種類となる。文字種類は、一般に、文字カテゴリとも呼ばれ、文字種類数は、通常、日本語であれば約4000程度となる。   Next, the data structure of the dictionary DB 58 will be described with reference to FIG. As shown in FIG. 5, the dictionary DB 58 includes an item “number of character types” and items “character type 1” to “character type p”. In FIG. 5, p is input to the item “number of character types”. Here, the character type means the character itself (for example, “A”, “I”, etc.), and includes one character type including fonts and images with different degrees of deterioration. The character type is generally called a character category, and the number of character types is usually about 4000 for Japanese.

また、辞書DB58には、図5に示すように、文字種類ごとに、「文字コード」の項目、「文字画像数」の項目が設けられている。また、複数の文字画像に対応して、「ID」の項目、「文字画像(データ)」の項目、「文字特徴(ベクトル)」の項目が、設けられている。「文字画像」の項目には、例えば、図8(b)に示すような、フォントや画像の劣化度が異なる画像(「サンプル画像」とも呼ぶ)が登録され、「ID」の項目には、図8(b)に示すA1〜D3などのIDが登録される。   In addition, as shown in FIG. 5, the dictionary DB 58 includes an item “character code” and an item “number of character images” for each character type. In addition, an item “ID”, an item “character image (data)”, and an item “character feature (vector)” are provided corresponding to a plurality of character images. In the “character image” item, for example, images (also referred to as “sample images”) having different degrees of deterioration of fonts and images as shown in FIG. 8B are registered, and in the “ID” item, IDs such as A1 to D3 shown in FIG. 8B are registered.

なお、文字画像としては正規化された画像、例えばグレー画像が登録される。また、文字特徴ベクトルの次元数も文字画像によらず一定である。したがって、文字画像毎の情報は固定の大きさの領域となる。なお、文字特徴ベクトルは、グレー画像ではなく、2値画像から得られるものでもよい。また、画像の劣化度は、例えば、文字画像に対してガウシアンフィルタの分散を多段階に変更しつつ作用させることにより得ることができる。   As the character image, a normalized image, for example, a gray image is registered. The number of dimensions of the character feature vector is also constant regardless of the character image. Therefore, the information for each character image is an area having a fixed size. The character feature vector may be obtained from a binary image instead of a gray image. Further, the degree of image degradation can be obtained, for example, by acting on a character image while changing the variance of the Gaussian filter in multiple stages.

次に、本実施形態の情報処理装置100における文書画像圧縮処理と文書画像復元処理の詳細について、図6〜図14に基づいて説明する。   Next, details of the document image compression process and the document image restoration process in the information processing apparatus 100 according to the present embodiment will be described with reference to FIGS.

図6には、本実施形態の情報処理装置100における文書画像圧縮処理の具体的な処理内容が、フローチャートにて示されている。図6の処理では、まず、ステップS10において、文書画像分離部20が、スキャナ18にて読み込まれた文書画像を取得する。次いで、ステップS12では、文書画像分離部20が、文字画像と背景画像とを分離する。この分離方法としては、例えば、特開2005−159663号公報に記載されているような方法を採用することができる。   FIG. 6 is a flowchart showing specific processing contents of the document image compression processing in the information processing apparatus 100 according to the present embodiment. In the process of FIG. 6, first, in step S <b> 10, the document image separation unit 20 acquires a document image read by the scanner 18. Next, in step S12, the document image separation unit 20 separates the character image and the background image. As this separation method, for example, a method described in JP-A-2005-159663 can be employed.

次いで、ステップS14では、背景画像圧縮部22が、背景画像を圧縮する処理を実行する。この場合、背景画像圧縮部22は、例えばJPEG形式により背景画像を圧縮し、圧縮背景データを生成するものとする。   Next, in step S14, the background image compression unit 22 executes a process of compressing the background image. In this case, the background image compression unit 22 compresses the background image, for example, in the JPEG format, and generates compressed background data.

次いで、ステップS16では、文字画像圧縮部24が、文字画像圧縮のサブルーチンを実行する。この文字画像圧縮のサブルーチンでは、図7の処理が実行される。   In step S16, the character image compression unit 24 executes a character image compression subroutine. In this character image compression subroutine, the processing of FIG. 7 is executed.

図7には、ステップS16(文字画像圧縮のサブルーチン)における具体的処理がフローチャートにて示されている。この図7の処理では、まず、ステップS20において、文字画像圧縮部24の文字画像取得部50が、文書画像分離部20にて文書画像から分離された全ての文字画像を取得する。ここで取得される文字画像は、カラーの文字画像であるものとする。   FIG. 7 is a flowchart showing specific processing in step S16 (a subroutine for character image compression). In the process of FIG. 7, first, in step S <b> 20, the character image acquisition unit 50 of the character image compression unit 24 acquires all the character images separated from the document image by the document image separation unit 20. The character image acquired here is assumed to be a color character image.

次いで、ステップS22では、文字認識部51が、ステップS20において取得された文字画像(カラーの文字画像)を用いて文字認識処理を行う。その結果得られる文字認識結果は、認識結果文字数と各認識結果の文字情報である。認識結果の文字情報は、文字コードと、文字座標とを含む。   Next, in step S22, the character recognition unit 51 performs character recognition processing using the character image (color character image) acquired in step S20. The character recognition result obtained as a result is the number of recognition result characters and the character information of each recognition result. The character information of the recognition result includes a character code and character coordinates.

次いで、ステップS23では、色情報取得部52が、未処理の文字画像を取得する。次いで、ステップS24では、色情報取得部52が、取得した文字画像の色情報を取得する。ここで、文字画像の色情報は、色相と彩度の値である。この場合、まず、色情報取得部52は、カラーの元画像(Iとする)から明度画像(Fとする)を生成する。そして、色情報取得部52は、文字画像の画素のうち、明度値が所定の閾値よりも大きい画素、すなわち、文字画像をグレー画像としたときに所定以上黒く表示される画素に関して、色相と彩度の値を計算してサンプリングする。また、色情報取得部52は、当該サンプリングの結果、最も出現頻度の大きい色相と彩度の値を求め、これを、文字画像の色情報とする。なお、色彩と彩度の取得方法は、上記方法に限らず、色情報取得部52は、文字画像の画素の色彩と彩度の平均値を求め、これを文字画像の色情報として取得することとしても良い。   Next, in step S23, the color information acquisition unit 52 acquires an unprocessed character image. Next, in step S24, the color information acquisition unit 52 acquires color information of the acquired character image. Here, the color information of the character image is a value of hue and saturation. In this case, first, the color information acquisition unit 52 generates a lightness image (F) from a color original image (I). Then, the color information acquisition unit 52 performs hue and saturation for pixels that have a brightness value greater than a predetermined threshold among the pixels of the character image, that is, for pixels that are displayed more than a predetermined black when the character image is a gray image. Calculate and sample the degree value. In addition, the color information acquisition unit 52 obtains the hue and saturation values having the highest appearance frequency as a result of the sampling, and uses them as the color information of the character image. The color and saturation acquisition method is not limited to the above method, and the color information acquisition unit 52 obtains the average value of the color and saturation of the pixels of the character image, and acquires this as the color information of the character image. It is also good.

次いで、ステップS26では、線形和画像生成部53が、線形和画像を生成する。以下、線形和画像の生成方法について、図8(a)〜図8(d)に基づいて、詳細に説明する。   Next, in step S26, the linear sum image generation unit 53 generates a linear sum image. Hereinafter, a method for generating a linear sum image will be described in detail with reference to FIGS. 8 (a) to 8 (d).

図8(a)には、1文字分の文字画像(明度画像)Fの一例として、「証」の文字の文字画像が示されている。この文字画像Fの文字認識(ステップS22)の結果、正しく「証」と認識された場合には、サンプル画像取得部54aは、辞書DB58から「証」の文字に対応する複数のサンプル画像を、図8(b)のように取得する。次いで、重み係数決定部54bは、文字画像Fに関し、サンプル画像との距離を算出し、距離の近い上位N個のサンプル画像f1、f2、…、fNを決定する。ここで、文字画像Fとサンプル画像との距離は、サンプル画像の文字特徴ベクトルを用いた識別関数値を利用して、算出することができる。なお、図8(c)では、N=3の例が示されている。 FIG. 8A shows a character image of the character “proof” as an example of a character image (lightness image) F for one character. As a result of the character recognition (step S22) of the character image F, when it is correctly recognized as “certificate”, the sample image acquisition unit 54a obtains a plurality of sample images corresponding to the characters “certification” from the dictionary DB 58, Obtained as shown in FIG. Then, the weighting coefficient determining section 54b is directed to the character image F, and calculates the distance between the sample images, the distance the higher close in the N sample images f 1, f 2, ..., determining f N. Here, the distance between the character image F and the sample image can be calculated using an identification function value using the character feature vector of the sample image. In FIG. 8C, an example of N = 3 is shown.

次いで、重み係数決定部54bは、文字画像Fに対して、線形和画像の最適類似画像を求める。具体的には、上位N個のサンプル画像f1、f2、…、fNに対する重み係数α1、α2、…、αNを、次式(1)から求める。 Next, the weighting factor determination unit 54b obtains the optimal similar image of the linear sum image for the character image F. Specifically, the top N sample images f 1, f 2, ..., the weighting factor alpha 1 for f N, alpha 2, ..., the alpha N, obtained from the following equation (1).

Figure 2012005076
Figure 2012005076

ここで、上式(1)の問題を、制約付き最小自乗問題と捉えれば、その解として重み係数α1、α2、…、αNを計算することができる。具体的には、重み係数決定部54bは、次式(2)に基づいて、α1、α2、…、αNを計算する。 Here, if the problem of the above equation (1) is regarded as a constrained least square problem, the weight coefficients α 1 , α 2 ,..., Α N can be calculated as the solution. Specifically, the weighting factor determination unit 54b calculates α 1 , α 2 ,..., Α N based on the following equation (2).

Figure 2012005076
なお、上式(2)では、C={(F−fk)・(F−f)}であるものとする。
Figure 2012005076
In the above formula (2), C = {(F−f k ) · (F−f 1 )}.

以上のようにして、重み係数α1、α2、…、αNを決定すると、画像生成部54cは、線形和画像を生成することができる。一例として、図8(c)に示すように、サンプル画像のIDがA3の重み係数が0.60、A2の重み係数が0.31、C3の重み係数が0.09であったとするならば、画像生成部54cは、各サンプル画像の画素値と各サンプル画像の重み係数とを積算した値の和から、図8(d)のような線形和画像を生成することができる。このように線形和画像が生成された後は、図7のステップS28に移行する。 When the weighting coefficients α 1 , α 2 ,..., Α N are determined as described above, the image generation unit 54c can generate a linear sum image. As an example, as shown in FIG. 8C, if the sample image ID is A3, the weighting factor is 0.60, the weighting factor of A2 is 0.31, and the weighting factor of C3 is 0.09. The image generation unit 54c can generate a linear sum image as shown in FIG. 8D from the sum of values obtained by integrating the pixel values of the sample images and the weighting coefficients of the sample images. After the linear sum image is generated in this way, the process proceeds to step S28 in FIG.

図7のステップS28では、差分画像生成部55が、差分画像を生成するサブルーチンを実行する。このサブルーチンでは、差分画像生成部55は、図9のような処理を実行する。なお、ステップS28の処理は、簡単に言えば、図10(a)のように文字画像FからステップS26で生成された線形和画像を差し引いて、図10(b)のような差分画像を生成する処理である。   In step S28 of FIG. 7, the difference image generation unit 55 executes a subroutine for generating a difference image. In this subroutine, the difference image generation unit 55 executes a process as shown in FIG. Note that the processing in step S28 can be simply described by subtracting the linear sum image generated in step S26 from the character image F as shown in FIG. 10A to generate a difference image as shown in FIG. It is processing to do.

図9の処理では、まずステップS40において、差分画像生成部55が、正の差分画像及び負の差分画像を生成する。なお、正の差分画像とは、線形和画像を元の文字画像に近づけるために、より黒くする必要のある画素を示す画像であり、負の差分画像とは、線形和画像を元の文字画像に近づけるために、より白くする必要のある画素を示す画像である。   In the process of FIG. 9, first, in step S40, the difference image generation unit 55 generates a positive difference image and a negative difference image. The positive difference image is an image showing pixels that need to be made blacker in order to bring the linear sum image closer to the original character image, and the negative difference image is the original character image. It is an image showing a pixel that needs to be whiter in order to be closer to.

具体的には、差分画像生成部55は、次式(3)から差分画像Dを求める。   Specifically, the difference image generation unit 55 obtains the difference image D from the following equation (3).

Figure 2012005076
Figure 2012005076

次いで、差分画像生成部55は、Dを正の差分画像D+と負の差分画像D-に分解する。具体的には、差分画像生成部55は、次式(4)、(5)から、D+とD-を求める。なお、mは、行方向の画素番号を示し、nは列方向の画素番号を示す。 Next, the difference image generation unit 55 decomposes D into a positive difference image D + and a negative difference image D . Specifically, the difference image generation unit 55 obtains D + and D from the following expressions (4) and (5). Note that m represents a pixel number in the row direction, and n represents a pixel number in the column direction.

Figure 2012005076
Figure 2012005076

Figure 2012005076
Figure 2012005076

次いで、ステップS42では、正の差分画像全体の画素値(画素値の総和)が、所定の閾値thα以下であるか否かを判断する。ここで、閾値thαとしては、例えば、線形和画像が正しく生成されているときにとりうる差分画像の画素値の範囲(事前の実験やシミュレーションにより求められる)のうちの最大値を採用することとする。ここでの判断が否定された場合、すなわち、正の差分画像が大きすぎて、ステップS26において適切な線形和画像が生成されていない可能性が高いと判断される場合には、ステップS78に移行する。ステップS78では、正の差分画像を文字画像Fに設定するとともに、負の差分画像を0(Null)に設定し、かつ重み係数をクリアする。このようにステップS78を経た場合には、前述したステップS26において生成された線形和画像を用いた画像圧縮を行うことなく、文字画像そのものを正の差分画像として扱うことになる。このステップS78が行われた後は、図9の全処理を終了して、図7のステップS30に移行する。 Next, in step S42, it is determined whether or not the pixel values (total pixel values) of the entire positive difference image are equal to or less than a predetermined threshold th α . Here, as the threshold th α , for example, the maximum value in the range of pixel values of the difference image that can be taken when the linear sum image is correctly generated (obtained by a prior experiment or simulation) is adopted. To do. If the determination is negative, that is, if it is determined that there is a high possibility that an appropriate linear sum image is not generated in step S26 because the positive difference image is too large, the process proceeds to step S78. To do. In step S78, the positive difference image is set to the character image F, the negative difference image is set to 0 (Null), and the weighting coefficient is cleared. In this way, when step S78 is performed, the character image itself is handled as a positive difference image without performing image compression using the linear sum image generated in step S26 described above. After step S78 is performed, all the processes in FIG. 9 are terminated, and the process proceeds to step S30 in FIG.

一方、ステップS42の判断が肯定された場合には、ステップS44に移行する。ステップS44では、差分画像生成部55が、差分画像の画素の行番号m(0≦m≦ymax)を0に設定する(m=0)。次いで、ステップS46では、差分画像生成部55が、行番号mが行番号の最大値ymax以下か否かを判断する。ここでの判断が肯定された場合には、ステップS48に移行するが、否定された場合には、ステップS60に移行する。ステップS48に移行した場合、差分画像生成部55は、差分画像の画素の列番号n(0≦n≦xmax)を0に設定する(n=0)。次いで、ステップS50では、差分画像生成部55が、列番号nが列番号の最大値xmax以下か否かを判断する。ここでの判断が肯定された場合には、ステップS52に移行するが、否定された場合には、ステップS58においてmを1インクリメント(m←m+1)した後、ステップS46に戻る。 On the other hand, if the determination in step S42 is affirmative, the process proceeds to step S44. In step S44, the difference image generation unit 55 sets the row number m (0 ≦ m ≦ y max ) of the pixels of the difference image to 0 (m = 0). Next, in step S46, the difference image generation unit 55 determines whether or not the line number m is equal to or less than the maximum value y max of the line numbers. If the determination here is affirmed, the process proceeds to step S48. If the determination is negative, the process proceeds to step S60. When the process proceeds to step S48, the difference image generation unit 55 sets the column number n (0 ≦ n ≦ x max ) of the pixels of the difference image to 0 (n = 0). Next, in step S50, the difference image generation unit 55 determines whether or not the column number n is equal to or less than the maximum value x max of the column numbers. If the determination is affirmed, the process proceeds to step S52. If the determination is negative, m is incremented by 1 (m ← m + 1) in step S58, and the process returns to step S46.

ステップS52に移行した場合、差分画像生成部55は、m行n列の画素値が所定の閾値thβ以上か否かを判断する。ここで、閾値thβとしては、画素の値を0に近似しても復元した画像と圧縮前の画像との間に見た目上ほとんど差異が生じない程度の画素の値を採用することができる。ここでの判断が否定された場合、すなわち、m行n列の画素値が閾値thβよりも小さく、ほぼ0と看做せる場合には、ステップS54において、差分画像生成部55が、m行n列の画素値を0に設定して、ステップS56に移行する。このように、m行n列の画素値がほぼ0と看做せるときに画素値を0とすることで、差分画像のデータ量を小さくすることができる。 When the process proceeds to step S52, the difference image generation unit 55 determines whether the pixel value of m rows and n columns is equal to or greater than a predetermined threshold th β . Here, as the threshold value th β , a pixel value can be adopted such that even if the pixel value is approximated to 0, there is almost no difference in appearance between the restored image and the image before compression. When the determination here is negative, that is, when the pixel value of m rows and n columns is smaller than the threshold th β and can be regarded as almost 0, in step S54, the difference image generation unit 55 determines that m rows. The pixel values of the n columns are set to 0, and the process proceeds to step S56. In this way, by setting the pixel value to 0 when the pixel value of m rows and n columns can be regarded as almost 0, the data amount of the difference image can be reduced.

一方、ステップS52の判断が肯定された場合には、差分画像生成部55は、ステップS54を経ずに、すなわち、m行n列の画素値を維持したまま、ステップS56に移行する。   On the other hand, if the determination in step S52 is affirmed, the difference image generation unit 55 proceeds to step S56 without passing through step S54, that is, while maintaining the pixel value of m rows and n columns.

ステップS56では、差分画像生成部55は、列番号nを1インクリメントした後に、ステップS50に戻る。その後は、差分画像生成部55が、ステップS46〜S56を繰り返すことで、0行0列の画素からymax行xmax列の画素までの処理を実行し、ステップS46の判断が否定された段階で、ステップS60に移行する。 In step S56, the difference image generation unit 55 increments the column number n by 1, and then returns to step S50. Then, the difference image generation unit 55, by repeating the steps S46 to S56, steps from the pixels of row zero and column zero executes the process up to the pixels of y max rows x max columns, the determination in step S46 is negative Thus, the process proceeds to step S60.

なお、これ以降のステップS60〜ステップS76の処理は、負の差分画像に対する処理であるが、前述した、ステップS42〜ステップS58までの正の差分画像に対する処理と同様に行われる。なお、ステップS60では、負の差分画像全体の画素値(画素値の総和)の絶対値と閾値thαとを比較し、ステップS70では、m行n列の画素値の絶対値と閾値thβとを比較している点が、前述した正の差分画像に対する処理と異なっている。ステップS60の判断が否定された場合には、ステップS78の処理を経て、図9の全処理を終了し、ステップS64の判断が否定された場合には、ステップS78を経ずに、図9の全処理を終了する。 Note that the subsequent processing from step S60 to step S76 is processing for the negative difference image, but is performed in the same manner as the processing for the positive difference image from step S42 to step S58 described above. In step S60, the absolute value of the pixel value (total sum of pixel values) of the entire negative difference image is compared with the threshold th α, and in step S70, the absolute value of the pixel value in m rows and n columns and the threshold th β are compared. Is different from the processing for the positive difference image described above. If the determination in step S60 is negative, the process in step S78 is completed, and all the processes in FIG. 9 are terminated. If the determination in step S64 is negative, the process in FIG. End all processing.

図9の全処理が終了すると、図7のステップS29に移行する。ステップS29では、差分画像生成部55が、ステップS28で生成された差分画像を可逆圧縮して、差分画像の情報(差分画像データ)を生成する。次いで、ステップS30では、色情報取得部52が、未処理の全文字の取得が終了したか否かを判断する。ここでの判断が否定された場合には、ステップS23に戻り、ステップS30の判断が肯定されるまで、ステップS23〜S30の処理・判断を繰り返す。一方、ステップS30の判断が肯定された場合には、図7の全処理を終了し、図6のステップS18に移行する。なお、図7の処理を終了した段階で生成された各データを、「圧縮文字データ」と呼ぶものとする。すなわち、図11(a)に模式的に示すように、圧縮文字データは、線形和画像生成に用いられるサンプル画像の情報や重み係数、色情報などを含む文字画像データと、差分画像データとを含んでいる。   When all the processes in FIG. 9 are completed, the process proceeds to step S29 in FIG. In step S29, the difference image generation unit 55 reversibly compresses the difference image generated in step S28 to generate difference image information (difference image data). Next, in step S30, the color information acquisition unit 52 determines whether acquisition of all unprocessed characters has been completed. If the determination is negative, the process returns to step S23, and the processes and determinations of steps S23 to S30 are repeated until the determination of step S30 is affirmed. On the other hand, if the determination in step S30 is affirmative, the entire process in FIG. 7 is terminated, and the process proceeds to step S18 in FIG. Note that each piece of data generated at the stage when the processing of FIG. 7 is completed is referred to as “compressed character data”. That is, as schematically shown in FIG. 11A, the compressed character data includes character image data including information on a sample image, weight coefficient, color information, and the like used for linear sum image generation, and difference image data. Contains.

ここで、図11(a)に示す文字画像データと、差分画像データについて説明する。   Here, the character image data and difference image data shown in FIG.

文字画像データは、図11(b)に示すように、先頭に「文字数」の項目があり、その後に「1文字分のコード情報」の項目が文字数分だけ配列される。「1文字分のコード情報」の項目には、「文字の座標」(例えば、文字の左上の点の座標と右下の点の座標)、「文字の色情報」、「文字コード」が記述される。また、線形和画像を生成するのに用いた重み係数の個数が記述されるとともに、重み係数に対応するサンプル画像のIDとその重み係数が記述される。なお、文字の色情報は、色相と彩度の2つの数値からなる。   As shown in FIG. 11B, the character image data has an item “number of characters” at the head, and thereafter, “code information for one character” is arranged by the number of characters. In the item “code information for one character”, “character coordinates” (for example, the coordinates of the upper left point and the lower right point of the character), “character color information”, and “character code” are described. Is done. In addition, the number of weighting factors used to generate the linear sum image is described, and the ID of the sample image corresponding to the weighting factor and its weighting factor are described. Note that the character color information is composed of two numerical values, hue and saturation.

一方、差分画像データは、図12に示すように、先頭に「文字数」の項目があり、その後に「1文字分の差分画像」の情報が文字数分だけ配列される。「1文字分の差分画像」は、データサイズ、文字の座標(例えば、文字の左上の点の座標と右下の点の座標)が記述される。そして、正の差分画像データのサイズが記され、その後に正の差分画像データが配置される。さらに、負の差分画像データのサイズが記され、その後に負の差分画像データが配置される。なお、差分画像データは、可逆圧縮によって圧縮されたデータである。   On the other hand, as shown in FIG. 12, the difference image data has an item “number of characters” at the head, and thereafter, information of “difference image for one character” is arranged by the number of characters. The “difference image for one character” describes the data size and character coordinates (for example, the coordinates of the upper left point and the lower right point of the character). Then, the size of the positive difference image data is written, and then the positive difference image data is arranged. Further, the size of the negative difference image data is described, and thereafter the negative difference image data is arranged. The difference image data is data compressed by lossless compression.

なお、図11、図12から分かるように、図11の「1文字分のコード情報」と、図12の「1文字分の差分画像」には、それぞれ座標が記述されているので、各文字のコード情報と差分画像とが関連付けられていることになる。   As can be seen from FIG. 11 and FIG. 12, the coordinates are described in “Code information for one character” in FIG. 11 and “Difference image for one character” in FIG. The code information and the difference image are associated with each other.

図6に戻り、ステップS18では、背景画像圧縮部22が、ステップS14で生成された圧縮背景データを格納手段30に格納するとともに、文字画像圧縮部24の格納部56(図4参照)が、圧縮文字データを格納手段30に格納する。   Returning to FIG. 6, in step S <b> 18, the background image compression unit 22 stores the compressed background data generated in step S <b> 14 in the storage unit 30 and the storage unit 56 (see FIG. 4) of the character image compression unit 24. The compressed character data is stored in the storage means 30.

次に、上記のようにして格納手段30に格納された圧縮背景データと圧縮文字データとを用いた文書画像の復元処理について、図13のフローチャートに沿って説明する。   Next, a document image restoration process using the compressed background data and the compressed character data stored in the storage unit 30 as described above will be described with reference to the flowchart of FIG.

図13の処理では、まず、ステップS90において、取得部60が、ユーザからの文書画像の復元指示があったか否かを判断する。ここでの判断が否定されている間は、ステップS90が繰り返され、ステップS90の判断が肯定された段階で、ステップS91に移行する。   In the process of FIG. 13, first, in step S90, the acquisition unit 60 determines whether or not there is an instruction to restore the document image from the user. While the determination is negative, step S90 is repeated, and the process proceeds to step S91 when the determination in step S90 is affirmed.

ステップS91では、取得部60が、ユーザによる復元指示において指定された文書画像に対応する圧縮背景データを、格納手段30から取得する。次いで、ステップS92では、取得部60が、ユーザによる復元指示において指定された文書画像に対応する圧縮文字データを、格納手段30から取得する。   In step S <b> 91, the acquisition unit 60 acquires the compressed background data corresponding to the document image designated in the restoration instruction by the user from the storage unit 30. Next, in step S <b> 92, the acquisition unit 60 acquires the compressed character data corresponding to the document image specified in the restoration instruction by the user from the storage unit 30.

次いで、ステップS93では、復元部62が、圧縮背景データを用いて、背景画像を復元、すなわち、メモリ(ここでは、便宜上メモリAとする)上に展開する。次いで、ステップS94では、復元部62が、文字画像を復元するサブルーチンを実行する。   Next, in step S93, the restoration unit 62 restores the background image using the compressed background data, that is, expands the image on the memory (here, referred to as the memory A for convenience). Next, in step S94, the restoration unit 62 executes a subroutine for restoring a character image.

具体的には、復元部62は、図14のフローチャートに沿った処理を実行する。図14では、まず、ステップS102において、復元部62が、図11の圧縮文字データを取得する。   Specifically, the restoration unit 62 executes processing according to the flowchart of FIG. In FIG. 14, first, in step S102, the restoration unit 62 acquires the compressed character data shown in FIG.

次いで、ステップS104では、復元部62が、線形和画像をメモリAと異なるメモリB上に展開し、図11の圧縮文字データに記されている座標情報に従って、メモリAに上書きする。より具体的には、ステップS104では、復元部62は、まず、線形和画像をメモリBに展開し、圧縮文字データに記されている文字数分だけ線形和画像を作成する。このとき、復元部62は、圧縮文字データに記されているIDに基づいて、辞書DB58を探索して対応するサンプル画像を取得し、当該サンプル画像に重み係数を積算して順次足し合わせて線形和画像を作成する。   Next, in step S104, the restoration unit 62 expands the linear sum image on a memory B different from the memory A, and overwrites the memory A according to the coordinate information described in the compressed character data of FIG. More specifically, in step S104, the restoration unit 62 first expands the linear sum image in the memory B, and creates a linear sum image for the number of characters written in the compressed character data. At this time, based on the ID written in the compressed character data, the restoration unit 62 searches the dictionary DB 58 to obtain a corresponding sample image, adds a weighting factor to the sample image, and sequentially adds the sample images to linearly. Create a Japanese image.

次いで、ステップS106では、復元部62は、メモリB上に差分画像を展開する。ここで、差分画像データは可逆圧縮されているので、復元部62は、復号化して展開する。この場合、復元部62は、復号化された差分画像情報を用いて、メモリB上に差分画像の画素値を付加する作業を行う。なお、正の差分画像は足し合わせ、負の差分画像は差し引くこととする。なお、線形和画像の値が所定の閾値よりも小さいところは透明にする。   Next, in step S106, the restoration unit 62 develops the difference image on the memory B. Here, since the difference image data is losslessly compressed, the restoration unit 62 decodes and decompresses the difference image data. In this case, the restoration unit 62 performs an operation of adding the pixel value of the difference image on the memory B using the decoded difference image information. The positive difference image is added and the negative difference image is subtracted. It should be noted that a portion where the value of the linear sum image is smaller than a predetermined threshold is made transparent.

次いで、ステップS108では、復元部62が、ステップS108において生成された文字画像を、カラー化する。このカラー化においては、復元部62は、文字画像データのうちの、色情報から得られる色相と彩度の値をそのまま用いて、文字画像をカラー化する。   Next, in step S108, the restoration unit 62 colorizes the character image generated in step S108. In this colorization, the restoration unit 62 colorizes the character image using the hue and saturation values obtained from the color information in the character image data as they are.

以上のようにして、ステップS102において取得された圧縮文字データから文字画像が復元されると、図14の全処理を終了し、図13のステップS96に移行する。なお、この段階においては、背景画像と文字画像とが合成された文書画像が復元されていることになる。   As described above, when the character image is restored from the compressed character data acquired in step S102, the entire process in FIG. 14 is terminated, and the process proceeds to step S96 in FIG. At this stage, the document image in which the background image and the character image are combined is restored.

ステップS96では、出力部64が復元された文書画像を図3の表示制御部46に対して出力する。以上のようにして、図13の処理が終了すると、表示制御部46が、ディスプレイ12上に文書画像を表示するので、ユーザは、文書画像を閲覧・利用等することが可能となる。   In step S96, the output document 64 outputs the restored document image to the display control unit 46 in FIG. When the processing of FIG. 13 is completed as described above, the display control unit 46 displays the document image on the display 12, so that the user can view and use the document image.

以上、詳細に説明したように、本実施形態によると、文字画像取得部50が取得した文字画像の文字認識を文字認識部51が行い、線形和画像生成部53が、認識された文字に対応する複数のサンプル画像を辞書DB58から取得するとともに、当該複数のサンプル画像を用いた線形和画像を生成する。また、差分画像生成部55が、文字画像取得部50が取得した文字画像と線形和画像との差分画像を生成し、格納部56が、線形和画像と差分画像とを関連付けて、格納手段30に格納する。このように、本実施形態では、複数のサンプル画像を用いて、線形和画像を生成するので、文字画像が多様に変化していても、当該文字画像に近似した線形和画像を生成することができる。これにより、高精度(高品質)に文字画像を圧縮することができる。また、本実施形態では、文字画像に近似した線形和画像を生成することができることから、差分画像の容量を小さくすることができる。これにより、文字画像を低容量に圧縮することができるようになる。更に、たとえ文字認識精度が100%でなくても、本実施形態のように差分画像を用いることで、文字認識の誤りを補完することが可能であり、この点からも、高精度(高品質)な文字画像の圧縮が可能となる。   As described above in detail, according to the present embodiment, the character recognition unit 51 performs character recognition of the character image acquired by the character image acquisition unit 50, and the linear sum image generation unit 53 corresponds to the recognized character. A plurality of sample images to be obtained are acquired from the dictionary DB 58, and a linear sum image using the plurality of sample images is generated. Further, the difference image generation unit 55 generates a difference image between the character image acquired by the character image acquisition unit 50 and the linear sum image, and the storage unit 56 associates the linear sum image and the difference image, and stores them. To store. Thus, in this embodiment, since a linear sum image is generated using a plurality of sample images, a linear sum image that approximates the character image can be generated even if the character image changes in various ways. it can. Thereby, a character image can be compressed with high precision (high quality). In the present embodiment, since a linear sum image approximate to a character image can be generated, the capacity of the difference image can be reduced. As a result, the character image can be compressed to a low capacity. Furthermore, even if the character recognition accuracy is not 100%, it is possible to supplement the error of character recognition by using the difference image as in the present embodiment. From this point of view, high accuracy (high quality) ) Character images can be compressed.

ここで、比較例について説明する。図15(a)〜図15(c)には、文字画像をJPEG圧縮した場合の例(比較例1)が示されている。このうち、図15(a)の左図に示すように、JPEG圧縮を行った画像では、図15(a)の右図(拡大図)に示すように、文字パターンの周辺にブロックノイズが発生して視認性が著しく低下することがある。この場合、図15(b)に示すようにブロックノイズが発生することで、図15(c)に示す元画像と比較して、ずれが生じることになる。   Here, a comparative example will be described. 15A to 15C show an example (Comparative Example 1) in which a character image is JPEG compressed. Among these, as shown in the left figure of FIG. 15A, in the image subjected to JPEG compression, block noise occurs around the character pattern as shown in the right figure (enlarged figure) of FIG. 15A. As a result, the visibility may be significantly reduced. In this case, the occurrence of block noise as shown in FIG. 15B causes a shift as compared with the original image shown in FIG.

また、図16(a)〜図16(c)には、文字画像の文字の色を減らし複数枚の2値画像に可逆圧縮を施す例(比較例2)が示されている。このうち、図16(a)の左図に示すように、色を減らす処理を行った画像では、図16(a)の右図(拡大図)に示すように、文字パターンの一部が消失して視認性が著しく低下することがある。この場合、図16(b)に示すように、文字の一部が消失することで、図16(c)に示す元画像に対するずれが生じることになる。   FIGS. 16A to 16C show an example (comparative example 2) in which the character color of the character image is reduced and reversible compression is performed on a plurality of binary images. Among these, as shown in the left diagram of FIG. 16A, in the image subjected to the color reduction process, a part of the character pattern disappears as shown in the right diagram (enlarged diagram) of FIG. As a result, the visibility may be significantly reduced. In this case, as shown in FIG. 16B, a part of the character disappears, so that a deviation from the original image shown in FIG. 16C occurs.

これに対し、本実施形態では、元画像を圧縮してもほぼ同一の画像を復元することができるので、文字の視認性を元画像と同等に維持することができるようになる。   On the other hand, in this embodiment, even if the original image is compressed, almost the same image can be restored, so that the visibility of characters can be maintained equivalent to that of the original image.

また、本実施形態では、線形和画像生成部53が、文字認識部51にて認識された文字に対応する複数のサンプル画像の各々に重み付けを行い、各サンプル画像の画素値と各サンプル画像の重み係数とを積算した値の和から線形和画像を生成する。このように、本実施形態では、重み係数を各サンプル画像ごとに決定することで、文字画像に高精度に類似(近似)する線形和画像を生成することができるようになる。   In the present embodiment, the linear sum image generation unit 53 weights each of the plurality of sample images corresponding to the characters recognized by the character recognition unit 51, and the pixel value of each sample image and each sample image A linear sum image is generated from the sum of values obtained by integrating the weighting factors. Thus, in this embodiment, by determining the weighting factor for each sample image, a linear sum image that is similar (approximate) to the character image can be generated.

また、本実施形態では、重み係数決定部54bは、文字画像の特徴ベクトルと、線形和による生成画像の特徴ベクトルとの距離が最小距離となるように、制約付き最小自乗問題の解として、各サンプル画像の重み係数を決定するので、適切な演算を行うことで、文字画像に高精度に類似(近似)する線形和画像を生成することができる。   Further, in the present embodiment, the weighting coefficient determination unit 54b uses each of the restricted least squares problems as a solution of the constrained least square problem so that the distance between the feature vector of the character image and the feature vector of the generated image by linear sum is the minimum distance. Since the weight coefficient of the sample image is determined, a linear sum image that is similar (approximate) to the character image with high accuracy can be generated by performing an appropriate calculation.

また、本実施形態では、同一の文字に対して、フォントの種類及び劣化度の少なくとも一方が異なる複数のサンプル画像が用意されているので、圧縮対象の文字画像が様々なフォントであったり、文字画像の劣化度が種々異なっていたりしていても、圧縮対象の文字画像に類似(近似)する線形和画像を生成することができる。   In the present embodiment, a plurality of sample images having different font types and at least one of deterioration levels are prepared for the same character. Therefore, the character image to be compressed may be various fonts, A linear sum image that is similar (approximate) to a character image to be compressed can be generated even if the degree of image degradation varies.

また、本実施形態では、文字画像復元部42の取得部60が、格納手段70に格納されている線形和画像の情報(文字画像データ)と、差分画像の情報(差分画像データ)とを取得し、それらの情報から、復元部62が、文字画像を復元する。このように文字画像に高精度に類似する線形和画像と、差分画像を用いた復元を行うことで、元の文字画像を高精度に復元することが可能となる。   In the present embodiment, the acquisition unit 60 of the character image restoration unit 42 acquires linear sum image information (character image data) and difference image information (difference image data) stored in the storage unit 70. Then, the restoration unit 62 restores the character image from the information. Thus, by performing restoration using a linear sum image similar to a character image with high accuracy and a difference image, the original character image can be restored with high accuracy.

なお、上記実施形態では、文書画像を圧縮した後、これを復元する際に、元の文書画像により近づけるように復元する場合について説明したが、これに限られるものではない。文書画像のうち、文字画像の部分が不鮮明な場合には、ユーザからの指示に応じて(又は自動で)、文字画像部分を鮮明に表示するようにしても良い。このような方法の具体例(変形例)について、以下説明する。   In the above-described embodiment, the case where the document image is compressed and then restored so as to be closer to the original document image is described. However, the present invention is not limited to this. If the character image portion of the document image is unclear, the character image portion may be clearly displayed in response to an instruction from the user (or automatically). A specific example (modified example) of such a method will be described below.

図17には、変形例に係るPC10の機能ブロック図が示されている。この図17と図3とを比較すると分かるように、図17では、受付部としての鮮明度入力受付部96が設けられている点が、上記実施形態と異なっている。鮮明度入力受付部96は、ユーザがマウス16やキーボード14を介して、鮮明度の入力をした場合に、その入力を受け付けて、文字画像復元部42に対して出力する機能を有する。   FIG. 17 is a functional block diagram of the PC 10 according to the modification. As can be seen by comparing FIG. 17 with FIG. 3, FIG. 17 is different from the above embodiment in that a definition input receiving unit 96 as a receiving unit is provided. The definition input receiving unit 96 has a function of receiving the input of the definition and outputting it to the character image restoration unit 42 when the user inputs the definition via the mouse 16 or the keyboard 14.

図18(a)には、本変形例におけるディスプレイ12の画面表示例が示されている。この図18(a)に示すように、本変形例では、画面下側に鮮明度コントロール用のスライダコントロール98が表示されている。ユーザは、このスライダコントロール98において、マウス16等を用いてツマミ99を左右方向にスライド操作することで、鮮明度の入力を行う。   FIG. 18A shows a screen display example of the display 12 in this modification. As shown in FIG. 18A, in this modification, a slider control 98 for sharpness control is displayed on the lower side of the screen. In the slider control 98, the user performs a sharpness input by sliding the knob 99 left and right using the mouse 16 or the like.

なお、本変形例の前提として、辞書DB58に登録されるサンプル画像のIDには、劣化度の情報が含まれているものとする。具体的には、IDを32ビットで表すものとすると、最初の4ビット(値は0から15までをとる)を劣化度に割り当てることとする。劣化度は、0を「劣化なし」とし、番号が大きくなるほど劣化するというように定義するものとする。また、IDの次の16ビットには文字コードを割り当て、残りの12ビットに、同じ文字コードに対する通し番号を割り当てる。例えば、「御」(文字コード:0x8CE4)という文字で、劣化度が1、通し番号が7であるならば、IDは、16進表示で「18CE4007」と表されることになる。なお、劣化度は、上記実施形態と同様、文字画像に対して作用させるガウシアンフィルタの分散に基づく値である。   As a premise of this modification, it is assumed that the ID of the sample image registered in the dictionary DB 58 includes information on the degree of deterioration. Specifically, if the ID is represented by 32 bits, the first 4 bits (values range from 0 to 15) are assigned to the degree of deterioration. The degree of deterioration is defined such that 0 is “no deterioration”, and the deterioration increases as the number increases. A character code is assigned to the next 16 bits of the ID, and a serial number for the same character code is assigned to the remaining 12 bits. For example, if the character is “go” (character code: 0x8CE4), the deterioration degree is 1, and the serial number is 7, the ID is represented as “18CE4007” in hexadecimal notation. The degree of deterioration is a value based on the variance of the Gaussian filter that acts on the character image, as in the above embodiment.

上記前提の下、文字画像復元部42は、鮮明度(鮮明度は0(低い)〜1(高い)の値をとるものとする)の入力を受け付けると、線形和画像の復元を開始する。ここでは、線形和画像の復元に用いるサンプル画像(重み係数)が4つあり、それらのIDに対し、図19(a)に示すような重み係数が設定されているものとする。   Under the above premise, the character image restoration unit 42 starts restoration of the linear sum image when receiving an input of the sharpness (the sharpness is assumed to take a value of 0 (low) to 1 (high)). Here, it is assumed that there are four sample images (weighting factors) used for restoration of the linear sum image, and weighting factors as shown in FIG. 19A are set for these IDs.

文字画像復元部42は、線形和画像の復元に際し、劣化度が0でない画像の重み係数に、(1−鮮明度)を積算する。図19(b)には、鮮明度を0.8とした場合の計算結果が示されている。   When restoring the linear sum image, the character image restoration unit 42 adds (1−sharpness) to the weight coefficient of the image whose degradation degree is not zero. FIG. 19B shows the calculation result when the sharpness is 0.8.

次いで、文字画像復元部42は、4つの重み係数の和が1になるように、各重み係数を正規化する。この正規化後の重み係数が、図19(c)に示されている。そして、文字画像復元部42は、図19(c)に示す正規化後の重み係数を用いて、線形和画像を生成する。これ以外の処理は、上記実施形態と同様となっている。   Next, the character image restoration unit 42 normalizes each weight coefficient so that the sum of the four weight coefficients is 1. The normalized weighting coefficient is shown in FIG. 19 (c). Then, the character image restoration unit 42 generates a linear sum image using the normalized weighting coefficient shown in FIG. The other processes are the same as in the above embodiment.

このような鮮明度を考慮した処理を行うことで、劣化度が0の画像を優先して線形和画像を生成することができるので、図18(a)のような不鮮明な画像を、図18(b)に示すように鮮明にすることができる。これにより、元画像よりも鮮明な画像をディスプレイ12上に表示することが可能となる。   By performing processing in consideration of such sharpness, it is possible to generate a linear sum image with priority given to an image with a degradation degree of 0. Therefore, an unclear image as shown in FIG. As shown in FIG. As a result, an image clearer than the original image can be displayed on the display 12.

なお、上記変形例では、劣化度が0でない画像の重み係数に対して、一律に(1−鮮明度)を積算する場合について説明したが、これに限られるものではない。例えば、劣化度(1〜15)を考慮して、劣化度が大きいほど重み係数が小さくなるような演算を、重み係数に対して施しても良い。   In the above modification, a case has been described in which (1-definition) is uniformly integrated with respect to a weighting factor of an image whose degradation degree is not 0. However, the present invention is not limited to this. For example, in consideration of the degree of deterioration (1 to 15), an operation may be performed on the weighting coefficient so that the weighting coefficient decreases as the degree of deterioration increases.

なお、上記実施形態では、差分画像を生成する際に、ステップS42、S60において差分画像の画素値の総和の絶対値が所定の閾値thαよりも大きい場合に、サンプル画像を用いた圧縮を行わないこととする場合について説明した。しかしながら、これに限らず、差分画像の画素値の総和の大小にかかわらず、サンプル画像を用いた圧縮を常に行うこととしても良い。 In the above embodiment, when the difference image is generated, if the absolute value of the sum of the pixel values of the difference image is larger than the predetermined threshold th α in steps S42 and S60, the compression using the sample image is performed. Explained the case of not being. However, the present invention is not limited to this, and the compression using the sample image may always be performed regardless of the total sum of the pixel values of the difference image.

また、上記実施形態では、ステップS52、S70において、m行n列の画素値の絶対値が所定の閾値thβよりも小さい場合に、画素値を0にすることで、差分画像のデータ量を小さくすることとした。しかしながら、これに限られるものではなく、各画素の画素値が0に近いか否かにかかわらず、実際の画素値を維持することとしても良い。 In the above embodiment, when the absolute value of the pixel value in m rows and n columns is smaller than the predetermined threshold th β in steps S52 and S70, the pixel value is set to 0, thereby reducing the data amount of the difference image. I decided to make it smaller. However, the present invention is not limited to this, and the actual pixel value may be maintained regardless of whether the pixel value of each pixel is close to 0 or not.

なお、上記実施形態では、文字画像がカラーである場合について説明したが、これに限らず、スキャナ18が読み取る文書画像はモノクロ画像であっても良い。文書画像が常にモノクロ画像である場合には、図4の色情報取得部52を省略するとともに、色情報取得部52の処理を省略しても良い。   In the above embodiment, the case where the character image is a color has been described. However, the present invention is not limited to this, and the document image read by the scanner 18 may be a monochrome image. When the document image is always a monochrome image, the color information acquisition unit 52 in FIG. 4 may be omitted and the processing of the color information acquisition unit 52 may be omitted.

なお、上記実施形態では、スキャナ18を用いて文書画像を取得する場合について説明したが、これに限られるものではなく、文書画像は、インターネットなどのネットワークを介して取得しても良い。また、スキャナに代えて、デジタルカメラやスキャナ機能を有する複合機などから文書画像を取得しても良い。   In the above-described embodiment, the case where the document image is acquired using the scanner 18 has been described. However, the present invention is not limited to this, and the document image may be acquired via a network such as the Internet. Further, instead of the scanner, a document image may be acquired from a digital camera or a multifunction device having a scanner function.

なお、上記実施形態では、1台のPCで、文書画像の圧縮と復元を行う場合について説明したが、これに限らず、一のPCで文書画像の圧縮を行い、他のPCで文書画像の復元を行うこととしても良い。この場合、一のPCと他のPCをインターネットやLAN(local area network)などのネットワークを介して接続しておき、当該ネットワークを介して圧縮背景データや圧縮文字データのやり取りを行うこととしても良い。あるいは、一のPCと他のPCとの間でのデータのやり取りに、USBメモリ等の可搬型記憶媒体を用いることとしても良い。この場合、一のPCと他のPCはネットワークを介して接続されていても良いし、接続されていなくても良い。   In the above embodiment, the case where the compression and restoration of the document image is performed by one PC has been described. However, the present invention is not limited to this, and the document image is compressed by one PC and the document image is compressed by another PC. Restoration may be performed. In this case, one PC and another PC may be connected via a network such as the Internet or a LAN (local area network), and compressed background data and compressed character data may be exchanged via the network. . Alternatively, a portable storage medium such as a USB memory may be used for data exchange between one PC and another PC. In this case, one PC and another PC may be connected via a network or may not be connected.

なお、上記実施形態では、本件の文字画像圧縮プログラム及び文字画像復元プログラムが、PC10内に組み込まれ、図3の各部の各機能を実現する。しかしながら、これに限らず、例えば、インターネット等の通信網に接続されたサーバコンピュータを本件の文字画像圧縮装置及び文字画像復元装置とし、これに接続されたパーソナルコンピュータ等が有する格納手段に、圧縮文字データを格納するサービスをサーバコンピュータから提供するようにしても良い(ASP(Application Service Provider))。   In the above-described embodiment, the character image compression program and the character image restoration program of the present case are incorporated in the PC 10 to realize each function of each unit in FIG. However, the present invention is not limited to this. For example, a server computer connected to a communication network such as the Internet is used as the character image compression device and the character image restoration device of the present case. A service for storing data may be provided from a server computer (ASP (Application Service Provider)).

なお、上記の処理機能は、コンピュータによって実現することができる。その場合、処理装置が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。   The above processing functions can be realized by a computer. In that case, a program describing the processing contents of the functions that the processing apparatus should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium.

プログラムを流通させる場合には、例えば、そのプログラムが記録されたDVD(Digital Versatile Disc)、CD−ROM(Compact Disc Read Only Memory)などの可搬型記録媒体の形態で販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When the program is distributed, for example, it is sold in the form of a portable recording medium such as a DVD (Digital Versatile Disc) or a CD-ROM (Compact Disc Read Only Memory) on which the program is recorded. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

上述した実施形態は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。   The above-described embodiment is an example of a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention.

なお、以上の説明に関して更に以下の付記を開示する。
(付記1) 文字画像を取得する文字画像取得部と、前記文字画像取得部で取得された前記文字画像の文字認識を行う文字認識部と、前記文字認識部にて認識された文字に対応する複数のサンプル画像を取得し、前記複数のサンプル画像を用いた線形和画像を生成する線形和画像生成部と、前記文字画像取得部が取得した前記文字画像と、前記線形和画像との差分画像を生成する差分画像生成部と、前記線形和画像の情報と、前記差分画像の情報とを関連付けて、格納手段に格納する格納部と、を備える文字画像圧縮装置。
(付記2) 前記線形和画像生成部は、前記複数のサンプル画像の各々に重み付けを行い、サンプル画像の画素値と各サンプル画像の重み係数とを積算した値の和から線形和画像を生成することを特徴とする付記1に記載の文字画像圧縮装置。
(付記3) 前記複数のサンプル画像は、同一の文字に関し、フォントの種類及び劣化度の少なくとも一方を異ならせた画像であることを特徴とする付記1又は2に記載の文字画像圧縮装置。
(付記4) 付記1〜3のいずれかに記載の文字画像圧縮装置の前記格納部が前記格納手段に格納した、前記線形和画像の情報と、前記差分画像の情報とを取得する取得部と、前記取得部が取得した情報から前記文字画像を復元する復元部と、を備える文字画像復元装置。
(付記5) 前記復元部が復元する前記文字画像の鮮明度の入力を受け付ける受付部を更に備え、前記復元部は、前記線形和画像の情報に含まれるサンプル画像の重み係数を、前記受付部が受け付けた前記鮮明度に基づいて変更することを特徴とする付記4に記載の文字画像復元装置。
(付記6) 前記復元部は、前記重み係数を変更する際に、前記サンプル画像の劣化度を考慮することを特徴とする付記5に記載の文字画像復元装置。
(付記7) コンピュータが、文字画像を取得する文字画像取得工程と、前記文字画像取得工程で取得された前記文字画像の文字認識を行う文字認識工程と、前記文字認識工程で認識された文字に対応する複数のサンプル画像を取得し、前記複数のサンプル画像を用いた線形和画像を生成する線形和画像生成工程と、前記文字画像取得工程で取得した前記文字画像と、前記線形和画像との差分画像を生成する差分画像生成工程と、前記線形和画像の情報と、前記差分画像の情報とを関連付けて、格納手段に格納する格納工程と、を実行する文字画像圧縮方法。
(付記8) 前記線形和画像生成工程では、前記複数のサンプル画像の各々に重み付けを行い、サンプル画像の画素値と各サンプル画像の重み係数とを積算した値の和から線形和画像を生成することを特徴とする付記7に記載の文字画像圧縮方法。
(付記9) 前記複数のサンプル画像は、同一の文字に関し、フォントの種類及び劣化度の少なくとも一方を異ならせた画像であることを特徴とする付記7又は8のいずれかに記載の文字画像圧縮方法。
(付記10) コンピュータが、付記7〜9のいずれかに記載の文字画像圧縮方法を用いて、前記格納手段に格納された、前記線形和画像の情報と、前記差分画像の情報とを取得する取得工程と、前記取得工程において取得された情報から前記文字画像を復元する復元工程と、を実行する文字画像復元方法。
(付記11) 前記復元工程で復元された前記文字画像の鮮明度の入力を受け付ける受付工程を更に含み、前記復元工程では、前記線形和画像の情報に含まれるサンプル画像の重み係数を、前記受付工程で受け付けた前記鮮明度に基づいて変更することを特徴とする付記10に記載の文字画像復元方法。
(付記12) 前記復元工程では、前記重み係数を変更する際に、前記サンプル画像の劣化度を考慮することを特徴とする付記11に記載の文字画像復元方法。
(付記13) コンピュータに、文字画像を取得する文字画像取得工程と、前記文字画像取得工程で取得された前記文字画像の文字認識を行う文字認識工程と、前記文字認識工程で認識された文字に対応する複数のサンプル画像を取得し、前記複数のサンプル画像を用いた線形和画像を生成する線形和画像生成工程と、前記文字画像取得工程で取得した前記文字画像と、前記線形和画像との差分画像を生成する差分画像生成工程と、前記線形和画像の情報と、前記差分画像の情報とを関連付けて、格納手段に格納する格納工程と、を実行させる文字画像圧縮プログラム。
(付記14) 前記線形和画像生成工程では、前記複数のサンプル画像の各々に重み付けを行い、サンプル画像の画素値と各サンプル画像の重み係数とを積算した値の和から線形和画像を生成することを特徴とする付記13に記載の文字画像圧縮プログラム。
(付記15) 前記複数のサンプル画像は、同一の文字に関し、フォントの種類及び劣化度の少なくとも一方を異ならせた画像であることを特徴とする付記13又は14に記載の文字画像圧縮プログラム。
(付記16) コンピュータに、付記13〜15のいずれかに記載の文字画像圧縮プログラムを用いて、前記格納手段に格納された、前記線形和画像の情報と、前記差分画像の情報とを取得する取得工程と、前記取得工程において取得された情報から前記文字画像を復元する復元工程と、を実行させる文字画像復元プログラム。
(付記17) 前記復元工程で復元される前記文字画像の鮮明度の入力を受け付ける受付工程を更に含み、前記復元工程では、前記線形和画像の情報に含まれるサンプル画像の重み係数を、前記受付工程で受け付けた前記鮮明度に基づいて変更することを特徴とする付記16に記載の文字画像復元プログラム。
(付記18) 前記復元工程では、前記重み係数を変更する際に、前記サンプル画像の劣化度を考慮することを特徴とする付記17に記載の文字画像復元プログラム。
In addition, the following additional notes are disclosed regarding the above description.
(Supplementary Note 1) Corresponding to a character image acquisition unit that acquires a character image, a character recognition unit that performs character recognition of the character image acquired by the character image acquisition unit, and a character recognized by the character recognition unit A linear sum image generation unit that acquires a plurality of sample images and generates a linear sum image using the plurality of sample images, a difference image between the character image acquired by the character image acquisition unit and the linear sum image A character image compression apparatus comprising: a difference image generation unit that generates the image; and a storage unit that associates the information of the linear sum image and the information of the difference image and stores the information in a storage unit.
(Supplementary Note 2) The linear sum image generation unit weights each of the plurality of sample images, and generates a linear sum image from a sum of values obtained by integrating pixel values of the sample images and weighting coefficients of the sample images. The character image compression apparatus according to Supplementary Note 1, wherein:
(Supplementary note 3) The character image compression device according to supplementary note 1 or 2, wherein the plurality of sample images are images in which at least one of a font type and a deterioration degree is different with respect to the same character.
(Additional remark 4) The acquisition part which acquires the information of the said linear sum image and the information of the said difference image which the said storage part of the character image compression apparatus in any one of Additional remarks 1-3 stored in the said storage means; A character image restoration apparatus comprising: a restoration unit that restores the character image from information acquired by the acquisition unit.
(Additional remark 5) It further has a reception part which receives the input of the definition of the character image which the restoration part restores, and the restoration part uses a weight coefficient of a sample image contained in information of the linear sum image as the reception part. The character image restoring device according to appendix 4, wherein the character image is changed based on the sharpness received by the user.
(Additional remark 6) The said restoration part considers the deterioration degree of the said sample image, when changing the said weighting coefficient, The character image restoration apparatus of Additional remark 5 characterized by the above-mentioned.
(Additional remark 7) The character image acquisition process in which a computer acquires a character image, the character recognition process of performing the character recognition of the said character image acquired at the said character image acquisition process, and the character recognized by the said character recognition process A linear sum image generation step of acquiring a plurality of corresponding sample images and generating a linear sum image using the plurality of sample images, the character image acquired in the character image acquisition step, and the linear sum image A character image compression method that executes a difference image generation step of generating a difference image, a storage step of associating the information of the linear sum image and the information of the difference image and storing the information in a storage unit.
(Supplementary Note 8) In the linear sum image generation step, each of the plurality of sample images is weighted, and a linear sum image is generated from a sum of values obtained by integrating the pixel values of the sample images and the weighting coefficients of the sample images. 8. The character image compression method according to appendix 7, wherein
(Supplementary note 9) The character image compression according to any one of Supplementary notes 7 and 8, wherein the plurality of sample images are images in which at least one of a font type and a deterioration degree is different with respect to the same character. Method.
(Additional remark 10) A computer acquires the information of the said linear sum image stored in the said storage means, and the information of the said difference image using the character image compression method in any one of additional marks 7-9 A character image restoration method that executes an acquisition step and a restoration step of restoring the character image from the information acquired in the acquisition step.
(Additional remark 11) The acceptance process which receives the input of the definition of the character image decompress | restored by the said reconstruction process is further included, and the said restoration process WHEREIN: The weighting coefficient of the sample image contained in the information of the said linear sum image is said reception The character image restoration method according to appendix 10, wherein the character image is changed based on the sharpness received in the process.
(Additional remark 12) In the said restoration process, when changing the said weighting coefficient, the degradation degree of the said sample image is considered, The character image restoration method of Additional remark 11 characterized by the above-mentioned.
(Additional remark 13) The character image acquisition process which acquires a character image to a computer, the character recognition process which performs the character recognition of the said character image acquired at the said character image acquisition process, and the character recognized by the said character recognition process A linear sum image generation step of acquiring a plurality of corresponding sample images and generating a linear sum image using the plurality of sample images, the character image acquired in the character image acquisition step, and the linear sum image A character image compression program for executing a difference image generation step of generating a difference image, a storage step of associating the information of the linear sum image and the information of the difference image and storing the information in a storage unit.
(Supplementary Note 14) In the linear sum image generation step, each of the plurality of sample images is weighted, and a linear sum image is generated from a sum of values obtained by integrating the pixel values of the sample images and the weight coefficients of the sample images. 14. The character image compression program according to appendix 13, wherein
(Supplementary note 15) The character image compression program according to supplementary note 13 or 14, wherein the plurality of sample images are images in which at least one of a font type and a deterioration degree is different with respect to the same character.
(Additional remark 16) The information of the said linear sum image and the information of the said difference image which were stored in the said storage means are acquired to a computer using the character image compression program in any one of Additional remarks 13-15 A character image restoration program that executes an acquisition step and a restoration step of restoring the character image from the information acquired in the acquisition step.
(Additional remark 17) The acceptance process which receives the input of the definition of the character image restored at the restoration process further includes the weight coefficient of the sample image contained in the information of the linear sum image in the restoration process. The character image restoration program according to appendix 16, wherein the character image restoration program is changed based on the sharpness received in the process.
(Supplementary note 18) The character image restoration program according to supplementary note 17, wherein in the restoration step, the deterioration degree of the sample image is taken into account when the weighting coefficient is changed.

24 文字画像圧縮部(文字画像圧縮装置)
30 格納手段
42 文字画像復元部(文字画像復元装置)
50 文字画像取得部
51 文字認識部
53 線形和画像生成部
54c 画像生成部
55 差分画像生成部
56 格納部
60 取得部
62 復元部
24 character image compression unit (character image compression device)
30 Storage means 42 Character image restoration unit (character image restoration device)
50 character image acquisition unit 51 character recognition unit 53 linear sum image generation unit 54c image generation unit 55 difference image generation unit 56 storage unit 60 acquisition unit 62 restoration unit

Claims (10)

文字画像を取得する文字画像取得部と、
前記文字画像取得部で取得された前記文字画像の文字認識を行う文字認識部と、
前記文字認識部にて認識された文字に対応する複数のサンプル画像を取得し、前記複数のサンプル画像を用いた線形和画像を生成する線形和画像生成部と、
前記文字画像取得部が取得した前記文字画像と、前記線形和画像との差分画像を生成する差分画像生成部と、
前記線形和画像の情報と、前記差分画像の情報とを関連付けて、格納手段に格納する格納部と、を備える文字画像圧縮装置。
A character image acquisition unit for acquiring a character image;
A character recognition unit that performs character recognition of the character image acquired by the character image acquisition unit;
A linear sum image generation unit that acquires a plurality of sample images corresponding to characters recognized by the character recognition unit and generates a linear sum image using the plurality of sample images;
A difference image generation unit that generates a difference image between the character image acquired by the character image acquisition unit and the linear sum image;
A character image compression apparatus comprising: a storage unit that stores the linear sum image information and the difference image information in association with each other and stores the information in a storage unit.
前記線形和画像生成部は、
前記複数のサンプル画像の各々に重み付けを行い、サンプル画像の画素値と各サンプル画像の重み係数とを積算した値の和から線形和画像を生成することを特徴とする請求項1に記載の文字画像圧縮装置。
The linear sum image generation unit includes:
2. The character according to claim 1, wherein each of the plurality of sample images is weighted, and a linear sum image is generated from a sum of a value obtained by integrating a pixel value of the sample image and a weight coefficient of each sample image. Image compression device.
前記複数のサンプル画像は、同一の文字に関し、フォントの種類及び劣化度の少なくとも一方を異ならせた画像であることを特徴とする請求項1又は2に記載の文字画像圧縮装置。   The character image compression apparatus according to claim 1, wherein the plurality of sample images are images in which at least one of a font type and a degree of deterioration is different with respect to the same character. 請求項1〜3のいずれか一項に記載の文字画像圧縮装置の前記格納部が前記格納手段に格納した、前記線形和画像の情報と、前記差分画像の情報とを取得する取得部と、
前記取得部が取得した情報から前記文字画像を復元する復元部と、を備える文字画像復元装置。
An acquisition unit that acquires information on the linear sum image and information on the difference image stored in the storage unit by the storage unit of the character image compression device according to any one of claims 1 to 3.
A character image restoration apparatus comprising: a restoration unit that restores the character image from information acquired by the acquisition unit.
前記復元部が復元する前記文字画像の鮮明度の入力を受け付ける受付部を更に備え、
前記復元部は、前記線形和画像の情報に含まれるサンプル画像の重み係数を、前記受付部が受け付けた前記鮮明度に基づいて変更することを特徴とする請求項4に記載の文字画像復元装置。
A reception unit that receives an input of the definition of the character image restored by the restoration unit;
The character image restoration device according to claim 4, wherein the restoration unit changes a weight coefficient of a sample image included in the information of the linear sum image based on the sharpness received by the reception unit. .
前記復元部は、前記重み係数を変更する際に、前記サンプル画像の劣化度を考慮することを特徴とする請求項5に記載の文字画像復元装置。   The character image restoration device according to claim 5, wherein the restoration unit considers the degree of deterioration of the sample image when changing the weighting factor. コンピュータが、
文字画像を取得する文字画像取得工程と、
前記文字画像取得工程で取得された前記文字画像の文字認識を行う文字認識工程と、
前記文字認識工程で認識された文字に対応する複数のサンプル画像を取得し、前記複数のサンプル画像を用いた線形和画像を生成する線形和画像生成工程と、
前記文字画像取得工程で取得した前記文字画像と、前記線形和画像との差分画像を生成する差分画像生成工程と、
前記線形和画像の情報と、前記差分画像の情報とを関連付けて、格納手段に格納する格納工程と、を実行する文字画像圧縮方法。
Computer
A character image acquisition step of acquiring a character image;
A character recognition step of performing character recognition of the character image acquired in the character image acquisition step;
A linear sum image generation step of acquiring a plurality of sample images corresponding to the characters recognized in the character recognition step, and generating a linear sum image using the plurality of sample images;
A difference image generation step of generating a difference image between the character image acquired in the character image acquisition step and the linear sum image;
A character image compression method that executes a storing step of associating the information of the linear sum image with the information of the difference image and storing the information in a storage unit.
コンピュータが、
請求項7に記載の文字画像圧縮方法を用いて、前記格納手段に格納された、前記線形和画像の情報と、前記差分画像の情報とを取得する取得工程と、
前記取得工程において取得された情報から前記文字画像を復元する復元工程と、を実行する文字画像復元方法。
Computer
An acquisition step of acquiring information on the linear sum image and information on the difference image stored in the storage unit using the character image compression method according to claim 7;
A character image restoration method that performs a restoration step of restoring the character image from the information acquired in the acquisition step.
コンピュータに、
文字画像を取得する文字画像取得工程と、
前記文字画像取得工程で取得された前記文字画像の文字認識を行う文字認識工程と、
前記文字認識工程で認識された文字に対応する複数のサンプル画像を取得し、前記複数のサンプル画像を用いた線形和画像を生成する線形和画像生成工程と、
前記文字画像取得工程で取得した前記文字画像と、前記線形和画像との差分画像を生成する差分画像生成工程と、
前記線形和画像の情報と、前記差分画像の情報とを関連付けて、格納手段に格納する格納工程と、を実行させる文字画像圧縮プログラム。
On the computer,
A character image acquisition step of acquiring a character image;
A character recognition step of performing character recognition of the character image acquired in the character image acquisition step;
A linear sum image generation step of acquiring a plurality of sample images corresponding to the characters recognized in the character recognition step, and generating a linear sum image using the plurality of sample images;
A difference image generation step of generating a difference image between the character image acquired in the character image acquisition step and the linear sum image;
A character image compression program for executing a storage step of storing the linear sum image information and the difference image information in association with each other in a storage unit.
コンピュータに、
請求項9に記載の文字画像圧縮プログラムを用いて、前記格納手段に格納された、前記線形和画像の情報と、前記差分画像の情報とを取得する取得工程と、
前記取得工程において取得された情報から前記文字画像を復元する復元工程と、を実行させる文字画像復元プログラム。

On the computer,
Using the character image compression program according to claim 9, an acquisition step of acquiring information on the linear sum image and information on the difference image stored in the storage unit;
A character image restoration program that executes a restoration step of restoring the character image from the information obtained in the obtaining step.

JP2010141043A 2010-06-21 2010-06-21 Character image compression device, character image restoration device, character image compression method, character image restoration method, character image compression program, and character image restoration program Expired - Fee Related JP5605009B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010141043A JP5605009B2 (en) 2010-06-21 2010-06-21 Character image compression device, character image restoration device, character image compression method, character image restoration method, character image compression program, and character image restoration program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010141043A JP5605009B2 (en) 2010-06-21 2010-06-21 Character image compression device, character image restoration device, character image compression method, character image restoration method, character image compression program, and character image restoration program

Publications (2)

Publication Number Publication Date
JP2012005076A true JP2012005076A (en) 2012-01-05
JP5605009B2 JP5605009B2 (en) 2014-10-15

Family

ID=45536488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010141043A Expired - Fee Related JP5605009B2 (en) 2010-06-21 2010-06-21 Character image compression device, character image restoration device, character image compression method, character image restoration method, character image compression program, and character image restoration program

Country Status (1)

Country Link
JP (1) JP5605009B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1027217A (en) * 1996-05-10 1998-01-27 Sanyo Electric Co Ltd Font kind identification method and device, recording medium recording identification program of font kind, handwritten font generation method and device, font generator and device, and recording medium recording handwritten font generation program
JPH10178638A (en) * 1996-12-18 1998-06-30 Nippon Telegr & Teleph Corp <Ntt> Character area encoding method, decoding method, character area encoder and decoder
JPH11119763A (en) * 1997-10-17 1999-04-30 Victor Co Of Japan Ltd Bit map high-efficiency encoding system
JP2003284073A (en) * 2002-03-22 2003-10-03 Hudson Soft Co Ltd Method and apparatus for coding and decoding image, its program, and recording medium
JP2005301662A (en) * 2004-04-12 2005-10-27 Fuji Xerox Co Ltd Image dictionary forming device, encoding device, image dictionary forming method, and program thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1027217A (en) * 1996-05-10 1998-01-27 Sanyo Electric Co Ltd Font kind identification method and device, recording medium recording identification program of font kind, handwritten font generation method and device, font generator and device, and recording medium recording handwritten font generation program
JPH10178638A (en) * 1996-12-18 1998-06-30 Nippon Telegr & Teleph Corp <Ntt> Character area encoding method, decoding method, character area encoder and decoder
JPH11119763A (en) * 1997-10-17 1999-04-30 Victor Co Of Japan Ltd Bit map high-efficiency encoding system
JP2003284073A (en) * 2002-03-22 2003-10-03 Hudson Soft Co Ltd Method and apparatus for coding and decoding image, its program, and recording medium
JP2005301662A (en) * 2004-04-12 2005-10-27 Fuji Xerox Co Ltd Image dictionary forming device, encoding device, image dictionary forming method, and program thereof

Also Published As

Publication number Publication date
JP5605009B2 (en) 2014-10-15

Similar Documents

Publication Publication Date Title
JP3345350B2 (en) Document image recognition apparatus, method thereof, and recording medium
JP4510069B2 (en) Image processing apparatus, image display apparatus, image forming apparatus, image processing method, computer program, and storage medium
JP2968582B2 (en) Method and apparatus for processing digital data
JP5057560B2 (en) Program, information storage medium, two-dimensional code, printed matter, two-dimensional code image, two-dimensional code image display control method, two-dimensional code generation system
JP5132517B2 (en) Image processing apparatus and image processing method
KR100742798B1 (en) Image-data processing apparatus
JP7405989B2 (en) Method and apparatus for machine video encoding
WO2002054757A1 (en) Data coding method and device, and data coding program
WO2023061116A1 (en) Training method and apparatus for image processing network, computer device, and storage medium
WO2013089261A1 (en) Image processing system, and image processing method
JP5617841B2 (en) Image processing apparatus, image processing method, and image processing program
JP4082194B2 (en) Image processing method, image processing apparatus, and image processing program
CN111246249A (en) Image encoding method, encoding device, decoding method, decoding device and storage medium
JP5605009B2 (en) Character image compression device, character image restoration device, character image compression method, character image restoration method, character image compression program, and character image restoration program
JP4073942B2 (en) Image compression apparatus and image expansion apparatus, and computer-readable recording medium recording a program for causing a computer to execute the image compression method and the image expansion method
WO2023118317A1 (en) Method and data processing system for lossy image or video encoding, transmission and decoding
WO2018123202A1 (en) Moving-image processing device, display device, moving-image processing method, and control program
JP3527415B2 (en) Apparatus and method for creating codebook used in vector quantization, vector quantization method, and recording medium
JP4042988B2 (en) Black and white image compression system with print density control
JP2002133414A (en) Image processing method and its device and recording medium
KR102467092B1 (en) Super-resolution image processing method and system robust coding noise using multiple neural networks
Amin et al. Improved median edge detection (iMED) for lossless image compression
KR102467094B1 (en) Super-resolution image processing method and system using neural network
Chang et al. Search-order coding method with indicator-elimination property
JP3910192B2 (en) Image compression apparatus and image expansion apparatus, and computer-readable recording medium recording a program for causing a computer to execute the image compression method and the image expansion method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130507

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140710

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140729

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140811

R150 Certificate of patent or registration of utility model

Ref document number: 5605009

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees