JP5041141B2 - Image processing apparatus, image enlarging apparatus, image encoding apparatus, image decoding apparatus, image processing system, and program - Google Patents

Image processing apparatus, image enlarging apparatus, image encoding apparatus, image decoding apparatus, image processing system, and program Download PDF

Info

Publication number
JP5041141B2
JP5041141B2 JP2007098258A JP2007098258A JP5041141B2 JP 5041141 B2 JP5041141 B2 JP 5041141B2 JP 2007098258 A JP2007098258 A JP 2007098258A JP 2007098258 A JP2007098258 A JP 2007098258A JP 5041141 B2 JP5041141 B2 JP 5041141B2
Authority
JP
Japan
Prior art keywords
image
character image
character
resolution
extracted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007098258A
Other languages
Japanese (ja)
Other versions
JP2008228256A (en
Inventor
裕 越
俊一 木村
一憲 宋
雅則 関野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2007098258A priority Critical patent/JP5041141B2/en
Priority to US11/797,332 priority patent/US8913833B2/en
Publication of JP2008228256A publication Critical patent/JP2008228256A/en
Application granted granted Critical
Publication of JP5041141B2 publication Critical patent/JP5041141B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

本発明は、画像を拡大する画像処理装置に関する。   The present invention relates to an image processing apparatus that enlarges an image.

一般に、画像の読取時の解像度と印刷時の解像度とは異なる。例えば、1インチ当たりのドット数は、前者の場合では200〜300dpiであるのに対して、後者の場合では600〜1200dpiである。このため、文字原稿がスキャナ等により読み取られて印刷される場合、文字画像は拡大される必要がある。   Generally, the resolution at the time of reading an image is different from the resolution at the time of printing. For example, the number of dots per inch is 200 to 300 dpi in the former case, and 600 to 1200 dpi in the latter case. For this reason, when a character document is read and printed by a scanner or the like, the character image needs to be enlarged.

特許文献1では、文字画像の斜め線をスムージングして、文字解像度を向上させる手法が開示されている。
特許文献2では、エッジ方向に基づいて画像を拡大する手法が開示されている。
特許文献3では、画像輪郭の傾斜部のぎざぎざ要因になる段差部を判別し、ぎざぎざ要因との判定結果に基づいて画素置換(白黒反転)を行う手法が開示されている。
しかしながら、これらの手法は、画像の局所的な滑らかさを仮定して画像の拡大(解像度の変換)を行う。したがって、その仮定が正しいか否かはわからないという問題がある。
Japanese Patent Application Laid-Open No. 2004-228561 discloses a technique for improving character resolution by smoothing diagonal lines of a character image.
Patent Document 2 discloses a method for enlarging an image based on an edge direction.
Japanese Patent Application Laid-Open No. 2004-228561 discloses a method of determining a stepped portion that becomes a jagged factor of an inclined portion of an image contour and performing pixel replacement (black and white inversion) based on a determination result of the jagged factor.
However, these methods perform image enlargement (resolution conversion) assuming local smoothness of the image. Therefore, there is a problem that it is not known whether the assumption is correct.

非特許文献1では、複数の低解像度画像を入力して、一枚の高解像度画像を生成する手法が開示されている。しかしながら、低解像度画像と高解像度画像の画素位置をどのようにして合わせるかという問題(レジストレーション問題)がある。一般に、画像のレジストレーションを正確に行うことは、以下のような困難さを含む。   Non-Patent Document 1 discloses a method of generating a single high-resolution image by inputting a plurality of low-resolution images. However, there is a problem (registration problem) on how to align pixel positions of a low resolution image and a high resolution image. In general, accurate image registration involves the following difficulties.

まず、画像全体のレジストレーションを行う場合、演算量が非常に大きくなってしまう。次に、動きが大きすぎる場合、困難さが増大する。なお、一般には動画符号化方式における動き補償方法として、レジストレーション方式が研究されているが、この場合、動きが小さい部分のみを対象としている。さらに、入力画像フォーマットを限定していない場合のレジストレーション方法が確立していない。なお、写真などのように中間調画像であれば、差分を微分して、差分が小さくなる方向に動かすという手法を用いることができるが、文字、線画、CGなどのようにエッジが多い画像ではこのような微分法は使いづらい。ただし、入力が文字であると限定してしまえば、パターンマッチングなどの方法を用いれば良いことになる。   First, when performing registration of the entire image, the amount of calculation becomes very large. Second, if the movement is too great, the difficulty increases. In general, a registration method has been studied as a motion compensation method in the moving image encoding method, but in this case, only a portion having a small motion is targeted. Furthermore, no registration method has been established when the input image format is not limited. In the case of a halftone image such as a photograph, a method of differentiating the difference and moving it in a direction in which the difference becomes smaller can be used. However, in an image having many edges such as a character, a line drawing, or CG. Such a differentiation method is difficult to use. However, if the input is limited to characters, a method such as pattern matching may be used.

特許文献4では、入力画像に対して文字領域が抽出されて文字として認識され、文字コードが出力され、この文字コードに対応する各種フォントがフォントデータベースから検索され、それらが文字領域の画像と共に文字マッチング部に入力され、この文字マッチング部では、文字領域の画素を最もよく近似するフォントの種類、文字のサイズ、文字の色が探索され、これらのデータと共に、文字部分の開始位置、文字間隔、文字コードが符号化データとして出力される手法が開示されている。   In Patent Document 4, a character area is extracted from an input image and recognized as a character, a character code is output, various fonts corresponding to the character code are searched from a font database, and these characters are displayed together with the image in the character area. In this character matching unit, the font type, the character size, and the character color that best approximate the pixel of the character region are searched, and together with these data, the start position of the character part, the character spacing, A method in which a character code is output as encoded data is disclosed.

特許文献5では、パターンマッチングによる位置検出において、誤認識を防止する手法が開示されている。
特許文献6では、互いに一部が重複している複数の画像を合成して広範囲な画像を得る際に、少ない計算量で目的に広範囲な画像を得る手法が開示されている。
特許文献7では、分割画像を合成する際に、合成すべき分割画像を人手により大まかに重ね合わせて置くだけで、マッチング精度が高く、かつ処理量の少ない画像合成装置および画像合成方法が開示されている。
しかしながら、これらの手法は、パノラマ画像などを作成するためのものであり、1画素以下の精度に対したものではない。
Patent Document 5 discloses a technique for preventing erroneous recognition in position detection by pattern matching.
Patent Document 6 discloses a technique for obtaining a wide range of images for the purpose with a small amount of calculation when a plurality of images partially overlapping each other are combined to obtain a wide range of images.
Patent Document 7 discloses an image composition apparatus and an image composition method that have high matching accuracy and a small amount of processing only by roughly superimposing the divided images to be synthesized manually when the divided images are synthesized. ing.
However, these methods are for creating panoramic images and the like, and are not intended for accuracy of one pixel or less.

特開平6−225122号公報JP-A-6-225122 特開平6−311351号公報JP-A-6-313151 特開平8−310057号公報JP-A-8-310057 特開平10−178638号公報JP-A-10-178638 特開2002−190021号公報Japanese Patent Laid-Open No. 2002-190021 特開2004−334843号公報Japanese Patent Laid-Open No. 2004-334843 特開平10−108003号公報Japanese Patent Laid-Open No. 10-108003 S.C.Park, M.K.Park, and M.G.Kang, "Super-Resolution Image Reconstruction -A Technical Overview-", IEEE Signal Processing Magagine, May, 2003, pp.21-36.S.C.Park, M.K.Park, and M.G.Kang, "Super-Resolution Image Reconstruction -A Technical Overview-", IEEE Signal Processing Magagine, May, 2003, pp.21-36.

本発明は、上述した背景からなされたものであり、本構成を有していない場合に比較して、低コストで、画像を高画質に拡大することができる画像処理装置を提供することを目的とする。   The present invention has been made from the above-described background, and an object of the present invention is to provide an image processing apparatus capable of enlarging an image with high image quality at a low cost compared to the case where the present configuration is not provided. And

上記目的を達成するために、本発明に係る第1の画像処理装置は、第1の画像と該第1の画像と類似する第2の画像とを第1の解像度で抽出する抽出手段と、前記抽出手段により抽出された各画像と、第1の解像度における1画素より高い精度で算出された該各画像の位相とに基づいて、第2の解像度の画像を生成する生成手段とを有する。本発明によれば、本構成を有していない場合に比較して、低コストで、画像を高画質に拡大することができる。具体的には、文字、図形等のボケ、曲線のでこぼこ、細線の幅及び間隔の不均一を減少させることができる。   In order to achieve the above object, an image processing apparatus according to the present invention includes an extraction unit that extracts a first image and a second image similar to the first image at a first resolution; And generating means for generating an image of the second resolution based on each image extracted by the extracting means and the phase of each image calculated with higher accuracy than one pixel at the first resolution. According to the present invention, it is possible to enlarge an image with high image quality at a lower cost than in the case where the present configuration is not provided. Specifically, it is possible to reduce blurring of characters, figures, etc., unevenness of curves, widths of thin lines, and unevenness of intervals.

好適には、2値の画像を多値化する多値化手段をさらに有し、前記抽出手段は、2値の入力画像から、第1の画像と該第1の画像と類似する第2の画像とを第1の解像度で抽出し、前記生成手段は、前記抽出手段により抽出され、前記多値化手段により多値化された各画像と、第1の解像度における1画素より高い精度で算出された該各画像の位相とに基づいて、第2の解像度の文字画像を生成する。本発明によれば、入力画像が2値画像である場合、入力画像が多値画像である場合と比較して、より高画質な高解像度画像を生成することができる。   Preferably, the image processing apparatus further includes multi-value conversion means for converting the binary image into multi-values, and the extraction means is configured to output, from the binary input image, a first image and a second image similar to the first image. The image is extracted at a first resolution, and the generation means calculates each image extracted by the extraction means and multi-valued by the multi-value conversion means with higher accuracy than one pixel at the first resolution. A character image having a second resolution is generated based on the phase of each of the images. According to the present invention, when the input image is a binary image, it is possible to generate a high-resolution image with higher image quality than when the input image is a multi-value image.

好適には、前記多値化手段は、画像に対して低域通過フィルタを適用して多値化処理を行う。
好適には、前記多値化手段は、拡大手法を適用して各文字画像を多値化する。
Preferably, the multi-value conversion means performs multi-value processing by applying a low-pass filter to the image.
Preferably, the multi-value conversion means multi-values each character image by applying an enlargement method.

好適には、2値の画像を多値化する多値化手段をさらに有し、前記抽出手段は、前記多値化手段により多値化された画像から、第1の画像と該第1の画像と類似する第2の画像とを第1の解像度で抽出する。   Preferably, the image processing apparatus further includes multi-value conversion means for converting the binary image into multi-values, and the extraction means includes the first image and the first image from the multi-value image by the multi-value conversion means. A second image similar to the image is extracted at the first resolution.

好適には、前記抽出手段により抽出された各画像を第1の解像度より高い第2の解像度に拡大する拡大手段をさらに有し、前記生成手段は、前記抽出手段により抽出され、前記拡大手段により拡大された各画像と、第1の解像度における1画素より高い精度で算出された該各画像の位相とに基づいて、第2の解像度の画像を生成する。   Preferably, the image processing apparatus further includes enlargement means for enlarging each image extracted by the extraction means to a second resolution higher than the first resolution, and the generation means is extracted by the extraction means and is added by the enlargement means. Based on each enlarged image and the phase of each image calculated with higher accuracy than one pixel in the first resolution, an image having the second resolution is generated.

好適には、複数の文字画像を含む文字群画像を記憶する文字群画像記憶手段をさらに有し、前記生成手段は、前記抽出手段により抽出された第2の文字画像が所定数以上である場合、前記抽出手段により抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、第2の解像度の文字画像を生成し、前記抽出手段により抽出された第2の文字画像が所定数未満である場合、前記文字群画像記憶手段に記憶されている文字群画像から抽出された文字画像であって第1の文字画像と類似する文字画像にさらに基づいて第2の解像度の文字画像を生成する。本発明によれば、類似する文字画像が入力画像に含まれていない、あるいは抽出された類似する文字画像の数が少ない場合においても、文字の解像度を上げることができる。   Preferably, the image processing apparatus further includes a character group image storage unit that stores a character group image including a plurality of character images, and the generation unit includes a predetermined number or more of second character images extracted by the extraction unit. Generating a character image having a second resolution based on each character image extracted by the extracting means and the phase of each character image calculated with higher accuracy than one pixel in the first resolution; When the number of second character images extracted by the extracting unit is less than a predetermined number, the character image is extracted from the character group image stored in the character group image storage unit and is similar to the first character image. A character image having a second resolution is generated based on the character image. According to the present invention, even when a similar character image is not included in the input image or the number of extracted similar character images is small, the character resolution can be increased.

好適には、複数の文字画像を含む文字群画像を記憶する文字群画像記憶手段をさらに有し、前記生成手段は、前記抽出手段により抽出された第2の文字画像が所定数以上である場合、前記抽出手段により抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、第2の解像度の文字画像を生成し、前記抽出手段により抽出された第2の文字画像が所定数未満である場合、第1の文字画像を、前記文字群画像記憶手段に記憶されている文字群画像から抽出された文字画像であって第1の文字画像と類似する文字画像で置き換える。   Preferably, the image processing apparatus further includes a character group image storage unit that stores a character group image including a plurality of character images, and the generation unit includes a predetermined number or more of second character images extracted by the extraction unit. Generating a character image having a second resolution based on each character image extracted by the extracting means and the phase of each character image calculated with higher accuracy than one pixel in the first resolution; If the second character image extracted by the extracting means is less than the predetermined number, the first character image is a character image extracted from the character group image stored in the character group image storage means, and Replace with a character image similar to the one character image.

好適には、前記抽出手段により抽出された第1の文字画像の大きさに基づいて、複数の文字画像を含む文字群画像を取得する文字群画像取得手段をさらに有し、前記生成手段は、前記抽出手段により抽出された第2の文字画像が所定数以上である場合、前記抽出手段により抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、第2の解像度の文字画像を生成し、前記抽出手段により抽出された第2の文字画像が所定数未満である場合、前記文字群画像取得手段により取得された文字群画像から抽出された文字画像であって第1の文字画像と類似する文字画像にさらに基づいて第2の解像度の文字画像を生成する。本発明によれば、類似する文字画像が入力画像に含まれていない、あるいは抽出された類似する文字画像の数が少ない場合においても、文字の解像度を上げることができる。   Preferably, the apparatus further includes character group image acquisition means for acquiring a character group image including a plurality of character images based on the size of the first character image extracted by the extraction means, and the generation means includes: When the number of second character images extracted by the extraction unit is a predetermined number or more, each character image extracted by the extraction unit and each character image calculated with higher accuracy than one pixel at the first resolution The character group acquired by the character group image acquisition means when the character image of the second resolution is generated on the basis of the phase and the number of second character images extracted by the extraction means is less than a predetermined number. A character image having the second resolution is generated based on a character image extracted from the image and similar to the character image similar to the first character image. According to the present invention, even when a similar character image is not included in the input image or the number of extracted similar character images is small, the character resolution can be increased.

好適には、前記文字群画像取得手段は、位相が異なる複数の文字群画像を取得する。本発明によれば、画像を、より高解像度化することができる。   Preferably, the character group image acquisition means acquires a plurality of character group images having different phases. According to the present invention, it is possible to increase the resolution of an image.

好適には、前記抽出手段により抽出された第1の文字画像の大きさに対応する文字画像を生成する対応文字画像生成手段をさらに有し、前記生成手段は、前記抽出手段により抽出された第2の文字画像が所定数以上である場合、前記抽出手段により抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、第2の解像度の文字画像を生成し、前記抽出手段により抽出された第2の文字画像が所定数未満である場合、前記対応文字画像生成手段により生成された文字画像にさらに基づいて第2の解像度の文字画像を生成する。   Preferably, the image processing apparatus further includes corresponding character image generation means for generating a character image corresponding to the size of the first character image extracted by the extraction means, wherein the generation means is the first character image extracted by the extraction means. When the number of the two character images is equal to or greater than the predetermined number, the character images extracted by the extracting unit and the phase of each character image calculated with higher accuracy than one pixel at the first resolution are used. When a character image having a resolution of 2 is generated and the number of second character images extracted by the extracting unit is less than a predetermined number, the second resolution is further determined based on the character image generated by the corresponding character image generating unit. Generate a character image.

本発明に係る第2の画像処理装置は、第1の画像と該第1の画像と類似する第2の画像とを第1の解像度で抽出する抽出手段と、前記抽出手段により抽出された各画像のサイズを調整するサイズ調整手段と、前記サイズ調整手段により調整された各画像と、第1の解像度における1画素より高い精度で算出された該各画像の位相とに基づいて、第2の解像度の画像を生成する生成手段とを有する。本発明によれば、画像の出現回数が少ない場合においても、画像を高画質に拡大することができる。特に、表題など大きなポイント数の文字の解像度を上げることができるので、視覚的、心理的効果が大きい。   The second image processing apparatus according to the present invention includes an extraction unit that extracts a first image and a second image similar to the first image at a first resolution, and each of the extraction units extracted by the extraction unit. Based on the size adjusting means for adjusting the size of the image, each image adjusted by the size adjusting means, and the phase of each image calculated with higher accuracy than one pixel in the first resolution, the second Generating means for generating a resolution image. According to the present invention, an image can be enlarged with high image quality even when the number of appearances of the image is small. In particular, since the resolution of characters with a large number of points such as titles can be increased, the visual and psychological effects are great.

本発明に係る第3の画像処理装置は、第1の文字画像と該第1の文字画像と類似する第2の文字画像とを第1の解像度で抽出する抽出手段と、前記抽出手段により抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、第1の解像度より高い第2の解像度の文字画像を生成する生成手段とを有する。本発明によれば、本構成を有していない場合に比較して、低コストで、文字画像を高画質に拡大することができる。特に、文字領域は入力された画像全体に占める割合が小さいので、動き推定領域を小さくすることができる。   The third image processing apparatus according to the present invention includes an extraction unit that extracts a first character image and a second character image similar to the first character image at a first resolution, and the extraction unit extracts the first character image. Generating means for generating a character image having a second resolution higher than the first resolution based on each character image thus obtained and the phase of each character image calculated with higher accuracy than one pixel in the first resolution. And have. According to the present invention, it is possible to enlarge a character image with high image quality at a lower cost than when the present configuration is not provided. Particularly, since the ratio of the character area to the entire input image is small, the motion estimation area can be reduced.

好適には、前記生成手段は、第1の解像度における各文字画像の位相に基づいて、該各文字画像の画素値から、第2の解像度における文字画像の画素値を補間する。本発明によれば、位相をずらしてスキャン・インするための装置を不要にすることができる。また、同一の文字が画像内に多く存在すればするほど、解像度を上げることができる。また、複数回のスキャンを行うことによる生産性の低下を防ぐことができる。   Preferably, the generation means interpolates the pixel value of the character image at the second resolution from the pixel value of each character image based on the phase of each character image at the first resolution. According to the present invention, it is possible to eliminate the need for a device for scanning in with a phase shift. Also, the more characters that are identical, the higher the resolution. In addition, it is possible to prevent a decrease in productivity due to a plurality of scans.

本発明に係る第4の画像処理装置は、第1の文字画像と該第1の文字画像と類似する第2の文字画像とを第1の解像度で抽出する抽出手段と、前記抽出手段により抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、文字画像のノイズを除去する除去手段と、前記除去手段によりノイズを除去された文字画像と該文字画像の位相とに基づいて、第1の解像度より高い第2の解像度の文字画像を生成する生成手段とを有する。本発明によれば、より良好な画像を生成することができる。   According to a fourth image processing apparatus of the present invention, an extraction unit that extracts a first character image and a second character image similar to the first character image at a first resolution, and the extraction unit extracts the first character image. And removing means for removing noise of the character image based on each character image thus obtained and the phase of each character image calculated with higher accuracy than one pixel in the first resolution, and removing the noise by the removing means And generating means for generating a character image having a second resolution higher than the first resolution based on the character image thus formed and the phase of the character image. According to the present invention, a better image can be generated.

本発明に係る画像拡大装置は、第1の文字画像と該第1の文字画像と類似する第2の文字画像とを第1の解像度で抽出する抽出手段と、前記抽出手段により抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、第1の解像度より高い第2の解像度の文字画像を生成する生成手段と、前記抽出手段に抽出された文字画像の位置に基づいて算出された第2の解像度の画像における位置に、前記生成手段により生成された第2の解像度の文字画像を配置する配置手段とを有する。   An image enlarging apparatus according to the present invention includes an extraction unit that extracts a first character image and a second character image similar to the first character image at a first resolution, and each of the extraction units extracted by the extraction unit. Generating means for generating a character image having a second resolution higher than the first resolution based on the character image and the phase of each character image calculated with higher accuracy than one pixel at the first resolution; Arranging means for arranging the character image of the second resolution generated by the generating means at a position in the image of the second resolution calculated based on the position of the character image extracted by the extracting means.

本発明に係る画像符号化装置は、第1の部分画像と該第1の部分画像と類似する第2の部分画像とを第1の解像度で抽出する部分画像抽出手段と、前記部分画像抽出手段により抽出された各部分画像と、第1の解像度における1画素より高い精度で算出された該各部分画像の位相とに基づいて、第2の解像度の代表画像を生成する代表画像生成手段と、前記代表画像生成手段により生成された代表画像と、前記抽出手段により抽出された各部分画像の位相及び位置とを符号化する符号化手段とを有する。本発明によれば、画質の劣化を抑止するとともに、高い圧縮率で符号化することができる。   An image encoding apparatus according to the present invention includes a partial image extraction unit that extracts a first partial image and a second partial image similar to the first partial image at a first resolution, and the partial image extraction unit. Representative image generation means for generating a representative image of the second resolution based on each partial image extracted by the above and the phase of each partial image calculated with higher accuracy than one pixel in the first resolution; Coding means for coding the representative image generated by the representative image generating means and the phase and position of each partial image extracted by the extracting means; According to the present invention, it is possible to perform encoding at a high compression rate while suppressing deterioration in image quality.

本発明に係る画像復号化装置は、第2の解像度の代表画像と、第1の解像度の部分画像の位相及び位置とが符号化された符号データを復号化する復号化手段と、前記復号化手段により復号化された第2の解像度の代表画像と、第1の解像度の部分画像の位相とに基づいて、第1の解像度の部分画像を生成する部分画像生成手段と、前記復号化手段により復号化された位置に基づいて、前記部分画像生成手段により生成された部分画像を出力画像に配置する部分画像配置手段とを有する。本発明によれば、高い圧縮率で符号化された画像を、画質の劣化を抑止して復元することができる。   An image decoding apparatus according to the present invention includes a decoding unit that decodes code data in which a representative image of a second resolution and a phase and a position of a partial image of the first resolution are encoded, and the decoding A partial image generating means for generating a partial image of the first resolution based on the representative image of the second resolution decoded by the means and a phase of the partial image of the first resolution; and the decoding means And a partial image arrangement unit that arranges the partial image generated by the partial image generation unit on the output image based on the decoded position. According to the present invention, it is possible to restore an image encoded at a high compression rate while suppressing deterioration in image quality.

好適には、前記部分画像生成手段により生成される部分画像の倍率と、前記部分画像配置手段により配置される位置とを制御する倍率・位置制御手段をさらに有する。本発明によれば、符号化された画像の画質を高くすることができる。   Preferably, the image processing apparatus further includes magnification / position control means for controlling the magnification of the partial image generated by the partial image generation means and the position where the partial image arrangement means is arranged. According to the present invention, the quality of an encoded image can be improved.

本発明に係る画像処理システムは、第1の部分画像と該第1の部分画像と類似する第2の部分画像とを第1の解像度で抽出する部分画像抽出手段と、前記部分画像抽出手段により抽出された各部分画像と、第1の解像度における1画素より高い精度で算出された該各部分画像の位相とに基づいて、第2の解像度の代表画像を生成する代表画像生成手段と、前記代表画像生成手段により生成された代表画像と、前記抽出手段により抽出された各部分画像の位相及び位置とを符号化する符号化手段と、前記符号化手段により符号化された符号データを復号化する復号化手段と、前記復号化手段により復号化された代表画像と、部分画像の位相とに基づいて、第1の解像度の部分画像を生成する部分画像生成手段と、前記復号化手段により復号化された位置に基づいて、前記部分画像生成手段により生成された部分画像を出力画像に配置する部分画像配置手段とを有する。本発明によれば、画質の劣化を抑止するとともに、高い圧縮率で符号化及び復号化することができる。   An image processing system according to the present invention includes a partial image extraction unit that extracts a first partial image and a second partial image similar to the first partial image at a first resolution, and the partial image extraction unit. Representative image generation means for generating a representative image of the second resolution based on each extracted partial image and the phase of each partial image calculated with higher accuracy than one pixel in the first resolution; Encoding means for encoding the representative image generated by the representative image generating means, the phase and position of each partial image extracted by the extracting means, and decoding the code data encoded by the encoding means Decoding means for generating, a representative image decoded by the decoding means, a partial image generating means for generating a partial image of the first resolution based on the phase of the partial image, and decoding by the decoding means Turned into It was based on the position, and a partial image arrangement means for arranging the partial image generated by the partial image generating means in the output image. According to the present invention, it is possible to suppress deterioration in image quality and to encode and decode at a high compression rate.

本発明に係る第1のプログラムは、コンピュータを含む画像処理装置において、
第1の画像と該第1の画像と類似する第2の画像とを第1の解像度で抽出する抽出ステップと、前記抽出された各画像と、第1の解像度における1画素より高い精度で算出された該各画像の位相とに基づいて、第2の解像度の画像を生成する生成ステップとを前記画像処理装置のコンピュータに実行させる。
A first program according to the present invention is an image processing apparatus including a computer.
An extraction step for extracting a first image and a second image similar to the first image at a first resolution, each extracted image, and calculation with higher accuracy than one pixel at the first resolution Based on the phase of each image thus generated, the computer of the image processing apparatus executes a generation step of generating an image of the second resolution.

本発明に係る第2のプログラムは、コンピュータを含む画像処理装置において、第1の画像と該第1の画像と類似する第2の画像とを第1の解像度で抽出する抽出ステップと、前記抽出された各画像のサイズを調整するサイズ調整ステップと、前記調整された各画像と、第1の解像度における1画素より高い精度で算出された該各画像の位相とに基づいて、第2の解像度の画像を生成する生成ステップとを前記画像処理装置のコンピュータに実行させる。   The second program according to the present invention includes an extraction step of extracting a first image and a second image similar to the first image at a first resolution in an image processing apparatus including a computer, and the extraction A second resolution based on the size adjustment step for adjusting the size of each of the images, the adjusted images, and the phase of each image calculated with higher accuracy than one pixel in the first resolution. Generating the image of the image processing apparatus.

本発明に係る第3のプログラムは、コンピュータを含む画像処理装置において、第1の文字画像と該第1の文字画像と類似する第2の文字画像とを第1の解像度で抽出する抽出ステップと、前記抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、第1の解像度より高い第2の解像度の文字画像を生成する生成ステップとを前記画像処理装置のコンピュータに実行させる。   The third program according to the present invention includes an extraction step of extracting a first character image and a second character image similar to the first character image at a first resolution in an image processing apparatus including a computer; Generating a character image having a second resolution higher than the first resolution based on each extracted character image and the phase of each character image calculated with higher accuracy than one pixel in the first resolution. A generating step to be executed by the computer of the image processing apparatus.

本発明に係る第4のプログラムは、コンピュータを含む画像処理装置において、第1の文字画像と該第1の文字画像と類似する第2の文字画像とを第1の解像度で抽出する抽出ステップと、前記抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、文字画像のノイズを除去する除去ステップと、前記ノイズを除去された文字画像と該文字画像の位相とに基づいて、第1の解像度より高い第2の解像度の文字画像を生成する生成ステップとを前記画像処理装置のコンピュータに実行させる。   A fourth program according to the present invention includes an extraction step of extracting a first character image and a second character image similar to the first character image at a first resolution in an image processing apparatus including a computer. Removing a noise of the character image based on the extracted character image and the phase of the character image calculated with higher accuracy than one pixel in the first resolution; and removing the noise Based on the obtained character image and the phase of the character image, the computer of the image processing apparatus executes a generation step of generating a character image having a second resolution higher than the first resolution.

本発明に係る第5のプログラムは、コンピュータを含む画像拡大装置において、第1の文字画像と該第1の文字画像と類似する第2の文字画像とを第1の解像度で抽出する抽出ステップと、前記抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、第1の解像度より高い第2の解像度の文字画像を生成する生成ステップと、前記抽出された文字画像の位置に基づいて算出された第2の解像度の画像における位置に、前記生成された第2の解像度の文字画像を配置する配置ステップとを前記画像拡大装置のコンピュータに実行させる。   The fifth program according to the present invention includes an extraction step of extracting a first character image and a second character image similar to the first character image at a first resolution in an image enlargement apparatus including a computer. Generating a character image having a second resolution higher than the first resolution based on each extracted character image and the phase of each character image calculated with higher accuracy than one pixel in the first resolution. The image enlargement step, and an arrangement step of arranging the generated character image of the second resolution at a position in the image of the second resolution calculated based on the position of the extracted character image. Let the computer of the device execute.

本発明に係る第6のプログラムは、コンピュータを含む画像符号化装置において、第1の部分画像と該第1の部分画像と類似する第2の部分画像とを第1の解像度で抽出する部分画像抽出ステップと、前記抽出された各部分画像と、第1の解像度における1画素より高い精度で算出された該各部分画像の位相とに基づいて、第2の解像度の代表画像を生成する代表画像生成ステップと、前記生成された代表画像と、前記抽出手段により抽出された各部分画像の位相及び位置とを符号化する符号化ステップとを前記画像符号化装置のコンピュータに実行させる。本発明によれば、画質の劣化を抑止するとともに、高い圧縮率で符号化することができる。   A sixth program according to the present invention is a partial image for extracting a first partial image and a second partial image similar to the first partial image at a first resolution in an image encoding device including a computer. A representative image that generates a representative image of the second resolution based on the extraction step, each extracted partial image, and the phase of each partial image calculated with higher accuracy than one pixel in the first resolution. The computer of the image encoding device is caused to execute a generating step, an encoding step for encoding the generated representative image, and the phase and position of each partial image extracted by the extracting means. According to the present invention, it is possible to perform encoding at a high compression rate while suppressing deterioration in image quality.

本発明に係る第7のプログラムは、コンピュータを含む画像復号化装置において、第2の解像度の代表画像と、第1の解像度の部分画像の位相及び位置とが符号化された符号データを復号化する復号化ステップと、前記復号化された第2の解像度の代表画像と、第1の解像度の部分画像の位相とに基づいて、第1の解像度の部分画像を生成する部分画像生成ステップと、前記復号化された位置に基づいて、前記部分画像生成手段により生成された部分画像を出力画像に配置する部分画像配置ステップとを前記画像復号化装置のコンピュータに実行させる。本発明によれば、高い圧縮率で符号化された画像を、画質の劣化を抑止して復元することができる。   A seventh program according to the present invention decodes code data in which a representative image of the second resolution and a phase and a position of a partial image of the first resolution are encoded in an image decoding apparatus including a computer A partial image generation step of generating a partial image of the first resolution based on the decoded representative image of the second resolution and the phase of the partial image of the first resolution; Based on the decoded position, the computer of the image decoding apparatus executes a partial image arrangement step of arranging a partial image generated by the partial image generation means in an output image. According to the present invention, it is possible to restore an image encoded at a high compression rate while suppressing deterioration in image quality.

本発明の画像処理装置によれば、本構成を有していない場合に比較して、低コストで、文字画像を高画質に拡大することができる。   According to the image processing apparatus of the present invention, it is possible to enlarge a character image with high image quality at a lower cost than when the present configuration is not provided.

まず、本発明の理解を助けるために、その背景及び概略を説明する。
図1は、文字画像を拡大する際の文字画像の品質を説明する図である。
図1(A)は、スキャナ等により読み取られた文字画像を例示する。図1(B)は、図1(A)に示される文字画像が拡大されて得られる所望の文字画像である。しかしながら、読み取られた文字画像が拡大される場合、文字の大きさ又は拡大前後の解像度の関係によっては、図1(C)に示されるように、文字を構成する細線がぼけてしまうことがある。あるいは図1(D)に示されるように、滑らかな曲線がでこぼこになってしまう、又は線幅や線間隔が不均一になってしまうことがある。このような場合、文字の品質は、著しく低下する。
First, in order to help understanding of the present invention, its background and outline will be described.
FIG. 1 is a diagram for explaining the quality of a character image when the character image is enlarged.
FIG. 1A illustrates a character image read by a scanner or the like. FIG. 1B is a desired character image obtained by enlarging the character image shown in FIG. However, when the read character image is enlarged, the fine lines constituting the character may be blurred as shown in FIG. 1C depending on the size of the character or the relationship between the resolution before and after the enlargement. . Alternatively, as shown in FIG. 1D, a smooth curve may be uneven, or the line width and line spacing may become uneven. In such a case, the quality of characters is significantly reduced.

具体的には、文字画像を拡大する場合、多値データ形式では、ぼけと曲線のでこぼこが問題となり、2値データ形式では、幅及び間隔の不均一並びに曲線のでこぼこが問題となる。また、最近傍補間法ではジャギーが問題となり、線形補間法ではぼけが顕著であり、標本化関数の畳み込み補間法でも曲線のでこぼこが問題となる。   Specifically, when enlarging a character image, blur and curved irregularities are a problem in the multi-value data format, and unevenness of width and spacing and curved irregularities are a problem in the binary data format. Also, jaggy is a problem in the nearest neighbor interpolation method, blur is remarkable in the linear interpolation method, and unevenness in the curve is a problem in the convolution interpolation method of the sampling function.

一方、微小に撮像位置のずれた複数の画像に基づいて、撮像解像度よりも高い解像度の1つの画像を構成する技術がある。このような技術を用いることにより、拡大文字の品質は向上されうる。   On the other hand, there is a technique for configuring one image having a resolution higher than the imaging resolution based on a plurality of images that are slightly shifted in imaging position. By using such a technique, the quality of enlarged characters can be improved.

図2は、撮像解像度より高い解像度の画像を生成する手法を説明する図である。
図2(A)は、原画像から取得された、画素ずらし位相1〜4の文字画像データ1〜4を示す。文字画像データ1〜4は、原画像を1/2画素単位でずらして取得されたものである。図2(B)は、図2(A)に示される文字画像データ1〜4に基づいて生成された原画像の4倍の解像度の画像を示す。
FIG. 2 is a diagram for explaining a method for generating an image having a higher resolution than the imaging resolution.
FIG. 2A shows character image data 1 to 4 having pixel shift phases 1 to 4 acquired from the original image. The character image data 1 to 4 are obtained by shifting the original image in units of 1/2 pixel. FIG. 2B shows an image having a resolution four times that of the original image generated based on the character image data 1 to 4 shown in FIG.

しかしながら、このような技術を用いる場合、撮像方向を変えた複数台のカメラを用いたり、又は撮像の光学系をずらしたりすることにより、撮像位置を微小にずらす必要がある。例えば、原稿がスキャナ装置を備えた複合機により読み取られる場合、ライン・センサーのキャリッジ位置が微小に変更され、複数回のスキャンが実行される。このため、装置コストの増加及びスキャンによる生産性の低下が問題となる。   However, when such a technique is used, it is necessary to slightly shift the imaging position by using a plurality of cameras with different imaging directions or by shifting the imaging optical system. For example, when a document is read by a multi-function peripheral equipped with a scanner device, the carriage position of the line sensor is slightly changed, and a plurality of scans are executed. For this reason, an increase in apparatus cost and a decrease in productivity due to scanning become problems.

図3は、本発明に係る画像処理装置による画像処理の概略を説明する図である。
図3(A)に示すように、本発明に係る画像処理装置は、1ページの原稿又は複数ページからなる文書に複数回現れる文字を抽出する。このような複数の同一文字は、スキャナ等により読み取られた際に、文字(例えば、文字の重心)に対して互いに異なる位相で読み取られることが多い。このため、抽出された複数の文字の位相は、互いにずれている。
FIG. 3 is a diagram for explaining the outline of image processing by the image processing apparatus according to the present invention.
As shown in FIG. 3A, the image processing apparatus according to the present invention extracts characters that appear multiple times in a one-page document or a document composed of a plurality of pages. Such a plurality of identical characters are often read at different phases with respect to the character (for example, the center of gravity of the character) when read by a scanner or the like. For this reason, the phases of the extracted characters are shifted from each other.

本発明に係る画像処理装置は、図3(B)に示すように、抽出された各文字の位相を算出する。各文字の位相は、例えば、文字の重心を算出し、算出された重心と標本化格子点との相対位置から算出される。さらに、本発明に係る画像処理装置は、図3(C)に示すように、算出した位相と、抽出された各文字画像とに基づいて、高解像度の文字画像を生成する。   The image processing apparatus according to the present invention calculates the phase of each extracted character as shown in FIG. The phase of each character is calculated, for example, from the relative position between the calculated center of gravity and the sampling grid point by calculating the center of gravity of the character. Furthermore, as shown in FIG. 3C, the image processing apparatus according to the present invention generates a high-resolution character image based on the calculated phase and each extracted character image.

なお、高解像度処理の対象は、文字画像に限らず、図形など、同じ形状の部分画像であってもよい。この場合、本発明に係る画像処理装置は、入力された画像に複数回現れる部分画像を抽出し、各部分画像の位相を算出し、算出した位相と、抽出された各部分画像とに基づいて、高解像度の部分画像を生成する。
以降、説明を容易にするため、高解像度処理の対象を文字画像とした場合を例として、本発明に係る画像処理装置を説明する。
The target of the high resolution processing is not limited to a character image, but may be a partial image having the same shape, such as a graphic. In this case, the image processing apparatus according to the present invention extracts partial images that appear multiple times in the input image, calculates the phase of each partial image, and based on the calculated phase and each extracted partial image To generate a high-resolution partial image.
In the following, for ease of explanation, the image processing apparatus according to the present invention will be described by taking as an example a case where the target of high resolution processing is a character image.

以下、本発明の第1の実施形態に係る画像処理装置2を具体的に説明する。
図4は、本発明の実施形態に係る画像処理装置2及び後述する画像拡大装置3のハードウェア構成を、制御装置20を中心に示す図である。
図4に示すように、画像処理装置2等は、CPU202及びメモリ204などを含む制御装置20と、ネットワークを介して外部のコンピュータなどとデータの送信及び受信を行う通信装置22と、ハードディスクドライブなどの記憶装置24と、液晶ディスプレイなどの表示装置並びにキーボード及びポインティングデバイスを含むユーザインタフェース(UI)装置26とを有する。
Hereinafter, the image processing apparatus 2 according to the first embodiment of the present invention will be specifically described.
FIG. 4 is a diagram showing the hardware configuration of the image processing apparatus 2 and the image enlargement apparatus 3 described later, centering on the control apparatus 20, according to the embodiment of the present invention.
As shown in FIG. 4, the image processing apparatus 2 includes a control device 20 including a CPU 202 and a memory 204, a communication device 22 that transmits and receives data to and from an external computer via a network, a hard disk drive, and the like. Storage device 24, a display device such as a liquid crystal display, and a user interface (UI) device 26 including a keyboard and a pointing device.

画像処理装置2等は、例えば、後述する文字画像取得プログラム4などがインストールされた汎用コンピュータであり、通信装置22、記憶装置24又は記録媒体240などを介して画像のデータを取得し、取得された画像に対して画像処理を行う。画像処理装置2は、図示しないプリンタ装置のスキャナ機能又はスキャナ装置により光学的に読み取られた画像データを取得する。   The image processing apparatus 2 or the like is, for example, a general-purpose computer in which a character image acquisition program 4 to be described later is installed, and acquires and acquires image data via the communication device 22, the storage device 24, the recording medium 240, or the like. Image processing is performed on the captured image. The image processing device 2 acquires image data optically read by a scanner function of a printer device (not shown) or the scanner device.

図5は、本発明の第1の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム4の機能構成を示す図である。
図5に示すように、文字画像取得プログラム4は、文字切出し部40、類似文字抽出部42、重心算出部44及び高解像度文字画像生成部46を有する。文字画像取得プログラム4は、例えば、通信装置22を介して制御装置20に供給され、メモリ204にロードされて、制御装置20上で動作する図示しないOS上で、ハードウェアを具体的に利用して実行される。文字画像取得プログラム4は、FD、CD又はDVDなどの記録媒体240に格納されて、画像処理装置2に供給されてもよい。なお、以下の各プログラムも、同様に供給されて実行される。また、文字画像取得プログラム4の全部又は一部の機能は、画像処理装置2に設けられたASICなどにより実現されてもよい。
FIG. 5 is a diagram showing a functional configuration of the character image acquisition program 4 executed by the control device 20 of the image processing device 2 according to the first embodiment of the present invention.
As shown in FIG. 5, the character image acquisition program 4 includes a character cutout unit 40, a similar character extraction unit 42, a centroid calculation unit 44, and a high resolution character image generation unit 46. For example, the character image acquisition program 4 is supplied to the control device 20 via the communication device 22, loaded into the memory 204, and specifically uses hardware on an OS (not shown) operating on the control device 20. Executed. The character image acquisition program 4 may be stored in a recording medium 240 such as FD, CD, or DVD and supplied to the image processing apparatus 2. The following programs are also supplied and executed in the same manner. Further, all or part of the functions of the character image acquisition program 4 may be realized by an ASIC provided in the image processing apparatus 2 or the like.

文字画像取得プログラム4において、文字切出し部40は、通信装置22、記憶装置24又は記録媒体240を介して、スキャナ装置などにより読み取られた所定の解像度(第1の解像度)の入力画像を受け付け、この入力画像に含まれる文字画像を切り出して、類似文字抽出部42に対して出力する。なお、入力画像は、1ページの原稿であってもよいし、複数ページからなる原稿であってもよい。   In the character image acquisition program 4, the character cutout unit 40 receives an input image having a predetermined resolution (first resolution) read by a scanner device or the like via the communication device 22, the storage device 24, or the recording medium 240. A character image included in the input image is cut out and output to the similar character extraction unit 42. The input image may be a one-page document or a document composed of a plurality of pages.

類似文字抽出部42は、文字切出し部40により切り出された文字画像を受け付け、互いに類似する文字画像を抽出して、重心算出部44及び高解像度文字画像生成部46に対して出力する。具体的には、類似文字抽出部42は、切り出された複数の文字画像から第1の文字画像を特定し、第1の文字画像と該第1の文字画像と類似する第2の文字画像とを抽出する。   The similar character extraction unit 42 receives the character images cut out by the character cutout unit 40, extracts similar character images, and outputs them to the centroid calculation unit 44 and the high resolution character image generation unit 46. Specifically, the similar character extraction unit 42 identifies the first character image from the plurality of clipped character images, and the first character image and the second character image similar to the first character image, To extract.

重心算出部44は、類似文字抽出部42から受け付けた文字画像それぞれの重心を算出し、算出された重心値を高解像度文字画像生成部46に対して出力する。重心算出部44は、第1の解像度における1画素より高い精度で重心を算出する。なお、重心算出部44は、算出した重心と標本化格子点との相対位置に基づいて文字画像それぞれの位相を算出し、算出された位相を高解像度文字画像生成部46に対して出力してもよい。また、重心算出部44は、例えば、文字画像の幅及び高さにより文字画像の中央を算出してもよいし、中心を算出してもよい。この場合、重心算出部44は、算出された文字画像の中央などを出力する。   The centroid calculation unit 44 calculates the centroid of each character image received from the similar character extraction unit 42, and outputs the calculated centroid value to the high-resolution character image generation unit 46. The centroid calculation unit 44 calculates the centroid with higher accuracy than one pixel in the first resolution. The center-of-gravity calculation unit 44 calculates the phase of each character image based on the relative position between the calculated center of gravity and the sampling grid point, and outputs the calculated phase to the high-resolution character image generation unit 46. Also good. The center-of-gravity calculation unit 44 may calculate the center of the character image or the center based on the width and height of the character image, for example. In this case, the center of gravity calculation unit 44 outputs the calculated center of the character image and the like.

高解像度文字画像生成部46は、類似文字抽出部42により抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、第1の解像度より高い第2の解像度の文字画像を生成する。具体的には、高解像度文字画像生成部46は、重心算出部44により算出された各文字画像の重心と標本化格子点との相対位置に基づいて文字画像の位相を算出し、類似文字抽出部42から受け付けた類似する文字画像と該各文字画像の位相とに基づいて文字画像を生成する。文字画像の位相が、重心算出部44により算出されて高解像度文字画像生成部46に入力された場合、高解像度文字画像生成部46は、この位相を用いてもよい。   The high-resolution character image generation unit 46 determines the first character image based on each character image extracted by the similar character extraction unit 42 and the phase of each character image calculated with higher accuracy than one pixel in the first resolution. A character image having a second resolution higher than the resolution of is generated. Specifically, the high resolution character image generation unit 46 calculates the phase of the character image based on the relative position between the centroid of each character image calculated by the centroid calculation unit 44 and the sampling grid point, and extracts similar characters. A character image is generated based on the similar character image received from the unit 42 and the phase of each character image. When the phase of the character image is calculated by the gravity center calculation unit 44 and input to the high resolution character image generation unit 46, the high resolution character image generation unit 46 may use this phase.

第2の解像度は、第1の解像度と同じであってもよい。この場合、高解像度文字画像生成部46は、第1の解像度より高い第2の解像度の文字画像に対して、さらに解像度変換処理を施して、第1の解像度と同じ解像度である第2の解像度の文字画像を生成する。また、第2の解像度は、第1の解像度より低い解像度であってもよい。この場合もまた、高解像度文字画像生成部46は、第1の解像度より高い第2の解像度の文字画像に対して、さらに解像度変換処理(縮小処理)を施して、第1の解像度より低い解像度である第2の解像度の文字画像を生成する。
なお、高解像度文字画像生成部46による文字画像生成処理については、後で詳述する。
The second resolution may be the same as the first resolution. In this case, the high-resolution character image generation unit 46 further performs resolution conversion processing on the character image having the second resolution higher than the first resolution, so that the second resolution is the same resolution as the first resolution. Generate a character image. Further, the second resolution may be lower than the first resolution. Also in this case, the high-resolution character image generation unit 46 further performs resolution conversion processing (reduction processing) on the character image having the second resolution higher than the first resolution, thereby reducing the resolution lower than the first resolution. A character image having the second resolution is generated.
The character image generation processing by the high resolution character image generation unit 46 will be described in detail later.

図6は、文字切出し部40による文字切出し処理及び類似文字抽出部42による類似文字抽出処理を説明する図であって、図6(A)は、入力画像を例示し、図6(B)は、文字切出し部40により入力画像から切り出された文字画像を例示し、図6(C)は、類似文字抽出部42により抽出された類似する文字画像を例示する。
図6(A)及び図6(B)に例示するように、文字切出し部40は、入力画像に含まれる複数の文字画像を切り出す。本例では、「2」及び「c」の文字画像が、それぞれ入力画像から切り出されている。
FIG. 6 is a diagram for explaining the character extraction process by the character extraction unit 40 and the similar character extraction process by the similar character extraction unit 42. FIG. 6A illustrates an input image, and FIG. The character image cut out from the input image by the character cutout unit 40 is illustrated, and FIG. 6C illustrates the similar character image extracted by the similar character extraction unit 42.
As illustrated in FIGS. 6A and 6B, the character cutout unit 40 cuts out a plurality of character images included in the input image. In this example, the character images “2” and “c” are each cut out from the input image.

例えば、文字切出し部40は、入力画像を2値化して、連続する黒画素の塊(例えば、8近傍で連結された黒画素)を1つの文字画像として入力画像から切り出してもよいし、文字列及び文字間隔を推定し、1つの文字領域を推定して1つの文字画像を切り出してもよい。また例えば、文字切出し部40は、外部のOCR(Optical Character Reader)などにより特定された文字画像を切り出してもよい。なお、文字切出し手法は、特に限定されない。   For example, the character cutout unit 40 may binarize the input image and cut out a block of continuous black pixels (for example, black pixels connected in the vicinity of 8) from the input image as one character image. One character image may be cut out by estimating a string and a character interval and estimating one character region. For example, the character cutout unit 40 may cut out a character image specified by an external OCR (Optical Character Reader) or the like. The character cutting method is not particularly limited.

図6(C)に例示するように、類似文字抽出部42は、切り出された文字画像から類似する文字画像を抽出する。本例では、文字画像「2」に類似する文字画像及び文字画像「c」に類似する文字画像が抽出されている。例えば、類似文字抽出部42は、第1の文字画像と第2の文字画像とのパターンマッチングを行うことにより、これらの文字画像が類似するか否かを判定する。この場合、類似文字抽出部42は、各々の文字画像同士のパターンマッチングを行う。   As illustrated in FIG. 6C, the similar character extraction unit 42 extracts a similar character image from the extracted character image. In this example, a character image similar to the character image “2” and a character image similar to the character image “c” are extracted. For example, the similar character extraction unit 42 determines whether or not these character images are similar by performing pattern matching between the first character image and the second character image. In this case, the similar character extraction unit 42 performs pattern matching between the character images.

また例えば、類似文字抽出部42は、1つの文字画像データを1つのベクトルデータとして扱い、クラスタリングを行うことにより、当該文字画像と類似する文字画像を抽出してもよい。この場合、類似文字抽出部42は、当該文字画像を表すベクトルデータと判定対象の文字画像を表すベクトルデータとの距離(例えば、ユークリッド距離)が所定値未満であるとき(即ち、2つのベクトルデータの距離が近いとき)、当該文字画像と判定対象の文字画像とが類似すると判定する。なお、類似の判定手法は、特に限定されない。   For example, the similar character extraction unit 42 may treat one character image data as one vector data and perform clustering to extract a character image similar to the character image. In this case, when the distance (for example, Euclidean distance) between the vector data representing the character image and the vector data representing the determination target character image is less than a predetermined value (ie, the two vector data) Is determined to be similar to the character image to be determined. A similar determination method is not particularly limited.

図7は、高解像度文字画像生成部46による高解像度文字画像データの生成処理を説明する図である。
図7(A)は、第1の解像度における入力画像の標本化格子及び文字画像データの重心位置を示す。図7(A)において、矢印aで示される矩形が、入力画像の標本化格子であり、矢印bで示される破線が交差する点が、文字画像データの重心位置である。本例では、入力画像の4つの標本化格子を用いて説明する。高解像度文字画像生成部46は、まず、図7(B)に示すように、文字画像データの重心に基づいて、4つの標本化格子の位相を移動させる。
FIG. 7 is a diagram for explaining high-resolution character image data generation processing by the high-resolution character image generation unit 46.
FIG. 7A shows the sampling grid of the input image and the barycentric position of the character image data at the first resolution. In FIG. 7A, the rectangle indicated by the arrow a is the sampling grid of the input image, and the point where the broken line indicated by the arrow b intersects is the barycentric position of the character image data. In this example, description will be made using four sampling grids of the input image. First, as shown in FIG. 7B, the high-resolution character image generation unit 46 moves the phases of the four sampling grids based on the center of gravity of the character image data.

図7(C)及び図7(D)は、第1の解像度より高い第2の解像度の標本化格子を設定する手法を説明する図である。図7(C)において、矢印cで示される丸数字は、第1の解像度における文字画像データの値を例示する。ここで、文字画像データは、丸数字が、第1の解像度における標本化格子の格子点上に表されるように示されている。図7(D)において、矢印dで示される太線は、第2の解像度のおける高解像度文字画像の標本化格子を示す。   FIG. 7C and FIG. 7D are diagrams illustrating a method for setting a sampling grid having a second resolution higher than the first resolution. In FIG. 7C, the circled number indicated by the arrow c exemplifies the value of the character image data at the first resolution. Here, the character image data is shown such that the circled numbers are represented on the grid points of the sampling grid at the first resolution. In FIG. 7D, a thick line indicated by an arrow d indicates a sampling grid for a high-resolution character image at the second resolution.

高解像度文字画像生成部46は、第1の解像度における4つの標本化格子の位相が移動されると、図7(C)に示すように、第2の解像度における標本化格子を設定し、図7(D)に示すように、文字画像データの重心に基づいて、第2の解像度における標本化格子の位相を移動させる。   When the phases of the four sampling grids at the first resolution are moved, the high-resolution character image generation unit 46 sets the sampling grid at the second resolution as shown in FIG. As shown in FIG. 7D, the phase of the sampling grid at the second resolution is moved based on the center of gravity of the character image data.

図7(E)は、第2の解像度における文字画像データの値を算出する手法を説明する図である。図7(E)において、矢印eで示される太丸数字は、第2の解像度における文字画像データの値を例示する。ここで、第2の解像度における文字画像データは、太丸数字が、第2の解像度における標本化格子の格子点上に表されるように示されている。   FIG. 7E is a diagram for explaining a method for calculating the value of character image data at the second resolution. In FIG. 7E, bold circle numbers indicated by arrows e exemplify values of character image data at the second resolution. Here, the character image data at the second resolution is shown such that bold circle numbers are represented on the grid points of the sampling grid at the second resolution.

高解像度文字画像生成部46は、第1の解像度における各文字画像の位相に基づいて、該各文字画像の画素値から、第2の解像度における文字画像の画素値を補間する。本例では、高解像度文字画像生成部46は、最近傍補間法を適用して、第2の解像度における文字画像の画素値を補間する。即ち、高解像度文字画像生成部46は、第1の解像度における文字画像データの4つの値(本例では、丸数字「1」〜「4」)のうち、第2の解像度における標本化格子点に最も近い値を選択して、第2の解像度における文字画像データの値とする。なお、補間方法は特に限定されず、その他の手法(例えば、線形補間法など)が適用されてもよい。   Based on the phase of each character image at the first resolution, the high-resolution character image generation unit 46 interpolates the pixel value of the character image at the second resolution from the pixel value of each character image. In this example, the high resolution character image generation unit 46 applies the nearest neighbor interpolation method to interpolate the pixel values of the character image at the second resolution. That is, the high-resolution character image generation unit 46 selects the sampling grid point at the second resolution among the four values of the character image data at the first resolution (in this example, circled numbers “1” to “4”). Is selected as the value of the character image data at the second resolution. The interpolation method is not particularly limited, and other methods (for example, a linear interpolation method) may be applied.

図8は、文字画像取得プログラム4による高解像度文字画像取得処理(S10)のフローチャートを示す図である。
図8に示すように、ステップ100(S100)において、文字画像取得プログラム4の文字切出し部40は、第1の解像度の入力画像を受け付け、入力画像から文字画像を切り出して、類似文字抽出部42に対して出力する。
FIG. 8 is a flowchart of the high-resolution character image acquisition process (S10) by the character image acquisition program 4.
As shown in FIG. 8, in step 100 (S100), the character cutout unit 40 of the character image acquisition program 4 receives the input image of the first resolution, cuts out the character image from the input image, and extracts the similar character extraction unit 42. Output for.

ステップ102(S102)において、類似文字抽出部42は、文字切出し部40により切り出された文字画像から、類似する文字画像を第1の解像度で抽出する。
ステップ104(S104)において、重心算出部44は、類似文字抽出部42により抽出された各文字画像の重心を、第1の解像度における1画素より高い精度で算出する。
In step 102 (S102), the similar character extraction unit 42 extracts similar character images from the character images cut out by the character cutout unit 40 at the first resolution.
In step 104 (S104), the centroid calculating unit 44 calculates the centroid of each character image extracted by the similar character extracting unit 42 with higher accuracy than one pixel in the first resolution.

ステップ106(S106)において、高解像度文字画像生成部46は、重心算出部44により算出された各文字画像の重心に基づいて、各文字画像の位相を算出し、類似文字抽出部42により抽出された類似する各文字画像と、類似する文字画像の位相とに基づいて、第2の解像度の文字画像を生成する。   In step 106 (S106), the high resolution character image generation unit 46 calculates the phase of each character image based on the center of gravity of each character image calculated by the center of gravity calculation unit 44, and is extracted by the similar character extraction unit 42. A character image having the second resolution is generated based on each similar character image and the phase of the similar character image.

ステップ108(S108)において、高解像度文字画像生成部46は、生成した第2の解像度の高解像度文字画像データを出力する。高解像度文字画像生成部46は、高解像度文字画像データを通信装置22を介して図示しない外部のコンピュータに対して送信してもよいし、記憶装置24又は記録媒体240に格納してもよい。   In step 108 (S108), the high resolution character image generation unit 46 outputs the generated high resolution character image data of the second resolution. The high resolution character image generation unit 46 may transmit the high resolution character image data to an external computer (not shown) via the communication device 22 or may store it in the storage device 24 or the recording medium 240.

次に、本発明の実施形態に係る画像拡大装置3を具体的に説明する。
画像拡大装置3は、画像拡大プログラム5がインストールされた汎用コンピュータである。
図9は、本発明の実施形態に係る画像拡大装置3の制御装置20により実行される画像拡大プログラム5の機能構成を示す図である。
図9に示すように、画像拡大プログラム5は、文字切出し部40、類似文字抽出部42、重心算出部44、高解像度文字画像生成部46、位置算出部50及び文字配置部52を有する。なお、図9に示された各構成のうち、図5に示された構成と実質的に同一のものには同一の符号が付されている。このように、画像拡大プログラム5は、文字画像取得プログラム4を含むものである。
Next, the image enlargement apparatus 3 according to the embodiment of the present invention will be specifically described.
The image enlargement apparatus 3 is a general-purpose computer in which the image enlargement program 5 is installed.
FIG. 9 is a diagram showing a functional configuration of the image enlargement program 5 executed by the control device 20 of the image enlargement apparatus 3 according to the embodiment of the present invention.
As shown in FIG. 9, the image enlargement program 5 includes a character cutout unit 40, a similar character extraction unit 42, a centroid calculation unit 44, a high resolution character image generation unit 46, a position calculation unit 50, and a character arrangement unit 52. 9 that are substantially the same as those shown in FIG. 5 are denoted by the same reference numerals. As described above, the image enlargement program 5 includes the character image acquisition program 4.

画像拡大プログラム5において、位置算出部50は、文字切出し部40により第1の解像度の入力画像から切り出された文字画像の文字位置データを受け付け、当該文字画像の位置に基づいて、当該文字位置に対応する位置であって第2の解像度の拡大画像における文字画像の位置を算出する。位置算出部50は、算出した位置を文字配置部52に対して出力する。   In the image enlargement program 5, the position calculation unit 50 receives character position data of the character image cut out from the input image of the first resolution by the character cutout unit 40, and sets the character position based on the position of the character image. The position of the character image in the enlarged image of the second resolution at the corresponding position is calculated. The position calculation unit 50 outputs the calculated position to the character placement unit 52.

文字配置部52は、第1の解像度で抽出された文字画像の位置に基づいて位置算出部50により算出された第2の解像度の拡大画像における位置と、高解像度文字画像生成部46により生成された第2の解像度の文字画像であって当該位置に対応する文字画像とを受け付け、拡大画像の当該位置に第2の解像度の当該文字画像を配置する。文字配置部52は、第1の解像度の入力画像に含まれる文字画像のそれぞれに対応する第2の解像度の文字画像を拡大画像に配置して、拡大画像データを生成する。   The character placement unit 52 is generated by the high-resolution character image generation unit 46 and the position in the enlarged image of the second resolution calculated by the position calculation unit 50 based on the position of the character image extracted at the first resolution. A character image corresponding to the position and a character image corresponding to the position is received, and the character image having the second resolution is arranged at the position of the enlarged image. The character arrangement unit 52 arranges character images having the second resolution corresponding to the character images included in the input image having the first resolution on the enlarged image, and generates enlarged image data.

図10は、画像拡大プログラム5による画像拡大処理(S20)のフローチャートを示す図である。
図10に示すように、画像拡大プログラム5は、高解像度文字画像取得処理(図8;S10)を行って、第1の解像度の文字画像のそれぞれに対応する第2の解像度の文字画像を取得する。
ステップ200(S200)において、画像拡大プログラム5の位置算出部50は、第1の解像度の入力画像に含まれる各文字画像の位置に基づいて、拡大画像における各文字画像の位置を算出する。
FIG. 10 is a flowchart of image enlargement processing (S20) by the image enlargement program 5.
As shown in FIG. 10, the image enlargement program 5 performs a high-resolution character image acquisition process (FIG. 8; S10), and acquires a character image of the second resolution corresponding to each of the character images of the first resolution. To do.
In step 200 (S200), the position calculation unit 50 of the image enlargement program 5 calculates the position of each character image in the enlarged image based on the position of each character image included in the input image having the first resolution.

ステップ202(S202)において、文字配置部52は、第1の解像度で抽出された文字画像の位置に基づいて算出された拡大画像における位置に、それぞれ対応する第2の解像度の文字画像を配置する。
ステップ204(S204)において、文字配置部52は、生成した拡大画像データを出力する。文字配置部52は、拡大画像データを通信装置22を介して送信してもよいし、記憶装置24等に格納してもよい。
In step 202 (S202), the character arrangement unit 52 arranges character images of the second resolution corresponding to the positions in the enlarged image calculated based on the positions of the character images extracted at the first resolution. .
In step 204 (S204), the character arrangement unit 52 outputs the generated enlarged image data. The character arrangement unit 52 may transmit the enlarged image data via the communication device 22 or may store it in the storage device 24 or the like.

次に、本発明の第2の実施形態に係る画像処理装置2を説明する。
本実施形態に係る画像処理装置2は、文字画像取得プログラム6がインストールされた汎用コンピュータである。文字画像取得プログラム6は、文字画像取得プログラム4(図5)にノイズ除去機能が付加された点で、文字画像取得プログラム4とは異なる。
Next, an image processing apparatus 2 according to the second embodiment of the present invention will be described.
The image processing apparatus 2 according to the present embodiment is a general-purpose computer in which a character image acquisition program 6 is installed. The character image acquisition program 6 is different from the character image acquisition program 4 in that a noise removal function is added to the character image acquisition program 4 (FIG. 5).

図11は、本発明の第2の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム6の機能構成を示す図である。
図11に示すように、文字切出し部40、類似文字抽出部42、重心算出部44、位相算出部60、代表文字抽出部62、位相代表値算出部64、ノイズ除去部66及び高解像度文字画像生成部68を有する。なお、図11に示された各構成のうち、図5に示された構成と実質的に同一のものには同一の符号が付されている。このように、文字画像取得プログラム6は、文字画像取得プログラム4を含むものである。
FIG. 11 is a diagram showing a functional configuration of the character image acquisition program 6 executed by the control device 20 of the image processing apparatus 2 according to the second embodiment of the present invention.
As shown in FIG. 11, the character cutout unit 40, the similar character extraction unit 42, the centroid calculation unit 44, the phase calculation unit 60, the representative character extraction unit 62, the phase representative value calculation unit 64, the noise removal unit 66, and the high resolution character image A generation unit 68 is included. 11 that are substantially the same as those shown in FIG. 5 are denoted by the same reference numerals. Thus, the character image acquisition program 6 includes the character image acquisition program 4.

文字画像取得プログラム6において、位相算出部60は、重心算出部44により第1の解像度における1画素より高い精度で算出された重心と標本化格子点との相対位置に基づいて文字画像それぞれの位相を算出して、代表文字抽出部62及び高解像度文字画像生成部68に対して出力する。   In the character image acquisition program 6, the phase calculation unit 60 determines the phase of each character image based on the relative position between the centroid calculated by the centroid calculation unit 44 with higher accuracy than one pixel at the first resolution and the sampling grid point. Is output to the representative character extraction unit 62 and the high-resolution character image generation unit 68.

代表文字抽出部62は、類似文字抽出部42により抽出された類似する複数の文字画像及び位相算出部60により算出された当該文字画像の位相を受け付け、位相の差が互いに小さい複数の文字画像を代表文字画像として抽出する。代表文字抽出部62は、位相の差が、予め設定された閾値より小さい文字画像を代表文字画像とする。代表文字抽出部62は、抽出された複数の代表文字画像を、位相代表値算出部64及びノイズ除去部66に対して出力する。   The representative character extraction unit 62 receives a plurality of similar character images extracted by the similar character extraction unit 42 and a phase of the character image calculated by the phase calculation unit 60, and receives a plurality of character images having a small phase difference. Extracted as a representative character image. The representative character extraction unit 62 sets a character image having a phase difference smaller than a preset threshold as a representative character image. The representative character extraction unit 62 outputs the extracted representative character images to the phase representative value calculation unit 64 and the noise removal unit 66.

位相代表値算出部64は、代表文字抽出部62により抽出された複数の文字画像の位相から1つの位相代表値を選択して、高解像度文字画像生成部68に対して出力する。ここで、位相代表値は、類似する文字画像毎に算出される。   The phase representative value calculating unit 64 selects one phase representative value from the phases of the plurality of character images extracted by the representative character extracting unit 62 and outputs the selected phase representative value to the high resolution character image generating unit 68. Here, the phase representative value is calculated for each similar character image.

ノイズ除去部66は、類似文字抽出部42により抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、文字画像のノイズを除去する。具体的には、ノイズ除去部66は、代表文字抽出部62により抽出された複数の代表文字画像に基づいて平滑化処理を行うことにより、当該文字画像に対してノイズ除去処理を行う。平滑化処理は、例えば、抽出された複数の代表文字画像において対応する位置の画素値の平均値を求めることによりなされる。ノイズ除去部66は、ノイズを除去された文字画像を、高解像度文字画像生成部68に対して出力する。   The noise removing unit 66 calculates the noise of the character image based on each character image extracted by the similar character extracting unit 42 and the phase of each character image calculated with higher accuracy than one pixel in the first resolution. Remove. Specifically, the noise removal unit 66 performs a noise removal process on the character image by performing a smoothing process based on the plurality of representative character images extracted by the representative character extraction unit 62. The smoothing process is performed, for example, by obtaining an average value of pixel values at corresponding positions in the extracted representative character images. The noise removing unit 66 outputs the character image from which the noise has been removed to the high resolution character image generating unit 68.

高解像度文字画像生成部68は、ノイズ除去部66によりノイズを除去された文字画像と、位相代表値算出部64により算出された当該文字画像の位相代表値とに基づいて、第1の解像度より高い第2の解像度の文字画像であってノイズを除去された文字画像を生成する。なお、高解像度文字画像生成部68は、類似文字抽出部42により抽出されたノイズを除去されていない文字画像及び位相算出部60により算出された当該文字画像の位相にさらに基づいて第2の解像度の文字画像を生成してもよい。   The high-resolution character image generation unit 68 uses the first resolution based on the character image from which noise has been removed by the noise removal unit 66 and the phase representative value of the character image calculated by the phase representative value calculation unit 64. A character image having a high second resolution and from which noise has been removed is generated. The high-resolution character image generation unit 68 uses the second resolution based on the character image from which the noise extracted by the similar character extraction unit 42 is not removed and the phase of the character image calculated by the phase calculation unit 60. May be generated.

図12は、文字画像取得プログラム6によるノイズ除去処理を含む高解像度文字画像取得処理(S30)のフローチャートを示す図である。なお、図12に示された各処理のうち、図8に示された処理と実質的に同一のものには同一の符号が付されている。
図12に示すように、S100〜S104の処理で、入力画像から文字画像が抽出され、抽出された文字画像の重心が算出される。
FIG. 12 is a flowchart of the high-resolution character image acquisition process (S30) including the noise removal process by the character image acquisition program 6. Of the processes shown in FIG. 12, the same reference numerals are assigned to the processes that are substantially the same as those shown in FIG.
As shown in FIG. 12, a character image is extracted from the input image by the processing of S100 to S104, and the center of gravity of the extracted character image is calculated.

ステップ300(S300)において、位相算出部60は、算出された重心に基づいて、抽出された各文字画像の位相を算出する。
ステップ302(S302)において、代表文字抽出部62は、類似する文字から、位相の差が互いに小さい代表文字画像として抽出する。
In step 300 (S300), the phase calculation unit 60 calculates the phase of each extracted character image based on the calculated center of gravity.
In step 302 (S302), the representative character extracting unit 62 extracts from the similar characters as representative character images having a small phase difference.

ステップ304(S304)において、ノイズ除去部66は、抽出された各文字画像と、各文字画像の位相とに基づいて、ノイズ除去処理を行って、ノイズを除去された文字画像を生成する。
ステップ306(S306)において、位相代表値算出部64は、抽出された複数の文字画像の位相から1つの位相代表値を選択する。
In step 304 (S304), the noise removal unit 66 performs noise removal processing based on each extracted character image and the phase of each character image, and generates a character image from which noise has been removed.
In step 306 (S306), the phase representative value calculation unit 64 selects one phase representative value from the phases of the extracted character images.

ステップ308(S308)において、高解像度文字画像生成部68は、ノイズを除去された文字画像と、位相代表値算出部64により算出された該文字画像の位相代表値とに基づいて、ノイズを除去された第2の解像度の文字画像を生成する。
ステップ310(S310)において、高解像度文字画像生成部68は、生成した第2の解像度の高解像度文字画像データを出力する。
In step 308 (S308), the high resolution character image generation unit 68 removes noise based on the character image from which the noise has been removed and the phase representative value of the character image calculated by the phase representative value calculation unit 64. The character image having the second resolution is generated.
In step 310 (S310), the high resolution character image generation unit 68 outputs the generated high resolution character image data of the second resolution.

図13は、本発明の第3の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム400の機能構成を示す図である。
図13に示すように、文字画像取得プログラム400は、図5に示された文字画像取得プログラム4に、多値化部402及び2値化部404が付加された構成を有する。なお、図13に示された各構成のうち、図5に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 13 is a diagram showing a functional configuration of a character image acquisition program 400 executed by the control device 20 of the image processing device 2 according to the third embodiment of the present invention.
As shown in FIG. 13, the character image acquisition program 400 has a configuration in which a multi-value quantization unit 402 and a binarization unit 404 are added to the character image acquisition program 4 shown in FIG. Of the components shown in FIG. 13, components substantially the same as those shown in FIG. 5 are denoted by the same reference numerals.

文字画像取得プログラム400において、多値化部402は、通信装置22、記憶装置24又は記録媒体240を介して、スキャナ装置などにより読み取られた所定の解像度(第1の解像度)の2値の入力画像を受け付け、この入力画像に多値化処理(階調数増加処理)を施して多値画像に変換し、この多値画像を文字切出し部40に対して出力する。なお、多値化処理については、後で詳述する。   In the character image acquisition program 400, the multi-value conversion unit 402 inputs a binary of a predetermined resolution (first resolution) read by a scanner device or the like via the communication device 22, the storage device 24, or the recording medium 240. An image is received, the input image is subjected to multi-value processing (gradation number increasing processing), converted to a multi-value image, and the multi-value image is output to the character cutout unit 40. The multilevel processing will be described in detail later.

したがって、文字切出し部40は、多値化部402により多値化された画像を受け付け、この多値画像に含まれる文字画像を切出す。類似文字抽出部42は、文字切出し部40により切り出された多値の文字画像を受け付け、互いに類似する多値の文字画像を抽出する。重心算出部44は、類似文字抽出部42から受け付けた多値の文字画像それぞれの重心を算出する。高解像度文字画像生成部46は、類似文字抽出部42により抽出された多値の各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、第1の解像度より高い第2の解像度の多値の文字画像を生成する。高解像度文字画像生成部46は、このようにして生成された第2の解像度の多値の文字画像を2値化部404に対して出力する。なお、高解像度文字画像生成部46は、多値の文字画像データを記憶装置24に格納してもよいし、通信装置22を介して外部のコンピュータに対して送信してもよい。   Therefore, the character cutout unit 40 receives the image multivalued by the multivalue conversion unit 402 and cuts out the character image included in the multivalued image. The similar character extraction unit 42 receives the multi-value character images cut out by the character cut-out unit 40, and extracts similar multi-value character images. The center-of-gravity calculation unit 44 calculates the center of gravity of each of the multi-value character images received from the similar character extraction unit 42. The high resolution character image generation unit 46 is based on the multivalued character images extracted by the similar character extraction unit 42 and the phase of each character image calculated with higher accuracy than one pixel at the first resolution. A multi-value character image having a second resolution higher than the first resolution is generated. The high-resolution character image generation unit 46 outputs the multi-value character image having the second resolution generated in this way to the binarization unit 404. Note that the high-resolution character image generation unit 46 may store multi-value character image data in the storage device 24 or may transmit the multi-value character image data to an external computer via the communication device 22.

2値化部404は、高解像度文字画像生成部46により生成された第2の解像度の多値の文字画像を受け付け、この多値の文字画像に対して2値化処理を施して2値の文字画像に変換し、第2の解像度の2値の文字画像を生成する。2値化部404は、多値の文字画像に対して例えば閾値処理を施して2値画像に変換し、この2値の文字画像を出力する。2値化部404は、2値の文字画像データを、記憶装置24に格納してもよいし、通信装置22を介して外部のコンピュータに対して送信してもよい。   The binarization unit 404 receives the multi-value character image of the second resolution generated by the high-resolution character image generation unit 46, performs binarization processing on the multi-value character image, and performs binary processing. The image is converted into a character image, and a binary character image having the second resolution is generated. The binarization unit 404 performs, for example, threshold processing on the multi-valued character image to convert it into a binary image, and outputs this binary character image. The binarization unit 404 may store the binary character image data in the storage device 24 or may transmit it to an external computer via the communication device 22.

図14は、本発明の実施形態に係る画像処理装置2により実行される多値化処理の概要を示す図である。
図14に示すように、画像処理装置2は、複数の多値化手法のいずれかを実行して、2値画像を多値画像に変換する。ここで、画像処理装置2は、予め決められた多値化手法を適用して多値化処理を行う。
FIG. 14 is a diagram showing an overview of the multi-value process executed by the image processing apparatus 2 according to the embodiment of the present invention.
As illustrated in FIG. 14, the image processing apparatus 2 executes any one of a plurality of multi-value conversion methods to convert a binary image into a multi-value image. Here, the image processing apparatus 2 performs multi-value processing by applying a predetermined multi-value method.

図14(A)は、画像処理装置2に入力された2値の入力画像を例示する。例えば、入力画像は、3×3画素の画像であり、黒画素は「1」で表され、白画素は「0」で表される。図14(B)〜図14(D)はそれぞれ、第1の多値化手法、第2の多値化手法、及び第3の多値化手法を示す。   FIG. 14A illustrates a binary input image input to the image processing apparatus 2. For example, the input image is a 3 × 3 pixel image, black pixels are represented by “1”, and white pixels are represented by “0”. FIG. 14B to FIG. 14D show a first multi-value quantization method, a second multi-value quantization method, and a third multi-value quantization method, respectively.

図14(B)に示すように、第1の多値化手法では、多値化部402は、「0」及び「1」の2値はそれぞれ、例えば「0」及び「255」に変換する。第2の多値化手法では、多値化部402は、拡大手法を適用して各文字画像を多値化する。ここで、多値化処理は、拡大処理の補間法と組み合わされて用いられる。よって、2値の入力画像は拡大され、各画素値は、例えば256階調のいずれかの値に変換される。第3の多値化手法では、各画素値は、多値化部402によりグレイフォント化される。例えば、多値化部402は、2値の入力画像に対して低域通過フィルタを適用して多値化処理を行う。また、例えば、多値化部402は、所定の領域に含まれる画素の画素値の平均値を算出して多値化処理を行う。   As shown in FIG. 14B, in the first multi-value conversion method, the multi-value conversion unit 402 converts the binary values “0” and “1” into, for example, “0” and “255”, respectively. . In the second multi-value conversion method, the multi-value conversion unit 402 multi-values each character image by applying an enlargement method. Here, the multi-value processing is used in combination with the interpolation method of the enlargement processing. Therefore, the binary input image is enlarged, and each pixel value is converted into, for example, one of 256 gradations. In the third multi-value conversion method, each pixel value is converted into a gray font by the multi-value conversion unit 402. For example, the multilevel conversion unit 402 performs multilevel processing by applying a low-pass filter to a binary input image. For example, the multi-value quantization unit 402 performs multi-value processing by calculating an average value of pixel values of pixels included in a predetermined region.

第1の手法及び第3の手法の場合、高解像度文字画像生成部46では、図7に示される手法と同様にして、多値の高解像度文字画像データが生成される。即ち、本実施形態において、高解像度文字画像生成部46は、第1の解像度における各文字画像の位相に基づいて、該各文字画像の多値の画素値から、第2の解像度における文字画像の画素値を補間する。高解像度文字画像生成部46は、補間方法として、最近傍補間法、線形補間法などを適用する。なお、第2の手法については、後で詳述する。   In the case of the first method and the third method, the high-resolution character image generation unit 46 generates multi-value high-resolution character image data in the same manner as the method shown in FIG. That is, in the present embodiment, the high-resolution character image generation unit 46 determines the character image at the second resolution from the multivalued pixel value of each character image based on the phase of each character image at the first resolution. Interpolate pixel values. The high-resolution character image generation unit 46 applies a nearest neighbor interpolation method, a linear interpolation method, or the like as an interpolation method. The second method will be described later in detail.

図15は、文字画像取得プログラム400による高解像度文字画像取得処理(S40)のフローチャートを示す図である。なお、図15に示された各処理のうち、図8に示された処理と実質的に同一のものには同一の符号が付されている。
図15に示すように、ステップ400(S400)において、文字画像取得プログラム400の多値化部402は、第1の解像度の2値の入力画像を受け付け、この入力画像に多値化処理を施して、文字切出し部40に対して出力する。
FIG. 15 is a flowchart of the high-resolution character image acquisition process (S40) by the character image acquisition program 400. Note that, among the processes shown in FIG. 15, substantially the same processes as those shown in FIG. 8 are denoted by the same reference numerals.
As shown in FIG. 15, in step 400 (S400), the multi-value conversion unit 402 of the character image acquisition program 400 accepts a binary input image having the first resolution, and performs multi-value processing on the input image. And output to the character cutout unit 40.

多値化処理後、S100〜S108の処理で、第2の解像度の多値の高解像度文字画像が生成される。
ステップ402(S402)において、2値化部404は、生成された多値の文字画像を受け付け、この文字画像に対して例えば所定の閾値処理を施して、2値の文字画像に変換し、第2の解像度の2値の高解像度文字画像データを出力する。
After the multi-value processing, a multi-value high-resolution character image having the second resolution is generated in the processing of S100 to S108.
In step 402 (S402), the binarizing unit 404 receives the generated multi-value character image, performs a predetermined threshold process on the character image, for example, and converts it into a binary character image. Binary high-resolution character image data with a resolution of 2 is output.

次に、図16乃至図18を参照して、第4の実施形態乃至第6の実施形態に係る画像処理装置2を説明する。
図16は、本発明の第4の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム420の機能構成を示す図である。なお、図16に示された各構成のうち、図13に示された構成と実質的に同一のものには同一の符号が付されている。
図16に示すように、文字画像取得プログラム420は、多値化処理を文字切出し処理の後に実行する点で、図13に示される文字画像取得プログラム400と異なる。
Next, the image processing apparatus 2 according to the fourth to sixth embodiments will be described with reference to FIGS. 16 to 18.
FIG. 16 is a diagram showing a functional configuration of a character image acquisition program 420 executed by the control device 20 of the image processing apparatus 2 according to the fourth embodiment of the present invention. Note that, among the components shown in FIG. 16, the same components as those shown in FIG. 13 are denoted by the same reference numerals.
As shown in FIG. 16, the character image acquisition program 420 is different from the character image acquisition program 400 shown in FIG. 13 in that the multilevel processing is executed after the character extraction processing.

文字画像取得プログラム420において、多値化部422は、文字切出し部40により切り出された2値の文字画像を受け付け、この文字画像に多値化処理を施して多値の文字画像に変換し、この多値の文字画像を類似文字抽出部42に対して出力する。   In the character image acquisition program 420, the multi-value conversion unit 422 receives the binary character image cut out by the character cut-out unit 40, performs multi-value conversion processing on the character image, converts the character image into a multi-value character image, The multi-value character image is output to the similar character extraction unit 42.

図17は、本発明の第5の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム440の機能構成を示す図である。なお、図17に示された各構成のうち、図13に示された構成と実質的に同一のものには同一の符号が付されている。
図17に示すように、文字画像取得プログラム440は、多値化処理を類似文字抽出処理の後に実行する点で、図13に示される文字画像取得プログラム400と異なる。
FIG. 17 is a diagram showing a functional configuration of a character image acquisition program 440 executed by the control device 20 of the image processing device 2 according to the fifth embodiment of the present invention. Of the components shown in FIG. 17, components substantially the same as those shown in FIG. 13 are denoted by the same reference numerals.
As shown in FIG. 17, the character image acquisition program 440 is different from the character image acquisition program 400 shown in FIG. 13 in that the multi-value processing is executed after the similar character extraction processing.

文字画像取得プログラム440において、多値化部442は、類似文字抽出部42により抽出された互いに類似する2値の文字画像を受け付け、この文字画像に多値化処理を施して多値の文字画像に変換し、この類似する多値の文字画像を重心算出部44及び高解像度文字画像生成部46に対して出力する。   In the character image acquisition program 440, the multi-value conversion unit 442 receives similar binary character images extracted by the similar character extraction unit 42, performs multi-value conversion processing on the character image, and generates a multi-value character image. And outputs the similar multi-valued character image to the centroid calculating unit 44 and the high-resolution character image generating unit 46.

図18は、本発明の第6の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム460の機能構成を示す図である。なお、図18に示された各構成のうち、図17に示された構成と実質的に同一のものには同一の符号が付されている。
図18に示すように、文字画像取得プログラム460は、類似文字抽出部42が類似する文字画像を重心算出部44及び多値化部462に対して出力し、多値化処理が高解像度文字画像生成処理の前に実行される点で、図17に示される文字画像取得プログラム400と異なる。
FIG. 18 is a diagram showing a functional configuration of a character image acquisition program 460 executed by the control device 20 of the image processing device 2 according to the sixth embodiment of the present invention. 18 that are substantially the same as those shown in FIG. 17 are denoted by the same reference numerals.
As illustrated in FIG. 18, the character image acquisition program 460 outputs a character image similar to the similar character extraction unit 42 to the centroid calculation unit 44 and the multi-value conversion unit 462, and multi-value processing performs a high-resolution character image. It differs from the character image acquisition program 400 shown in FIG. 17 in that it is executed before the generation process.

文字画像取得プログラム460において、多値化部462は、類似文字抽出部42により抽出された互いに類似する2値の文字画像を受け付け、この文字画像に多値化処理を施して多値の文字画像に変換し、この類似する多値の文字画像を高解像度文字画像生成部46に対して出力する。   In the character image acquisition program 460, the multi-value conversion unit 462 accepts binary character images similar to each other extracted by the similar character extraction unit 42, and multi-values the character image by performing multi-value conversion processing on the character image. The similar multi-value character image is output to the high-resolution character image generation unit 46.

図19は、図14(C)に示される第2の多値化手法が適用された場合における高解像度文字画像データの生成処理を説明する図である。なお、図19に示される各記号は、図7に示された記号と実質的に同一の内容を示す。第2の多値化手法は、例えば文字画像取得プログラム460(図18)の構成で実行される。   FIG. 19 is a diagram for describing high-resolution character image data generation processing when the second multi-value quantization method shown in FIG. 14C is applied. In addition, each symbol shown in FIG. 19 shows the substantially same content as the symbol shown in FIG. The second multi-value conversion method is executed with the configuration of the character image acquisition program 460 (FIG. 18), for example.

図19(A)に示すように、多値化部462は、複数の文字画像データのそれぞれに対して、それぞれの位相毎に拡大処理を施す。具体的には、多値化部462は、抽出された各文字画像を第1の解像度より高い第2の解像度に拡大する拡大手段を構成する。図19(B)は、入力画像の標本化格子、及び拡大処理を施された複数(本例では4)の各文字画像の重心位置を示す。図19(B)において、それぞれの矩形は入力画像の標本化格子を示し、破線が交差する点は各文字画像の重心位置を示す。   As shown in FIG. 19A, the multi-value quantization unit 462 performs an enlargement process for each of the plurality of character image data for each phase. Specifically, the multi-value conversion unit 462 constitutes an enlargement unit that enlarges each extracted character image to a second resolution higher than the first resolution. FIG. 19B shows the sampling grid of the input image and the barycentric positions of a plurality of (4 in this example) character images that have been subjected to the enlargement process. In FIG. 19B, each rectangle indicates a sampling grid of the input image, and a point where broken lines intersect indicates the barycentric position of each character image.

図19(C)に示すように、高解像度文字画像生成部46は、各文字画像の重心位置に基づいて、それぞれの標本化格子の位相を移動させる。さらに、図19(D)に示すように、高解像度文字画像生成部46は、第1の解像度より高い第2の解像度における標本化格子(図中の矢印d)を設定する。その後、図19(E)に示すように、高解像度文字画像生成部46は、第2の解像度の標本化格子の周辺に位置する多値の文字画像データの値に基づいて、第2の解像度における文字画像の画素値を補間する。補間方法は、最近傍補間法、線形補間法などが適用される。   As shown in FIG. 19C, the high resolution character image generation unit 46 moves the phase of each sampling grid based on the barycentric position of each character image. Further, as shown in FIG. 19D, the high resolution character image generation unit 46 sets a sampling grid (arrow d in the figure) at a second resolution higher than the first resolution. Thereafter, as shown in FIG. 19E, the high-resolution character image generator 46 generates the second resolution based on the value of the multi-value character image data positioned around the sampling grid of the second resolution. The pixel value of the character image at is interpolated. As the interpolation method, nearest neighbor interpolation, linear interpolation, or the like is applied.

図20は、高解像度文字画像生成部46による高解像度文字画像データの生成処理の第2の実施例を説明する図である。
図20(A)〜図20(E)に示すように、画像処理装置2は、拡大された文字画像の位相が一致するように、所定の補間手法を適用して、第1の解像度の文字画像を、第1の解像度より高い第2の解像度の文字画像に拡大する。以下、本実施例の手法を詳述する。
FIG. 20 is a diagram for explaining a second embodiment of the high-resolution character image data generation processing by the high-resolution character image generation unit 46.
As shown in FIGS. 20A to 20E, the image processing apparatus 2 applies a predetermined interpolation method so that the phases of the enlarged character images coincide with each other, so that the characters of the first resolution The image is enlarged to a character image having a second resolution higher than the first resolution. Hereinafter, the method of the present embodiment will be described in detail.

図20(A)は、第1の解像度における入力画像の標本化格子及び文字画像の重心位置を示す。ここで、矢印aで示される矩形が、入力画像の標本化格子であり、矢印bで示される破線が交差する点が、文字画像の重心位置である。図20(B)は、第1の解像度より高い第2の解像度の標本化格子と、各文字画像の重心位置を示す。図20(A)及び図20(B)に示すように、多値化部462は、第1の解像度における各文字画像の重心に基づいて、第2の解像度の標本化格子に拡大処理を行う。ここで、高解像度文字画像生成部46は、各文字画像の位相が一致するように補間による拡大処理を行う。したがって、多値化部462は、抽出された各文字画像と、第1の解像度における1画素より高い精度で算出された該各文字画像の位相とに基づいて、各文字画像を第1の解像度より高い第2の解像度に拡大する拡大手段を構成する。   FIG. 20A shows the sampling grid of the input image and the barycentric position of the character image at the first resolution. Here, the rectangle indicated by the arrow a is a sampling grid of the input image, and the point where the broken line indicated by the arrow b intersects is the barycentric position of the character image. FIG. 20B shows a sampling grid having a second resolution higher than the first resolution, and the barycentric position of each character image. As shown in FIGS. 20A and 20B, the multi-value quantization unit 462 performs an enlargement process on the sampling grid of the second resolution based on the center of gravity of each character image at the first resolution. . Here, the high-resolution character image generation unit 46 performs an enlargement process by interpolation so that the phases of the character images coincide with each other. Therefore, the multi-value quantization unit 462 converts each character image to the first resolution based on each extracted character image and the phase of each character image calculated with higher accuracy than one pixel in the first resolution. Enlarging means for enlarging to a higher second resolution is configured.

図20(C)は、拡大処理された各文字画像の画素値を模式的に示す図である。図20(D)は、拡大処理された各文字画像に基づいて第2の解像度の文字画像の画素値を算出する手法を示す図である。図20(C)及び図20(D)に示すように、高解像度文字画像生成部46は、拡大された各文字画像における同一位置の画素値の平均値を算出し、算出された値を当該位置の画素値とする。このようにして算出された値は、例えば図20(E)に示される位置の画素値となる。   FIG. 20C is a diagram schematically showing pixel values of each enlarged character image. FIG. 20D is a diagram illustrating a technique for calculating the pixel value of the character image having the second resolution based on each enlarged character image. As shown in FIGS. 20C and 20D, the high-resolution character image generation unit 46 calculates an average value of pixel values at the same position in each enlarged character image, and calculates the calculated value The pixel value of the position is used. The value calculated in this way is, for example, the pixel value at the position shown in FIG.

なお、高解像度文字画像生成部46は、第1の解像度の各文字画像を、各文字画像毎にそのまま拡大し、拡大された第2の解像度の各文字画像を該各文字画像の位相が一致するように移動させてから平均化処理を行ってもよい。また、画素値の補間手法は、特に限定されない。   The high-resolution character image generation unit 46 enlarges each character image of the first resolution as it is for each character image, and the phase of each character image matches each character image of the enlarged second resolution. The averaging process may be performed after the movement. The pixel value interpolation method is not particularly limited.

次に、入力された原稿に所定数未満の数しか含まれていない文字に対して実行される処理を説明する。
図21は、原稿に所定数未満しか含まれていない文字に対して実行される画像処理の概略を説明する図である。
図21(A)に示すように、文字は、1ページの原稿又は複数ページからなる文書に1回しか現れない場合又は予め決められた回数未満しか現れない場合がある。このような場合、画像処理装置2は、図21(B)に示すような予め準備された文字群画像又は新たに生成された文字群画像から、入力原稿から抽出された文字画像と類似する文字画像を抽出し、図21(C)及び図21(D)に示すように、抽出された各文字の位相を算出し、算出した位相と抽出された各文字画像とに基づいて高解像度の文字画像を生成する。
Next, a process executed for characters whose input document includes less than a predetermined number will be described.
FIG. 21 is a diagram for explaining the outline of image processing executed for characters whose document contains less than a predetermined number.
As shown in FIG. 21A, a character may appear only once in a one-page document or a document composed of a plurality of pages, or may appear less than a predetermined number of times. In such a case, the image processing apparatus 2 uses a character group image prepared in advance as shown in FIG. 21B or a character image similar to a character image extracted from an input document from a newly generated character group image. As shown in FIGS. 21 (C) and 21 (D), an image is extracted, and the phase of each extracted character is calculated. Based on the calculated phase and each extracted character image, high-resolution characters are extracted. Generate an image.

文字群画像には、複数の文字画像が含まれている。このような文字群画像データは、後述するフォント描画装置により生成される。文字群画像は、文字群画像に含まれる文字のフォントパターンが、入力原稿から抽出された文字の大きさ、太さ等に基づいて決定されて、生成される。   The character group image includes a plurality of character images. Such character group image data is generated by a font drawing device described later. The character group image is generated by determining the font pattern of characters included in the character group image based on the size and thickness of the character extracted from the input document.

なお、各文字画像は、異なる画素位相で生成されてもよい。また、類似する文字画像が入力原稿又は文字群画像から抽出された時点で、文字群画像がさらに生成されてもよい。この場合、生成された文字群画像には、抽出された文字画像が、異なる画素位相で描画されている。さらに、画像処理装置2は、指定された入力画像とは異なる文書画像であってアクセス可能である他の文書画像から、類似する文字画像を抽出してもよい。例えば、画像処理装置2は、入力画像と同一のフォルダ(又はディレクトリ)に保存されている文書画像群、ユーザによりまとめて指定された文書画像群等から、類似する文字画像を抽出する。   Each character image may be generated with a different pixel phase. Further, a character group image may be further generated when a similar character image is extracted from the input original or the character group image. In this case, the extracted character image is drawn with a different pixel phase in the generated character group image. Further, the image processing apparatus 2 may extract a similar character image from another document image that is different from the designated input image and can be accessed. For example, the image processing apparatus 2 extracts similar character images from a document image group stored in the same folder (or directory) as the input image, a document image group designated collectively by the user, or the like.

図22は、本発明の第7の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム480の機能構成を示す図である。
図22に示すように、文字画像取得プログラム480は、図5に示された文字画像取得プログラム4に、文字群画像記憶部482及び文字画像数判定部484が付加された構成を有する。なお、図22に示された各構成のうち、図5に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 22 is a diagram showing a functional configuration of a character image acquisition program 480 executed by the control device 20 of the image processing device 2 according to the seventh embodiment of the present invention.
As shown in FIG. 22, the character image acquisition program 480 has a configuration in which a character group image storage unit 482 and a character image number determination unit 484 are added to the character image acquisition program 4 shown in FIG. 22 that are substantially the same as those shown in FIG. 5 are denoted by the same reference numerals.

文字画像取得プログラム480において、文字群画像記憶部482は、複数の文字画像を含む文字群画像を記憶する。文字群画像には、例えば8000個(2000種類の常用漢字のそれぞれにつき4種類のフォント)の文字画像(フォントパターン)が含まれている。なお、文字群画像には、例えばさらに8000個(200種類の英数字記号のそれぞれにつき40種類のフォント)の文字画像が含まれてもよい。文字群画像記憶部482は、メモリ204及び記憶装置24の少なくともいずれかにより実現される。   In the character image acquisition program 480, the character group image storage unit 482 stores a character group image including a plurality of character images. The character group image includes, for example, 8000 character images (font patterns) (4 types of fonts for each of 2000 types of common Chinese characters). The character group image may further include, for example, 8000 character images (40 fonts for each of 200 alphanumeric symbols). The character group image storage unit 482 is realized by at least one of the memory 204 and the storage device 24.

文字画像数判定部484は、類似文字抽出部42により抽出された互いに類似する文字画像の数が予め決められた所定数未満であるかを判定する。例えば、文字画像数判定部484は、類似する文字画像の数が0であるか否か(1未満であるか否か)を判定する。文字画像数判定部484は、類似する文字画像の数が所定数未満である場合、文字切出し部40に対して、文字群画像記憶部482に記憶されている文字群画像から類似する文字をさらに切り出す指示を出力する。   The character image number determination unit 484 determines whether the number of similar character images extracted by the similar character extraction unit 42 is less than a predetermined number. For example, the character image number determination unit 484 determines whether the number of similar character images is 0 (whether it is less than 1). When the number of similar character images is less than the predetermined number, the character image number determination unit 484 further adds similar characters from the character group image stored in the character group image storage unit 482 to the character cutout unit 40. Output instructions to cut.

したがって、文字切出し部40は、文字群画像記憶部482に記憶されている文字群画像を読み出し、この文字群画像に含まれる文字画像を切り出して、類似文字抽出部42に対して出力する。類似文字抽出部42は、文字切出し部40により入力画像及び文字群画像から切り出された文字画像を受け付け、これらの画像から類似する文字画像を抽出する。   Therefore, the character cutout unit 40 reads out the character group image stored in the character group image storage unit 482, cuts out the character image included in the character group image, and outputs it to the similar character extraction unit 42. The similar character extraction unit 42 receives the character images cut out from the input image and the character group image by the character cutout unit 40, and extracts similar character images from these images.

図23は、文字画像取得プログラム480による、記憶されている文字群画像を用いた高解像度文字画像取得処理(S50)のフローチャートを示す図である。なお、図23に示された各処理のうち、図8に示された処理と実質的に同一のものには同一の符号が付されている。
図23に示すように、S100及びS102で、文字画像の切出し処理及び類似する文字画像の抽出処理が実行されると、ステップ500(S500)において、文字画像数判定部484は、抽出された類似する文字画像の数が所定数以下であるか否かを判定する。文字画像取得プログラム480は、類似する文字画像の数が所定数以下である場合にはS502の処理に進み、そうでない場合にはS104〜S108の処理を実行して高解像度文字画像を生成する。
FIG. 23 is a flowchart of the high-resolution character image acquisition process (S50) using the stored character group image by the character image acquisition program 480. Of the processes shown in FIG. 23, substantially the same processes as those shown in FIG. 8 are denoted by the same reference numerals.
As shown in FIG. 23, when character image extraction processing and similar character image extraction processing are executed in S100 and S102, in step 500 (S500), the character image number determination unit 484 extracts the extracted similarities. It is determined whether or not the number of character images to be performed is a predetermined number or less. The character image acquisition program 480 proceeds to the process of S502 when the number of similar character images is equal to or less than the predetermined number, and otherwise performs the processes of S104 to S108 to generate a high-resolution character image.

抽出された類似する文字画像の数が所定数以下である場合、ステップ502(S502)において、文字画像数判定部484は、記憶されている文字群画像から類似する文字をさらに切り出す指示を文字切出し部40に対して出力する。文字切出し部40は、文字群画像を文字群画像記憶部482から読み出し、文字群画像から文字画像を切り出して類似文字抽出部42に対して抽出する。   If the number of extracted similar character images is less than or equal to the predetermined number, in step 502 (S502), the character image number determination unit 484 performs an instruction to further extract similar characters from the stored character group image. Output to the unit 40. The character cutout unit 40 reads the character group image from the character group image storage unit 482, cuts out the character image from the character group image, and extracts it to the similar character extraction unit 42.

ステップ504(S504)において、類似文字抽出部42は、文字切出し部40により文字群画像から切り出された文字画像から、類似する文字画像を抽出する。類似文字抽出部42は、入力画像及び文字群画像に含まれる文字画像であって類似する文字画像を重心算出部44及び高解像度文字画像生成部46に対して出力する。その後、S104〜S108の処理が実行されて、高解像度文字画像が生成される。   In step 504 (S504), the similar character extraction unit 42 extracts similar character images from the character images cut out from the character group image by the character cutout unit 40. The similar character extraction unit 42 outputs similar character images, which are character images included in the input image and the character group image, to the centroid calculation unit 44 and the high resolution character image generation unit 46. Thereafter, the processing of S104 to S108 is executed to generate a high resolution character image.

図24は、本発明の第8の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム500の機能構成を示す図である。
図24に示すように、文字画像取得プログラム500は、図5に示された文字画像取得プログラム4に、文字画像数判定部502及び文字群画像生成部504が付加された構成を有する。なお、図24に示された各構成のうち、図5に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 24 is a diagram showing a functional configuration of a character image acquisition program 500 executed by the control device 20 of the image processing device 2 according to the eighth embodiment of the present invention.
As shown in FIG. 24, the character image acquisition program 500 has a configuration in which a character image number determination unit 502 and a character group image generation unit 504 are added to the character image acquisition program 4 shown in FIG. Note that, among the components shown in FIG. 24, the same reference numerals are given to the substantially same components as those shown in FIG.

文字画像取得プログラム500において、文字画像数判定部502は、類似文字抽出部42により抽出された互いに類似する文字画像の数が所定数未満であるか否かを判定する。文字画像数判定部502は、類似する文字画像の数が所定数未満である場合、文字群画像生成部504に対して、文字群画像を生成する指示を出力する。   In the character image acquisition program 500, the character image number determination unit 502 determines whether or not the number of similar character images extracted by the similar character extraction unit 42 is less than a predetermined number. When the number of similar character images is less than the predetermined number, the character image number determination unit 502 outputs an instruction to generate a character group image to the character group image generation unit 504.

文字群画像生成部504は、文字画像数判定部502から文字群画像を生成する指示を受け付けた場合、類似文字抽出部42により抽出された文字画像の大きさを類似文字抽出部42から受け付け、この大きさに基づいて文字群画像を生成して文字切出し部40に対して出力する。このようにして、文字群画像生成部504は、複数の文字画像を含む文字群画像を取得する文字群画像取得手段を構成する。なお、文字群画像の生成処理については、後で詳述する。   When the character group image generation unit 504 receives an instruction to generate a character group image from the character image number determination unit 502, the character group image generation unit 504 receives the size of the character image extracted by the similar character extraction unit 42 from the similar character extraction unit 42, A character group image is generated based on this size and output to the character cutout unit 40. In this manner, the character group image generation unit 504 constitutes a character group image acquisition unit that acquires a character group image including a plurality of character images. The character group image generation process will be described in detail later.

したがって、文字切出し部40は、文字群画像生成部504により生成された文字群画を受け付け、この文字群画像に含まれる文字画像を切り出して、類似文字抽出部42に対して出力する。類似文字抽出部42は、文字切出し部40により入力画像及び文字群画像から切り出された文字画像を受け付け、これらの画像から類似する文字画像を抽出する。   Therefore, the character cutout unit 40 receives the character group image generated by the character group image generation unit 504, cuts out the character image included in the character group image, and outputs the character image to the similar character extraction unit 42. The similar character extraction unit 42 receives the character images cut out from the input image and the character group image by the character cutout unit 40, and extracts similar character images from these images.

図25は、文字群画像生成部504の詳細な機能構成を示す図である。
図25に示すように、文字群画像生成部504は、文字群画像制御部506、フォントコード指示部508、テキストコード指示部510及びフォントパターン描画部512を有する。文字群画像生成部504において、文字群画像制御部506は、文字画像数判定部502から出力される指示を受け付け、他の構成要素を制御する。
FIG. 25 is a diagram illustrating a detailed functional configuration of the character group image generation unit 504.
As shown in FIG. 25, the character group image generation unit 504 includes a character group image control unit 506, a font code instruction unit 508, a text code instruction unit 510, and a font pattern drawing unit 512. In the character group image generation unit 504, the character group image control unit 506 receives an instruction output from the character image number determination unit 502 and controls other components.

フォントコード指示部508は、文字群画像に含まれる文字画像のフォントの種別を示すフォントコードをフォントパターン描画部512に対して出力する。フォントコードは、予め決められていてもよいし、文字群画像制御部506の制御により決定されてもよい。フォントコードは、例えば、明朝体、ゴシック体等である。   The font code instruction unit 508 outputs a font code indicating the font type of the character image included in the character group image to the font pattern drawing unit 512. The font code may be determined in advance or may be determined by the control of the character group image control unit 506. The font code is, for example, Mincho or Gothic.

テキストコード指示部510は、文字群画像に含まれる文字画像のテキストの種別を示すテキストコードをフォントパターン描画部512に対して出力する。テキストコードは、予め決められていてもよいし、文字群画像制御部506の制御により決定されてもよい。テキストコードは、例えば、数字、アルファベット、ひらがな、カタカナ、常用漢字等である。   The text code instruction unit 510 outputs a text code indicating the text type of the character image included in the character group image to the font pattern drawing unit 512. The text code may be determined in advance or may be determined by the control of the character group image control unit 506. The text code is, for example, numbers, alphabets, hiragana, katakana, common kanji.

フォントパターン描画部512は、フォントコード指示部508により指示されるフォントコード、テキストコード指示部510により指示されるテキストコード及び類似文字抽出部42により出力される文字画像の大きさを受け付け、文字群画像制御部506の制御により、受け付けたフォントコード、テキストコード及び文字画像の大きさに基づいてフォントパターンを描画して文字群画像を生成し、この文字群画像を文字切出し部40に対して出力する。   The font pattern drawing unit 512 receives the font code specified by the font code specifying unit 508, the text code specified by the text code specifying unit 510, and the size of the character image output by the similar character extracting unit 42, and the character group Under the control of the image control unit 506, a font pattern is drawn based on the received font code, text code, and character image size to generate a character group image, and the character group image is output to the character cutout unit 40. To do.

なお、文字群画像生成部504は、画像処理装置2とは異なるハードウェア上で動作するプログラムに含まれてもよい。この場合、当該ハードウェアは、文字群画像生成部504の機能を有するフォント描画装置として機能する。画像処理装置2は、このようなフォント描画装置との間でネットワークを介して文字群画像データの送信及び受信をすることにより、文字群画像データを取得してもよい。   Note that the character group image generation unit 504 may be included in a program that operates on hardware different from that of the image processing apparatus 2. In this case, the hardware functions as a font drawing device having the function of the character group image generation unit 504. The image processing device 2 may acquire character group image data by transmitting and receiving character group image data to and from such a font drawing device via a network.

図26は、文字群画像生成部504により生成される文字群画像を例示する図である。
図26に例示するように、文字群画像には、ゴシック体及び明朝体の数字、小文字及び大文字のアルファベット、ひらがな並びに常用漢字が含まれる。
FIG. 26 is a diagram illustrating a character group image generated by the character group image generation unit 504.
As illustrated in FIG. 26, the character group image includes Gothic and Mincho numbers, lowercase and uppercase alphabets, hiragana and common kanji.

図27は、文字画像取得プログラム500による、生成した文字群画像を用いた高解像度文字画像取得処理(S60)のフローチャートを示す図である。なお、図27に示された各処理のうち、図8及び図23に示された処理と実質的に同一のものには同一の符号が付されている。
図27に示すように、S100及びS102で、文字画像の切出し処理及び類似する文字画像の抽出処理が実行されると、S500の処理で、抽出された類似する文字画像の数が所定数以下であるか否かが判定される。
FIG. 27 is a flowchart of the high-resolution character image acquisition process (S60) using the generated character group image by the character image acquisition program 500. Of the processes shown in FIG. 27, the same reference numerals are assigned to the processes substantially the same as those shown in FIGS.
As shown in FIG. 27, when the character image clipping process and the similar character image extraction process are executed in S100 and S102, the number of similar character images extracted in S500 is less than or equal to the predetermined number. It is determined whether or not there is.

抽出された類似する文字画像の数が所定数以下である場合、ステップ600(S600)において、文字画像数判定部502は、文字群画像を生成する指示を文字群画像生成部504に対して出力する。文字群画像生成部504は、類似文字抽出部42により抽出された文字画像の大きさに基づいて文字群画像を生成して文字切出し部40に対して出力する。   If the number of extracted similar character images is less than or equal to the predetermined number, in step 600 (S600), the character image number determination unit 502 outputs an instruction to generate a character group image to the character group image generation unit 504. To do. The character group image generation unit 504 generates a character group image based on the size of the character image extracted by the similar character extraction unit 42 and outputs the character group image to the character cutout unit 40.

さらに、S502の処理で、文字画像が文字群画像から切出され、S504の処理で、類似する文字画像が抽出される。その後、S104〜S108の処理が実行されて、高解像度文字画像が生成される。   Furthermore, a character image is cut out from the character group image in the process of S502, and a similar character image is extracted in the process of S504. Thereafter, the processing of S104 to S108 is executed to generate a high resolution character image.

図28は、文字群画像生成部504の第1の変形例である文字群画像生成部514の詳細な機能構成を示す図である。
図28に示すように、文字群画像生成部514は、文字群画像制御部506、フォントコード指示部508、テキストコード指示部510、描画角度指示部516及びフォントパターン描画部518を有する。なお、図28に示された各構成のうち、図25に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 28 is a diagram illustrating a detailed functional configuration of a character group image generation unit 514 that is a first modification of the character group image generation unit 504.
As shown in FIG. 28, the character group image generation unit 514 includes a character group image control unit 506, a font code instruction unit 508, a text code instruction unit 510, a drawing angle instruction unit 516, and a font pattern drawing unit 518. Of the components shown in FIG. 28, the same components as those shown in FIG. 25 are denoted by the same reference numerals.

文字群画像生成部514において、描画角度指示部516は、フォントパターンを描画する角度をフォントパターン描画部518に対して出力する。描画角度は、予め決められていてもよいし、文字群画像制御部506の制御により決定されてもよい。描画角度は、例えば、0度、90度、180度、270度等である。   In the character group image generation unit 514, the drawing angle instruction unit 516 outputs an angle for drawing the font pattern to the font pattern drawing unit 518. The drawing angle may be determined in advance or may be determined by control of the character group image control unit 506. The drawing angle is, for example, 0 degrees, 90 degrees, 180 degrees, 270 degrees, or the like.

フォントパターン描画部518は、フォントコード指示部508により指示されるフォントコード、テキストコード指示部510により指示されるテキストコード、描画角度指示部516により指示される描画角度及び類似文字抽出部42により出力される文字画像の大きさを受け付け、文字群画像制御部506の制御により、受け付けたフォントコード、テキストコード、描画角度及び文字画像の大きさに基づいてフォントパターンを描画して文字群画像を生成し、この文字群画像を文字切出し部40に対して出力する。   The font pattern drawing unit 518 outputs the font code specified by the font code specifying unit 508, the text code specified by the text code specifying unit 510, the drawing angle specified by the drawing angle specifying unit 516, and the similar character extracting unit 42. The character group image is received and the character group image control unit 506 controls to generate a character group image by drawing a font pattern based on the received font code, text code, drawing angle, and character image size. The character group image is output to the character cutout unit 40.

図29は、文字群画像生成部514により生成される文字群画像を例示する図である。
図29に例示するように、文字群画像には、描画角度を0度、90度、180度及び270度として描画されたゴシック体の小文字及び大文字のアルファベットが含まれる。
FIG. 29 is a diagram illustrating a character group image generated by the character group image generation unit 514.
As illustrated in FIG. 29, the character group image includes Gothic lowercase letters and uppercase alphabets drawn with drawing angles of 0 degrees, 90 degrees, 180 degrees, and 270 degrees.

図30は、文字群画像生成部504の第2の変形例である文字群画像生成部520の詳細な機能構成を示す図である。
図30に示すように、文字群画像生成部520は、模擬スキャンイン処理部522が文字群画像生成部504に付加された構成を有する。なお、図30に示された各構成のうち、図25に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 30 is a diagram illustrating a detailed functional configuration of a character group image generation unit 520 that is a second modification of the character group image generation unit 504.
As shown in FIG. 30, the character group image generation unit 520 has a configuration in which a simulated scan-in processing unit 522 is added to the character group image generation unit 504. 30 that are substantially the same as those shown in FIG. 25 are denoted by the same reference numerals.

文字群画像生成部520において、模擬スキャンイン処理部522は、入力画像データが例えばスキャナ等の読取装置により読み取られた(スキャンインされた)データである場合、フォントパターン描画部512により描画された文字群画像に対して、空間フィルタ、ノイズ重畳等のスキャンイン過程を模擬した処理(模擬スキャンイン処理)を施す。模擬スキャンイン処理部522は、模擬スキャンイン処理を施した文字群画像を文字切出し部40に対して出力する。なお、模擬スキャンイン処理部522は、文字群画像生成部514に付加されてもよい。   In the character group image generation unit 520, the simulated scan-in processing unit 522 is drawn by the font pattern drawing unit 512 when the input image data is data read (scanned in) by a reading device such as a scanner. A process (simulated scan-in process) simulating a scan-in process such as a spatial filter and noise superimposition is performed on the character group image. The simulated scan-in processing unit 522 outputs the character group image subjected to the simulated scan-in process to the character cutout unit 40. The simulated scan-in processing unit 522 may be added to the character group image generation unit 514.

図31は、本発明の第9の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム540の機能構成を示す図である。
図31に示すように、文字画像取得プログラム540は、図5に示された文字画像取得プログラム4に、文字画像数判定部502及び対応文字画像生成部542が付加された構成を有する。なお、図31に示された各構成のうち、図5及び図24に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 31 is a diagram showing a functional configuration of a character image acquisition program 540 executed by the control device 20 of the image processing device 2 according to the ninth embodiment of the present invention.
As shown in FIG. 31, the character image acquisition program 540 has a configuration in which a character image number determination unit 502 and a corresponding character image generation unit 542 are added to the character image acquisition program 4 shown in FIG. 31 that are substantially the same as those shown in FIGS. 5 and 24 are denoted by the same reference numerals.

文字画像取得プログラム540において、対応文字画像生成部542は、類似する文字画像の数が所定数未満であると文字画像数判定部502により判定された場合、類似文字抽出部42により抽出された文字画像の大きさを類似文字抽出部42から受け付け、この大きさに対応する文字画像を生成して類似文字抽出部42に対して出力する。   In the character image acquisition program 540, if the character image number determination unit 502 determines that the number of similar character images is less than the predetermined number, the corresponding character image generation unit 542 extracts the characters extracted by the similar character extraction unit 42. The size of the image is received from the similar character extraction unit 42, and a character image corresponding to this size is generated and output to the similar character extraction unit 42.

図32は、文字画像取得プログラム540による、生成した文字画像を用いた高解像度文字画像取得処理(S70)のフローチャートを示す図である。なお、図32に示された各処理のうち、図8及び図23に示された処理と実質的に同一のものには同一の符号が付されている。
図32に示すように、S100及びS102で、文字画像の切出し処理及び類似する文字画像の抽出処理が実行されると、S500の処理で、抽出された類似する文字画像の数が所定数以下であるか否かが判定される。
FIG. 32 is a flowchart of the high-resolution character image acquisition process (S70) using the generated character image by the character image acquisition program 540. Of the processes shown in FIG. 32, substantially the same processes as those shown in FIGS. 8 and 23 are denoted by the same reference numerals.
As shown in FIG. 32, when the character image cut-out process and the similar character image extraction process are executed in S100 and S102, the number of similar character images extracted in S500 is less than or equal to the predetermined number. It is determined whether or not there is.

抽出された類似する文字画像の数が所定数以下である場合、ステップ700(S700)において、文字画像数判定部502は、文字画像を生成する指示を対応文字画像生成部542に対して出力する。対応文字画像生成部542は、類似文字抽出部42により抽出された文字画像の大きさに対応する文字画像を生成して類似文字抽出部42に対して出力する。   When the number of extracted similar character images is less than or equal to the predetermined number, in step 700 (S700), the character image number determination unit 502 outputs an instruction to generate a character image to the corresponding character image generation unit 542. . The corresponding character image generation unit 542 generates a character image corresponding to the size of the character image extracted by the similar character extraction unit 42 and outputs the character image to the similar character extraction unit 42.

ステップ702(S702)において、類似文字抽出部42は、対応文字画像生成部542により生成された文字画像を受け付け、この受け付けた文字画像から、類似する文字画像をさらに抽出する。その後、S104〜S108の処理が実行されて、高解像度文字画像が生成される。   In step 702 (S702), the similar character extraction unit 42 receives the character image generated by the corresponding character image generation unit 542, and further extracts a similar character image from the received character image. Thereafter, the processing of S104 to S108 is executed to generate a high resolution character image.

図33は、本発明の第10の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム560の機能構成を示す図である。
図33に示すように、文字画像取得プログラム560は、図5に示された文字画像取得プログラム4に、文字画像数判定部502、生成位相指示部562及び複数位相文字群画像生成部564が付加された構成を有する。なお、図33に示された各構成のうち、図5及び図24に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 33 is a diagram showing a functional configuration of a character image acquisition program 560 executed by the control device 20 of the image processing device 2 according to the tenth embodiment of the present invention.
As shown in FIG. 33, the character image acquisition program 560 includes a character image number determination unit 502, a generation phase instruction unit 562, and a multi-phase character group image generation unit 564 added to the character image acquisition program 4 shown in FIG. It has the structure made. 33, substantially the same components as those shown in FIGS. 5 and 24 are denoted by the same reference numerals.

文字画像取得プログラム560において、生成位相指示部562は、生成される文字群画像の複数の位相を複数位相文字群画像生成部564に対して出力する。
複数位相文字群画像生成部564は、文字画像数判定部502から文字群画像を生成する指示を受け付けた場合、類似文字抽出部42により抽出された文字画像の大きさを類似文字抽出部42から受け付け、複数の位相を生成位相指示部562から受け付け、この大きさ及び複数の位相に基づいて、位相が異なる複数の文字群画像を生成して文字切出し部40に対して出力する。このようにして、複数位相文字群画像生成部564は、位相が異なる複数の文字群画像を取得する。
In the character image acquisition program 560, the generation phase instruction unit 562 outputs a plurality of phases of the generated character group image to the multi-phase character group image generation unit 564.
When the multi-phase character group image generation unit 564 receives an instruction to generate a character group image from the character image number determination unit 502, the multi-phase character group image generation unit 564 determines the size of the character image extracted by the similar character extraction unit 42 from the similar character extraction unit 42. A plurality of phases are received from the generation phase instruction unit 562, and a plurality of character group images having different phases are generated based on the size and the plurality of phases, and output to the character cutout unit 40. In this way, the multi-phase character group image generation unit 564 acquires a plurality of character group images having different phases.

したがって、文字切出し部40は、文字群画像生成部504により生成された位相の異なる複数の文字群画を受け付け、この文字群画像に含まれる文字画像を切り出して、類似文字抽出部42に対して出力する。類似文字抽出部42は、文字切出し部40により入力画像及び文字群画像から切り出された文字画像を受け付け、これらの画像から類似する文字画像を抽出する。   Therefore, the character cutout unit 40 receives a plurality of character group images with different phases generated by the character group image generation unit 504, cuts out character images included in the character group image, and outputs them to the similar character extraction unit 42. Output. The similar character extraction unit 42 receives the character images cut out from the input image and the character group image by the character cutout unit 40, and extracts similar character images from these images.

図34は、文字画像取得プログラム560による、生成した複数の文字群画像を用いた高解像度文字画像取得処理(S80)のフローチャートを示す図である。なお、図34に示された各処理のうち、図8及び図23に示された処理と実質的に同一のものには同一の符号が付されている。
図34に示すように、S100及びS102で、文字画像の切出し処理及び類似する文字画像の抽出処理が実行されると、S500の処理で、抽出された類似する文字画像の数が所定数以下であるか否かが判定される。
FIG. 34 is a flowchart of the high-resolution character image acquisition process (S80) using the plurality of generated character group images by the character image acquisition program 560. Note that, among the processes shown in FIG. 34, the same reference numerals are given to the substantially same processes as those shown in FIGS.
As shown in FIG. 34, when a character image cut-out process and a similar character image extraction process are executed in S100 and S102, the number of similar character images extracted in S500 is less than or equal to a predetermined number. It is determined whether or not there is.

抽出された類似する文字画像の数が所定数以下である場合、ステップ800(S800)において、生成位相指示部562は、複数の位相を複数位相文字群画像生成部564に対して出力する。複数位相文字群画像生成部564は、類似文字抽出部42により抽出された文字画像の大きさ及び生成位相指示部562により指示された複数の位相に基づいて位相の異なる複数の文字群画像を生成して文字切出し部40に対して出力する。   If the number of extracted similar character images is equal to or less than the predetermined number, the generation phase instruction unit 562 outputs a plurality of phases to the multi-phase character group image generation unit 564 in step 800 (S800). The multi-phase character group image generation unit 564 generates a plurality of character group images having different phases based on the size of the character image extracted by the similar character extraction unit 42 and the plurality of phases instructed by the generation phase instruction unit 562. And output to the character cutout unit 40.

さらに、S502の処理で、文字画像が当該位相の異なる複数の文字群画像から切り出され、S504の処理で、類似する文字画像が抽出される。その後、S104〜S108の処理が実行されて、高解像度文字画像が生成される。   Further, the character image is cut out from the plurality of character group images having different phases in the process of S502, and similar character images are extracted in the process of S504. Thereafter, the processing of S104 to S108 is executed to generate a high resolution character image.

図35は、本発明の第11の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム580の機能構成を示す図である。
図35に示すように、文字画像取得プログラム480は、図22に示された文字画像取得プログラム480に、文字画像置換部582が付加された構成を有する。なお、図35に示された各構成のうち、図5及び図22に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 35 is a diagram showing a functional configuration of a character image acquisition program 580 executed by the control device 20 of the image processing device 2 according to the eleventh embodiment of the present invention.
As shown in FIG. 35, the character image acquisition program 480 has a configuration in which a character image replacement unit 582 is added to the character image acquisition program 480 shown in FIG. Note that, among the components shown in FIG. 35, those substantially the same as those shown in FIGS. 5 and 22 are denoted by the same reference numerals.

文字画像取得プログラム580において、文字画像置換部582は、類似する文字画像の数が所定数未満である場合、当該文字画像を、文字群画像記憶部482に記憶されている文字群画像から抽出された文字画像であって当該文字画像と類似する文字画像で置き換える。文字画像置換部582は、置換された文字画像を高解像度文字画像生成部46に対して出力する。   In the character image acquisition program 580, when the number of similar character images is less than the predetermined number, the character image replacement unit 582 extracts the character images from the character group images stored in the character group image storage unit 482. The character image is replaced with a character image similar to the character image. The character image replacement unit 582 outputs the replaced character image to the high resolution character image generation unit 46.

図36は、文字画像取得プログラム580による、文字画像の置換処理を伴う高解像度文字画像取得処理(S90)のフローチャートを示す図である。なお、図36に示された各処理のうち、図8及び図23に示された処理と実質的に同一のものには同一の符号が付されている。
図36に示すように、S100及びS102で、文字画像の切出し処理及び類似する文字画像の抽出処理が実行されると、S500の処理で、抽出された類似する文字画像の数が所定数以下であるか否かが判定される。
FIG. 36 is a flowchart of the high-resolution character image acquisition process (S90) accompanied by the character image replacement process by the character image acquisition program 580. Of the processes shown in FIG. 36, the same reference numerals are assigned to the processes substantially the same as those shown in FIGS.
As shown in FIG. 36, when a character image cut-out process and a similar character image extraction process are executed in S100 and S102, the number of similar character images extracted in S500 is less than or equal to a predetermined number. It is determined whether or not there is.

抽出された類似する文字画像の数が所定数以下である場合、ステップ900(S900)において、文字画像数判定部502は、文字画像を置換する指示を文字画像置換部582に対して出力する。文字画像置換部は、文字数が所定数以下であった文字画像を、当該文字画像と類似する文字画像であって文字群画像から抽出されたもので置き換えて、高解像度文字画像生成部46に対して出力する。   If the number of extracted similar character images is less than or equal to the predetermined number, in step 900 (S900), the character image number determination unit 502 outputs an instruction to replace the character image to the character image replacement unit 582. The character image replacement unit replaces a character image whose number of characters is equal to or less than a predetermined number with a character image similar to the character image and extracted from the character group image. Output.

その後、S104〜S108の処理が実行されて、高解像度文字画像が生成される。なお、本例では、文字群画像は予め生成されて記憶されているが、その都度生成されてもよい。   Thereafter, the processing of S104 to S108 is executed to generate a high resolution character image. In this example, the character group image is generated and stored in advance, but may be generated each time.

次に、文字の大きさは異なるが同一である文字に対して実行される処理を説明する。
図37は、大きさが異なるが同一である文字が含まれている原稿を例示する図である。
図37に例示するように、文字画像「電」は、異なる大きさで原稿に含まれている。例えば、矢印Bで示される本文中の文字画像は、矢印Aで示される例えば表題の文字画像より小さく、矢印Cで示される例えば脚注の文字画像より大きい。ここで、矢印B,Cで示される文字画像「電」は、原稿に複数含まれている一方、矢印Aで示される文字画像「電」は、1つしか原稿に含まれていない。同様に、例えば、文字画像「機」は、本文中に2回使用されている一方、本文中より大きい文字で表題に1回使用されている。
Next, a process executed for the same character with different character sizes will be described.
FIG. 37 is a diagram exemplifying a document including characters that are the same but different in size.
As illustrated in FIG. 37, the character image “Den” is included in the document in different sizes. For example, the character image in the text indicated by the arrow B is smaller than the character image of the title indicated by the arrow A and larger than the character image of the footnote indicated by the arrow C, for example. Here, a plurality of character images “Den” indicated by arrows B and C are included in the document, while only one character image “Den” indicated by arrow A is included in the document. Similarly, for example, the character image “machine” is used twice in the text, while it is used once in the title with larger characters in the text.

このように、原稿には、同じ文字であっても大きさが異なる文字が含まれていることがある。なお、文字の大きさを文字のポイント数ともいう。   As described above, the document may include characters having different sizes even if they are the same character. The character size is also referred to as the number of character points.

図38は、同じ文字であっても大きさが異なる文字に対して実行される画像処理の概略を説明する図である。
図38(A)に示すように、文字、図形等の画像は、1ページの原稿又は複数ページからなる文書に、異なる大きさで現れる場合がある。このような場合、画像処理装置2は、図38(B)に示すように、入力された原稿画像から切り出された文字等の画像の大きさを調整し、図38(C)に示すように、大きさを調整された各文字の位相を算出し、算出した位相と、大きさを調整された各文字画像とに基づいて高解像度の文字画像を生成する。好適には、画像処理装置2は、抽出した文字の大きさを所定の大きさに揃える。
FIG. 38 is a diagram for explaining the outline of the image processing executed for characters having the same character but different sizes.
As shown in FIG. 38A, images such as characters and graphics may appear in different sizes on a one-page document or a document composed of a plurality of pages. In such a case, the image processing apparatus 2 adjusts the size of an image such as characters cut out from the input document image as shown in FIG. 38B, and as shown in FIG. The phase of each character whose size has been adjusted is calculated, and a high-resolution character image is generated based on the calculated phase and each character image whose size has been adjusted. Preferably, the image processing device 2 aligns the extracted character size to a predetermined size.

図39は、本発明の第12の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム600の機能構成を示す図である。
図39に示すように、文字画像取得プログラム600は、図5に示された文字画像取得プログラム4に、サイズ調整部602が付加された構成を有する。なお、図39に示された各構成のうち、図5に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 39 is a diagram showing a functional configuration of a character image acquisition program 600 executed by the control device 20 of the image processing device 2 according to the twelfth embodiment of the present invention.
As shown in FIG. 39, the character image acquisition program 600 has a configuration in which a size adjustment unit 602 is added to the character image acquisition program 4 shown in FIG. Note that, among the components shown in FIG. 39, the same components as those shown in FIG.

文字画像取得プログラム600において、サイズ調整部602は、文字切出し部40により切り出された文字画像を受け付け、文字画像の大きさを調整して、類似文字抽出部42に対して出力する。より具体的には、サイズ調整部602は、文字画像を所定の大きさに揃える。   In the character image acquisition program 600, the size adjustment unit 602 receives the character image cut out by the character cutout unit 40, adjusts the size of the character image, and outputs it to the similar character extraction unit 42. More specifically, the size adjustment unit 602 aligns the character image to a predetermined size.

例えば、サイズ調整部602は、切り出された複数の文字画像のいずれかを選択し、複数の文字画像の大きさが、選択した文字画像の大きさになるように、文字画像の大きさを調整する。
図40は、切り出された文字画像の大きさを、選択した文字画像の大きさに揃えるようにして実行される画像処理の概略を示す図であって、図40(A)は、入力された原稿画像を例示し、図40(B)は、サイズを調整された文字画像を例示し、図40(C)は、生成された高解像度画像を例示する。
For example, the size adjustment unit 602 selects any one of the plurality of cut out character images, and adjusts the size of the character image so that the size of the plurality of character images becomes the size of the selected character image. To do.
FIG. 40 is a diagram showing an outline of image processing executed so that the size of the cut-out character image is aligned with the size of the selected character image, and FIG. A document image is illustrated, FIG. 40B illustrates a character image whose size has been adjusted, and FIG. 40C illustrates a generated high-resolution image.

図40(A)及び図40(B)に示すように、本実施形態に係る画像処理装置2は、切り出された複数の文字画像のいずれかに選択し、選択した文字画像より大きい文字画像を当該選択した文字画像の大きさに縮小し、選択した文字画像より小さい文字画像を当該選択した文字画像の大きさに拡大する。図40(C)に示すように、画像処理装置2は、選択した文字画像の大きさに揃えられた複数の文字画像に基づいて、高解像度の文字画像を生成する。例えば、画像処理装置2は、各文字画像の位相を算出し、算出した位相に基づいて各文字画像を重ね合わせ、各文字画像の平均値を算出する。この場合、画像処理装置2は、文字画像の重心及び相互相関係数が最も大きくなる位置の少なくともいずれかに基づいて、標本化される文字画像の位相を推定する。   As shown in FIGS. 40 (A) and 40 (B), the image processing apparatus 2 according to the present embodiment selects one of a plurality of extracted character images, and selects a character image larger than the selected character image. The size of the selected character image is reduced, and a character image smaller than the selected character image is enlarged to the size of the selected character image. As shown in FIG. 40C, the image processing device 2 generates a high-resolution character image based on a plurality of character images aligned with the size of the selected character image. For example, the image processing apparatus 2 calculates the phase of each character image, superimposes each character image based on the calculated phase, and calculates the average value of each character image. In this case, the image processing apparatus 2 estimates the phase of the character image to be sampled based on at least one of the center of gravity of the character image and the position where the cross-correlation coefficient is the largest.

画像処理装置2は、選択した文字画像を、生成された文字画像で置き換えてもよい。この場合、文字画像取得プログラム600(図39)は、画像拡大プログラム5(図9)の位置算出部50及び文字配置部52と同等の機能を含む。   The image processing apparatus 2 may replace the selected character image with the generated character image. In this case, the character image acquisition program 600 (FIG. 39) includes functions equivalent to the position calculation unit 50 and the character arrangement unit 52 of the image enlargement program 5 (FIG. 9).

なお、文字画像取得プログラム600において、サイズ調整部602は、切り出された複数の文字画像のいずれかを選択し、選択した文字画像が所定の倍率で拡大された場合の大きさを算出し、複数の文字画像の大きさが、算出した大きさで揃うように、文字画像の大きさを調整してもよい。   In the character image acquisition program 600, the size adjustment unit 602 selects any one of the plurality of cut out character images, calculates the size when the selected character image is enlarged at a predetermined magnification, The size of the character image may be adjusted so that the sizes of the character images are equal to the calculated size.

図41は、文字画像取得プログラム600による、文字サイズ調整処理を伴う高解像度文字画像取得処理(S1000)のフローチャートを示す図である。なお、図41に示された各処理のうち、図8に示された処理と実質的に同一のものには同一の符号が付されている。
図41に示すように、S100で、文字画像の切出し処理が実行されると、ステップ1002(S1002)において、サイズ調整部602は、切り出された文字画像のいずれかを選択し、当該文字画像とは異なる大きさの文字画像を、当該文字画像の大きさに変換する。その後、S102〜S108の処理が実行されて、高解像度文字画像が生成される。
FIG. 41 is a diagram showing a flowchart of high-resolution character image acquisition processing (S1000) accompanied by character size adjustment processing by the character image acquisition program 600. Of the processes shown in FIG. 41, the same reference numerals are assigned to the processes substantially the same as those shown in FIG.
As shown in FIG. 41, when the character image clipping process is executed in S100, in step 1002 (S1002), the size adjusting unit 602 selects one of the clipped character images, Converts a character image of a different size into the size of the character image. Thereafter, the processing of S102 to S108 is executed to generate a high-resolution character image.

図42は、同じ文字であっても大きさが異なる文字に対して実行される画像処理の第1の変形例の概略を説明する図である。
図42(A)に示すように、文字等の画像は、原稿画像に、異なる大きさで現れる場合がある。このような場合、画像処理装置2は、図42(B)に示すように、切り出された文字等の画像の大きさが所定の大きさに揃うように文字画像の大きさを調整し、図42(C)に示すように、大きさを揃えられた文字画像から、類似する文字画像を抽出する。
FIG. 42 is a diagram for explaining the outline of the first modification of the image processing executed for characters having the same character but different sizes.
As shown in FIG. 42A, an image such as a character may appear in a document image with a different size. In such a case, as shown in FIG. 42B, the image processing apparatus 2 adjusts the size of the character image so that the size of the image such as the extracted character is aligned with a predetermined size. As shown in 42 (C), similar character images are extracted from the character images having the same size.

さらに、図42(D)に示すように、画像処理装置2は、抽出された文字画像の中から、原稿画像において最も大きい文字画像を選択し、抽出された文字画像の大きさが当該最も大きい文字画像の大きさに揃うように、文字画像の大きさを調整する。図42(E)に示すように、画像処理装置2は、大きさを揃えられた複数の文字画像に基づいて、高解像度の文字画像を生成する。   Further, as shown in FIG. 42D, the image processing apparatus 2 selects the largest character image in the document image from the extracted character images, and the size of the extracted character image is the largest. The size of the character image is adjusted to match the size of the character image. As shown in FIG. 42E, the image processing apparatus 2 generates a high-resolution character image based on a plurality of character images having the same size.

画像処理装置2は、原稿画像に含まれる文字画像を、生成された文字画像で置き換えてもよい。この場合、画像処理装置2は、原稿画像に含まれる文字画像の大きさに基づいて、生成された文字画像を縮小してから文字画像を置き換える。例えば、画像処理装置2は、原稿画像において最も大きい文字画像を、生成された文字画像で置き換え、当該最も大きい文字画像以外の文字画像を、生成された文字画像が縮小された文字画像で置き換える。   The image processing apparatus 2 may replace the character image included in the document image with the generated character image. In this case, the image processing device 2 replaces the character image after reducing the generated character image based on the size of the character image included in the document image. For example, the image processing apparatus 2 replaces the largest character image in the document image with the generated character image, and replaces the character image other than the largest character image with the character image obtained by reducing the generated character image.

図43は、本発明の第13の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム610の機能構成を示す図である。
図43に示すように、文字画像取得プログラム610は、図39に示された文字画像取得プログラム600に、第2のサイズ調整部612が付加された構成を有する。なお、図43に示された各構成のうち、図39に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 43 is a diagram showing a functional configuration of a character image acquisition program 610 executed by the control device 20 of the image processing device 2 according to the thirteenth embodiment of the present invention.
As shown in FIG. 43, the character image acquisition program 610 has a configuration in which a second size adjustment unit 612 is added to the character image acquisition program 600 shown in FIG. 43, substantially the same components as those shown in FIG. 39 are denoted by the same reference numerals.

文字画像取得プログラム610において、第2のサイズ調整部612は、類似文字抽出部42から受け付けた複数の文字画像から、元の原稿画像において最も大きい文字画像を探索する。第2のサイズ調整部612は、類似文字抽出部42により抽出された複数の文字画像が、当該最も大きい文字画像の大きさに揃うように文字画像の大きさを調整する。第2のサイズ調整部612は、大きさを揃えられた文字画像を、重心算出部44及び高解像度文字画像生成部46に対して出力する。   In the character image acquisition program 610, the second size adjustment unit 612 searches for the largest character image in the original document image from the plurality of character images received from the similar character extraction unit 42. The second size adjustment unit 612 adjusts the size of the character image so that the plurality of character images extracted by the similar character extraction unit 42 are aligned with the size of the largest character image. The second size adjustment unit 612 outputs the character images having the same size to the centroid calculation unit 44 and the high resolution character image generation unit 46.

画像処理装置2は、切り出された文字画像のそれぞれを、生成された文字画像で置き換えてもよい。この場合、文字画像取得プログラム610は、画像拡大プログラム5(図9)の位置算出部50及び文字配置部52と同等の機能を含む。例えば、画像処理装置2は、原稿画像において類似する文字画像のうち最も大きい文字画像を、生成した文字画像で置き換え、当該最も大きい文字画像以外の文字画像を、生成した文字画像を置換先の文字画像の大きさに基づいて縮小して生成された文字画像で書き換える。   The image processing apparatus 2 may replace each of the cut character images with the generated character image. In this case, the character image acquisition program 610 includes functions equivalent to the position calculation unit 50 and the character arrangement unit 52 of the image enlargement program 5 (FIG. 9). For example, the image processing apparatus 2 replaces the largest character image among similar character images in the document image with the generated character image, and replaces the generated character image with the character image other than the largest character image. The character image generated by reducing the size based on the size of the image is rewritten.

図44は、文字画像取得プログラム610による、2回の文字サイズ調整処理を伴う高解像度文字画像取得処理(S1010)のフローチャートを示す図である。なお、図44に示された各処理のうち、図41に示された処理と実質的に同一のものには同一の符号が付されている。   FIG. 44 is a flowchart of a high-resolution character image acquisition process (S1010) involving two character size adjustment processes by the character image acquisition program 610. Note that among the processes shown in FIG. 44, the same reference numerals are assigned to the processes substantially the same as those shown in FIG.

図44に示すように、S100〜S102の処理で、入力画像から文字画像が切り出され、文字画像の大きさが調整され、類似する文字画像が抽出される。
ステップ1012(S1012)において、第2のサイズ調整部612は、類似する文字画像を、これらの文字画像のうち入力画像において最も大きい文字画像の大きさにそろえる。その後、S104〜S108の処理が実行されて、高解像度文字画像が生成される。
As shown in FIG. 44, in the processes of S100 to S102, a character image is cut out from the input image, the size of the character image is adjusted, and a similar character image is extracted.
In step 1012 (S1012), the second size adjustment unit 612 aligns similar character images to the size of the largest character image in the input image among these character images. Thereafter, the processing of S104 to S108 is executed to generate a high resolution character image.

図45は、同じ文字であっても大きさが異なる文字に対して実行される画像処理の第2の変形例の概略を説明する図である。
第2の変形例は、切り出された文字画像のうち大きさがある程度近い文字画像を対象として文字画像の大きさを調整する点で、第1の変形例とは異なる。例えば、画像処理装置2は、文字画像の大きさの違いが所定値未満である場合、これらの文字画像を、大きさを調整する対象の文字画像であると判定する。
FIG. 45 is a diagram for explaining an outline of a second modification of the image processing executed for characters having the same character but different sizes.
The second modified example is different from the first modified example in that the size of the character image is adjusted for a character image that is close to a certain size among the cut character images. For example, when the difference in the size of the character images is less than a predetermined value, the image processing apparatus 2 determines that these character images are character images whose sizes are to be adjusted.

図45(A)に示すように、文字画像が異なる大きさで原稿画像に現れる場合、画像処理装置2は、図45(B)に示すように、切り出された文字画像のうち大きさがある程度近い文字画像(破線で囲まれる文字画像)の大きさが所定の大きさに揃うように文字画像の大きさを調整し、図45(C)に示すように、大きさを揃えられた文字画像から、類似する文字画像を抽出する。   As shown in FIG. 45A, when a character image appears in a document image with a different size, the image processing apparatus 2 has a certain size among the cut out character images as shown in FIG. The size of the character image is adjusted so that the size of the near character image (the character image surrounded by the broken line) is equal to a predetermined size, and as shown in FIG. From the above, similar character images are extracted.

また、図45(D)に示すように、画像処理装置2は、抽出された文字画像の大きさが所定の大きさに揃うように当該文字画像の大きさを調整し、図45(E)に示すように、大きさを揃えられた複数の文字画像に基づいて、高解像度の文字画像を生成する。さらに、図45(E)及び図45(F)に示すように、画像処理装置2は、切り出された文字画像群に、生成した文字画像を加え、図45で示される手順を再帰的に繰り返す。このようにして、画像処理装置2は、高解像度文字画像を生成する。   Further, as shown in FIG. 45D, the image processing apparatus 2 adjusts the size of the extracted character image so that the size of the extracted character image is aligned with a predetermined size, and FIG. As shown in FIG. 4, a high-resolution character image is generated based on a plurality of character images having the same size. Further, as shown in FIGS. 45E and 45F, the image processing apparatus 2 adds the generated character image to the extracted character image group, and recursively repeats the procedure shown in FIG. . In this way, the image processing apparatus 2 generates a high resolution character image.

図46は、同じ文字であっても大きさが異なる文字に対して実行される画像処理の第3の変形例の概略を説明する図である。
図46(A)に示すように、文字画像が異なる大きさで原稿画像に現れる場合、図46(B)に示すように、画像処理装置2は、切り出された文字等の画像の大きさが所定の大きさに揃うように文字画像の大きさを調整する。
FIG. 46 is a diagram for explaining the outline of the third modification of the image processing executed for characters having the same character but different sizes.
As shown in FIG. 46A, when the character image appears in the original image with a different size, as shown in FIG. 46B, the image processing apparatus 2 has a size of the image such as the cut out character. The size of the character image is adjusted so as to be aligned with a predetermined size.

さらに、図46(C)に示すように、画像処理装置2は、元の原稿画像における文字画像の大きさに基づいて、大きさを調整された文字画像に対して重み付けを行う。ここで、図中のW1,W2及びW3は、重みを表す。画像処理装置2は、各文字画像の位相に基づいて各文字画像を重ね合わせ、算出した重みに基づいて高解像度文字画像を生成する。   Further, as shown in FIG. 46C, the image processing apparatus 2 weights the character image whose size has been adjusted based on the size of the character image in the original document image. Here, W1, W2 and W3 in the figure represent weights. The image processing device 2 superimposes each character image based on the phase of each character image, and generates a high resolution character image based on the calculated weight.

図47は、本発明の第14の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム620の機能構成を示す図である。
図47に示すように、文字画像取得プログラム620は、図39に示された文字画像取得プログラム600に重み算出部622が負荷され、高解像度文字画像生成部46が高解像度文字画像生成部624に置換された構成を有する。なお、図47に示された各構成のうち、図39に示された構成と実質的に同一のものには同一の符号が付されている。
FIG. 47 is a diagram showing a functional configuration of a character image acquisition program 620 executed by the control device 20 of the image processing device 2 according to the fourteenth embodiment of the present invention.
As shown in FIG. 47, in the character image acquisition program 620, the character image acquisition program 600 shown in FIG. 39 is loaded with the weight calculation unit 622, and the high resolution character image generation unit 46 is added to the high resolution character image generation unit 624. It has a substituted configuration. 47, substantially the same components as those shown in FIG. 39 are denoted by the same reference numerals.

文字画像取得プログラム620において、重み算出部622は、文字切出し部40により切り出された文字画像の大きさに基づいて、各文字画像の重みを算出する。例えば、重み算出部622は、入力された原稿画像において文字画像が大きいほど、重みを大きくする。高解像度文字画像生成部624は、重心算出部44により算出された各文字画像の重心と標本化格子点との相対位置に基づいて文字画像の位相を算出し、算出した位相に基づいて文字画像を重ね合わせ、文字画像の重み付き平均値を算出する。   In the character image acquisition program 620, the weight calculation unit 622 calculates the weight of each character image based on the size of the character image cut out by the character cutout unit 40. For example, the weight calculation unit 622 increases the weight as the character image increases in the input document image. The high-resolution character image generation unit 624 calculates the phase of the character image based on the relative position between the centroid of each character image calculated by the centroid calculation unit 44 and the sampling grid point, and the character image based on the calculated phase. Are superimposed, and the weighted average value of the character image is calculated.

図48は、文字画像取得プログラム620による、重み付き平均値を算出する高解像度文字画像取得処理(S1020)のフローチャートを示す図である。なお、図48に示された各処理のうち、図41に示された処理と実質的に同一のものには同一の符号が付されている。
図48に示すように、S100〜S104の処理で、入力画像から文字画像が切り出され、文字画像の大きさが調整され、類似する文字画像が抽出され、抽出された文字画像の重心が算出される。
FIG. 48 is a flowchart of a high-resolution character image acquisition process (S1020) for calculating a weighted average value by the character image acquisition program 620. Of the processes shown in FIG. 48, substantially the same processes as those shown in FIG. 41 are denoted by the same reference numerals.
As shown in FIG. 48, in the processes of S100 to S104, a character image is cut out from the input image, the size of the character image is adjusted, a similar character image is extracted, and the center of gravity of the extracted character image is calculated. The

ステップ1022(S1022)において、重み算出部622は、切り出された文字画像の大きさに基づいて重みを算出する。
ステップ1024(S1024)において、高解像度文字画像生成部624は、算出された重みに基づいて、文字画像の重み付き平均値を算出する。
その後、S108の処理で、高解像度文字画像が出力される。
In step 1022 (S1022), the weight calculation unit 622 calculates a weight based on the size of the extracted character image.
In step 1024 (S1024), the high resolution character image generation unit 624 calculates a weighted average value of the character image based on the calculated weight.
Thereafter, a high-resolution character image is output in S108.

図49は、同じ文字であっても大きさが異なる文字に対して実行される画像処理の第4の変形例の概略を説明する図である。
図49(A)に示すように、文字画像が異なる大きさで原稿画像に現れる場合、図49(B)に示すように、画像処理装置2は、切り出された文字等の画像の大きさが所定の大きさに揃うように文字画像の大きさを調整する。ここで、画像処理装置2は、文字画像を縮小する場合、互いに位相の異なる複数の縮小画像を生成する。そして、図49(C)に示すように、画像処理装置2は、大きさを調整された複数の文字画像に基づいて、高解像度の文字画像を生成する。なお、このような画像処理は、図39に示される文字画像取得プログラム600と同等の構成を有するプログラムにより実行される。
FIG. 49 is a diagram for explaining the outline of the fourth modification of the image processing executed for the same character but different sizes.
As shown in FIG. 49A, when a character image appears in a document image with a different size, as shown in FIG. 49B, the image processing apparatus 2 has a size of an image such as a cut out character. The size of the character image is adjusted so as to be aligned with a predetermined size. Here, when reducing the character image, the image processing apparatus 2 generates a plurality of reduced images having different phases. Then, as shown in FIG. 49C, the image processing apparatus 2 generates a high-resolution character image based on the plurality of character images whose sizes have been adjusted. Note that such image processing is executed by a program having a configuration equivalent to the character image acquisition program 600 shown in FIG.

図50は、位相が異なる縮小画像の生成処理を伴う高解像度文字画像取得処理(S1030)のフローチャートを示す図である。なお、図50に示された各処理のうち、図41に示された処理と実質的に同一のものには同一の符号が付されている。
図50に示すように、S100及びS1002の処理で、入力画像から文字画像が切り出され、文字画像の大きさが調整される。
FIG. 50 is a diagram illustrating a flowchart of high-resolution character image acquisition processing (S1030) involving generation processing of reduced images having different phases. Of the processes shown in FIG. 50, the same reference numerals are assigned to substantially the same processes as those shown in FIG.
As shown in FIG. 50, in the processes of S100 and S1002, a character image is cut out from the input image, and the size of the character image is adjusted.

文字画像が縮小される場合、ステップ1032(S1032)において、文字画像が相異なる複数の位相で縮小された複数の文字画像が生成される。その後、S102〜S108の処理が実行されて、高解像度文字画像が生成される。   When the character image is reduced, in step 1032 (S1032), a plurality of character images obtained by reducing the character image at a plurality of different phases are generated. Thereafter, the processing of S102 to S108 is executed to generate a high-resolution character image.

次に、生成された高解像度文字画像を用いて行われる、画像の符号化処理及び復号化処理について説明する。
JBIG2テキスト領域(Text Region)では、2値の画像データから、文字、図形等の部分画像を抽出し(以降、入力部分画像ともいう) 、当該部分画像データを既に辞書に登録されている部分画像データ(以降、登録部分画像ともいう)と比較する処理が実行される。比較の結果、入力部分画像と似ている登録部分画像が見つからない場合、入力部分画像は辞書に登録される。入力部分画像と似ている登録部分画像が見つかった場合、辞書内における当該部分画像を示すインデックス及び2値の画像データにおける入力部分画像の位置に基づいて、入力部分画像が符号化される。
Next, an image encoding process and a decoding process performed using the generated high-resolution character image will be described.
In the JBIG2 text region (Text Region), partial images such as characters and graphics are extracted from binary image data (hereinafter also referred to as input partial images), and the partial images already registered in the dictionary Processing for comparison with data (hereinafter also referred to as a registered partial image) is executed. As a result of the comparison, if a registered partial image similar to the input partial image is not found, the input partial image is registered in the dictionary. When a registered partial image similar to the input partial image is found, the input partial image is encoded based on the index indicating the partial image in the dictionary and the position of the input partial image in the binary image data.

同一の複数の部分画像が、スキャナ等により読み取られてJBIG2テキスト領域で符号化される場合、当該複数の部分画像について読取時の位相がずれていることがある。このような場合、符号化処理における圧縮率と、復号化された際の出力画像の画質とを考慮する必要がある。   When the same plurality of partial images are read by a scanner or the like and encoded in the JBIG2 text area, the phases at the time of reading may be shifted for the plurality of partial images. In such a case, it is necessary to consider the compression rate in the encoding process and the image quality of the output image when decoded.

図51は、JBIG2テキスト領域における符号化処理及び復号化処理を説明する図であって、図51(A)は、入力画像から抽出された複数の部分画像のそれぞれを符号化する手法を示し、図51(B)は、入力画像から抽出された複数の部分画像を代表する1の部分画像を符号化する手法を示す。
図51(A)に示される手法では、複数の部分画像の位相がずれている場合、当該複数の部分画像は、異なる部分画像データとして符号化される。この場合、元の部分画像データがそのまま復号されるので、復元される出力画像では、画質の劣化がない。しかしながら、符号化処理における圧縮率は低く、符号データのデータ量は大きい。
FIG. 51 is a diagram for explaining the encoding process and the decoding process in the JBIG2 text region. FIG. 51A shows a method for encoding each of a plurality of partial images extracted from an input image. FIG. 51B shows a method of encoding one partial image representing a plurality of partial images extracted from the input image.
In the method shown in FIG. 51A, when a plurality of partial images are out of phase, the plurality of partial images are encoded as different partial image data. In this case, since the original partial image data is decoded as it is, there is no deterioration in image quality in the restored output image. However, the compression rate in the encoding process is low, and the amount of code data is large.

図51(B)に示される手法では、複数の部分画像の位相がずれている場合においても、複数の部分画像のいずれかが代表画像として符号化される。したがって、このような手法では、圧縮率が高く、符号データのデータ量は小さい。しかしながら、復号される出力画像では、部分画像のそれぞれは、位相が異なる部分画像と置き換えられるため、画質が劣化してしまう場合がある。例えば、画質の劣化は、文字列の乱れとして現れる。   In the method shown in FIG. 51B, even when the phases of a plurality of partial images are shifted, any one of the plurality of partial images is encoded as a representative image. Therefore, in such a method, the compression rate is high and the amount of code data is small. However, in the output image to be decoded, each of the partial images is replaced with a partial image having a different phase, so that the image quality may be deteriorated. For example, the deterioration of the image quality appears as character string disturbance.

本発明の実施形態に係る画像符号化装置は、上述したようにして生成される高解像度部分画像を代表画像として符号化する。以降、部分画像の一例として、文字画像を用いて符号化処理及び復号化処理を説明する。   The image encoding device according to the embodiment of the present invention encodes a high-resolution partial image generated as described above as a representative image. Hereinafter, encoding processing and decoding processing will be described using a character image as an example of a partial image.

図52は、本発明の実施形態に係る画像符号化装置7の制御装置20により実行される画像符号化プログラム70の機能構成を示す図である。なお、図52に示された各構成のうち、図5に示された構成と実質的に同一のものには同一の符号が付されている。また、画像符号化装置7は、図4に示される画像処理装置2等と同等のハードウェア構成を有する。   FIG. 52 is a diagram showing a functional configuration of an image encoding program 70 executed by the control device 20 of the image encoding device 7 according to the embodiment of the present invention. 52, substantially the same components as those shown in FIG. 5 are denoted by the same reference numerals. The image encoding device 7 has a hardware configuration equivalent to that of the image processing device 2 shown in FIG.

図52に示すように、画像符号化プログラム70は、図5に示される画像符号化プログラム70は、文字切出し部40、類似文字抽出部42、重心算出部44、高解像度文字画像生成部46及び符号化部700を有する。画像符号化プログラム70において、高解像度文字画像生成部46により生成される高解像度文字画像を、代表画像ともいう。よって、高解像度画像生成部46は、類似文字抽出部42により抽出された各部分画像(本例では、文字画像)と、第1の解像度における1画素より高い精度で算出された該各部分画像の位相とに基づいて、第2の解像度の代表画像を生成する代表画像生成手段を構成する。   As shown in FIG. 52, the image encoding program 70 is the same as the image encoding program 70 shown in FIG. 5 except that the character extracting unit 40, the similar character extracting unit 42, the centroid calculating unit 44, the high resolution character image generating unit 46, and the like. An encoding unit 700 is included. In the image encoding program 70, the high resolution character image generated by the high resolution character image generation unit 46 is also referred to as a representative image. Therefore, the high-resolution image generation unit 46 extracts each partial image (character image in this example) extracted by the similar character extraction unit 42 and each partial image calculated with higher accuracy than one pixel at the first resolution. The representative image generating means for generating the representative image of the second resolution is configured based on the phase of the second image.

符号化部700は、高解像度文字画像生成部46により生成された代表画像と、類似文字抽出部42により抽出された各部分画像の位相及び位置とを符号化して符号データを生成する。より具体的には、符号化部700は、文字切出し部40から入力される文字画像の入力画像における位置、重心算出部44により推定される文字画像の位相、及び類似文字抽出部42により識別子(インデックス)が付与され高解像度文字画像生成部46により生成された代表画像データを、文字切出し部40により切り出された文字画像データ毎に符号化する。   The encoding unit 700 generates code data by encoding the representative image generated by the high resolution character image generation unit 46 and the phase and position of each partial image extracted by the similar character extraction unit 42. More specifically, the encoding unit 700 determines the position of the character image input from the character cutout unit 40 in the input image, the phase of the character image estimated by the centroid calculation unit 44, and the identifier ( The representative image data generated by the high resolution character image generation unit 46 with the index) is encoded for each character image data cut out by the character cutout unit 40.

符号化部700は、符号データを記憶装置24に格納してもよいし、後述する画像復号化装置8など外部のコンピュータに対して通信装置22を介して送信してもよい。また、符号データは、記録媒体240に格納されて、画像復号化装置8などに供給されてもよい。   The encoding unit 700 may store the encoded data in the storage device 24 or may transmit the encoded data to an external computer such as the image decoding device 8 described later via the communication device 22. Also, the code data may be stored in the recording medium 240 and supplied to the image decoding device 8 or the like.

図53は、符号化部700による入力画像の符号化処理を説明する図であり、図53(A)は、入力画像を例示し、図53(B)は、入力画像に基づいて生成された代表画像辞書を例示し、図53(C)は、入力画像から切り出された部分画像に関する情報(位置及び位相)を例示する。
図53(A)及び図53(B)に例示するように、入力画像に含まれる部分画像(本例では、文字画像「A」)のそれぞれは画像符号化プログラム70により抽出され、代表画像が生成される。代表画像は代表画像辞書に登録され、代表画像にはインデックスが付与される。代表画像の形状及びインデックスは、代表画像辞書に含まれる代表画像に関する情報として、符号化部700により符号化される。
53A and 53B are diagrams for describing input image encoding processing by the encoding unit 700. FIG. 53A illustrates an input image, and FIG. 53B is generated based on the input image. A representative image dictionary is illustrated, and FIG. 53C illustrates information (position and phase) related to a partial image cut out from the input image.
As illustrated in FIGS. 53A and 53B, each of the partial images (in this example, the character image “A”) included in the input image is extracted by the image encoding program 70, and the representative image is Generated. The representative image is registered in the representative image dictionary, and an index is assigned to the representative image. The shape and index of the representative image are encoded by the encoding unit 700 as information about the representative image included in the representative image dictionary.

図53(C)に例示するように、入力画像における部分画像の位置、切り出された際の位相、及び対応する代表画像のインデックスは、文字切出し部40により切り出された部分画像に関する情報として、符号化部700により符号化される。このように、符号化部700は、代表画像辞書と、入力画像から切り出された部分画像に関する情報とを符号化して符号データを生成する。   As illustrated in FIG. 53C, the position of the partial image in the input image, the phase when the image is cut out, and the index of the corresponding representative image are encoded as information about the partial image cut out by the character cutout unit 40. The encoding unit 700 encodes the data. As described above, the encoding unit 700 generates code data by encoding the representative image dictionary and information about the partial image cut out from the input image.

図54は、画像符号化プログラム70による画像符号化処理(S1040)のフローチャートを示す図である。なお、図54に示された各処理のうち、図8に示された処理と実質的に同一のものには同一の符号が付されている。
図54に示すように、S100〜S106の処理で、入力画像から文字画像が切り出され、類似する文字画像が抽出され、重心(位相)が算出され、高解像度文字画像(代表画像)が生成される。
FIG. 54 is a diagram showing a flowchart of the image encoding process (S1040) by the image encoding program 70. Of the processes shown in FIG. 54, substantially the same processes as those shown in FIG. 8 are denoted by the same reference numerals.
As shown in FIG. 54, in the processing of S100 to S106, a character image is cut out from the input image, a similar character image is extracted, the center of gravity (phase) is calculated, and a high-resolution character image (representative image) is generated. The

ステップ1042(S1042)において、符号化部700は、切り出された文字画像に関する情報(位置、位相及びインデックス)を符号化する。
ステップ1044(S1044)において、符号化部700は、生成されインデックスを付与された代表画像を符号化する。具体的には、符号化部700は、代表画像辞書を符号化する。
ステップ1046(S1046)において、符号化部700は、符号データを生成して出力する。
In step 1042 (S1042), the encoding unit 700 encodes information (position, phase, and index) related to the extracted character image.
In step 1044 (S1044), the encoding unit 700 encodes the representative image that has been generated and assigned an index. Specifically, the encoding unit 700 encodes the representative image dictionary.
In step 1046 (S1046), the encoding unit 700 generates and outputs code data.

次に、本発明の第1の実施形態に係る画像復号化装置8を説明する。
図55は、画像復号化装置8の制御装置20により実行される画像復号化プログラム80の機能構成を示す図である。
図55に示すように、画像復号化プログラム80は、復号部800、代表画像記憶部802、低解像度文字画像生成部804及び文字画像配置部806を有する。なお、以降、部分画像の一例として文字画像を用いて、画像復号化プログラム80を説明する。
Next, the image decoding device 8 according to the first embodiment of the present invention will be described.
FIG. 55 is a diagram illustrating a functional configuration of an image decoding program 80 executed by the control device 20 of the image decoding device 8.
As shown in FIG. 55, the image decoding program 80 includes a decoding unit 800, a representative image storage unit 802, a low resolution character image generation unit 804, and a character image arrangement unit 806. Hereinafter, the image decoding program 80 will be described using a character image as an example of a partial image.

画像復号化プログラム80において、復号部800は、画像符号化装置7により生成された符号データを受け付け、符号データを復号する。より具体的には、復号部800は、符号データに基づいて、インデックスを付与された代表画像を含む代表画像辞書と、部分画像に関する情報(位置、位相、インデックス)とを復号する。復号部800は、代表画像データと代表画像に付与されたインデックスとを代表画像記憶部802に対して出力する。また、復号部800は、文字画像の位相を低解像度文字画像生成部804に対して出力し、文字画像の位置を文字画像配置部806に対して出力する。   In the image decoding program 80, the decoding unit 800 receives code data generated by the image encoding device 7 and decodes the code data. More specifically, the decoding unit 800 decodes a representative image dictionary including a representative image to which an index is assigned and information (position, phase, index) regarding the partial image based on the code data. The decoding unit 800 outputs the representative image data and the index assigned to the representative image to the representative image storage unit 802. The decoding unit 800 outputs the phase of the character image to the low resolution character image generation unit 804 and outputs the position of the character image to the character image arrangement unit 806.

代表画像記憶部802は、復号された代表画像辞書を記憶する。代表画像記憶部802は、メモリ204及び記憶装置24の少なくともいずれかにより実現される。   The representative image storage unit 802 stores the decoded representative image dictionary. The representative image storage unit 802 is realized by at least one of the memory 204 and the storage device 24.

低解像度文字画像生成部804は、代表画像記憶部802に記憶されている代表画像と、復号された位相とに基づいて、第1の解像度の部分画像を生成する。具体的には、低解像度文字画像生成部804は、記憶されている代表画像を読み出し、当該代表画像を位相に基づいて縮小して第1の解像度の低解像度文字画像データを生成する。このようにして、低解像度文字画像生成部804は、部分画像生成手段を構成する。   The low resolution character image generation unit 804 generates a partial image of the first resolution based on the representative image stored in the representative image storage unit 802 and the decoded phase. Specifically, the low-resolution character image generation unit 804 reads the stored representative image, reduces the representative image based on the phase, and generates low-resolution character image data having the first resolution. In this way, the low-resolution character image generation unit 804 constitutes a partial image generation unit.

文字画像配置部806は、復号部800により復号された部分画像の位置に基づいて、低解像度文字画像生成部804により生成された低解像度文字画像を出力画像に配置して、出力画像データを生成するこのようにして、文字画像配置部806は、部分画像配置手段を構成する。   Based on the position of the partial image decoded by the decoding unit 800, the character image arrangement unit 806 arranges the low resolution character image generated by the low resolution character image generation unit 804 in the output image and generates output image data. Thus, the character image arrangement unit 806 constitutes a partial image arrangement unit.

図56は、画像復号化プログラム80による画像復号化処理(S1050)のフローチャートを示す図である。
図56に示すように、ステップ1052(S1052)において、画像復号化プログラム80の復号部800は、符号データを復号して、第2の解像度の代表画像と、第1の解像度の部分画像の位相及び位置とを取得する。
ステップ1054(S1054)において、復号部800は、代表画像データと、代表画像に付与されたインデックスとを代表画像記憶部802に格納して、代表画像辞書を生成する。
FIG. 56 is a diagram showing a flowchart of image decoding processing (S1050) by the image decoding program 80.
As shown in FIG. 56, in step 1052 (S1052), the decoding unit 800 of the image decoding program 80 decodes the encoded data, and the phase of the representative image of the second resolution and the partial image of the first resolution. And position.
In step 1054 (S1054), the decoding unit 800 stores the representative image data and the index assigned to the representative image in the representative image storage unit 802, and generates a representative image dictionary.

ステップ1056(S1056)において、低解像度文字画像生成部804は、代表画像辞書の代表画像と、復号された部分画像の位相とに基づいて、第1の解像度の低解像度文字画像を生成する。
ステップ1058(S1058)において、文字画像配置部806は、復号化された位置に基づいて、生成された低解像度文字画像を出力画像に配置する。
In step 1056 (S1056), the low resolution character image generation unit 804 generates a low resolution character image having a first resolution based on the representative image in the representative image dictionary and the phase of the decoded partial image.
In step 1058 (S1058), the character image arrangement unit 806 arranges the generated low-resolution character image in the output image based on the decoded position.

ステップ1060(S1060)において、文字画像配置部806は、全ての部分画像の出力画像への配置を終了したか否かを判定する。画像復号化プログラム80は、全ての部分画像について配置処理を終了した場合にはS1062の処理に進み、そうでない場合にはS1056の処理に戻る。
ステップ1062(S1062)において、文字画像配置部806は、出力画像データを生成して出力する。
In step 1060 (S1060), the character image placement unit 806 determines whether or not placement of all partial images on the output image has been completed. The image decoding program 80 proceeds to the process of S1062 when the arrangement process is completed for all the partial images, and returns to the process of S1056 otherwise.
In step 1062 (S1062), the character image arrangement unit 806 generates and outputs output image data.

次に、本発明の第2の実施形態に係る画像復号化装置8を説明する。
図57は、画像復号化装置8の制御装置20により実行される画像復号化プログラム82の機能構成を示す図である。
図57に示すように、画像復号化プログラム80は、画像復号化プログラム80(図55)に拡大制御部820及び位置変換部824が追加され、低解像度文字画像生成部804が低解像度文字画像生成部822に置き換えられた構成を有する。
Next, an image decoding device 8 according to the second embodiment of the present invention will be described.
FIG. 57 is a diagram illustrating a functional configuration of the image decoding program 82 executed by the control device 20 of the image decoding device 8.
As shown in FIG. 57, in the image decoding program 80, an enlargement control unit 820 and a position conversion unit 824 are added to the image decoding program 80 (FIG. 55), and the low resolution character image generation unit 804 generates a low resolution character image. The configuration is replaced with the portion 822.

画像復号化プログラム82において、拡大制御部820は、変倍率に基づいて、低解像度文字画像生成部822及び位置変換部824を制御する。より具体的には、拡大制御部820は、メモリ204及び記憶装置24の少なくともいずれかに予め記憶されている変倍率を読み出して、低解像度文字画像生成部822及び位置変換部824に対して出力する。変倍率制御部820は、UI装置26及び通信装置22を介して設定される変倍率を、低解像度文字画像生成部822等に対して出力してもよい。   In the image decoding program 82, the enlargement control unit 820 controls the low-resolution character image generation unit 822 and the position conversion unit 824 based on the scaling factor. More specifically, the enlargement control unit 820 reads a scaling factor stored in advance in at least one of the memory 204 and the storage device 24, and outputs it to the low resolution character image generation unit 822 and the position conversion unit 824. To do. The scaling factor control unit 820 may output the scaling factor set via the UI device 26 and the communication device 22 to the low resolution character image generation unit 822 and the like.

低解像度文字画像生成部822は、拡大制御部820から入力される変倍率にさらに基づいて、第1の解像度の部分画像を生成する。具体的には、低解像度文字画像生成部822は、変倍率に基づいて、低解像度文字画像データを生成する際の倍率を変更する。   The low resolution character image generation unit 822 generates a partial image having the first resolution based further on the scaling factor input from the enlargement control unit 820. Specifically, the low resolution character image generation unit 822 changes the magnification for generating the low resolution character image data based on the scaling factor.

位置変換部824は、拡大制御部820から入力される変倍率に基づいて、復号部800により復号された部分画像の位置を変換し、変換後の位置を文字画像配置部806に対して出力する。このため、文字画像配置部806は、位置変換部824により変換された位置に基づいて、低解像度文字画像を出力画像に配置する。   The position conversion unit 824 converts the position of the partial image decoded by the decoding unit 800 based on the scaling factor input from the enlargement control unit 820, and outputs the converted position to the character image arrangement unit 806. . Therefore, the character image arrangement unit 806 arranges the low-resolution character image in the output image based on the position converted by the position conversion unit 824.

図58は、画像復号化プログラム82による画像復号化処理(S1070)のフローチャートを示す図である。なお、図58に示された各処理のうち、図56に示された処理と実質的に同一のものには同一の符号が付されている。
図58に示すように、S1052及びS1054で、符号データが復号され、代表画像辞書が生成される。
FIG. 58 is a flowchart of the image decoding process (S1070) by the image decoding program 82. Of the processes shown in FIG. 58, those substantially the same as the processes shown in FIG. 56 are denoted by the same reference numerals.
As shown in FIG. 58, in S1052 and S1054, the code data is decoded and a representative image dictionary is generated.

ステップ1072(S1072)において、低解像度文字画像生成部822は、代表画像辞書の代表画像と、復号された部分画像の位相と、変倍率とに基づいて、第1の解像度の低解像度文字画像を生成する。
ステップ1074(S1074)において、位置変換部824は、変倍率に基づいて、部分画像の位置を変換する。
In step 1072 (S1072), the low resolution character image generation unit 822 generates a low resolution character image of the first resolution based on the representative image of the representative image dictionary, the phase of the decoded partial image, and the scaling factor. Generate.
In step 1074 (S1074), the position conversion unit 824 converts the position of the partial image based on the scaling factor.

また、S1058の処理で、文字画像配置部806は、変換された位置に基づいて、生成された低解像度文字画像を出力画像に配置する。さらに、S1060の処理で、全ての部分画像の配置処理が終了したか否かが判定され、S1062の処理で、出力画像データが生成される。   Also, in the process of S1058, the character image arrangement unit 806 arranges the generated low-resolution character image in the output image based on the converted position. Further, it is determined in step S1060 whether or not the arrangement processing of all the partial images has been completed, and output image data is generated in step S1062.

文字画像を拡大する際の文字画像の品質を説明する図である。It is a figure explaining the quality of the character image at the time of enlarging a character image. 撮像解像度より高い解像度の画像を生成する手法を説明する図である。It is a figure explaining the method of producing | generating the image of a resolution higher than imaging resolution. 本発明に係る画像処理装置による画像処理の概略を説明する図である。It is a figure explaining the outline of the image processing by the image processing apparatus which concerns on this invention. 本発明の実施形態に係る画像処理装置2及び画像拡大装置3のハードウェア構成を、制御装置20を中心に示す図である。2 is a diagram illustrating a hardware configuration of an image processing apparatus 2 and an image enlargement apparatus 3 according to an embodiment of the present invention, centering on a control apparatus 20. FIG. 本発明の第1の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム4の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 4 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 1st Embodiment of this invention. 文字切出し部40による文字切出し処理及び類似文字抽出部42による類似文字抽出処理を説明する図であって、図6(A)は、入力画像を例示し、図6(B)は、文字切出し部40により入力画像から切り出された文字画像を例示し、図6(C)は、類似文字抽出部42により抽出された類似する文字画像を例示する。FIG. 6A illustrates an input image, and FIG. 6B illustrates a character cutout unit. FIG. 6A illustrates a character cutout process performed by the character cutout unit 40 and a similar character extraction process performed by the similar character extraction unit 42. The character image cut out from the input image by 40 is illustrated, and FIG. 6C illustrates the similar character image extracted by the similar character extraction unit 42. 高解像度文字画像生成部46による高解像度文字画像データの生成処理を説明する図である。It is a figure explaining the production | generation process of the high resolution character image data by the high resolution character image generation part. 文字画像取得プログラム4による高解像度文字画像取得処理(S10)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S10) by the character image acquisition program 4. FIG. 本発明の実施形態に係る画像拡大装置3の制御装置20により実行される画像拡大プログラム5の機能構成を示す図である。It is a figure which shows the function structure of the image expansion program 5 performed by the control apparatus 20 of the image expansion apparatus 3 which concerns on embodiment of this invention. 画像拡大プログラム5による画像拡大処理(S20)のフローチャートを示す図である。It is a figure which shows the flowchart of the image expansion process (S20) by the image expansion program 5. FIG. 本発明の第2の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム6の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 6 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 2nd Embodiment of this invention. 文字画像取得プログラム6によるノイズ除去処理を含む高解像度文字画像取得処理(S30)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S30) including the noise removal process by the character image acquisition program 6. FIG. 本発明の第3の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム400の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 400 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 3rd Embodiment of this invention. 本発明の実施形態に係る画像処理装置2により実行される多値化処理の概要を示す図である。It is a figure which shows the outline | summary of the multi-value quantization process performed by the image processing apparatus 2 which concerns on embodiment of this invention. 文字画像取得プログラム400による高解像度文字画像取得処理(S40)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S40) by the character image acquisition program 400. FIG. 本発明の第4の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム420の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 420 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 4th Embodiment of this invention. 本発明の第5の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム440の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 440 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 5th Embodiment of this invention. 本発明の第6の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム460の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 460 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 6th Embodiment of this invention. 第2の多値化手法が適用された場合における高解像度文字画像生成部46による高解像度文字画像データの生成処理を説明する図である。It is a figure explaining the production | generation process of the high resolution character image data by the high resolution character image generation part 46 in case the 2nd multi-value-izing method is applied. 高解像度文字画像生成部46による高解像度文字画像データの生成処理の第2の実施例を説明する図である。It is a figure explaining the 2nd Example of the production | generation process of the high resolution character image data by the high resolution character image generation part. 原稿に所定数未満しか含まれていない文字に対して実行される画像処理の概略を説明する図である。It is a figure explaining the outline of the image processing performed with respect to the character in which only less than the predetermined number is contained in the document. 本発明の第7の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム480の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 480 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 7th Embodiment of this invention. 文字画像取得プログラム480による、記憶されている文字群画像を用いた高解像度文字画像取得処理(S50)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S50) using the character group image memorize | stored by the character image acquisition program 480. FIG. 本発明の第8の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム500の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 500 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 8th Embodiment of this invention. 文字群画像生成部504の詳細な機能構成を示す図である。It is a figure which shows the detailed functional structure of the character group image generation part. 文字群画像生成部504により生成される文字群画像を例示する図である。It is a figure which illustrates the character group image produced | generated by the character group image production | generation part 504. 文字画像取得プログラム500による、生成した文字群画像を用いた高解像度文字画像取得処理(S60)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S60) using the produced | generated character group image by the character image acquisition program 500. FIG. 文字群画像生成部504の第1の変形例である文字群画像生成部514の詳細な機能構成を示す図である。It is a figure which shows the detailed functional structure of the character group image generation part 514 which is the 1st modification of the character group image generation part 504. FIG. 文字群画像生成部514により生成される文字群画像を例示する図である。It is a figure which illustrates the character group image produced | generated by the character group image production | generation part 514. FIG. 文字群画像生成部504の第2の変形例である文字群画像生成部520の詳細な機能構成を示す図である。It is a figure which shows the detailed functional structure of the character group image generation part 520 which is the 2nd modification of the character group image generation part 504. FIG. 本発明の第9の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム540の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 540 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 9th Embodiment of this invention. 文字画像取得プログラム540による、生成した文字画像を用いた高解像度文字画像取得処理(S70)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S70) using the produced | generated character image by the character image acquisition program 540. FIG. 本発明の第10の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム560の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 560 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 10th Embodiment of this invention. 文字画像取得プログラム560による、生成した複数の文字群画像を用いた高解像度文字画像取得処理(S80)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S80) using the produced | generated several character group image by the character image acquisition program 560. FIG. 本発明の第11の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム580の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 580 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 11th Embodiment of this invention. 文字画像取得プログラム580による、文字画像の置換処理を伴う高解像度文字画像取得処理(S90)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S90) accompanying the replacement process of a character image by the character image acquisition program 580. FIG. 大きさが異なるが同一である文字が含まれている原稿を例示する図である。FIG. 4 is a diagram illustrating an example of a manuscript including characters that are the same but different in size. 同じ文字であっても大きさが異なる文字に対して実行される画像処理の概略を説明する図である。It is a figure explaining the outline of the image processing performed with respect to the character from which a magnitude | size differs even if it is the same character. 本発明の第12の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム600の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 600 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 12th Embodiment of this invention. 切り出された文字画像の大きさを、選択した文字画像の大きさに揃えるようにして実行される画像処理の概略を示す図であって、図40(A)は、入力された原稿画像を例示し、図40(B)は、サイズを調整された文字画像を例示し、図40(C)は、生成された高解像度画像を例示する。FIG. 40A is a diagram illustrating an outline of image processing executed so that the size of a cut-out character image is aligned with the size of a selected character image, and FIG. 40A illustrates an input document image. FIG. 40B illustrates a character image whose size has been adjusted, and FIG. 40C illustrates a generated high-resolution image. 文字画像取得プログラム600による、文字サイズ調整処理を伴う高解像度文字画像取得処理(S1000)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S1000) accompanying a character size adjustment process by the character image acquisition program 600. FIG. 同じ文字であっても大きさが異なる文字に対して実行される画像処理の第1の変形例の概略を説明する図である。It is a figure explaining the outline of the 1st modification of the image processing performed with respect to the character from which a size differs even if it is the same character. 本発明の第13の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム610の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 610 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 13th Embodiment of this invention. 文字画像取得プログラム610による、2回の文字サイズ調整処理を伴う高解像度文字画像取得処理(S1010)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S1010) accompanied by the character size adjustment process of 2 times by the character image acquisition program 610. FIG. 同じ文字であっても大きさが異なる文字に対して実行される画像処理の第2の変形例の概略を説明する図である。It is a figure explaining the outline of the 2nd modification of the image processing performed with respect to the character from which a size differs even if it is the same character. 同じ文字であっても大きさが異なる文字に対して実行される画像処理の第3の変形例の概略を説明する図である。It is a figure explaining the outline of the 3rd modification of the image processing performed with respect to the character from which a magnitude | size differs even if it is the same character. 本発明の第14の実施形態に係る画像処理装置2の制御装置20により実行される文字画像取得プログラム620の機能構成を示す図である。It is a figure which shows the function structure of the character image acquisition program 620 performed by the control apparatus 20 of the image processing apparatus 2 which concerns on the 14th Embodiment of this invention. 文字画像取得プログラム620による、重み付き平均値を算出する高解像度文字画像取得処理(S1020)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S1020) which calculates the weighted average value by the character image acquisition program 620. 同じ文字であっても大きさが異なる文字に対して実行される画像処理の第4の変形例の概略を説明する図である。It is a figure explaining the outline of the 4th modification of the image processing performed with respect to the character from which a magnitude | size differs even if it is the same character. 位相が異なる縮小画像の生成処理を伴う高解像度文字画像取得処理(S1030)のフローチャートを示す図である。It is a figure which shows the flowchart of the high resolution character image acquisition process (S1030) accompanied by the production | generation process of the reduced image from which a phase differs. JBIG2テキスト領域における符号化処理及び復号化処理を説明する図であって、図51(A)は、入力画像から抽出された複数の部分画像のそれぞれを符号化する手法を示し、図51(B)は、入力画像から抽出された複数の部分画像を代表する1の部分画像を符号化する手法を示す。FIG. 51A is a diagram illustrating an encoding process and a decoding process in a JBIG2 text region, and FIG. 51A illustrates a method of encoding each of a plurality of partial images extracted from an input image, and FIG. ) Shows a method of encoding one partial image representing a plurality of partial images extracted from the input image. 本発明の実施形態に係る画像符号化装置7の制御装置20により実行される画像符号化プログラム70の機能構成を示す図である。It is a figure which shows the function structure of the image coding program 70 performed by the control apparatus 20 of the image coding apparatus 7 which concerns on embodiment of this invention. 符号化部700による入力画像の符号化処理を説明する図であり、図53(A)は、入力画像を例示し、図53(B)は、入力画像に基づいて生成された代表画像辞書を例示し、図53(C)は、入力画像から切り出された部分画像に関する情報(位置及び位相)を例示する。FIGS. 53A and 53B illustrate an input image encoding process performed by the encoding unit 700. FIG. 53A illustrates an input image, and FIG. 53B illustrates a representative image dictionary generated based on the input image. For example, FIG. 53C illustrates information (position and phase) regarding a partial image cut out from the input image. 画像符号化プログラム70による画像符号化処理(S1040)のフローチャートを示す図である。It is a figure which shows the flowchart of the image encoding process (S1040) by the image encoding program 70. FIG. 画像復号化装置8の制御装置20により実行される画像復号化プログラム80の機能構成を示す図である。It is a figure which shows the function structure of the image decoding program 80 performed by the control apparatus 20 of the image decoding apparatus 8. FIG. 画像復号化プログラム80による画像復号化処理(S1050)のフローチャートを示す図である。It is a figure which shows the flowchart of the image decoding process (S1050) by the image decoding program 80. FIG. 画像復号化装置8の制御装置20により実行される画像復号化プログラム82の機能構成を示す図である。It is a figure which shows the function structure of the image decoding program 82 performed by the control apparatus 20 of the image decoding apparatus 8. FIG. 画像復号化プログラム82による画像復号化処理(S1070)のフローチャートを示す図である。It is a figure which shows the flowchart of the image decoding process (S1070) by the image decoding program 82. FIG.

