JP2007129278A - Image reading apparatus - Google Patents
Image reading apparatus Download PDFInfo
- Publication number
- JP2007129278A JP2007129278A JP2005317819A JP2005317819A JP2007129278A JP 2007129278 A JP2007129278 A JP 2007129278A JP 2005317819 A JP2005317819 A JP 2005317819A JP 2005317819 A JP2005317819 A JP 2005317819A JP 2007129278 A JP2007129278 A JP 2007129278A
- Authority
- JP
- Japan
- Prior art keywords
- data
- correction data
- correction
- unit
- document
- 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.)
- Withdrawn
Links
Images
Landscapes
- Image Input (AREA)
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
この発明は、画像読取装置に関し、特に原稿を搬送しながら読取る画像読取装置に関する。 The present invention relates to an image reading apparatus, and more particularly to an image reading apparatus that reads an original while conveying it.
近年、スキャナ、ファクシミリ、複写機などでは、主走査方向に複数の光電変換素子を配列したラインセンサを固定して設置し、主走査方向と直交する副走査方向に原稿を搬送することによりラインセンサで原稿を読取る読取方式(以下「原稿搬送方式」という)を採用したものがある。光源となるランプには陰極線管が用いられ、このランプは、その個体差および使用期間により主走査方向の光量分布が変化する。このため、原稿を読み取る前の段階で、反射率が既知のシェーディング板を読み取ることにより、主走査方向の光量分布を記憶しておき、原稿を読み取って得られるデータを記憶した光量分布に従って補正する、いわゆるシェーディング補正が行われる。 In recent years, in scanners, facsimiles, copiers, etc., a line sensor in which a plurality of photoelectric conversion elements are arranged in a main scanning direction is fixed and installed, and a line sensor is conveyed by conveying a document in a sub scanning direction orthogonal to the main scanning direction. In some cases, a reading method for reading a document (hereinafter referred to as “document transport method”) is employed. A cathode ray tube is used as a lamp serving as a light source, and the light amount distribution in the main scanning direction varies depending on the individual difference and the period of use. For this reason, by reading a shading plate with a known reflectivity before reading the document, the light amount distribution in the main scanning direction is stored, and the data obtained by reading the document is corrected according to the stored light amount distribution. So-called shading correction is performed.
一方、ランプが発光する光の強度は、時間の経過とともに変化する。原稿搬送方式においては、複数の原稿を連続して搬送している間は、ラインセンサでシェーディング板を読み取ることができない。このため、原稿搬送方式においては、複数の原稿を連続して搬送している間は、ランプの発光強度の変化に対応することができないといった問題があった。 On the other hand, the intensity of light emitted from the lamp changes with time. In the document transport method, the shading plate cannot be read by the line sensor while a plurality of documents are being transported continuously. For this reason, the document transport method has a problem that it cannot cope with a change in the light emission intensity of the lamp while a plurality of documents are continuously transported.
この問題を解決するために、特開2002−271591号公報には、原稿の読み取り箇所を照射する光源と、シェーディング補正用の基準板と、前記光源が点灯を開始してからの経過時間を測定する計時手段と、原稿の読み取りを行っていない時間帯に前記光源を点灯させ前記基準板を読み取って点灯開始からの経過時間に対応するシェーディング補正用データを作成するシェーディング補正用データ作成手段と、このシェーディング補正用データ作成手段によって作成したシェーディング補正用データを記憶するシェーディング補正用データ記憶手段と、原稿の読み取りが行われるとき前記光源の点灯開始からの経過時間に対応するシェーディング補正用データをシェーディング補正用データ記憶手段から逐次読み出して原稿の画像情報を補正するシェーディング補正手段とを具備することを特徴とする画像読取装置が記載されている。 In order to solve this problem, Japanese Patent Laid-Open No. 2002-271591 discloses a light source that irradiates a reading position of a document, a reference plate for shading correction, and an elapsed time after the light source starts to turn on. Clocking means for performing, shading correction data creating means for creating the shading correction data corresponding to the elapsed time from the start of lighting by turning on the light source and reading the reference plate during a time period when the document is not read, Shading correction data storage means for storing shading correction data created by the shading correction data creation means, and shading correction data corresponding to the elapsed time from the start of lighting of the light source when the document is read. Image information of the original read out sequentially from the correction data storage means Image reading apparatus is described characterized by comprising a correction to shading correction means.
しかしながら、特開2002−271591号公報に記載の画像読取装置は、光源を点灯させ基準板を読み取って点灯開始からの経過時間に対応するシェーディング補正用データを作成する間の光源の状態と、原稿を読み取る間の光源の状態とが一致することを前提としている。このため、原稿を読取っている間の光源の発光強度の変化が、シェーディング補正用データを作成している間に計測した光源の発光強度の変化と異なる場合には、正確にシェーディング補正できないといった問題がある。
この発明は上述した問題点を解決するためになされたもので、この発明の目的の一つは、原稿で反射した光を受光して得られるデータから原稿に照射される光の強度の変化による影響を正確に除去することが可能な画像読取装置を提供することである。 The present invention has been made to solve the above-described problems, and one of the objects of the present invention is based on a change in the intensity of light applied to a document from data obtained by receiving light reflected by the document. An object of the present invention is to provide an image reading apparatus capable of accurately removing the influence.
上述した目的を達成するためにこの発明のある局面によれば、画像読取装置は、読取対象に光を照射する照射手段と、読取対象で反射した光を受光し、データを出力する光電変換手段と、光電変換手段が反射率の予め定められた基準板で反射した光を受光して出力するデータに基づいて、補正用データを決定する補正用データ決定手段と、光電変換手段が原稿で反射した光を受光して出力するデータを、補正用データを用いて補正する補正手段と、光電変換手段が原稿で反射した光を受光して出力するデータに基づいて、補正手段で用いる補正用データを変更する変更手段とを備える。 In order to achieve the above-described object, according to an aspect of the present invention, an image reading apparatus includes an irradiation unit that irradiates light to a reading target, and a photoelectric conversion unit that receives light reflected by the reading target and outputs data. And correction data determining means for determining correction data based on data output by receiving light reflected by a reference plate having a predetermined reflectance, and the photoelectric conversion means is reflected by the manuscript. Correction data used by the correction means based on the data output by receiving and outputting the light reflected by the original by the photoelectric conversion means And changing means for changing.
この発明に従えば、光電変換手段が基準板で反射した光を受光して出力するデータに基づいて決定された補正用データが、光電変換手段が原稿で反射した光を受光して出力するデータに基づいて変更される。このため、照射手段の照射する光の強度が時間の経過に伴って変化しても、照射手段の照射する光の強度に応じた補正用データを用いて、読取手段が原稿で反射した光を受光して出力するデータが補正される。その結果、原稿で反射した光を受光して得られるデータから原稿に照射される光の強度の変化による影響を正確に除去することが可能な画像読取装置を提供することができる。 According to the present invention, the correction data determined based on the data that the photoelectric conversion means receives and outputs the light reflected by the reference plate is the data that the photoelectric conversion means receives and outputs the light reflected by the document. Will be changed based on. For this reason, even if the intensity of the light emitted by the irradiating means changes with time, the reading means reflects the light reflected by the document using correction data corresponding to the intensity of the light emitted by the irradiating means. The data received and output is corrected. As a result, it is possible to provide an image reading apparatus capable of accurately removing the influence of a change in the intensity of light applied to a document from data obtained by receiving light reflected from the document.
好ましくは、照射手段が光を照射してからの経過時間を計時する計時手段をさらに備え、変更手段は、計時手段により計時された経過時間に基づいて、変更可能な補正用データの範囲を制限する制限手段を含む。 Preferably, the electronic device further includes a time measuring unit that measures an elapsed time after the irradiation unit has irradiated the light, and the changing unit limits the range of correction data that can be changed based on the elapsed time measured by the time measuring unit. Limiting means.
この発明に従えば、照射手段が光を照射してからの経過時間に基づいて、変更可能な補正用データの範囲が制限される。このため、光電変換手段が原稿で反射した光を受光して出力するデータに基づいて変更される補正用データが、誤った値に変更されるのを防止することができる。 According to the present invention, the range of correction data that can be changed is limited based on the elapsed time since the irradiation means has irradiated light. For this reason, it is possible to prevent the correction data that is changed based on the data that the photoelectric conversion means receives and outputs the light reflected from the document from being changed to an incorrect value.
好ましくは、原稿を予め定められた読取位置に搬送する原稿搬送手段と、照射手段に対向する位置に固定して設けられた反射板とをさらに備え、変更手段は、原稿が読取位置を通過する前に光電変換手段が反射板で反射した光を受光して出力するデータに基づいて、変更可能な補正用データの範囲を制限する制限手段とを含む。 Preferably, the image forming apparatus further includes a document conveying unit that conveys the document to a predetermined reading position and a reflecting plate that is fixedly provided at a position facing the irradiation unit, and the changing unit passes the document through the reading position. Limiting means for limiting the range of correction data that can be changed based on data that is received and output by the photoelectric conversion means previously received by the reflector.
この発明に従えば、原稿が読取位置を通過する前に光電変換手段が反射板で反射した光を受光して出力するデータに基づいて、変更可能な補正用データの範囲が制限される。このため、光電変換手段が原稿で反射した光を受光して出力するデータに基づいて変更される補正用データが、誤った値に変更されるのを防止することができる。 According to this invention, the range of correction data that can be changed is limited based on the data that the photoelectric conversion means receives and outputs the light reflected by the reflecting plate before the document passes the reading position. For this reason, it is possible to prevent the correction data that is changed based on the data that the photoelectric conversion means receives and outputs the light reflected from the document from being changed to an incorrect value.
好ましくは、補正用データ決定手段は、光電変換手段が基準板で反射した光を受光して出力するデータと、予め定められた目標値とから基準補正用データを生成する基準補正用データ生成手段と、基準補正用データと予め定められた係数とから少なくとも1つの変動補正用データを生成する第2補正用データ生成手段とを含む。 Preferably, the correction data determining means generates reference correction data from data output by receiving light reflected from the reference plate by the photoelectric conversion means and a predetermined target value. And second correction data generation means for generating at least one variation correction data from the reference correction data and a predetermined coefficient.
この発明に従えば、光電変換手段が基準板で反射した光を受光して出力するデータと、予め定められた目標値とから基準補正用データが生成され、基準補正用データと予め定められた係数とから少なくとも1つの変動補正用データが生成される。このため、補正用データを容易に生成することができる。 According to the present invention, the reference correction data is generated from the data that the photoelectric conversion means receives and outputs the light reflected by the reference plate and the predetermined target value, and the reference correction data is determined in advance. At least one variation correction data is generated from the coefficients. For this reason, the correction data can be easily generated.
好ましくは、変更手段は、光電変換手段が出力する第1のデータと、光電変換手段が出力する第2のデータとを比較する原稿データ比較手段を含み、原稿データ比較手段による比較結果に基づいて、補正手段で用いる補正用データを変更する。 Preferably, the changing means includes document data comparison means for comparing the first data output from the photoelectric conversion means and the second data output from the photoelectric conversion means, and based on the comparison result by the document data comparison means. The correction data used by the correction means is changed.
好ましくは、光電変換手段は、分光感度が互いに異なるフィルタを有する複数のラインセンサを含み、補正用データ決定手段は、複数のラインセンサそれぞれが基準板で反射した光を受光して出力するデータに基づいて、複数のラインセンサそれぞれに対応した補正用データを決定し、補正手段は、複数のラインセンサそれぞれが原稿で反射した光を受光して出力するデータを、複数のラインセンサそれぞれに対応する補正用データを用いて補正し、変更手段は、複数のラインセンサそれぞれが原稿で反射した光を受光して出力するデータに基づいて、補正手段で補正に用いる補正用データを変更する。 Preferably, the photoelectric conversion means includes a plurality of line sensors having filters having different spectral sensitivities, and the correction data determination means receives data reflected by the reference plate and outputs the data reflected by the line sensors. Based on this, the correction data corresponding to each of the plurality of line sensors is determined, and the correction means receives the data reflected by the document from each of the plurality of line sensors and outputs the data corresponding to each of the plurality of line sensors. Correction is performed using the correction data, and the change unit changes the correction data used for correction by the correction unit based on data output by receiving the light reflected from the document by each of the plurality of line sensors.
この発明の他の局面によれば、画像読取装置は、読取対象に光を照射する照射手段と、読取対象で反射した光を受光し、データを出力する光電変換手段と、複数の補正用データを予め記憶する記憶手段と、光電変換手段が反射率の予め定められた基準板で反射した光を受光して出力するデータに基づいて、複数の補正用データのうちから基準補正用データおよび少なくとも1つの変動補正用データを選択する選択手段と、光電変換手段が原稿で反射した光を受光して出力するデータに基づいて、選択手段により選択された基準補正用データおよび少なくとも1つの変動補正用データのうちからいずれか1つを選択して実行補正データに設定する設定手段と、光電変換手段が原稿で反射した光を受光して出力するデータを、設定された実行補正用データを用いて補正する補正手段とを備える。 According to another aspect of the present invention, an image reading apparatus includes an irradiation unit that irradiates light to a reading target, a photoelectric conversion unit that receives light reflected by the reading target and outputs data, and a plurality of correction data. Storage means for storing in advance, data for receiving and outputting light reflected by a reference plate having a predetermined reflectance by the photoelectric conversion means, and reference correction data and at least one of a plurality of correction data Selection means for selecting one fluctuation correction data, and reference correction data selected by the selection means and at least one fluctuation correction data based on data output by receiving light reflected from the original by the photoelectric conversion means Setting means for selecting any one of the data and setting it as execution correction data, and data for receiving and outputting the light reflected from the original by the photoelectric conversion means, And correction means for correcting using data.
この発明に従えば、光電変換手段が基準板で反射した光を受光して出力するデータに基づいて、複数の補正用データのうちから基準補正用データおよび少なくとも1つの変動補正用データが選択され、光電変換手段が原稿で反射した光を受光して出力するデータに基づいて、選択された基準補正用データおよび少なくとも1つの変動補正用データのうちからいずれか1つが選択されて実行補正データに設定される。このため、照射手段の照射する光の強度が時間の経過に伴って変化しても、照射手段の照射する光の強度に応じた実行補正用データが、複数の補正用データのうちから選択され、その実行補正用データを用いて、光電変換手段が原稿で反射した光を受光して出力するデータが補正される。その結果、原稿で反射した光を受光して得られるデータから原稿に照射される光の強度の変化による影響を除去することが可能な画像読取装置を提供することができる。 According to the present invention, the reference correction data and at least one variation correction data are selected from the plurality of correction data based on the data that the photoelectric conversion means receives and outputs the light reflected by the reference plate. The photoelectric conversion means receives one of the light reflected from the original and outputs it, and one of the selected reference correction data and at least one variation correction data is selected as execution correction data. Is set. For this reason, even if the intensity of the light irradiated by the irradiation unit changes with time, execution correction data corresponding to the intensity of the light irradiated by the irradiation unit is selected from the plurality of correction data. The execution correction data is used to correct the data that the photoelectric conversion means receives and outputs the light reflected from the document. As a result, it is possible to provide an image reading apparatus capable of removing the influence due to the change in the intensity of the light applied to the original from the data obtained by receiving the light reflected by the original.
以下、本発明の実施の形態について図面を参照して説明する。以下の説明では同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがってそれらについての詳細な説明は繰返さない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
<第1の実施の形態>
図1は、本発明の第1の実施の形態における画像読取装置を備えたMFP(Multi Function Peripheral)の斜視図である。図1を参照して、MFP100は、原稿を読取るための画像読取装置110と、画像読取装置110の下部に設けられた画像形成装置121とを含む。画像読取装置110は、本体部120にその一部が収納されており、自動原稿搬送装置(ADF)111を備える。画像形成装置121は、本体部120の画像読取装置110の下方に収納され、画像読取装置110が原稿を読取って出力する画像データに基づいて、紙などの記録媒体に画像を形成する。MFP100は、ファクシミリ、ローカルエリアネットワーク(LAN)、公衆交換電話網(PSTN)などのネットワークと接続するための通信インタフェースを備える。
<First Embodiment>
FIG. 1 is a perspective view of an MFP (Multi Function Peripheral) including an image reading apparatus according to the first embodiment of the present invention. Referring to FIG. 1, MFP 100 includes an
図2は、画像読取装置110の内部構成の概略を示す図である。ADF111は、原稿150を原稿読取位置Lに搬送するためのタイミングローラ対151と、原稿読取位置L付近において原稿の搬送をガイドするための上部規制板153と、原稿読取位置Lを通過した原稿150を排出するために原稿150を搬送するためのローラ対152とを備える。
FIG. 2 is a diagram showing an outline of the internal configuration of the
ADF111は、複数ある原稿150を1枚ずつ順に原稿読取位置Lに搬送する。ADF111は、積載された複数の原稿150の最上段から1枚の原稿をさばき、タイミングローラ対151に供給する。上部規制板153は、原稿の通路側の原稿読取位置L付近に背景板154を有する。背景板154は、原稿を透過した光を反射するため、反射率が高く、かつ、反射率が均一であることが望ましい。反射する光にムラがあると、ノイズとなるからである。
The
画像読取装置110の本体部120に収納される部分は、透明な部材から構成された原稿台155と、原稿の搬送経路の一部を形成する通紙ガイド157と、原稿台155と通紙ガイド157との間に設置されたシェーディング板156と、光を照射するための光源159と、光源159からの光を反射させる反射部材160と、反射ミラー161,162と、スライダ158と、レンズ163と、3つのラインセンサが主走査方向に配列された読取部219とを含む。
A portion housed in the
原稿150は、タイミングローラ対151により、原稿台155と上部規制板153との間を矢印D1の方向に搬送される。そして、搬送されながら読取位置Lにおいて、読取部219によりその画像が逐次読取られる。ADF111が原稿を搬送する方向は、読取位置Lにおいて副走査方向である。
The
スライダ158は、光源159、反射部材160および反射ミラー161を保持する。スライダ158は、図中D2方向に往復して移動することが可能であり、原稿を読取る間は原稿読取位置Lの下方位置で停止し、原稿を読取る前の段階でシェーディング板156の下方位置で停止する。スライダ158の移動に伴って、反射ミラー162が移動することにより、反射光の光路長が実質的に一定に保たれる。
The
スライダ158がシェーディング板156の下方に位置するとき、光源159が照射する光は、シェーディング板156に照射される。光源159が照射した光の一部がシェーディング板156で反射して、さらに、反射ミラー161,162で反射してレンズ163に導かれる。レンズ163は、それに入射する光を集光して読取部219の各ラインセンサ上に結像する。
When the
スライダ158が原稿読取位置Lの下方に位置するとき、光源159が照射する光は、原稿読取位置Lに照射される。原稿読取位置Lに原稿150が存在すれば、光源159が照射した光の一部が原稿で反射して、さらに、反射ミラー161,162で反射してレンズ163に導かれる。レンズ163は、それに入射する光を集光して読取部219の各ラインセンサ上に結像する。また、原稿読取位置L1に原稿150が存在しなければ、光源159が照射した光の一部が背景板154で反射して、さらに、反射ミラー161,162で反射してレンズ163に導かれる。レンズ163は、それに入射する光を集光して読取部219の各ラインセンサ上に結像する。
When the
画像読取装置110は、ADF111が複数の原稿を順に搬送する場合に、ADF111が原稿の搬送を開始する前の段階で、スライダ158をシェーディング板156の下方に移動させて停止させ、後述するシェーディング補正用データを生成する。シェーディング補正用データを生成した後、画像読取装置110は、スライダ158を原稿読取位置Lの下方に移動させて停止させ、ADF111に複数枚の原稿を順に搬送させる。
When the
読取部219は、3つのラインセンサを備える。3つのラインセンサそれぞれは、副走査方向と実質的に垂直な主走査方向に複数の光電変換素子が配列されている。3つのラインセンサそれぞれは、互いに分光感度が異なるフィルタを有し、複数の光電変換素子はフィルタを透過した光を受光する。具体的には、赤(R)、緑(G)および青(B)の各波長の光を透過するフィルタを有する。このため、赤(R)のフィルタを有するラインセンサは、赤色の光の強度を示すRデータを出力し、緑(G)のフィルタを有するラインセンサは、緑色の光の強度を示すGデータを出力し、青(B)のフィルタを有するラインセンサは、青色の光の強度を示すBデータを出力する。
The
図3は、MFPの回路構成の一例を示すブロック図である。図3を参照して、MFP100は、それぞれがバス229に接続された、MFP100の全体を制御するためのCPU(Central Processing Unit)210と、不揮発性メモリ(ROM)211と、ランダムアクセスメモリ(RAM)212と、補正用データ決定部213と、画像処理部215と、光源制御部217と、読取部219と、画像形成部221と、スライダ158の移動を制御するスライダ制御部223と、ADF111を制御するための原稿搬送制御部225と、ユーザによる操作の入力を受付けるための操作部227とを含む。
FIG. 3 is a block diagram illustrating an example of a circuit configuration of the MFP. Referring to FIG. 3,
光源制御部217は、光源159と接続され、光源159の点灯と消灯とを切替える。スライダ制御部223は、スライダ158を移動させるためのモータ224と接続され、モータ224の駆動を制御する。スライダ制御部223は、モータ224を制御することにより、スライダ158を位置決めする。すなわち、スライダ制御部223は、スライダ158を、シェーディング板156の下方の位置、または原稿読取位置Lの下方の位置に移動させる。
The light
読取部219が出力するデータ(Rデータ、GデータおよびBデータ)は、画像処理部215に出力される。画像処理部215は、読取部219が出力する画像データを処理する。画像処理部215については後述するが、画像処理部215は、画像データをシェーディング補正するシェーディング補正部を含む。
Data (R data, G data, and B data) output by the
ROM211は、Rデータ、GデータおよびBデータそれぞれに対応した複数の補正用データを記憶する。複数の補正用データは、複数の基準補正用データと、複数の基準補正用データそれぞれに対応した複数の変動補正用データを含む。
The
ここで、補正用データについて説明する。基準補正用データは、読取部219がシェーディング板156で反射した光を受光して出力するデータ(以下「シェーディング板データ」という)に基づいて定まる値である。また、読取部219が原稿150で反射した光を受光して出力するデータを、以下「原稿データ」という。シェーディング板156の反射率は、予め判っており、不変であるので、光源159の照射する光の強度とシェーディング板データとは比例する。このため、シェーディング板データから、シェーディング板データを基準値に補正するための係数が定まる。基準補正用データは、この求められた係数に対応する複数の値を含む。明度が0〜255の範囲を取り得る値とすると、たとえば、シェーディング板データが230であった場合、基準値を255とすれば係数は255/230となる。この係数にしたがって、0〜255それぞれの値に対応した値を有する1つの基準補正用データが定まる。したがって、1つの基準補正用データは、256個の値を有する。基準補正用データは、シェーディング板データが取り得る範囲0〜255の値のそれぞれに対応して予め定められて、ROM211に記憶されている。すなわち、ROM211は、Rデータ、BデータおよびBデータごとに、256個の基準補正用データを記憶する。
Here, the correction data will be described. The reference correction data is a value determined based on data (hereinafter referred to as “shading plate data”) that is received by the
変動補正用データは、1つの基準補正用データに対応する1以上のデータである。ここでは、1つの基準補正用データに、プラス側に10レベル、マイナス側に2レベルの合計12レベルの変動補正用データを対応させている。プラスレベルの変動補正用データは、光源159の照射する光の強度が、シェーディング板データが取得された時点よりも弱くなった場合に用いられる。マイナスレベルの変動補正用データは、光源159の照射する光の強度が、シェーディング板データが取得された時点よりも強くなった場合に用いられる。ここでは、シェーディング板データが取得された時点に、そのシェーディング板データにより定まる補正用データのレベルを「0」とし、光源159の照射する光の強度が、シェーディング板データが取得された時点の強度に比較して、2階調低くなった場合の補正用データのレベルをプラス1レベル、4階調低くなった場合のレベルをプラス2レベル、・・・、20階調低くなった場合のレベルをプラス10レベルとし、2階調高くなった場合のレベルをマイナス1レベル、4階調高くなった場合のレベルをマイナス2レベルとしている。したがって、レベル0の補正用データは、基準補正用データであり、レベル0以外のレベルの補正用データは変動補正用データである。以下、レベルN(Nは、−2≦N≦10の整数)の補正用データを、補正用データ(N)と示す。
The fluctuation correction data is one or more data corresponding to one reference correction data. Here, a total of 12 levels of fluctuation correction data of 10 levels on the plus side and 2 levels on the minus side are associated with one reference correction data. The plus level fluctuation correction data is used when the intensity of light emitted from the
レベル0以外の補正用データ(N)(変動補正用データ)は、補正用データ(0)(基準補正用データ)に対応し、補正用データ(0)を定めるために用いたシェーディング板データから定まる。変動補正用データは、基準補正用データと同様に、0〜255全ての値それぞれに対応した256の値を有する。たとえば、補正用データ(0)を定めるために用いたシェーディング板データが230であった場合、原稿データの値230に対応する補正用データ(0)の値と、シェーディング板データが取得された時点の強度に比較して4階調低くなった場合の原稿データの値234に対応する補正用データ(−2)の値は同じ255となる。ROM211は、Rデータ、GデータおよびBデータごとに、256個の基準補正用データそれぞれに対応して12レベルの変動補正用データを記憶する。
The correction data (N) other than level 0 (variation correction data) corresponds to the correction data (0) (reference correction data), and is based on the shading plate data used to determine the correction data (0). Determined. Like the reference correction data, the fluctuation correction data has 256 values corresponding to all the values 0 to 255. For example, when the shading board data used to determine the correction data (0) is 230, the correction data (0) value corresponding to the original data value 230 and the time when the shading board data is acquired. The value of the correction data (−2) corresponding to the
なお、ここでは変動補正用データのレベル数を、プラス側に10レベル、マイナス側に2レベルの合計12レベルにし、レベル間隔を2階調としたが、レベル数およびレベル間隔はこれらに限定されるものではなく、光源159の特性に応じて定めればよい。
Here, the number of levels of the fluctuation correction data is set to 12 levels, 10 levels on the plus side and 2 levels on the minus side, and the level interval is 2 gradations. However, the number of levels and the level interval are limited to these. What is necessary is just to determine according to the characteristic of the
補正用データ決定部213は、画像処理部215がシェーディング補正するために用いる補正用データを決定し、決定した補正用データを画像処理部215に出力する。具体的には、補正用データ決定部213は、シェーディング板データに基づいて、ROM211に記憶されている複数の基準補正用データのうちから1つの基準補正用データを選択する。この基準補正用データを、画像処理部215がシェーディング補正するために用いる補正用データとして、画像処理部215に出力する。また、補正用データ決定部213は、読取部219が原稿150で反射した光を受光して出力するデータ(原稿データ)に基づいて、先に選択した基準補正用データとその基準補正用データに対応する複数の変動補正用データのうちから1つを選択して、シェーディング補正に用いる実行補正用データを設定する。この設定した実行補正用データを、画像処理部215がシェーディング補正するために用いる補正用データとして、画像処理部215に出力する。
The correction
画像形成部221は、画像形成装置121を制御して、画像処理部215で処理された画像データに基づいて、画像形成装置121に紙などの記録媒体に画像を形成させて、画像データを可視化させる。
The
原稿搬送制御部225は、ADF111に接続され、原稿150の搬送を制御する。原稿搬送制御部225は、ADF111の原稿を搬送する経路中で原稿150が存在する位置を検出し、原稿の位置をCPU210に出力する。このため、CPU210では、原稿150が原稿読取位置Lに存在するか否か判断することができる。
The document
操作部227は、MFP100の本体部120の上面に設けられ、キーボードなどの入力部および、液晶表示装置などの表示部を含む。入力部は、ユーザの操作の入力を受付け、表示部は所定の情報を表示して、ユーザに情報を提供する。表示部は、ユーザによる操作の入力を支援する。
図4は、画像処理部の機能の概要を示す機能ブロック図である。図4を参照して、画像処理部215は、読取部219および補正用データ決定部213と接続される。画像処理部215は、読取部219から1ライン分のアナログのデータ(Rデータ、GデータおよびBデータ)が入力され、補正用データ決定部213から補正用データが入力される。画像処理部215は、読取部219が出力する1ライン分のデータを順に処理するために直列に接続された、アナログデジタル変換部(A/D変換部)251と、シェーディング補正部252と、ライン間補正部253と、色収差補正部254と、ノイズ検出処理部255と、プリンタインタフェース256とを含む。
FIG. 4 is a functional block diagram illustrating an outline of functions of the image processing unit. Referring to FIG. 4,
A/D変換部251は、読取部219から1ライン分のアナログのデータ(Rデータ、GデータおよびBデータ)が入力され、入力されたアナログデータをデジタルデータに変換する。A/D変換部251は、デジタルのデータ(Rデータ、GデータおよびBデータ)をシェーディング補正部252および補正用データ決定部213に出力する。補正用データ決定部213は、入力されたデジタルのデータ(Rデータ、GデータおよびBデータ)に従って、画像処理部215がシェーディング補正するために用いる補正用データを決定し、決定した補正用データをシェーディング補正部252に出力する。
The A /
シェーディング補正部252は、A/D変換部251より入力されるデジタルのデータに、補正用データ決定部213から入力される補正用データに従ってシェーディング補正処理を実行する。シェーディング補正処理は、A/D変換部251より入力されるデータから光源159の照明ムラ等を除去する処理である。シェーディング補正部252は、シェーディング補正したデータをライン間補正部253に出力する。ライン間補正部253は、Rデータ、GデータおよびBデータそれぞれが原稿の同一ラインとなるようにRデータ、GデータおよびBデータを同期させる処理を実行する。色収差補正部254は、レンズ163による主走査方向の歪を補正する処理を実行する。ノイズ検出処理部255は、Rデータ、Gデータ、Bデータのそれぞれからノイズを検出して、検出したノイズを除去する処理を実行する。プリンタインタフェース256は、ノイズ検出処理部255から入力されるデータ(Rデータ、Gデータ、Bデータ)を画像形成装置121に出力する。
The
図5は、補正用データ決定部の機能の概要を示す機能ブロック図である。図5を参照して、補正用データ決定部213は、補正用データ選択部231と、セレクタ232と、階調特性比較部233と、階調特性検出部234とを含む。補正用データ決定部213には、シェーディング板データと、原稿データとが入力される。シェーディング板データと、原稿データとは、それぞれRデータ、GデータおよびBデータの3種類があるが、いずれの場合も同じ処理なので、ここでは説明を簡単にするため1つのデータについて説明することとし、単にシェーディング板データまたは原稿データというときは、Rデータ、GデータおよびBデータのいずれか1つを示す。
FIG. 5 is a functional block diagram showing an outline of the function of the correction data determination unit. Referring to FIG. 5, correction
補正用データ選択部231は、A/D変換部251が出力するデータのうち、シェーディング板データが入力される。補正用データ選択部231は、シェーディング板データに基づいて、ROM211に記憶されている複数の補正用データのうちから1つの基準補正用データと、その基準補正用データに対応する変動補正用データを選択する。補正用データ選択部231は、選択した基準補正用データをレベル0の補正用データ(0)に設定し、変動補正用データをレベルがマイナス2、マイナス1、プラス1〜10の補正用データ(N)(Nは、−2≦N<0、0<N≦10の整数)に設定して、それらをRAM212に補正用データとして記憶する。
Of the data output from the A /
なお、補正用データ選択部231が、シェーディング板データに基づいて基準補正用データと変動補正用データとを生成するようにしてもよい。この場合には、ROM211に複数の補正用データを記憶しておく必要はない。補正用データ選択部231は、シェーディング板データから、シェーディング板データを基準値に補正するための係数を求める。基準補正用データは、この求められた係数に対応する複数の値を含む。具体的には、明度が0〜255の範囲を取り得る値とすると、シェーディング板データが230であった場合、基準値を255とすれば係数は255/230となる。この係数にしたがって、0〜255それぞれの値に対応した値を有する1つの基準補正用データが定まる。たとえば、補正用データ選択部231は、0〜255それぞれの値に対して、係数(255/230)を乗じた値の少数点以下を四捨五入、切り捨てまたは切り上げした整数部分を含む基準補正用データを生成する。ただし、補正用データ選択部231は、0〜255のいずれかの値に係数を乗じた値が255を越える場合には、基準補正用データを255とする。したがって、補正用データ選択部231は、256個の値を有する1つの基準補正用データを生成する。また、光源159の照射する光の強度は、主走査方向にバラツキがあるので、補正用データ選択部231は、読取部219が備える複数の光電変換素子それぞれに対して、基準補正用データを生成する。なお、基準補正用データの生成は、上述した方法に限定されることなく、他の種々の方法を用いることができる。
The correction
変動補正用データは、1つの基準補正用データに対応する1以上のデータである。補正用データ選択部231は、基準補正用データに係数を乗算することによって12レベルの変動補正用データを求める。また、補正用データ選択部231は、先に基準補正用データを定めるために用いたシェーディング板データを用いて、変動補正用データを求めるようにしてもよい。先に基準補正用データを定めるために用いたシェーディング板データが230であり、かつ、基準値を255としたので、補正用データ選択部231は、係数255/(230−2N)を求める。ただし、Nは−2以上10以下の0以外の整数である。したがって、12個の補正用データ(N)が定まる。ここでは、一例としてレベルLevelがマイナス2の変動補正用データの生成について説明する。この場合、係数は(255/(230−2×(−2))となる。補正用データ選択部231は、この係数に従って、0〜255それぞれの値に対応した値を有する補正用データ(−2)を求める。たとえば、0〜255それぞれの値に対して、係数(255/(230−2×(−2)))を乗じた値の少数点以下を四捨五入、切り捨てまたは切り上げした整数部分を補正用データ(−2)とする。ただし、0〜255のいずれかの値に係数を乗じた値が255を越える場合には、補正用データ選択部231は、補正用データ(−2)を255とする。したがって、補正用データ選択部231は、256個の値を有する1つの補正用データ(−2)を生成する。また、光源159の照射する光の強度は、主走査方向にバラツキがあるので、補正用データ選択部231は、読取部219が備える複数の光電変換素子それぞれに対して、補正用データ(−2)を生成する。なお、ここでは、12レベルの変動補正用データを求めるようにしたが、レベル数はこれに限定されない。また、変動補正用データの生成は、上述した方法に限定されることなく、他の種々の方法を用いることができる。
The fluctuation correction data is one or more data corresponding to one reference correction data. The correction
階調特性検出部234は、A/D変換部251が出力するデータのうち原稿データが入力される。階調特性検出部234は、原稿データから階調特性を検出し、検出した階調特性をRAM212に記憶する。ここでは、階調特性は、原稿1枚分の原稿データのうち最大の明度としている。階調特性検出部234は、原稿一枚分の原稿データのうちから明度の最大値を検出し、検出した最大値を階調特性として検出する。原稿データは1ライン分ごとに入力されるため、階調特性検出部234は、1ライン分の原稿データが入力されるごとに最大値を更新し、原稿1枚分の原稿データが入力された後に、最大値を階調特性として検出する。階調特性検出部234は、検出した階調特性をRAM212に記憶する。これにより、原稿1枚分の原稿データが入力されるごとに、RAM212に原稿の階調特性が記憶されることになる。なお、ここでは、原稿1枚分の原稿データから階調特性を検出するようにしたが、原稿を複数の領域に分割して、分割した領域ごとに階調特性を検出するようにしてもよい。この場合、階調特性検出部234は、原稿を分割した領域の原稿データが入力されるごとに、階調特性を検出して記憶することになる。
The gradation
階調特性比較部233は、RAM212に記憶された階調特性を読み出して、最初の原稿に対応する階調特性と、最後の原稿に対応する階調特性とを比較する。最初の原稿とは、読取部219でシェーディング板156を読み取った後、読取部219で最初に読み取る原稿をいう。最後の原稿とは、読取部219で最後に読み取った原稿をいう。たとえば、読取部219で、2枚の原稿を読み取った場合、第1番目に読み取った原稿が最初の原稿であり、第2番目に読み取った原稿が最後の原稿である。さらに、読取部219で原稿を読み取りが継続されて、5枚の原稿を読み取った時点では、最初の原稿は第1番目に読み取った原稿であり、最後の原稿は第5番目に読み取った原稿である。階調特性比較部233は、最初の原稿に対応する階調特性を変数Data1に設定し、最後の原稿に対応する階調特性を変数Data2に設定し、両者の比Sel(=Data1/Data2)を算出し、レベルを決定する。階調特性比較部233は、決定したレベルをセレクタ232に出力する。階調特性比較部233が、最初にレベルを決定するのは、2枚目の原稿の原稿データが入力された後、3枚目の原稿の原稿データが入力される前なので、階調特性比較部233は、最初にレベルを決定する前には、レベル0をセレクタ232に出力する。レベルは、Selが1より小さければプラスレベル、1より大きければマイナスレベルとなる。具体的には、Data1に比較して、Data2が2階調高ければマイナス1レベル、Data2が4階調高ければマイナス2レベル、Data2が2階調低ければプラス1レベル、Data2が4階調低ければプラス2レベル、・・・、Data2が20階調低ければプラス10レベルである。
The gradation
セレクタ232は、階調特性比較部233からレベルが入力される。セレクタ232は、入力されたレベルの補正用データを、RAM212から読み出して、シェーディング補正部252に出力する。
The
図6は、第1の実施の形態におけるMFPで実行される読取処理の流れの一例を示すフローチャートである。図6を参照して、CPU210は、ユーザによる原稿の読取を開始する指示が受付けられるまで待機状態となり(ステップS01でNO)、読取開始指示が受付けられると処理をステップS02に進める。CPU210は、操作部227が備えるスタートボタンの指示を検出することにより、読取開始指示の受付けを検出する。
FIG. 6 is a flowchart illustrating an example of the flow of reading processing executed by the MFP according to the first embodiment. Referring to FIG. 6,
CPU210は、スライダ制御部223にスライダ158をシェーディング板156の下方に移動させる(ステップS02)。その後、CPU210は、光源制御部217に光源159を点灯させる(ステップS03)。これにより、読取部219が、シェーディング板156で反射した光を受光し、シェーディング板データを出力する。シェーディング板データは、補正用データ決定部213に出力される。
The
次に、補正用データ決定部213は、入力されるシェーディング板データを用いて、ROM211から補正用データ(N)を選択する(ステップS05)。補正用データ(N)は、レベルが0(N=0)の基準補正用データと、レベルが−2、−1、1〜10の変動補正用データとを含む。補正用データ決定部213は、選択した補正用データ(N)をRAM212に記憶する。
Next, the correction
次に、補正用データ決定部213は、レベルが0の基準補正用データである補正用データ(0)を選択し(ステップS05)、画像処理部215のシェーディング補正部252に補正用データ(0)を出力する(ステップS06)。これにより、シェーディング補正部252は、シェーディング補正に用いるための補正用データに、入力された補正用データ(0)を設定し、以降に入力される原稿データに、この設定された補正用データ(0)を用いてシェーディング補正処理を実行する。シェーディング補正部252では、次に補正用データが入力されるまで、設定された補正用データを用いてシェーディング補正を実行する。
Next, the correction
CPU210は、スライダ制御部223にスライダ158を原稿読取位置Lの下方に移動させる(ステップS07)。次に、CPU210は、原稿搬送制御部225に原稿の搬送を開始させる(ステップS08)。これにより、読取部219は、原稿読取位置Lを通過する原稿で反射した光を受光し、原稿データを出力する(ステップS09)。原稿データは、補正用データ決定部213および画像処理部215に出力される。
The
そして、補正用データ決定部213は、原稿1枚分の原稿データを受信すると、その原稿に対する階調特性を検出する(ステップS10)。そして、補正用データ決定部213は、補正用データ決定処理を実行して補正用データを決定する(ステップS11)。補正用データ決定処理については後述するが、補正用データ決定部213は、決定した補正用データを、画像処理部215のシェーディング補正部252に出力する。シェーディング補正部252は、シェーディング補正に用いるための補正用データに、補正用データ決定部213から入力された補正用データを設定する。シェーディング補正部252では、次に補正用データが設定されるまで、設定された補正用データを用いてシェーディング補正を実行する。
When the correction
CPU210は、原稿搬送制御部225から次に搬送するべき原稿が存在するか否かを受信しており、次に搬送するべき原稿が存在するか否かを判断する(ステップS12)。CPU210は、次に搬送するべき原稿が存在すれば処理をステップS08に戻し、存在しなければ処理をステップS13に進める。ステップS13では、CPU210は、光源制御部217に光源159を消灯させる。
The
図7は、図6のステップS10で実行される階調特性検出処理の流れの一例を示す図である。図7を参照して、補正用データ決定部213は、読取部219から原稿データが入力されるごとに、その原稿データのうち明度の最大値を検出する(ステップS51)。そして、補正用データ決定部213は、原稿1枚分の原稿データの入力が終了したか否かを判断する(ステップS52)。補正用データ決定部213は、原稿1枚分の原稿データの入力が終了していなければ処理をステップS51に戻し、終了していれば処理を読取処理に戻す。ステップS51では、補正用データ決定部213は、後に入力された原稿データから検出した明度の最大値が、それまでに検出した明度の最大値よりも大きければ、最大値を後に入力された原稿データから検出した最大値に更新する。これにより、原稿1枚分の原稿データのうち明度の最大値が階調特性として検出される。このように、補正用データ決定部213は、原稿1枚分の原稿データが入力された後に、その原稿に対応した階調特性を検出する。
FIG. 7 is a diagram showing an example of the flow of the gradation characteristic detection process executed in step S10 of FIG. Referring to FIG. 7, every time document data is input from reading
図8は、図6のステップS11で実行される補正用データ決定処理の流れの一例を示す図である。図8を参照して、補正用データ決定部213は、図6のステップS10で検出した階調特性が、1枚目の原稿に対応するか否かを判断する(ステップS21)。補正用データ決定部213は、階調特性が1枚目の原稿に対応すれば処理をステップS22に進め、そうでなければ処理をステップS23に進める。ステップS22では、補正用データ決定部213は、変数Data1に図6のステップS10で検出した階調特性を設定する。ステップS23では、補正用データ決定部213は、変数Data2に図6のステップS10で検出した階調特性を設定する。すなわち、変数Data1には、読取部219で1枚目に読み込んだ原稿から検出された階調特性が設定され、変数Data2には、読取部219で最後に読み込んだ原稿から検出された階調特性が設定される。
FIG. 8 is a diagram illustrating an example of the flow of correction data determination processing executed in step S11 of FIG. Referring to FIG. 8, correction
補正用データ決定部213は、ステップS23の後、処理をステップS24に進める。補正用データ決定部213は、次式(1)を用いて、比Selを算出する(ステップS24)。
Sel=Data1/Data2 … (1)
さらに、補正用データ決定部213は、関数F(Sel)を用いてレベルLevelを求める(ステップS25)。補正用データ決定部213は、RAM212に記憶されている補正用データ(N)のうちから、ステップS25で求めたレベルLevelの補正用データ(Level)を選択し(ステップS26)、画像処理部215のシェーディング補正部252に補正用データ(Level)を出力する(ステップS27)。これにより、シェーディング補正部252は、シェーディング補正に用いるための補正用データに、入力された補正用データ(Level)を設定し、その後に入力される原稿データに、この設定された補正用データ(Level)を用いてシェーディング補正処理を実行する。
The correction
Sel = Data1 / Data2 (1)
Further, the correction
補正用データ決定部213は、2枚目以降の原稿データに対応する階調特性が検出されると、補正用データのレベルを決定し、決定したレベルをシェーディング補正部252に出力する。このため、シェーディング補正部252は、1枚目および2枚目の原稿を読み取って得られる原稿データを、補正用データ(0)を用いてシェーディング補正し、3枚目以降の原稿を読みとって得られる原稿データを、補正用データ決定部213で決定されたレベルLevelの補正用データ(Level)を用いてシェーディング補正する。
When the gradation characteristic corresponding to the second and subsequent original data is detected, the correction
<階調特性検出処理の第1の変形例>
補正用データ決定部213は、階調特性を原稿1枚分の原稿データのうち明度の最大値をその原稿の階調特性とするものであった。第1の変形例における階調特性検出処理では、原稿中に予め定められた検出領域の明度の最大値を階調特性とするものである。原稿中に予め定められた検出領域は、たとえば原稿の余白部分である。原稿の余白部分は、原稿の端から数ミリの範囲の領域とすればよい。原稿の4つの辺に沿って所定の幅の領域が存在することになる。
<First Modification of Tone Characteristic Detection Processing>
The correction
図9は、第1の変形例における階調特性検出処理の流れの一例を示す図である。第1の変形例における階調特性検出処理は、図6のステップS10で、補正用データ決定部213により実行される処理である。図9を参照して、補正用データ決定部213は、読取部219からA/D変換部251を介して原稿データが入力されるごとに、その原稿データが検出領域に含まれるか否かを判断する(ステップS61)。補正用データ決定部213は、原稿データの少なくとも一部が検出領域に含まれれば、原稿データが検出領域に含まれると判断する。この場合、補正用データ決定部213は、原稿データから検出領域に含まれる部分を抽出する。補正用データ決定部213は、原稿データが検出領域に含まれるなら処理をステップS62に進め、そうでなければ処理をステップS63に進める。
FIG. 9 is a diagram illustrating an example of the flow of the gradation characteristic detection process in the first modification. The gradation characteristic detection process in the first modification is a process executed by the correction
補正用データ決定部213は、検出領域に含まれる原稿データのうち明度の最大値を検出する(ステップS62)。そして、補正用データ決定部213は、原稿1枚分の原稿データの入力が終了したか否かを判断する(ステップS63)。補正用データ決定部213は、原稿1枚分の原稿データの入力が終了していなければ処理をステップS61に戻し、終了していれば処理を読取処理に戻す。ステップS62では、補正用データ決定部213は、後に入力された原稿データから検出した最大値が、それまでに検出した最大値よりも大きければ、最大値を後に入力された原稿データから検出した最大値に更新する。これにより、原稿中の検出領域に含まれる原稿データのうち明度の最大値が階調特性として検出される。このように、補正用データ決定部213は、原稿1枚分の原稿データが入力された後に、その原稿に対応した階調特性を検出する。
The correction
第1の変形例における階調特性検出処理によれば、原稿の余白部分の明度の最大値を階調特性とする。このため、原稿の下地領域から階調特性を検出することができ、階調特性の検出精度を向上させることができる。 According to the gradation characteristic detection processing in the first modified example, the maximum value of the brightness of the margin portion of the document is set as the gradation characteristic. For this reason, the gradation characteristics can be detected from the background area of the document, and the detection accuracy of the gradation characteristics can be improved.
なお、検出領域の明度の最大値を階調特性としたが、原稿の予め定められた部分に所定のマークを付すようにして、読取部219がそのマークを読み取って出力する原稿データから階調特性を検出するようにしてもよい。
Although the maximum brightness value of the detection area is the gradation characteristic, the gradation is determined from the document data output by the
<階調特性検出処理の第2の変形例>
第2の変形例における階調特性検出処理では、原稿中の彩度が所定値以下の領域における明度の最大値を階調特性とするものである。彩度が所定値以下の領域は無彩色の領域である。通常、ビジネスには、原稿の下地が白の用紙が用いられることが多いので、彩度が所定値以下の領域の明度の最大値を階調特性とすることにより、異なる原稿から白色の領域で階調特性を検出することができる。
<Second Modification of Tone Characteristic Detection Processing>
In the gradation characteristic detection process in the second modification, the maximum value of brightness in the area where the saturation in the document is equal to or less than a predetermined value is used as the gradation characteristic. An area where the saturation is equal to or less than a predetermined value is an achromatic area. Normally, papers with white backgrounds are often used in business. Therefore, by setting the maximum value of lightness in areas where saturation is equal to or less than a predetermined value as a gradation characteristic, The gradation characteristics can be detected.
第2の変形例における階調特性検出処理では、Rデータ、GデータおよびBデータの3つの原稿データから彩度を求めるため、補正用データ決定部213には、ライン間補正された原稿データが入力される必要がある。このため、図4に示したライン間補正部253は、A/D変換部251とシェーディング補正部252との間に配置され、ライン間補正部253で同期した原稿データが、シェーディング補正部252および補正用データ決定部213に入力される。また、処理対象とする領域を検出するため、補正用データ決定部213は、ラインバッファを備える。ここでは、領域のサイズを縦横それぞれ5画素の領域とする。このためラインバッファは5ライン分の記憶容量を備える。
In the gradation characteristic detection process in the second modification, the saturation data is obtained from the three original data of R data, G data, and B data. Therefore, the correction
図10は、第2の変形例における階調特性検出処理の流れの一例を示す図である。第2の変形例における階調特性検出処理は、図6のステップS10で、補正用データ決定部213により実行される処理である。図10を参照して、補正用データ決定部213は、読取部219からA/D変換部251およびライン間補正部253を介して原稿データが入力されると、ラインバッファに順に記憶する。そして、主走査方向に領域を順に選択して、選択した領域に含まれる全ての画素の彩度を検出する(ステップS71)。彩度は、画素が有するRデータ、GデータおよびBデータの最大値と最小値との差である。領域には25画素が含まれるので彩度も25個検出されるが、ここでは、最大値を領域の彩度とする。
FIG. 10 is a diagram illustrating an example of the flow of gradation characteristic detection processing in the second modification. The gradation characteristic detection process in the second modification is a process executed by the correction
そして、補正用データ決定部213は、領域の彩度が、しきい値Ref1より小さいか否かを判断する(ステップS72)。補正用データ決定部213は、彩度がしきい値Ref1より小さい領域については処理をステップS73に進め、そうでない領域については処理をステップS74に進める。ステップS73では、補正用データ決定部213は、彩度がしきい値Ref1より小さい領域に含まれる画素の明度の最大値を領域の明度として検出する。明度の最大値は、Rデータ、GデータおよびBデータそれぞれで検出される。補正用データ決定部213は、しきい値Ref1より小さい彩度の領域が複数あれば、複数の領域の明度のうちの最大値を検出する。
Then, the correction
そして、補正用データ決定部213は、原稿1枚分の原稿データの入力が終了したか否かを判断する(ステップS74)。補正用データ決定部213は、原稿1枚分の原稿データの入力が終了していなければ処理をステップS71に戻し、終了していれば処理を読取処理に戻す。ステップS73では、補正用データ決定部213は、後に入力された原稿データから検出した明度の最大値が、それまでに検出した明度の最大値よりも大きければ、明度の最大値を後に入力された原稿データから検出した明度の最大値に更新する。これにより、原稿中の彩度が所定値以下の領域で、Rデータ、GデータおよびBデータそれぞれで明度の最大値が階調特性として検出される。このように、補正用データ決定部213は、原稿1枚分の原稿データが入力された後に、その原稿に対応した階調特性をRデータ、GデータおよびBデータごとに検出する。
Then, the correction
<階調特性検出処理の第3の変形例>
第3の変形例における階調特性検出処理では、原稿中の彩度が所定値以下で、かつ明度が所定値以上の領域の明度の平均値を階調特性とするものである。彩度が所定値以下の領域は無彩色の領域であり、無彩色の領域で明度が所定値以上の領域は白に近い領域である。したがって、原稿中の彩度が所定値以下で、かつ明度が所定値以上の領域は、原稿の白色の下地領域に相当する。
<Third Modification of Tone Characteristic Detection Processing>
In the gradation characteristic detection process in the third modified example, the average value of the lightness in the area where the saturation in the document is not more than a predetermined value and the lightness is not less than the predetermined value is used as the gradation characteristic. A region where the saturation is not more than a predetermined value is an achromatic region, and a region where the lightness is not less than the predetermined value in the achromatic region is a region close to white. Therefore, an area in which the saturation in the document is equal to or less than a predetermined value and the lightness is equal to or greater than a predetermined value corresponds to a white background area of the document.
第3の変形例における階調特性検出処理では、Rデータ、GデータおよびBデータの3つの原稿データから彩度を求めるため、補正用データ決定部213には、ライン間補正された原稿データが入力される必要がある。このため、図4に示したライン間補正部253は、A/D変換部251とシェーディング補正部252との間に配置され、ライン間補正部253で補正された原稿データが、シェーディング補正部252および補正用データ決定部213に入力される。また、処理対象とする領域を検出するため、補正用データ決定部213は、ラインバッファを備える。ここでは、領域のサイズを縦横それぞれ5画素の領域とする。このためラインバッファは5ライン分の記憶容量を備える。
In the gradation characteristic detection process in the third modification, the saturation is determined from the three original data of R data, G data, and B data. Therefore, the correction
図11は、第3の変形例における階調特性検出処理の流れの一例を示す図である。第3の変形例における階調特性検出処理は、図6のステップS10で、補正用データ決定部213により実行される処理である。図11を参照して、補正用データ決定部213は、読取部219からA/D変換部251およびライン間補正部253を介して原稿データが入力されると、ラインバッファに順に記憶する。そして、主走査方向に領域を順に選択して、選択した領域に含まれる全ての画素の彩度を検出する(ステップS81)。領域には25画素が含まれるので彩度も25個検出されるが、ここでは、最大値を領域の彩度とする。
FIG. 11 is a diagram illustrating an example of the flow of gradation characteristic detection processing in the third modification. The gradation characteristic detection process in the third modification is a process executed by the correction
そして、補正用データ決定部213は、領域の彩度がしきい値Ref1より小さく、かつ、明度がしきい値Ref2より大きいか否かを判断する(ステップS82)。明度は、画素が有するRデータ、Gデータ、Bデータの平均値である。領域には25画素が含まれるので明度も25個検出されるが、ここでは、平均値を領域の明度とする。補正用データ決定部213は、彩度がしきい値Ref1より小さく、かつ、明度がしきい値Ref2より大きい領域については処理をステップS83に進め、そうでない領域については処理をステップS84に進める。ステップS83では、補正用データ決定部213は、彩度がしきい値Ref1より小さく、かつ、明度がしきい値Ref2より大きい領域に含まれる画素の明度をRデータ、GデータおよびBデータごとに加算してRデータ、GデータおよびBデータごとに累計を求める。この際、補正用データ決定部213は、明度を加算した画素の数をカウントする。補正用データ決定部213は、彩度がしきい値Ref1より小さく、かつ、明度がしきい値Ref2より大きい領域が複数あれば、複数の領域の全ての画素の明度を加算する。
Then, the correction
そして、補正用データ決定部213は、原稿1枚分の原稿データの入力が終了したか否かを判断する(ステップS84)。補正用データ決定部213は、原稿1枚分の原稿データの入力が終了していなければ処理をステップS81に戻し、終了していれば処理をステップS85に進める。
Then, the correction
ステップS85では、補正用データ決定部213は、ステップS83で明度を加算して求めた累計と、カウントした画素数とからRデータ、GデータおよびBデータごとに明度の平均値を算出する。これにより、原稿中の彩度がしきい値Ref1より小さく、かつ、明度がしきい値Ref2より大きい領域に含まれる画素のRデータ、GデータおよびBデータごとの明度の平均値が階調特性として検出される。このように、補正用データ決定部213は、原稿1枚分の原稿データが入力された後に、その原稿に対応した階調特性をRデータ、GデータおよびBデータごとに検出する。
In step S85, the correction
第3の変形例における階調特性検出処理では、原稿データのうち彩度がしきい値Ref1より小さく、かつ、明度がしきい値Ref2より大きい領域の画素の明度の平均値を階調特性とするので、光源159、レンズ163、読取部219を含む読取系の変動の影響を軽減した階調特性を検出することができる。
In the gradation characteristic detection processing in the third modification, the average value of the brightness of pixels in the document data in which the saturation is smaller than the threshold value Ref1 and the lightness is larger than the threshold value Ref2 is used as the gradation characteristic. Therefore, it is possible to detect gradation characteristics in which the influence of fluctuations in the reading system including the
<階調特性検出処理の第4の変形例>
第4の変形例における階調特性検出処理では、原稿中で彩度が所定値以下で、かつ明度の変化が所定値以下の領域の明度の平均値を階調特性とするものである。彩度が所定値以下の領域は無彩色の領域であり、無彩色の領域で明度の変化が所定値以下の領域は白の下地である可能性の高い領域である。したがって、原稿中の彩度が所定値以下で、かつ明度の変化が所定値以下の領域は、原稿の白色の下地領域に相当する。
<Fourth Modification of Tone Characteristic Detection Processing>
In the gradation characteristic detection process in the fourth modified example, the average value of lightness in an area where the saturation is not more than a predetermined value and the change in lightness is not more than a predetermined value in the document is used as the gradation characteristic. A region where the saturation is equal to or less than a predetermined value is an achromatic region, and a region where the change in lightness is equal to or less than a predetermined value in the achromatic region is a region that is likely to be a white background. Therefore, an area in which the saturation in the document is equal to or less than a predetermined value and the change in brightness is equal to or less than the predetermined value corresponds to a white background area of the document.
第4の変形例における階調特性検出処理では、Rデータ、GデータおよびBデータの3つの原稿データから彩度を求めるため、補正用データ決定部213には、ライン間補正された原稿データが入力される必要がある。このため、図4に示したライン間補正部253は、A/D変換部251とシェーディング補正部252との間に配置され、ライン間補正部253で補正された原稿データが、シェーディング補正部252および補正用データ決定部213に入力される。また、処理対象とする領域を検出するため、補正用データ決定部213は、ラインバッファを備える。ここでは、領域のサイズを縦横それぞれ5画素の領域とする。このためラインバッファは5ライン分の記憶容量を備える。
In the gradation characteristic detection process in the fourth modification, since the saturation is obtained from the three original data of R data, G data, and B data, the correction
図12は、第4の変形例における階調特性検出処理の流れの一例を示す図である。第4の変形例における階調特性検出処理は、図6のステップS10で、補正用データ決定部213により実行される処理である。図12を参照して、補正用データ決定部213は、読取部219から原稿データが入力されると、ラインバッファに順に記憶する。そして、主走査方向に領域を順に選択して、選択した領域に含まれる全ての画素の彩度を検出する(ステップS91)。領域には25画素が含まれるので彩度も25個検出されるが、ここでは、最大値を領域の彩度とする。
FIG. 12 is a diagram illustrating an example of the flow of gradation characteristic detection processing in the fourth modification. The gradation characteristic detection process in the fourth modification is a process executed by the correction
次に、補正用データ決定部213は、領域に含まれる画素の明度の最大値と最小値との差分であるダイナミックレンジDRを算出する(ステップS92)。明度は、Rデータ、GデータおよびGデータの平均値である。そして、補正用データ決定部213は、ステップS91で検出した彩度がしきい値Ref1より小さく、かつ、ダイナミックレンジDRがしきい値Ref3より小さいか否かを判断する(ステップS93)。補正用データ決定部213は、彩度がしきい値Ref1より小さく、かつ、ダイナミックレンジDRがしきい値Ref3より小さければ処理をステップS94に進め、そうでなければ処理をステップS95に進める。ステップS94では、補正用データ決定部213は、ステップS91で検出した彩度がしきい値Ref1より小さく、かつ、ダイナミックレンジDRがしきい値Ref3より小さい領域に含まれる画素の明度をRデータ、GデータおよびBデータごとに加算してRデータ、GデータおよびBデータごとに累計を求める。この際、補正用データ決定部213は、明度を加算した画素の数をカウントする。ステップS91からステップS95までの処理は、ラインバッファに記憶された原稿データから選択された領域の全てに対して実行される。
Next, the correction
そして、補正用データ決定部213は、原稿1枚分の原稿データの入力が終了したか否かを判断する(ステップS95)。補正用データ決定部213は、原稿1枚分の原稿データの入力が終了していなければ処理をステップS91に戻し、終了していれば処理をステップS96に進める。処理をステップS91に戻す場合、補正用データ決定部213は、次の5ラインがラインバッファに記憶されたのち、上述した処理を実行する。
Then, the correction
ステップS96では、補正用データ決定部213は、ステップS94で明度をRデータ、GデータおよびBデータごとに加算して求めたRデータ、GデータおよびBデータごとの累計と、カウントした画素数とからRデータ、GデータおよびBデータごとに明度の平均値を算出する。これにより、原稿中で、彩度が所定値以下で、かつ明度の変化が所定値以下の領域のRデータ、GデータおよびBデータごとの明度の平均値が階調特性として検出される。このように、補正用データ決定部213は、原稿1枚分の原稿データが入力された後に、その原稿に対応したRデータ、GデータおよびBデータごとの階調特性を検出する。
In step S96, the correction
第4の変形例における階調特性検出処理では、原稿データのうち彩度が所定値以下で、かつ明度の変化が所定値以下の領域の明度の平均値を階調特性とするので、光源159、レンズ163、読取部219を含む読取系の変動の影響を軽減した階調特性を検出することができる。
In the gradation characteristic detection process according to the fourth modification, the
以上説明したように第1の実施の形態におけるMFP100は、複数の補正用データを予め記憶するROM211と、読取部219が反射率の予め定められたシェーディング板156で反射した光を受光して出力するシェーディング板データに基づいて、複数の補正用データのうちから基準補正用データおよび12レベルの変動補正用データを選択する補正用データ選択部231と、読取部219が原稿で反射した光を受光して出力する原稿データに基づいて、基準補正用データおよび12レベルの変動補正用データからいずれか1つを選択して実行補正データに設定する階調特性比較部233およびセレクタ232と、読取部219が原稿で反射した光を受光して出力する原稿データを、設定された実行補正用データを用いて補正するシェーディング補正部252とを備える。このため、読取部219がシェーディング板156で反射した光を受光して出力するシェーディング板データに基づいて、基準補正用データおよび12レベルの変動補正用データが選択され、読取部219が原稿で反射した光を受光して出力する原稿データに基づいて、選択された基準補正用データおよび12レベルの変動補正用データのうちからいずれか1つが選択されて実行補正データに設定される。このため、光源159の照射する光の強度が時間の経過に伴って変化しても、光源159の照射する光の強度に応じた実行補正用データが、複数の補正用データのうちから選択され、その実行補正用データを用いて、読取部219が原稿で反射した光を受光して出力する原稿データが補正される。その結果、原稿で反射した光を受光して得られるデータから原稿に照射される光の強度の変化による影響を除去することができる。
As described above, the
また、MFP100は、シェーディング板データに基づいて決定された基準補正用データ(補正用データ(0))が、原稿データに基づいて変更される。このため、光源159の照射する光の強度が時間の経過に伴って変化しても、光源159の照射する光の強度に応じた変動補正用データを用いて、原稿データが補正される。その結果、原稿で反射した光を受光して得られる原稿データから原稿に照射される光の強度の変化による影響を正確に除去することができる。
In
また、MFP100は、シェーディング板データと予め定められた目標値とから基準補正用データを生成し、基準補正用データと予め定められた係数とから12レベルの変動補正用データを生成する補正用データ選択部231とを含む。このため、補正用データを容易に生成することができる。
Further,
<第2の実施の形態>
次に第2の実施の形態におけるMFPについて説明する。第2の実施の形態におけるMFPは、第1の実施の形態におけるMFP100の補正用データ決定部213に変更を加えたものである。その他の構成は第1の実施の形態におけるMFP100と同様なので、ここでは説明を繰り返さない。
<Second Embodiment>
Next, an MFP according to the second embodiment will be described. The MFP in the second embodiment is obtained by changing the correction
図13は、第2の実施の形態におけるMFPの補正用データ決定部の機能の概要を示す機能ブロック図である。図13を参照して、補正用データ決定部213Aは、図5に示した第1の実施の形態における補正用データ決定部213と異なる点は、タイマ235および制限部236が追加された点と、セレクタ232Aが変更された点である。
FIG. 13 is a functional block diagram showing an outline of functions of the correction data determination unit of the MFP according to the second embodiment. Referring to FIG. 13, correction
タイマ235は、光源159が点灯してからの経過時間を計時する。制限部236は、タイマ235で計時された時間が入力され、入力される時間に応じて、セレクタ232Aで選択可能な補正用データを制限する。ここでは、最初のT分までは、レベルが−2〜+2の補正用データの選択を可能とし、T分から2T分までは、レベルが−2〜+4までの補正用データの選択を可能とし、2T分経過後は全てのレベルの補正用データの選択を可能とする。光源159の照射する光の強度の変化は、時間の経過とともに減少し、所定時間経過すると所定の値で安定することが知られている。したがって、経過時間により光源159の照射する光の強度の変化する幅がおおよそ予測できる。時間の経過とともに選択可能な補正用データを制限することで、階調特性が誤検出されて補正用データが誤って選択されるのを防止することができる。
The
セレクタ232Aは、階調特性比較部233からレベルが入力されるが、制限部236から入力されるレベルの選択制限を優先して、選択する補正用データを決定する。たとえば、制限部236によりレベルが−2〜+4の範囲に制限されていれば、階調特性比較部233からレベルLevel5が入力されたとしても、制限されたレベルの最大のレベル+4を選択し、補正用データ(4)を選択することになる。
The
図14は、第2の実施の形態におけるMFPで実行される読取処理の流れの一例を示すフローチャートである。図6に示した第1の実施の形態におけるMFPで実行される読取処理と異なる点は、ステップS03とステップS04との間にステップS03Aが追加された点と、ステップS11Aが変更された点である。その他のステップで実行される処理は同じなのでここでは説明を繰り返さない。ステップS03Aでは、補正用データ決定部213Aは、タイマ235をスタートさせて、タイマ235に計時を開始させる。ここでは、タイマ235が計時した時間をタイマ値tという。
FIG. 14 is a flowchart illustrating an example of the flow of reading processing executed by the MFP according to the second embodiment. The difference from the reading process executed by the MFP in the first embodiment shown in FIG. 6 is that step S03A is added between step S03 and step S04, and step S11A is changed. is there. Since the processes executed in other steps are the same, the description will not be repeated here. In step S03A, correction
図15は、図14のステップS11Aで実行される補正用データ決定処理の流れの一例を示すフローチャートである。図15を参照して、図8に示した補正用データ決定処理と異なる点は、ステップS25とステップS26との間に、ステップS31〜ステップS35が追加された点である。その他のステップで実行される処理は同じなのでここでは説明を繰り返さない。 FIG. 15 is a flowchart showing an exemplary flow of the correction data determination process executed in step S11A of FIG. Referring to FIG. 15, the difference from the correction data determination process shown in FIG. 8 is that steps S31 to S35 are added between steps S25 and S26. Since the processes executed in other steps are the same, the description will not be repeated here.
補正用データ決定部213Aは、ステップS31で、タイマ値tをしきい値Tおよびしきい値2Tと比較する。補正用データ決定部213Aは、タイマ値tがしきい値Tより小さければ処理をステップS32に進め、タイマ値tがしきい値T以上かつ2Tより小さければ処理をステップS34に進め、タイマ値tがしきい値2T以上であれば処理をステップS26に進める。
Correction
補正用データ決定部213Aは、ステップS32では、ステップS25で求めたレベルLevelが+2を超えるか否かを判断し、超えるならば処理をステップS33に進め、超えなければ処理をステップS26に進める。補正用データ決定部213Aは、ステップS33では、レベルLevelを+2に設定して、処理をステップS26に進める。
In step S32, the correction
補正用データ決定部213Aは、ステップS34では、ステップS25で求めたレベルLevelが+4を超えるか否かを判断し、超えるならば処理をステップS35に進め、超えなければ処理をステップS26に進める。補正用データ決定部213Aは、ステップS35では、レベルLevelを+4に設定して、処理をステップS26に進める。
In step S34, the correction
このため、補正用データ決定部213Aは、タイマ値tがしきい値Tより小さければ選択可能な補正用データのレベルを−2〜+2に制限し、タイマ値tがしきい値T以上かつ2Tより小さければ選択可能な補正用データのレベルを−2〜+4に制限し、タイマ値tがしきい値2T以上であれば全てのレベルの補正用データの選択を可能とする。
Therefore, the correction
以上説明したように第2の実施の形態におけるMFP100は、光源159が光を照射してからの経過時間を計時するタイマ235を備え、光源159が光を照射してからの経過時間に基づいて、選択可能な変動補正用データを制限される。このため、読取部219が原稿で反射した光を受光して出力する原稿データに基づいて変更される変動補正用データが、誤った値に変更されるのを防止することができる。
As described above,
<第3の実施の形態>
次に第3の実施の形態におけるMFPについて説明する。第3の実施の形態におけるMFPは、第1の実施の形態におけるMFP100の補正用データ決定部213に変更を加えたものである。その他の構成は第1の実施の形態におけるMFP100と同様なので、ここでは説明を繰り返さない。
<Third Embodiment>
Next, an MFP according to the third embodiment will be described. The MFP according to the third embodiment is obtained by changing the correction
図16は、第3の実施の形態におけるMFPの補正用データ決定部の機能の概要を示す機能ブロック図である。図16を参照して、補正用データ決定部213Bは、図5に示した第1の実施の形態における補正用データ決定部213と異なる点は、背景板階調特性検出部237および比較部238が追加された点と、セレクタ232Bが変更された点である。
FIG. 16 is a functional block diagram illustrating an outline of functions of the correction data determination unit of the MFP according to the third embodiment. Referring to FIG. 16, correction
背景板階調特性検出部237は、A/D変換部251が出力するデータのうち、読取部219が背景板154で反射した光を受光し出力するデータ(以下「背景板データ」という)が入力される。背景板階調特性検出部237は、背景板データから階調特性を検出し、検出した階調特性を比較部238に出力する。背景板階調特性検出部237は、階調特性検出部234が原稿データから階調特性を検出したのと同じ処理で、背景板データから階調特性を検出するようにすればよい。なお、階調特性は、背景板データの平均値としてもよい。ADF111は、原稿を連続して搬送する場合、先の原稿と後の原稿との間に所定の間隔を空けて搬送する。この所定の間隔が存在するので、原稿読取位置Lを先の原稿が通過してから後の原稿が原稿読取位置Lに到達するまでの間に、読取部219は、背景板154で反射した光を受光する。したがって、背景板階調特性検出部237は、原稿が原稿読取位置Lを通過する直前に背景板データが入力される。背景板階調特性検出部237は、原稿が原稿読取位置Lを通過する直前に背景板データが入力されるので、原稿それぞれに対応して階調特性を検出する。
Of the data output from the A /
比較部238は、背景板階調特性検出部237で検出された階調特性を、基準値Refとの比Vを算出する。比較部238は、算出した比Vに応じて、セレクタ232Bで選択可能な補正用データを制限する。ここでは、比Vがしきい値Th1より大きければレベルが−2〜+2の補正用データの選択を可能とし、比Vがしきい値Th1以下かつしきい値Th2より大きければレベルが−2〜+4までの補正用データの選択を可能とし、比Vがしきい値Th2以下ならば全てのレベルの補正用データの選択を可能とする。光源159の照射する光の強度の変化は、時間の経過とともに減少し、所定時間経過すると所定の値で安定することが知られている。このため、背景板データから検出される階調特性Data0は次第に小さな値となる。
The
セレクタ232Bは、階調特性比較部233からレベルが入力されるが、比較部238から入力されるレベルの選択制限を優先して、選択する補正用データを決定する。たとえば、比較部238によりレベルが−2〜+4までの範囲に制限されていれば、階調特性比較部233からレベルLevel5が入力されたとしても、制限されたレベルの最大のレベル+4を選択し、補正用データ(4)を選択することになる。
The
図17は、第3の実施の形態におけるMFPの補正用データ決定部で実行される補正用データ決定処理の流れの一例を示すフローチャートである。この補正用データ決定処理は、図6のステップS11で実行される。図17を参照して、図8に示した補正用データ決定処理と異なる点は、ステップS21の前にステップS41〜ステップS43が追加された点、ステップS25とステップS26との間に、ステップS45〜ステップS49が追加された点である。その他のステップで実行される処理は同じなのでここでは説明を繰り返さない。 FIG. 17 is a flowchart illustrating an example of the flow of correction data determination processing executed by the correction data determination unit of the MFP in the third embodiment. This correction data determination process is executed in step S11 of FIG. Referring to FIG. 17, the difference from the correction data determination process shown in FIG. 8 is that step S41 to step S43 are added before step S21, and step S45 is between step S25 and step S26. Step S49 is added. Since the processes executed in other steps are the same, the description will not be repeated here.
補正用データ決定部213Bは、ステップS41で、背景板データから階調特性を検出する。そして、補正用データ決定部213Bは、検出した階調特性を変数Data0に設定する(ステップS42)。さらに、補正用データ決定部213Bは、階調特性Data0と基準値Refとの比Vを算出する(ステップS43)。
In step S41, the correction
ステップS45において、補正用データ決定部213Bは、比Vをしきい値Th1およびしきい値Th2と比較する。補正用データ決定部213Bは、比Vがしきい値Th1より大きければ処理をステップS46に進め、比Vがしきい値Th2より大きくかつしきい値Th1以下であれば処理をステップS48に進め、比Vがしきい値Th2以下であれば処理をステップS26に進める。
In step S45, the correction
補正用データ決定部213Bは、ステップS46では、ステップS25で求めたレベルLevelが+2を超えるか否かを判断し、超えるならば処理をステップS47に進め、超えなければ処理をステップS26に進める。補正用データ決定部213Bは、ステップS47では、レベルLevelを+2に設定して、処理をステップS26に進める。
In step S46, the correction
補正用データ決定部213Bは、ステップS48では、ステップS25で求めたレベルLevelが+4を超えるか否かを判断し、超えるならば処理をステップS49に進め、超えなければ処理をステップS26に進める。補正用データ決定部213Bは、ステップS49では、レベルLevelを+4に設定して、処理をステップS26に進める。
In step S48, the correction
このため、補正用データ決定部213Bは、比Vがしきい値Th1より大きければ選択可能な補正用データのレベルを−2〜+2に制限し、比Vがしきい値Th2より大きくかつしきい値Th1以下であれば選択可能な補正用データのレベルを−2〜+4に制限し、比Vがしきい値Th2以下であれば全てのレベルの補正用データの選択を可能とする。
Therefore, the correction
以上説明したように第3の実施の形態におけるMFP100は、原稿を原稿読取位置Lに搬送するADF111と、光源159に対向する位置に固定して設けられた背景板154とを備え、原稿が原稿読取位置Lを通過する前に読取部219が背景板154で反射した光を受光して出力する背景板データに基づいて、変更可能な補正用データの範囲を制限する比較部238とを備える。背景板の反射率は予め定まっているので、光源159が照射する光の強度と背景板データとは比例する。原稿が原稿読取位置Lを通過する前の背景板データに基づいて選択可能な変動補正用データを制限するので、原稿データに基づいて変更される変動補正用データが、誤った値に変更されるのを防止することができる。
As described above,
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
<付記>
(1) 前記照射手段が光を照射してからの経過時間を計時する計時手段をさらに備え、
前記選択手段は、前記計時手段により計時された経過時間に基づいて、前記複数の補正用データのうちから選択可能な基準補正用データおよび少なくとも1つの変動補正用データを制限する制限手段を含む、請求項7に記載の画像読取装置。
(2) 原稿を予め定められた読取位置に搬送する原稿搬送手段と、
前記照射手段に対向する位置に固定して設けられた反射板とをさらに備え、
前記選択手段は、原稿が前記読取位置を通過する前に前記光電変換手段が前記反射板で反射した光を受光して出力するデータに基づいて、前記複数の補正用データのうちから選択可能な基準補正用データおよび少なくとも1つの変動補正用データを制限する制限手段とを含む、請求項7に記載の画像読取装置。
(3) 前記設定手段は、前記光電変換手段が出力する第1のデータと、前記光電変換手段が出力する第2のデータとを比較する原稿データ比較手段を含み、前記原稿データ比較手段による比較結果に基づいて、前記選択手段により選択された基準補正用データおよび少なくとも1つの変動補正用データのうちから1つを選択する、請求項7に記載の画像読取装置。
(4) 前記光電変換手段は、分光感度が互いに異なるフィルタを有する複数のラインセンサを含み、
前記選択手段は、前記複数のラインセンサそれぞれが前記基準板で反射した光を受光して出力するデータに基づいて、前記複数の補正用データのうちから基準補正用データおよび少なくとも1つの変動補正用データを前記複数のラインセンサごとに選択し、
前記設定手段は、前記複数のラインセンサそれぞれが原稿で反射した光を受光して出力するデータに基づいて、前記複数のラインセンサごとに前記基準補正用データおよび前記少なくとも1つの変動補正用データからいずれか1つを選択して実行補正データに設定し、
前記補正手段は、前記複数のラインセンサそれぞれが原稿で反射した光を受光して出力するデータを、前記複数のラインセンサごとに設定された実行補正用データを用いて補正する、請求項7に記載の画像読取装置。
<Appendix>
(1) It further comprises time measuring means for measuring an elapsed time since the irradiation means irradiates light,
The selection means includes restriction means for restricting reference correction data and at least one variation correction data that can be selected from the plurality of correction data based on the elapsed time measured by the time measurement means. The image reading apparatus according to claim 7.
(2) Document conveying means for conveying the document to a predetermined reading position;
A reflection plate fixedly provided at a position facing the irradiation means;
The selection means can select from among the plurality of correction data based on data output by the photoelectric conversion means receiving and reflecting the light reflected by the reflecting plate before the document passes through the reading position. The image reading apparatus according to claim 7, further comprising a restriction unit that restricts the reference correction data and the at least one variation correction data.
(3) The setting unit includes a document data comparison unit that compares the first data output from the photoelectric conversion unit and the second data output from the photoelectric conversion unit, and the comparison by the document data comparison unit is performed. The image reading apparatus according to claim 7, wherein one of the reference correction data and the at least one variation correction data selected by the selection unit is selected based on the result.
(4) The photoelectric conversion means includes a plurality of line sensors having filters having different spectral sensitivities,
The selection means is configured to receive reference correction data and at least one variation correction data out of the plurality of correction data, based on data output by receiving light reflected by the reference plate by each of the plurality of line sensors. Select data for each of the plurality of line sensors,
The setting means is configured to calculate the reference correction data and the at least one variation correction data for each of the plurality of line sensors based on data output by receiving light reflected from the document by each of the plurality of line sensors. Select one of them and set it as execution correction data.
The correction means corrects data output by receiving and reflecting light reflected from the original by each of the plurality of line sensors using execution correction data set for each of the plurality of line sensors. The image reading apparatus described.
100 MFP、110 画像読取装置、120 本体部、121 画像形成装置、150 原稿、154 背景板、155 原稿台、156 シェーディング板、157 通紙ガイド、158 スライダ、159 光源、160 反射部材、161,162 反射ミラー、162 レンズ、163 レンズ、201 タイミングローラ対、202 ローラ対、203 上部規制板、205 原稿台、213,213A,213B 補正用データ決定部、215 画像処理部、217 光源制御部、219 読取部、221 画像形成部、223 スライダ制御部、224 モータ、225 原稿搬送制御部、227 操作部、229 バス、231 補正用データ選択部、232,232A,232B セレクタ、233 階調特性比較部、234 階調特性検出部、235 タイマ、236 制限部、237 背景板階調特性検出部、238 比較部、251 A/D変換部、252 シェーディング補正部、253 ライン間補正部、254 色収差補正部、255 ノイズ検出処理部、256 プリンタインタフェース。
DESCRIPTION OF
Claims (7)
前記読取対象で反射した光を受光し、データを出力する光電変換手段と、
前記光電変換手段が反射率の予め定められた基準板で反射した光を受光して出力するデータに基づいて、補正用データを決定する補正用データ決定手段と、
前記光電変換手段が原稿で反射した光を受光して出力するデータを、前記補正用データを用いて補正する補正手段と、
前記光電変換手段が原稿で反射した光を受光して出力するデータに基づいて、前記補正手段で補正に用いる補正用データを変更する変更手段とを備えた、画像読取装置。 Irradiating means for irradiating the reading object with light;
Photoelectric conversion means for receiving light reflected by the reading object and outputting data;
Correction data determining means for determining correction data based on data received by the photoelectric conversion means reflected by a reference plate having a predetermined reflectance and output;
Correction means for receiving and outputting the light reflected by the original by the photoelectric conversion means using the correction data; and
An image reading apparatus comprising: a changing unit configured to change correction data used for correction by the correction unit based on data output by the photoelectric conversion unit receiving light reflected from the document.
前記変更手段は、前記計時手段により計時された経過時間に基づいて、変更可能な前記補正用データの範囲を制限する制限手段を含む、請求項1に記載の画像読取装置。 Further comprising a time measuring means for measuring an elapsed time since the irradiation means irradiates light,
The image reading apparatus according to claim 1, wherein the changing unit includes a limiting unit that limits a range of the correction data that can be changed based on an elapsed time counted by the timing unit.
前記照射手段に対向する位置に固定して設けられた反射板とをさらに備え、
前記変更手段は、原稿が前記読取位置を通過する前に前記光電変換手段が前記反射板で反射した光を受光して出力するデータに基づいて、変更可能な前記補正用データの範囲を制限する制限手段とを含む、請求項1に記載の画像読取装置。 A document conveying means for conveying the document to a predetermined reading position;
A reflection plate fixedly provided at a position facing the irradiation means;
The changing unit limits the range of the correction data that can be changed based on data output by the photoelectric conversion unit receiving and reflecting the light reflected by the reflecting plate before the document passes through the reading position. The image reading apparatus according to claim 1, further comprising a limiting unit.
前記基準補正用データと予め定められた係数とから少なくとも1つの変動補正用データを生成する変動補正用データ生成手段とを含む、請求項1に記載の画像読取装置。 The correction data determination means is a reference correction data generation means for generating reference correction data from data output by receiving light reflected from the reference plate by the photoelectric conversion means and a predetermined target value. When,
The image reading apparatus according to claim 1, further comprising a fluctuation correction data generation unit that generates at least one fluctuation correction data from the reference correction data and a predetermined coefficient.
前記補正用データ決定手段は、前記複数のラインセンサそれぞれが前記基準板で反射した光を受光して出力するデータに基づいて、前記複数のラインセンサそれぞれに対応した補正用データを決定し、
前記補正手段は、前記複数のラインセンサそれぞれが原稿で反射した光を受光して出力するデータを、前記複数のラインセンサそれぞれに対応する前記補正用データを用いて補正し、
前記変更手段は、前記複数のラインセンサそれぞれが原稿で反射した光を受光して出力するデータに基づいて、前記補正手段で補正に用いる補正用データを変更する、請求項1に記載の画像読取装置。 The photoelectric conversion means includes a plurality of line sensors having filters having different spectral sensitivities,
The correction data determining means determines correction data corresponding to each of the plurality of line sensors based on data output by receiving and outputting light reflected by the reference plate.
The correction unit corrects data output by receiving light reflected from the original by each of the plurality of line sensors using the correction data corresponding to each of the plurality of line sensors,
2. The image reading according to claim 1, wherein the changing unit changes correction data used for correction by the correction unit based on data output by receiving and reflecting light reflected by the document by each of the plurality of line sensors. apparatus.
前記読取対象で反射した光を受光し、データを出力する光電変換手段と、
複数の補正用データを予め記憶する記憶手段と、
前記光電変換手段が反射率の予め定められた基準板で反射した光を受光して出力するデータに基づいて、前記複数の補正用データのうちから基準補正用データおよび少なくとも1つの変動補正用データを選択する選択手段と、
前記光電変換手段が原稿で反射した光を受光して出力するデータに基づいて、前記選択手段により選択された前記基準補正用データおよび前記少なくとも1つの変動補正用データのうちからいずれか1つを選択して実行補正データに設定する設定手段と、
前記光電変換手段が原稿で反射した光を受光して出力するデータを、前記設定された実行補正用データを用いて補正する補正手段とを備えた、画像読取装置。 Irradiating means for irradiating the reading object with light;
Photoelectric conversion means for receiving light reflected by the reading object and outputting data;
Storage means for storing a plurality of correction data in advance;
Based on data output by the photoelectric conversion means receiving and reflecting light reflected by a reference plate having a predetermined reflectance, reference correction data and at least one variation correction data are selected from the plurality of correction data. A selection means for selecting
One of the reference correction data and the at least one variation correction data selected by the selection means based on data output by the photoelectric conversion means receiving light reflected from the document. Setting means for selecting and setting execution correction data;
An image reading apparatus comprising: correction means for correcting data output by receiving light reflected from the original by the photoelectric conversion means using the set execution correction data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005317819A JP2007129278A (en) | 2005-10-31 | 2005-10-31 | Image reading apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005317819A JP2007129278A (en) | 2005-10-31 | 2005-10-31 | Image reading apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007129278A true JP2007129278A (en) | 2007-05-24 |
Family
ID=38151603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005317819A Withdrawn JP2007129278A (en) | 2005-10-31 | 2005-10-31 | Image reading apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007129278A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111474175A (en) * | 2020-05-22 | 2020-07-31 | 北京工业大学 | Illumination intensity self-adaptive image frost measuring sensor and identification method |
-
2005
- 2005-10-31 JP JP2005317819A patent/JP2007129278A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111474175A (en) * | 2020-05-22 | 2020-07-31 | 北京工业大学 | Illumination intensity self-adaptive image frost measuring sensor and identification method |
CN111474175B (en) * | 2020-05-22 | 2024-06-04 | 北京工业大学 | Image frost measuring sensor with self-adaptive illumination intensity and identification method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8917406B2 (en) | Image reading apparatus for determining whether a document contains a distinguishing pattern | |
EP0868072B1 (en) | Shading correction for an image scanner | |
EP1962490B1 (en) | Image sensor | |
JP7117866B2 (en) | Image reading device and image reading device control method | |
US20050029352A1 (en) | System and method for automatic correction of illumination noise caused by ambient light | |
JP2001268324A (en) | Light source device and device and method for reading original | |
JP2008271386A (en) | Color image reading apparatus | |
JP2011061768A (en) | Led emission wavelength estimating method, image reader, and multi-function printer device | |
JP6354328B2 (en) | Image reading apparatus, image forming apparatus, and image reading method | |
JP2007129278A (en) | Image reading apparatus | |
JP4049031B2 (en) | Image reading device | |
US6611360B1 (en) | Image reading apparatus | |
JP2006229645A (en) | Image processing apparatus | |
JP4024737B2 (en) | Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, and program | |
JP6919460B2 (en) | Image reader, image forming device and image reading method | |
JP2017199998A (en) | Scanner and production method for scanning image | |
JPH09238237A (en) | Image reader and image reproducing device | |
JP2013030971A (en) | Image reading apparatus, image forming apparatus, light amount adjusting method, and program | |
JP4864029B2 (en) | Document reader | |
JP4835140B2 (en) | Document reader | |
KR100671548B1 (en) | Multi-function product capable of setting adaptive contrast and method thereof | |
JP2023140489A (en) | Image reading device and correction data creation method | |
JP4936076B2 (en) | Image reading apparatus and image reading method | |
JP2009188750A (en) | Document reading apparatus | |
JP2010283437A (en) | Image reading apparatus and image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080624 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20090603 |