JP4559128B2 - Image processing method, image processing apparatus, and computer program - Google Patents

Image processing method, image processing apparatus, and computer program Download PDF

Info

Publication number
JP4559128B2
JP4559128B2 JP2004170120A JP2004170120A JP4559128B2 JP 4559128 B2 JP4559128 B2 JP 4559128B2 JP 2004170120 A JP2004170120 A JP 2004170120A JP 2004170120 A JP2004170120 A JP 2004170120A JP 4559128 B2 JP4559128 B2 JP 4559128B2
Authority
JP
Japan
Prior art keywords
correction
image
gamma
signal
density
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
JP2004170120A
Other languages
Japanese (ja)
Other versions
JP2005354188A (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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2004170120A priority Critical patent/JP4559128B2/en
Publication of JP2005354188A publication Critical patent/JP2005354188A/en
Application granted granted Critical
Publication of JP4559128B2 publication Critical patent/JP4559128B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、原稿を光学的に読み取った画像に含まれる下地の濃度を低減させるための画像処理方法、画像処理装置、及び該画像処理装置を実現するためのコンピュータプログラムに関する。   The present invention relates to an image processing method, an image processing apparatus, and a computer program for realizing the image processing apparatus for reducing the density of a background included in an image obtained by optically reading a document.

従来、スキャナ装置等の画像読取装置において原稿画像を読み取り、読み取られた画像データに基づいて画像形成装置により印字出力を行う場合、読み取られた画像データをそのまま画像形成装置で出力すると、下地かぶりや裏写り等の現象が発生することがある。このため、読み取られた画像データに対して、画像形成装置での出力前に下地かぶりや裏写り等を検出し、その検出結果に基づいて濃度調整を施して下地を除去することが一般的に行われている(例えば、特許文献1,2参照)。   Conventionally, when a document image is read by an image reading device such as a scanner device, and print output is performed by the image forming device based on the read image data, if the read image data is output as it is by the image forming device, Phenomenon such as show-through may occur. For this reason, it is common to detect background fog or show-through in the read image data before output by the image forming apparatus, and perform density adjustment based on the detection result to remove the background. (For example, refer to Patent Documents 1 and 2).

図10は従来の下地補正の手順を示すフローチャートである。まず、画像読取装置において原稿スキャンを行い(ステップS21)、画像読取装置による入力画像データを濃度に対してリニアになるように変換する(ステップS22)。そして、変換画像データから下地の検出を行う(ステップS23)。例えば、特許文献1に記載された手法では、RGBデータの最大値と最小値との差分が予め定められた閾値よりも小さい場合、RGBデータの最小値を下地候補として抽出し、この中で一番小さい値を下地濃度として検出するようにしている。   FIG. 10 is a flowchart showing a conventional background correction procedure. First, an original is scanned in the image reading device (step S21), and input image data from the image reading device is converted to be linear with respect to the density (step S22). Then, the background is detected from the converted image data (step S23). For example, in the method described in Patent Document 1, when the difference between the maximum value and the minimum value of RGB data is smaller than a predetermined threshold value, the minimum value of RGB data is extracted as a background candidate, and one of these is extracted. The smallest value is detected as the background density.

次いで、下地を検出したか否かを判断し(ステップS24)、下地を検出した場合(S24:YES)、検出した下地レベル(下地濃度)に応じて下地除去テーブルを選択し(ステップS25)、下地を検出していない場合(S24:NO)、下地除去なしテーブルを選択する(ステップS26)。そして、選択したテーブルにより変換画像データについて濃度変換を行い(ステップS27)、下地の除去を実行する。
特開平11−27550号公報 特開2003−51946号公報
Next, it is determined whether or not a background is detected (step S24). If a background is detected (S24: YES), a background removal table is selected according to the detected background level (background density) (step S25). When the background is not detected (S24: NO), a table without background removal is selected (step S26). Then, density conversion is performed on the converted image data using the selected table (step S27), and the background is removed.
JP-A-11-27550 JP 2003-51946 A

前述したフローチャートでは、下地の検出を行う前段(ステップS22)において反射率リニアなRGBデータを濃度リニアなデータに変換する処理を行っているが、このような処理は、反射率をR、濃度をDとした場合、D=−log10Rで表されるガンマ曲線に従ってガンマ補正を行うことにより実現することができる。このガンマ補正は、一般的に画像再生に適した補正であり、ハイライト領域(低濃度領域)の階調性が乏しくなる傾向にある。しかしながら、下地領域の検出にはハイライト領域の情報が重要となるため、ガンマ補正によってハイライト領域の階調性が低下した画像を用いて下地の検出を行った場合、良好に下地を検出することができない場合が生じるという問題点を有している。 In the above-described flowchart, the process of converting the RGB data with linear reflectance into the data with linear density is performed in the previous stage (step S22) in which the background is detected. In this process, the reflectance is R and the density is converted. If is D, it can be realized by performing the gamma correction according to the gamma curve represented by D = -log 10 R. This gamma correction is generally a correction suitable for image reproduction, and tends to have poor gradation in the highlight area (low density area). However, since the highlight area information is important for the detection of the background area, if the background is detected using an image in which the gradation of the highlight area has been degraded by gamma correction, the background is detected well. There is a problem that it may not be possible.

本発明は斯かる事情に鑑みてなされたものであり、第1のガンマ値を用いたガンマ補正を入力画像信号に施して第1補正信号を生成し、生成された第1補正信号に基づいて下地領域を検出し、第1のガンマ値と異なる第2のガンマ値を用いたガンマ補正を入力画像信号に施して第2補正信号を生成し、生成した第2補正信号に対して、下地領域の検出結果に応じた濃度変換処理を行う構成とすることにより、入力画像に含まれる下地領域を良好に検出した上で下地の濃度を調整するための濃度変換処理を実行することができる画像処理方法、画像処理装置、及び該画像処理装置を実現するためのコンピュータプログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and performs a gamma correction using a first gamma value on an input image signal to generate a first correction signal, and based on the generated first correction signal. A background area is detected, gamma correction using a second gamma value different from the first gamma value is performed on the input image signal to generate a second correction signal, and the background area is generated with respect to the generated second correction signal. By performing a density conversion process according to the detection result, image processing can be performed to adjust the density of the background after successfully detecting the background area included in the input image It is an object to provide a method, an image processing apparatus, and a computer program for realizing the image processing apparatus.

本発明に係る画像処理方法は、入力画像信号に基づいて該入力画像信号が構成する画像に含まれる下地領域を検出し、検出結果に応じた画像処理を行う画像処理方法において、第1のガンマ値を用いたガンマ補正を施すべく前記入力画像信号が有する濃度値と生成すべき第1補正信号の濃度値との対応関係を規定した第1のテーブル、及び前記第1のガンマ値と異なる第2のガンマ値を用いてガンマ補正を施すべく前記入力画像信号が有する濃度値と生成すべき第2補正信号の濃度値との対応関係を規定した第2のテーブルのうち、予め記憶してある第2のテーブルに対し、予め記憶してあり、第1及び第2テーブルの差分を示す差分データを加算することにより第1のテーブルを生成するステップと、生成された第1のテーブルを用いて前記入力画像信号から第1補正信号を生成するステップと、生成した第1補正信号に基づいて前記画像の下地領域を検出するステップと、予め記憶してある第2のテーブルを用いて前記入力画像信号から第2補正信号を生成するステップと、生成した第2補正信号に対して、下地領域の検出結果に応じた濃度変換処理を行うステップとを有することを特徴とする。 An image processing method according to the present invention is an image processing method for detecting a ground region included in an image constituted by an input image signal based on the input image signal and performing image processing according to the detection result. A first table defining a correspondence relationship between a density value of the input image signal and a density value of the first correction signal to be generated to perform gamma correction using the value, and a first table different from the first gamma value. A second table that prescribes the correspondence between the density value of the input image signal and the density value of the second correction signal to be generated to perform gamma correction using a gamma value of 2. for the second table, Yes previously stored, generating a first table by adding the difference data indicating the difference between the first and second tables, using the first table has been made live Before Generating a first correction signal from the input image signal, and detecting a background area of the image based on the generated first correction signal, the input image using a second table which is stored in advance The method includes a step of generating a second correction signal from the signal, and a step of performing density conversion processing on the generated second correction signal in accordance with the detection result of the background region.

本発明にあっては、下地領域を検出する前段において施すガンマ補正と、下地領域の検出結果に応じた濃度変換処理を行う前段において施すガンマ補正とを異なるガンマ値を用いて実行するようにしているため、下地領域の検出に適したガンマ値、及び出力用の画像の生成に適したガンマ値を夫々に設定することが可能となり、下地領域が精度良く検出されるとともに、下地の濃度を適切に調整した出力画像が得られる。   In the present invention, the gamma correction performed in the previous stage for detecting the background area and the gamma correction performed in the previous stage for performing the density conversion process according to the detection result of the background area are executed using different gamma values. Therefore, it is possible to set a gamma value suitable for detecting the background area and a gamma value suitable for generating an output image, respectively, so that the background area can be accurately detected and the background density is set appropriately. An output image adjusted to be obtained.

本発明に係る画像処理装置は、入力画像信号に基づいて該入力画像信号が構成する画像に含まれる下地領域を検出し、検出結果に応じた画像処理を行う画像処理装置において、第1のガンマ値を用いたガンマ補正を前記入力画像信号に施す第1補正手段と、前記ガンマ値と異なる第2のガンマ値を用いたガンマ補正を前記入力画像信号に施す第2補正手段と、前記入力画像信号が有する濃度値と生成すべき第補正信号の濃度値との対応関係を規定する第2のテーブルを記憶する手段と、予め記憶してあり、前記第2のテーブル及び前記入力画像信号が有する濃度値と生成すべき第補正信号の濃度値との対応関係を規定する第1のテーブルの差分を示す差分データを前記第2のテーブルに加算することにより第1のテーブルを生成する手段とを備え、前記第1及び第2補正手段は、それぞれ第1及び第2のテーブルを用いてガンマ補正を施すようにしてあり、前記第1補正手段により補正して得られた第1補正信号に基づいて前記画像の下地領域を検出する検出手段と、前記第2補正手段により補正して得られた第2補正信号に対して、前記検出手段の検出結果に応じた濃度変換処理を施す手段とを有することを特徴とする。 An image processing apparatus according to the present invention detects a background area included in an image formed by an input image signal based on the input image signal, and performs image processing according to the detection result. First correction means for performing gamma correction using the value on the input image signal, second correction means for performing gamma correction using a second gamma value different from the gamma value on the input image signal, and the input image Means for storing a second table for defining a correspondence relationship between the density value of the signal and the density value of the second correction signal to be generated; and the second table and the input image signal are stored in advance. means for generating a first table by adding the difference data indicating the difference between the first table defining the correspondence between the density value of the first correction signal to be generated and the concentration value in the second table with Wherein the first and second correction means, Yes as performs gamma correction using the first and second table respectively, the first correction signal obtained by correcting the first correction means Detection means for detecting a background area of the image based on the image data; and means for performing density conversion processing on the second correction signal obtained by correction by the second correction means according to the detection result of the detection means; It is characterized by having.

本発明にあっては、下地領域を検出する前段において第1のガンマ値を用いてガンマ補正を施す第1補正手段と、下地領域の検出結果に応じた濃度変換処理を行う前段において第2のガンマ値を用いてガンマ補正を施す第2補正手段とを備えているため、下地領域の検出に適したガンマ値、及び出力用の画像の生成に適したガンマ値を夫々に設定することが可能となり、下地領域が精度良く検出されるとともに、下地の濃度を適切に調整した出力画像が得られる。   In the present invention, the first correction means for performing gamma correction using the first gamma value in the previous stage of detecting the background area, and the second stage in the previous stage of performing the density conversion processing according to the detection result of the background area. Since a second correction unit that performs gamma correction using a gamma value is provided, it is possible to set a gamma value suitable for detecting a background area and a gamma value suitable for generating an output image. Thus, the background area is detected with high accuracy, and an output image in which the density of the background is appropriately adjusted is obtained.

本発明に係る画像処理装置は、前記下地領域に対応する領域内の前記第1補正信号による画像の階調数が前記第2補正信号による画像の階調数よりも多くなるように前記第1及び第2のガンマ値を定めてあることを特徴とする。   In the image processing apparatus according to the present invention, the first gray level of the image based on the first correction signal in the area corresponding to the background area is larger than the gray level of the image based on the second correction signal. And a second gamma value is defined.

本発明にあっては、下地領域に対応する領域の階調数が多くなるように第1補正手段で実行するガンマ補正のガンマ値を定めているため、第1補正手段によって補正された画像は、下地領域に対応する低濃度領域(ハイライト領域)での階調数を多くすることができ、後段の検出手段において下地領域が精度良く検出される。   In the present invention, the gamma value of the gamma correction executed by the first correction unit is determined so that the number of gradations in the region corresponding to the background region increases, so that the image corrected by the first correction unit is The number of gradations in the low density area (highlight area) corresponding to the background area can be increased, and the background area can be detected with high accuracy by the detection means at the subsequent stage.

本発明にあっては、第1補正手段でのガンマ補正にて用いるテーブル又は第2補正手段でのガンマ補正にて用いるテーブルの一方を記憶しておき、他方を記憶されたテーブルから生成するようにしているため、ルックアップテーブル等の2種類のテーブルを記憶させておく必要が無くなり、一方は差分データとして記憶しておけば良いため、データ量の増加が抑えられる。   In the present invention, one of the table used for gamma correction by the first correction unit or the table used for gamma correction by the second correction unit is stored, and the other is generated from the stored table. Therefore, it is not necessary to store two types of tables such as a lookup table, and one of them only needs to be stored as difference data, so that an increase in the amount of data can be suppressed.

本発明にあっては、第1補正手段でのガンマ補正にて用いる関数又は第2補正手段でのガンマ補正にて用いる関数の一方を記憶しておき、他方を記憶された関数から生成するようにしているため、2種類の関数を記憶させておく必要がなり、データ量の増加が抑えられる。   In the present invention, one of the function used for gamma correction by the first correction unit or the function used for gamma correction by the second correction unit is stored, and the other is generated from the stored function. Therefore, it is necessary to store two types of functions, and an increase in data amount can be suppressed.

本発明に係る画像処理装置は、前記濃度変換処理を前記第2補正信号に施して得られた画像を出力する手段を備えることを特徴とする。   The image processing apparatus according to the present invention includes means for outputting an image obtained by performing the density conversion process on the second correction signal.

本発明にあっては、濃度変換処理を施して得られた画像を出力する手段を備えるため、プリンタ装置、デジタル複合機への適用が可能となる。   Since the present invention includes means for outputting an image obtained by performing density conversion processing, it can be applied to a printer device and a digital multifunction peripheral.

本発明に係る画像処理装置は、原稿の画像を読み取る手段を更に備え、該手段により読み取られた画像に基づいて出力すべき画像を生成するようにしてあることを特徴とする。   The image processing apparatus according to the present invention further includes means for reading an image of a document, and generates an image to be output based on the image read by the means.

本発明にあっては、原稿の画像を読み取り、読み取られた画像に基づいて出力する画像を生成するようにしてあるため、スキャナ装置、デジタル複合機への適用が可能となる。   In the present invention, since an image of a document is read and an image to be output is generated based on the read image, it can be applied to a scanner device and a digital multi-function peripheral.

本発明に係るコンピュータプログラムは、コンピュータに、入力画像信号に基づいて該入力画像信号が構成する画像に含まれる下地領域を検出させるステップと、コンピュータに、検出結果に応じた画像処理を行わせるステップとを有するコンピュータプログラムにおいて、コンピュータに、第1のガンマ値を用いたガンマ補正を施すべく前記入力画像信号が有する濃度値と生成すべき第1補正信号の濃度値との対応関係を規定した第1のテーブル、及び前記第1のガンマ値と異なる第2のガンマ値を用いてガンマ補正を施すべく前記入力画像信号が有する濃度値と生成すべき第2補正信号の濃度値との対応関係を規定した第2のテーブルのうち、予め記憶してある第2のテーブルに対し、予め記憶してあり、第1及び第2テーブルの差分を示す差分データを加算することにより第1のテーブルを生成させるステップと、コンピュータに、生成された第1のテーブルを用いて前記入力画像信号から第1補正信号を生成させるステップと、コンピュータに、生成させた第1補正信号に基づいて前記画像の下地領域を検出させるステップと、コンピュータに、予め記憶してある第2のテーブルを用いて前記入力画像信号から第2補正信号を生成させるステップと、コンピュータに、生成させた第2補正信号に対して、下地領域の検出結果に応じた濃度変換処理を行わせるステップとを有することを特徴とする。 A computer program according to the present invention includes a step of causing a computer to detect a ground region included in an image formed by the input image signal based on the input image signal, and a step of causing the computer to perform image processing according to the detection result. In the computer program having the above, the computer defines a correspondence relationship between the density value of the input image signal and the density value of the first correction signal to be generated in order to perform gamma correction using the first gamma value. The correspondence relationship between the density value of the input image signal and the density value of the second correction signal to be generated to perform gamma correction using the table 1 and the second gamma value different from the first gamma value. among the second table defining, for the second table stored in advance, Yes prestored, the difference between the first and second tables A step of generating a first table by adding to the difference data, to the computer, the step of generating a first correction signal from the input image signal using the first table generated and the computer, the step of the step of detecting a background area of the image based on the first correction signal is generated, the computer is from the input image signal using a second table which is stored in advance produce a second correction signal And a step of causing the computer to perform a density conversion process according to the detection result of the background area on the generated second correction signal.

本発明にあっては、下地領域を検出する前段において施すガンマ補正と、下地領域の検出結果に応じた濃度変換処理を行う前段において施すガンマ補正とを異なるガンマ値を用いて実行するようにしているため、下地領域の検出に適したガンマ値、及び出力用の画像の生成に適したガンマ値を夫々に設定することが可能となり、下地領域が精度良く検出されるとともに、下地の濃度を適切に調整した出力画像が得られる。   In the present invention, the gamma correction performed in the previous stage for detecting the background area and the gamma correction performed in the previous stage for performing the density conversion process according to the detection result of the background area are executed using different gamma values. Therefore, it is possible to set a gamma value suitable for detecting the background area and a gamma value suitable for generating an output image, respectively, so that the background area can be accurately detected and the background density is set appropriately. An output image adjusted to be obtained.

本発明による場合は、下地領域を検出する前段において施すガンマ補正と、下地領域の検出結果に応じた濃度変換処理を行う前段において施すガンマ補正とを異なるガンマ値を用いて実行するようにしている。したがって、下地領域の検出に適したガンマ値、及び出力用の画像の生成に適したガンマ値を夫々に設定することが可能となり、下地領域を精度良く検出することができるとともに、下地の濃度を適切に調整した出力画像を取得することができる。   According to the present invention, the gamma correction performed in the previous stage for detecting the background area and the gamma correction performed in the previous stage for performing the density conversion process according to the detection result of the background area are executed using different gamma values. . Therefore, it is possible to set a gamma value suitable for detection of a background area and a gamma value suitable for generation of an image for output, respectively, so that the background area can be detected with high accuracy and the density of the background can be set. Appropriately adjusted output images can be acquired.

本発明による場合は、下地領域を検出する前段において第1のガンマ値を用いてガンマ補正を施す第1補正手段と、下地領域の検出結果に応じた濃度変換処理を行う前段において第2のガンマ値を用いてガンマ補正を施す第2補正手段とを備えている。したがって、下地領域の検出に適したガンマ値、及び出力用の画像の生成に適したガンマ値を夫々に設定することが可能となり、下地領域を精度良く検出することができるとともに、下地の濃度を適切に調整した出力画像を取得することができる。   According to the present invention, the first correction means for performing gamma correction using the first gamma value in the previous stage for detecting the background area, and the second gamma in the previous stage for performing the density conversion processing according to the detection result of the background area. Second correction means for performing gamma correction using the value. Therefore, it is possible to set a gamma value suitable for detection of a background area and a gamma value suitable for generation of an image for output, respectively, so that the background area can be detected with high accuracy and the density of the background can be set. Appropriately adjusted output images can be acquired.

本発明による場合は、下地領域に対応する領域の階調数が多くなるように第1補正手段で実行するガンマ補正のガンマ値を定めている。したがって、第1補正手段によって補正された画像は、下地領域に対応する低濃度領域(ハイライト領域)での階調数を多くすることができ、後段の検出手段において下地領域を精度良く検出することができる。   In the case of the present invention, the gamma value of the gamma correction executed by the first correction unit is determined so that the number of gradations in the area corresponding to the background area increases. Therefore, the image corrected by the first correction unit can increase the number of gradations in the low density region (highlight region) corresponding to the background region, and the detection unit in the subsequent stage can accurately detect the background region. be able to.

本発明による場合は、第1補正手段でのガンマ補正にて用いるテーブル又は第2補正手段でのガンマ補正にて用いるテーブルの一方を記憶しておき、他方を記憶されたテーブルから生成するようにしている。したがって、2種類のガンマ補正を施す場合であっても、ルックアップテーブル等の2種類のテーブルを記憶させておく必要がなくなり、データ量の増加を低く抑えることができる。 In the case of the present invention, one of the table used for gamma correction by the first correction unit or the table used for gamma correction by the second correction unit is stored, and the other is generated from the stored table. ing. Thus, 2 even when subjected types of gamma correction, it is no need to store the two types of tables such as lookup tables, it is possible to suppress an increase in the data amount reduced.

本発明による場合は、第1補正手段でのガンマ補正にて用いる関数又は第2補正手段でのガンマ補正にて用いる関数の一方を記憶しておき、他方を記憶された関数から生成するようにしている。したがって、2種類のガンマ補正を施す場合であっても、2種類の関数を記憶させておく必要が無くなり、データ量の増加を低く抑えることができる。   In the case of the present invention, one of the function used in the gamma correction in the first correction unit or the function used in the gamma correction in the second correction unit is stored, and the other is generated from the stored function. ing. Accordingly, even when two types of gamma correction are performed, it is not necessary to store two types of functions, and an increase in data amount can be suppressed to a low level.

本発明による場合は、濃度変換処理を施して得られた画像を出力する手段を備えるため、プリンタ装置、デジタル複合機への適用が可能となる。   In the case of the present invention, since it is provided with means for outputting an image obtained by performing density conversion processing, it can be applied to a printer device and a digital multifunction peripheral.

本発明による場合は、原稿の画像を読み取り、読み取られた画像に基づいて出力する画像を生成するようにしてあるため、スキャナ装置、デジタル複合機への適用が可能となる。   According to the present invention, since an image of a document is read and an image to be output is generated based on the read image, it can be applied to a scanner device and a digital multifunction peripheral.

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。
実施の形態1.
本実施の形態では、本発明に係る画像処理装置をスキャナ装置に適用した形態について説明する。図1は本実施の形態に係る画像処理装置の概略構成を示すブロック図である。本実施の形態に係る画像処理装置は、大略的に、制御部1、記憶部2、操作部3、画像読取部4、画像処理部5、及び画像出力部6により構成されている。制御部1は、CPUを備えており、当該CPUが記憶部2に予め格納された制御プログラムを読込んで実行し、前述のハードウェア各部を制御することにより、全体として本発明の画像処理装置として機能させる。操作部3は、原稿の読み取り濃度、読み取り開始指示等の利用者の操作を受け付ける操作ボタン、操作案内を表示するための液晶ディスプレイ等を備えている。
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.
Embodiment 1 FIG.
In the present embodiment, an embodiment in which the image processing apparatus according to the present invention is applied to a scanner apparatus will be described. FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus according to the present embodiment. The image processing apparatus according to the present embodiment is generally configured by a control unit 1, a storage unit 2, an operation unit 3, an image reading unit 4, an image processing unit 5, and an image output unit 6. The control unit 1 includes a CPU. The CPU reads and executes a control program stored in the storage unit 2 in advance, and controls each of the above-described hardware units, so that the image processing apparatus of the present invention as a whole. Make it work. The operation unit 3 includes an operation button for accepting a user operation such as an original reading density and an instruction to start reading, a liquid crystal display for displaying an operation guide, and the like.

画像読取部4は、読取用の原稿に光を照射する光源、CCD(Charge Coupled Device)のようなイメージセンサ等を備えており、所定の読み取り位置にセットされた原稿からの反射光像を当該イメージセンサに結像させて、RGB(R:Red, G:Green, B:Blue)のアナログ電気信号を生成する。生成したアナログ電気信号は画像処理部5へ出力される。   The image reading unit 4 includes a light source that irradiates light to a reading document, an image sensor such as a CCD (Charge Coupled Device), and the like, and receives a reflected light image from the document set at a predetermined reading position. An image is formed on the image sensor to generate RGB (R: Red, G: Green, B: Blue) analog electrical signals. The generated analog electrical signal is output to the image processing unit 5.

画像処理部5は、画像読取部4から出力されるアナログ電気信号をデジタル信号に変換した後、RGBの反射率信号を濃度信号に変換する処理や、読み取った画像に応じた各種の濃度調整処理を実行する。これらの濃度調整処理を施して取得した画像データは画像出力部6へ出力される。   The image processing unit 5 converts the analog electrical signal output from the image reading unit 4 into a digital signal, then converts RGB reflectance signals into density signals, and various density adjustment processes according to the read image Execute. Image data obtained by performing these density adjustment processes is output to the image output unit 6.

画像出力部6は、例えば、画像処理部5が出力する画像データをパーソナルコンピュータ等の情報処理装置へ送信するために、USBインタフェース、SCSIインタフェース等の通信インタフェースを備えており、当該通信インタフェースに接続された情報処理装置へ所定のプロトコルに従って画像データを送信するように構成されている。   The image output unit 6 includes a communication interface such as a USB interface or a SCSI interface in order to transmit image data output from the image processing unit 5 to an information processing apparatus such as a personal computer, and is connected to the communication interface. The image data is transmitted to the information processing apparatus according to a predetermined protocol.

図2は画像処理部5の詳細を説明するブロック図である。画像処理部5は、AD変換部51、シェーディング補正部52、入力階調補正部53、領域分離処理部54、色補正部55、黒生成下色除去部56、空間フィルタ処理部57、出力階調補正部58、及び階調再現処理部59を備える。   FIG. 2 is a block diagram illustrating details of the image processing unit 5. The image processing unit 5 includes an AD conversion unit 51, a shading correction unit 52, an input tone correction unit 53, a region separation processing unit 54, a color correction unit 55, a black generation and under color removal unit 56, a spatial filter processing unit 57, an output floor. A tone correction unit 58 and a gradation reproduction processing unit 59 are provided.

AD変換部51は、画像読取部4を通じて入力されたRGBのアナログ信号をデジタル信号に変換する。シェーディング補正部52は、AD変換部51から出力されたデジタルのRGB信号に対して、画像読取部4の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施す。   The AD conversion unit 51 converts RGB analog signals input through the image reading unit 4 into digital signals. The shading correction unit 52 performs processing for removing various distortions generated in the illumination system, the imaging system, and the imaging system of the image reading unit 4 on the digital RGB signal output from the AD conversion unit 51.

入力階調補正部53は、RGBの反射率信号を濃度信号に変換(ガンマ変換)すると共に、下地の検出処理を行う。そして、下地検出結果に基づいて下地濃度の補正やコントラストなどの画質調整処理を実行する。入力階調補正部53では、前述した処理に加えてカラーバランスを整える処理を行っても良い。本発明は、特に入力階調補正部53に関わるものであり、その詳細については後に詳述することとする。   The input tone correction unit 53 converts RGB reflectance signals into density signals (gamma conversion) and performs background detection processing. Then, image quality adjustment processing such as background density correction and contrast is executed based on the background detection result. The input tone correction unit 53 may perform processing for adjusting color balance in addition to the processing described above. The present invention particularly relates to the input tone correction unit 53, and details thereof will be described later.

領域分離処理部54は、RGB信号に基づいて入力画像中の各画素を文字領域、網点領域、写真(その他)領域の何れかに分離するものである。領域分離処理部54は、分離結果に基づき、画素がどの領域に属しているかを示す領域識別信号を色補正部55、黒生成下色除去部56、空間フィルタ処理部57、出力階調補正部58、及び階調再現処理部59へと出力すると共に、入力階調補正部53より出力されたRGB信号をそのまま後段の色補正部55に出力する。   The region separation processing unit 54 separates each pixel in the input image into one of a character region, a halftone dot region, and a photograph (other) region based on the RGB signal. Based on the separation result, the region separation processing unit 54 displays a region identification signal indicating which region the pixel belongs to as a color correction unit 55, a black generation and under color removal unit 56, a spatial filter processing unit 57, and an output tone correction unit. 58 and the gradation reproduction processing unit 59, and the RGB signal output from the input gradation correction unit 53 is output to the subsequent color correction unit 55 as it is.

色補正部55は、色再現の忠実化実現のために不要吸収成分を含むCMY(C:シアン、M:マゼンタ、Y:イエロ)色材の分光特性に基づいた色濁りを取り除く処理を行うものである。   The color correction unit 55 performs processing for removing color turbidity based on spectral characteristics of CMY (C: cyan, M: magenta, Y: yellow) color materials including unnecessary absorption components in order to realize color reproduction faithfully. It is.

黒生成下色除去部56は、色補正後のCMYの3色信号から黒(K)信号を生成する黒生成、元のCMY信号から黒生成で得たK信号を差し引いて新たなCMY信号を生成する処理を行うものであり、CMYの3色信号をCMYKの4色信号に変換する。黒生成処理の一例として、スケルトンブラックによる黒生成を行う方法が知られている。この方法では、スケルトンカーブの入力特性をy=f(x)、入力されるデータをC,M,Y、出力されるデータをC’,M’,Y’,K’、下色除去率をα(0<α<1)とすると、黒生成下色除去処理は以下の式で表すことができる。   The black generation and under color removal unit 56 generates black (K) signals from the CMY three-color signals after color correction, and subtracts the K signals obtained by black generation from the original CMY signals to generate new CMY signals. The generation processing is performed, and the CMY three-color signal is converted into a CMYK four-color signal. As an example of black generation processing, a method of generating black using skeleton black is known. In this method, the input characteristic of the skeleton curve is y = f (x), the input data is C, M, Y, the output data is C ′, M ′, Y ′, K ′, and the undercolor removal rate is If α (0 <α <1), the black generation and under color removal processing can be expressed by the following equation.

Figure 0004559128
Figure 0004559128

空間フィルタ処理部57は、黒生成下色除去部56より入力されるCMYK信号の画像データに対し、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒状性劣化を防ぐように処理するものである。例えば、領域分離処理部54により文字として分離された領域は、特に黒文字又は色文字の再現性を高めるために鮮鋭強調処理を行い、高周波数成分を強調する。領域分離処理部54により網点領域として分離された領域に関しては、入力網点成分を除去するためのローパスフィルタ処理を施す。   The spatial filter processing unit 57 performs spatial filter processing using a digital filter on the image data of the CMYK signal input from the black generation and under color removal unit 56, based on the region identification signal, and outputs by correcting the spatial frequency characteristics. Processing is performed to prevent image blurring and graininess deterioration. For example, a region separated as a character by the region separation processing unit 54 is subjected to sharp enhancement processing to enhance the reproducibility of black characters or color characters, and emphasizes high frequency components. For the region separated as a halftone dot region by the region separation processing unit 54, low-pass filter processing for removing the input halftone dot component is performed.

出力階調補正部58では、濃度信号などの信号を出力先の特性に応じた網点面積率に変換する出力階調補正処理を行う。   The output tone correction unit 58 performs output tone correction processing for converting a signal such as a density signal into a halftone dot area ratio corresponding to the characteristics of the output destination.

階調再現処理部59では、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理を行う。例えば、領域分離処理部54にて写真に分離された領域に関しては、階調再現性を重視したスクリーンでの二値化又は多値化処理を行い、領域分離処理部54にて文字に分離された領域に関しては、高周波数の再現性に適した高解像度のスクリーンでの二値化又は多値化処理を行う。   The gradation reproduction processing unit 59 performs gradation reproduction processing that finally separates an image into pixels and performs processing so that each gradation can be reproduced. For example, for a region separated into a photograph by the region separation processing unit 54, binarization or multi-value processing is performed on the screen with an emphasis on gradation reproducibility, and the region separation processing unit 54 separates it into characters. The binarization or multi-value processing is performed on a high-resolution screen suitable for high-frequency reproducibility.

このように各処理部にて処理が施された画像データは、一旦図に示していない画像メモリに記憶され、所定のタイミングで読出されて画像出力部6を通じて外部へ送信される。   The image data processed by each processing unit in this manner is temporarily stored in an image memory (not shown), read at a predetermined timing, and transmitted to the outside through the image output unit 6.

以下、入力階調補正部53にて実行されるガンマ変換処理、下地検出処理、及び下地補正処理について説明する。図3は入力階調補正部53の内部構成を示すブロック図である。入力階調補正部53は、本発明の第1補正手段として機能する第1ガンマ変換部531、第2補正手段として機能する第2ガンマ変換部532、検出手段として機能する下地検出部533、及び濃度変換処理を施す手段として機能する下地補正部534を備えている。第1ガンマ変換部531によって変換された画像データは下地検出部533へ出力され、下地検出部533において下地の検出が行われる。また、第2ガンマ変換部532によって変換された画像データは下地補正部534へ出力され、下地の検出結果を基に下地の濃度補正が行われる。   Hereinafter, the gamma conversion processing, background detection processing, and background correction processing executed by the input tone correction unit 53 will be described. FIG. 3 is a block diagram showing the internal configuration of the input tone correction unit 53. The input tone correction unit 53 includes a first gamma conversion unit 531 that functions as a first correction unit of the present invention, a second gamma conversion unit 532 that functions as a second correction unit, a background detection unit 533 that functions as a detection unit, and A background correction unit 534 functioning as means for performing density conversion processing is provided. The image data converted by the first gamma conversion unit 531 is output to the background detection unit 533, and the background detection unit 533 detects the background. The image data converted by the second gamma conversion unit 532 is output to the background correction unit 534, and background density correction is performed based on the detection result of the background.

第1ガンマ変換部531では、ハイライト領域の階調性が取れるようなガンマ変換(ガンマ補正)を行い、第2ガンマ変換部532では、反射率リニアな画像データを濃度リニアなデータに変換するためのガンマ変換(ガンマ補正)を行う。そのため、第1ガンマ変換部531及び第2ガンマ変換部532は、夫々の変換特性を定めるガンマ曲線に従ってガンマ補正を行うように構成されている。図4は第1ガンマ変換部531及び第2ガンマ変換部532の変換特性を示すグラフである。図4(a)は第1ガンマ変換部531の変換特性を示す第1ガンマ曲線を示し、第4(b)は第2ガンマ変換部532の変換特性を示す第2ガンマ曲線を示している。   The first gamma conversion unit 531 performs gamma conversion (gamma correction) so that the gradation of the highlight region can be obtained, and the second gamma conversion unit 532 converts the reflectance linear image data into density linear data. Gamma conversion (gamma correction) is performed. Therefore, the first gamma conversion unit 531 and the second gamma conversion unit 532 are configured to perform gamma correction according to the gamma curves that define the respective conversion characteristics. FIG. 4 is a graph showing conversion characteristics of the first gamma conversion unit 531 and the second gamma conversion unit 532. FIG. 4A shows a first gamma curve showing the conversion characteristics of the first gamma conversion unit 531, and FIG. 4B shows a second gamma curve showing the conversion characteristics of the second gamma conversion unit 532.

図4(a)に示すグラフにおいて、横軸は、入力画像データに対する濃度値(RGB値)を示し、縦軸は、ガンマ変換して得られる出力画像データの濃度値(RGB値)を示している。入力画像データの各画素の濃度値と出力画像データにおいて対応する画素の濃度値との対応関係が、図4(a)に示す第1ガンマ曲線により規定されている。図4(a)には、○のシンボルで表したガンマ曲線、及び●のシンボルで表したガンマ曲線の2種類が示されているが、何れも第1ガンマ変換部531における第1ガンマ曲線として利用することができる。このような第1ガンマ曲線によると、下地領域に対応するハイライト領域(例えば、[640,1024]の濃度範囲)において階調数が多くなるように、すなわち、階調性が良好となるように濃度変換が行われる。したがって、ガンマ変換の際にハイライト領域の情報量を低減させずに済み、後述する下地検出部533において下地を詳細に検出することが可能となる。   In the graph shown in FIG. 4A, the horizontal axis indicates the density value (RGB value) for the input image data, and the vertical axis indicates the density value (RGB value) of the output image data obtained by gamma conversion. Yes. The correspondence between the density value of each pixel of the input image data and the density value of the corresponding pixel in the output image data is defined by the first gamma curve shown in FIG. FIG. 4A shows two types of gamma curves represented by the symbol “◯” and gamma curves represented by the symbol “●”, both of which are used as the first gamma curve in the first gamma conversion unit 531. Can be used. According to such a first gamma curve, the number of gradations is increased in the highlight region (for example, the density range of [640, 1024]) corresponding to the background region, that is, the gradation property is improved. Density conversion is performed. Therefore, it is not necessary to reduce the amount of information in the highlight area at the time of gamma conversion, and the background detection unit 533 described later can detect the background in detail.

このようなガンマ変換は、例えば、入力濃度値と出力濃度値とを一意に対応付けしたルックアップテーブルを用いて実現することができ、入力濃度値と第1ガンマ曲線により規定される出力濃度値との対応関係を表すルックアップテーブルを第1ガンマ変換部531に保持しておき、画像データが第1変換部531に入力された際にルックアップテーブルから該当する出力濃度値を取得することによってガンマ変換を行う。   Such gamma conversion can be realized, for example, using a lookup table in which input density values and output density values are uniquely associated, and output density values defined by the input density values and the first gamma curve. Is stored in the first gamma conversion unit 531, and when the image data is input to the first conversion unit 531, the corresponding output density value is obtained from the lookup table. Perform gamma conversion.

なお、第1ガンマ変換部531において用いるガンマ曲線は、図4(a)に示したものに限定されない。   Note that the gamma curve used in the first gamma conversion unit 531 is not limited to that shown in FIG.

同様に、図4(b)に示すグラフにおいて、横軸は、入力画像データに対する濃度値(RGB値)を示し、縦軸は、ガンマ変換して得られる出力画像データの濃度値(RGB値)を示している。入力画像データの各画素の濃度値と出力画像データにおいて対応する画素の濃度値との対応関係が、図4(b)に示す第2ガンマ曲線によって規定されている。第2ガンマ曲線は、反射率リニアな画像データを濃度リニアなデータに変換するために行う。   Similarly, in the graph shown in FIG. 4B, the horizontal axis indicates the density value (RGB value) for the input image data, and the vertical axis indicates the density value (RGB value) of the output image data obtained by gamma conversion. Is shown. The correspondence between the density value of each pixel of the input image data and the density value of the corresponding pixel in the output image data is defined by the second gamma curve shown in FIG. The second gamma curve is performed to convert reflectance linear image data into density linear data.

このようなガンマ変換は、前述と同様に、入力濃度値と出力濃度値とを一意に対応付けしたルックアップテーブルを用いて実現することができる。すなわち、入力濃度値と第2ガンマ曲線により規定される出力濃度値との対応関係を表すルックアップテーブルを第2ガンマ変換部532に保持しておき、画像データが第2ガンマ変換部532に入力された際にルックアップテーブルから該当する出力濃度値を取得することによってガンマ変換を行う。   Such gamma conversion can be realized using a look-up table in which input density values and output density values are uniquely associated as described above. That is, a lookup table representing the correspondence between the input density value and the output density value defined by the second gamma curve is held in the second gamma conversion unit 532, and image data is input to the second gamma conversion unit 532. Then, gamma conversion is performed by obtaining the corresponding output density value from the lookup table.

なお、第2ガンマ変換部532において用いることができるガンマ曲線は、図4(b)に示したものに限定されない。   Note that the gamma curve that can be used in the second gamma conversion unit 532 is not limited to that shown in FIG.

また、図4に示した例では、ガンマ変換を実行したときに10ビットの入力画像データを8ビットの出力画像データに変換する構成としたが、10ビットの画像データを出力する構成であっても良く、また、入力画像データを10ビットに限定する必要がないことは勿論のことである。   In the example shown in FIG. 4, when gamma conversion is performed, 10-bit input image data is converted to 8-bit output image data. However, 10-bit image data is output. Of course, the input image data need not be limited to 10 bits.

また、本実施の形態では、第1ガンマ変換部531及び第2ガンマ変換部532がそれぞれ第1ガンマ曲線及び第2ガンマ曲線に対応したルックアップテーブルを有する構成としたが、第2ガンマ曲線に対応するデータのみを持っておき、第1ガンマ曲線については、差分データを格納しておいて変換時に第2ガンマ曲線のデータに加算して求める構成であっても良い。すなわち、第1ガンマ変換部531及び第2ガンマ変換部532は、本発明において一方のテーブル(ルックアップテーブル)を記憶する手段、及び他方のテーブルを生成する手段として機能する。   In the present embodiment, the first gamma conversion unit 531 and the second gamma conversion unit 532 are configured to have lookup tables corresponding to the first gamma curve and the second gamma curve, respectively. Only the corresponding data may be stored, and the first gamma curve may be obtained by storing difference data and adding to the second gamma curve data at the time of conversion. That is, the first gamma conversion unit 531 and the second gamma conversion unit 532 function as means for storing one table (lookup table) and means for generating the other table in the present invention.

また、第1ガンマ曲線及び第2ガンマ曲線を関数として保持しておき、演算処理によってガンマ補正した出力濃度値を取得する構成であっても良い。すなわち、第1ガンマ変換部531及び第2ガンマ変換部532は、本発明において一方の関数を記憶する手段、及び他方の関数を生成する手段として機能する。   Alternatively, the first gamma curve and the second gamma curve may be held as functions, and an output density value that is gamma corrected by an arithmetic process may be acquired. That is, the first gamma conversion unit 531 and the second gamma conversion unit 532 function as means for storing one function and means for generating the other function in the present invention.

下地検出部533では、第1ガンマ変換部531によってハイライト領域の階調性が取れるように変換したRGB信号を元に下地の検出を行う。下地を検出する手法としては公知の手法を採用することができ、例えば、特開2003−51946号公報に記載された手法を用いて下地の検出を行う。前記公報に記載された手法では、まず、入力画像データを用いてヒストグラムを作成し、このヒストグラムの度数を予め定めた複数の閾値と比較することにより下地判定処理を行う。この下地判定処理では、以下の3つの工程により下地の判定を行う。すなわち、ヒストグラムを予め定めた方向に探索し、濃度区分の度数を第1の閾値と比較して、後の処理を行うか否かを判定する第1の工程と、後の処理を行うと判定したとき、濃度区分の度数を第2の閾値と比較することにより下地の候補があるか否かの判定を行う第2の工程と、下地の候補があると判定したとき、度数が第2の閾値以上となる濃度区分の度数とこの濃度区分に隣接し探索する方向に存在する濃度区分の度数とを加算し、第3の閾値と比較することにより下地の有無を判定する第3の工程とに基づいて下地補正処理を行う。   The background detection unit 533 detects the background based on the RGB signal converted by the first gamma conversion unit 531 so that the gradation of the highlight area can be obtained. As a technique for detecting the background, a known technique can be employed. For example, the background is detected using the technique described in Japanese Patent Application Laid-Open No. 2003-51946. In the technique described in the above publication, first, a background is determined by creating a histogram using input image data and comparing the frequency of this histogram with a plurality of predetermined thresholds. In this background determination process, the background is determined by the following three steps. That is, the histogram is searched in a predetermined direction, the frequency of the density classification is compared with the first threshold value, and the first process for determining whether or not to perform the subsequent process and the determination to perform the subsequent process. A second step of determining whether or not there is a background candidate by comparing the frequency of the density category with a second threshold, and when it is determined that there is a background candidate, the frequency is the second A third step of determining the presence or absence of a background by adding the frequency of the density category that is equal to or greater than the threshold and the frequency of the density category that is adjacent to the density category and exists in the search direction, and comparing with the third threshold value; The background correction processing is performed based on the above.

下地補正部534では、第2ガンマ変換部532によって濃度リニアに変換された画像データに対して、下地検出部533の検出結果に応じた下地補正を施す。図5は下地補正の際に実行する濃度変換の特性を示すグラフである。横軸は入力濃度値を示し、縦軸は出力濃度値を示している。図5には5種類の変換曲線が描かれているが、下地検出部533での検出結果に応じて変換曲線を1つ選択し、選択した変換曲線に従って濃度変換処理を行う。例えば、下地検出部533において下地が検出されなかった場合、□のシンボルで表される変換曲線を用いて濃度変換を行う。なお、この場合は、出力濃度値は入力濃度値に等しいため、実質的には濃度変換が行われないこととなる。また、下地検出部533において濃度が比較的高い領域に下地が検出された場合、×のシンボルで表される変換曲線を選択し、検出した下地を良好に除去できるように濃度変換を行う。同様に、検出した下地の濃度が低くなるに従って、○のシンボルで表される変換曲線、●のシンボルで表される変換曲線、△のシンボルで表される変換曲線の順に選択し、下地を除去するための濃度変換処理を行う。   The background correction unit 534 performs background correction according to the detection result of the background detection unit 533 on the image data converted into the linear density by the second gamma conversion unit 532. FIG. 5 is a graph showing the characteristics of density conversion executed during the background correction. The horizontal axis represents the input density value, and the vertical axis represents the output density value. Although five types of conversion curves are depicted in FIG. 5, one conversion curve is selected according to the detection result of the background detection unit 533, and density conversion processing is performed according to the selected conversion curve. For example, when no background is detected by the background detection unit 533, density conversion is performed using a conversion curve represented by a symbol □. In this case, since the output density value is equal to the input density value, the density conversion is not substantially performed. When the background detection unit 533 detects a background in a relatively high density area, a conversion curve represented by a symbol x is selected, and density conversion is performed so that the detected background can be removed satisfactorily. Similarly, as the detected background density decreases, the conversion curve represented by the symbol ◯, the conversion curve represented by the symbol ●, and the conversion curve represented by the symbol △ are selected in this order to remove the background. Density conversion processing is performed.

なお、このような濃度変換処理は、入力濃度値と出力濃度値とを一意に対応付けしたルックアップテーブルを用いて実現することができる。すなわち、入力濃度値と前述の各変換曲線により規定される出力濃度値との対応関係を表すルックアップテーブルを下地補正部534に保持しておき、画像データが下地補正部534に入力された際にルックアップテーブルから該当する出力濃度値を取得することによって濃度変換処理を行う。   Such density conversion processing can be realized using a lookup table in which input density values and output density values are uniquely associated. That is, when the background correction unit 534 holds a look-up table representing the correspondence between the input density value and the output density value defined by each of the conversion curves described above, when image data is input to the background correction unit 534. The density conversion process is performed by obtaining the corresponding output density value from the lookup table.

図6は入力階調補正部53による下地補正の手順を説明するフローチャートである。入力階調補正部53が入力画像データ(RGB信号)を取得した場合(ステップS11)、第1ガンマ変換部531にて入力画像データを低濃度の階調性が良好となるように変換する(ステップS12)。変換した画像データを第1画像データとし、第1画像データを下地検出部533へ出力する。   FIG. 6 is a flowchart for explaining the background correction procedure by the input tone correction unit 53. When the input tone correction unit 53 acquires the input image data (RGB signal) (step S11), the first gamma conversion unit 531 converts the input image data so that the low density tone is good ( Step S12). The converted image data is set as first image data, and the first image data is output to the background detection unit 533.

次いで、下地検出部533は、第1ガンマ変換部531から出力された第1画像データに基づいて下地を検出する(ステップS13)。下地の検出結果は下地補正部534へ出力される。下地補正部534では、下地検出部533から出力される下地検出結果を基に下地を検出したか否かを判断する(ステップS14)。下地を検出したと判断した場合(S14:YES)、検出した下地レベルに応じて下地除去テーブルを選択する(ステップS15)。すなわち、下地を検出した濃度領域に応じて下地補正部534に格納されたルックアップテーブルを選択する。また、下地を検出していないと判断した場合(S14:NO)、下地除去なしテーブルを選択する(ステップS16)。すなわち、図5に示した変換曲線のうち、□で表される変換曲線に対応したルックアップテーブルを選択する。   Next, the background detection unit 533 detects the background based on the first image data output from the first gamma conversion unit 531 (step S13). The background detection result is output to the background correction unit 534. The background correction unit 534 determines whether a background is detected based on the background detection result output from the background detection unit 533 (step S14). If it is determined that a background has been detected (S14: YES), a background removal table is selected according to the detected background level (step S15). That is, the lookup table stored in the background correction unit 534 is selected according to the density area where the background is detected. If it is determined that the background is not detected (S14: NO), a table without background removal is selected (step S16). That is, a lookup table corresponding to the conversion curve represented by □ is selected from the conversion curves shown in FIG.

次いで、第2ガンマ変換部532にて入力画像データを濃度に対してリニアとなるように変換する(ステップS17)。変換した画像データを第2画像データとし、第2画像データを下地補正部534へ出力する。そして、ステップS15又はステップS16において選択したテーブルにより第2画像データの濃度変換を行う(ステップS18)。   Next, the second gamma conversion unit 532 converts the input image data so as to be linear with respect to the density (step S17). The converted image data is set as second image data, and the second image data is output to the background correction unit 534. Then, the density conversion of the second image data is performed using the table selected in step S15 or step S16 (step S18).

なお、本実施の形態では、ステップS15又はステップS16においてテーブルを選択した後に、第2ガンマ変換部532による変換処理を行う構成としたが、第1ガンマ変換部531による変換処理と、第2ガンマ変換部532による変換処理とを並行して実行しても良いことは勿論のことである。   In this embodiment, after the table is selected in step S15 or step S16, the conversion process by the second gamma conversion unit 532 is performed. However, the conversion process by the first gamma conversion unit 531 and the second gamma conversion process are performed. Of course, the conversion processing by the conversion unit 532 may be executed in parallel.

実施の形態2.
実施の形態1では、第1ガンマ変換部531によるガンマ変換と、第2ガンマ変換部532によるガンマ変換とを並列に処理する構成としたが、これらの処理を順次的に実行しても良いことは勿論である。本実施の形態では、2つのガンマ変換を順次的に実行する形態について説明する。なお、画像処理装置の全体構成、画像処理部5の内部構成については実施の形態1と同様であるため、その説明を省略することとする。
Embodiment 2. FIG.
In the first embodiment, the gamma conversion by the first gamma conversion unit 531 and the gamma conversion by the second gamma conversion unit 532 are processed in parallel. However, these processes may be executed sequentially. Of course. In the present embodiment, a mode in which two gamma conversions are sequentially executed will be described. Note that the overall configuration of the image processing apparatus and the internal configuration of the image processing unit 5 are the same as those in the first embodiment, and thus description thereof will be omitted.

図7は本実施の形態に係る入力階調補正部53’の内部構成を示すブロック図である。入力階調補正部53’は、実施の形態1で示したものと同様に、第1ガンマ変換部531’、第2ガンマ変換部532’、下地検出部533’、及び下地補正部534’を備えている。第1ガンマ変換部531’の後段には下地検出部533’が接続されており、その後段に第2ガンマ変換部532’、更にその後段に下地補正部534’が接続されている。   FIG. 7 is a block diagram showing an internal configuration of the input tone correction unit 53 'according to the present embodiment. As in the first embodiment, the input tone correction unit 53 ′ includes a first gamma conversion unit 531 ′, a second gamma conversion unit 532 ′, a background detection unit 533 ′, and a background correction unit 534 ′. I have. A background detection unit 533 ′ is connected to the subsequent stage of the first gamma conversion unit 531 ′, a second gamma conversion unit 532 ′ is connected to the subsequent stage, and a background correction unit 534 ′ is connected to the subsequent stage.

第1ガンマ変換部531’及び下地検出部533’は、実施の形態1で示したものと同様の処理を行う。すなわち、第1ガンマ変換部531’では、図4(a)に示した第1ガンマ曲線に従ってガンマ補正を行い、下地検出部533’では第1ガンマ変換部531’にてガンマ補正された画像に基づいて下地の検出を行う。下地の検出に用いた画像データは第2ガンマ変換部531’へ出力される。   The first gamma conversion unit 531 ′ and the background detection unit 533 ′ perform the same processing as that described in the first embodiment. That is, the first gamma conversion unit 531 ′ performs gamma correction according to the first gamma curve shown in FIG. 4A, and the background detection unit 533 ′ converts the image subjected to gamma correction by the first gamma conversion unit 531 ′. Based on this, the background is detected. The image data used for detecting the background is output to the second gamma conversion unit 531 '.

第2ガンマ変換部532’では、第1ガンマ曲線と逆関数の特性を有する補正と、図4(b)に示した第2ガンマ曲線に従うガンマ補正とを行う。第2ガンマ変換部532’によりガンマ補正された画像データは下地補正部534’へ出力され、下地補正部534’において、前述の下地検出部533’による検出結果を基づいた下地補正が行われる。   The second gamma conversion unit 532 'performs a correction having a characteristic inverse to that of the first gamma curve and a gamma correction according to the second gamma curve shown in FIG. The image data subjected to gamma correction by the second gamma conversion unit 532 'is output to the background correction unit 534', and the background correction based on the detection result by the background detection unit 533 'is performed in the background correction unit 534'.

実施の形態3.
実施の形態1では、本発明に係る画像処理装置をスキャナ装置に適用した形態とし、画像出力部6において外部の情報処理装置へ画像データを送信する構成としたが、原稿画像を読み取る機能、及び読み取った画像を記録紙上に形成する機能を有するコピー機又はデジタル複合機に本発明を適用する構成であっても良い。すなわち、本実施の形態では画像出力部6が記録紙上に画像を形成する手段として機能する。なお、画像処理装置の全体構成、及び画像処理部5の内部構成については実施の形態1と同様であるため、その説明を省略することとする。
Embodiment 3 FIG.
In the first embodiment, the image processing apparatus according to the present invention is applied to the scanner apparatus, and the image output unit 6 transmits image data to an external information processing apparatus. A configuration in which the present invention is applied to a copying machine or a digital multifunction machine having a function of forming a read image on a recording sheet may be employed. That is, in the present embodiment, the image output unit 6 functions as a means for forming an image on a recording sheet. Note that the overall configuration of the image processing apparatus and the internal configuration of the image processing unit 5 are the same as those in the first embodiment, and thus description thereof will be omitted.

図8は画像出力部6の詳細を説明する模式的構成図である。本実施の形態での画像出力部6は、ブラック(K)、シアン(C)、マゼンタ(M)、イエロ(Y)の各色に対応した画像形成ステーション600a,600b,600c,600dを備えており、ブラック(K)、シアン(C)、マゼンタ(M)、イエロ(Y)の順に各色の画像を記録紙上に重ね合わせて転写することにより多色画像を形成するように構成されている。   FIG. 8 is a schematic configuration diagram illustrating details of the image output unit 6. The image output unit 6 in the present embodiment includes image forming stations 600a, 600b, 600c, and 600d corresponding to the respective colors of black (K), cyan (C), magenta (M), and yellow (Y). , Black (K), cyan (C), magenta (M), and yellow (Y) in this order are superimposed and transferred onto a recording sheet to form a multicolor image.

以下、ブラック(K)に対応した画像形成ステーション600aを例にとり、その構成について説明する。画像形成ステーション600aは、用紙搬送ベルト610の上面に当接配置した感光体ドラム601aを備えており、この感光体ドラム601aの周囲に帯電器602a、書き込み光学系603a、現像器604a、クリーニングユニット605aが配置されている。また、用紙搬送ベルト610の下面側には感光体ドラム601aに対向配置させた転写ローラ606aが設けられている。   Hereinafter, the configuration of the image forming station 600a corresponding to black (K) will be described as an example. The image forming station 600a includes a photosensitive drum 601a disposed in contact with the upper surface of the paper conveying belt 610. Around the photosensitive drum 601a, a charger 602a, a writing optical system 603a, a developing device 604a, and a cleaning unit 605a. Is arranged. Further, a transfer roller 606a is provided on the lower surface side of the sheet conveying belt 610 so as to face the photosensitive drum 601a.

帯電器602aは、感光体ドラム601aに接触するローラ型やブラシ型の帯電器の他に、非接触方式のチャージャ型の帯電器が採用され、感光体ドラム601aの表面を所定の電位に均一に帯電させる。書き込み光学系603aは、EL(Electro Luminescence)、LED(Light Emitting Diode)等の発行素子をアレイ状に並べた書き込みヘッド又はレーザ照射部、及び反射ミラー等を備えたレーザスキャニングユニットであり、画像処理部5が出力する画像データに応じて露光することにより、感光体ドラム601a上に画像データに応じた静電潜像を形成する。現像器604aは、感光体ドラム601a上に形成された静電潜像にブラックのトナーを供給して顕像化する。転写ローラ606aは、顕像化することにより生成された感光体ドラム601a上のトナー像を、用紙搬送ベルト610によって搬送される記録紙上に転写する。クリーニングユニット605aは、トナー像の転写後に残留する感光体ドラム601a上のトナーの除去および回収を行う。   The charger 602a employs a non-contact charger type charger in addition to a roller-type or brush-type charger that comes into contact with the photosensitive drum 601a, and uniformly distributes the surface of the photosensitive drum 601a to a predetermined potential. Charge. The writing optical system 603a is a laser scanning unit including a writing head or a laser irradiation unit in which issuing elements such as EL (Electro Luminescence) and LED (Light Emitting Diode) are arranged in an array, a reflection mirror, and the like. By exposing according to the image data output by the unit 5, an electrostatic latent image corresponding to the image data is formed on the photosensitive drum 601a. The developing device 604a supplies black toner to the electrostatic latent image formed on the photosensitive drum 601a to make a visible image. The transfer roller 606a transfers the toner image on the photosensitive drum 601a generated by the visualization to the recording paper conveyed by the paper conveyance belt 610. The cleaning unit 605a removes and collects toner on the photosensitive drum 601a remaining after the transfer of the toner image.

このような構成により、画像形成ステーション600aではブラックのトナー像を記録紙上に転写して画像形成を行う。他色の画像形成ステーション600b〜600dの構成についても基本的にブラック(K)の画像形成ステーション600aと同様であり、画像形成ステーション600b〜600dは、感光体ドラム601b〜601d、帯電器602b〜602d、書き込み光学系603b〜603d、現像器604b〜604d、クリーニングユニット605b〜605d、及び転写ローラ606b〜606dを備える。なお、各符号に付したb,c,dの記号は、それぞれシアン(C)、マゼンタ(M)、イエロ(Y)の各色に対応する。   With such a configuration, the image forming station 600a performs image formation by transferring a black toner image onto a recording sheet. The configurations of the other color image forming stations 600b to 600d are basically the same as those of the black (K) image forming station 600a. The image forming stations 600b to 600d are photosensitive drums 601b to 601d and chargers 602b to 602d. Writing optical systems 603b to 603d, developing devices 604b to 604d, cleaning units 605b to 605d, and transfer rollers 606b to 606d. Note that the symbols b, c, and d attached to the respective symbols correspond to cyan (C), magenta (M), and yellow (Y) colors, respectively.

図8に示す構成の画像出力部6において画像形成動作は次のようにして行われる。画像形成される記録紙は、給紙部620から搬送ローラ621により搬送され、用紙搬送ベルト610上に送られる。用紙搬送ベルト610は、駆動ローラ611及び従動ローラ612により回転駆動しており、用紙搬送ベルト610によって担持された記録紙は図中の白抜矢符の方向へ搬送される。このとき、各画像形成ステーション600a〜600dが所定のタイミングにより各色のトナー像を順次的に重ねて転写することによって、記録紙上に多色画像を形成する。多色画像が形成された記録紙は定着ユニット630へ搬送され、熱圧着により多色トナー像が記録紙上に定着される。そして、図に示していない排紙部を通じて記録紙が排出される。   In the image output unit 6 having the configuration shown in FIG. 8, the image forming operation is performed as follows. The recording paper on which an image is formed is conveyed from the paper supply unit 620 by the conveyance roller 621 and is sent onto the paper conveyance belt 610. The paper transport belt 610 is rotationally driven by a driving roller 611 and a driven roller 612, and the recording paper carried by the paper transport belt 610 is transported in the direction of the white arrow in the figure. At this time, each of the image forming stations 600a to 600d sequentially superimposes and transfers the toner images of the respective colors at a predetermined timing, thereby forming a multicolor image on the recording paper. The recording paper on which the multicolor image is formed is conveyed to the fixing unit 630, and the multicolor toner image is fixed on the recording paper by thermocompression bonding. Then, the recording paper is discharged through a paper discharge unit (not shown).

なお、本実施の形態では、画像形成ステーション600a〜600dは用紙搬送方向の上流側から下流側に向けて、ブラック(B)、シアン(C)、マゼンタ(M)、イエロ(Y)の順に並んでいるが、この順番に限るものではなく、色順は任意に設定されるものである。   In this embodiment, the image forming stations 600a to 600d are arranged in the order of black (B), cyan (C), magenta (M), and yellow (Y) from the upstream side to the downstream side in the sheet conveyance direction. However, it is not limited to this order, and the color order is arbitrarily set.

実施の形態4.
本発明は、コンピュータに実行させるためのコンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体に、本画像処理方法を記録するものとすることもできる。この結果、本画像処理を行うコンピュータプログラムを記録した記録媒体を持ち運び自在に提供することができる。
Embodiment 4 FIG.
In the present invention, the image processing method may be recorded on a computer-readable recording medium in which a computer program to be executed by a computer is recorded. As a result, it is possible to provide a portable recording medium on which a computer program for performing the image processing is recorded.

図9は本発明に係るコンピュータプログラムをインストールすることにより構築される画像処理システムの構成を示す模式図である。図中100は、パーソナルコンピュータ、ワークステーション等の情報処理装置であり、情報処理装置100には、フラットヘッドスキャナ、フィルムスキャナ、デジタルカメラ等の画像入力装置110、用紙、OHPフィルム等のシート上に画像を形成する手段を備えたインクジェットプリンタ、レーザプリンタ等の画像形成装置120、CRTディスプレイ、液晶ディスプレイ等の画像表示装置等の周辺機器が接続されている。また、情報処理装置100は、本発明に係るコンピュータプログラムを記録したFD、CD−ROM等の記録媒体101から前記コンピュータプログラムを読み取るためのFDドライブ、CD−ROMドライブのような読取装置を備えている。この読取装置によって読み取られたコンピュータプログラムは情報処理装置100内の所定の記憶領域に格納される。情報処理装置100のCPU(不図示)は、前記記憶領域から本発明のコンピュータプログラムをロードして実行することにより、前述したような画像処理方法を実現する。すなわち、画像入力装置110を通じて入力された画像に対して情報処理装置100が本発明の手法を用いて下地検出及び下地補正を行い、下地補正した画像を画像形成装置120が記録紙上に形成する構成となる。   FIG. 9 is a schematic diagram showing a configuration of an image processing system constructed by installing a computer program according to the present invention. In the figure, reference numeral 100 denotes an information processing apparatus such as a personal computer or a workstation. The information processing apparatus 100 includes an image input device 110 such as a flat head scanner, a film scanner, and a digital camera, a sheet such as paper and an OHP film. Peripheral devices such as an image forming apparatus 120 such as an ink jet printer or a laser printer provided with an image forming means, and an image display apparatus such as a CRT display or a liquid crystal display are connected. In addition, the information processing apparatus 100 includes a reading device such as an FD drive or a CD-ROM drive for reading the computer program from a recording medium 101 such as an FD or CD-ROM that records the computer program according to the present invention. Yes. The computer program read by the reading device is stored in a predetermined storage area in the information processing device 100. A CPU (not shown) of the information processing apparatus 100 implements the image processing method as described above by loading and executing the computer program of the present invention from the storage area. That is, a configuration in which the information processing apparatus 100 performs background detection and background correction on the image input through the image input apparatus 110 using the technique of the present invention, and the image forming apparatus 120 forms an image with the background correction on the recording paper. It becomes.

このような構成とすることにより、本画像処理方法を利用者の好みに応じて用いることが可能となる。例えば、本画像処理方法をこの画像処理システムで実行する場合、各部のパラメータの設定を任意に変更することが容易になり、また、画像表示装置に示される結果に応じて改めて設定し直すなど利用者の好みに応じた処理が可能となる。パラメータの変更を行うには、キーボードやマウスを用いて直接数値を入力したり、パラメータを表すシンボルをドラッグすることにより設定される。   With this configuration, the image processing method can be used according to the user's preference. For example, when the present image processing method is executed by this image processing system, it becomes easy to arbitrarily change the parameter settings of each unit, and it is used again according to the result displayed on the image display device. Processing according to the user's preference. In order to change a parameter, it is set by directly inputting a numerical value using a keyboard or a mouse or dragging a symbol representing a parameter.

なお、本発明に係るコンピュータプログラムを記録する記録媒体101としては、前述したFDやCD−ROMの他に、MO、MD、DVD等の光ディスク、ハードディスクのような磁気記録媒体、ICカード、メモリカード、光カード等のカード型記録媒体、マスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)、フラッシュROM等による半導体メモリの利用も可能である。   As the recording medium 101 for recording the computer program according to the present invention, in addition to the FD and CD-ROM described above, optical recording media such as MO, MD, and DVD, magnetic recording media such as hard disks, IC cards, and memory cards Further, it is also possible to use a semiconductor memory such as a card-type recording medium such as an optical card, a mask ROM, an EPROM (Erasable Programmable Read Only Memory), an EEPROM (Electrically Erasable Programmable Read Only Memory), a flash ROM, or the like.

また、情報処理装置100が通信ネットワークを介してサーバ装置等に接続するための通信手段としてモデム等を備えている場合には、サーバ装置に予め本発明のコンピュータプログラムを格納させておき、当該サーバ装置から前記コンピュータプログラムをダウンロードし、情報処理装置100内にインストールする構成であっても良い。   When the information processing apparatus 100 includes a modem or the like as a communication means for connecting to a server apparatus or the like via a communication network, the server apparatus stores the computer program of the present invention in advance, and the server The computer program may be downloaded from an apparatus and installed in the information processing apparatus 100.

本実施の形態に係る画像処理装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the image processing apparatus which concerns on this Embodiment. 画像処理部の詳細を説明するブロック図である。It is a block diagram explaining the detail of an image process part. 入力階調補正部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of an input gradation correction | amendment part. 第1ガンマ変換部及び第2ガンマ変換部の変換特性を示すグラフである。It is a graph which shows the conversion characteristic of a 1st gamma conversion part and a 2nd gamma conversion part. 下地補正の際に実行する濃度変換の特性を示すグラフである。It is a graph which shows the characteristic of density conversion performed in the case of background correction. 入力階調補正部による下地補正の手順を説明するフローチャートである。It is a flowchart explaining the procedure of the background correction | amendment by an input gradation correction | amendment part. 本実施の形態に係る入力階調補正部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the input gradation correction | amendment part which concerns on this Embodiment. 画像出力部の詳細を説明する模式的構成図である。It is a typical block diagram explaining the detail of an image output part. 本発明に係るコンピュータプログラムをインストールすることにより構築される画像処理システムの構成を示す模式図である。It is a schematic diagram showing a configuration of an image processing system constructed by installing a computer program according to the present invention. 従来の下地補正の手順を示すフローチャートである。It is a flowchart which shows the procedure of the conventional background correction.

符号の説明Explanation of symbols

1 制御部
2 記憶部
3 操作部
4 画像読取部
5 画像処理部
6 画像出力部
53 入力階調補正部
531 第1ガンマ変換部
532 第2ガンマ変換部
533 下地検出部
534 下地補正部
DESCRIPTION OF SYMBOLS 1 Control part 2 Memory | storage part 3 Operation part 4 Image reading part 5 Image processing part 6 Image output part 53 Input tone correction part 531 1st gamma conversion part 532 2nd gamma conversion part 533 Background detection part 534 Background correction part

Claims (6)

入力画像信号に基づいて該入力画像信号が構成する画像に含まれる下地領域を検出し、検出結果に応じた画像処理を行う画像処理方法において、
第1のガンマ値を用いたガンマ補正を施すべく前記入力画像信号が有する濃度値と生成すべき第1補正信号の濃度値との対応関係を規定した第1のテーブル、及び前記第1のガンマ値と異なる第2のガンマ値を用いてガンマ補正を施すべく前記入力画像信号が有する濃度値と生成すべき第2補正信号の濃度値との対応関係を規定した第2のテーブルのうち、予め記憶してある第2のテーブルに対し、予め記憶してあり、第1及び第2テーブルの差分を示す差分データを加算することにより第1のテーブルを生成するステップと、生成された第1のテーブルを用いて前記入力画像信号から第1補正信号を生成するステップと、生成した第1補正信号に基づいて前記画像の下地領域を検出するステップと、予め記憶してある第2のテーブルを用いて前記入力画像信号から第2補正信号を生成するステップと、生成した第2補正信号に対して、下地領域の検出結果に応じた濃度変換処理を行うステップとを有することを特徴とする画像処理方法。
In an image processing method for detecting a ground region included in an image formed by an input image signal based on the input image signal and performing image processing according to the detection result,
A first table defining a correspondence relationship between a density value of the input image signal and a density value of the first correction signal to be generated to perform gamma correction using the first gamma value; and the first gamma Of the second table that prescribes the correspondence between the density value of the input image signal and the density value of the second correction signal to be generated in order to perform gamma correction using a second gamma value different from the value, for the second table stored, Yes previously stored, generating a first table by adding the difference data indicating the difference between the first and second tables, the first has been made live generating a first correction signal from the input image signal by using a table, and detecting a background area of the image based on the generated first correction signal, a second table which is stored in advance It was used An image processing method comprising: generating a second correction signal from the input image signal; and performing density conversion processing on the generated second correction signal in accordance with a detection result of a background area. .
入力画像信号に基づいて該入力画像信号が構成する画像に含まれる下地領域を検出し、検出結果に応じた画像処理を行う画像処理装置において、
第1のガンマ値を用いたガンマ補正を前記入力画像信号に施す第1補正手段と、前記ガンマ値と異なる第2のガンマ値を用いたガンマ補正を前記入力画像信号に施す第2補正手段と、前記入力画像信号が有する濃度値と生成すべき第補正信号の濃度値との対応関係を規定する第2のテーブルを記憶する手段と、予め記憶してあり、前記第2のテーブル及び前記入力画像信号が有する濃度値と生成すべき第補正信号の濃度値との対応関係を規定する第1のテーブルの差分を示す差分データを前記第2のテーブルに加算することにより第1のテーブルを生成する手段とを備え、
前記第1及び第2補正手段は、それぞれ第1及び第2のテーブルを用いてガンマ補正を施すようにしてあり、
前記第1補正手段により補正して得られた第1補正信号に基づいて前記画像の下地領域を検出する検出手段と、前記第2補正手段により補正して得られた第2補正信号に対して、前記検出手段の検出結果に応じた濃度変換処理を施す手段とを有することを特徴とする画像処理装置。
In an image processing apparatus that detects a background region included in an image that is constituted by an input image signal based on the input image signal and performs image processing according to the detection result.
First correction means for performing gamma correction on the input image signal using a first gamma value; and second correction means for performing gamma correction on the input image signal using a second gamma value different from the gamma value; Means for storing a second table for defining a correspondence relationship between the density value of the input image signal and the density value of the second correction signal to be generated; first table by adding the difference data indicating the difference between the first table defining the correspondence between the density value of the first correction signal to be generated and the concentration value input image signal has the second table And means for generating
The first and second correction means perform gamma correction using the first and second tables, respectively .
Detection means for detecting a ground area of the image based on a first correction signal obtained by correction by the first correction means, and a second correction signal obtained by correction by the second correction means An image processing apparatus comprising: a means for performing density conversion processing according to a detection result of the detection means.
前記下地領域に対応する領域内の前記第1補正信号による画像の階調数が前記第2補正信号による画像の階調数よりも多くなるように前記第1及び第2のガンマ値を定めてあることを特徴とする請求項2に記載の画像処理装置。   The first and second gamma values are determined so that the number of gradations of the image by the first correction signal in the region corresponding to the background region is larger than the number of gradations of the image by the second correction signal. The image processing apparatus according to claim 2, wherein the image processing apparatus is provided. 前記濃度変換処理を前記第2補正信号に施して得られた画像を出力する手段を備えることを特徴とする請求項2又は請求項3に記載の画像処理装置。 The image processing apparatus according to claim 2 or claim 3, characterized in that it comprises means for outputting an image obtained by applying the density conversion process on the second correction signal. 原稿の画像を読み取る手段を更に備え、該手段により読み取られた画像に基づいて出力すべき画像を生成するようにしてあることを特徴とする請求項に記載の画像処理装置。 5. The image processing apparatus according to claim 4 , further comprising means for reading an image of a document, and generating an image to be output based on the image read by the means. コンピュータに、入力画像信号に基づいて該入力画像信号が構成する画像に含まれる下地領域を検出させるステップと、コンピュータに、検出結果に応じた画像処理を行わせるステップとを有するコンピュータプログラムにおいて、
コンピュータに、第1のガンマ値を用いたガンマ補正を施すべく前記入力画像信号が有する濃度値と生成すべき第1補正信号の濃度値との対応関係を規定した第1のテーブル、及び前記第1のガンマ値と異なる第2のガンマ値を用いてガンマ補正を施すべく前記入力画像信号が有する濃度値と生成すべき第2補正信号の濃度値との対応関係を規定した第2のテーブルのうち、予め記憶してある第2のテーブルに対し、予め記憶してあり、第1及び第2テーブルの差分を示す差分データを加算することにより第1のテーブルを生成させるステップと、コンピュータに、生成された第1のテーブルを用いて前記入力画像信号から第1補正信号を生成させるステップと、コンピュータに、生成させた第1補正信号に基づいて前記画像の下地領域を検出させるステップと、コンピュータに、予め記憶してある第2のテーブルを用いて前記入力画像信号から第2補正信号を生成させるステップと、コンピュータに、生成させた第2補正信号に対して、下地領域の検出結果に応じた濃度変換処理を行わせるステップとを有することを特徴とするコンピュータプログラム。
In a computer program comprising the steps of causing a computer to detect a background area included in an image constituted by the input image signal based on the input image signal, and causing the computer to perform image processing according to the detection result.
A first table defining a correspondence relationship between a density value of the input image signal and a density value of the first correction signal to be generated to perform gamma correction using a first gamma value on the computer; A second table defining the correspondence between the density value of the input image signal and the density value of the second correction signal to be generated to perform gamma correction using a second gamma value different from the gamma value of 1. among them, with respect to the second table stored in advance, Yes previously stored, comprising the steps of generating a first table by adding the difference data indicating the difference between the first and second tables, the computer, test and step of generating a first correction signal from the input image signal using the first table generated and the computer, the background area of the image based on the first correction signal is generated A step of, in the computer, the step of from the input image signal using a second table which is stored in advance produce a second correction signal, to the computer, the second correction signal is generated, the base And a step of performing density conversion processing according to the detection result of the area.
JP2004170120A 2004-06-08 2004-06-08 Image processing method, image processing apparatus, and computer program Expired - Fee Related JP4559128B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004170120A JP4559128B2 (en) 2004-06-08 2004-06-08 Image processing method, image processing apparatus, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004170120A JP4559128B2 (en) 2004-06-08 2004-06-08 Image processing method, image processing apparatus, and computer program

Publications (2)

Publication Number Publication Date
JP2005354188A JP2005354188A (en) 2005-12-22
JP4559128B2 true JP4559128B2 (en) 2010-10-06

Family

ID=35588301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004170120A Expired - Fee Related JP4559128B2 (en) 2004-06-08 2004-06-08 Image processing method, image processing apparatus, and computer program

Country Status (1)

Country Link
JP (1) JP4559128B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007180710A (en) * 2005-12-27 2007-07-12 Oki Data Corp Data processing method, data processing device and data processing system
JP4293212B2 (en) 2006-09-06 2009-07-08 村田機械株式会社 Image color determination apparatus, image color determination method, and program
JP7239460B2 (en) * 2019-12-24 2023-03-14 パナソニック液晶ディスプレイ株式会社 Image processing device and liquid crystal display device

Also Published As

Publication number Publication date
JP2005354188A (en) 2005-12-22

Similar Documents

Publication Publication Date Title
JP4495197B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium for recording image processing program
JP4495201B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program
US9361557B2 (en) Image processing apparatus and control method for performing screen processing
US7633650B2 (en) Apparatus and method for processing binary image produced by error diffusion according to character or line drawing detection
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
US20070236707A1 (en) Image processing apparatus, image processing method and image processing program
JP2006121674A (en) Image forming apparatus, image processing apparatus and image generating program
JP4465377B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP2003032504A (en) Image forming device
US8928938B2 (en) Image forming apparatus, image forming method and recording medium
JP2006121266A (en) Image processing apparatus, and image processing program
JP4559128B2 (en) Image processing method, image processing apparatus, and computer program
US20110249305A1 (en) Image processing apparatus, image forming method and program
JP2003051946A (en) Image processing method, image processing apparatus, imaging device provided with the image processing apparatus, image processing program, and computer- readable recording medium with the program recorded
JP4861506B2 (en) Image processing apparatus and control method thereof
JP2010021937A (en) Image processing apparatus, image reading unit, image forming apparatus, image processing method, program, and recording medium thereof
JP4984525B2 (en) Image forming apparatus
JP2006121675A (en) Image processing apparatus and image processing program
JP4808282B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program
JP2005072635A (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, and computer-readable recording medium stored with the image processing program
JP4012129B2 (en) Image processing apparatus, image processing method, and image forming apparatus
JP2018133642A (en) Color processing apparatus, image formation device and image formation system
JP4833893B2 (en) Image processing apparatus, image processing method, image reading apparatus, image forming apparatus, copying apparatus, program, and computer-readable recording medium
JP5122507B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP4271644B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium recording image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060912

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080313

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080325

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080819

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081017

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081209

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

R150 Certificate of patent or registration of utility model

Ref document number: 4559128

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees