JP4559128B2 - Image processing method, image processing apparatus, and computer program - Google Patents
Image processing method, image processing apparatus, and computer program Download PDFInfo
- 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
Links
- 238000012545 processing Methods 0.000 title claims description 95
- 238000004590 computer program Methods 0.000 title claims description 17
- 238000003672 processing method Methods 0.000 title claims description 10
- 238000012937 correction Methods 0.000 claims description 150
- 238000006243 chemical reaction Methods 0.000 claims description 117
- 238000001514 detection method Methods 0.000 claims description 57
- 238000000034 method Methods 0.000 claims description 36
- 238000003705 background correction Methods 0.000 description 28
- 230000006870 function Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 12
- 230000010365 information processing Effects 0.000 description 11
- 238000000926 separation method Methods 0.000 description 8
- 238000012546 transfer Methods 0.000 description 6
- 238000004042 decolorization Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000004140 cleaning Methods 0.000 description 3
- 239000003086 colorant Substances 0.000 description 3
- 238000005401 electroluminescence Methods 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000010521 absorption reaction Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
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
図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
次いで、下地を検出したか否かを判断し(ステップS24)、下地を検出した場合(S24:YES)、検出した下地レベル(下地濃度)に応じて下地除去テーブルを選択し(ステップS25)、下地を検出していない場合(S24:NO)、下地除去なしテーブルを選択する(ステップS26)。そして、選択したテーブルにより変換画像データについて濃度変換を行い(ステップS27)、下地の除去を実行する。
前述したフローチャートでは、下地の検出を行う前段(ステップ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のテーブルを記憶する手段と、予め記憶してあり、前記第2のテーブル及び前記入力画像信号が有する濃度値と生成すべき第1補正信号の濃度値との対応関係を規定する第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.
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
画像読取部4は、読取用の原稿に光を照射する光源、CCD(Charge Coupled Device)のようなイメージセンサ等を備えており、所定の読み取り位置にセットされた原稿からの反射光像を当該イメージセンサに結像させて、RGB(R:Red, G:Green, B:Blue)のアナログ電気信号を生成する。生成したアナログ電気信号は画像処理部5へ出力される。
The
画像処理部5は、画像読取部4から出力されるアナログ電気信号をデジタル信号に変換した後、RGBの反射率信号を濃度信号に変換する処理や、読み取った画像に応じた各種の濃度調整処理を実行する。これらの濃度調整処理を施して取得した画像データは画像出力部6へ出力される。
The
画像出力部6は、例えば、画像処理部5が出力する画像データをパーソナルコンピュータ等の情報処理装置へ送信するために、USBインタフェース、SCSIインタフェース等の通信インタフェースを備えており、当該通信インタフェースに接続された情報処理装置へ所定のプロトコルに従って画像データを送信するように構成されている。
The
図2は画像処理部5の詳細を説明するブロック図である。画像処理部5は、AD変換部51、シェーディング補正部52、入力階調補正部53、領域分離処理部54、色補正部55、黒生成下色除去部56、空間フィルタ処理部57、出力階調補正部58、及び階調再現処理部59を備える。
FIG. 2 is a block diagram illustrating details of the
AD変換部51は、画像読取部4を通じて入力されたRGBのアナログ信号をデジタル信号に変換する。シェーディング補正部52は、AD変換部51から出力されたデジタルのRGB信号に対して、画像読取部4の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施す。
The
入力階調補正部53は、RGBの反射率信号を濃度信号に変換(ガンマ変換)すると共に、下地の検出処理を行う。そして、下地検出結果に基づいて下地濃度の補正やコントラストなどの画質調整処理を実行する。入力階調補正部53では、前述した処理に加えてカラーバランスを整える処理を行っても良い。本発明は、特に入力階調補正部53に関わるものであり、その詳細については後に詳述することとする。
The input
領域分離処理部54は、RGB信号に基づいて入力画像中の各画素を文字領域、網点領域、写真(その他)領域の何れかに分離するものである。領域分離処理部54は、分離結果に基づき、画素がどの領域に属しているかを示す領域識別信号を色補正部55、黒生成下色除去部56、空間フィルタ処理部57、出力階調補正部58、及び階調再現処理部59へと出力すると共に、入力階調補正部53より出力されたRGB信号をそのまま後段の色補正部55に出力する。
The region
色補正部55は、色再現の忠実化実現のために不要吸収成分を含むCMY(C:シアン、M:マゼンタ、Y:イエロ)色材の分光特性に基づいた色濁りを取り除く処理を行うものである。
The
黒生成下色除去部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
空間フィルタ処理部57は、黒生成下色除去部56より入力されるCMYK信号の画像データに対し、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒状性劣化を防ぐように処理するものである。例えば、領域分離処理部54により文字として分離された領域は、特に黒文字又は色文字の再現性を高めるために鮮鋭強調処理を行い、高周波数成分を強調する。領域分離処理部54により網点領域として分離された領域に関しては、入力網点成分を除去するためのローパスフィルタ処理を施す。
The spatial
出力階調補正部58では、濃度信号などの信号を出力先の特性に応じた網点面積率に変換する出力階調補正処理を行う。
The output
階調再現処理部59では、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理を行う。例えば、領域分離処理部54にて写真に分離された領域に関しては、階調再現性を重視したスクリーンでの二値化又は多値化処理を行い、領域分離処理部54にて文字に分離された領域に関しては、高周波数の再現性に適した高解像度のスクリーンでの二値化又は多値化処理を行う。
The gradation
このように各処理部にて処理が施された画像データは、一旦図に示していない画像メモリに記憶され、所定のタイミングで読出されて画像出力部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
以下、入力階調補正部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
第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
図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
このようなガンマ変換は、例えば、入力濃度値と出力濃度値とを一意に対応付けしたルックアップテーブルを用いて実現することができ、入力濃度値と第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
なお、第1ガンマ変換部531において用いるガンマ曲線は、図4(a)に示したものに限定されない。
Note that the gamma curve used in the first
同様に、図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
なお、第2ガンマ変換部532において用いることができるガンマ曲線は、図4(b)に示したものに限定されない。
Note that the gamma curve that can be used in the second
また、図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
また、第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
下地検出部533では、第1ガンマ変換部531によってハイライト領域の階調性が取れるように変換したRGB信号を元に下地の検出を行う。下地を検出する手法としては公知の手法を採用することができ、例えば、特開2003−51946号公報に記載された手法を用いて下地の検出を行う。前記公報に記載された手法では、まず、入力画像データを用いてヒストグラムを作成し、このヒストグラムの度数を予め定めた複数の閾値と比較することにより下地判定処理を行う。この下地判定処理では、以下の3つの工程により下地の判定を行う。すなわち、ヒストグラムを予め定めた方向に探索し、濃度区分の度数を第1の閾値と比較して、後の処理を行うか否かを判定する第1の工程と、後の処理を行うと判定したとき、濃度区分の度数を第2の閾値と比較することにより下地の候補があるか否かの判定を行う第2の工程と、下地の候補があると判定したとき、度数が第2の閾値以上となる濃度区分の度数とこの濃度区分に隣接し探索する方向に存在する濃度区分の度数とを加算し、第3の閾値と比較することにより下地の有無を判定する第3の工程とに基づいて下地補正処理を行う。
The
下地補正部534では、第2ガンマ変換部532によって濃度リニアに変換された画像データに対して、下地検出部533の検出結果に応じた下地補正を施す。図5は下地補正の際に実行する濃度変換の特性を示すグラフである。横軸は入力濃度値を示し、縦軸は出力濃度値を示している。図5には5種類の変換曲線が描かれているが、下地検出部533での検出結果に応じて変換曲線を1つ選択し、選択した変換曲線に従って濃度変換処理を行う。例えば、下地検出部533において下地が検出されなかった場合、□のシンボルで表される変換曲線を用いて濃度変換を行う。なお、この場合は、出力濃度値は入力濃度値に等しいため、実質的には濃度変換が行われないこととなる。また、下地検出部533において濃度が比較的高い領域に下地が検出された場合、×のシンボルで表される変換曲線を選択し、検出した下地を良好に除去できるように濃度変換を行う。同様に、検出した下地の濃度が低くなるに従って、○のシンボルで表される変換曲線、●のシンボルで表される変換曲線、△のシンボルで表される変換曲線の順に選択し、下地を除去するための濃度変換処理を行う。
The
なお、このような濃度変換処理は、入力濃度値と出力濃度値とを一意に対応付けしたルックアップテーブルを用いて実現することができる。すなわち、入力濃度値と前述の各変換曲線により規定される出力濃度値との対応関係を表すルックアップテーブルを下地補正部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
図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
次いで、下地検出部533は、第1ガンマ変換部531から出力された第1画像データに基づいて下地を検出する(ステップS13)。下地の検出結果は下地補正部534へ出力される。下地補正部534では、下地検出部533から出力される下地検出結果を基に下地を検出したか否かを判断する(ステップS14)。下地を検出したと判断した場合(S14:YES)、検出した下地レベルに応じて下地除去テーブルを選択する(ステップS15)。すなわち、下地を検出した濃度領域に応じて下地補正部534に格納されたルックアップテーブルを選択する。また、下地を検出していないと判断した場合(S14:NO)、下地除去なしテーブルを選択する(ステップS16)。すなわち、図5に示した変換曲線のうち、□で表される変換曲線に対応したルックアップテーブルを選択する。
Next, the
次いで、第2ガンマ変換部532にて入力画像データを濃度に対してリニアとなるように変換する(ステップS17)。変換した画像データを第2画像データとし、第2画像データを下地補正部534へ出力する。そして、ステップS15又はステップS16において選択したテーブルにより第2画像データの濃度変換を行う(ステップS18)。
Next, the second
なお、本実施の形態では、ステップ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
実施の形態2.
実施の形態1では、第1ガンマ変換部531によるガンマ変換と、第2ガンマ変換部532によるガンマ変換とを並列に処理する構成としたが、これらの処理を順次的に実行しても良いことは勿論である。本実施の形態では、2つのガンマ変換を順次的に実行する形態について説明する。なお、画像処理装置の全体構成、画像処理部5の内部構成については実施の形態1と同様であるため、その説明を省略することとする。
In the first embodiment, the gamma conversion by the first
図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
第1ガンマ変換部531’及び下地検出部533’は、実施の形態1で示したものと同様の処理を行う。すなわち、第1ガンマ変換部531’では、図4(a)に示した第1ガンマ曲線に従ってガンマ補正を行い、下地検出部533’では第1ガンマ変換部531’にてガンマ補正された画像に基づいて下地の検出を行う。下地の検出に用いた画像データは第2ガンマ変換部531’へ出力される。
The first
第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と同様であるため、その説明を省略することとする。
In the first embodiment, the image processing apparatus according to the present invention is applied to the scanner apparatus, and the
図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
以下、ブラック(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
帯電器602aは、感光体ドラム601aに接触するローラ型やブラシ型の帯電器の他に、非接触方式のチャージャ型の帯電器が採用され、感光体ドラム601aの表面を所定の電位に均一に帯電させる。書き込み光学系603aは、EL(Electro Luminescence)、LED(Light Emitting Diode)等の発行素子をアレイ状に並べた書き込みヘッド又はレーザ照射部、及び反射ミラー等を備えたレーザスキャニングユニットであり、画像処理部5が出力する画像データに応じて露光することにより、感光体ドラム601a上に画像データに応じた静電潜像を形成する。現像器604aは、感光体ドラム601a上に形成された静電潜像にブラックのトナーを供給して顕像化する。転写ローラ606aは、顕像化することにより生成された感光体ドラム601a上のトナー像を、用紙搬送ベルト610によって搬送される記録紙上に転写する。クリーニングユニット605aは、トナー像の転写後に残留する感光体ドラム601a上のトナーの除去および回収を行う。
The
このような構成により、画像形成ステーション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
図8に示す構成の画像出力部6において画像形成動作は次のようにして行われる。画像形成される記録紙は、給紙部620から搬送ローラ621により搬送され、用紙搬送ベルト610上に送られる。用紙搬送ベルト610は、駆動ローラ611及び従動ローラ612により回転駆動しており、用紙搬送ベルト610によって担持された記録紙は図中の白抜矢符の方向へ搬送される。このとき、各画像形成ステーション600a〜600dが所定のタイミングにより各色のトナー像を順次的に重ねて転写することによって、記録紙上に多色画像を形成する。多色画像が形成された記録紙は定着ユニット630へ搬送され、熱圧着により多色トナー像が記録紙上に定着される。そして、図に示していない排紙部を通じて記録紙が排出される。
In the
なお、本実施の形態では、画像形成ステーション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.
本発明は、コンピュータに実行させるためのコンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体に、本画像処理方法を記録するものとすることもできる。この結果、本画像処理を行うコンピュータプログラムを記録した記録媒体を持ち運び自在に提供することができる。
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,
このような構成とすることにより、本画像処理方法を利用者の好みに応じて用いることが可能となる。例えば、本画像処理方法をこの画像処理システムで実行する場合、各部のパラメータの設定を任意に変更することが容易になり、また、画像表示装置に示される結果に応じて改めて設定し直すなど利用者の好みに応じた処理が可能となる。パラメータの変更を行うには、キーボードやマウスを用いて直接数値を入力したり、パラメータを表すシンボルをドラッグすることにより設定される。 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
また、情報処理装置100が通信ネットワークを介してサーバ装置等に接続するための通信手段としてモデム等を備えている場合には、サーバ装置に予め本発明のコンピュータプログラムを格納させておき、当該サーバ装置から前記コンピュータプログラムをダウンロードし、情報処理装置100内にインストールする構成であっても良い。
When the
1 制御部
2 記憶部
3 操作部
4 画像読取部
5 画像処理部
6 画像出力部
53 入力階調補正部
531 第1ガンマ変換部
532 第2ガンマ変換部
533 下地検出部
534 下地補正部
DESCRIPTION OF
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のテーブルを記憶する手段と、予め記憶してあり、前記第2のテーブル及び前記入力画像信号が有する濃度値と生成すべき第1補正信号の濃度値との対応関係を規定する第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のガンマ値を用いたガンマ補正を施すべく前記入力画像信号が有する濃度値と生成すべき第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.
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)
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 |
-
2004
- 2004-06-08 JP JP2004170120A patent/JP4559128B2/en not_active Expired - Fee Related
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 |