JP2006197178A - Image processor, image processing method, program, and storage medium - Google Patents

Image processor, image processing method, program, and storage medium Download PDF

Info

Publication number
JP2006197178A
JP2006197178A JP2005006007A JP2005006007A JP2006197178A JP 2006197178 A JP2006197178 A JP 2006197178A JP 2005006007 A JP2005006007 A JP 2005006007A JP 2005006007 A JP2005006007 A JP 2005006007A JP 2006197178 A JP2006197178 A JP 2006197178A
Authority
JP
Japan
Prior art keywords
image
specific attribute
color
generating
binary image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005006007A
Other languages
Japanese (ja)
Other versions
JP4364809B2 (en
Inventor
Toshio Miyazawa
利夫 宮澤
Fumihiro Hasegawa
史裕 長谷川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2005006007A priority Critical patent/JP4364809B2/en
Publication of JP2006197178A publication Critical patent/JP2006197178A/en
Application granted granted Critical
Publication of JP4364809B2 publication Critical patent/JP4364809B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor capable of attaining high compression of a color image, while suppressing degradation of image quality, and to provide an image processing method, a program, and a storage medium. <P>SOLUTION: The image processor is provided with a means for acquiring a multivalued processing target image, a means for acquiring a binary image generated on the basis of the multivalued image, a means for identifying a region having a specific attribute on the basis of either of the images, a means for generating a specific attribute binary image in which a part corresponding to a region, without having the specific attribute is replaced with white pixels in the binary image, a means for generating a non-specific attribute multivalued image, in which pixels at the specific attribute in the multivalued image are filled with a background color, a means for deciding colors composing the specific attribute, a means for generating the specific attribute binary image composed of each decided color, and a means for putting the non-specific attribute multivalued image and the specific attribute binary image comprising each decided color into one file by compressing and encoding each of the images. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、カラー画像を高圧縮化する技術に関する。   The present invention relates to a technique for highly compressing a color image.

従来より、カラー画像を高圧縮化する方法としては、例えば、特許文献1に記載されているもののように、文字部、絵柄部を分離し、JPEG,MMRでそれぞれ圧縮する処理を、絵柄部で再起的に行うもの、特許文献2に記載されているもののように、カラー画像を二値化し、二値画像を利用してカラー画像からエッジ部を除去し、二値画像とエッジ除去されたカラー画像を各々符合化するようにしたもの、特許文献3に記載されているもののように、線画を拡張して背景穴埋めを行うことにより、画質の向上を行うようにしたものなどが提案されている。
特許第02611012号公報 特許第2872334号公報 特許第02877448号公報
Conventionally, as a method for highly compressing a color image, for example, a process of separating a character part and a picture part and compressing them by JPEG and MMR, as described in Patent Document 1, is performed in the picture part. Like recurring ones or those described in Patent Document 2, the color image is binarized, the binary image is used to remove the edge from the color image, and the binary image and the color from which the edge has been removed There have been proposed ones in which images are encoded, and those in which image quality is improved by expanding a line drawing and filling a background hole, such as those described in Patent Document 3. .
Japanese Patent No. 026111012 Japanese Patent No. 2872334 Japanese Patent No. 0287748

本発明は、このような技術に関するものであり、カラー画像を、画質の劣化を抑えつつ、高圧縮化することができる画像処理装置および画像処理方法およびプログラムおよび記憶媒体を提供すること目的とする。   The present invention relates to such a technique, and an object of the present invention is to provide an image processing apparatus, an image processing method, a program, and a storage medium that can highly compress a color image while suppressing deterioration in image quality. .

本発明は、処理対象画像である多値画像を取得する手段と、前記多値画像に基づき生成された二値画像を取得する手段と、前記いずれかの画像を基に特定の属性を持つ領域を識別する手段と、前記二値画像において、前記特定の属性ではない領域に対応する部分を白画素に置き換えた特定属性二値画像を生成する手段と、前記多値画像中の前記特定属性部分の画素を背景色で埋めた非特定属性多値画像を生成する手段と、前記特定属性部分を構成する色を決定する手段と、定した各色からなる前記特定属性二値画像を生成する手段と、前記非特性属性多値画像と決定した各色からなる前記特定属性二値画像を各々圧縮符号化し、1つのファイルにまとめる手段とを備えたものである。   The present invention provides a means for acquiring a multi-valued image as a processing target image, a means for acquiring a binary image generated based on the multi-valued image, and a region having a specific attribute based on any one of the images Means for generating a specific attribute binary image in which a portion corresponding to a region that is not the specific attribute in the binary image is replaced with a white pixel, and the specific attribute portion in the multi-value image Means for generating a non-specific attribute multi-valued image in which pixels are filled with a background color, means for determining a color constituting the specific attribute part, and means for generating the specific attribute binary image composed of each defined color; The non-characteristic attribute multi-valued image and the specific attribute binary image composed of the determined colors are each compression-encoded and provided in one file.

また、処理対象画像である多値画像を取得する手段と、前記多値画像に基づき生成された二値画像を取得する手段と、前記いずれかの画像を基に特定の属性を持つ領域を識別する手段と、前記二値画像において、前記特定の属性ではない領域に対応する部分を白画素に置き換えた特定属性二値画像を生成する手段と、前記多値画像中の前記特定属性部分の画素を背景色で埋めた非特定属性多値画像を生成する手段と、前記特定属性部分を構成する色を決定する手段と、定した各色からなる前記特定属性多値画像を生成する手段と、前記非特性属性多値画像と決定した各色からなる前記特定属性多値画像を各々圧縮符号化し、1つのファイルにまとめる手段とを備えたものである。   Further, a means for acquiring a multi-valued image as a processing target image, a means for acquiring a binary image generated based on the multi-valued image, and an area having a specific attribute based on any one of the images Means for generating a specific attribute binary image in which a portion corresponding to the region that is not the specific attribute is replaced with a white pixel in the binary image, and a pixel of the specific attribute portion in the multi-value image Means for generating a non-specific attribute multi-valued image filled with a background color, means for determining a color constituting the specific attribute part, means for generating the specific attribute multi-valued image consisting of each defined color, A non-characteristic multi-valued image and a unit for compressing and encoding the specific attribute multi-valued image made up of each determined color and combining them into one file.

また、処理対象画像である多値画像を取得する手段と、前記多値画像に基づき生成された二値画像を取得する手段と、前記いずれかの画像を基に特定の属性を持つ領域を識別する手段と、前記二値画像において、前記特定の属性ではない領域に対応する部分を白画素に置き換えた特定属性二値画像を生成する手段と、前記多値画像中の前記特定属性部分の画素を背景色で埋めた非特定属性多値画像を生成する手段と、前記特定属性部分を構成する色を決定する手段と、前記特定属性二値画像の前記各特定属性部分の色情報を生成する手段と、前記非特性属性多値画像と前記特定属性二値画像と前記各特定属性部分の色情報を各々圧縮符号化し、1つのファイルにまとめる手段とを備えたものである。   Further, a means for acquiring a multi-valued image as a processing target image, a means for acquiring a binary image generated based on the multi-valued image, and an area having a specific attribute based on any one of the images Means for generating a specific attribute binary image in which a portion corresponding to the region that is not the specific attribute is replaced with a white pixel in the binary image, and a pixel of the specific attribute portion in the multi-value image Generating a non-specific attribute multi-value image in which the specific attribute portion is embedded, means for determining a color constituting the specific attribute portion, and generating color information of each specific attribute portion of the specific attribute binary image Means, and means for compressing and encoding the non-characteristic attribute multi-valued image, the specific attribute binary image, and the color information of each specific attribute part, respectively, and consolidating them into one file.

したがって、本発明によれば、カラー画像を、画質の劣化を抑えつつ、高圧縮化することができるという効果を得る。また、多値文書画像を文字の視認性を犠牲にせずに大幅にサイズを削減することができるという効果も得る。   Therefore, according to the present invention, it is possible to obtain an effect that a color image can be highly compressed while suppressing deterioration in image quality. In addition, the multi-value document image can be greatly reduced in size without sacrificing the character visibility.

以下、添付図面を参照しながら、本発明の実施の形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

なお、以下の記載において、「特定属性」とは「文字領域」をあらわし、「特定属性二値画像」とは「文字のみの二値画像」をあらわし、「非特定属性多値画像」とは「文字を消去したカラー画像」をあらわし、「特定属性部分の色情報」とは「文字の色を表す画像」をあらわす。また、本発明が対象としている画像データフォーマットは、PDF(Portable Document Format;アドベ社の登録商標)であり、PDF画像を高圧縮する方法を提供している。   In the following description, “specific attribute” represents “character area”, “specific attribute binary image” represents “binary image of characters only”, and “non-specific attribute multi-valued image” “Color image with characters erased” is represented, and “color information of specific attribute portion” represents “image representing character color”. The image data format targeted by the present invention is PDF (Portable Document Format; a registered trademark of Adobe Corporation), which provides a method for highly compressing a PDF image.

図1は、本発明の一実施例にかかる画像処理装置の構成を示したものである。   FIG. 1 shows the configuration of an image processing apparatus according to an embodiment of the present invention.

この画像処理装置は、CPU(中央処理装置)1、メモリ2、ハードディスク3、画像を入力するスキャナなどの入力装置4、CD−ROMドライブ5、ディスプレイ6、マウス(図示略)などからなる汎用のデータ処理装置(コンピュータシステム)である。   This image processing apparatus is a general-purpose device comprising a CPU (central processing unit) 1, a memory 2, a hard disk 3, an input device 4 such as a scanner for inputting images, a CD-ROM drive 5, a display 6, a mouse (not shown), and the like. A data processing apparatus (computer system).

ここで、ハードディスク3やCD−ROMドライブ5などの記録媒体7には、本発明の処理機能や処理手順を実現させるためのプログラムが記録されている。また、処理対象の原稿画像は、例えば入力装置4を通してハードディスク3などに格納されている。CPU1は、記録媒体7から上記した処理機能、手順を実現するプログラムを読み出し実行し、画像処理の結果をハードディスク3に保存し、必要に応じてディスプレイ6に出力する。   Here, the recording medium 7 such as the hard disk 3 or the CD-ROM drive 5 stores a program for realizing the processing functions and processing procedures of the present invention. The document image to be processed is stored in the hard disk 3 or the like through the input device 4, for example. The CPU 1 reads out and executes a program for realizing the processing functions and procedures described above from the recording medium 7, stores the result of the image processing in the hard disk 3, and outputs it to the display 6 as necessary.

図2は、本発明の一実施例にかかる画像処理の流れを示したフローチャートであり、図3は、本発明の一実施例にかかる画像処理の概略を示した概略図であり、図4は、図3の画像処理をハードウェア的に実現する際の構成の一例を示している。   FIG. 2 is a flowchart showing a flow of image processing according to an embodiment of the present invention, FIG. 3 is a schematic diagram showing an outline of image processing according to an embodiment of the present invention, and FIG. 3 shows an example of a configuration for realizing the image processing of FIG. 3 in hardware.

まず、イメージスキャナなどの多値画像入力手段101を用いて多値の文書画像を取得する(ステップS101)。   First, a multi-value document image is acquired using a multi-value image input means 101 such as an image scanner (step S101).

次に、特定属性部抽出手段104により画像から特定の属性を持つ部分、たとえば文字部分の位置を特定する(ステップS103)。ここで、文字の位置を知るためには、多値画像から直接取得する場合は特開2002−288589号公報に記載されている方法を採用でき、また、多値画像から二値画像を生成し(ステップS102)、できた二値画像から取得する場合は特開平6−20092号公報に記載されている方法等、既に公開されている文字領域抽出技術を用いればよいが、ここでは二値画像から取得するものとして以下説明を行うが、多値(カラーを含む)から文字領域抽出を行ってももちろん構わない。   Next, the position of a part having a specific attribute, for example, a character part is specified from the image by the specific attribute part extracting means 104 (step S103). Here, in order to know the position of the character, the method described in Japanese Patent Laid-Open No. 2002-288589 can be adopted when directly acquiring from the multi-valued image, and a binary image is generated from the multi-valued image. (Step S102) In the case of obtaining from a binary image that has been made, a character region extraction technique that has already been published, such as the method described in Japanese Patent Laid-Open No. 6-20092, may be used. The following description will be made assuming that the character area is acquired from the above. However, the character area may be extracted from multiple values (including color).

そして、白画素置換手段105により、二値画像において文字以外の黒画素を消去する(ステップS104)。この処理で文字の位置が画素単位でわかることになる。   Then, the white pixel replacement unit 105 erases black pixels other than characters in the binary image (step S104). With this process, the position of the character can be known in pixel units.

次に、特定属性部消去画像生成手段103により、特定属性部分を消去した画像を作る(ステップS105)。カラー画像において、文字部分の画素を周囲の色で置き換えた画像を作ればよい。   Next, the specific attribute portion erased image generating means 103 creates an image from which the specific attribute portion has been erased (step S105). In a color image, an image in which pixels in a character portion are replaced with surrounding colors may be created.

次に、特定属性部色決定手段106により、特定属性部分の色を決定する(ステップS106)。文字を構成する黒画素の位置にある、カラー画像の画素色をすべて求め、このデータから多く使われている色を数色選んで代表色とする。そして、画素ごと、あるいは連結成分ごとに文字を構成する画素がどの代表色に最も近いかを判断する。   Next, the color of the specific attribute portion is determined by the specific attribute portion color determining means 106 (step S106). All the pixel colors of the color image at the position of the black pixel constituting the character are obtained, and several frequently used colors are selected from this data as representative colors. Then, it is determined for each pixel or for each connected component which representative color the pixel constituting the character is closest to.

次に、特定属性画素画像生成手段107により、特定属性を持つ画素が、画素ごと、あるいは連結成分ごとに判断した色を持つ画像を生成する(ステップS107)。限られた色のみをもつ多値画像(例えばPNG形式)でもよいし、色ごとに1つずつ二値画像をもってもよいが、ここでは二値画像を色ごとに1つずつ持つものとして以下説明を行う。   Next, the specific attribute pixel image generation unit 107 generates an image in which the pixel having the specific attribute has a color determined for each pixel or for each connected component (step S107). A multi-valued image having only a limited color (for example, PNG format) may be used, or one binary image may be provided for each color, but here it will be described as having a binary image for each color. I do.

次に、画像符号化手段108により、生成された特定属性画素を消去した画像と、特定属性画素のみからなる画像から圧縮画像を生成する(ステップS108)。たとえば前者はJPEG圧縮、後者はMMR圧縮を行うとファイルサイズが効率的に小さくなる。   Next, the image encoding unit 108 generates a compressed image from an image in which the generated specific attribute pixel is deleted and an image including only the specific attribute pixel (step S108). For example, if the former is JPEG compression and the latter is MMR compression, the file size is effectively reduced.

つぎに、まとめファイル作成手段109により、特定属性部を消去した画像に、特定属性画素のみからなる画像を重ね合わせ表示できる形で合成する(ステップS109)。これらを重ね合わせてみれば、背景の上に文字が貼り付いている形となり、原画像と同様に見ることができる。   Next, the summary file creation unit 109 synthesizes the image having only the specific attribute pixels on the image from which the specific attribute portion has been erased (step S109). If you superimpose these, the text will be pasted on the background and you can see it like the original image.

以上の処理であまり視認性を低下させずにファイルサイズの大幅な圧縮が可能になる。理由は以下のとおりである。   With the above processing, the file size can be greatly compressed without significantly reducing the visibility. The reason is as follows.

(1) JPEG圧縮は画素値の変動が激しい画像については圧縮効率があまりよくないが、ここで述べた方法で文字部分を消去すれば、文字部の画素値変動がなくなるので効率がよくなる   (1) JPEG compression is not very efficient for images with large pixel value fluctuations, but if the character part is erased by the method described here, the pixel value fluctuations in the character part are eliminated and the efficiency is improved.

(2)文字部分は色数を大幅に減らしているのでこれも圧縮効率がよくなる。   (2) Since the number of colors of the character portion is greatly reduced, this also improves the compression efficiency.

また、さらに画質や圧縮率を向上させるための処理を加えることもできる。図5は処理を追加した場合の処理フロー、および、図6は処理を追加した場合の構成図である。   In addition, processing for further improving the image quality and compression rate can be added. FIG. 5 is a processing flow when processing is added, and FIG. 6 is a configuration diagram when processing is added.

まず、イメージスキャナなどの多値画像入力手段201を用いて多値の文書画像を取得する(ステップS201)。   First, a multi-value document image is acquired using multi-value image input means 201 such as an image scanner (step S201).

そして、先鋭化手段210により、ステップS201の処理で得られたカラー画像の平滑化を行う(ステップS202)。これは、カラー画像においてはエッジが弱い画像で表現されている場合があり、このままでは二値化を行った際に、文字がかすれ気味になってしまい、文字画像の可読性および圧縮効率が低下するためである。先鋭化により文字の可読性が向上するのに役立つためである。   Then, the sharpening unit 210 smoothes the color image obtained in step S201 (step S202). This may be expressed as an image with weak edges in a color image. If binarization is performed as it is, the character becomes faint and the readability and compression efficiency of the character image are reduced. Because. This is because sharpening helps to improve the readability of characters.

また、平滑化手段211により、ステップS201の処理で得られたカラー画像の平滑化を行う(ステップS203)。これは、カラー画像においては中間色が細かい相異なる色の画素の集合で表現されている場合があり、このままでは二値化を行った際に、文字ストローク内部が穴だらけの二値画像になってしまい、文字画像の圧縮効率が低下するためである。また、画像の平滑化は文字を消去したカラー画像(背景画像)に対して行ってもよい。これは、背景画像はJPEG圧縮を行うので、平滑化により圧縮効率が高まることと、低解像度化によって発生する可能性のあるモアレの抑制に役立つためである。   Further, the smoothing unit 211 smoothes the color image obtained by the process of step S201 (step S203). This is because in a color image, the intermediate color may be expressed by a set of pixels of different colors. If binarization is performed as it is, the inside of the character stroke becomes a binary image full of holes. This is because the compression efficiency of the character image is lowered. Further, the smoothing of the image may be performed on a color image (background image) from which characters are erased. This is because the background image is subjected to JPEG compression, so that the compression efficiency is increased by smoothing and it is useful for suppressing moire that may occur due to the reduction in resolution.

次に、特定属性部抽出手段204により画像から特定の属性を持つ部分、たとえば文字部分の位置を特定する(ステップS205)。ここで、文字の位置を知るためには、多値画像から直接取得する場合は特開2002−288589号公報に記載されている方法を採用でき、また、多値画像から二値画像を生成し(ステップS204)、できた二値画像から取得する場合は特開平6−20092号公報に記載されている方法等、既に公開されている文字領域抽出技術を用いればよいが、ここでは二値画像から取得するものとして以下説明を行うが、多値(カラーを含む)から文字領域抽出を行ってももちろん構わない。   Next, the position of a part having a specific attribute, for example, a character part is specified from the image by the specific attribute part extracting means 204 (step S205). Here, in order to know the position of the character, the method described in Japanese Patent Laid-Open No. 2002-288589 can be adopted when directly acquiring from the multi-valued image, and a binary image is generated from the multi-valued image. (Step S204) In the case of obtaining from a binary image that has been made, a character region extraction technique that has already been published, such as the method described in Japanese Patent Laid-Open No. 6-20092, may be used. The following description will be made assuming that the character area is acquired from the above. However, the character area may be extracted from multiple values (including color).

そして、白画素置換手段105により、二値画像において文字以外の黒画素を消去する(ステップS206)。この処理で文字の位置が画素単位でわかることになる。   Then, the white pixel replacement unit 105 erases black pixels other than characters in the binary image (step S206). With this process, the position of the character can be known in pixel units.

次に、連結成分サイズ吟味手段212により、文字以外を消去した二値画像から黒画素の連結成分を抽出し、大きすぎるものと小さすぎるものをさらに消去してもよい(ステップS207)。小さすぎる連結成分は、ノイズ等、文字でない可能性が高い上、このまま二値画像にすれば圧縮効率が低下するためである。また、文字領域の特定は技術的に難しく、必ずしも正しい文字領域が抽出されるとは限らない。そのため、元画像に図の領域や写真の領域があるばあい、ここを間違って文字とする可能性も捨てきれない。大きすぎる連結成分はこれら文字以外の可能性が高い。また、大きな連結成分が実際には文字である場合、この処理では誤って背景に分類されることになるが、サイズが大きいので人間の目からは十分読み取ることができる。   Next, the connected component size examining unit 212 may extract the connected components of black pixels from the binary image from which characters other than characters have been deleted, and further delete those that are too large and too small (step S207). This is because a connected component that is too small is not likely to be a character such as noise, and the compression efficiency decreases if the binary image is used as it is. Also, it is technically difficult to specify a character area, and a correct character area is not always extracted. For this reason, if the original image has a figure area or a photo area, the possibility of erroneously setting it as a character cannot be discarded. Connected components that are too large are likely to be other than these characters. Also, if the large connected component is actually a character, it will be mistakenly classified as background in this process, but it is large enough to be read from the human eye.

次に、特定属性部消去画像生成手段103により、特定属性部分を消去した画像を作る(ステップS208)。カラー画像において、文字部分の画素を周囲の色で置き換えた画像を作ればよい。   Next, the specific attribute portion erased image generating means 103 creates an image from which the specific attribute portion has been erased (step S208). In a color image, an image in which pixels in a character portion are replaced with surrounding colors may be created.

次に、特定属性部色決定手段206により、特定属性部分の色を決定する(ステップS209)。文字を構成する黒画素の位置にある、カラー画像の画素色をすべて求め、このデータから多く使われている色を数色選んで代表色とする。そして、画素ごと、あるいは連結成分ごとに文字を構成する画素がどの代表色に最も近いかを判断する。   Next, the color of the specific attribute portion is determined by the specific attribute portion color determining means 206 (step S209). All the pixel colors of the color image at the position of the black pixel constituting the character are obtained, and several frequently used colors are selected from this data as representative colors. Then, it is determined for each pixel or for each connected component which representative color the pixel constituting the character is closest to.

次に、特定属性画素画像生成手段207により、特定属性を持つ画素が、画素ごと、あるいは連結成分ごとに判断した色を持つ画像を生成する(ステップS210)。限られた色のみをもつ多値画像(例えばPNG形式)でもよいし、色ごとに1つずつ二値画像をもってもよいが、ここでは二値画像を色ごとに1つずつ持つものとして以下説明を行う。   Next, the specific attribute pixel image generation unit 207 generates an image in which the pixel having the specific attribute has a color determined for each pixel or for each connected component (step S210). A multi-valued image having only a limited color (for example, PNG format) may be used, or one binary image may be provided for each color, but here it will be described as having a binary image for each color. I do.

次に、コントラスト調整手段213により、特定属性画素を消去した画像(背景画像)、特定属性画素のみからなる二値画像(文字画像)のコントラスト変換を行って(ステップS211)、コントラストを弱くして滑らかな画像にする。背景画像においてはJPEG圧縮する場合には画素値の変動が少ないほど圧縮効率が高いためである。文字画像はMMRなのでコントラスト変換してもサイズに影響がないが、これらを重ね合わせ表示したときに不自然な色合いにならないよう、背景と同じコントラスト変換を行う。   Next, the contrast adjustment unit 213 performs contrast conversion of the image (background image) from which the specific attribute pixel is deleted and the binary image (character image) including only the specific attribute pixel (step S211), thereby reducing the contrast. Make a smooth image. This is because in the case of JPEG compression in the background image, the smaller the change in pixel value, the higher the compression efficiency. Since the character image is MMR, the contrast conversion does not affect the size, but the same contrast conversion as that of the background is performed so that the color image does not appear unnatural when superimposed.

次に、解像度変換手段214により、特定属性画素を消去した画像を解像度変換し、低解像度化する(ステップS212)。文字画像に比べ、背景画像は解像度が多少低くても視認性に対する影響は小さいので、圧縮効率を考えて低解像度化する。   Next, the resolution conversion unit 214 converts the resolution of the image from which the specific attribute pixel is erased, and lowers the resolution (step S212). Compared to a character image, the background image has a lower effect on the visibility even if the resolution is somewhat lower, so the resolution is reduced in consideration of compression efficiency.

次に、画像符号化手段208により、生成された特定属性画素を消去した画像と、特定属性画素のみからなる画像から圧縮画像を生成する(ステップS213)。たとえば前者はJPEG圧縮、後者はMMR圧縮を行うとファイルサイズが効率的に小さくなる。   Next, the image encoding unit 208 generates a compressed image from an image in which the generated specific attribute pixel is deleted and an image including only the specific attribute pixel (step S213). For example, if the former is JPEG compression and the latter is MMR compression, the file size is effectively reduced.

つぎに、まとめファイル作成手段209により、特定属性部を消去した画像に、特定属性画素のみからなる画像を重ね合わせ表示できる形で合成する(ステップS214)。これらを重ね合わせてみれば、背景の上に文字が貼り付いている形となり、原画像と同様に見ることができる。   Next, the summary file creation unit 209 combines the image with the specific attribute portion deleted with the image including only the specific attribute pixel so as to be displayed in an overlapping manner (step S214). If you superimpose these, the text will be pasted on the background and you can see it like the original image.

図7は、生成された背景の多値画像と、複数枚分の文字だけの二値画像を重ね合わせる方法について述べたものである。背景画像は、主にJPEG(DCT)圧縮で圧縮する。文字がないぶん圧縮比率を高めることができる。また、必要に応じて、圧縮前に解像度変換を行ってもかまわない。   FIG. 7 describes a method of superimposing the generated multi-valued background image and a binary image of only a plurality of characters. The background image is mainly compressed by JPEG (DCT) compression. If there is no character, the compression ratio can be increased. Further, if necessary, resolution conversion may be performed before compression.

二値画像は、MMR形式で1枚ずつ圧縮する方法である。このようにして生成した画像を重ね合わせて1つのファイルにまとめて保存する。そして、保存したファイルをデコード(解凍)して表示することで、文字の可読性を損なわれることなく、かつ高圧縮であるファイルが生成・表示することができる。   The binary image is a method of compressing one image at a time in the MMR format. The images generated in this way are superimposed and saved in one file. Then, by decoding (decompressing) the stored file and displaying it, a highly compressed file can be generated and displayed without impairing the readability of characters.

また、図8は、生成された背景の多値画像と、文字色が15色分ある16色をもつ1枚のカラー画像を重ね合わせる方法について述べたものである。背景画像は、主にJPEG(DCT)圧縮で圧縮する。文字だけの画像では、背景色を除く最大15色までにクラスタリングしたものを、それに対応する文字色に割り当てる。   FIG. 8 describes a method of superimposing the generated background multi-value image and one color image having 16 colors corresponding to 15 character colors. The background image is mainly compressed by JPEG (DCT) compression. In an image with only characters, an image clustered up to a maximum of 15 colors excluding the background color is assigned to the corresponding character color.

その後で、図7に示したような複数枚の二値画像を持つ処理フローとは違って、前記クラスタリングした文字色が最大15色と背景色が1色、合計16色をもつ1枚のカラー画像を生成する。生成された16色のカラー文字画像に対して、デフレート圧縮(PNG形式)で圧縮する。そして、背景画像と文字画像を重ね合わせて1つのファイルにまとめて保存する。画像重ね合わせた画像ファイルでの表示速度が向上するというメリットがある。   Thereafter, unlike the processing flow having a plurality of binary images as shown in FIG. 7, the clustered character color has a maximum of 15 colors and a background color of 1 color, and a single color having a total of 16 colors. Generate an image. The generated 16 color character images are compressed by deflate compression (PNG format). Then, the background image and the character image are superimposed and stored in one file. There is a merit that the display speed of an image file in which images are superimposed is improved.

図9は、生成された背景だけの背景画像と、文字色を示す前景画像と、マスクのための二値画像から重ね合わせる方法についての概要図である。図10,11はその処理フロー図と、構成図である。   FIG. 9 is a schematic diagram of a method of superimposing a generated background image with only a background, a foreground image indicating a character color, and a binary image for a mask. 10 and 11 are a process flow diagram and a configuration diagram thereof.

まず、イメージスキャナなどの多値画像入力手段301を用いて多値の文書画像を取得する(ステップS301)。   First, a multi-value document image is acquired using a multi-value image input unit 301 such as an image scanner (step S301).

また、特定属性部抽出手段303により画像から特定の属性を持つ部分、たとえば文字部分の位置を特定する(ステップS303)。文字の位置を知るためには、多値画像から直接取得する場合は特開2002−288589号公報の方法を採用できる。また、多値画像から二値画像を生成し(ステップS304)、できた二値画像から取得する場合は特開平6−20092号公報等、既に公開されている文字領域抽出技術を用いればよいが、ここでは二値画像から取得するものとして以下説明を行うが、多値(カラーを含む)から文字領域抽出を行ってももちろん構わない。   Further, the position of a part having a specific attribute, for example, a character part is specified from the image by the specific attribute part extracting means 303 (step S303). In order to know the position of the character, the method disclosed in Japanese Patent Application Laid-Open No. 2002-288589 can be adopted in the case of obtaining directly from a multi-valued image. In addition, when a binary image is generated from a multi-valued image (step S304) and acquired from the generated binary image, a character area extraction technique that has already been published, such as Japanese Patent Laid-Open No. 6-20092, may be used. Here, the following description will be made on the assumption that the image is acquired from the binary image. However, the character region may be extracted from multiple values (including color).

また、白画素置換手段304により、二値画像において文字以外の黒画素を消去する(ステップS306)。この処理で文字の位置が画素単位でわかることになる。   In addition, the white pixel replacement unit 304 deletes black pixels other than characters in the binary image (step S306). With this process, the position of the character can be known in pixel units.

次に、特定属性部消去画像生成手段305により、特定属性部分を消去した画像を作る(ステップS308)。カラー画像において、文字部分の画素を周囲の色で置き換えた画像を作ればよい。   Next, the specific attribute portion erased image generating means 305 creates an image from which the specific attribute portion has been erased (step S308). In a color image, an image in which pixels in a character portion are replaced with surrounding colors may be created.

また、特定属性部消去画像生成手段306により、ステップS304で生成された文字だけの二値画像を生成する(ステップS309)。ビットON(ここでは黒画素)はマスク処理で残す画素、ビットOFF(ここでは白画素)はマスク処理で残さない画素として処理されるのに用いる。   Further, the specific attribute portion erasure image generation means 306 generates a binary image of only the characters generated in step S304 (step S309). Bit ON (here, black pixel) is used for processing as a pixel to be left in mask processing, and bit OFF (here, white pixel) is used as a pixel not to be left in mask processing.

また、特定属性部色決定手段307により、特定属性部分の黒画素に対応する文字色を入力カラー画像から取ってきて、塗りつぶす(ステップS310)。特定属性部色決定手段308では、ステップS310で描画された画像を前景画像として、生成する。このとき、文字以外の画素部分は背景色として描画しておく。   Further, the specific attribute portion color determination means 307 takes out the character color corresponding to the black pixel of the specific attribute portion from the input color image and paints it (step S310). The specific attribute color determination unit 308 generates the image drawn in step S310 as a foreground image. At this time, pixel portions other than characters are drawn as a background color.

また、画像符号化手段309により、生成された特定属性画素を消去した背景画像にはDCT(JPEG)圧縮画像、特定属性画素のみからなる文字マスク画像にはMMR圧縮画像、特定属性部分だけを描画した前景画像にはDCT(JPEG)圧縮画像を生成する(ステップS314)。このような方法で圧縮を行うとファイルサイズが効率的に小さくなる。   In addition, the image encoding unit 309 draws a DCT (JPEG) compressed image on the generated background image from which the specific attribute pixel is deleted, an MMR compressed image on the character mask image including only the specific attribute pixel, and only the specific attribute portion. A DCT (JPEG) compressed image is generated for the foreground image thus obtained (step S314). When compression is performed in this way, the file size is effectively reduced.

また、まとめファイル作成手段310により、特定属性部を消去した背景画像と、特定属性画素のみからなる前景画像に対して文字マスク画像をかけて、黒画素部分に対応する画素で残った前景画像を重ね合わせ表示できる形で合成する(ステップS315)。これらを重ね合わせてみれば、背景の上に文字が貼り付いている形となり、原画像と同様に見ることができる。   In addition, the summary file creation unit 310 applies a character mask image to the background image from which the specific attribute portion has been deleted and the foreground image including only the specific attribute pixels, and obtains the foreground image remaining in the pixels corresponding to the black pixel portion. The images are combined in a form that can be superimposed and displayed (step S315). If you superimpose these, the text will be pasted on the background and you can see it like the original image.

以上の処理であまり視認性を低下させずにファイルサイズの大幅な圧縮が可能になる。理由は以下のとおりである。   With the above processing, the file size can be greatly compressed without significantly reducing the visibility. The reason is as follows.

(3) DCT(JPEG)圧縮は画素値の変動が激しい画像については圧縮効率があまりよくないが、ここで述べた方法で文字部分を消去すれば、文字部の画素値変動がなくなるので効率がよくなる。   (3) DCT (JPEG) compression is not very efficient for an image with a large variation in pixel value, but if the character portion is erased by the method described here, the pixel value variation in the character portion is eliminated, so the efficiency is high. Get better.

(4) 文字部分はDCT(JPEG)圧縮をしているが、マスク処理により文字の可読性を損なわれることなく、圧縮効率を向上することができる。   (4) Although the character portion is DCT (JPEG) compressed, the compression efficiency can be improved without impairing the readability of the character by mask processing.

図12は、デコードに関する処理フローである。まず、重ね合わせた画像を取得する(ステップS401)。次に、それぞれの構成画像を復号化する(ステップS402)。   FIG. 12 is a processing flow relating to decoding. First, a superimposed image is acquired (step S401). Next, each constituent image is decoded (step S402).

そして、復号化した画像データを重ね合わせて表示する(ステップS404)。ここで、で解像度変換してあれば、元の解像度に戻すための変倍処理を行う(ステップS403)。   Then, the decoded image data is superimposed and displayed (step S404). Here, if the resolution is converted in step S403, a scaling process for returning to the original resolution is performed (step S403).

まとめると、保存したファイルをデコード(解凍)して表示することで、文字の可読性を損なわれることなく、かつ高圧縮であるファイルが生成・表示することができる。   In summary, by decoding (decompressing) the saved file and displaying it, a highly compressed file can be generated and displayed without impairing the readability of the characters.

また、作成されたファイルを、インターネットなどに代表される通信手段を介して送信したり、ディスプレイのような画像表示装置や、プリンタなどの外部出力装置に出力してももちろん構わない。   Of course, the created file may be transmitted via a communication means such as the Internet, or may be output to an image display device such as a display or an external output device such as a printer.

さて、図13に示すように、本発明のポイントは、次のようなものである。   Now, as shown in FIG. 13, the points of the present invention are as follows.

まず、多値画像においては文字のエッジ部分は図13の(A)のように滑らかに変化している。二値化を行う際は、何らかの閾値を利用して滑らかに変化している位置のどこかで白黒の境界ができることになるが(図13の(B))、二値画像の黒画素の位置をそのまま利用すると、文字の輪郭部が消去されずに残ってしまう(図13の(C))。残った部分は周囲との画素値の差も残ることになるので、圧縮効率の低下やモスキートノイズによる画質の低下を招いてしまう。   First, in the multi-valued image, the edge portion of the character changes smoothly as shown in FIG. When binarization is performed, a black-and-white boundary is created somewhere in the position where the threshold value is smoothly changed using some threshold ((B) in FIG. 13). If is used as it is, the outline of the character remains without being erased ((C) of FIG. 13). Since the remaining portion also has a difference in pixel value from the surrounding area, the compression efficiency is lowered and the image quality is lowered due to mosquito noise.

そこで、そのために特定領域(文字領域)を包含する領域を広く背景色で埋めることにより周囲のけし残りを抑制することができる。   For this purpose, it is possible to suppress a marginal area by filling a region including a specific region (character region) with a wide background color.

すなわち、文字領域の抽出方法は、図14(a)の上段のフローのような、1つの文字塊から構成されている文字の場合は、黒画素塊(=連結成分)をみることにより、文字を抽出することが可能となる。   That is, in the case of a character composed of one character block as shown in the upper flow of FIG. 14A, the character region extraction method is performed by looking at a black pixel block (= connected component). Can be extracted.

これらの文字塊の座標位置から、文字行や文字行の座標位置から文字領域を抽出する方法が従来より複数提案されておりこれらの一般的な方法を用いればよく、本発明に特段の影響は及ぼさない。   A plurality of methods for extracting a character area from the coordinate position of a character line or a character line from the coordinate positions of these character blocks have been proposed in the past, and these general methods may be used. Does not reach.

背景色は、図14(a),(b)に示すように、周辺画素の平均色を用いたり、周辺画素の分布をヒストグラムを用いて求め、その中間値や、最も明るい色・暗い色を用いるなどを行う。   As shown in FIGS. 14 (a) and 14 (b), the background color is obtained by using the average color of the peripheral pixels or by calculating the distribution of the peripheral pixels using a histogram, and determining the intermediate value and the brightest / darkest color. And so on.

明るい色で埋める例としては、白地背景に黒文字の例では、明るい色で埋めることで、背景との色の差を無くすことが可能となる。一方暗い色で埋める例としては、白黒の反転した文字(黒い背景に白い文字)がある。   As an example of embedding with a bright color, in the example of black characters on a white background, it is possible to eliminate a color difference from the background by embedding with a bright color. On the other hand, as an example of filling with a dark color, there is a black / white inverted character (a white character on a black background).

さらには、周辺色の分布が所定の範囲内である場合を、同一色であると判断を行い、同一色の場合のみ、算出した代表色で埋める処理を行っても構わない。   Furthermore, when the distribution of the surrounding colors is within a predetermined range, it may be determined that they are the same color, and only when they are the same color, a process of filling with the calculated representative color may be performed.

本発明の一実施例にかかる画像処理装置の構成を示したブロック図。1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. 本発明の一実施例にかかる画像処理の流れを示したフローチャート。3 is a flowchart showing a flow of image processing according to an embodiment of the present invention. 本発明の一実施例にかかる画像処理の概略を示した概略図。1 is a schematic diagram showing an outline of image processing according to an embodiment of the present invention. 図3の画像処理をハードウェア的に実現する際の構成の一例を示したブロック図。The block diagram which showed an example of the structure at the time of implement | achieving the image processing of FIG. 3 by hardware. 本発明の他の実施例にかかる画像処理の流れを示したフローチャート。6 is a flowchart showing a flow of image processing according to another embodiment of the present invention. 図5の画像処理をハードウェア的に実現する際の構成の一例を示したブロック図。The block diagram which showed an example of the structure at the time of implement | achieving the image processing of FIG. 5 by hardware. 生成された背景の多値画像と、複数枚分の文字だけの二値画像を重ね合わせる方法について述べた概略図。Schematic which described the method of superimposing the produced | generated multi-value image of the background and the binary image of only the character for several sheets. 生成された背景の多値画像と、文字色が15色分ある16色をもつ1枚のカラー画像を重ね合わせる方法について述べた概略図。Schematic which described the method of superimposing the produced | generated multi-valued image of a background and one color image which has 16 colors for 15 character colors. 生成された背景だけの背景画像と、文字色を示す前景画像と、マスクのための二値画像から重ね合わせる方法についての概要図である。It is a schematic diagram about the method of superimposing from the background image only of the produced | generated background, the foreground image which shows a character color, and the binary image for a mask. 図9の処理フロー図。The processing flowchart of FIG. 図9の構成図。The block diagram of FIG. デコードに関する処理フローを示した図。The figure which showed the processing flow regarding a decoding. 本発明のポイントを説明するための概略図。Schematic for demonstrating the point of this invention. 文字領域の抽出方法について説明するための概略図。Schematic for demonstrating the extraction method of a character area.

符号の説明Explanation of symbols

1 CPU(中央処理装置)
2 メモリ
1 CPU (Central Processing Unit)
2 memory

Claims (15)

処理対象画像である多値画像を取得する手段と、
前記多値画像に基づき生成された二値画像を取得する手段と、
前記いずれかの画像を基に特定の属性を持つ領域を識別する手段と、
前記二値画像において、前記特定の属性ではない領域に対応する部分を白画素に置き換えた特定属性二値画像を生成する手段と、
前記多値画像中の前記特定属性部分の画素を背景色で埋めた非特定属性多値画像を生成する手段と、
前記特定属性部分を構成する色を決定する手段と、
決定した各色からなる前記特定属性二値画像を生成する手段と、
前記非特性属性多値画像と決定した各色からなる前記特定属性二値画像を各々圧縮符号化し、1つのファイルにまとめる手段とを備えたことを特徴とする画像処理装置。
Means for acquiring a multi-valued image as a processing target image;
Means for obtaining a binary image generated based on the multi-valued image;
Means for identifying a region having a specific attribute based on any one of the images;
Means for generating a specific attribute binary image in which a portion corresponding to a region that is not the specific attribute is replaced with a white pixel in the binary image;
Means for generating a non-specific attribute multi-value image in which pixels of the specific attribute portion in the multi-value image are filled with a background color;
Means for determining a color constituting the specific attribute part;
Means for generating the specific attribute binary image composed of each determined color;
An image processing apparatus comprising: means for compressing and encoding the non-characteristic attribute multi-valued image and the specific attribute binary image made up of each determined color into a single file.
処理対象画像である多値画像を取得する手段と、
前記多値画像に基づき生成された二値画像を取得する手段と、
前記いずれかの画像を基に特定の属性を持つ領域を識別する手段と、
前記二値画像において、前記特定の属性ではない領域に対応する部分を白画素に置き換えた特定属性二値画像を生成する手段と、
前記多値画像中の前記特定属性部分の画素を背景色で埋めた非特定属性多値画像を生成する手段と、
前記特定属性部分を構成する色を決定する手段と、
決定した各色からなる前記特定属性多値画像を生成する手段と、
前記非特性属性多値画像と決定した各色からなる前記特定属性多値画像を各々圧縮符号化し、1つのファイルにまとめる手段とを備えたことを特徴とする画像処理装置。
Means for acquiring a multi-valued image as a processing target image;
Means for obtaining a binary image generated based on the multi-valued image;
Means for identifying a region having a specific attribute based on any one of the images;
Means for generating a specific attribute binary image in which a portion corresponding to a region that is not the specific attribute is replaced with a white pixel in the binary image;
Means for generating a non-specific attribute multi-value image in which pixels of the specific attribute portion in the multi-value image are filled with a background color;
Means for determining a color constituting the specific attribute part;
Means for generating the specific attribute multi-valued image comprising the determined colors;
An image processing apparatus comprising: means for compressing and encoding the non-characteristic multi-valued image and the specific attribute multi-valued image having each determined color, and combining them into one file.
処理対象画像である多値画像を取得する手段と、
前記多値画像に基づき生成された二値画像を取得する手段と、
前記いずれかの画像を基に特定の属性を持つ領域を識別する手段と、
前記二値画像において、前記特定の属性ではない領域に対応する部分を白画素に置き換えた特定属性二値画像を生成する手段と、
前記多値画像中の前記特定属性部分の画素を背景色で埋めた非特定属性多値画像を生成する手段と、
前記特定属性部分を構成する色を決定する手段と、
前記特定属性二値画像の前記各特定属性部分の色情報を生成する手段と、
前記非特性属性多値画像と前記特定属性二値画像と前記各特定属性部分の色情報を各々圧縮符号化し、1つのファイルにまとめる手段とを備えたことを特徴とする画像処理装置。
Means for acquiring a multi-valued image as a processing target image;
Means for obtaining a binary image generated based on the multi-valued image;
Means for identifying a region having a specific attribute based on any one of the images;
Means for generating a specific attribute binary image in which a portion corresponding to a region that is not the specific attribute is replaced with a white pixel in the binary image;
Means for generating a non-specific attribute multi-value image in which pixels of the specific attribute portion in the multi-value image are filled with a background color;
Means for determining a color constituting the specific attribute part;
Means for generating color information of each specific attribute portion of the specific attribute binary image;
An image processing apparatus comprising: means for compressing and encoding color information of the non-characteristic attribute multi-valued image, the specific attribute binary image, and the specific attribute parts, and combining them into one file.
前記特定属性部分の画素を背景色で埋めた非特定属性多値画像を生成する手段は、
特定手段を包含する領域であることを特徴とする請求項1または請求項2または請求項3記載の画像処理装置。
Means for generating a non-specific attribute multi-valued image in which pixels of the specific attribute part are filled with a background color,
The image processing apparatus according to claim 1, wherein the image processing apparatus is an area including a specifying unit.
前記特定属性領域は、文字を構成する黒画素塊(=黒画素連結成分)であることを特徴とする請求項1または請求項2または請求項3または請求項4記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the specific attribute area is a black pixel block (= black pixel connected component) constituting a character. 前記特定属性領域は、文字を構成する黒画素塊(=黒画素連結成分)の1つまたは複数から構成される、文字領域、文字単語領域、行領域、であることを特徴とする請求項1または請求項2または請求項3または請求項4記載の画像処理装置。   The specific attribute area is a character area, a character word area, or a line area, which is composed of one or a plurality of black pixel blocks (= black pixel connected components) constituting a character. Alternatively, the image processing apparatus according to claim 2, claim 3, or claim 4. 前記特定属性領域は、特定属性の周囲色が同一である領域であることを特徴とする請求項1または請求項2または請求項3または請求項4記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the specific attribute area is an area having the same surrounding color of the specific attribute. 前記特定属性領域よりも周辺色が暗い(=反転文字)場合、周辺色の最も暗い色で、逆に周辺色が明るい(=通常の文字)場合、周辺色の最も明るい色で背景色で埋めた非特定属性多値画像を生成することを特徴とする請求項1または請求項2または請求項3または請求項4記載の画像処理装置。   When the surrounding color is darker than the specific attribute area (= reverse character), it is the darkest color of the surrounding color. Conversely, when the surrounding color is light (= normal character), it is filled with the background color with the brightest color of the surrounding color. 5. The image processing apparatus according to claim 1, wherein the non-specific attribute multi-valued image is generated. 前記1つのファイルを送信することを特徴とする請求項1または請求項2または請求項3または請求項4または請求項5または請求項6または請求項7または請求項8記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the one file is transmitted. 5. The image processing apparatus according to claim 4, 5, 6, 7, or 8. 請求項1または請求項2または請求項3または請求項4または請求項5または請求項6または請求項7または請求項8記載の画像処理装置で生成された前記一つのファイルを取得する手段と、当該ファイルを構成する情報を復号化する手段とを備えることを特徴とする画像処理装置。   Means for acquiring the one file generated by the image processing apparatus according to claim 1, claim 2, claim 3, claim 4, claim 5, claim 6, claim 7, or claim 8; An image processing apparatus comprising: means for decoding information constituting the file. 前記復号化した情報を印刷する手段をさらに備えることを特徴とする請求項10記載の画像処理装置。   The image processing apparatus according to claim 10, further comprising means for printing the decrypted information. 前記復号化した情報を表示する手段をさらに備えることを特徴とする請求項10または請求項11記載の画像処理装置。   12. The image processing apparatus according to claim 10, further comprising means for displaying the decrypted information. 処理対象画像である多値画像を取得するステップと、
前記多値画像に基づき生成された二値画像を取得するステップと、
前記いずれかの画像を基に特定の属性を持つ領域を識別するステップと、
前記二値画像において、前記特定の属性ではない領域に対応する部分を白画素に置き換えた特定属性二値画像を生成するステップと、
前記多値画像中の前記特定属性部分の画素を背景色で埋めた非特定属性多値画像を生成するステップと、
前記特定属性部分を構成する色を決定するステップと、
決定した各色からなる前記特定属性二値画像を生成するステップと、
前記非特性属性多値画像と決定した各色からなる前記特定属性二値画像を各々圧縮符号化し、1つのファイルにまとめるステップを有することを特徴とする画像処理方法。
Obtaining a multi-valued image as a processing target image;
Obtaining a binary image generated based on the multi-valued image;
Identifying a region having specific attributes based on any of the images;
Generating a specific attribute binary image in which a portion corresponding to a region that is not the specific attribute is replaced with a white pixel in the binary image;
Generating a non-specific attribute multi-valued image in which pixels of the specific attribute part in the multi-valued image are filled with a background color;
Determining a color constituting the specific attribute portion;
Generating the specific attribute binary image composed of the determined colors;
An image processing method comprising: a step of compressing and encoding the specific attribute binary image composed of the non-characteristic attribute multi-valued image and each determined color and combining them into one file.
処理対象画像である多値画像を取得するステップと、
前記多値画像に基づき生成された二値画像を取得するステップと、
前記いずれかの画像を基に特定の属性を持つ領域を識別するステップと、
前記二値画像において、前記特定の属性ではない領域に対応する部分を白画素に置き換えた特定属性二値画像を生成するステップと、
前記多値画像中の前記特定属性部分の画素を背景色で埋めた非特定属性多値画像を生成するステップと、
前記特定属性部分を構成する色を決定するステップと、
決定した各色からなる前記特定属性二値画像を生成するステップと、
前記非特性属性多値画像と決定した各色からなる前記特定属性二値画像を各々圧縮符号化し、1つのファイルにまとめるステップを有するプログラムであって、コンピュータシステムにより実行可能なプログラム。
Obtaining a multi-valued image as a processing target image;
Obtaining a binary image generated based on the multi-valued image;
Identifying a region having specific attributes based on any of the images;
Generating a specific attribute binary image in which a portion corresponding to a region that is not the specific attribute is replaced with a white pixel in the binary image;
Generating a non-specific attribute multi-valued image in which pixels of the specific attribute part in the multi-valued image are filled with a background color;
Determining a color constituting the specific attribute portion;
Generating the specific attribute binary image composed of the determined colors;
A program that includes a step of compressing and encoding the specific attribute binary image composed of the non-characteristic attribute multi-valued image and each determined color and grouping them into one file, and executable by a computer system.
処理対象画像である多値画像を取得するステップと、
前記多値画像に基づき生成された二値画像を取得するステップと、
前記いずれかの画像を基に特定の属性を持つ領域を識別するステップと、
前記二値画像において、前記特定の属性ではない領域に対応する部分を白画素に置き換えた特定属性二値画像を生成するステップと、
前記多値画像中の前記特定属性部分の画素を背景色で埋めた非特定属性多値画像を生成するステップと、
前記特定属性部分を構成する色を決定するステップと、
決定した各色からなる前記特定属性二値画像を生成するステップと、
前記非特性属性多値画像と決定した各色からなる前記特定属性二値画像を各々圧縮符号化し、1つのファイルにまとめるステップを有するプログラムであって、コンピュータシステムにより実行可能なプログラムを記憶した記憶媒体。
Obtaining a multi-valued image as a processing target image;
Obtaining a binary image generated based on the multi-valued image;
Identifying a region having specific attributes based on any of the images;
Generating a specific attribute binary image in which a portion corresponding to a region that is not the specific attribute is replaced with a white pixel in the binary image;
Generating a non-specific attribute multi-valued image in which pixels of the specific attribute part in the multi-valued image are filled with a background color;
Determining a color constituting the specific attribute portion;
Generating the specific attribute binary image composed of the determined colors;
A storage medium storing a program executable by a computer system, the program having a step of compressing and encoding the specific attribute binary image composed of the non-characteristic attribute multi-valued image and each determined color and combining them into one file .
JP2005006007A 2005-01-13 2005-01-13 Image processing apparatus, image processing method, program, and recording medium Active JP4364809B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005006007A JP4364809B2 (en) 2005-01-13 2005-01-13 Image processing apparatus, image processing method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005006007A JP4364809B2 (en) 2005-01-13 2005-01-13 Image processing apparatus, image processing method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2006197178A true JP2006197178A (en) 2006-07-27
JP4364809B2 JP4364809B2 (en) 2009-11-18

Family

ID=36802901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005006007A Active JP4364809B2 (en) 2005-01-13 2005-01-13 Image processing apparatus, image processing method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4364809B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165538A (en) * 2006-12-28 2008-07-17 Canon Inc Image processor and control method for image processor
JP2008203925A (en) * 2007-02-16 2008-09-04 Seiko Epson Corp Document editing device, program, and storage medium
JP2008283343A (en) * 2007-05-09 2008-11-20 Hoya Corp Apparatus and method for replacing pixel block
JP2010527190A (en) * 2007-05-04 2010-08-05 イー・エル・イー・エス・ソシエテ・アノニム Compress digital images containing scanned documents
US8218911B2 (en) 2006-12-27 2012-07-10 Ricoh Company, Ltd. Image processing apparatus and image processing method
JP2012201012A (en) * 2011-03-25 2012-10-22 Brother Industries Ltd Image editing device and image editing program
US9165205B2 (en) 2012-11-27 2015-10-20 Kyocera Document Solutions Inc. Image processing device generating character image and background image on the basis of connected pixel group
JP2019092027A (en) * 2017-11-14 2019-06-13 株式会社リコー Image processing apparatus, image processing method, and image processing program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8218911B2 (en) 2006-12-27 2012-07-10 Ricoh Company, Ltd. Image processing apparatus and image processing method
JP2008165538A (en) * 2006-12-28 2008-07-17 Canon Inc Image processor and control method for image processor
JP2008203925A (en) * 2007-02-16 2008-09-04 Seiko Epson Corp Document editing device, program, and storage medium
JP2010527190A (en) * 2007-05-04 2010-08-05 イー・エル・イー・エス・ソシエテ・アノニム Compress digital images containing scanned documents
US8666185B2 (en) 2007-05-04 2014-03-04 I.R.I.S. Compression of digital images of scanned documents
US8995780B2 (en) 2007-05-04 2015-03-31 I.R.I.S. Compression of digital images of scanned documents
JP2008283343A (en) * 2007-05-09 2008-11-20 Hoya Corp Apparatus and method for replacing pixel block
JP2012201012A (en) * 2011-03-25 2012-10-22 Brother Industries Ltd Image editing device and image editing program
US9165205B2 (en) 2012-11-27 2015-10-20 Kyocera Document Solutions Inc. Image processing device generating character image and background image on the basis of connected pixel group
JP2019092027A (en) * 2017-11-14 2019-06-13 株式会社リコー Image processing apparatus, image processing method, and image processing program
US10523843B2 (en) 2017-11-14 2019-12-31 Ricoh Company, Ltd. Image processing apparatus, image processing method, and non-transitory computer-readable storage medium

Also Published As

Publication number Publication date
JP4364809B2 (en) 2009-11-18

Similar Documents

Publication Publication Date Title
JP5875637B2 (en) Image processing apparatus and image processing method
JP5132530B2 (en) Image coding apparatus, image processing apparatus, and control method thereof
US8331671B2 (en) Image processing apparatus and image encoding method related to non-photo image regions
US8077986B2 (en) Information processing apparatus, method of controlling same and computer program
JP4364809B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4250483B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP6743092B2 (en) Image processing apparatus, image processing control method, and program
JP2008028717A (en) Image processor and method and program
JP2006050551A (en) Image processing apparatus, image processing method, program and storage medium
JP4235583B2 (en) Image processing apparatus, image processing program, and storage medium
JP2007158725A (en) Image processor, image processing method, and program
JP5893379B2 (en) Image compression apparatus, image compression method, and computer program
JP2008165381A (en) Image processing device and image processing method
US20090110313A1 (en) Device for performing image processing based on image attribute
JP2010146218A (en) Image processing apparatus, image processing method, computer program
JP5335581B2 (en) Image processing apparatus, image processing method, and program
JP4441300B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium storing the program
JP7134045B2 (en) Image processing device, image processing method, and program
JP2005204206A (en) Image processing apparatus, image processing program, and storage medium
JP4504096B2 (en) Image processing apparatus, program, and storage medium
JP4237642B2 (en) Image processing apparatus, image processing program, and storage medium
JP4383187B2 (en) Image processing apparatus, image processing program, and storage medium
JP2005328348A (en) Image processing apparatus, program and storage medium
JP2005303506A (en) Image processing apparatus, image processing method, image processing program, and storage medium
JP7185451B2 (en) Image processing device, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070622

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20090131

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090526

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090727

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

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

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

Free format text: PAYMENT UNTIL: 20120828

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4364809

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20120828

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130828

Year of fee payment: 4