符号の説明Explanation of symbols

2 画像処理装置
3 画像拡大装置
4 文字画像取得プログラム
5 画像拡大プログラム
6 文字画像取得プログラム
7 画像符号化装置
8 画像復号化装置
20 制御装置
22 通信装置
24 記憶装置
26 UI装置
40 文字切出し部
42 類似文字抽出部
44 重心算出部
46 高解像度文字画像生成部
50 位置算出部
52 文字配置部
60 位相算出部
62 代表文字抽出部
64 位相代表値算出部
66 ノイズ除去部
68 高解像度文字画像生成部
70 画像符号化プログラム
80 画像復号化プログラム
82 画像復号化プログラム
202 CPU
204 メモリ
240 記録媒体
400 文字画像取得プログラム
402 多値化部
404 2値化部
420 文字画像取得プログラム
422 多値化部
440 文字画像取得プログラム
442 多値化部
460 文字画像取得プログラム
462 多値化部
480 文字画像取得プログラム
482 文字群画像記憶部
484 文字画像数判定部
500 文字画像取得プログラム
502 文字画像数判定部
504 文字群画像生成部
506 文字群画像制御部
508 フォントコード指示部
510 テキストコード指示部
512 フォントパターン描画部
514 文字群画像生成部
516 描画角度指示部
518 フォントパターン描画部
520 文字群画像生成部
522 模擬スキャンイン処理部
540 文字画像取得プログラム
542 対応文字画像生成部
560 文字画像取得プログラム
562 生成位相指示部
564 複数位相文字群画像生成部
580 文字画像取得プログラム
582 文字画像置換部
700 符号化部
800 復号部
802 代表画像記憶部
804 低解像度文字生成部
806 文字画像配置部
2 Image processing device 3 Image enlargement device 4 Character image acquisition program 5 Image enlargement program 6 Character image acquisition program 7 Image encoding device 8 Image decoding device 20 Control device 22 Communication device 24 Storage device 26 UI device 40 Character extraction unit 42 Similar Character extraction unit 44 Center of gravity calculation unit 46 High resolution character image generation unit 50 Position calculation unit 52 Character placement unit 60 Phase calculation unit 62 Representative character extraction unit 64 Phase representative value calculation unit 66 Noise removal unit 68 High resolution character image generation unit 70 Image Encoding program 80 Image decoding program 82 Image decoding program 202 CPU
204 Memory 240 Recording medium 400 Character image acquisition program 402 Multi-value conversion unit 404 Binarization unit 420 Character image acquisition program 422 Multi-value conversion unit 440 Character image acquisition program 442 Multi-value conversion unit 460 Character image acquisition program 462 Multi-value conversion unit 480 Character image acquisition program 482 Character group image storage unit 484 Character image number determination unit 500 Character image acquisition program 502 Character image number determination unit 504 Character group image generation unit 506 Character group image control unit 508 Font code instruction unit 510 Text code instruction unit 512 Font pattern drawing unit 514 Character group image generation unit 516 Drawing angle instruction unit 518 Font pattern drawing unit 520 Character group image generation unit 522 Simulated scan-in processing unit 540 Character image acquisition program 542 Corresponding character image generation unit 560 Character image acquisition program Grams 562 generation phase instruction portion 564 plural phase character group image generator 580 character image acquisition program 582 character image replacing unit 700 coding unit 800 decoding unit 802 representative-image storage unit 804 the low resolution character generator 806 character image arrangement unit

Claims (19)

原稿を読み取った読取画像に含まれる文字画像を切出す切出し手段と、
前記切出し手段により切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータの距離が予め定めた値未満である第2の文字画像と、を前記切出し手段により切出された前記複数の文字画像から第1の解像度で抽出する抽出手段と、
前記抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度よりも高い解像度である第2の解像度の文字画像を生成する生成手段と
を有する画像処理装置。
Cutting means for cutting out a character image included in a scanned image obtained by scanning a document;
Wherein a first character image specified from among the plurality of character images extracted by the cutout section, of the first vector data representing the character image distance second Ru der than the predetermined value and character image from the cutout section by cut out said plurality of character image extraction means for extracting at a first resolution,
A character image extracted first character image and the second by the extraction means, the first of said first calculated at a higher than one pixel accuracy in the resolution of the character image and the second character image And generating means for generating a character image having a second resolution higher than the first resolution using the phase of the image processing apparatus.
複数の文字画像を含む文字群画像を記憶する文字群画像記憶手段をさらに有し、
前記生成手段は、前記抽出手段により抽出された前記第2の文字画像が所定数以上である場合、前記抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度よりも高い解像度である前記第2の解像度の文字画像を生成し、前記抽出手段により抽出された前記第2の文字画像が所定数未満である場合、前記文字群画像記憶手段に記憶されている前記文字群画像から抽出された文字画像であって前記第1の文字画像を表すベクトルデータの距離が予め定めた値未満である文字画像をさらに用いて前記第2の解像度の文字画像を生成する
請求項1に記載の画像処理装置。
A character group image storage means for storing a character group image including a plurality of character images;
The generating means, when said extracted by said extraction means second character image is not less than the predetermined number, said first character image and the second character images extracted by the extraction means, said first using a 1 the calculated higher than one pixel accuracy in the resolution of the first character image and the second character image phase, of the second resolution is a higher resolution than the first resolution to generate a character image, when the extracted by the extracting means second character image is less than the predetermined number, there the character images extracted from the character group image stored in the character group image storage means the image processing apparatus according to claim 1 for generating a further character images having the second resolution by using a distance predetermined value less than der Rubun shaped image with vector data representing the first character image Te .
複数の文字画像を含む文字群画像を記憶する文字群画像記憶手段をさらに有し、
前記生成手段は、前記抽出手段により抽出された前記第2の文字画像が所定数以上である場合、前記抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度よりも高い解像度である前記第2の解像度の文字画像を生成し、前記抽出手段により抽出された前記第2の文字画像が所定数未満である場合、前記第1の文字画像を、前記文字群画像記憶手段に記憶されている文字群画像から抽出された文字画像であって前記第1の文字画像を表すベクトルデータの距離が予め定めた値未満である文字画像で置き換える
請求項1に記載の画像処理装置。
A character group image storage means for storing a character group image including a plurality of character images;
The generating means, when said extracted by said extraction means second character image is not less than the predetermined number, said first character image and the second character images extracted by the extraction means, said first using a 1 the calculated higher than one pixel accuracy in the resolution of the first character image and the second character image phase, of the second resolution is a higher resolution than the first resolution to generate a character image, when the extracted by the extracting means second character image is less than the predetermined number, the first character image from the character group image stored in the character group image storage means the image processing apparatus according to claim 1, the distance between the vector data representing the first character image a extracted character image is replaced by a predetermined value less than der Rubun shaped image.
前記抽出手段により抽出された前記第1の文字画像の大きさに基づいて、複数の文字画像を含む文字群画像を取得する文字群画像取得手段をさらに有し、
前記生成手段は、前記抽出手段により抽出された前記第2の文字画像が所定数以上である場合、前記抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度よりも高い解像度である前記第2の解像度の文字画像を生成し、前記抽出手段により抽出された前記第2の文字画像が所定数未満である場合、前記文字群画像取得手段により取得された前記文字群画像から抽出された文字画像であって前記第1の文字画像を表すベクトルデータの距離が予め定めた値未満である文字画像をさらに用いて前記第2の解像度の文字画像を生成する
請求項1に記載の画像処理装置。
Based on the size of the extracted first character image by the extraction unit further includes a character group image acquisition means for acquiring a character group image including a plurality of character images,
The generating means, when said extracted by said extraction means second character image is not less than the predetermined number, said first character image and the second character images extracted by the extraction means, said first using a 1 the calculated higher than one pixel accuracy in the resolution of the first character image and the second character image phase, of the second resolution is a higher resolution than the first resolution to generate a character image, when the extracted by the extracting means second character image is less than the predetermined number, a character image extracted from the acquired character group image by the character group image acquisition unit the image processing apparatus according to claim 1 for generating a further character images having the second resolution by using a distance predetermined value less than der Rubun shaped image with vector data representing the first character image.
前記文字群画像取得手段は、位相が異なる複数の文字群画像を取得する
請求項4に記載の画像処理装置。
The image processing apparatus according to claim 4, wherein the character group image acquisition unit acquires a plurality of character group images having different phases.
前記抽出手段により抽出された前記第1の文字画像の大きさに対応する文字画像を生成する対応文字画像生成手段をさらに有し、
前記生成手段は、前記抽出手段により抽出された前記第2の文字画像が所定数以上である場合、前記抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度よりも高い解像度である前記第2の解像度の文字画像を生成し、前記抽出手段により抽出された前記第2の文字画像が所定数未満である場合、前記対応文字画像生成手段により生成された前記文字画像をさらに用いて前記第2の解像度の文字画像を生成する
請求項1に記載の画像処理装置。
Further comprising a corresponding character image generating means for generating a character image corresponding to the size of the first character image extracted by said extraction means,
The generating means, when said extracted by said extraction means second character image is not less than the predetermined number, said first character image and the second character images extracted by the extraction means, said first using a 1 the calculated higher than one pixel accuracy in the resolution of the first character image and the second character image phase, of the second resolution is a higher resolution than the first resolution generating a character image, said extracted by the extraction means second character image is less than the predetermined number, the corresponding character image generating means and the second resolution further using the character image generated by The image processing apparatus according to claim 1, wherein a character image is generated.
原稿を読み取った読取画像に含まれる文字画像を切出す切出し手段と、
前記切出し手段により切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータの距離が予め定めた値未満である第2の文字画像とを前記切出し手段により切出された前記複数の文字画像から第1の解像度で抽出する抽出手段と、
前記抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度よりも高い解像度である第2の解像度の文字画像を生成する生成手段と
を有し、
前記生成手段は、前記第1の解像度における前記第1の文字画像及び前記第2の文字画像の位相に基づいて、前記第1の文字画像及び前記第2の文字画像の画素値から、前記第2の解像度における文字画像の画素値を補間する
画像処理装置。
Cutting means for cutting out a character image included in a scanned image obtained by scanning a document;
Wherein a first character image specified from among the plurality of character images extracted by the cutout section, of the first vector data representing the character image distance second Ru der than the predetermined value a character image from the plurality of character images extracted by said cutout means and extracting means for extracting at a first resolution,
A character image extracted first character image and the second by the extraction means, the first of said first calculated at a higher than one pixel accuracy in the resolution of the character image and the second character image And generating means for generating a character image having a second resolution that is higher than the first resolution using the phase of
It said generating means, based on the first character image and the second character image phase in the first resolution, the pixel value of the first character image and the second character image, the first An image processing apparatus that interpolates pixel values of a character image at a resolution of 2.
原稿を読み取った読取画像に含まれる文字画像を切出す切出し手段と、
前記切出し手段により切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータの距離が予め定めた値未満である第2の文字画像と、を前記切出し手段により切出された前記複数の文字画像から第1の解像度で抽出する抽出手段と、
前記抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とに基づいて、前記第1の文字画像及び前記第2の文字画像のノイズを除去する除去手段と、
前記除去手段によりノイズを除去された前記第1の文字画像及び前記第2の文字画像と前記第1の文字画像及び前記第2の文字画像の位相とを用いて、前記第1の解像度より高い解像度である第2の解像度の文字画像を生成する生成手段と
を有する画像処理装置。
Cutting means for cutting out a character image included in a scanned image obtained by scanning a document;
Wherein a first character image specified from among the plurality of character images extracted by the cutout section, of the first vector data representing the character image distance second Ru der than the predetermined value and character image from the cutout section by cut out said plurality of character image extraction means for extracting at a first resolution,
A character image extracted first character image and the second by the extraction means, the first of said first calculated at a higher than one pixel accuracy in the resolution of the character image and the second character image Removing means for removing noise of the first character image and the second character image based on the phase of
Higher than the first resolution using the first character image, the second character image, and the phase of the first character image and the second character image from which noise has been removed by the removing means An image processing apparatus comprising: generating means for generating a character image having a second resolution which is a resolution.
原稿を読み取った読取画像に含まれる文字画像を切出す切出し手段と、
前記切出し手段により切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータの距離が予め定めた値未満である第2の文字画像と、を前記切出し手段により切出された前記複数の文字画像から第1の解像度で抽出する抽出手段と、
前記抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度より高い解像度である第2の解像度の文字画像を生成する生成手段と、
前記抽出手段に抽出された前記第1の文字画像及び前記第2の文字画像の位置に基づいて算出された前記第2の解像度の文字画像における位置に、前記生成手段により生成された前記第2の解像度の文字画像を配置する配置手段と
を有する画像拡大装置。
Cutting means for cutting out a character image included in a scanned image obtained by scanning a document;
Wherein a first character image specified from among the plurality of character images extracted by the cutout section, of the first vector data representing the character image distance second Ru der than the predetermined value and character image from the cutout section by cut out said plurality of character image extraction means for extracting at a first resolution,
A character image extracted first character image and the second by the extraction means, the first of said first calculated at a higher than one pixel accuracy in the resolution of the character image and the second character image Generating means for generating a character image having a second resolution higher than the first resolution using the phase of
The position in the second resolution of the character image is calculated based on the position of the extracted first character image and the second character image to the extraction means, the second generated by the generating means An image enlarging apparatus comprising: arrangement means for arranging a character image having a resolution of 2.
原稿を読み取った読取画像に含まれる文字画像を切出す切出し手段と、
前記切出し手段により切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータの距離が予め定めた値未満である第2の文字画像と、を前記切出し手段により切出された前記複数の文字画像から第1の解像度で抽出する文字画像抽出手段と、
前記文字画像抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度よりも高い解像度である第2の解像度の文字画像を生成する文字画像生成手段と、
前記文字画像生成手段により生成された前記第2の解像度の文字画像と、前記抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像の位相及び位置とを符号化する符号化手段と
を有する画像符号化装置。
A cutout means for cutting out a statement strokes image included in the read image obtained by reading the document,
Wherein a first character image specified from among the plurality of character images extracted by the cutout section, of the first vector data representing the character image distance second Ru der than the predetermined value a character image extraction means for extracting a character image from the cutout section by cut out said plurality of character images at a first resolution,
Wherein the character image extracted is extracted by means of the first character image and the second character image, the first of said first calculated at a higher than one pixel accuracy in resolution character image and the second by using the character images phase, a character image generating means for generating a character image of the second resolution is a higher resolution than the first resolution,
Encoding for encoding the character image of the second resolution generated by the character image generation means, and the phase and position of the first character image and the second character image extracted by the extraction means. An image encoding apparatus comprising: means.
請求項10記載の画像符号化装置によって、前記第2の解像度の文字画像と、前記第1の解像度の文字画像の位相及び位置とが符号化された符号データを復号化する復号化手段と、
前記復号化手段により復号化された前記第2の解像度の文字画像と、前記第1の解像度の文字画像の位相とに基づいて、前記第1の解像度の文字画像を生成する復号文字画像生成手段と、
前記復号化手段により復号化された位置に基づいて、前記復号文字画像生成手段により生成された文字画像を出力画像に配置する文字画像配置手段と
を有する画像復号化装置。
The claims 10 image encoding apparatus, comprising: a decoding means for decoding said second resolution of the character image, the code data and the phase and position is encoded in the first resolution of the character image,
A character image decoded in the second resolution by the decoding means, based on the phase of the first resolution of the character image, decoding the character image generating means for generating a character image of the first resolution When,
Based on the decoded position by said decoding means, the image decoding apparatus and a character image arrangement means for arranging the output image a character image generated by the decoded character image generating means.
前記復号文字画像生成手段により生成される文字画像の倍率と、前記文字画像配置手段により配置される位置とを制御する倍率・位置制御手段をさらに有する
請求項11に記載の画像復号化装置。
And the magnification of a character image generated by the decoded character image generating means, the image decoding apparatus of claim 11, further comprising a magnification-position control means for controlling the position which is located by the character image arrangement unit.
原稿を読み取った読取画像に含まれる文字画像を切出す切出し手段と、
前記切出し手段により切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータの距離が予め定めた値未満である第2の文字画像と、を前記切出し手段により切出された前記複数の文字画像から第1の解像度で抽出する文字画像抽出手段と、
前記文字画像抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度よりも高い解像度である第2の解像度の文字画像を生成する文字画像生成手段と、
前記文字画像生成手段により生成された前記第2の解像度の文字画像と、前記抽出手段により抽出された前記第1の文字画像及び前記第2の文字画像の位相及び位置とを符号化する符号化手段と、
前記符号化手段により符号化された符号データを復号化する復号化手段と、
前記復号化手段により復号化された前記第2の解像度の文字画像と、前記第1の解像度の文字画像の位相とに基づいて、前記第1の解像度の文字画像を生成する復号文字画像生成手段と、
前記復号化手段により復号化された位置に基づいて、前記復号文字画像生成手段により生成された文字画像を出力画像に配置する文字画像配置手段と
を有する画像処理システム。
A cutout means for cutting out a statement strokes image included in the read image obtained by reading the document,
Wherein a first character image specified from among the plurality of character images extracted by the cutout section, of the first vector data representing the character image distance second Ru der than the predetermined value a character image extraction means for extracting a character image from the cutout section by cut out said plurality of character images at a first resolution,
Wherein the character image extracted is extracted by means of the first character image and the second character image, the first of said first calculated at a higher than one pixel accuracy in resolution character image and the second by using the character images phase, a character image generating means for generating a character image of the second resolution is a higher resolution than the first resolution,
Encoding for encoding the character image of the second resolution generated by the character image generation means, and the phase and position of the first character image and the second character image extracted by the extraction means. Means,
Decoding means for decoding the code data encoded by the encoding means;
A character image decoded in the second resolution by the decoding means, based on the phase of the first resolution of the character image, decoding the character image generating means for generating a character image of the first resolution When,
The image processing system and a character image arranging means based on said decoded position by the decoding means, to place the character image generated by the decoded character image generating means in the output image.
コンピュータを含む画像処理装置において、
原稿を読み取った読取画像に含まれる文字画像を切出す切出しステップと、
前記切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータの距離が予め定めた値未満である第2の文字画像と、を前記切出された前記複数の文字画像から第1の解像度で抽出する抽出ステップと、
前記抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度よりも高い解像度である第2の解像度の文字画像を生成する生成ステップと
を前記画像処理装置のコンピュータに実行させるプログラム。
In an image processing apparatus including a computer,
A cutting step for cutting out a character image included in a scanned image obtained by scanning a document;
A first character image specified from among the plurality of character images the cut out, and the second character image Ru value less der which distance is predetermined between the vector data representing the character image of the first an extraction step of extracting at a first resolution from said plurality of character images cut out said,
Said first character image and the second character image the extracted, and the first the calculated higher than one pixel accuracy in the resolution of the first character image and the second character image phase A program for causing the computer of the image processing apparatus to execute a generating step of generating a character image having a second resolution that is higher than the first resolution using
コンピュータを含む画像処理装置において、
原稿を読み取った読取画像に含まれる文字画像を切出す切出しステップと、
前記切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータの距離が予め定めた値未満である第2の文字画像とを前記切出された複数の文字画像から第1の解像度で抽出する抽出ステップと、
前記抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度より高い解像度である第2の解像度の文字画像を生成する生成ステップと
を前記画像処理装置のコンピュータに実行させ、
前記生成ステップは、前記第1の解像度における前記第1の文字画像及び前記第2の文字画像の位相に基づいて、前記第1の文字画像及び前記第2の文字画像の画素値から、前記第2の解像度における文字画像の画素値を補間する
プログラム。
In an image processing apparatus including a computer,
A cutting step for cutting out a character image included in a scanned image obtained by scanning a document;
A first character image specified from among the plurality of character images the cut out, and the second character image Ru value less der which distance is predetermined between the vector data representing the character image of the first Extracting at a first resolution from the cut out character images;
Said first character image and the second character image the extracted, and the first the calculated higher than one pixel accuracy in the resolution of the first character image and the second character image phase Generating a character image having a second resolution that is higher than the first resolution using the computer, and causing the computer of the image processing apparatus to execute
It said generating step, based on said first character image and the second character image phase in the first resolution, the pixel value of the first character image and the second character image, the first A program that interpolates pixel values of character images at 2 resolutions.
コンピュータを含む画像処理装置において、
原稿を読み取った読取画像に含まれる文字画像を切出す切出しステップと、
前記切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータの距離が予め定めた値未満である第2の文字画像と、を前記切出された複数の文字画像から第1の解像度で抽出する抽出ステップと、
前記抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とに基づいて、前記第1の文字画像及び前記第2の文字画像のノイズを除去する除去ステップと、
前記ノイズを除去された前記第1の文字画像及び前記第2の文字画像と前記第1の文字画像及び前記第2の文字画像の位相とを用いて、前記第1の解像度より高い解像度である第2の解像度の文字画像を生成する生成ステップと
を前記画像処理装置のコンピュータに実行させるプログラム。
In an image processing apparatus including a computer,
A cutting step for cutting out a character image included in a scanned image obtained by scanning a document;
A first character image specified from among the plurality of character images the cut out, and the second character image Ru value less der which distance is predetermined between the vector data representing the character image of the first Extracting at a first resolution from the extracted plurality of character images;
Said first character image and the second character image the extracted, and the first the calculated higher than one pixel accuracy in the resolution of the first character image and the second character image phase A removing step of removing noise of the first character image and the second character image, based on
The resolution is higher than the first resolution using the first character image and the second character image from which the noise has been removed and the phase of the first character image and the second character image. A program for causing a computer of the image processing apparatus to execute a generation step of generating a character image having a second resolution.
コンピュータを含む画像拡大装置において、
原稿を読み取った読取画像に含まれる文字画像を切出す切出しステップと、
前記切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータのの距離が予め定めた値未満である第2の文字画像と、を前記切出された複数の文字画像から第1の解像度で抽出する抽出ステップと、
前記抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度より高い解像度である第2の解像度の文字画像を生成する生成ステップと、
前記抽出された前記第1の文字画像及び前記第2の文字画像の位置に基づいて算出された前記第2の解像度の文字画像における位置に、前記生成された前記第2の解像度の文字画像を配置する配置ステップと
を前記画像拡大装置のコンピュータに実行させるプログラム。
In an image enlarging apparatus including a computer,
A cutting step for cutting out a character image included in a scanned image obtained by scanning a document;
First character image and a second character image Ru value less der which distance is determined in advance as vector data representing the character image of the first identified from among the plurality of character images the cut Extracting at a first resolution from the clipped character images; and
Said first character image and the second character image the extracted, and the first the calculated higher than one pixel accuracy in the resolution of the first character image and the second character image phase Generating a character image of a second resolution that is higher than the first resolution using
The position in the extracted first character image and the second of said calculated based on the position of the character image a second resolution of the character image, a character image of the generated second resolution A program for causing a computer of the image enlargement apparatus to execute an arrangement step of arranging.
コンピュータを含む画像符号化装置において、
原稿を読み取った読取画像に含まれる文字画像を切出す切出しステップと、
前記切出された複数の文字画像のうちから特定される第1の文字画像と、該第1の文字画像を表すベクトルデータの距離が予め定めた値未満である第2の文字画像と、を前記切出された複数の文字画像から第1の解像度で抽出する文字画像抽出ステップと、
前記抽出された前記第1の文字画像及び前記第2の文字画像と、前記第1の解像度における1画素より高い精度で算出された前記第1の文字画像及び前記第2の文字画像の位相とを用いて、該第1の解像度よりも高い解像度である第2の解像度の文字画像を生成する文字画像生成ステップと、
前記生成された前記第2の解像度の文字画像と、前記抽出された前記第1の文字画像及び前記第2の文字画像の位相及び位置とを符号化する符号化ステップと
を前記画像符号化装置のコンピュータに実行させるプログラム。
In an image encoding device including a computer,
A cutout step of cutting out a statement strokes image included in the read image obtained by reading the document,
A first character image specified from among the plurality of character images the cut out, and the second character image Ru value less der which distance is predetermined between the vector data representing the character image of the first , a character image extraction step of extracting at a first resolution from a plurality of character images cut out said,
Said first character image and the second character image the extracted, and the first the calculated higher than one pixel accuracy in the resolution of the first character image and the second character image phase using a character image generating step of generating a character image of the second resolution is a higher resolution than the first resolution,
An encoding step for encoding the generated character image of the second resolution and the phase and position of the extracted first character image and the second character image; To be executed by other computers.
コンピュータを含む画像復号化装置において、
請求項18記載のプログラムによって、前記第2の解像度の文字画像と、前記第1の解像度の文字画像の位相及び位置とが符号化された符号データを復号化する復号化ステップと、
前記復号化された前記第2の解像度の文字画像と、前記第1の解像度の文字画像の位相とに基づいて、前記第1の解像度の文字画像を生成する復号文字画像生成ステップと、
前記復号化された位置に基づいて、前記生成された文字画像を出力画像に配置する文字画像配置ステップと
を前記画像復号化装置のコンピュータに実行させるプログラム。

In an image decoding apparatus including a computer,
By claim 18 programs, the decoding step of decoding said second resolution of the character image, the code data and the phase and position is encoded in the first resolution of the character image,
A character image of the second resolution, which is the decoded, based in the phase of the first resolution of the character image, and the decoded character image generating step of generating a character image of the first resolution,
A program that causes a computer of the image decoding apparatus to execute a character image arrangement step of arranging the generated character image in an output image based on the decoded position.

JP2007098258A 2006-05-08 2007-04-04 Image processing apparatus, image enlarging apparatus, image encoding apparatus, image decoding apparatus, image processing system, and program Expired - Fee Related JP5041141B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2007098258A JP5041141B2 (en) 2006-05-08 2007-04-04 Image processing apparatus, image enlarging apparatus, image encoding apparatus, image decoding apparatus, image processing system, and program
US11/797,332 US8913833B2 (en) 2006-05-08 2007-05-02 Image processing apparatus, image enlarging apparatus, image coding apparatus, image decoding apparatus, image processing system and medium storing program

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
JP2006128915 2006-05-08
JP2006128915 2006-05-08
JP2006323459 2006-11-30
JP2006323459 2006-11-30
JP2007033022 2007-02-14
JP2007033022 2007-02-14
JP2007098258A JP5041141B2 (en) 2006-05-08 2007-04-04 Image processing apparatus, image enlarging apparatus, image encoding apparatus, image decoding apparatus, image processing system, and program

Publications (2)

Publication Number Publication Date
JP2008228256A JP2008228256A (en) 2008-09-25
JP5041141B2 true JP5041141B2 (en) 2012-10-03

Family

ID=39846276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007098258A Expired - Fee Related JP5041141B2 (en) 2006-05-08 2007-04-04 Image processing apparatus, image enlarging apparatus, image encoding apparatus, image decoding apparatus, image processing system, and program

Country Status (1)

Country Link
JP (1) JP5041141B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5321109B2 (en) * 2009-02-13 2013-10-23 富士ゼロックス株式会社 Information processing apparatus and information processing program
JP5751919B2 (en) * 2011-04-28 2015-07-22 キヤノン株式会社 Image processing apparatus, image processing method, and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05130384A (en) * 1991-11-08 1993-05-25 Canon Inc Picture recorder
JP4095204B2 (en) * 1999-06-11 2008-06-04 キヤノン株式会社 Image processing apparatus, method, and computer-readable storage medium
JP4250237B2 (en) * 1998-11-10 2009-04-08 キヤノン株式会社 Image processing apparatus, method, and computer-readable storage medium
US6285804B1 (en) * 1998-12-21 2001-09-04 Sharp Laboratories Of America, Inc. Resolution improvement from multiple images of a scene containing motion at fractional pixel values
JP2000255120A (en) * 1999-03-05 2000-09-19 Ricoh Co Ltd Printer control device
JP2001268351A (en) * 2000-03-16 2001-09-28 Murata Mach Ltd Method for processing image
JP2002290716A (en) * 2001-03-22 2002-10-04 Ricoh Co Ltd Image processing device
US6983080B2 (en) * 2002-07-19 2006-01-03 Agilent Technologies, Inc. Resolution and image quality improvements for small image sensors

Also Published As

Publication number Publication date
JP2008228256A (en) 2008-09-25

Similar Documents

Publication Publication Date Title
JP4568460B2 (en) Image processing apparatus and recording medium
US8913833B2 (en) Image processing apparatus, image enlarging apparatus, image coding apparatus, image decoding apparatus, image processing system and medium storing program
EP1347411B1 (en) Fractal image enlargement
EP1349371B1 (en) Image processing apparatus, image processing program and storage medium storing the program
JP4582204B2 (en) Image processing apparatus, image conversion method, and computer program
JP5178490B2 (en) Image processing apparatus, image processing method, and computer program
JP5041141B2 (en) Image processing apparatus, image enlarging apparatus, image encoding apparatus, image decoding apparatus, image processing system, and program
JP4582200B2 (en) Image processing apparatus, image conversion method, and computer program
US8743419B2 (en) Image processing apparatus and method converting low-resolution image to high-resolution using signal value patterns
US6795211B1 (en) Resolution enhancement of compressed image data
US8270722B2 (en) Image processing with preferential vectorization of character and graphic regions
JP3858559B2 (en) Image processing apparatus, image processing method, and recording medium
JP4181604B2 (en) Output device and program
JP4165046B2 (en) Image processing apparatus, image processing method, image processing program, and computer-readable recording medium on which image processing program is recorded
JP2005063055A (en) Image creating apparatus, image creating program, and recording medium on which this program is recorded
JP4140362B2 (en) Image processing device
JP4716255B2 (en) Image processing apparatus, image processing method, and program thereof
JP4872715B2 (en) Image processing apparatus and program
JP3624153B2 (en) Image processing apparatus and image processing method
JP3647071B2 (en) Image processing apparatus and method
JP3669081B2 (en) Image processing device
JP4115073B2 (en) Image processing apparatus and image processing method
JP2006050481A (en) Image processing apparatus, image processing method and program thereof
JP4730525B2 (en) Image processing apparatus and program thereof
JP4517288B2 (en) Image processing apparatus, image processing method, and program thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100312

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110907

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120528

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: 20120613

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120626

R150 Certificate of patent or registration of utility model

Ref document number: 5041141

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150720

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

LAPS Cancellation because of no payment of annual fees
R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350