JP4616199B2 - Image processing apparatus and program - Google Patents

Image processing apparatus and program Download PDF

Info

Publication number
JP4616199B2
JP4616199B2 JP2006073273A JP2006073273A JP4616199B2 JP 4616199 B2 JP4616199 B2 JP 4616199B2 JP 2006073273 A JP2006073273 A JP 2006073273A JP 2006073273 A JP2006073273 A JP 2006073273A JP 4616199 B2 JP4616199 B2 JP 4616199B2
Authority
JP
Japan
Prior art keywords
pixel
gray
image
character
area
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
JP2006073273A
Other languages
Japanese (ja)
Other versions
JP2007251661A (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.)
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 JP2006073273A priority Critical patent/JP4616199B2/en
Publication of JP2007251661A publication Critical patent/JP2007251661A/en
Application granted granted Critical
Publication of JP4616199B2 publication Critical patent/JP4616199B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

本発明は、カラーデジタル複写機やスキャナ配信装置の画像形成装置に利用される画像処理装置及びプログラムに関し、より詳細には、文字の解像度を落とさずに、適切な画像処理を行うことを可能にする技術に関する。 The present invention relates to an image processing apparatus and program used for an image forming apparatus such as a color digital copying machine or a scanner distribution apparatus. More specifically, the present invention enables appropriate image processing without reducing the resolution of characters. Related to technology .

近年、カラー画像データをデジタル的に処理し、カラー出力可能なカラープリンタや、カラー原稿を色分解して電気的に読み取り、取得したカラー画像データを用紙上に複写するカラー複写機など、カラー印刷・出力が可能な画像処理装置が広く利用され普及している。このような画像処理装置においては、原稿画像に係る膨大な量の画像情報を扱うことになり、データ量を削減するために効率の良い圧縮方式を必要としている。   In recent years, color printing, such as color printers that digitally process color image data and output color, and color copiers that color-separate and electrically read color originals and copy the acquired color image data onto paper. -Image processing devices capable of output are widely used and popularized. In such an image processing apparatus, an enormous amount of image information related to a document image is handled, and an efficient compression method is required to reduce the data amount.

その中でも、例えばJPGファイルのように非可逆圧縮を行うような圧縮は、圧縮率が非常に高く、データ量を削減した小さなファイルを作ることが可能である。画像に圧縮を行うことは、絵柄等の画像のような多値領域(階調領域)に対しては有効であるが、文字画像のように2値的な画像に対しては文字のエッジがボケてしまい、文字の判読性がよくない。   Among them, for example, compression that performs irreversible compression like a JPG file has a very high compression rate, and can create a small file with a reduced data amount. Compressing an image is effective for multi-valued areas (gradation areas) such as images such as images, but character edges are not applied to binary images such as character images. It is out of focus and the text is not legible.

このような問題を解決する従来の技術としては、特許文献1〜3に開示された発明が公知である。特許文献1には、画像データを最適なデータ量で、かつ高画質で伝送または蓄積可能な画像処理装置に関する発明が記載されている。また特許文献2には、局所処理のみでカラー文書画像を黒文字・白地領域と絵柄領域とに領域分離し、それぞれの領域ごとに符号化するカラー文書の適応符号化装置および復号化装置に関する発明が記載されている。さらに、特許文献3には、文字エッジの外側に隣接して薄い黒色または他色が表れることなどを防止して、文字の再現画質を高くする発明が記載されている。
特開2002−368986号公報 特許第3193086号公報 特開2001−268383号公報
As conventional techniques for solving such problems, the inventions disclosed in Patent Documents 1 to 3 are known. Patent Document 1 describes an invention relating to an image processing apparatus capable of transmitting or storing image data with an optimum data amount and high image quality. Patent Document 2 discloses an invention relating to an adaptive encoding apparatus and decoding apparatus for a color document in which a color document image is divided into a black character / white background area and a picture area only by local processing and encoded for each area. Are listed. Further, Patent Document 3 describes an invention that prevents the appearance of light black or other colors adjacent to the outside of the character edge, and improves the reproduction image quality of the character.
JP 2002-368986 A Japanese Patent No. 3193086 JP 2001-268383 A

前述した特許文献1および特許文献2のように、1つのファイルに2枚の圧縮の高い画像データと可逆圧縮の解像度の高い2値データとをもって、2枚の画像データを解像度の高い2値データ(文字領域)で選択的に画像を切り換えることによって、文字のエッジは2値の解像で出力しても、文字の解像度は高いままで、圧縮の高い画像ファイルを作成することが可能である。ここで文字データを抽出する際に、文字領域と非文字領域とを分けるとき、例えば新聞の写真部などのように粗いドットを文字とした場合には、不連続な点が発生すると可逆圧縮の圧縮率が悪くなることが知られている。また、通常の人物などの自然画においても、濃さで2値化すると不連続な点が多数発生して圧縮率が悪くなることが知られている。   As in Patent Document 1 and Patent Document 2 described above, two high-resolution binary data is obtained by combining two high-compression image data and high-resolution binary data in a single file. By selectively switching the image in (character area), it is possible to create a highly compressed image file while the character resolution remains high even if the character edge is output with binary resolution. . When extracting character data here, when separating the character area from the non-character area, for example, when using rough dots like characters in a newspaper photo section, when discontinuous points occur, lossless compression is performed. It is known that the compression rate is deteriorated. Also, it is known that even in a natural image such as a normal person, when the binarization is performed with darkness, many discontinuous points are generated and the compression rate is deteriorated.

また、印刷物などでは、文字は、背景が薄く文字が濃いのが一般的である。ところが、文字を強調したり、写真と文字を合成したりする場合、図20に示すように、背景を濃くして文字を白くする、いわゆる白抜き文字というものがある。   Moreover, in a printed matter or the like, characters are generally thin in background and dark. However, when emphasizing characters or synthesizing characters with photographs, there are so-called white characters that darken the background and white the characters, as shown in FIG.

このような白抜き文字が用いられる場合、従来の技術では、網点による判定やグレー(中濃度)判定を用いて判定を行うが、例えば網点面積が100%の場合や濃度が濃い領域でのグレー判定を行うことが難しい。また例えば、背景が黒で文字が白の、すなわち、ブラックバック上に白抜き文字が形成される場合には、白の領域が小さいと絵柄になってしまい、白抜き文字の判読性が悪くなる。   When such white characters are used, in the conventional technology, determination is performed using halftone dot determination or gray (medium density) determination. For example, when the halftone dot area is 100% or in a high density region It is difficult to make a gray judgment. In addition, for example, when the background is black and the characters are white, that is, when white characters are formed on the black background, if the white area is small, the pattern becomes a pattern, and the readability of the white characters is deteriorated. .

このような課題に鑑み、本発明は、いわゆる白抜き文字の判読性が悪化しない画像処理を行う画像処理装置及びプログラムを提供することを目的とするIn view of such problems, the present invention aims to provide an image processing apparatus and a program for image processing readability of the so-called white text is not deteriorated.

上記の目的を達成するため、本発明は、入力された画像データから文字領域を検出する画像処理装置であって、N種類の色毎に前記画像データの各画素について色の濃いものをアクティブ画素とする第1の二値化処理を行い、出力結果を前記N種類の色毎に保持し、前記画像データの各画素を白レベルで二値化して白画素であるか否か判定する第2の二値化処理を行う、N値化手段と、前記画像データの各画素をライン毎に逐次処理して、前記各画素がグレー画素であるか非グレー画素であるかを判定するグレー領域検出手段と、を有し、前記グレー領域検出手段は、前記第2の二値化処理により白画素と判定された画素が、第1の数を超えて連続するまで、注目画素をグレー画素であると判定し、また、前記第1の二値化処理により前記N種類の色のうち黒のアクティブ画素であると判定された画素が、第2の数を超えて連続した場合に、注目画素を非グレー画素であると判定した結果グレー画素となった画素を、グレー領域として検出し、さらに、前記グレー領域検出手段により検出されたグレー領域を文字領域でないと判定する文字領域検出手段を有することを特徴とする、画像処理装置を提供するものである。 In order to achieve the above object, the present invention is an image processing apparatus for detecting a character region from input image data, and for each of the N types of colors, a pixel having a dark color is selected as an active pixel. A second binarization process is performed, an output result is held for each of the N types of colors, and each pixel of the image data is binarized at a white level to determine whether the pixel is a white pixel A binarization process, and a gray area detection for sequentially determining each pixel of the image data for each line and determining whether each pixel is a gray pixel or a non-gray pixel And the gray area detecting means determines that the pixel of interest is a gray pixel until pixels determined to be white pixels by the second binarization process continue beyond the first number. In addition, the N binarization process performs the N binarization process. Pixels determined to be the active pixels of the black of the color classes is, when continuously exceeds the second number, a result of determining a pixel of interest as a non-gray pixels, the pixels that are gray pixel is detected as a gray area, further characterized by having a character area not equal determines the character region detecting unit gray area detected by the gray area detecting means, there is provided an image processing apparatus.

また、本発明は、コンピュータに、入力された画像データから文字領域を検出する画像処理を実行させるプログラムであって、前記コンピュータに、N種類の色毎に前記画像データの各画素について色の濃いものをアクティブ画素とする第1の二値化処理と、出力結果を前記N種類の色毎に保持する処理と、前記画像データの各画素を白レベルで二値化する第2の二値化処理と、前記画像データの各画素のライン毎の逐次処理によって、前記各画素がグレー画素であるか非グレー画素であるかを判定するグレー領域検出処理と、前記グレー領域検出処理により検出されたグレー領域を文字領域でないと判定文字領域検出処理と、を実行させ、前記グレー領域検出処理は、前記第2の二値化処理により白画素と判定された画素が、第1の数を超えて連続するまで、注目画素をグレー画素であると判定し、また、前記第1の二値化処理により前記N種類の色のうち黒のアクティブ画素であると判定された画素が、第2の数を超えて連続した場合に、注目画素を非グレー画素であると判定した結果グレー画素となった画素を、グレー領域として検出する処理であることを特徴とする、プログラムを提供するものである。 In addition, the present invention is a program for causing a computer to execute image processing for detecting a character area from input image data, wherein the computer has a dark color for each pixel of the image data for each of N types of colors. A first binarization process using an active pixel as a pixel, a process of holding an output result for each of the N colors, and a second binarization of binarizing each pixel of the image data at a white level and processing, by the sequential processing of each line of each pixel of the image data, wherein each pixel and gray area detecting process determines whether the non-gray pixels or a gray pixel, detected by the gray area detecting process and the gray region character area determined not character region detection processing, is executed, the gray area detection process, the second pixel determined as a white pixel by binarization process, the first few ultra Until successive Te, it determines the pixel of interest as a gray pixel, and the first said N type by binarization of the pixels determined to be the active pixels of the black of the color, the second If continuous beyond number, a result of determining a pixel of interest as a non-gray pixels, the pixels that are gray pixel, characterized in that it is a process of detecting a gray area, is provided a program is there.

本発明によれば、いわゆる白抜き文字の判読性が悪化しない画像処理を行う画像処理装置及びプログラムを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the image processing apparatus and program which perform the image process which does not deteriorate the legibility of what is called a white character can be provided .

本実施形態では、写真部をグレー領域と網点領域を検出して、孤立ドットの周期や特定の色を白画素と同様に扱うことにより、特定の色(黒)や網点の高濃度部分を絵柄としないようにしている。このことにより、図20に示すような、特定色(黒)の背景上の白抜き文字が文字となる。さらには、グラデーション上の白抜き文字にも対応が可能となる。グラデーションは、網点形状であったり、画像データの数値によって濃淡を表現したりする。   In the present embodiment, the gray portion and the halftone dot region are detected in the photographic part, and the period of the isolated dot and the specific color are handled in the same manner as the white pixel, so that the high density portion of the specific color (black) or the halftone dot is obtained. Is not used as a picture. As a result, white characters on the background of the specific color (black) as shown in FIG. 20 become characters. Furthermore, it is possible to deal with white characters on gradation. The gradation is a halftone dot shape or expresses light and shade according to numerical values of image data.

以下に、本実施形態の画像処理装置、画像送信装置、画像形成装置、プログラムおよび記録媒体について、図面を参照しながら説明する。なお、本実施形態は以下に述べるものに限定されず、その趣旨を逸脱しない範囲において種々変更が可能である。また本実施形態では、デジタル式のカラー画像処理措置を用いて説明する。
図1は、本実施形態のカラー画像処理装置1の概略構成を示すブロック図である。
Hereinafter, an image processing apparatus, an image transmission apparatus, an image forming apparatus, a program, and a recording medium according to the present embodiment will be described with reference to the drawings. In addition, this embodiment is not limited to what is described below, A various change is possible in the range which does not deviate from the meaning. In the present embodiment, a digital color image processing measure will be used.
FIG. 1 is a block diagram showing a schematic configuration of a color image processing apparatus 1 of the present embodiment.

図1に示すように、本実施形態のカラー画像処理装置1はスキャナ2と、スキャナ補正部3と、圧縮処理部4と、コントローラ5と、HDD6と、NIC7と、伸張処理部8と、プリンタ補正部9と、プロッタ10とを備えている。   As shown in FIG. 1, a color image processing apparatus 1 according to this embodiment includes a scanner 2, a scanner correction unit 3, a compression processing unit 4, a controller 5, an HDD 6, a NIC 7, an expansion processing unit 8, and a printer. A correction unit 9 and a plotter 10 are provided.

カラー画像処理装置1が複写機として動作する場合、まずスキャナ2は、原稿から画像データを読み取り、当該画像データ(アナログ信号)をデジタルデータ(例えば600dpi)に変換してスキャナ補正部3へ出力する。スキャナ補正部3は、後で述べるように、スキャナ2で読み取られて出力された画像データ(デジタルデータ)について、画像領域を文字・線画や写真などに分類したり、原稿画像の地肌画像の除去や、光の三原色であるR(赤),G(緑),B(青)の形式の画像データであるRGBデータのフィルタ処理などの画像処理を施す。   When the color image processing apparatus 1 operates as a copying machine, first, the scanner 2 reads image data from a document, converts the image data (analog signal) into digital data (for example, 600 dpi), and outputs the digital data to the scanner correction unit 3. . As will be described later, the scanner correction unit 3 classifies the image area of the image data (digital data) read and output by the scanner 2 into characters, line drawings, photographs, etc., or removes the background image of the original image. In addition, image processing such as filter processing of RGB data that is image data in the R (red), G (green), and B (blue) format, which are the three primary colors of light, is performed.

圧縮処理部4は、スキャナ補正部3における画像の補正処理後に、例えばRGB各8bit画像データと、エッジ文字領域信号(1bit)と、色領域信号(1bit)とを圧縮処理して、汎用バスに圧縮したデータを送出する。圧縮後の画像データは汎用バスを通って、コントローラ5に送られる。コントローラ5は、図示しない半導体メモリを持ち、送られたデータを蓄積するようになっている。蓄積データには、書誌情報として画像サイズや読み取った原稿の種類も記録されている。   After the image correction processing in the scanner correction unit 3, the compression processing unit 4 compresses, for example, each RGB 8-bit image data, edge character region signal (1 bit), and color region signal (1 bit) into a general-purpose bus. Send the compressed data. The compressed image data is sent to the controller 5 through the general-purpose bus. The controller 5 has a semiconductor memory (not shown) and accumulates transmitted data. In the accumulated data, the image size and the type of the read original are recorded as bibliographic information.

なお、ここでは、画像データに対して圧縮を施すこととしたが、汎用バスの帯域が十分に広く、蓄積するHDDの容量が大きければ、非圧縮の状態でデータを扱うこととしてもよい。   Although the image data is compressed here, the data may be handled in an uncompressed state if the bandwidth of the general-purpose bus is sufficiently wide and the capacity of the HDD to be stored is large.

次に、コントローラ5は、HDD6の画像データを、汎用バスを介して伸張処理部8に送出する。伸張処理部8は、圧縮処理されていた画像データを元のRGB各8bitデータとエッジ文字領域信号(1bit)、色領域信号(1bit)に伸張して、プリンタ補正部9に送出する。プリンタ補正部9では、RGB画像データを、後述する色補正処理部91にて、カラー印刷を行うためのY(イエロー),M(マゼンタ),C(シアン),Bk(ブラック)の各色トナーに対応したYMCBkデータに変換する。   Next, the controller 5 sends the image data of the HDD 6 to the decompression processing unit 8 via the general-purpose bus. The decompression processing unit 8 decompresses the compressed image data into original RGB 8-bit data, an edge character region signal (1 bit), and a color region signal (1 bit), and sends them to the printer correction unit 9. The printer correction unit 9 converts the RGB image data into Y (yellow), M (magenta), C (cyan), and Bk (black) toners for color printing by a color correction processing unit 91 described later. Convert to corresponding YMCBk data.

そして、エッジ文字領域信号であり色領域信号でない部分については、黒文字としてBkの単色データに置き換える。さらにγ補正処理、中間調処理などが行われ、プロッタ10の明暗特性の補正処理や階調数変換処理を行う。なお、ここでの階調数変換処理では、誤差拡散やディザ処理などを用いて各色8bitから2bitへと画像データの変換を行う。プロッタ10は、例えばレーザービーム書き込みプロセスを用いた転写紙印字ユニットで、2bitの画像データを感光体に潜像として描画し、トナーによる作像/転写処理後、転写紙にコピー画像を形成する。   A portion that is an edge character area signal but not a color area signal is replaced with black color data as Bk monochromatic data. Further, γ correction processing, halftone processing, and the like are performed, and the light / dark characteristic correction processing and tone number conversion processing of the plotter 10 are performed. In the gradation number conversion process here, image data is converted from 8 bits to 2 bits for each color using error diffusion, dither processing, or the like. The plotter 10 is a transfer paper printing unit using, for example, a laser beam writing process, draws 2-bit image data as a latent image on a photoconductor, and forms a copy image on the transfer paper after image formation / transfer processing with toner.

また、ネットワークを介してPC等に画像データを配信する配信スキャナとしてカラー画像処理装置1が動作する場合には、画像データは汎用バスを通って、コントローラ5に送られる。詳しくは後述するが、コントローラ5では、色変換処理やフォーマット処理などが行われる。階調処理では、配信スキャナ動作時のモードにしたがった階調変換処理を行う。またフォーマット処理では、JPEG形式やTIFF形式への汎用画像フォーマット変換などを行う。その後、画像データはNIC(ネットワーク・インタフェース・コントローラ)7を介して外部PC端末などに配信される。   When the color image processing apparatus 1 operates as a distribution scanner that distributes image data to a PC or the like via a network, the image data is sent to the controller 5 through a general-purpose bus. As will be described in detail later, the controller 5 performs color conversion processing, formatting processing, and the like. In the gradation processing, gradation conversion processing is performed in accordance with the mode during the distribution scanner operation. In the format processing, general-purpose image format conversion to JPEG format or TIFF format is performed. Thereafter, the image data is distributed to an external PC terminal or the like via a NIC (network interface controller) 7.

また、ネットワークを介してPC等からプリントアウトするプリンタとしてカラー画像処理装置1が動作する場合には、NIC7より送られてきたデータから、画像およびプリント指示するコマンドを解析し、画像データとして印刷できる状態にビットマップ展開して、展開したデータを圧縮してデータを蓄積する。蓄積されたデータは、随時大容量の記憶装置であるハードディスクドライブ(HDD)6に書き込まれる。画像データを蓄積する時に、後述する書誌情報もHDD6に書き込む。   Further, when the color image processing apparatus 1 operates as a printer that prints out from a PC or the like via a network, it can analyze an image and a command instructing printing from data sent from the NIC 7 and print it as image data. Bitmap is expanded into a state, and the expanded data is compressed and accumulated. The accumulated data is written to a hard disk drive (HDD) 6 which is a large capacity storage device as needed. When the image data is stored, bibliographic information, which will be described later, is also written in the HDD 6.

次に、コントローラ5は、HDD6の画像データを汎用バスを介して伸張処理部8に送出する。伸張処理部8では、圧縮処理されていた画像データを元の8bitデータに伸張して、プリンタ補正部9に送出する。プリンタ補正部9では、RGB入力ならば、色補正処理部91にてYMCBkデータに変換をする。次に、YMCBkそれぞれ独立にγ補正処理、中間調処理などが行われ、プロッタ10の明暗特性の補正処理や階調数変換処理を行う。   Next, the controller 5 sends the image data of the HDD 6 to the decompression processing unit 8 via the general-purpose bus. The decompression processing unit 8 decompresses the compressed image data to the original 8-bit data and sends it to the printer correction unit 9. In the printer correction unit 9, if the input is RGB, the color correction processing unit 91 converts it into YMCBk data. Next, γ correction processing, halftone processing, and the like are performed independently for each YMCBk, and lightness / darkness characteristic correction processing and gradation number conversion processing of the plotter 10 are performed.

なお、ここでの階調数変換処理では、誤差拡散やディザ処理などを用いて各色8bitから2bitへと画像データの変換を行う。プロッタ10は、例えばレーザービーム書き込みプロセスを用いた転写紙印字ユニットで、2bitの画像データを感光体に潜像として描画し、トナーによる作像/転写処理後、転写紙にコピー画像を形成する。   In the gradation number conversion process here, image data is converted from 8 bits to 2 bits for each color using error diffusion, dither processing, or the like. The plotter 10 is a transfer paper printing unit using, for example, a laser beam writing process, draws 2-bit image data as a latent image on a photoconductor, and forms a copy image on the transfer paper after image formation / transfer processing with toner.

本実施形態のカラー画像処理装置においては、一般に、原稿をスキャナにより読み取り、画像データをデジタルデータに変換するとともに、原稿の画像領域(像域)を、異なる特徴を有する領域に分類(像域分離)する。注目画素がそのいずれの領域に属するものか、判定された結果にしたがって、画像データに対して種々の画像処理を施す。これにより、出力画像の画像品質を大きく向上させることが可能となる。   In the color image processing apparatus of this embodiment, generally, an original is read by a scanner, image data is converted into digital data, and an image area (image area) of the original is classified into areas having different characteristics (image area separation). ) Various image processing is performed on the image data according to the determination result as to which region the pixel of interest belongs to. As a result, the image quality of the output image can be greatly improved.

次に、図2は、本実施形態のスキャナ補正部3の構成を示すブロック図である。
本実施形態のスキャナ補正部3は、像域分離部31と、スキャナγ部32と、フィルタ処理部33と、原稿種判定部34とを備えている。
Next, FIG. 2 is a block diagram showing a configuration of the scanner correction unit 3 of the present embodiment.
The scanner correction unit 3 of the present embodiment includes an image area separation unit 31, a scanner γ unit 32, a filter processing unit 33, and a document type determination unit 34.

スキャナ補正部3は、スキャナ2から入力した画像データimg(反射率リニア)に基づき、像域分離部31にて像域分離を行う。像域の分離としては、黒エッジ文字領域、色(カラー)エッジ文字領域、その他(写真領域)の3つの領域に分離する。像域を分離することにより、画像データに像域分離信号(エッジ文字領域、色領域)が画素毎に付与される。像域分離信号から黒エッジ文字領域(エッジ文字領域であり色領域でない領域)、色エッジ文字領域(エッジ文字領域ではなく色領域である領域)、写真領域に分類する(黒エッジ領域および色エッジ領域以外の領域)。なお、本実施形態における像域分離は、本出願による先願発明である特開2003−259115号公報に記載された像域分離方法にて像域を分離することとしてもよい。   The scanner correction unit 3 performs image area separation by the image area separation unit 31 based on the image data img (reflectance linear) input from the scanner 2. The image area is separated into three areas: a black edge character area, a color (color) edge character area, and the other (photo area). By separating the image areas, an image area separation signal (edge character area, color area) is given to the image data for each pixel. The image area separation signal is classified into black edge character areas (areas that are edge character areas and not color areas), color edge character areas (areas that are color areas instead of edge character areas), and photo areas (black edge areas and color edges). Non-region). Note that the image area separation in the present embodiment may be performed by separating the image areas by an image area separation method described in Japanese Patent Application Laid-Open No. 2003-259115, which is a prior invention of the present application.

スキャナγ部32では、画像データを反射率リニアから濃度リニアへとデータ変換する。フィルタ処理部33では、像域分離信号に基づいてフィルタ処理を切り換える。この場合、黒エッジ文字と色エッジ文字とのエッジ文字領域では、判読性を重視して鮮鋭化処理を行う。一方、写真領域では、画像データ内の急峻な濃度変化をエッジ量として、エッジ量に応じて平滑化処理や鮮鋭化処理を行う。急峻なエッジを鮮鋭化するのは、絵の中の文字を判読しやすくするためである。   The scanner γ unit 32 converts image data from reflectance linear to density linear. The filter processing unit 33 switches the filter processing based on the image area separation signal. In this case, sharpening processing is performed with emphasis on legibility in the edge character area of the black edge character and the color edge character. On the other hand, in the photo area, a sharp density change in the image data is used as an edge amount, and smoothing processing or sharpening processing is performed according to the edge amount. The sharp edges are sharpened to make the characters in the picture easier to read.

原稿種判定部34では、画像データimgが文字のみの原稿であるかカラー原稿であるかの判定を行う。この原稿判定ブロックとしては、本出願人による先願発明である特開2000−324338号公報に記載された判定方法を用いることとしてもよい。具体的には、文字あり原稿判定には、上記特開2000−324338号公報中の段落番号[0023]−[0025]に記載された判定方法を用い、また、有彩原稿判定には、同段落番号[0026],[0027]に記載された判定方法を用い、また、印画紙写真判定には、同段落番号[0028]に記載された判定方法を用い、さらに印刷写真判定には、同段落番号[0029]−[0031]に記載された判定方法を用いる。   The document type determination unit 34 determines whether the image data img is a character-only document or a color document. As the document determination block, a determination method described in Japanese Patent Application Laid-Open No. 2000-324338, which is a prior invention of the present applicant, may be used. Specifically, the determination method described in paragraphs [0023]-[0025] in the above-mentioned Japanese Patent Application Laid-Open No. 2000-324338 is used for determining the document with characters, and the same method is used for determining the chromatic document. The determination method described in paragraph numbers [0026] and [0027] is used, the determination method described in paragraph number [0028] is used for photographic paper photo determination, and the same is applied to print photo determination. The determination method described in paragraph numbers [0029]-[0031] is used.

これらの判定方法にて得られた特徴量を用いて、文字のみの原稿であるかカラー原稿であるかの判定を行う。そしてその結果を、画像データを蓄積する時に当該画像データの書誌情報として記録する。なお、文字のみの原稿とは、上述した判定条件において、下記の表1に示すように、文字あり原稿判定(あり)、印画紙写真判定(なし)、印刷写真判定(なし)の条件の時であり、また、カラー原稿とは、有彩原稿判定(あり)の条件時を示す。   Using the feature values obtained by these determination methods, it is determined whether the document is a character-only document or a color document. The result is recorded as bibliographic information of the image data when the image data is stored. Note that a character-only document is a character document determination (present), photographic paper photograph determination (none), and print photograph determination (none), as shown in Table 1 below, under the above-described determination conditions. In addition, the color document indicates a condition for determining whether a chromatic document is present (present).

Figure 0004616199
Figure 0004616199

すなわち、文字のみの原稿とは、原稿中に文字しか存在しない原稿である。また、ここでは、複写原稿やインクジェット原稿などの絵柄については階調処理が施されており、印画紙写真原稿または印刷写真原稿のいずれかに分類される。   In other words, a text-only document is a document in which only characters are present in the document. Here, gradation processing is applied to a pattern such as a copy original or an ink jet original, and the image is classified as either a photographic paper photographic original or a printed photographic original.

次に、図3は、本実施形態のプリンタ補正部9の構成を示すブロック図である。
本実施形態のプリンタ補正部9は、色補正処理部91と、圧縮処理部4および伸張処理部8を経た画像データに対して、プロッタ10のγ特性に応じてγ補正を行うプリンタγ部92と、ディザ処理・誤差拡散処理などの量子化を行い、階調補正を行う中間調処理部93と、画像データ内の急峻な濃度変化をエッジ量として検出するエッジ量検出部94とを備えている。
Next, FIG. 3 is a block diagram showing the configuration of the printer correction unit 9 of the present embodiment.
The printer correction unit 9 of the present embodiment includes a printer γ unit 92 that performs γ correction on the image data that has undergone the color correction processing unit 91 and the compression processing unit 4 and the expansion processing unit 8 according to the γ characteristics of the plotter 10. A halftone processing unit 93 that performs gradation correction by performing quantization such as dither processing and error diffusion processing, and an edge amount detection unit 94 that detects a steep density change in the image data as an edge amount. Yes.

色補正処理部91は、黒エッジ文字領域以外では、R,G,Bデータを1次の濃度マスキング法等でC,M,Yデータに変換する。画像データの色再現を向上させるために、C,M,Yデータの共通部分をUCR(加色除去)処理してBkデータを生成し、C,M,Y,Bkデータを出力する。ここで、黒エッジ文字領域は、スキャナのRGB読み取り位置ずれにより原稿の黒文字が色付いたり、プロッタのYMCBkでのプリンタ時に重ね位置ずれがあると判読性がよくないので、黒文字領域のみ輝度に相当する信号でBk単色データ(C,M,Yは、プリントアウトしてないデータ)にて出力する。   The color correction processing unit 91 converts R, G, B data into C, M, Y data by a primary density masking method or the like except for the black edge character region. In order to improve the color reproduction of the image data, the common portion of the C, M, Y data is subjected to UCR (additional color removal) processing to generate Bk data, and the C, M, Y, Bk data is output. Here, the black edge character area corresponds to the luminance only of the black character area because the black character of the original is colored due to the RGB reading position deviation of the scanner or the overlapping position deviation is present in the printer with the YMCBk of the plotter. The signal is output as Bk single color data (C, M, and Y are data not printed out).

プリンタγ部94は、画像データに対するプロッタ10におけるγの周波数特性に応じて、γ補正処理を行う。中間調処理部93は、プロッタ10の階調特性やエッジ量に応じて、ディザ処理等の量子化を行う。このとき、量子化処理をする際に黒文字信号(後述する黒文字抽出の処理)を行って、黒文字のコントラスト強調することも可能である。このようにすると、文字の判読性が向上する。   The printer γ unit 94 performs γ correction processing according to the frequency characteristic of γ in the plotter 10 for image data. The halftone processing unit 93 performs quantization such as dither processing according to the gradation characteristics and edge amount of the plotter 10. At this time, it is also possible to enhance the contrast of the black character by performing a black character signal (a black character extraction process described later) during the quantization process. This improves the legibility of characters.

次に、図4は、本実施形態のコントローラ5の構成を示すブロック図である。
本実施形態のコントローラ5は、ページメモリ51と、圧縮伸張処理部52と、出力フォーマット変換部53と、入力フォーマット変換部54と、データインタフェース(i/f)部55とを備えている。
Next, FIG. 4 is a block diagram showing a configuration of the controller 5 of the present embodiment.
The controller 5 of the present embodiment includes a page memory 51, a compression / decompression processing unit 52, an output format conversion unit 53, an input format conversion unit 54, and a data interface (i / f) unit 55.

このコントローラ5を介して、画像データを外部機器に出力する場合のデータの流れについて説明する。
まず、ページメモリ51にある画像データを、圧縮伸張処理部52にて圧縮・伸張処理を行う。外部機器にデータを出力するので、圧縮処理されていた画像データを元の各色8bitデータに伸張して、出力フォーマット変換部53に出力する。出力フォーット変換部53では、RGBデータを標準色空間であるsRGBデータに色変換すると同時に、JPEG形式やTIFF形式への汎用画像フォーマット変換などを行う。データi/f部55では、出力フォーマット変換部53から送出されたデータをNICに出力する。
A data flow when image data is output to an external device via the controller 5 will be described.
First, the image data in the page memory 51 is compressed / decompressed by the compression / decompression processing unit 52. Since the data is output to the external device, the compressed image data is expanded to the original 8-bit data for each color and output to the output format conversion unit 53. The output fort conversion unit 53 performs color conversion of RGB data to sRGB data, which is a standard color space, and simultaneously performs general-purpose image format conversion to JPEG format or TIFF format. The data i / f unit 55 outputs the data sent from the output format conversion unit 53 to the NIC.

また一方、外部機器からの画像データを、コントローラ5を介してプロッタ10に出力する場合のデータの流れについて説明する。
外部から指示するコマンドは、図示しないCPUがコマンドを解析し、ページメモリ51に書き込む。データi/f部55は、画像データを入力フォーマット変換部54でビットマップデータに展開して、圧縮伸張処理部52にて圧縮処理を行い、ページメモリ51に書き込む。入力フォーマットデータは、展開する画像は、JPGやTIFFなどの自然画像である。
On the other hand, the flow of data when image data from an external device is output to the plotter 10 via the controller 5 will be described.
A command (not shown) is analyzed by a CPU (not shown) and written in the page memory 51. The data i / f unit 55 expands the image data into bitmap data by the input format conversion unit 54, performs compression processing by the compression / decompression processing unit 52, and writes it to the page memory 51. The input format data is a natural image such as JPG or TIFF.

次に、出力フォーマット変換部について、図面を用いて説明する。
図5は、出力フォーマット変換部53の構成を示すブロック図である。
Next, the output format conversion unit will be described with reference to the drawings.
FIG. 5 is a block diagram illustrating a configuration of the output format conversion unit 53.

出力フォーマット変換部53は、色変換部531と、解像度変換部532と、TIFFフォーマット生成部533と、JPGフォーマット生成部534と、圧縮フォーマット生成部535とを備えている。   The output format conversion unit 53 includes a color conversion unit 531, a resolution conversion unit 532, a TIFF format generation unit 533, a JPG format generation unit 534, and a compression format generation unit 535.

色変換部531では、上述したように、RGBデータをsRGBデータへとデータ変換を行う。そして、sRGBに変換したデータを解像度変換部532にて300dpi,200dpiなどの画素密度変換を行う。本実施形態では300dpiで変換した場合の画素密度度で説明する。   As described above, the color conversion unit 531 performs data conversion from RGB data to sRGB data. Then, the data converted into sRGB is subjected to pixel density conversion such as 300 dpi and 200 dpi by the resolution conversion unit 532. In this embodiment, the pixel density degree when converted at 300 dpi will be described.

解像度変換部532にて解像度を変換した画像は、TIFFフォーマット生成部533、JPGフォーマット生成部534、圧縮フォーマット生成部535にて、各フォーマットに変換する。このようにして変換されたデータは、データi/f部55を介して、NIC7に出力すべきフォーマットを出力する。   The image whose resolution is converted by the resolution conversion unit 532 is converted into each format by the TIFF format generation unit 533, the JPG format generation unit 534, and the compression format generation unit 535. The data thus converted outputs a format to be output to the NIC 7 via the data i / f unit 55.

ここで、本実施形態の要部である圧縮フォーマット生成部535について説明する。   Here, the compression format generation unit 535, which is a main part of the present embodiment, will be described.

本実施形態の圧縮フォーマット生成部535は、2値化部5351と、2値画像生成部5352と、黒画像生成部5353と、解像度変換部A5354と、解像度変換部B5355と、背景画像生成部5356と、文字画像生成部5357と、画像ファイル合成部5358とで構成される。   The compression format generation unit 535 of the present embodiment includes a binarization unit 5351, a binary image generation unit 5352, a black image generation unit 5353, a resolution conversion unit A5354, a resolution conversion unit B5355, and a background image generation unit 5356. And a character image generation unit 5357 and an image file composition unit 5358.

2値化部5351で、画像濃度の明暗を基本にして、文字領域と非文字領域の2値データと黒文字データとを出力する。2値画像生成部5352では、2値データに対して可逆変換であるMMR圧縮を行う。黒画像生成部5353では、黒文字データに対して可逆変換であるMMR圧縮を行う。   A binarization unit 5351 outputs binary data and black character data of a character region and a non-character region on the basis of light and dark image density. The binary image generation unit 5352 performs MMR compression, which is reversible conversion, on binary data. The black image generation unit 5353 performs MMR compression that is reversible conversion on black character data.

解像度変換部A5354および解像度変換部B5355では、画像データに対して解像度変換を行い、解像度を例えば150dpi程度と低くする。さらに、背景画像生成部5356では、2値化部5351で文字領域となった領域の画像データを、白に相当とする領域の画像データを一定の値の画像データへと書き換え非可逆圧縮のjpg圧縮を行う。またさらに、文字画像生成部5357は、文字背景領域となった領域の画像データを一定の値の画像データへと書き換え非可逆圧縮のjpg圧縮を行う。   The resolution conversion unit A5354 and the resolution conversion unit B5355 perform resolution conversion on the image data and reduce the resolution to, for example, about 150 dpi. Further, the background image generation unit 5356 rewrites the image data of the region that has become the character region by the binarization unit 5351 to the image data of the region corresponding to white to image data of a certain value, and is irreversibly compressed jpg Perform compression. Furthermore, the character image generation unit 5357 rewrites the image data of the region that has become the character background region to image data of a certain value, and performs irreversible compression jpg compression.

背景画像に対して、文字部を一定の値のデータにするのは、一定の値にすることよって圧縮が向上するからである。文字画像に関して背景画像を一定の値にすることも、圧縮の向上のためである。解像度変換部A5354および解像度変換部B5355は、文字画像と背景画像に対して、文字画像は背景画像ほど解像度がいらないので、75dpi程度でも構わない。書誌情報に、文字のみの原稿とある時は、背景画像と文字画像の両方を75dpiの解像度でjpgファイルを作成することとしてもよい。   The reason why the character portion is set to a constant value for the background image is that the compression is improved by setting the constant value. Setting the background image to a constant value for the character image is also for improving the compression. The resolution conversion unit A5354 and the resolution conversion unit B5355 may be about 75 dpi because the character image and the background image need not have the same resolution as the background image. When the bibliographic information includes a document containing only characters, a jpg file may be created with a resolution of 75 dpi for both the background image and the character image.

文字に関して解像度を落とすのは、文字の解像度はMMRの解像度で保証しているからであり、jpg画像のdpi(解像度)を落としても階調劣化するが問題とならない。解像度を落とすことによって、ファイルサイズを小さくすることが可能になる。本実施形態では、画像解像度を落とすことでファイルサイズを小さくしたが、画像の解像度以外の階調数など画像品質を落としてファイルサイズを小さくしてもよい。蓄積データに書誌情報として、文字のみの原稿の有無に係る記載があるので、蓄積データ後の画像データにおいて、文字のみの原稿に対して圧縮率を高くすることが可能となっている。   The reason for reducing the resolution of characters is that the resolution of the characters is guaranteed by the MMR resolution, and even if the dpi (resolution) of the jpg image is reduced, the gradation is deteriorated but there is no problem. By reducing the resolution, the file size can be reduced. In this embodiment, the file size is reduced by reducing the image resolution. However, the file size may be reduced by reducing the image quality such as the number of gradations other than the image resolution. Since the bibliographic information in the stored data includes a description relating to the presence or absence of a text-only document, it is possible to increase the compression rate of the text-only document in the image data after the stored data.

また、画像ファイル合成部5358では、2値画像生成部5353からの出力(MMR)と、黒画像生成部5352からの出力(MMR)と、背景画像生成部5356からの出力(jpg)と、文字画像生成部5357からの出力(jpg)との4つの画像を、1つにまとめてファイル化を行う。このときのファイル形式は、PDFファイルなどの汎用フォーマットを用いることとしてもよい。   The image file composition unit 5358 outputs an output (MMR) from the binary image generation unit 5353, an output (MMR) from the black image generation unit 5352, an output (jpg) from the background image generation unit 5356, and a character. The four images with the output (jpg) from the image generation unit 5357 are combined into one file for file formation. The file format at this time may be a general-purpose format such as a PDF file.

2値化部5351では、複数の特徴量を抽出することにより2値化を行う。
以下の処理は、逐次処理で、1つの処理が終わると隣の画素の処理を行い、1ラインが次のラインの先頭から処理を行い画像の終わりで処理を続ける。RGB画像データは数字が多くなると黒くなり、数字が小さくなると白くなるものとする。
図7を用いてより詳細に説明する。
The binarization unit 5351 performs binarization by extracting a plurality of feature amounts.
The following processes are sequential processes. When one process is completed, the adjacent pixel is processed. One line is processed from the beginning of the next line, and the process is continued at the end of the image. The RGB image data is black when the number is large and white when the number is small.
This will be described in more detail with reference to FIG.

1)文字解像度変換
圧縮伸張処理部52にて伸張したデータである文字エッジ領域および色領域信号を、画像に施した解像度と同じ解像度で解像度変換(ここでは300dpi)を施し、画像データと画素密度を同一にする。ここでの出力を文字エッジ、色とする。
1) Character resolution conversion Character edge area and color area signals that are decompressed by the compression / decompression processing unit 52 are subjected to resolution conversion (here, 300 dpi) at the same resolution as that applied to the image, and image data and pixel density Are the same. The output here is the character edge and color.

2)2値化部
1ライン毎に閾値を変更して、2値化する適応2値化部と、適応2値化の出力の孤立点を除去する孤立点除去1からなる。
2) Binarization unit This unit includes an adaptive binarization unit that binarizes by changing a threshold value for each line, and an isolated point removal 1 that removes an isolated point from the output of adaptive binarization.

2−1)適応2値化
色地上の文字や白地上の文字を抽出するために、エッジの色を検出して1ライン毎に閾値を変更する。図8に示すように、閾値算出部81と2値化部82とラインメモリ83とで構成される。
2-1) Adaptive binarization In order to extract characters on the color ground and characters on the white background, the edge color is detected and the threshold value is changed for each line. As shown in FIG. 8, the threshold calculation unit 81, the binarization unit 82, and the line memory 83 are configured.

2−1a)閾値算出部81
図15に、適応2値化の参照画素を示す。この図15中、注目画素○の主走査方向に対して、左右2画素の参照画素△▽にて下記条件式(1)を満たす場合に、2値化閾値対象画素とする。なお、th2は、画素の入力特性により決定する固定値である。
(○−▽)>th2 or (○―△)>th2 ・・・(1)
1ラインで2値化対象画素のRGB個別に平均を求め、その平均値を閾値とする。また、1ライン中で2値化対象画素がない場合には、所定の閾値とする。
2-1a) Threshold value calculation unit 81
FIG. 15 shows reference pixels for adaptive binarization. In FIG. 15, when the following conditional expression (1) is satisfied with the reference pixels Δ ▽ of the two left and right pixels with respect to the main scanning direction of the pixel of interest ○, it is determined as a binarization threshold target pixel. Note that th2 is a fixed value determined by the input characteristics of the pixel.
(○-▽)> th2 or (○-△)> th2 (1)
An average is obtained for each of the binarization target pixels in one line, and the average value is set as a threshold value. When there is no binarization target pixel in one line, a predetermined threshold value is set.

2−1b)2値化部82
閾値算出部81で求めた閾値に対して、入力画像RGBにおけるRGBの値が1つでも閾値を超えていれば、黒(on)として判定し、一方黒(on)でない場合は、白(off)として判定して出力する。
2-1b) Binarization unit 82
If even one RGB value in the input image RGB exceeds the threshold value with respect to the threshold value obtained by the threshold value calculation unit 81, it is determined as black (on), and when it is not black (on), white (off ) And output.

なお、図15に示した本実施形態の適応2値化部は、ラインメモリ83を備えている。これは、閾値算出部81にて計算した結果で2値化しようとすると、処理が1ラインずれてしまうので、ラインをずらさないように、ラインメモリ83で1ライン分遅延をさせている。ライン毎に閾値を変更することで、地肌や背景の色に依存せずに、色地上の文字や白地上の文字を良好に抽出することが可能となる。   Note that the adaptive binarization unit of this embodiment shown in FIG. 15 includes a line memory 83. This is because the processing is shifted by one line when it is attempted to binarize with the result calculated by the threshold value calculation unit 81, so that the line memory 83 delays one line so as not to shift the line. By changing the threshold value for each line, it is possible to satisfactorily extract characters on the ground and characters on the white without depending on the color of the background or background.

2−2)孤立点除去1
適応2値化の結果としては、孤立点が多く存在するために、孤立点の除去を行う。
図16に示すように、パターンが一致した場合には、注目画素を反転させることで孤立点を除去する。
2-2) Isolated point removal 1
As a result of the adaptive binarization, since there are many isolated points, the isolated points are removed.
As shown in FIG. 16, when the patterns match, the isolated point is removed by inverting the target pixel.

3)マスク部
3−1)N値化
このN値化は、後述する3−2),3−3)における網点検出と、3−4),3−5)におけるグレー検出とにおいて、N値の値にして共通に使用する。
RGB差の小さいデータ(bk)は、thabkより値が大きい時は黒文字として、RGB差の小さいデータYMCBGRの6色相に色を分けて色相ごとに閾値(thay、tham、thac、thab、thag、thar)を分けて、2値化処理を行う。色の濃いものをアクティブ画素(文字)として2値化処理を行う。色相の分け方は、単純にRGBの大小関係で行ってもよいし、RGBの色の割合で決めてもよい。これは入力画像の特性により決まる。ただし、出力結果は色相別に保持する。ここでは、以下のように定義する。なお、かっこはbit表示である。
Dtah=0(000):該当なし
Dtah=1(001):黄色
Dtah=2(010):マゼンタ
Dtah=3(011):赤
Dtah=4(100):シアン
Dtah=5(101):緑
Dtah=6(110):青
Dtah=7(111):黒
3) Mask part 3-1) N-value conversion This N-value conversion is performed by N detection in halftone detection in 3-2) and 3-3) described later and gray detection in 3-4) and 3-5). The value is used in common.
Data with a small RGB difference (bk) is a black character when the value is greater than thabk, and the colors are divided into 6 hues of data YMCBGR with a small RGB difference, and threshold values (thay, tham, thac, thab, thag, thar). ), And binarization processing is performed. Binarization processing is performed using a dark color as an active pixel (character). The method of dividing the hue may be simply based on the magnitude relationship of RGB or may be determined by the ratio of RGB colors. This is determined by the characteristics of the input image. However, the output result is held for each hue. Here, it is defined as follows. The parentheses are bit display.
Dtah = 0 (000): Not applicable
Dtah = 1 (001): Yellow
Dtah = 2 (010): Magenta
Dtah = 3 (011): Red
Dtah = 4 (100): Cyan
Dtah = 5 (101): Green
Dtah = 6 (110): Blue
Dtah = 7 (111): Black

さらに、白レベルも同様に2値化を行う。RGB差の小さいデータ(bk)は、thbbkより値が小さい時は、白画素として、RGB差の小さいデータYMCBGRの6色相に色を分けて色相ごとに閾値(thby、thbm、thbc、thbb、thbg、thbr)を分けて、2値化処理を行い、色の薄いものをアクティブ画素(白画素)として2値化処理を行う。また、黒に含まれるもので、さらに黒い(濃い)色を抽出したものを濃い黒として、黒抽出時に使用する。   Further, the white level is also binarized in the same manner. When the data with small RGB difference (bk) is smaller than thbbk, the color is divided into 6 hues of data YMCBGR with small RGB difference as white pixels, and the threshold value (thby, thbm, thbc, thbb, thbg) for each hue , Thbr), and binarization processing is performed, and binarization processing is performed with a light-colored pixel as an active pixel (white pixel). Moreover, what is contained in black and which is obtained by extracting a black (dark) color is used as a dark black and is used during black extraction.

さらに、下地検出として下地の抽出を行う。下地も白レベルと同様であるが、閾値は白レベルと文字の閾値と中間の値とを使用して、下地の閾値より白ければ下地とする。このときの下地領域と、グレー領域と、文字領域との関係を、図9に示す。   Further, background extraction is performed as background detection. The background is the same as that of the white level, but the threshold value is determined by using a white level, a character threshold value, and an intermediate value. FIG. 9 shows the relationship among the background area, gray area, and character area at this time.

図9に示すように、下地領域の濃い方とグレー領域の薄い方とでは、2つの領域をまたがる濃度領域が存在する。その理由は、下地領域、グレー領域ともパターンマッチングである程度の大きさの領域がないと領域判定しないためである。このようにある程度の領域の重なりを持たせて、下地領域とグレー判定の近傍の均一画像の濃度領域であっても、下地領域とグレー領域にまたがった場合に、下地領域、グレー領域のどちらの領域にも該当しなくなるといったことを防いでいる。   As shown in FIG. 9, there is a density region that extends over the two regions between the darker base region and the lighter gray region. The reason is that the area determination is not performed unless there is an area of a certain size by pattern matching in both the background area and the gray area. In this way, even if the density area of the uniform image in the vicinity of the gray determination is given to the background area and the gray area, if either the background area or the gray area is overlapped, This prevents the situation from falling into the area.

3−2)網点検出1
網点検出1および後述する網点検出2では、細かな網点はスキャナ補正部での平滑化処理にて網点形状はなくなっている。しかし、新聞の写真図のような粗い網点は充分な平滑化を行うことができずに、網点のドット形状が残っており、この粗い網点を検出することを目的とする。
3-2) Halftone dot detection 1
In halftone dot detection 1 and halftone dot detection 2 described later, fine halftone dots have no halftone dot shape as a result of the smoothing process performed by the scanner correction unit. However, a rough halftone dot such as a photograph of a newspaper cannot be sufficiently smoothed, and a dot shape of the halftone dot remains, and the object is to detect this rough halftone dot.

なおここでは、網点のパターンマッチングを行う。ここでは、前述した3−1)N値化で定義したDtah≠0の時を黒画素として、N値化の白画素を白画素とする。
図10は、本実施形態の網点検出動作を示すフローチャートである。
Here, halftone dot pattern matching is performed. Here, when Dtah ≠ 0 defined in the above-described 3-1) N-value conversion is set as a black pixel, an N-value conversion white pixel is set as a white pixel.
FIG. 10 is a flowchart showing the halftone dot detection operation of the present embodiment.

まず、注目画素が白パターンであるかどうか判定する(ステップS101)。なおここで白パターンとは、図14に示すような白画素のパターンマッチングである。白パターンである場合には(ステップS101/Yes)、網点カウントを初期化する(ステップS102)。白パターン領域である場合には、以下に示す変数をそれぞれ初期化して、非網点画素処理を行うステップS108へと移行する。
count_bk = tha_count
state = 0
SS[I] = 0
tha_count:白領域間の距離(閾値)
SS[I]:1ライン前の情報
First, it is determined whether the target pixel is a white pattern (step S101). Here, the white pattern is pattern matching of white pixels as shown in FIG. If the pattern is a white pattern (step S101 / Yes), the halftone dot count is initialized (step S102). If it is a white pattern area, the variables shown below are initialized, and the process proceeds to step S108 where non-halftone pixel processing is performed.
count_bk = tha_count
state = 0
SS [I] = 0
tha_count: Distance between white areas (threshold)
SS [I]: Information before one line

一方、白パターンがない場合には(ステップS101/No)、次に、網点判定処理を行う(ステップS103)。実際には、SS[I]=1であり、1画素前の結果が網点であり、count_bkが0であるとき(1)には、sateを1にする。さらに、(1)に加えてcount_bkが0であるときには、SS[I]を1にする。   On the other hand, when there is no white pattern (step S101 / No), next, a halftone dot determination process is performed (step S103). Actually, when SS [I] = 1, the result one pixel before is a halftone dot, and count_bk is 0 (1), sate is set to 1. Furthermore, in addition to (1), SS [I] is set to 1 when count_bk is 0.

網点判定処理の後には、網点間隔判定を行う(ステップS104)。state = 0で、かつ、count > tha_count_sの場合には、以下の変数を初期化する。
count_bk = tha_count
SS[I] =0
tha_count_s:非網点領域上の網点パターン間の距離(閾値)
After the halftone dot determination process, a halftone dot interval determination is performed (step S104). If state = 0 and count> tha_count_s, initialize the following variables:
count_bk = tha_count
SS [I] = 0
tha_count_s: Distance between halftone dot patterns on the non-halftone area (threshold)

さらに、count_bk,count_c,count_m,count_yのいずれかが0で、かつ、count > tha_count_eの場合には、以下の変数を初期化する。
count_bk= tha_count
state = 0
SS[I] = 0
tha_count_e:非網点領域上の網点パターン間の距離(閾値)
Further, when any of count_bk, count_c, count_m, and count_y is 0 and count> tha_count_e, the following variables are initialized.
count_bk = tha_count
state = 0
SS [I] = 0
tha_count_e: Distance (threshold) between halftone dot patterns on non-halftone areas

上記の判定が終了した後、count = count + 1を行う。   After the above determination is completed, count = count + 1 is performed.

次に、網点パターンを照合する網点カウント処理を行う(ステップS105)。網点パターンとは、図13に示すような画素パターンであり、●は黒画素を示し、○は非黒画素を示している。この照合の結果、パターンと一致した場合にはcountを0すると共にcount_bkを−1する。   Next, a halftone dot count process for matching halftone dot patterns is performed (step S105). The halftone dot pattern is a pixel pattern as shown in FIG. 13, where ● represents a black pixel, and ◯ represents a non-black pixel. As a result of this collation, if the pattern matches, count is set to 0 and count_bk is set to -1.

ここで状態判定処理を行い、網点かどうかを判定する(ステップS106)。このときの判定基準はstateの値であり、state = 1であれば網点と判定して(ステップS106/Yes)、細線判定へと移行する。一方、state = 1ではない場合には網点とは判定されず(ステップS106/No)、非網点画素処理へと移行し(ステップS108)、state = 0にして非網点として結果を出力する。   Here, a state determination process is performed to determine whether the dot is a halftone dot (step S106). The determination criterion at this time is the value of state. If state = 1, it is determined as a halftone dot (step S106 / Yes), and the process proceeds to fine line determination. On the other hand, when the state is not 1, the halftone dot is not determined (step S106 / No), the process proceeds to the non-halftone pixel processing (step S108), and the result is output as a non-halftone dot with state = 0. To do.

また一方、前述したように、ステップS106にて網点として判定された場合には(ステップS106/Yes)、細線判定処理を行う(ステップS107)。これは、注目画素の左右(12画素)に前述した白パターンが両側に存在して、かつ、count_xが初期値の場合には、細線と判断して、SS[I] = 0とする。最後に、網点画素処理を行い(ステップS109)state = 1にして網点として結果を出力する。   On the other hand, as described above, when it is determined as a halftone dot in Step S106 (Step S106 / Yes), fine line determination processing is performed (Step S107). If the above-described white pattern exists on both sides of the pixel of interest (12 pixels) on both sides and count_x is an initial value, it is determined as a thin line and SS [I] = 0. Finally, halftone pixel processing is performed (step S109), and the result is output as a halftone dot with state = 1.

3−3)網点検出2
網点検出1では、画像データを順方向で処理していたが、網点検出2では逆方向で処理を行う。
網点検出1では網点の先端部が網点とならない部分を、本網点検出2では逆読みすることによって、網点となるようにしている。
3-3) Halftone detection 2
In halftone detection 1, image data is processed in the forward direction, but in halftone detection 2, processing is performed in the reverse direction.
In the halftone dot detection 1, a portion where the tip of the halftone dot does not become a halftone dot is reversely read in the halftone dot detection 2 so as to become a halftone dot.

このようにして、網点検出1および網点検出2を行うことで、白パターン白パターンまでの間に一定以上の網点パターンが存在する場合には、網点として検出する。さらに、網点パターンと綱点パターンとの間隔が広いときには非網点とすることによって、前述した図20のように、黒グラデーションの濃い背景中に形成された白抜き文字を非網点とすることができる。グラデーションの濃い背景は、網点形状がほとんどなく非網点となる。また、さらには、グラデーションの薄い背景中に形成された濃い文字の場合も、図21に示すように、網点形状がほとんどなく非網点となる。   By performing halftone dot detection 1 and halftone dot detection 2 in this manner, when a certain halftone dot pattern exists between the white pattern and the white pattern, it is detected as a halftone dot. Further, when the interval between the halftone dot pattern and the ruled dot pattern is wide, non-halftone dots are used, so that white characters formed in a dark background with black gradation are made non-halftone dots as shown in FIG. be able to. A dark background has almost no halftone dot shape and is a non-halftone dot. Further, even in the case of a dark character formed in a background with a light gradation, as shown in FIG. 21, there is almost no halftone dot shape and a non-halftone dot.

また、文字は、一般的に白地上に形成される白地上文字であるから、網点パターンが文字のエッジ近傍にしかないので、誤検出することはほとんどない。また、本実施形態のパターンマッチングは、白と白以外との場合を例示して説明したが、例えば、Y成分、M成分、C成分を独立に行うこととしてもよい。Y,M,Cの各成分に展開すれば、印刷のインクの成分がY,M,Cであることからも、インクのドット再現を正確に抽出することができるようになる。   Further, since the character is generally a white ground character formed on the white ground, the halftone dot pattern is only near the edge of the character, so that it is hardly detected erroneously. Further, the pattern matching of the present embodiment has been described by exemplifying the case of white and other than white. However, for example, the Y component, the M component, and the C component may be performed independently. If it develops to each component of Y, M, and C, since the ink components of printing are Y, M, and C, it becomes possible to accurately extract the ink dot reproduction.

3−4)グレー検出1
グレー検出1および後述するグレー検出2では、文字領域は濃く、文字周辺の領域は薄いことを利用して、文字領域の濃さより薄く、文字周辺の領域より濃いところを中濃度画素(グレー画素)としてグレー判定を行うものである。グレー判定で使用する白地は、N値化の白画素である。
3-4) Gray detection 1
In the gray detection 1 and the gray detection 2 described later, the character area is dark and the area around the character is thin, so that the density is lower than the character area and darker than the area around the character. Is determined as gray. The white background used in the gray determination is an N-valued white pixel.

図11は、本実施形態のグレーパターン検出動作を示すフローチャートである。なお、図11中、MSは1画素前の処理結果を示し、SS[i]は、1ライン前の処理結果を示す。
まず、前処理として、MSとSS[i]とを比較して、1ライン前の処理結果と1画素前の処理結果とのうち多い値を用いる(ステップS201)。MSの値は、後述するグレーパターン検出後の白画素数の数である。
FIG. 11 is a flowchart showing the gray pattern detection operation of the present embodiment. In FIG. 11, MS indicates the processing result of the previous pixel, and SS [i] indicates the processing result of the previous line.
First, as preprocessing, MS and SS [i] are compared, and a larger value is used among the processing result of the previous line and the processing result of the previous pixel (step S201). The value of MS is the number of white pixels after gray pattern detection described later.

次に、注目画素に対してグレーパターンマッチング処理を行い、グレーパターンに一致するか判定する(ステップS202)。なお、グレーパターンとは、図12に示すような画素パターンであり、このグレーパターンと一致した場合には(ステップS202/Yes)、当該画素をグレー画素と判定するステップS207へと移行する。   Next, a gray pattern matching process is performed on the target pixel to determine whether or not it matches the gray pattern (step S202). Note that the gray pattern is a pixel pattern as shown in FIG. 12. If the gray pattern matches the gray pattern (Yes in step S202), the process proceeds to step S207 in which the pixel is determined as a gray pixel.

この判定の際、中濃度がグレーパターンと一致していれば、MS = 5、S[i]としてグレー画像と判定する。この中濃度とは、上述した3−1)N値化において、Dtah = 0であり、かつ、非白画素の場合を指す。   In this determination, if the medium density matches the gray pattern, it is determined as a gray image with MS = 5 and S [i]. This medium density refers to the case of Dtah = 0 and non-white pixels in the above-described 3-1) N-value conversion.

注目画素がグレーパターンと一致しない場合には(ステップS202/No)、次に、白画素であるかを判定する(ステップS203)。ここで白画素とは、N値化の白画素のことを指す。注目画素が白画素ではない場合には(ステップS203/No)、MSの値をチェックし(ステップS204)、MS > 0であれば(ステップS204/Yes)、注目画素がグレー画素として結果が出力される(ステップS207)。一方、MS > 0でなければ(ステップS204/No)、注目画素が非グレー画素として結果が出力される(ステップS208)。   If the target pixel does not match the gray pattern (step S202 / No), it is next determined whether it is a white pixel (step S203). Here, the white pixel means an N-valued white pixel. If the target pixel is not a white pixel (step S203 / No), the MS value is checked (step S204). If MS> 0 (step S204 / Yes), the result is output as the target pixel is a gray pixel. (Step S207). On the other hand, if MS> 0 is not satisfied (step S204 / No), the result is output as the target pixel being a non-gray pixel (step S208).

また、注目画素が白画素である場合にも(ステップS203/Yes)、MSの値をチェックする(ステップS205)。ここで、MS > 0の場合には(ステップS205/Yes)、MSの値に−1してステップS204へと移行する。また、一方、MS > 0ではない場合には(ステップS205/No)、注目画素が非グレー画素として結果が出力される(ステップS208)。   Also, when the target pixel is a white pixel (step S203 / Yes), the MS value is checked (step S205). If MS> 0 (step S205 / Yes), the MS value is decremented by 1, and the process proceeds to step S204. On the other hand, if MS> 0 is not satisfied (step S205 / No), the result is output with the target pixel as a non-gray pixel (step S208).

ステップS207およびステップS208よりそれぞれ結果が出力されると、後処理を行う(ステップS209)。この後処理としては、まず、SS[I]の更新処理を行う。色地が白地であり、かつ、MS > 1であれば、SS[I] = MS-1を行う。また、Bk画素であり、かつ、MS > 0であれば、SS[I] = MS-1を行う。   When the results are output from step S207 and step S208, post-processing is performed (step S209). As post-processing, SS [I] update processing is first performed. If the color background is white and MS> 1, perform SS [I] = MS-1. If it is a Bk pixel and MS> 0, SS [I] = MS−1 is performed.

また、bkカウント処理を行う。bk画素の連続数をカウントして、連続数がthg_count1以上であれば、bk画素が連続ありとする。例えば、thg_countが12で、連続数がNの時は、N- thg_count+1回にてbk画素が連続ありとなる。画素が連続数ある時には、MS = MS-1を行う。   Also, bk count processing is performed. If the number of consecutive bk pixels is counted and the number of consecutive is greater than or equal to thg_count1, it is assumed that there are consecutive bk pixels. For example, when thg_count is 12 and the number of consecutive is N, bk pixels are continuous in N−thg_count + 1 times. When there are consecutive pixels, MS = MS-1 is performed.

3−5)グレー検出2
グレー検出1では画像データを順方向で処理していたが、グレー検出2では逆方向で処理する。
グレー検出1にてグレー領域先端がグレーとならなかった部分を、グレー検出2では逆方向で処理することにより、グレーとしている。
3-5) Gray detection 2
In gray detection 1, image data is processed in the forward direction, but in gray detection 2, it is processed in the reverse direction.
A portion of the gray detection 1 where the tip of the gray area is not gray is grayed by processing in the reverse direction in the gray detection 2.

文字部は一般に、濃いデータと薄い(白)データで構成され、文字部にはない写真の特徴である中濃度の塊をグレーとして検出している。本実施形態では、この周辺画素を、白画素の数が一定値を超えるまでグレー画素としているので、濃い色であってもグレー画素となる。しかし、グレー領域内で所定の数以上黒が連続しているならば、非グレー画素とするようにしている。このようにして得られた結果がグレー画素となったものを、グレー領域とする。このことにより、黒が背景の白抜き文字を、非グレー領域とすることが可能になる。   The character portion is generally composed of dark data and light (white) data, and a medium-density block, which is a feature of a photograph not found in the character portion, is detected as gray. In the present embodiment, the peripheral pixels are gray pixels until the number of white pixels exceeds a certain value, so even a dark color is a gray pixel. However, if more than a predetermined number of blacks are continuous in the gray area, the pixel is set as a non-gray pixel. The result obtained in this manner is a gray pixel. As a result, it is possible to make a white character with a black background a non-gray area.

3−6)下地検出
適応2値化でライン毎に閾値を切り換えると、薄い領域においても文字判定する場合がある。この場合、薄い領域すべてが文字判定になれば問題はないが、閾値が薄い領域の画像にまたがっていると、2値化部での結果が白黒の変化点が多いものとなり、最終画像においてファイルサイズが大きくなってしまう。単純にグレー判定の領域の下限値(白側)を白寄りにしてしまうと、色地上の文字が文字判定できなくなるので、ここで、下地を検出する。
3-6) Background Detection When the threshold value is switched for each line by adaptive binarization, characters may be determined even in a thin area. In this case, there is no problem if all the thin areas are character-determined. However, if the image is in an area where the threshold is thin, the result of the binarization section has many black-and-white change points. The size will increase. If the lower limit value (white side) of the gray determination area is simply shifted to white, the character on the color ground cannot be determined, so the background is detected here.

下地に足して4×5のAND(論理積演算)を行い、次に2×3のOR(論理和演算)を行う。このようにして、入力データに対して下地を小さくしている。したがって、文字周辺の下地では、文字と下地との境界部も下地となり、下地の領域を小さくしているので文字を下地に含みにくくなるため、良好に下地を検出できる。   A 4 × 5 AND (logical product operation) is performed on the background, and then a 2 × 3 OR (logical sum operation) is performed. In this way, the background for the input data is reduced. Therefore, in the background around the character, the boundary between the character and the background is also the background, and since the background area is reduced, it is difficult to include the character in the background, so that the background can be detected satisfactorily.

5)文字判定+文字なか判定
5−1)文字判定
図7において、文字領域(孤立点除去1からの出力)であり、網点領域1,2(網点検出1、2のから出力)でなく、グレー領域(グレー検出1、2からの出力)でなく、下地領域(下地検出からの出力)でなく、文字なか(後述する文字なか判定結果)でない場合に、文字と判定するものである。
5) Character determination + character determination 5-1) Character determination In FIG. 7, a character area (output from isolated point removal 1) and halftone dot areas 1 and 2 (output from halftone detection 1 and 2) If the character is not a gray region (output from gray detection 1 or 2), a background region (output from background detection), and is not a character (character determination result described later), it is determined as a character. .

文字領域の判定に、下地領域、網点領域、グレー領域とで論理演算を行うのは、文字判定結果が本来、解像度の必要ない写真領域を文字領域としているため、写真領域として補正をしている。特に、写真領域は非常に多くの孤立点を含んでおり、この補正を行うことによって、文字画像の圧縮率が向上し、画像も文字・非文字の混在が少なくなるので画質向上も望める。   For the character area determination, logical operations are performed on the background area, halftone dot area, and gray area because the character determination result is originally a photo area that does not require resolution. Yes. In particular, the photographic region includes a large number of isolated points, and by performing this correction, the compression rate of the character image is improved, and the image is less mixed with characters and non-characters, so that the image quality can be improved.

なお、文字なか判定結果を文字判定結果から除外しているのは、黒文字を黒単色で出力するので文字画像を固定値にして、圧縮率を向上させるためである。   The reason why the character determination result is excluded from the character determination result is that black characters are output in a single black color, so that the character image is fixed and the compression rate is improved.

5−2)文字なか判定
5−2a)文字なか判定
文字なか判定は、図17に示すように、文字判定部171と、3ラインOR部172と、絵柄判定部173と、黒判定部174と、抽出部A175と、抽出部B176と、2つのミラー177a,bとで構成される。
5-2) Judgment of character 5-2a) Judgment of character As shown in FIG. 17, the character judgment unit 171, the 3-line OR unit 172, the picture judgment unit 173, and the black judgment unit 174 , An extraction unit A175, an extraction unit B176, and two mirrors 177a and 177b.

文字判定部171は、前段の像域分離の出力結果である、文字判定結果と色判定結果との論理演算をとって、文字であり、かつ、色でなければ、黒文字エッジをして出力する。3ラインOR部172は、文字判定の結果である黒文字エッジの3ライン×1画素のORをする。本来ならば、この3ラインORではなく、抽出1の後に2ライン遅延を行って、抽出2とライン遅延を合わせる必要がある。しかし、抽出1の後でライン遅延をすると、画像データを遅延する必要が出てくるため、ここで3ラインORすることによって、ライン遅延を吸収している。   The character determination unit 171 performs a logical operation on the character determination result and the color determination result, which is the output result of the image area separation in the previous stage, and outputs a character with a black character edge if it is not a color. . The 3-line OR unit 172 ORs 3 lines × 1 pixel of the black character edge that is the result of character determination. Originally, instead of this 3-line OR, it is necessary to perform a 2-line delay after the extraction 1 to match the line delay with the extraction 2. However, if line delay is performed after extraction 1, it becomes necessary to delay the image data. Therefore, the line delay is absorbed by ORing three lines here.

絵柄判定部173は、前段の像域分離の出力結果である色判定結果と、グレー検出1の結果と、グレー検出2の結果と、網点検出1の結果と、網点検出2の結果とのうち、いずれか1つでもONであれば、絵柄と判定する。黒判定部174は、前段の像域分離の出力結果である色判定結果が、非色で、かつN値化で黒(Bkまたは、濃い黒)ならば、黒とする。   The pattern determination unit 173 includes a color determination result, which is an output result of the previous image area separation, a result of gray detection 1, a result of gray detection 2, a result of halftone detection 1, and a result of halftone detection 2. If any one of them is ON, it is determined as a picture. The black determination unit 174 determines black if the color determination result, which is the output result of the image area separation in the previous stage, is non-color and black (Bk or dark black) in N-value.

抽出部A175は、文字のなかを抽出する。
ここで、抽出部A175における文字なか抽出動作について、図18を用いて説明する。
なお、ここでは以下、3ラインOR部172の出力を黒文字エッジ、絵柄判定部173の結果を絵柄、黒判定部174の結果を黒として説明する。
The extraction unit A175 extracts characters.
Here, the extraction operation for characters in the extraction unit A175 will be described with reference to FIG.
In the following description, it is assumed that the output of the 3-line OR unit 172 is a black character edge, the result of the pattern determination unit 173 is a pattern, and the result of the black determination unit 174 is black.

まず、文字なか判定動作が開始されると、注目画素の判定を行う(ステップS301)。黒文字エッジと判定された場合には(ステップS301/黒文字エッジ)、文字なか領域とする。また、絵柄と判定された場合には(ステップS301/絵柄)、絵柄領域とする。なお、像域分離のアルゴリズム上、文字なか領域と絵柄領域とが共にONになることはない。   First, when a character determination operation is started, a target pixel is determined (step S301). When it is determined that the character edge is a black character (step S301 / black character edge), the character is defined as a region. If it is determined that the pattern is a pattern (step S301 / pattern), the pattern area is set. Note that the character area and the picture area are not both turned on by the image area separation algorithm.

ステップS301において注目画素が黒文字エッジでも絵柄でもないと判定された場合には、高濃度判定を行い(ステップS302)、注目ラインにおける黒画素判定の結果が黒ではない場合には(ステップS302/No)、中間領域とする。一方、黒画素判定の結果が黒の場合には(ステップS302/Yes)、1ライン前の判定結果をチェックする(ステップS303)。   If it is determined in step S301 that the target pixel is neither a black character edge nor a picture, a high density determination is performed (step S302). If the result of black pixel determination in the target line is not black (step S302 / No) ), The intermediate area. On the other hand, when the result of the black pixel determination is black (step S302 / Yes), the determination result of one line before is checked (step S303).

線分処理後の1ライン前の判定結果が絵柄領域であれば(ステップS303/絵柄)、絵柄領域とする。また、1ライン前の判定結果が絵柄領域ではなければ(ステップS303/絵柄以外)、1画素前の判定結果をチェックする(ステップS304)。ここで、1画素前の判定結果が絵柄領域であれば(ステップS304/絵柄)、絵柄領域とする。一方、1画素前の判定結果が絵柄領域でなければ(ステップS304/絵柄以外)、今度は、線分処理後の1ライン前の判定が文字なか領域かをチェックする(ステップS305)。   If the determination result one line before the line segment processing is a pattern area (step S303 / pattern), the pattern area is determined. If the determination result of the previous line is not a picture area (step S303 / other than the picture), the determination result of the previous pixel is checked (step S304). Here, if the determination result of one pixel before is a picture area (step S304 / picture), it is set as a picture area. On the other hand, if the determination result of one pixel before is not a pattern area (step S304 / other than pattern), it is checked whether the determination one line before the line segment processing is a character area (step S305).

線分処理後の1ライン前の判定結果が文字なか領域であれば(ステップS305/文字なか)、文字なか領域とする。また、1ライン前の判定結果が文字なか領域ではなければ(ステップS303/文字なか以外)、1画素前の判定結果をチェックする(ステップS306)。ここで、1画素前の判定結果が文字なか領域であれば(ステップS306/文字なか)、絵柄領域とする。一方、1画素前の判定結果が文字なか領域でなければ(ステップS306/文字なか以外)、中間領域とする。   If the determination result one line before the line segment processing is an area that is not a character (step S305 / character), it is determined to be an area that is a character. If the determination result one line before is not a character region (step S303 / other than character), the determination result one pixel before is checked (step S306). Here, if the determination result of one pixel before is a character area (step S306 / character), it is set as a picture area. On the other hand, if the determination result of one pixel before is not a character or a region (step S306 / other than a character), it is determined as an intermediate region.

このようにして、文字なか領域、絵柄領域、中間領域と判定された後で、最後に線分処理を行う。ここでは、色判定結果が色はでなく、かつ、高濃度の画素が128画素以上連続していれば、中間領域として補正する。   Thus, after it is determined that the area is a character area, a pattern area, or an intermediate area, line segment processing is finally performed. Here, if the color determination result is not a color and if there are 128 or more continuous high-density pixels, they are corrected as an intermediate region.

抽出部B176では、ミラー177a,177bを用いた逆像画像にて文字なか判定を行う。
なお、逆像での処理をパイプライン処理で実現させるため、抽出部B176の前後にそれぞれミラー177a,177bを配置している。なお、抽出部B176での動作は抽出部A175と同様なので、説明を省略する。
The extraction unit B 176 determines whether there is a character in the reverse image using the mirrors 177a and 177b.
Note that mirrors 177a and 177b are respectively arranged before and after the extraction unit B176 in order to realize processing with an inverse image by pipeline processing. Note that the operation of the extraction unit B 176 is the same as that of the extraction unit A 175, and thus description thereof is omitted.

そして、判定部178にて、抽出部A175の出力と抽出部B176のミラーの出力との両方が文字なか領域で、かつ、2値化部からの出力が文字ならば、黒文字とする。   Then, in the determination unit 178, if both the output of the extraction unit A175 and the output of the mirror of the extraction unit B176 are characters, and the output from the binarization unit is a character, it is determined as a black character.

このように、周辺画素の画像の状態を参照して文字なか判定を行うことで、大きな画像領域の文字のなかを判定することができる。エッジ文字領域と色領域は、読み取った画像で、色や網点などを精度よく検出することができるが、文字なか検出の濃度情報として、平滑化後のデータを用いると、網点で構成された文字に対しては網点領域が少なく、エッジ文字領域になったりならなかったりする。したがって、網点情報ではなく、フィルタ処理後(エッジ文字領域でないので平滑化される)のデータを用いて、濃い部分のみを文字のなかとしている。   In this way, it is possible to determine whether a character is in a large image area by referring to the state of the image of the surrounding pixels and determining whether the character is a character. The edge character area and color area can accurately detect colors and halftone dots in the read image, but if the smoothed data is used as density information for character detection, it is composed of halftone dots. There are few halftone dot areas for the characters, and they may not become edge character areas. Therefore, not the halftone dot information but the data after filtering (smoothed because it is not an edge character area), only the dark portion is set as the character.

新聞の写真のように、スクリーン線数の低い網点は、平滑化しても網点形状が残るので、網点検出で検出する。また、カタログなどの一般的な原稿にあるスクリーン線数の高い網点は、平滑がかかり網点形状はなくなるので、網点面積率が30%から60%程度のものはグレー判定にてグレー検出する。これは、特に文字の先端部は幅が狭いので、網点(非文字領域)となりにくく、例えば先端がエッジ文字領域で文字の中央部が網点と判定判定されると、文字なか判定が中途半端な結果となり、見苦しくなることを避けるためである。   A halftone dot with a low screen line number, such as a photograph of a newspaper, is detected by halftone dot detection because a halftone dot shape remains even after smoothing. In addition, halftone dots with a high screen line number in general manuscripts such as catalogs are smoothed and the halftone dot shape is lost, and those with a dot area ratio of about 30% to 60% are detected as gray by gray judgment. To do. This is because, especially, the leading edge of the character is narrow, so that it is difficult to form a halftone dot (non-character area). This is to avoid odd results and unsightly results.

次に、入力フォーマット変換部について、図面を用いて説明する。図6は、出力フォーマット変換部54の構成を示すブロック図である。
出力フォーマット変換部54は、TIFフォーマット展開部541と、Jpgフォーマット展開部542と、圧縮フォーマット展開部543と、出力選択部544とを備えている。
Next, the input format conversion unit will be described with reference to the drawings. FIG. 6 is a block diagram illustrating a configuration of the output format conversion unit 54.
The output format conversion unit 54 includes a TIF format expansion unit 541, a Jpg format expansion unit 542, a compression format expansion unit 543, and an output selection unit 544.

TIFフォーマット展開部541と、Jpgフォーマット展開部542と、圧縮フォーマット展開部543とは、各フォーマットをビットマップに展開する機能を持ち、出力選択部544は、上記3つの各フォーマットの内から1つを選択して、出力と同時にRGBデータをYMCBkにデータ変換する。すなわち、入力画像データがTIFフォーマットであれば、TIFフォーマット展開部にてビットマップデータで展開する。Jpgフォーマットであれば、Jpgフォーマット展開部にてビットマップデータで展開する。さらに、圧縮フォーマットであれば、圧縮フォーマット展開部にて展開する。   The TIF format expansion unit 541, the Jpg format expansion unit 542, and the compression format expansion unit 543 have a function of expanding each format into a bitmap, and the output selection unit 544 has one of the above three formats. Select and convert RGB data to YMCBk simultaneously with output. That is, if the input image data is in the TIF format, the TIF format development unit develops it with bitmap data. If it is Jpg format, it will be expanded with bitmap data in Jpg format expansion part. Furthermore, if it is a compression format, it expand | deploys in a compression format expansion | deployment part.

ここでさらに、本実施形態の要部である圧縮フォーマット展開部543について説明する。
圧縮フォーマット展開部543は、画像ファイル展開部5431と、黒画像展開部5432と、2値画像展開部5433と、背景画像展開部5434と、文字画像展開部5435と、画像ファイル合成部5436とを備えている。
Here, the compression format expansion unit 543, which is a main part of the present embodiment, will be described.
The compression format expansion unit 543 includes an image file expansion unit 5431, a black image expansion unit 5432, a binary image expansion unit 5433, a background image expansion unit 5434, a character image expansion unit 5435, and an image file composition unit 5436. I have.

画像ファイル展開部5431では、図5の圧縮フォーマット生成部535にて生成したファイル中の4つファイルを、黒画像展開部5432、2値画像展開部5433、背景画像展開部5434、文字画像展開部5435にそれぞれ対応した画像データを出力する。黒画像展開部5432ではMMRを伸張してビットマップに展開し、また2値画像展開部5433ではMMRを伸張してビットマップに展開し、また背景画像展開部5434では背景画像のJPGをビットマップに、文字画像展開部5435では文字画像のJPGをビットマップに、それぞれ展開する。展開した4つのビットマップデータは、画像ファイル合成部5436にて1枚のビットマップデータに合成される。   In the image file development unit 5431, four files among the files generated by the compression format generation unit 535 in FIG. 5 are converted into a black image development unit 5432, a binary image development unit 5433, a background image development unit 5434, and a character image development unit. Image data corresponding to 5435 is output. The black image expansion unit 5432 expands the MMR to expand it into a bitmap, the binary image expansion unit 5433 expands the MMR into a bitmap, and the background image expansion unit 5434 converts the background image JPG into a bitmap. In addition, the character image expansion unit 5435 expands each JPG of the character image into a bitmap. The developed four bitmap data are synthesized into one piece of bitmap data by the image file synthesis unit 5436.

画像ファイル展開部5431では、2値画像展開部5433の出力が文字領域であれば、文字画像展開部5435の出力である画像データを出力し、2値画像展開部5433の出力が非文字領域であれば、背景画像展開部5434の出力である画像データを出力する。さらに、黒画像展開部5432の出力が黒文字であれば、黒で出力する。このようにして、1枚の画像を生成する。なお、文字と非文字との解像度は2値画像の解像度となる。このときのイメージ図を図19に示す。   In the image file development unit 5431, if the output of the binary image development unit 5433 is a character region, the image data output from the character image development unit 5435 is output, and the output of the binary image development unit 5433 is a non-character region. If there is, the image data that is the output of the background image development unit 5434 is output. Further, if the output of the black image development unit 5432 is a black character, it is output in black. In this way, one image is generated. Note that the resolution of characters and non-characters is the resolution of the binary image. FIG. 19 shows an image diagram at this time.

図19では、入力画像として、黒色文字である「ディスクトップ」の文字と、赤色文字である「新発売」の文字、および、背景画像(絵柄)であるPCの画像が入力される。入力された画像は、「ディスクトップ」が黒文字画像として、「新発売」(赤色)が文字画像として、「新発売」(黒色)が2値画像として、PCの絵柄が背景画像として、それぞれ格納される。また、この画像を外部へ出力する際には、上記黒文字画像と、文字画像と2値画像と背景画像とを合成して出力する。   In FIG. 19, the characters “disc top” that is black characters, the characters “new sale” that is red characters, and the PC image that is the background image (pattern) are input as input images. The input images are stored as “Disctop” as a black character image, “Newly released” (red) as a character image, “Newly released” (black) as a binary image, and PC design as a background image. Is done. When this image is output to the outside, the black character image, the character image, the binary image, and the background image are combined and output.

なお、本実施形態は、上記実施形態を実現するシステム内に用いることも可能であるし、また、コンピュータが読み取り可能な記憶媒体内に記憶されたソフトウェアとして提供することも可能である。   The present embodiment can be used in a system that realizes the above-described embodiment, or can be provided as software stored in a computer-readable storage medium.

以上、本実施形態の画像処理装置、画像送信装置、画像形成装置、プログラムおよび記録媒体によれば、写真(自然画像)を検出するために、中濃度の塊をグレーパターンマッチングにてグレー領域を検出して、特定の色画素(黒)が所定数以上連続していれば白画素と同等とみなし、白画素を計測して所定数以上になるまで、グレー画素(写真画素)とすることにより、特定の色画素(黒)上の白抜き文字を文字判定(非絵柄判定)することが可能になる。
また、グレー画素と判定した文字に対しては非文字と判定補正することにより、圧縮率の向上が可能になる。
As described above, according to the image processing apparatus, the image transmission apparatus, the image forming apparatus, the program, and the recording medium of the present embodiment, in order to detect a photograph (natural image), a gray area is determined by gray pattern matching of a medium density block. By detecting, if a predetermined number or more of a specific color pixel (black) continues, it is regarded as equivalent to a white pixel, and by measuring the white pixel, it becomes a gray pixel (photograph pixel) until the predetermined number or more is reached. Thus, it is possible to perform character determination (non-pattern determination) for white characters on a specific color pixel (black).
Further, it is possible to improve the compression rate by correcting the determination of a gray pixel as a non-character.

また、網点を検出するために白画素パターンマッチングで白領域を検出して、白領域と白領域の間の孤立ドットとを計測して孤立ドットが所定数以上あれば網点とし、さらに、孤立ドットの間隔が広ければ計測値を初期化(0)することにより、特定の色(黒)のグラデーションなどの濃い背景の白抜きやグラデーションなどの薄い背景上の文字を非文字とすることにより、圧縮率の向上が可能になる。
また、網点と判定した文字に対しては非文字と判定補正することにより、圧縮率の向上が可能になる。
Further, in order to detect a halftone dot, a white area is detected by white pixel pattern matching, an isolated dot between the white area and the white area is measured, and if there are a predetermined number or more, a halftone dot is obtained. If the distance between the isolated dots is wide, the measured value is initialized (0), so that the background on a dark background such as a gradation of a specific color (black) or a character on a light background such as a gradation is made non-character. The compression rate can be improved.
Further, the compression rate can be improved by correcting the character determined to be a halftone dot as a non-character.

さらに、スキャナ配信装置や複写機などの画像形成装置として提供したり、ソフトウェアとして提供することによって、非文字領域を検出することで圧縮率の高い圧縮を行うことを可能としファイルサイズを小さくする本実施形態の画像処理装置、画像送信装置、画像形成装置、プログラムおよび記録媒体を提供することができる。   Furthermore, it can be provided as an image forming device such as a scanner distribution device or a copying machine, or provided as software, so that it is possible to perform compression with a high compression rate by detecting a non-character area and reduce the file size. The image processing apparatus, the image transmission apparatus, the image forming apparatus, the program, and the recording medium of the embodiment can be provided.

本実施形態の画像処理装置を示すブロック図である。It is a block diagram which shows the image processing apparatus of this embodiment. 本実施形態のスキャナ補正部の構成を示すブロック図である。It is a block diagram which shows the structure of the scanner correction | amendment part of this embodiment. 本実施形態のプリンタ補正部の構成を示すブロック図である。It is a block diagram which shows the structure of the printer correction | amendment part of this embodiment. 本実施形態のコントローラの構成を示すブロック図である。It is a block diagram which shows the structure of the controller of this embodiment. 本実施形態の出力フォーマット変換部の構成を示すブロック図である。It is a block diagram which shows the structure of the output format conversion part of this embodiment. 本実施形態の入力フォーマット変換部の構成を示すブロック図である。It is a block diagram which shows the structure of the input format conversion part of this embodiment. 本実施形態の2値化部の構成を示すブロック図である。It is a block diagram which shows the structure of the binarization part of this embodiment. 本実施形態の適応2値化部の構成を示すブロック図である。It is a block diagram which shows the structure of the adaptive binarization part of this embodiment. 下地領域、グレー領域、文字領域の概念図である。It is a conceptual diagram of a ground area, a gray area, and a character area. 本実施形態の網点検出動作を示すフローチャートである。It is a flowchart which shows the halftone detection operation | movement of this embodiment. 本実施形態のグレーパターン検出動作を示すフローチャートである。It is a flowchart which shows the gray pattern detection operation | movement of this embodiment. 本実施形態のグレーパターンを示す図である。It is a figure which shows the gray pattern of this embodiment. 本実施形態の網点パターンを示す図である。It is a figure which shows the halftone dot pattern of this embodiment. 本実施形態の白パターンを示す図である。It is a figure which shows the white pattern of this embodiment. 本実施形態の適応2値化の参照画素を示す図である。It is a figure which shows the reference pixel of the adaptive binarization of this embodiment. 本実施形態の孤立点除去の画素パターンを示す図である。It is a figure which shows the pixel pattern of the isolated point removal of this embodiment. 本実施形態の文字なか判定動作を示すフローチャートである。It is a flowchart which shows the character determination operation | movement of this embodiment. 本実施形態の文字なか判定動作の抽出部A175での動作を示すフローチャートである。It is a flowchart which shows operation | movement in extraction part A175 of determination operation | movement in the character of this embodiment. 本実施形態の入力画像と、ファイル画像と、出力画像とを模式的に示す図である。It is a figure which shows typically the input image of this embodiment, a file image, and an output image. 白抜き文字の一例を示す図である。It is a figure which shows an example of an outline character. グラデーションの薄い背景中に濃い文字を形成した場合の一例を示す図である。It is a figure which shows an example at the time of forming a dark character in the background of a light gradation.

符号の説明Explanation of symbols

1 カラー画像処理装置
2 スキャナ
3 スキャナ補正部
4 圧縮処理部
5 コントローラ
6 HDD
7 NIC
8 伸張処理部
9 プリンタ補正部
10 プロッタ
DESCRIPTION OF SYMBOLS 1 Color image processing apparatus 2 Scanner 3 Scanner correction | amendment part 4 Compression processing part 5 Controller 6 HDD
7 NIC
8 Decompression processing section 9 Printer correction section 10 Plotter

Claims (3)

入力された画像データから文字領域を検出する画像処理装置であって、
N種類の色毎に前記画像データの各画素について色の濃いものをアクティブ画素とする第1の二値化処理を行い、出力結果を前記N種類の色毎に保持し、
前記画像データの各画素を白レベルで二値化して白画素であるか否か判定する第2の二値化処理を行う、N値化手段と、
前記画像データの各画素をライン毎に逐次処理して、前記各画素がグレー画素であるか非グレー画素であるかを判定するグレー領域検出手段と、を有し、
前記グレー領域検出手段は、
前記第2の二値化処理により白画素と判定された画素が、第1の数を超えて連続するまで、注目画素をグレー画素であると判定し、
また、前記第1の二値化処理により前記N種類の色のうち黒のアクティブ画素であると判定された画素が、第2の数を超えて連続した場合に、注目画素を非グレー画素であると判定した結果
グレー画素となった画素を、グレー領域として検出し、
さらに、
前記グレー領域検出手段により検出されたグレー領域を文字領域でないと判定する文字領域検出手段を有すること
を特徴とする、画像処理装置。
An image processing apparatus for detecting a character area from input image data,
For each of the N types of colors, a first binarization process is performed in which each pixel of the image data has a dark color as an active pixel, and an output result is held for each of the N types of colors.
N-value conversion means for performing a second binarization process for determining whether each pixel of the image data is a white pixel by binarizing at a white level;
Gray region detecting means for sequentially processing each pixel of the image data for each line and determining whether each pixel is a gray pixel or a non-gray pixel;
The gray area detecting means includes
Determining that the pixel of interest is a gray pixel until pixels determined to be white pixels by the second binarization process continue beyond the first number;
In addition, when the pixel determined to be a black active pixel among the N types of colors by the first binarization process continues beyond the second number, the target pixel is a non-gray pixel. As a result of determining that there is,
The pixels that are gray pixel is detected as a gray area,
further,
An image processing apparatus comprising: a character area detecting unit that determines that the gray area detected by the gray area detecting unit is not a character area.
前記画像データの各画素をライン毎に逐次処理して、前記画像データ中から網点パターンを検出し、網点パターンが検出された領域を網点領域、検出した網点パターンと網点パターンの間隔が広い場合に非網点領域と判断する網点検出手段を有し、
前記文字領域検出手段は、前記網点検出手段により検出された網点領域を文字領域でないと判定することを特徴とする、請求項1記載の画像処理装置。
Each pixel of the image data is sequentially processed for each line, a halftone dot pattern is detected from the image data, a region where the halftone dot pattern is detected is a halftone dot region, a halftone dot pattern and a halftone dot pattern Having a halftone dot detecting means for judging that the area is not halftone when the interval is wide;
The image processing apparatus according to claim 1, wherein the character area detecting unit determines that the halftone dot area detected by the halftone dot detecting unit is not a character area.
コンピュータに、入力された画像データから文字領域を検出する画像処理を実行させるプログラムであって、
前記コンピュータに、
N種類の色毎に前記画像データの各画素について色の濃いものをアクティブ画素とする第1の二値化処理と、
出力結果を前記N種類の色毎に保持する処理と、
前記画像データの各画素を白レベルで二値化する第2の二値化処理と、
前記画像データの各画素のライン毎の逐次処理によって、前記各画素がグレー画素であるか非グレー画素であるかを判定するグレー領域検出処理と、
前記グレー領域検出処理により検出されたグレー領域を文字領域でないと判定する文字領域検出処理と、を実行させ、
前記グレー領域検出処理は、
前記第2の二値化処理により白画素と判定された画素が、第1の数を超えて連続するまで、注目画素をグレー画素であると判定し、
また、前記第1の二値化処理により前記N種類の色のうち黒のアクティブ画素であると判定された画素が、第2の数を超えて連続した場合に、注目画素を非グレー画素であると判定した結果
グレー画素となった画素を、グレー領域として検出する処理であることを特徴とする、プログラム。
A program for causing a computer to execute image processing for detecting a character area from input image data,
In the computer,
A first binarization process in which each pixel of the image data for each of N types of colors has a dark color as an active pixel;
A process of holding an output result for each of the N colors;
A second binarization process for binarizing each pixel of the image data at a white level;
Gray region detection processing for determining whether each pixel is a gray pixel or a non-gray pixel by sequential processing for each line of each pixel of the image data;
A character area detection process for determining that the gray area detected by the gray area detection process is not a character area; and
The gray area detection process includes:
Determining that the pixel of interest is a gray pixel until pixels determined to be white pixels by the second binarization process continue beyond the first number;
In addition, when the pixel determined to be a black active pixel among the N types of colors by the first binarization process continues beyond the second number, the target pixel is a non-gray pixel. As a result of determining that there is,
A program for detecting a pixel that has become a gray pixel as a gray region.
JP2006073273A 2006-03-16 2006-03-16 Image processing apparatus and program Expired - Fee Related JP4616199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006073273A JP4616199B2 (en) 2006-03-16 2006-03-16 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006073273A JP4616199B2 (en) 2006-03-16 2006-03-16 Image processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2007251661A JP2007251661A (en) 2007-09-27
JP4616199B2 true JP4616199B2 (en) 2011-01-19

Family

ID=38595483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006073273A Expired - Fee Related JP4616199B2 (en) 2006-03-16 2006-03-16 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP4616199B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012117754A1 (en) 2011-03-01 2012-09-07 富士フイルム株式会社 Color conversion device, color conversion method, and program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001016447A (en) * 1999-06-30 2001-01-19 Minolta Co Ltd Picture processor, picture processing method and recording medium with picture processing program stored therein

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0437259A (en) * 1990-05-31 1992-02-07 Fuji Xerox Co Ltd Background elimination processing system for picture recorder
JPH06189128A (en) * 1992-12-15 1994-07-08 Fuji Xerox Co Ltd Image processing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001016447A (en) * 1999-06-30 2001-01-19 Minolta Co Ltd Picture processor, picture processing method and recording medium with picture processing program stored therein

Also Published As

Publication number Publication date
JP2007251661A (en) 2007-09-27

Similar Documents

Publication Publication Date Title
JP4662066B2 (en) Image processing apparatus, image forming apparatus, image distribution apparatus, image processing method, program, and recording medium
JP5540553B2 (en) Image processing apparatus, image forming apparatus, image processing method, and image processing program
US7903872B2 (en) Image-processing apparatus and method, computer program, and storage medium
JP4557843B2 (en) Image processing apparatus and method
US7002709B1 (en) Image processing system, image processing method, and image input system
US20110052078A1 (en) Image inspection apparatus, image inspection method, and computer program product
US7916352B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4637054B2 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium
JP2009135796A (en) Image processing apparatus, image processing method, image processing program, image forming apparatus, storage medium
US9948824B2 (en) Image compressing device, image forming apparatus, image compressing method, and recording medium
JP4898601B2 (en) Image processing apparatus, image processing method, and program thereof
JP4616199B2 (en) Image processing apparatus and program
JP4963559B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program for causing computer to execute the method
JP4515986B2 (en) Image processing apparatus and program
JP2010074318A (en) Image processing apparatus and method, and image processing program
JP4659789B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2007235430A (en) Image processor and processing method, image distribution device, image formation apparatus, program, and recording medium
JP2007189275A (en) Image processor
JP3255085B2 (en) Image area determination method and apparatus, image processing apparatus
JP2006262334A (en) Image processing apparatus and scanner distribution apparatus
JP3738807B2 (en) Image processing apparatus and image processing method
JP7413751B2 (en) Image processing systems and programs
JP2006245736A (en) Color image processing apparatus, and network scanner apparatus
JP2006245727A (en) Image processing apparatus, network scanner apparatus, and color digital copying machine
JP3857515B2 (en) Image compression processing apparatus and image compression processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100309

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100510

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100706

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100906

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4616199

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees