JP2009033448A - Image processing system and program - Google Patents

Image processing system and program Download PDF

Info

Publication number
JP2009033448A
JP2009033448A JP2007194835A JP2007194835A JP2009033448A JP 2009033448 A JP2009033448 A JP 2009033448A JP 2007194835 A JP2007194835 A JP 2007194835A JP 2007194835 A JP2007194835 A JP 2007194835A JP 2009033448 A JP2009033448 A JP 2009033448A
Authority
JP
Japan
Prior art keywords
image
density
state
uniform
image 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.)
Granted
Application number
JP2007194835A
Other languages
Japanese (ja)
Other versions
JP4894664B2 (en
Inventor
Natsumi Miyazawa
なつみ 宮澤
Isayuki Kouno
功幸 河野
Hiroyuki Kono
裕之 河野
Atsushi Ito
篤 伊藤
Kunikazu Ueno
邦和 上野
Hiroaki Maezawa
浩明 前澤
Koichi Fujii
晃一 藤井
Takayuki Seki
隆行 関
Masakazu Fukunaga
正和 福永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2007194835A priority Critical patent/JP4894664B2/en
Publication of JP2009033448A publication Critical patent/JP2009033448A/en
Application granted granted Critical
Publication of JP4894664B2 publication Critical patent/JP4894664B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing system constituted so that deterioration of reproducibility is suppressed even when binarization processing is performed to an image area in which density in an image is not uniform. <P>SOLUTION: The detection means of the image processing system detects a value regarding a state that the density of the image area does not become uniform by performing a plurality of binarization processing to the image area, and a density correction means performs density correction of the image area on the basis of the value regarding the state that the density of the image area detected by the detection means does not become uniform. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像処理システム及び画像処理プログラムに関する。   The present invention relates to an image processing system and an image processing program.

プリンタを用いて印刷した文書に、人が鉛筆で加筆する場合がある。さらに、その鉛筆で加筆された文書をスキャナによって読み取って、プリンタを用いて印刷する技術がある。なお、鉛筆で加筆された画像領域は、画像内の濃淡が均一になっていない画像領域(いわゆるムラがある画像領域)の一例である。ムラがある画像領域として、鉛筆で加筆された画像領域の他に、例えば印影等の画像領域もある。   A person may add a pencil to a document printed using a printer. Furthermore, there is a technique in which a document added with a pencil is read by a scanner and printed using a printer. Note that the image region added with a pencil is an example of an image region in which the density in the image is not uniform (a so-called uneven image region). As an image area having unevenness, there is an image area such as a seal impression in addition to an image area written with a pencil.

これに関連する技術として、例えば、特許文献1には、カラー複写機などにおいて、鉛筆書き文字のような低コントラスト文字、薄い色地上の文字などの再生画質を改善することを課題とし、像域判定回路によって黒文字エッジ領域、色文字エッジ領域、絵柄領域を分離し、コントラスト判定回路によって低コントラスト領域を検出し、画像データ処理回路系は、分離された各像域にその種類に対応した処理を施すが、像域分離によって黒文字エッジ領域とされた領域であってもコントラスト判定回路で低コントラスト領域と判定された領域には色残り除去処理を適用せず、入力したC、M、Y、Kデータをそのまま入力する色文字エッジ領域用処理を施すことによって、低コントラスト文字の線のつながりがスムーズになり、「ぼそつき感」の少ない画像を再生可能にすることが開示されている。   As a technique related to this, for example, Patent Document 1 discloses that, in a color copying machine or the like, it is an object to improve reproduction image quality of low-contrast characters such as pencil-written characters, characters on light colors, and the like. The judgment circuit separates the black character edge area, the color character edge area, and the pattern area, and the contrast judgment circuit detects the low contrast area. The image data processing circuit system performs processing corresponding to the type of each separated image area. However, even if the region is a black character edge region by image region separation, the remaining color removal processing is not applied to the region determined by the contrast determination circuit as the low contrast region, and the input C, M, Y, K By applying color character edge area processing that inputs data as it is, the connection of low-contrast character lines becomes smoother. It is disclosed that enables reproduction image with less.

また、例えば、特許文献2には、多値画像内の各オブジェクトを適切に2値化することが可能な画像処理技術を提供することを課題とし、多値画像を2値化処理する2値化機能を複数含む2値化部を備える画像処理装置であって、注目画素データが、該多値画像に含まれるオブジェクトのエッジ部を構成するエッジ画素であるか、前記オブジェクト内の画素であるエッジ内画素であるか、あるいは背景領域を構成する背景画素であるかを判定する2値化処理判定部を備え、セレクタ部は、前記注目画素データがいずれの画素であるかによって前記複数の2値化機能を切り替えて使用することが開示されている。   Further, for example, Patent Document 2 has an object to provide an image processing technique capable of appropriately binarizing each object in a multi-valued image, and binarizes the binarization processing of the multi-valued image. An image processing apparatus including a binarization unit including a plurality of binarization functions, wherein the pixel-of-interest data is an edge pixel constituting an edge portion of an object included in the multi-valued image or a pixel in the object A binarization processing determination unit that determines whether the pixel is an in-edge pixel or a background pixel that constitutes a background region, and the selector unit includes the plurality of 2's depending on which pixel the pixel-of-interest data is. It is disclosed that the valuation function is switched and used.

また、例えば、特許文献3には、文字系画像の中の淡薄文字の検出率を上げると共に、画質のよい印刷物を得ることを課題とし、文字系画像の中の注目画素の第1の特徴量を算出する第1の算出手段と、第1の特徴量から第2の特徴量を算出する第2の算出手段と、第2の特徴量が山判定閾値より大きい注目画素に対して濃度強調処理を行う濃度強調手段と、山判定閾値を原稿の下地濃度に対応して設定するための下地濃度算出手段及び山判定閾値設定手段とを有する文字系画像処理部を備えた画像処理装置が開示されている。
特開2001−223912号公報 特開2005−311991号公報 特開2003−051948号公報
Further, for example, Patent Document 3 aims to increase the detection rate of light and thin characters in a character image and to obtain a printed matter with good image quality. The first feature amount of a pixel of interest in the character image Density enhancement processing for a pixel of interest whose second feature value is larger than a mountain determination threshold value, first calculation means for calculating the first feature value, second calculation means for calculating a second feature value from the first feature value, An image processing apparatus including a character image processing unit having density emphasizing means for performing image processing, background density calculation means for setting a mountain determination threshold corresponding to the background density of the document, and mountain determination threshold setting means is disclosed. ing.
JP 2001-223912 A JP 2005-311991 A JP 2003-051948 A

ところで、画像内の濃淡が均一になっていない画像領域、特に濃淡に過度の差があるような画像領域に対して、一律な濃度加算という濃度調整を行った後に2値化した場合、その2値化した画像を印刷すると画像内の淡い部分の情報が欠落してしまう。
本発明は、画像内の濃淡が均一になっていない画像領域に対して2値化を行う際に一律な濃度加算という濃度調整では対応できない程に、画像内の淡い部分の画素値が低い場合であっても、情報の欠落を抑えるようにした画像処理システム及び画像処理プログラムを提供することを目的としている。
Incidentally, when binarization is performed after density adjustment called uniform density addition is performed on an image area in which the density in the image is not uniform, particularly an image area in which there is an excessive difference in density, that 2 When a valuated image is printed, information on a light portion in the image is lost.
In the present invention, when binarization is performed on an image area in which the density in the image is not uniform, the pixel value of the light portion in the image is so low that the density adjustment such as uniform density addition cannot be handled. Even so, an object of the present invention is to provide an image processing system and an image processing program capable of suppressing the loss of information.

かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。
本願請求項1記載の発明は、画像領域に対して複数の2値化処理を行うことによって、該画像領域の濃淡が均一になっていない状態に関する値を検出する検出手段と、前記検出手段によって検出された画像領域の濃淡が均一になっていない状態に関する値に基づいて、前記画像領域の濃淡補正を行う濃淡補正手段を具備することを特徴とする画像処理システムである。
The gist of the present invention for achieving the object lies in the inventions of the following items.
According to the first aspect of the present invention, a plurality of binarization processes are performed on an image area, thereby detecting a value related to a state in which the density of the image area is not uniform, and the detection means. An image processing system comprising: density correction means for correcting the density of the image area based on a value relating to a state where the density of the detected image area is not uniform.

本願請求項2記載の発明は、前記検出手段は、前記2値化処理によって生じた領域数の差分に応じて、画像領域の濃淡が均一になっていない状態に関する値を検出することを特徴とする請求項1に記載の画像処理システムである。   The invention according to claim 2 of the present application is characterized in that the detection means detects a value related to a state in which the density of the image area is not uniform, according to the difference in the number of areas generated by the binarization processing. The image processing system according to claim 1.

本願請求項3記載の発明は、前記検出手段は、前記2値化処理によって生じた黒画素数の差分に応じて、画像領域の濃淡が均一になっていない状態に関する値を検出することを特徴とする請求項1に記載の画像処理システムである。   The invention according to claim 3 of the present application is characterized in that the detecting means detects a value relating to a state in which the density of the image area is not uniform, according to the difference in the number of black pixels generated by the binarization processing. The image processing system according to claim 1.

本願請求項4記載の発明は、前記検出手段は、前記2値化処理によって生じた領域数の差分及び黒画素数の差分に応じて、画像領域の濃淡が均一になっていない状態に関する値を検出することを特徴とする請求項1に記載の画像処理システムである。   In the invention according to claim 4 of the present application, the detection means determines a value relating to a state in which the density of the image area is not uniform according to the difference in the number of areas and the difference in the number of black pixels generated by the binarization process. The image processing system according to claim 1, wherein the image processing system is detected.

本願請求項5記載の発明は、前記濃淡補正手段は、前記検出手段によって検出された画像領域の濃淡が均一になっていない状態に関する値に基づいてパラメータを調整したフィルタを前記画像領域に適用して、濃淡補正を行うことを特徴とする請求項1に記載の画像処理システムである。   In the invention according to claim 5, the shading correction unit applies a filter in which a parameter is adjusted based on a value relating to a state where the shading of the image region detected by the detecting unit is not uniform to the image region. The image processing system according to claim 1, wherein shading correction is performed.

本願請求項6記載の発明は、前記濃淡補正手段は、目的に応じた複数種の濃淡補正を用意しており、操作者の操作に応じて、濃淡補正を選択できることを特徴とする請求項5に記載の画像処理システムである。   The invention according to claim 6 is characterized in that the density correction means prepares a plurality of types of density correction according to the purpose, and can select the density correction according to the operation of the operator. The image processing system according to claim 1.

本願請求項7記載の発明は、コンピュータを、画像領域に対して複数の2値化処理を行うことによって、該画像領域の濃淡が均一になっていない状態に関する値を検出する検出手段と、前記検出手段によって検出された画像領域の濃淡が均一になっていない状態に関する値に基づいて、前記画像領域の濃淡補正を行う濃淡補正手段として機能させることを特徴とする画像処理プログラムである。   The invention according to claim 7 of the present application provides a detection means for detecting a value relating to a state in which the density of the image area is not uniform by performing a plurality of binarization processes on the image area, and An image processing program that functions as a density correction unit that performs density correction of an image area based on a value related to a state in which the density of the image area detected by the detection unit is not uniform.

請求項1の画像処理システムによれば、画像内の濃淡が均一になっていない画像領域に対して2値化を行う際に画像内の淡い部分の画素値が一律な濃度加算という濃度調整では対応できない程に低い場合であっても、情報の欠落を抑えることができる。   According to the image processing system of claim 1, when binarization is performed on an image area in which the density in the image is not uniform, the pixel value of the light portion in the image is subjected to density adjustment in which uniform density addition is performed. Even if it is so low that it is impossible to cope with, it is possible to suppress the loss of information.

請求項2の画像処理システムによれば、画像領域の濃淡が均一になっていない状態に関する指標として適している複数の2値化処理によって生じた領域数の増減を用いることができる。   According to the image processing system of the second aspect, it is possible to use the increase / decrease in the number of areas generated by a plurality of binarization processes suitable as an index relating to a state where the density of the image area is not uniform.

請求項3の画像処理システムによれば、画像領域の濃淡が均一になっていない状態に関する指標として適している複数の2値化処理によって生じた黒画素数の増減を用いることができる。   According to the image processing system of the third aspect, it is possible to use the increase / decrease in the number of black pixels caused by a plurality of binarization processes suitable as an index relating to a state where the density of the image area is not uniform.

請求項4の画像処理システムによれば、画像内の淡い部分の情報の欠落を抑えるための画像領域の濃淡が均一になっていない状態に関する値の検出を、本構成を有していない場合に比較して、より精密に行うことができる。   According to the image processing system of claim 4, in the case where the present embodiment does not have a configuration for detecting a value relating to a state in which the density of the image area is not uniform in order to suppress the lack of information of the light portion in the image. In comparison, it can be performed more precisely.

請求項5の画像処理システムによれば、再現性の劣化を抑えることに適している濃淡補正を行うことができる。   According to the image processing system of the fifth aspect, it is possible to perform light / dark correction suitable for suppressing deterioration in reproducibility.

請求項6の画像処理システムによれば、操作者の意図に応じた画像領域を再現することができるようになる。   According to the image processing system of the sixth aspect, it is possible to reproduce the image area according to the intention of the operator.

請求項7の画像処理プログラムによれば、画像内の濃淡が均一になっていない画像領域に対して2値化を行う際に画像内の淡い部分の画素値が一律な濃度加算という濃度調整では対応できない程に低い場合であっても、情報の欠落を抑えることができる。   According to the image processing program of claim 7, when binarization is performed on an image area in which the density in the image is not uniform, the pixel value of the light portion in the image is subjected to density adjustment in which uniform density addition is performed. Even if it is so low that it is impossible to cope with, it is possible to suppress the loss of information.

以下、図面に基づき本発明を実現するにあたっての好適な一実施の形態の例を説明する。
まず、本実施の形態の概要を説明する。多値画像を2値化した際に、濃淡のムラがある画像領域の影響で、本来であれば再現されるはずの部分が欠けてしまったような「欠け」が生じてしまう。この「欠け」の度合いを数値化した「状態値」として算出する。そして、その状態値に応じて、ムラのある画像領域の濃淡を補正する。
Hereinafter, an example of a preferred embodiment for realizing the present invention will be described with reference to the drawings.
First, an outline of the present embodiment will be described. When a multi-valued image is binarized, “a chip” is generated due to the influence of an image region with uneven shading, in which a portion that would otherwise be reproduced is lost. The degree of “missing” is calculated as a “state value” obtained by quantification. Then, the shading of the uneven image region is corrected according to the state value.

図1は、本実施の形態の構成例についての概念的なモジュール構成図を示している。
なお、モジュールとは、一般的に論理的に分離可能なソフトウェア(コンピュータ・プログラム)、ハードウェア等の部品を指す。したがって、本実施の形態におけるモジュールはコンピュータ・プログラムにおけるモジュールのことだけでなく、ハードウェア構成におけるモジュールも指す。それゆえ、本実施の形態は、コンピュータ・プログラム、システム及び方法の説明をも兼ねている。ただし、説明の都合上、「記憶する」、「記憶させる」、これらと同等の文言を用いるが、これらの文言は、実施の形態がコンピュータ・プログラムの場合は、記憶装置に記憶させるように制御するの意である。また、モジュールは機能にほぼ一対一に対応しているが、実装においては、1モジュールを1プログラムで構成してもよいし、複数モジュールを1プログラムで構成してもよく、逆に1モジュールを複数プログラムで構成してもよい。また、複数モジュールは1コンピュータによって実行されてもよいし、分散又は並列環境におけるコンピュータによって1モジュールが複数コンピュータで実行されてもよい。なお、1つのモジュールに他のモジュールが含まれていてもよい。また、以下、「接続」とは物理的な接続の他、論理的な接続(データの授受、指示、データ間の参照関係等)を含む。
また、システム又は装置とは、複数のコンピュータ、ハードウェア、装置等がネットワーク(一対一対応の通信接続を含む)等の通信手段で接続されて構成されるほか、1つのコンピュータ、ハードウェア、装置等によって実現される場合も含まれる。
FIG. 1 shows a conceptual module configuration diagram of a configuration example of the present embodiment.
The module generally refers to components such as software (computer program) and hardware that can be logically separated. Therefore, the module in the present embodiment indicates not only a module in a computer program but also a module in a hardware configuration. Therefore, the present embodiment also serves as an explanation of a computer program, a system, and a method. However, for convenience of explanation, the words “store”, “store”, and the equivalent are used. However, when the embodiment is a computer program, these words are controlled to be stored in the storage device. Is to do. In addition, the modules correspond almost one-to-one with the functions. However, in mounting, one module may be composed of one program, or a plurality of modules may be composed of one program. A plurality of programs may be used. The plurality of modules may be executed by one computer, or one module may be executed by a plurality of computers in a distributed or parallel environment. Note that one module may include other modules. In the following, “connection” includes not only physical connection but also logical connection (data exchange, instruction, reference relationship between data, etc.).
In addition, the system or device is configured by connecting a plurality of computers, hardware, devices, and the like by communication means such as a network (including one-to-one correspondence communication connection), etc., and one computer, hardware, device. The case where it implement | achieves by etc. is also included.

本実施の形態は、図1に示すように、オブジェクト分離モジュール110、状態値検出モジュール120、濃淡補正モジュール130、2値化モジュール140を有している。なお、状態値に関する値として、状態値又は平坦度があるが、以下の実施の形態では、主に状態値を用いて説明する。
オブジェクト分離モジュール110は、状態値検出モジュール120と接続されており、受け付けた画像から対象とする画像領域(以下、オブジェクトともいう)を抽出し、その抽出した画像領域を状態値検出モジュール120へ渡す。ここで画像を受け付けるとは、例えば、ハードディスク(コンピュータに内蔵されているものの他に、ネットワークを介して接続されているもの等を含む)等に記憶されている画像を読み出すこと、スキャナ等で入力した画像を受け付けること、ファックスによって画像を受信すること等がある。また、ここでの画像は、デジタルの多値画像であり、単色(黒色のみを含む)、カラー画像を含む。また、画像領域(オブジェクト)とは、画像内の濃淡が均一になっていない画像領域をいい、例えば、鉛筆書きされた画像領域、印影の画像領域等が該当する。この対象領域を抽出する方法として、レイアウト認識(画像から文字領域、写真領域、図形領域等を認識する技術であり、その手法は問わない)によって文字領域を抽出する、又は操作者の操作によって本実施の形態によって処理対象とすべき領域を抽出する等がある。なお、複数のオブジェクトを抽出するようにしてもよい。
As shown in FIG. 1, the present embodiment includes an object separation module 110, a state value detection module 120, a density correction module 130, and a binarization module 140. In addition, although there exists a state value or flatness as a value regarding a state value, in the following embodiment, it demonstrates using a state value mainly.
The object separation module 110 is connected to the state value detection module 120, extracts a target image area (hereinafter also referred to as an object) from the received image, and passes the extracted image area to the state value detection module 120. . Here, accepting an image means reading out an image stored in a hard disk (including those connected to the computer in addition to those built in the computer) or the like, or inputting by a scanner or the like Received images, receiving images by fax, and the like. The image here is a digital multi-valued image, and includes a single color (including only black) and a color image. The image area (object) refers to an image area in which the density in the image is not uniform, for example, an image area written in pencil, an image area of an imprint, and the like. As a method of extracting the target area, a character area is extracted by layout recognition (a technique for recognizing a character area, a photographic area, a graphic area, etc. from an image, regardless of the technique), or by a user operation. Depending on the embodiment, an area to be processed may be extracted. A plurality of objects may be extracted.

状態値検出モジュール120は、オブジェクト分離モジュール110、濃淡補正モジュール130と接続されており、複数閾値決定モジュール121、領域数差分算出モジュール122、黒画素数差分算出モジュール123、状態値算出モジュール124を有している。
状態値検出モジュール120は、オブジェクト分離モジュール110からオブジェクトを受け取り、そのオブジェクト毎に、画像領域の濃淡が均一になっていない状態を表す状態値を検出し、その検出した状態値を濃淡補正モジュール130へ渡す。
状態値検出モジュール120は、画像に対して複数の2値化処理を行うことによって、その画像の濃淡が均一になっていない状態を表す状態値を検出する。さらに、2値化処理によって生じた領域数の差分に応じて、状態値を検出するようにしてもよい。また、2値化処理によって生じた黒画素数の差分に応じて、状態値を検出するようにしてもよい。2値化処理によって生じた領域数の差分及び黒画素数の差分に応じて、状態値を検出するようにしてもよい。
The state value detection module 120 is connected to the object separation module 110 and the density correction module 130, and includes a multiple threshold value determination module 121, a region number difference calculation module 122, a black pixel number difference calculation module 123, and a state value calculation module 124. is doing.
The state value detection module 120 receives an object from the object separation module 110, detects a state value representing a state in which the density of the image area is not uniform for each object, and detects the detected state value as a density correction module 130. To pass.
The state value detection module 120 performs a plurality of binarization processes on the image to detect a state value representing a state where the density of the image is not uniform. Furthermore, the state value may be detected according to the difference in the number of areas generated by the binarization process. The state value may be detected according to the difference in the number of black pixels generated by the binarization process. The state value may be detected according to the difference in the number of regions and the difference in the number of black pixels generated by the binarization process.

より具体的には、複数閾値決定モジュール121が、画像を2値化するための複数個の閾値を決定する。そして、この複数個の閾値を用いて画像を2値化する。
領域数差分算出モジュール122が、複数閾値決定モジュール121による2値化画像からそれぞれ領域数を計数し、その領域数の差分を算出する。
黒画素数差分算出モジュール123が、複数閾値決定モジュール121による2値化画像からそれぞれ黒画素数を計数し、その黒画素数の差分を算出する。
状態値算出モジュール124が、領域数差分算出モジュール122によって算出された領域数の差分、黒画素数差分算出モジュール123によって算出された黒画素数の差分を用いて、その画像の状態値を算出する。
More specifically, the multiple threshold determination module 121 determines a plurality of thresholds for binarizing the image. Then, the image is binarized using the plurality of threshold values.
The area number difference calculation module 122 counts the number of areas from the binarized image by the multiple threshold value determination module 121, and calculates the difference in the number of areas.
The black pixel number difference calculation module 123 counts the number of black pixels from the binarized image by the multiple threshold value determination module 121, and calculates the difference in the number of black pixels.
The state value calculation module 124 calculates the state value of the image using the difference in the number of regions calculated by the region number difference calculation module 122 and the difference in the number of black pixels calculated by the black pixel number difference calculation module 123. .

濃淡補正モジュール130は、状態値検出モジュール120、2値化モジュール140と接続されており、モルフォロジカルフィルタモジュール131、単純平滑化モジュール132、選択モジュール133を有している。
濃淡補正モジュール130は、状態値検出モジュール120から状態値を受け取り、その状態値に基づいて、画像の濃淡補正を行い、その濃淡補正した画像を2値化モジュール140へ渡す。さらに、状態値検出モジュール120によって検出された状態値に基づいたモルフォロジカルフィルタを画像に適用して、濃淡補正を行うようにしてもよい。また、濃淡補正モジュール130は、複数種の濃淡補正を用意しており、操作者の操作に応じて、濃淡補正の種類を選択できるようにしてもよい。
The density correction module 130 is connected to the state value detection module 120 and the binarization module 140, and includes a morphological filter module 131, a simple smoothing module 132, and a selection module 133.
The gradation correction module 130 receives the state value from the state value detection module 120, performs gradation correction of the image based on the state value, and passes the density corrected image to the binarization module 140. Further, a morphological filter based on the state value detected by the state value detection module 120 may be applied to the image to perform density correction. The shading correction module 130 may prepare a plurality of types of shading correction, and may select the type of shading correction according to the operation of the operator.

より具体的には、モルフォロジカルフィルタモジュール131が、状態値に応じて、画像の濃淡補正を行うモルフォロジカルフィルタのパラメータを決定する。例えば、3次元の膨張収縮を利用して、画像の濃淡のムラを埋めていくような処理を行う。状態値が大きければ、モルフォロジカルフィルタの膨張収縮の範囲を大きくし、状態値が小さければ膨張収縮の範囲を小さくする。つまり、状態値がある閾値以上であるならば、フィルタの影響範囲をより大きくするようにパラメータを調整し、状態値がある閾値未満であるならば、フィルタの影響範囲をより小さくするようにパラメータを調整する。
単純平滑化モジュール132が、状態値に応じて、単純平滑化処理によって画像の濃淡補正を行う。
選択モジュール133が、操作者の操作に応じて、得たい画質という目的に応じたモルフォロジカルフィルタモジュール131による濃淡補正、単純平滑化モジュール132による濃淡補正を選択できるようにしている。
More specifically, the morphological filter module 131 determines the parameters of the morphological filter for performing image density correction according to the state value. For example, processing that fills in unevenness in the density of an image is performed using three-dimensional expansion and contraction. If the state value is large, the range of expansion and contraction of the morphological filter is increased, and if the state value is small, the range of expansion and contraction is decreased. In other words, if the state value is greater than or equal to a certain threshold, the parameter is adjusted so as to increase the influence range of the filter. If the state value is less than the certain threshold, the parameter is set so that the influence range of the filter is further reduced. Adjust.
The simple smoothing module 132 performs image shading correction by simple smoothing processing according to the state value.
The selection module 133 can select density correction by the morphological filter module 131 and density correction by the simple smoothing module 132 according to the purpose of the desired image quality in accordance with the operation of the operator.

2値化モジュール140は、濃淡補正モジュール130と接続されており、濃淡補正モジュール130から濃淡補正した画像を受け取り、2値化処理を行う。つまり、画像の濃淡のムラを埋めた濃淡画像を利用して2値化する。濃淡のムラを埋めたことで、2値化した結果の画像は、濃淡のムラがある画像領域であっても、つながっていなければならないような線が細切れ状態(いわゆるボツボツ感のある画像領域)にならずに一つの連結した線となる画像領域になる。なお、ここでの2値化の手法は、既存のものを用いる。   The binarization module 140 is connected to the shading correction module 130, receives the shading corrected image from the shading correction module 130, and performs binarization processing. That is, binarization is performed using a grayscale image in which unevenness of grayscale of the image is filled. By filling the shading unevenness, the binarized image is in a state where the lines that must be connected are cut even if the image area has shading unevenness (an image area having a so-called sensation) The image area becomes a single connected line. In addition, the existing method is used for the binarization method here.

図2に示すフローチャートを用いて、本実施の形態による処理例を説明する。
ステップS201では、オブジェクト分離モジュール110が、受け付けた画像からオブジェクトを抽出する。
ステップS202では、状態値検出モジュール120が、ステップS201で抽出されたオブジェクトを受け取り、そのオブジェクトの状態値を検出する。詳細については、図3を用いて説明する。
ステップS203では、濃淡補正モジュール130が、ステップS202で検出された状態値を受け取り、状態値に応じてそのオブジェクトの濃淡補正を行う。
ステップS204では、2値化モジュール140が、ステップS203で濃淡補正されたオブジェクトを受け取り、画像の2値化を行う。
そして、2値化した画像に対して、記憶装置に格納、圧縮、文字認識、ディスプレイに表示、印刷等を行う。
A processing example according to this exemplary embodiment will be described with reference to the flowchart shown in FIG.
In step S201, the object separation module 110 extracts an object from the received image.
In step S202, the state value detection module 120 receives the object extracted in step S201 and detects the state value of the object. Details will be described with reference to FIG.
In step S203, the shading correction module 130 receives the state value detected in step S202, and performs shading correction of the object according to the state value.
In step S204, the binarization module 140 receives the object whose density has been corrected in step S203, and binarizes the image.
Then, the binarized image is stored in a storage device, compressed, character recognition, displayed on a display, printed, and the like.

図3に示すフローチャート及び図4を用いて、図2のフローチャートのステップS202の処理例について、より詳細に説明する。
ステップS301では、複数閾値決定モジュール121が、2値化するための閾値を決定する。ここでの閾値は、オブジェクトの画像の統計量(平均や分散など)から決める画像に一意の閾値でもよいし、浮動2値化のような画素毎に異なる2値化閾値でもよい。また、後者であれば画素毎に2値化閾値を記憶する。
図4(A)は、オブジェクト内の画像の1ラインの濃度値の一例を表したものである。横軸は画素の位置を表しており、縦軸は濃度値を表したものであり、最高の濃度値がmaxであり、最小の濃度値がminである。
With reference to the flowchart shown in FIG. 3 and FIG. 4, the processing example of step S202 in the flowchart of FIG. 2 will be described in more detail.
In step S301, the multiple threshold value determination module 121 determines a threshold value for binarization. The threshold value here may be a unique threshold value for an image determined from the statistics (average, variance, etc.) of the image of the object, or may be a binarization threshold value that differs for each pixel such as floating binarization. In the latter case, a binarization threshold value is stored for each pixel.
FIG. 4A shows an example of the density value of one line of the image in the object. The horizontal axis represents the pixel position, and the vertical axis represents the density value. The maximum density value is max, and the minimum density value is min.

ステップS302では、複数閾値決定モジュール121が、ステップS301で決定した閾値を基準として、上下に所定の範囲で複数の2値化閾値を決定する。例えば、前記基準閾値をTHDとした場合、2N個の閾値を決定する。つまり、数1に示すような閾値列を作成する。

Figure 2009033448
隣接する閾値の差分を一定としてもよいし、ある規則に基づいた差分としてもよい。また、THDの上下に同数の閾値としたが、異なる数であってもよい。
図4(A)は、数1の閾値列を記入したものである。つまり、基準閾値であるTHDの上下にN個の閾値を記入している。 In step S302, the multiple threshold determination module 121 determines a plurality of binarization thresholds in a predetermined range up and down with the threshold determined in step S301 as a reference. For example, if the reference threshold value is THD 0 , 2N threshold values are determined. That is, a threshold string as shown in Equation 1 is created.
Figure 2009033448
The difference between adjacent threshold values may be constant, or may be a difference based on a certain rule. Further, although the same number of threshold values are set above and below THD 0 , they may be different numbers.
FIG. 4 (A) is the one in which the threshold string of Formula 1 is entered. That is, fill in the N threshold and below the THD 0 is the reference threshold.

ステップS303では、複数閾値決定モジュール121が、ステップS302で決定した複数の閾値を用いて、複数の2値化画像を作成する。
閾値が、数1に示すような閾値列の場合、それぞれに対応する2値化画像を、それぞれ数2とする。なお、BはBinary(2値画像)の頭文字である。

Figure 2009033448
図4(B)は、それぞれの閾値で2値化した画像をそれぞれ表したものである。例えば、Bの画像は、図4(A)のTHD以上の部分を黒画素としたものである(図4(A)と図4(B)をつなぐ点線参照)。 In step S303, the multiple threshold determination module 121 creates a plurality of binarized images using the multiple thresholds determined in step S302.
In the case where the threshold value is a threshold value sequence as shown in Equation 1, the binarized image corresponding to each is assumed to be Equation 2. B is an acronym for Binary (binary image).
Figure 2009033448
FIG. 4B shows images binarized with respective threshold values. For example, the image of B 0 is a black pixel in the portion of THD 0 or higher in FIG. 4A (see the dotted line connecting FIG. 4A and FIG. 4B).

ステップS304では、領域数差分算出モジュール122が、ステップS303で作成された複数の2値化画像から、連結している小領域数を計数する。この計数は、ラベリングの手法を用いてもよい。
例えば、2値化画像が数2の場合、それぞれに対応する小領域数を、それぞれ数3とする。なお、LはLabel(ラベル画像)の頭文字である。

Figure 2009033448
図4(B)の例では、小領域数は、Bでは3個、Bでは8個、B−Nでは4個である。 In step S304, the region number difference calculation module 122 counts the number of connected small regions from the plurality of binarized images created in step S303. For this counting, a labeling method may be used.
For example, when the binarized image is Equation 2, the number of small regions corresponding to each is Equation 3. Note that L is an acronym for Label (label image).
Figure 2009033448
In the example of FIG. 4 (B), the small number of regions, the B N 3 pieces, B 8 pieces in 0, is four in B -N.

ステップS305では、領域数差分算出モジュール122が、ステップS304で計数された複数の小領域数の、2値化画像の隣り合うもの同士の差分を算出する。つまり、差分LDは、数4を用いて算出する。

Figure 2009033448
そして、差分の列は、数5のようになる。
Figure 2009033448
In step S305, the number-of-regions difference calculation module 122 calculates a difference between adjacent binarized images of the plurality of small regions counted in step S304. That is, the difference LD is calculated using Equation 4.
Figure 2009033448
The difference column is as shown in Equation 5.
Figure 2009033448

ステップS306では、黒画素数差分算出モジュール123が、ステップS303で作成された複数の2値化画像から、その画像内の黒画素を計数する。
例えば、2値化画像が数2の場合、それぞれに対応する黒画素数を、それぞれ数6とする。なお、PはPixel(画素)の頭文字である。

Figure 2009033448
In step S306, the black pixel number difference calculation module 123 counts black pixels in the image from the plurality of binarized images created in step S303.
For example, when the binarized image is represented by Equation 2, the number of black pixels corresponding to each is represented by Equation 6. Note that P is an acronym for Pixel (pixel).
Figure 2009033448

ステップS307では、黒画素数差分算出モジュール123が、ステップS306で計数された複数の黒画素数の、2値化画像の隣り合うもの同士の差分を算出する。つまり、差分LDは、数7を用いて算出する。

Figure 2009033448
そして、差分の列は、数8のようになる。
Figure 2009033448
In step S307, the black pixel number difference calculation module 123 calculates a difference between adjacent binarized images of the plurality of black pixels counted in step S306. That is, the difference LD is calculated using Equation 7.
Figure 2009033448
The difference column is as shown in Equation 8.
Figure 2009033448

ステップS308では、状態値算出モジュール124が、数4、数7を利用して、状態値を算出する。ここでは、状態値として、(1)領域数の差分を用いた状態値LL、(2)濃度方向のムラを表す状態値PL、を求める。   In step S308, the state value calculation module 124 calculates the state value using Equations 4 and 7. Here, as the state value, (1) a state value LL using the difference in the number of regions and (2) a state value PL representing unevenness in the density direction are obtained.

(1)領域数の差分を用いた状態値LL
数4を利用する。そして、数9を用いてLA(小領域数の差分の平均値)を計算する。

Figure 2009033448
つまり、LAが大きいということは、閾値に応じて2値化した領域の増減が激しいことを意味する。すなわち、ムラがあることになり、状態値は大きい。
ここで、劣化が一番大きい状態となるのは、i=1〜Nの間で、領域が無い状態から、隣の閾値にしたことによって複数の領域が急激に出現して、逆に、隣の閾値にしたことによってその領域が急激に消滅してしまう場合である。つまり、1画素おきに1画素の領域が急激に出現し、急激に消滅する場合である。すなわち、全画素数の1/4の数の領域が急激に出現し、急激に消滅する場合である。したがって、状態値LLの取り得る最大値LAmaxは、数11のようになる。
Figure 2009033448
なお、ここでの全画素数とは、オブジェクト内の全ての画素数である。
数11より、状態値LLは、数12によって求められる。なお、状態値LLは、0.0より大であり、1.0未満の値となる。
Figure 2009033448
ここで、状態値LLとは逆の意を表す平坦度LSは、数13のように表すことができる。なお、平坦度LSは、0.0より大であり、1.0未満の値となる。以下、状態値LLの代わりに平坦度LSを用いてもよい。ただし、その場合、状態値LLが大であることを平坦度LSが小であると読み替えるものとする。
Figure 2009033448
(1) State value LL using the difference in the number of regions
Equation 4 is used. Then, LA (average value of differences in the number of small areas) is calculated using Equation 9.
Figure 2009033448
That is, a large LA means that the increase / decrease of the binarized region according to the threshold is severe. That is, there will be unevenness and the state value is large.
Here, the state with the greatest deterioration is between i = 1 to N, a plurality of regions suddenly appear when the adjacent threshold value is set from a state where there is no region, and conversely, This is a case where the region disappears rapidly due to the threshold value of. That is, this is a case where a region of one pixel appears suddenly and disappears rapidly every other pixel. That is, a region that is 1/4 of the total number of pixels suddenly appears and disappears rapidly. Therefore, the maximum value LA max that can be taken by the state value LL is expressed by Equation 11.
Figure 2009033448
Here, the total number of pixels is the total number of pixels in the object.
From Equation 11, the state value LL is obtained by Equation 12. Note that the state value LL is greater than 0.0 and less than 1.0.
Figure 2009033448
Here, the flatness LS representing the opposite of the state value LL can be expressed as in Expression 13. The flatness LS is greater than 0.0 and less than 1.0. Hereinafter, the flatness LS may be used instead of the state value LL. However, in that case, the state value LL being large is read as the flatness LS being small.
Figure 2009033448

(2)濃度方向のムラを表す状態値PL
まず、状態値PLを求める前に、濃度方向の平坦度合いを表す平坦度PSを算出する。
数7を利用する。そして、数10を用いてPA(黒画素数の差分の平均値)を計算する。

Figure 2009033448
つまり、PAが大きいということは、閾値に応じて黒画素の増加又は減少が激しいことを意味しており、閾値に応じて2値化画像がばたついていないこととなる。すなわち、濃度方向のムラがないことであり、状態値は小さい。
ここで、黒画素の変動が一番大きい状態となるのは、i=1〜Nの間で、全てが白画素の状態から、全画素が急激に黒画素になる場合、逆に、全てが黒画素の状態から、全画素が白画素になる場合である。したがって、平坦度PSの取り得る最大値PSmaxは、数14のようになる。
Figure 2009033448
数14より、平坦度PSは、数15によって求められる。なお、平坦度PSは、0.0より大であり、1.0未満の値となる。
Figure 2009033448
ここで、濃度方向の状態値PLは、数16のように定義できる。なお、状態値PLは、0.0より大であり、1.0未満の値となる。
Figure 2009033448
(2) State value PL representing unevenness in density direction
First, before obtaining the state value PL, a flatness PS representing the flatness in the density direction is calculated.
Equation 7 is used. Then, PA (average value of the difference in the number of black pixels) is calculated using Equation 10.
Figure 2009033448
That is, a large PA means that the increase or decrease of black pixels is intense according to the threshold value, and the binarized image does not flutter according to the threshold value. That is, there is no unevenness in the density direction, and the state value is small.
Here, the fluctuation of the black pixel is the largest when i = 1 to N, and when all the pixels suddenly become black pixels from the state of all white pixels, conversely, This is a case where all pixels are white pixels from the black pixel state. Therefore, the maximum value PS max that the flatness PS can take is as shown in Equation 14.
Figure 2009033448
From Equation 14, the flatness PS is obtained by Equation 15. The flatness PS is greater than 0.0 and less than 1.0.
Figure 2009033448
Here, the state value PL in the density direction can be defined as in Expression 16. Note that the state value PL is greater than 0.0 and less than 1.0.
Figure 2009033448

図5、図6を用いて、図2のフローチャートのステップS203の2種類の処理例について、より詳細に説明する。
図5は、濃淡補正の第1の処理例を説明するための概念図である。原画像をできるだけ忠実に再現しているような2値化画像を得る場合に利用されるものである。ここでの濃淡補正には、モルフォロジカルフィルタを適用する。
まず、ベースとなるモルフォロジカルフィルタの構成要素を決定することを行う。
基準閾値THDで2値化を行った場合の画像Bを利用する。具体的には、図5(A)のオリジナルの信号501が図4と同様に、オブジェクト内のある1ラインの濃度値のグラフであり、基準閾値THDで2値化を行った場合の画像Bを下方に図示している。ここでの領域数は8個である。
Two types of processing examples in step S203 in the flowchart of FIG. 2 will be described in more detail with reference to FIGS.
FIG. 5 is a conceptual diagram for explaining a first processing example of density correction. This is used to obtain a binarized image that reproduces the original image as faithfully as possible. A morphological filter is applied to the density correction here.
First, the constituent elements of the morphological filter as a base are determined.
The image B 0 when binarization is performed with the reference threshold THD 0 is used. Specifically, the original signal 501 in FIG. 5A is a graph of the density value of one line in the object, as in FIG. 4, and is an image when binarization is performed with the reference threshold value THD 0. B 0 is illustrated below. The number of areas here is eight.

画像Bで一番大きな面積を持つラベルを参照し、それを含む外接矩形を算出する。具体的には、図5(A)の左から3番目の領域である。
この外接矩形の中で取り得る一番大きな円の半径r0をモルフォロジカルフィルタの構成要素の適応範囲rとする。又は、ラベリングされていない領域で、同様に適応範囲を求めてもよいし、両者の平均値を利用してもよい。
また、モルフォロジカルフィルタの構成要素の中心の重みwは、初期値をr0とする。ここで、仮に、基本となる構成要素の形状を、図5(B)に示すようにドーム状型とする。
A label having the largest area in the image B 0 is referred to, and a circumscribed rectangle including the label is calculated. Specifically, this is the third region from the left in FIG.
The radius r0 of the largest circle that can be taken in the circumscribed rectangle is set as the adaptive range r of the constituent elements of the morphological filter. Alternatively, the adaptive range may be similarly obtained in an unlabeled region, or an average value of both may be used.
The initial weight w of the morphological filter components is set to r0. Here, the shape of the basic component is assumed to be a dome shape as shown in FIG.

状態値LLが小さい場合は、構成要素の適応範囲を狭く、状態値LLが大きい場合は、構成要素の適応範囲を広くすればよい。つまり、数17に示すように、状態値LLに応じて適応範囲rを定める。概念的には、図5(C)に示すように、ドームの下面の半径を調整することを行う。

Figure 2009033448
ただし、αは、操作者が指定する、又はある規則に従って算出するようにしてもよい。例えば、近傍の領域までの距離の平均等を利用して算出するようにしてもよい。 When the state value LL is small, the adaptive range of the component is narrowed, and when the state value LL is large, the adaptive range of the component may be widened. That is, as shown in Equation 17, the adaptive range r is determined according to the state value LL. Conceptually, as shown in FIG. 5C, the radius of the lower surface of the dome is adjusted.
Figure 2009033448
However, α may be specified by an operator or calculated according to a certain rule. For example, the calculation may be performed using an average of distances to nearby regions.

濃度方向の状態値PLが小さい場合は、構成要素の重みを大きく、状態値PLが大きい場合は、構成要素の重みを小さくすればよい。つまり、数18に示すように、状態値PLに応じて適応範囲rを定める。概念的には、図5(C)に示すように、ドームの高さを調整することを行う。

Figure 2009033448
ただし、βは、操作者が指定する、又はある規則に従って算出するようにしてもよい。例えば、対象領域内での最大値とTHDとの差分を利用して算出するようにしてもよい。 When the state value PL in the density direction is small, the weight of the component is increased, and when the state value PL is large, the weight of the component is decreased. That is, as shown in Equation 18, the adaptive range r is determined according to the state value PL. Conceptually, as shown in FIG. 5C, the height of the dome is adjusted.
Figure 2009033448
However, β may be specified by an operator or calculated according to a certain rule. For example, the difference between the maximum value in the target area and THD 0 may be used for calculation.

モルフォロジカルフィルタの形状をドーム状型の構成要素にしたが、これにこだわるものではない。また、構成要素の変形を線形に行ったが、これにこだわるものではない。   The shape of the morphological filter is a dome-shaped component, but this is not particular. Moreover, although the deformation | transformation of the component was performed linearly, it does not stick to this.

次に、変形した構成要素を基に、モルフォロジカルフィルタの処理であるクロージング処理を行って濃度補正を行う。また、クロージング処理ではなく、オープニング処理を利用してもよい。なお、クロージング処理は、図5(A)の補正後の信号502に示すようにグラフの上端をつなぐような処理(いわゆる穴埋め処理)を行うことになり、オープニング処理は、逆に図5(A)のオリジナルの信号501のグラフの下端をつなぐような処理を行うことである。   Next, based on the deformed component, density correction is performed by performing a closing process, which is a morphological filter process. Further, an opening process may be used instead of the closing process. The closing process is a process for connecting the upper ends of the graph (so-called filling process) as shown in the corrected signal 502 in FIG. 5A, and the opening process is the reverse of FIG. ) To connect the lower end of the graph of the original signal 501.

図6は、濃淡補正の第2の処理例であり、複数の濃淡補正の例を説明するための概念図である。これは、操作者の意図を反映させることも目的としたものである。例えば、操作者によっては、「鉛筆らしさを残したまま濃淡補正をして欲しい」、「確実に濃淡を均一化して欲しい」などの目的(要望を含む)がある。これらに対応するためのものである。   FIG. 6 is a second processing example of the light / dark correction, and is a conceptual diagram for explaining a plurality of light / dark correction examples. This is also intended to reflect the operator's intention. For example, depending on the operator, there are purposes (including requests) such as “I want you to correct shading while leaving the pencil like,” and “I want you to make the shading uniform.” This is to cope with these.

以下に示すような2種類の濃淡補正を行い、それを操作者の要望に応じて、合成(ブレンド)させる。
(1)濃淡補正1:前述したモルフォロジカルフィルタによる濃淡補正
これは、「鉛筆らしさを残したまま濃淡補正をして欲しい」という要望向けの濃淡補正である。具体的には、図6に示すようにオリジナルの信号601を補正1の信号602のように変更する。
(2)濃淡補正2:単純平滑化による濃淡補正
これは、「確実に濃淡を均一化して欲しい」という要望向けの濃淡補正である。濃度値を有している画素全ての平均値を算出してもよい。又は、モルフォロジカルフィルタの濃淡補正で用いた構成要素の適応範囲のように、平滑化のフィルタ範囲を状態値LLから算出して、部分的に平滑化を行ってもよい。具体的には、図6に示すようにオリジナルの信号601を補正2の信号603のように変更する。
次に、操作者の操作に応じて、例えば、UIのスライドバーなどで好みを指定して、(1)と(2)の信号(補正1の信号602と補正2の信号603)をブレンドさせる。50対50でブレンドさせたものが、図6に示すブレンド信号604である。
さらに、ブレンド後の信号に、濃淡を底上げするようなTRC(Tone Reproduction Curve:階調再現曲線)をかけてもよい。具体的には、図6に示すTRC後の信号605のように変更する。
The following two types of shading correction are performed, and they are combined (blended) according to the operator's request.
(1) Light / dark correction 1: Light / dark correction by the above-described morphological filter This is light / dark correction for a request that “a light / dark correction should be made while retaining the pencil likeness”. Specifically, the original signal 601 is changed to a correction 1 signal 602 as shown in FIG.
(2) Light / dark correction 2: Light / dark correction by simple smoothing This is a light / dark correction for the desire to “make sure the light and dark are uniform”. You may calculate the average value of all the pixels which have a density value. Alternatively, the smoothing filter range may be calculated from the state value LL and partially smoothed, such as the adaptive range of the components used in the density correction of the morphological filter. Specifically, the original signal 601 is changed to a correction 2 signal 603 as shown in FIG.
Next, in accordance with the operation of the operator, for example, a preference is specified with a UI slide bar or the like, and the signals (1) and (2) (the correction 1 signal 602 and the correction 2 signal 603) are blended. . What is blended 50 to 50 is a blend signal 604 shown in FIG.
Furthermore, a TRC (Tone Reproduction Curve: tone reproduction curve) that raises the shading may be applied to the signal after blending. Specifically, the signal is changed to a signal 605 after TRC shown in FIG.

図7を参照して、本実施の形態のハードウェア構成例について説明する。図7に示す構成は、例えばパーソナルコンピュータ(PC)などによって構成されるものであり、スキャナ等のデータ読み取り部717と、プリンタなどのデータ出力部718を備えたハードウェア構成例を示している。   A hardware configuration example of the present embodiment will be described with reference to FIG. The configuration shown in FIG. 7 is configured by a personal computer (PC), for example, and shows a hardware configuration example including a data reading unit 717 such as a scanner and a data output unit 718 such as a printer.

CPU(Central Processing Unit)701は、上述の実施の形態において説明した各種のモジュール、すなわち、オブジェクト分離モジュール110、状態値検出モジュール120、濃淡補正モジュール130、2値化モジュール140等の各モジュールの実行シーケンスを記述したコンピュータ・プログラムにしたがった処理を実行する制御部である。   A CPU (Central Processing Unit) 701 executes various modules described in the above-described embodiments, that is, the modules such as the object separation module 110, the state value detection module 120, the density correction module 130, and the binarization module 140. It is a control part which performs the process according to the computer program which described the sequence.

ROM(Read Only Memory)702は、CPU701が使用するプログラムや演算パラメータ等を格納する。RAM(Random Access Memory)703は、CPU701の実行において使用するプログラムや、その実行において適宜変化するパラメータ等を格納する。これらはCPUバスなどから構成されるホストバス704により相互に接続されている。   A ROM (Read Only Memory) 702 stores programs, calculation parameters, and the like used by the CPU 701. A RAM (Random Access Memory) 703 stores programs used in the execution of the CPU 701, parameters that change as appropriate during the execution, and the like. These are connected to each other via a host bus 704 including a CPU bus.

ホストバス704は、ブリッジ705を介して、PCI(Peripheral Component Interconnect/Interface)バスなどの外部バス706に接続されている。   The host bus 704 is connected to an external bus 706 such as a PCI (Peripheral Component Interconnect / Interface) bus via a bridge 705.

キーボード708、マウス等のポインティングデバイス709は、操作者により操作される入力デバイスである。ディスプレイ710は、液晶表示装置又はCRT(Cathode Ray Tube)などから成り、各種情報をテキストやイメージ情報として表示する。   A keyboard 708 and a pointing device 709 such as a mouse are input devices operated by an operator. The display 710 includes a liquid crystal display device, a CRT (Cathode Ray Tube), or the like, and displays various types of information as text or image information.

HDD(Hard Disk Drive)711は、ハードディスクを内蔵し、ハードディスクを駆動し、CPU701によって実行するプログラムや情報を記録又は再生させる。ハードディスクは、オブジェクト分離モジュール110が受け付けた画像や濃淡補正モジュール130によって濃淡補正した結果の画像などが格納される。さらに、その他の各種のデータ処理プログラム等、各種コンピュータ・プログラムが格納される。   An HDD (Hard Disk Drive) 711 includes a hard disk, drives the hard disk, and records or reproduces a program executed by the CPU 701 and information. The hard disk stores an image received by the object separation module 110, an image obtained as a result of density correction by the density correction module 130, and the like. Further, various computer programs such as various other data processing programs are stored.

ドライブ712は、装着されている磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリ等のリムーバブル記録媒体713に記録されているデータ又はプログラムを読み出して、そのデータ又はプログラムを、インタフェース707、外部バス706、ブリッジ705、及びホストバス704を介して接続されているRAM703に供給する。リムーバブル記録媒体713も、ハードディスクと同様のデータ記録領域として利用可能である。   The drive 712 reads data or a program recorded in a removable recording medium 713 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and the data or program is read from the interface 707 and the external bus 706. , The bridge 705, and the RAM 703 connected via the host bus 704. The removable recording medium 713 can also be used as a data recording area similar to a hard disk.

接続ポート714は、外部接続機器715を接続するポートであり、USB、IEEE1394等の接続部を持つ。接続ポート714は、インタフェース707、及び外部バス706、ブリッジ705、ホストバス704等を介してCPU701等に接続されている。通信部716は、ネットワークに接続され、外部とのデータ通信処理を実行する。データ読み取り部717は、例えばスキャナであり、ドキュメントの読み取り処理を実行する。データ出力部718は、例えばプリンタであり、ドキュメントデータの出力処理を実行する。   The connection port 714 is a port for connecting an external connection device 715, and has a connection unit such as USB, IEEE1394. The connection port 714 is connected to the CPU 701 and the like via the interface 707, the external bus 706, the bridge 705, the host bus 704, and the like. The communication unit 716 is connected to a network and executes data communication processing with the outside. The data reading unit 717 is a scanner, for example, and executes document reading processing. The data output unit 718 is, for example, a printer, and executes document data output processing.

なお、図7に示すハードウェア構成は、1つの構成例を示すものであり、本実施の形態は、図7に示す構成に限らず、本実施の形態において説明したモジュールを実行可能な構成であればよい。例えば、一部のモジュールを専用のハードウェア(例えば特定用途向け集積回路(Application Specific Integrated Circuit:ASIC)等)で構成してもよく、一部のモジュールは外部のシステム内にあり通信回線で接続しているような形態でもよく、さらに図7に示すシステムが複数互いに通信回線によって接続されていて互いに協調動作するようにしてもよい。また、複写機、ファックス、スキャナ、プリンタ、複合機(スキャナ、プリンタ、複写機、ファックス等のいずれか2つ以上の機能を有している画像処理装置)などに組み込まれていてもよい。   Note that the hardware configuration illustrated in FIG. 7 illustrates one configuration example, and the present embodiment is not limited to the configuration illustrated in FIG. 7, and is a configuration capable of executing the modules described in the present embodiment. I just need it. For example, some modules may be configured with dedicated hardware (for example, Application Specific Integrated Circuit (ASIC), etc.), and some modules are in an external system and connected via a communication line In addition, a plurality of systems shown in FIG. 7 may be connected to each other via a communication line so as to cooperate with each other. Further, it may be incorporated in a copying machine, a fax machine, a scanner, a printer, a multifunction machine (an image processing apparatus having any two or more functions of a scanner, a printer, a copying machine, a fax machine, etc.).

前述の実施の形態では、モルフォロジカルフィルタを用いたが、モルフォロジカルフィルタに代えて各種のフィルタを用いてもよい。   In the above-described embodiment, the morphological filter is used. However, various filters may be used instead of the morphological filter.

なお、説明したプログラムについては、記録媒体に格納して提供してもよく、また、そのプログラムを通信手段によって提供してもよい。その場合、例えば、前記説明したプログラムについて、「プログラムを記録したコンピュータ読み取り可能な記録媒体」の発明として捉えてもよい。
「プログラムを記録したコンピュータ読み取り可能な記録媒体」とは、プログラムのインストール、実行、プログラムの流通などのために用いられる、プログラムが記録されたコンピュータで読み取り可能な記録媒体をいう。
なお、記録媒体としては、例えば、デジタル・バーサタイル・ディスク(DVD)であって、DVDフォーラムで策定された規格である「DVD−R、DVD−RW、DVD−RAM等」、DVD+RWで策定された規格である「DVD+R、DVD+RW等」、コンパクトディスク(CD)であって、読出し専用メモリ(CD−ROM)、CDレコーダブル(CD−R)、CDリライタブル(CD−RW)等、光磁気ディスク(MO)、フレキシブルディスク(FD)、磁気テープ、ハードディスク、読出し専用メモリ(ROM)、電気的消去及び書換可能な読出し専用メモリ(EEPROM)、フラッシュ・メモリ、ランダム・アクセス・メモリ(RAM)等が含まれる。
そして、前記のプログラム又はその一部は、前記記録媒体に記録して保存や流通等させてもよい。また、通信によって、例えば、ローカル・エリア・ネットワーク(LAN)、メトロポリタン・エリア・ネットワーク(MAN)、ワイド・エリア・ネットワーク(WAN)、インターネット、イントラネット、エクストラネット等に用いられる有線ネットワーク、あるいは無線通信ネットワーク、さらにこれらの組み合わせ等の伝送媒体を用いて伝送させてもよく、また、搬送波に乗せて搬送させてもよい。
さらに、前記のプログラムは、他のプログラムの一部分であってもよく、あるいは別個のプログラムと共に記録媒体に記録されていてもよい。また、複数の記録媒体に分割して
記録されていてもよい。また、圧縮や暗号化など、復元可能であればどのような態様で記録されていてもよい。
The program described above may be provided by being stored in a recording medium, or the program may be provided by communication means. In that case, for example, the above-described program may be regarded as an invention of a “computer-readable recording medium recording the program”.
The “computer-readable recording medium on which a program is recorded” refers to a computer-readable recording medium on which a program is recorded, which is used for program installation, execution, program distribution, and the like.
The recording medium is, for example, a digital versatile disc (DVD), which is a standard established by the DVD Forum, such as “DVD-R, DVD-RW, DVD-RAM,” and DVD + RW. Standards such as “DVD + R, DVD + RW, etc.”, compact discs (CDs), read-only memory (CD-ROM), CD recordable (CD-R), CD rewritable (CD-RW), etc. MO), flexible disk (FD), magnetic tape, hard disk, read only memory (ROM), electrically erasable and rewritable read only memory (EEPROM), flash memory, random access memory (RAM), etc. It is.
The program or a part of the program may be recorded on the recording medium for storage or distribution. Also, by communication, for example, a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a wired network used for the Internet, an intranet, an extranet, etc., or wireless communication It may be transmitted using a transmission medium such as a network or a combination of these, or may be carried on a carrier wave.
Furthermore, the program may be a part of another program, or may be recorded on a recording medium together with a separate program. Moreover, it may be divided and recorded on a plurality of recording media. Further, it may be recorded in any manner as long as it can be restored, such as compression or encryption.

本実施の形態の構成例についての概念的なモジュール構成図である。It is a conceptual module block diagram about the structural example of this Embodiment. 本実施の形態による処理例を示すフローチャートである。It is a flowchart which shows the process example by this Embodiment. 本実施の形態による状態値検出の処理例を示すフローチャートである。It is a flowchart which shows the process example of the state value detection by this Embodiment. 複数の2値化処理の例を説明するための概念図である。It is a conceptual diagram for demonstrating the example of a some binarization process. 濃淡補正の例を説明するための概念図である。It is a conceptual diagram for demonstrating the example of a density correction. 複数の濃淡補正の例を説明するための概念図である。It is a conceptual diagram for demonstrating the example of several density corrections. 本実施の形態を実現するコンピュータのハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of the computer which implement | achieves this Embodiment.

符号の説明Explanation of symbols

110…オブジェクト分離モジュール
120…状態値検出モジュール
121…複数閾値決定モジュール
122…領域数差分算出モジュール
123…黒画素数差分算出モジュール
124…状態値算出モジュール
130…濃淡補正モジュール
131…モルフォロジカルフィルタモジュール
132…単純平滑化モジュール
133…選択モジュール
140…2値化モジュール
DESCRIPTION OF SYMBOLS 110 ... Object separation module 120 ... State value detection module 121 ... Multiple threshold value determination module 122 ... Area number difference calculation module 123 ... Black pixel number difference calculation module 124 ... State value calculation module 130 ... Shading correction module 131 ... Morphological filter module 132 ... Simple smoothing module 133 ... Selection module 140 ... Binarization module

Claims (7)

画像領域に対して複数の2値化処理を行うことによって、該画像領域の濃淡が均一になっていない状態に関する値を検出する検出手段と、
前記検出手段によって検出された画像領域の濃淡が均一になっていない状態に関する値に基づいて、前記画像領域の濃淡補正を行う濃淡補正手段
を具備することを特徴とする画像処理システム。
Detecting means for detecting a value relating to a state in which the density of the image area is not uniform by performing a plurality of binarization processes on the image area;
An image processing system comprising: density correction means for correcting density of the image area based on a value relating to a state where the density of the image area detected by the detection means is not uniform.
前記検出手段は、前記2値化処理によって生じた領域数の差分に応じて、画像領域の濃淡が均一になっていない状態に関する値を検出する
ことを特徴とする請求項1に記載の画像処理システム。
The image processing according to claim 1, wherein the detection unit detects a value related to a state in which the density of the image region is not uniform, according to a difference in the number of regions generated by the binarization processing. system.
前記検出手段は、前記2値化処理によって生じた黒画素数の差分に応じて、画像領域の濃淡が均一になっていない状態に関する値を検出する
ことを特徴とする請求項1に記載の画像処理システム。
2. The image according to claim 1, wherein the detection unit detects a value relating to a state in which the density of the image region is not uniform, according to a difference in the number of black pixels generated by the binarization processing. Processing system.
前記検出手段は、前記2値化処理によって生じた領域数の差分及び黒画素数の差分に応じて、画像領域の濃淡が均一になっていない状態に関する値を検出する
ことを特徴とする請求項1に記載の画像処理システム。
The said detection means detects the value regarding the state where the density of the image area is not uniform according to the difference of the number of areas and the difference of the number of black pixels which were produced by the said binarization process. 2. The image processing system according to 1.
前記濃淡補正手段は、前記検出手段によって検出された画像領域の濃淡が均一になっていない状態に関する値に基づいてパラメータを調整したフィルタを前記画像領域に適用して、濃淡補正を行う
ことを特徴とする請求項1に記載の画像処理システム。
The shading correction unit performs shading correction by applying a filter in which a parameter is adjusted based on a value relating to a state where the shading of the image region detected by the detection unit is not uniform to the image region. The image processing system according to claim 1.
前記濃淡補正手段は、目的に応じた複数種の濃淡補正を用意しており、操作者の操作に応じて、濃淡補正を選択できる
ことを特徴とする請求項5に記載の画像処理システム。
The image processing system according to claim 5, wherein the density correction unit prepares a plurality of types of density correction according to the purpose, and can select the density correction according to an operation of the operator.
コンピュータを、
画像領域に対して複数の2値化処理を行うことによって、該画像領域の濃淡が均一になっていない状態に関する値を検出する検出手段と、
前記検出手段によって検出された画像領域の濃淡が均一になっていない状態に関する値に基づいて、前記画像領域の濃淡補正を行う濃淡補正手段
として機能させることを特徴とする画像処理プログラム。
Computer
Detecting means for detecting a value relating to a state in which the density of the image area is not uniform by performing a plurality of binarization processes on the image area;
An image processing program that functions as a density correction unit that performs density correction of the image area based on a value relating to a state in which the density of the image area detected by the detection unit is not uniform.
JP2007194835A 2007-07-26 2007-07-26 Image processing system and image processing program Expired - Fee Related JP4894664B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007194835A JP4894664B2 (en) 2007-07-26 2007-07-26 Image processing system and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007194835A JP4894664B2 (en) 2007-07-26 2007-07-26 Image processing system and image processing program

Publications (2)

Publication Number Publication Date
JP2009033448A true JP2009033448A (en) 2009-02-12
JP4894664B2 JP4894664B2 (en) 2012-03-14

Family

ID=40403457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007194835A Expired - Fee Related JP4894664B2 (en) 2007-07-26 2007-07-26 Image processing system and image processing program

Country Status (1)

Country Link
JP (1) JP4894664B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014085950A (en) * 2012-10-25 2014-05-12 Dainippon Printing Co Ltd Cell behavior analysis device, cell behavior analysis method, and program
JP2015111088A (en) * 2013-12-06 2015-06-18 花王株式会社 Powder mass inspection apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000230823A (en) * 1999-02-09 2000-08-22 Olympus Optical Co Ltd Molecule length measuring method
JP2001223912A (en) * 2000-02-14 2001-08-17 Ricoh Co Ltd Image processor and storage medium
JP2003051948A (en) * 2001-08-08 2003-02-21 Riso Kagaku Corp Image processing apparatus and program
JP2004104248A (en) * 2002-09-05 2004-04-02 Sharp Corp Image processing apparatus, image reader, image forming apparatus, and image processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000230823A (en) * 1999-02-09 2000-08-22 Olympus Optical Co Ltd Molecule length measuring method
JP2001223912A (en) * 2000-02-14 2001-08-17 Ricoh Co Ltd Image processor and storage medium
JP2003051948A (en) * 2001-08-08 2003-02-21 Riso Kagaku Corp Image processing apparatus and program
JP2004104248A (en) * 2002-09-05 2004-04-02 Sharp Corp Image processing apparatus, image reader, image forming apparatus, and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014085950A (en) * 2012-10-25 2014-05-12 Dainippon Printing Co Ltd Cell behavior analysis device, cell behavior analysis method, and program
JP2015111088A (en) * 2013-12-06 2015-06-18 花王株式会社 Powder mass inspection apparatus

Also Published As

Publication number Publication date
JP4894664B2 (en) 2012-03-14

Similar Documents

Publication Publication Date Title
JP5887770B2 (en) Image processing apparatus and image processing program
JP5206503B2 (en) Image processing apparatus and image processing program
JP2006050551A (en) Image processing apparatus, image processing method, program and storage medium
US8311322B2 (en) Image processing apparatus, image processing method, and computer readable medium
JP4894664B2 (en) Image processing system and image processing program
JP5742283B2 (en) Image processing apparatus and image processing program
JP5278243B2 (en) Image processing apparatus and image processing program
US20120213431A1 (en) Image processing apparatus, image processing method, and computer readable medium
JP4821580B2 (en) Image processing system and image processing program
WO2012127639A1 (en) Image-processing device and image-processing method
JP5326670B2 (en) Image processing apparatus and image processing program
JP5206468B2 (en) Image processing apparatus and image processing program
JP4490327B2 (en) Output device, color conversion method, and program
JP2006109482A (en) Image processing method, image processing apparatus and image processing program
JP5939132B2 (en) Image processing apparatus and image processing program
JP2009060216A (en) Image processor, and image processing program
JP5407582B2 (en) Image processing apparatus and image processing program
US8059906B2 (en) Image processing apparatus, image processing method, computer-readable medium and computer data signal
JP6481301B2 (en) Image processing apparatus and image processing program
JP4900271B2 (en) Information processing apparatus and information processing program
JP2013161158A (en) Image processing device and image processing program
JP2014120832A (en) Image processing apparatus and image processing program
US8379909B2 (en) Image processing apparatus and computer readable medium
JP2009033493A (en) Image processor, image processing method, program, and recording medium
JP2014120843A (en) Image processing apparatus and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100713

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111109

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4894664

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

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees