[go: up one dir, main page]

JP2017199998A - Scanner and production method for scanning image - Google Patents

Scanner and production method for scanning image Download PDF

Info

Publication number
JP2017199998A
JP2017199998A JP2016087876A JP2016087876A JP2017199998A JP 2017199998 A JP2017199998 A JP 2017199998A JP 2016087876 A JP2016087876 A JP 2016087876A JP 2016087876 A JP2016087876 A JP 2016087876A JP 2017199998 A JP2017199998 A JP 2017199998A
Authority
JP
Japan
Prior art keywords
shading
result
external light
measurement
sensor
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.)
Pending
Application number
JP2016087876A
Other languages
Japanese (ja)
Inventor
康平 新井
Kohei Arai
康平 新井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2016087876A priority Critical patent/JP2017199998A/en
Publication of JP2017199998A publication Critical patent/JP2017199998A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

【課題】外光が強い状態であっても高品質のスキャンを行う。
【解決手段】光源が消灯した状態でセンサーに届く外光の強さを計測する外光計測を行い計測結果が閾値を超えているか否かを判断する判断部と、前記外光計測の結果が閾値を超えていない場合は、シェーディング測定を行った結果であるシェーディング結果の中の最新の結果を次のスキャンで用いる前記シェーディング結果とし、前記外光計測の結果が前記閾値を超えている場合は、過去の前記外光計測の結果が前記閾値を超えていない場合の前記シェーディング結果を次のスキャンで用いる前記シェーディング結果とする、シェーディング部と、スキャン指示を受け付けると、前記外光計測を行わせ、次のスキャンで用いる前記シェーディング結果が決まったのちにスキャンを行わせる制御部と、を備えたスキャナーが構成される。
【選択図】図3
A high-quality scan is performed even in a strong external light state.
A determination unit that performs external light measurement for measuring the intensity of external light reaching a sensor in a state where a light source is turned off and determines whether or not the measurement result exceeds a threshold value, and the result of the external light measurement is If the threshold is not exceeded, the latest result in the shading result, which is the result of the shading measurement, is used as the shading result used in the next scan, and the external light measurement result exceeds the threshold. The shading result when the past external light measurement result does not exceed the threshold is used as the shading result to be used in the next scan, and when the scan instruction is received, the external light measurement is performed. And a control unit configured to perform scanning after the shading result used in the next scan is determined.
[Selection] Figure 3

Description

本発明はスキャナーおよびスキャン画像の生産方法に関する。   The present invention relates to a scanner and a scan image production method.

スキャナーは、光源によってスキャン対象を照らし、スキャン対象からの光をセンサーで検知することによってスキャン対象を読み取ったスキャン画像を生産する。センサーや光源の特性にはばらつきや経時的な変動が生じるため、一般的にはシェーディング測定が行われ、測定されたシェーディング結果に基づいてスキャン画像を生産することが行われている。シェーディング測定を行う際、センサーに対して光源からの光以外の光、すなわち、外光が入射すると、シェーディング結果に影響が生じるため、外光の影響を低減するための技術が開発されている。例えば、特許文献1においては、原稿を後端部まで読み取った後、原稿が排紙位置に達する間に白レベルと黒レベルを取得する技術が開示されている。   The scanner illuminates the scan target with a light source, and detects a light from the scan target with a sensor to produce a scan image obtained by reading the scan target. Since variations and temporal changes occur in the characteristics of sensors and light sources, shading measurement is generally performed, and a scanned image is produced based on the measured shading result. When performing shading measurement, if light other than light from the light source, that is, external light is incident on the sensor, the shading result is affected. Therefore, a technique for reducing the influence of external light has been developed. For example, Patent Document 1 discloses a technique for acquiring a white level and a black level while reading a document to the rear end and then the document reaches a paper discharge position.

特開2013−150175号公報JP 2013-150175 A

従来の技術においては、原稿を後端部まで読み取った後、原稿が排紙位置に達する間に白レベルと黒レベルを取得している。しかし、原稿を後端部まで読み取った後、原稿が排紙位置に達する間であったとしても完全に外光が排除されるとは限らない。特に外光の強さが非常に強い場合においては、白レベルと黒レベルが外光の影響を受け、適正に白レベルと黒レベルが測定できない。   In the conventional technique, after the original is read to the rear end, the white level and the black level are acquired while the original reaches the paper discharge position. However, even if the original reaches the paper discharge position after the original is read to the rear end, the external light is not necessarily completely eliminated. In particular, when the intensity of outside light is very strong, the white level and black level are affected by outside light, and the white level and black level cannot be measured properly.

本発明は、外光が強い状態であっても高品質のスキャンを行うことを目的とする。   An object of the present invention is to perform high-quality scanning even in a strong external light state.

上記目的を達成するためのスキャナーは、光源が消灯した状態でセンサーに届く外光の強さを計測する外光計測を行い計測結果が閾値を超えているか否かを判断する判断部と、外光計測の結果が閾値を超えていない場合は、シェーディング測定を行った結果であるシェーディング結果の中の最新の結果を次のスキャンで用いるシェーディング結果とし、外光計測の結果が閾値を超えている場合は、過去の外光計測の結果が閾値を超えていない場合のシェーディング結果を次のスキャンで用いるシェーディング結果とする、シェーディング部と、スキャン指示を受け付けると、外光計測を行わせ、次のスキャンで用いるシェーディング結果が決まったのちにスキャンを行わせる制御部と、を備える。   The scanner for achieving the above object includes an external light measurement that measures the intensity of external light reaching the sensor with the light source turned off, a determination unit that determines whether the measurement result exceeds a threshold, and an external If the light measurement result does not exceed the threshold value, the latest result in the shading result, which is the result of the shading measurement, is used as the shading result used in the next scan, and the external light measurement result exceeds the threshold value. If the result of the past external light measurement does not exceed the threshold value, the shading result is used as the shading result to be used in the next scan. A control unit that performs scanning after a shading result used in scanning is determined.

すなわち、判断部においては、外光計測の結果を閾値と比較することにより、シェーディング測定が適正に実施できる程度の外光の強さであるか否かを判断する。そして、外光の強さが閾値を超えており、過度に強い場合には、過去に測定されたシェーディング結果であって、外光の強さが閾値を超えていなかった場合のシェーディング結果を利用する。外光の強さが閾値を超えておらず、適正な範囲である場合には、最新のシェーディング結果を利用する。   That is, the determination unit determines whether or not the external light intensity is high enough to allow the shading measurement to be properly performed by comparing the external light measurement result with a threshold value. If the external light intensity exceeds the threshold and is excessively strong, the shading result measured in the past and the external light intensity not exceeding the threshold is used. To do. When the intensity of outside light does not exceed the threshold and is in an appropriate range, the latest shading result is used.

この構成において、外光の強さが閾値を超えている場合、過去のシェーディング結果が利用されるため、当該シェーディング結果は外光の強さを反映していない。しかし、スキャナーにおいては一般的に、スキャン対象を読み取っている状態において光源からセンサーに到達する光路にはスキャン対象が存在する。従って、外光の大半はスキャン対象で遮蔽され、外光の強さが過大であったとしても外光の大半はセンサーに到達しない。   In this configuration, when the intensity of outside light exceeds the threshold value, the past shading result is used, and therefore the shading result does not reflect the intensity of outside light. However, in general, in a scanner, a scan target exists in an optical path that reaches the sensor from the light source in a state where the scan target is being read. Therefore, most of the outside light is shielded by the scan target, and even if the intensity of the outside light is excessive, most of the outside light does not reach the sensor.

このため、過去に適正に測定されたシェーディング結果を利用した場合、過大な強さの外光の影響を受けた状態で測定されたシェーディング結果を利用した場合よりも正確にスキャンを行える。そこで、外光の強さが過大である場合、過去に適正に測定されたシェーディング結果を利用してスキャンを行えば、外光の影響を受けた状態で測定されたシェーディング結果を利用してスキャンを行うよりも高品質のスキャンを行うことができる。   For this reason, when a shading result appropriately measured in the past is used, scanning can be performed more accurately than when a shading result measured under the influence of excessive intensity of external light is used. Therefore, if the intensity of the external light is excessive, scanning using the shading result measured in the past properly will use the shading result measured under the influence of external light. Higher quality scans can be performed than

スキャナーのブロック図である。It is a block diagram of a scanner. スキャナーの搬送機構の周辺の構造を示す図である。It is a figure which shows the structure of the periphery of the conveyance mechanism of a scanner. シェーディング測定の具体例を示す図である。It is a figure which shows the specific example of a shading measurement. スキャン処理のフローチャートである。It is a flowchart of a scanning process. 他の実施形態にかかるスキャン処理のフローチャートである。It is a flowchart of the scanning process concerning other embodiment.

ここでは、下記の順序に従って本発明の実施の形態について説明する。
(1)スキャナーの構成:
(1−1)シェーディング測定:
(2)スキャン処理:
(3)他の実施形態:
Here, embodiments of the present invention will be described in the following order.
(1) Scanner configuration:
(1-1) Shading measurement:
(2) Scan processing:
(3) Other embodiments:

(1)スキャナーの構成:
図1は、本発明の一実施例にかかるスキャナー1のブロック図である。スキャナー1は、コントローラー10とセンサー20と照明部30と搬送機構40と操作部50と通信部60とを備える。コントローラー10は、図示しない記録媒体と、当該記録媒体からプログラムを読み出して実行するプロセッサー(特定の処理を実行するように回路が構成されたASIC等の専用回路であってもよい)を備える。
(1) Scanner configuration:
FIG. 1 is a block diagram of a scanner 1 according to an embodiment of the present invention. The scanner 1 includes a controller 10, a sensor 20, an illumination unit 30, a transport mechanism 40, an operation unit 50, and a communication unit 60. The controller 10 includes a recording medium (not shown) and a processor that reads and executes a program from the recording medium (may be a dedicated circuit such as an ASIC in which a circuit is configured to execute a specific process).

コントローラー10は、スキャナー1が備える各部(センサー20、照明部30、搬送機構40、操作部50)を制御し、スキャン対象である原稿を読み取ったスキャン画像を生産する。スキャン画像は、種々の態様で利用されてよく、スキャナー1が備える図示しない記録媒体に保存されてもよいし、可搬型の記録媒体に保存されてもよいし、通信部60を介して他の装置に提供されてもよい。本実施形態においてスキャン画像は、通信部60を介してコンピューター70に出力される。   The controller 10 controls each unit (the sensor 20, the illumination unit 30, the transport mechanism 40, and the operation unit 50) included in the scanner 1, and produces a scanned image obtained by reading a document that is a scan target. The scanned image may be used in various forms, and may be stored in a recording medium (not shown) included in the scanner 1, may be stored in a portable recording medium, or may be stored in another manner via the communication unit 60. It may be provided to the device. In the present embodiment, the scanned image is output to the computer 70 via the communication unit 60.

センサー20は、主走査方向に延びるラインセンサーであり、原稿台に置かれた原稿を読み取ることができる。センサー20は受光した光の強さに応じた信号を出力する複数の受光素子を備えており、当該受光素子が主走査方向において並ぶことによってラインセンサーを構成している。なお、本実施形態において、主走査方向は原稿が搬送される副走査方向に垂直な方向である。   The sensor 20 is a line sensor extending in the main scanning direction, and can read a document placed on a document table. The sensor 20 includes a plurality of light receiving elements that output signals corresponding to the intensity of received light, and the light receiving elements are arranged in the main scanning direction to form a line sensor. In the present embodiment, the main scanning direction is a direction perpendicular to the sub-scanning direction in which the document is conveyed.

照明部30は、原稿の搬送経路に設けられた読取領域に照明光を照射する光源30aを備えている。読取領域に存在する物体(原稿や白基準板等)にて反射した光はセンサー20にて受光され、センサー20は各受光素子での光の受光量に応じた信号を生成する。   The illumination unit 30 includes a light source 30a that irradiates illumination light to a reading region provided in a document transport path. Light reflected by an object (such as an original or a white reference plate) existing in the reading area is received by the sensor 20, and the sensor 20 generates a signal corresponding to the amount of light received by each light receiving element.

センサー20は、AFE(アナログフロントエンド)20aを備えている。AFE20aは、光の受光量に応じて受光素子が出力した信号にゲインを作用させて出力する回路やA/D変換する回路を含む。本実施形態においてAFE20aは、当該ゲインを示す情報を記録する記録媒体を備えており、AFE20aにおいては、当該ゲインを示す情報に基づいて、センサー20の黒レベルを最小の出力値、白レベルを最大の出力値にするゲイン調整を行う。なお、記録媒体には、センサー20の初期の特性に基づいて決定されたゲインを示す情報の初期値が記録されている。ゲイン調整は、センサー20が備える受光素子毎に行われてもよいし、複数の受光素子が備えられたチップ毎に行われてもよいし、センサー20全体に対して行われてもよい。   The sensor 20 includes an AFE (analog front end) 20a. The AFE 20a includes a circuit that outputs a signal by applying a gain to a signal output from the light receiving element in accordance with the amount of received light, and a circuit that performs A / D conversion. In this embodiment, the AFE 20a includes a recording medium that records information indicating the gain. In the AFE 20a, the black level of the sensor 20 is set to the minimum output value and the white level is set to the maximum based on the information indicating the gain. Adjust the gain to the output value. Note that an initial value of information indicating a gain determined based on an initial characteristic of the sensor 20 is recorded on the recording medium. The gain adjustment may be performed for each light receiving element included in the sensor 20, may be performed for each chip provided with a plurality of light receiving elements, or may be performed for the entire sensor 20.

搬送機構40は、原稿を搬送する機構である。搬送機構40は、原稿を読取領域外から読取領域に搬送し、さらに、原稿を読取領域から読取領域外に搬送する機構であり、原稿が搬送されている過程において、照明部30による照明とセンサー20による読取が行われることでスキャン画像が生産される。   The transport mechanism 40 is a mechanism for transporting a document. The transport mechanism 40 is a mechanism for transporting a document from the outside of the reading region to the reading region, and further transporting the document from the reading region to the outside of the reading region. Scanned images are produced by the reading by 20.

図2は、搬送機構40の構成例を示す図である。同図2に示す搬送機構40は、カバー41と原稿台42とを備えている。カバー41と原稿台42には、対となる搬送ローラー41a,42aが備えられており、対となる搬送ローラー41a,42aで原稿Pを挟むことによって搬送方向に原稿Pを搬送することができる。原稿台42の内部には、センサー20、光源30aが配置されている。原稿台42の上面にはガラス42bが配置され、カバー41の下面には白基準板41bが配置されている。ガラス42bおよび白基準板41bの間が原稿Pの読取領域である。   FIG. 2 is a diagram illustrating a configuration example of the transport mechanism 40. The transport mechanism 40 shown in FIG. 2 includes a cover 41 and a document table 42. The cover 41 and the document table 42 are provided with a pair of transport rollers 41a and 42a, and the document P can be transported in the transport direction by sandwiching the document P between the pair of transport rollers 41a and 42a. Inside the document table 42, a sensor 20 and a light source 30a are arranged. A glass 42 b is disposed on the upper surface of the document table 42, and a white reference plate 41 b is disposed on the lower surface of the cover 41. An area between the glass 42b and the white reference plate 41b is a reading area of the original P.

操作部50は、利用者に対して種々の情報を提供する出力部と、利用者による入力操作を受け付ける入力部とを備えている。コントローラー10は、制御部13の機能により、スキャン条件の選択肢やスキャン指示等を行うための情報を出力部に表示させる。利用者は、当該出力部の出力に基づいてスキャン条件の選択やスキャン指示等を入力することができる。   The operation unit 50 includes an output unit that provides various information to the user and an input unit that receives an input operation by the user. The controller 10 causes the output unit to display information for performing scanning condition options, a scan instruction, and the like by the function of the control unit 13. The user can input scan condition selection, a scan instruction, and the like based on the output of the output unit.

通信部60は、外部の装置(本実施形態においては、外部のコンピューター70)と通信を行うための装置であり、コントローラー10は、任意の情報をコンピューター70に送信し、コンピューター70から各種の指示等を受け取ることができる。本実施形態において、コントローラー10がスキャン画像を生産すると、通信部60を介してスキャン画像がコンピューター70に送信される。   The communication unit 60 is a device for communicating with an external device (in this embodiment, an external computer 70), and the controller 10 transmits arbitrary information to the computer 70 and receives various instructions from the computer 70. Etc. can receive. In the present embodiment, when the controller 10 produces a scan image, the scan image is transmitted to the computer 70 via the communication unit 60.

(1−1)シェーディング測定:
センサー20のAFE20aは、光源30aが消灯された状態におけるセンサー20の検出強度を黒レベル、光源30aが点灯された状態におけるセンサー20の検出強度(白基準板41bから反射された光の強度)を白レベルとみなし、黒レベルを最小の出力値、白レベルを最大の出力値にするゲイン調整を行う。すなわち、黒レベルと白レベルはセンサーの検出可能範囲に対応しており、AFE20aは、センサーの検出可能範囲がデジタル出力の最小値〜最大値となるように、ゲイン調整を行う。
(1-1) Shading measurement:
The AFE 20a of the sensor 20 sets the detection intensity of the sensor 20 when the light source 30a is turned off to the black level, and the detection intensity of the sensor 20 when the light source 30a is turned on (the intensity of light reflected from the white reference plate 41b). Considering the white level, the gain adjustment is performed so that the black level is the minimum output value and the white level is the maximum output value. That is, the black level and the white level correspond to the detectable range of the sensor, and the AFE 20a performs gain adjustment so that the detectable range of the sensor becomes the minimum value to the maximum value of the digital output.

黒レベルと白レベルはセンサー20の特性に依存して変動し得る。例えば、暗電流等のノイズやセンサー毎の製造誤差、経時変化等によってセンサー20の特性が変動し、この変動に応じて黒レベルと白レベルとが変動し得る。そこで、本実施形態においてコントローラー10は、このような特性の変動を反映した状態でゲイン調整を行って高品質のスキャンを実行するために、スキャン指示が行われる度に黒レベルと白レベルとを測定するシェーディング測定を実行する。   The black level and white level can vary depending on the characteristics of the sensor 20. For example, the characteristics of the sensor 20 may fluctuate due to noise such as dark current, manufacturing errors for each sensor, changes with time, etc., and the black level and white level may fluctuate in accordance with this fluctuation. Therefore, in the present embodiment, the controller 10 adjusts the gain in a state reflecting such characteristic variation and executes a high-quality scan, so that the black level and the white level are set each time a scan instruction is issued. Perform the shading measurement to be measured.

ただし、当該シェーディング測定の結果はスキャナー1の外光の影響を受けるため、外光の強さが過大である場合、シェーディング結果をゲイン調整に利用するとスキャンの品質を低下させてしまう。具体的には、本実施形態かかるスキャナー1において、読取領域はカバー41と原稿台42とに挟まれているが、カバー41と原稿台42との間には原稿Pを搬送するための空間が確保されており、外部から外光Eが読取領域に進入し得る。   However, since the result of the shading measurement is affected by the external light of the scanner 1, if the intensity of the external light is excessive, the quality of the scan is deteriorated if the shading result is used for gain adjustment. Specifically, in the scanner 1 according to the present embodiment, the reading area is sandwiched between the cover 41 and the document table 42, but there is a space for conveying the document P between the cover 41 and the document table 42. The external light E can enter the reading area from the outside.

そして、本実施形態においてシェーディング測定は、原稿Pが読取領域に存在しない状態で実行されるため、図2に示す外光Eが過度に読取領域に進入し、センサー20によって外光が検出されることがあり得る。一方、スキャンが行われる場合、ほとんどの期間において原稿Pが搬送方向の前方および後方に存在する搬送ローラー41a,42aに挟まれた図2において破線で示す状態となる。従って、外光Eが過度に強い場合であってもスキャン中は大半の外光が原稿Pによって遮光され、外光Eが過度に強い状態で測定されたシェーディング結果に基づいてスキャンを行うと、スキャン品質が低下する。   In this embodiment, since the shading measurement is performed in a state where the document P does not exist in the reading area, the external light E shown in FIG. 2 excessively enters the reading area, and the external light is detected by the sensor 20. It can happen. On the other hand, when scanning is performed, the document P is in a state indicated by a broken line in FIG. 2 where the document P is sandwiched between the transport rollers 41a and 42a existing in the front and rear in the transport direction. Therefore, even when the external light E is excessively strong, most of the external light is blocked by the document P during scanning, and scanning is performed based on the shading result measured in a state where the external light E is excessively strong. Scan quality is degraded.

そこで、本実施形態においてコントローラー10は、外光が強い場合であっても高品質なスキャンを実行するために、図示しないプログラムによって判断部11,シェーディング部12,制御部13の各機能を実行可能である。利用者が操作部50によってスキャン指示を行うと、制御部13は、センサー20,照明部30,搬送機構40を制御し、原稿Pを搬送しながら照明部の光源30aから読取領域に存在する原稿に光を照射させ、センサー20に読取を行わせる。   Therefore, in this embodiment, the controller 10 can execute the functions of the determination unit 11, the shading unit 12, and the control unit 13 by a program (not shown) in order to execute a high-quality scan even when the outside light is strong. It is. When the user gives a scan instruction using the operation unit 50, the control unit 13 controls the sensor 20, the illumination unit 30, and the conveyance mechanism 40, while conveying the document P, the document existing in the reading area from the light source 30 a of the illumination unit Is irradiated with light to cause the sensor 20 to perform reading.

ただし、本実施形態において制御部13は、外光が強い場合であっても高品質なスキャンを実行するために、スキャン指示を受け付けた場合、外光計測を行わせ、次のスキャンで用いるシェーディング結果が決まったのちに当該次のスキャンを行わせる。具体的には制御部13は、スキャンを開始する前に、シェーディング部12に指示を行ってシェーディング測定を行わせ、判断部11に指示を行って判断を行わせた後に、シェーディング部12にシェーディング結果を決定させる。   However, in this embodiment, in order to execute a high-quality scan even when the outside light is strong, the control unit 13 causes the outside light measurement to be performed when the scan instruction is received, and is used for the next scan. After the result is determined, the next scan is performed. Specifically, before starting scanning, the control unit 13 instructs the shading unit 12 to perform shading measurement, instructs the determination unit 11 to perform determination, and then causes the shading unit 12 to perform shading. Let the result be determined.

シェーディング部12は、次のスキャンで用いるシェーディング結果を決定する前に、シェーディング測定を実行する。本実施形態においてシェーディング測定は、黒レベルを測定する黒シェーディング測定と、白レベルを測定する白シェーディング測定とによって構成される。具体的には、コントローラー10は、照明部30を制御して光源30aを消灯させ、搬送機構40を制御して読取領域に原稿Pが存在しない状態とする。そして、コントローラー10は、光源30aが消灯され、さらに読取領域に原稿Pが存在しない状態において、センサー20が出力する信号を特定する。当該信号は、ゲイン調整が行われる前の信号であり、コントローラー10は、当該信号を黒レベルと見なす。さらに、コントローラー10は、照明部30を制御して光源30aを点灯させる。そして、コントローラー10は、光源30aが点灯され、さらに読取領域に原稿Pが存在いない状態において、センサー20が出力する信号を特定する。当該信号は、ゲイン調整が行われる前の信号であり、コントローラー10は、当該信号を白レベルと見なす。   The shading unit 12 performs shading measurement before determining a shading result to be used in the next scan. In the present embodiment, the shading measurement includes black shading measurement for measuring the black level and white shading measurement for measuring the white level. Specifically, the controller 10 controls the illumination unit 30 to turn off the light source 30a and controls the transport mechanism 40 so that the document P does not exist in the reading area. Then, the controller 10 specifies a signal output from the sensor 20 in a state where the light source 30a is turned off and the document P does not exist in the reading area. The signal is a signal before gain adjustment is performed, and the controller 10 regards the signal as a black level. Furthermore, the controller 10 controls the illumination unit 30 to turn on the light source 30a. Then, the controller 10 specifies a signal output from the sensor 20 in a state where the light source 30a is turned on and the document P does not exist in the reading area. The signal is a signal before gain adjustment is performed, and the controller 10 regards the signal as a white level.

黒レベルおよび白レベルを示す信号、すなわちシェーディング結果は、ゲイン調整のために利用される。図3は、時系列で並ぶ異なるタイミング(T1,T2,T3,T41(またはT1,T2,T3,T42))で行われたシェーディング測定における黒レベルや白レベルの例を示している。同図3においては、縦軸がセンサー20の出力値であり、ここでは、ゲイン調整が行われる前の出力値(または光量)を模式的に示している。ここでは、センサー20の出力値の最小値がmin、最大値がmaxである。図3に示す棒グラフでは、黒レベルの出力値に相当する部分にKと付記し、光源の点灯に起因する光量をLで模式的に示している。従って、例えば、タイミングT1においては、左側の棒グラフが黒レベルを測定する黒シェーディング測定を模式的に示し、右側の棒グラフが白レベルを測定する白シェーディング測定を模式的に示している。 A signal indicating the black level and the white level, that is, the shading result is used for gain adjustment. FIG. 3 shows the black level and white level in the shading measurement performed at different timings (T 1 , T 2 , T 3 , T 41 (or T 1 , T 2 , T 3 , T 42 )) arranged in time series. An example is shown. In FIG. 3, the vertical axis represents the output value of the sensor 20, and here, the output value (or light amount) before gain adjustment is schematically shown. Here, the minimum value of the output value of the sensor 20 is min, and the maximum value is max. In the bar graph shown in FIG. 3, K is added to the portion corresponding to the output value of the black level, and the light quantity resulting from the lighting of the light source is schematically indicated by L. Therefore, for example, at timing T 1 , the left bar graph schematically shows black shading measurement for measuring the black level, and the right bar graph schematically shows white shading measurement for measuring the white level.

タイミングT1においては、黒レベルがB1であり、センサー20の出力値の最小値minよりも大きい。従って、ゲイン調整においては、黒レベルB1を最小値minとする補正が行われる。また、タイミングT1においては、白レベルがW1であり、センサー20の出力値の最大値maxよりも小さい。従って、ゲイン調整においては、白レベルW1を最大値maxとする補正が行われる。すなわち、シェーディング結果として、黒レベルB1および白レベルW1が得られると、コントローラー10は、AFE20aの記録媒体に当該黒レベルB1および白レベルW1を記録する。この結果、AFE20aにおいては、黒レベルB1をセンサー20の出力値の最小値、白レベルW1をセンサー20の出力値の最大値とするゲイン調整を行う。 At the timing T 1 , the black level is B 1 and is larger than the minimum value min of the output value of the sensor 20. Accordingly, in the gain adjustment, correction is performed so that the black level B 1 is the minimum value min. At the timing T 1 , the white level is W 1 and is smaller than the maximum value max of the output value of the sensor 20. Therefore, in the gain adjustment, correction is performed so that the white level W 1 is the maximum value max. That is, when the black level B 1 and the white level W 1 are obtained as a shading result, the controller 10 records the black level B 1 and the white level W 1 on the recording medium of the AFE 20a. As a result, in the AFE20a, it performs gain adjustment for the black level B 1 the minimum value of the output value of the sensor 20, the maximum value of the output value of the white level W 1 sensor 20.

タイミングT2におけるシェーディング測定により、シェーディング結果として、黒レベルB2および白レベルW2が得られると、コントローラー10は、AFE20aの記録媒体に当該黒レベルB2および白レベルW2を記録する。この結果、AFE20aにおいては、黒レベルB2をセンサー20の出力値の最小値、白レベルW2をセンサー20の出力値の最大値とするゲイン調整を行う。 When the black level B 2 and the white level W 2 are obtained as shading results by the shading measurement at the timing T 2 , the controller 10 records the black level B 2 and the white level W 2 on the recording medium of the AFE 20a. As a result, in the AFE20a, it performs gain adjustment for the black level B 2 minimum value of the output value of the sensor 20, the maximum value of the output value of the white level W 2 sensor 20.

タイミングT3においては黒シェーディング測定により黒レベルB3が得られるが、白シェーディング測定においてはセンサー20の出力値の最大値maxが得られる(光量が飽和している)ため、コントローラー10は、AFE20aの記録媒体に当該黒レベルB3および白レベルmaxを記録する。この結果、AFE20aにおいては、黒レベルB3をセンサー20の出力値の最小値とし、白レベルmaxを変化させないようにゲイン調整を行う。 At the timing T 3 , the black level B 3 is obtained by the black shading measurement, but since the maximum value max of the output value of the sensor 20 is obtained by the white shading measurement (the amount of light is saturated), the controller 10 uses the AFE 20a. the black level B 3 and white levels max is recorded on the recording medium. As a result, in the AFE20a, the black level B 3 and the minimum value of the output value of the sensor 20, adjusts the gain so as not to change the white level max.

以上の例に示すように、異なるタイミングで行われたシェーディング測定によって得られたシェーディング結果は異なり得る。すなわち、シェーディング結果は、センサー20の経時変化による特性の変動を反映して、経時的に変動し得る。例えば、時系列に並ぶタイミングT1,T2,T3で比較すると、時間の経過とともに黒レベルが増加している。このように、センサー20の特性には経時変化が含まれ得るため、シェーディング結果を利用したゲイン調整を高精度に実行し、高品質のスキャン画像を生産するためには、最新のシェーディング結果(スキャンタイミングに最も近いタイミングで測定されたシェーディング結果)を利用してスキャン画像が生産されることが好ましい。 As shown in the above example, the shading results obtained by the shading measurements performed at different timings may be different. That is, the shading result can change with time reflecting the change in characteristics due to the change of the sensor 20 over time. For example, when comparing the timings T 1 , T 2 , and T 3 arranged in time series, the black level increases with the passage of time. As described above, since the characteristics of the sensor 20 may include a change with time, the latest shading result (scan) is necessary to perform gain adjustment using the shading result with high accuracy and produce a high-quality scan image. It is preferable that a scanned image is produced using a shading result measured at a timing closest to the timing.

しかし、外光の強さが過大である場合、最新のシェーディング結果よりも、外光の強さが過大ではなかった過去のシェーディング結果を利用した方が高品質のスキャンを行える可能性が高くなる。具体的には、外光の強さが過大である場合、シェーディング測定の際にセンサー20に到達する外光の量と、スキャンの際に原稿Pに遮光された状態でセンサー20に到達する外光の量とが著しく異なるため、最新のシェーディング結果を利用すると高品質にスキャン画像を生産することができない。   However, if the intensity of the external light is excessive, it is more likely that a higher quality scan can be performed by using the past shading results where the external light intensity was not excessive, rather than the latest shading results. . Specifically, when the intensity of external light is excessive, the amount of external light that reaches the sensor 20 during shading measurement and the external light that reaches the sensor 20 while being blocked by the original P during scanning. Since the amount of light is significantly different, a scanned image cannot be produced with high quality using the latest shading results.

図3においては、タイミングT3よりも後のタイミングにおいてシェーディング測定が行われた場合の例を、外光の強さが過大ではない場合(タイミングT41)と外光の強さが過大である場合(タイミングT42)について示している。なお、各例においては、シェーディング測定が行われた段階での光量の棒グラフを左側に示しており、その後、原稿Pが読取領域に搬送された状態での棒グラフ(原稿Pによって外光が遮光された状態)を右側に示している。また、後述のように、シェーディング測定とスキャンとではセンサー20に光を蓄積させるための時間が異なるため、図3に示す棒グラフは、単位時間当たりの光量を模式的に示している。 In FIG. 3, an example in which the shading measurement is performed at a timing later than timing T 3 , when the intensity of external light is not excessive (timing T 41 ) and the intensity of external light is excessive. The case (timing T 42 ) is shown. In each example, a bar graph of the amount of light at the stage where the shading measurement is performed is shown on the left side, and then the bar graph in a state where the document P is conveyed to the reading area (external light is blocked by the document P). Is shown on the right side. As will be described later, since the time for accumulating light in the sensor 20 differs between the shading measurement and the scan, the bar graph shown in FIG. 3 schematically shows the amount of light per unit time.

タイミングT41においては、黒シェーディング測定の際に外光がセンサー20に到達しており、光源30aが消灯された状態で黒シェーディング測定が行われたとしても、左側の棒グラフ(G1)で示すように外光の光量Loが上乗せされた状態で黒レベルB41が得られる。白シェーディング測定においては光量が飽和しているためセンサー20の出力値の最大値maxが得られる。このように光量Loの外光がセンサー20に到達する状況で原稿Pが読取領域に搬送されると、原稿Pに遮光されてセンサー20に到達する外光の光量が減少する。図3のタイミングT41においては、右側の棒グラフ(G2)において、センサー20に到達する外光の光量が減少し、光量L1となったことを示している。 At timing T 41 , even if black light shading measurement is performed with external light reaching the sensor 20 during black shading measurement and the light source 30 a is turned off, the bar graph (G 1 ) on the left side shows. As described above, the black level B 41 is obtained in a state where the amount of external light Lo is added. In the white shading measurement, since the light amount is saturated, the maximum value max of the output value of the sensor 20 is obtained. When the original P is conveyed to the reading area in the situation where the external light of the light amount Lo reaches the sensor 20 in this way, the amount of external light reaching the sensor 20 by being blocked by the original P is reduced. At a timing T 41 in FIG. 3, the right side of the bar (G 2), amount of external light reaching the sensor 20 is reduced, indicating that a quantity of light L 1.

当該タイミングT41は、センサー20に到達する外光の光量Loが過大ではない場合の例である。すなわち、タイミングT41においては、シェーディング測定によって黒レベルB41が得られるが、当該黒レベルB41は原稿Pによる遮光が行われた場合における黒レベルB411と大差がない。この場合、タイミングT41におけるシェーディング結果を次のスキャンで用いても過度にスキャン画像の品質を低下させることなくスキャンを行うことができる。 The timing T 41 is an example when the amount of external light Lo reaching the sensor 20 is not excessive. That is, at the timing T 41 , the black level B 41 is obtained by the shading measurement, but the black level B 41 is not significantly different from the black level B 411 when the original P is shielded from light. In this case, it is possible to scan without shading results in the timing T 41 to lower the quality of the excessive scan image be used in the next scan.

一方、タイミングT42においては、左側の棒グラフ(G1)で示すように黒シェーディング測定の際に過大な光量Lo2の外光がセンサー20に到達しており、黒シェーディング測定が行われると過大な光量Lo2が上乗せされた状態で黒レベルB42が得られる。白シェーディング測定においては光量が飽和しているためセンサー20の出力値の最大値maxが得られる。このように光量Loの外光がセンサー20に到達する状況で原稿Pが読取領域に搬送されると、原稿Pに遮光され、右側の棒グラフ(G2)に示すようにセンサー20に光量L2の外光が到達する。従って、このような遮光が行われた状態での黒レベルは黒レベルB422となる。 On the other hand, at the timing T 42, the external light excessive amount Lo 2 when the black shading measured as shown in the left bar graph (G 1) has reached the sensor 20, the black shading measurement is made excessively large black level B 42 is obtained in a state where a light amount Lo 2 is plus. In the white shading measurement, since the light amount is saturated, the maximum value max of the output value of the sensor 20 is obtained. Thus, when the original P is conveyed to the reading area in a situation where the external light of the light quantity Lo reaches the sensor 20, it is shielded by the original P, and the light quantity L 2 is applied to the sensor 20 as shown in the right bar graph (G 2 ). Outside light reaches. Therefore, the black level in a state where such light shielding is performed becomes the black level B 422 .

このように、タイミングT42においては、黒シェーディング測定によって測定された黒レベルB42と、遮光が行われた状態での黒レベルB422との差が極めて大きい。この場合、タイミングT42におけるシェーディング結果(黒レベルB42)を次のスキャンで用いると過度にスキャン画像の品質を低下させてしまう。 Thus, at the timing T 42 , the difference between the black level B 42 measured by the black shading measurement and the black level B 422 in the state where the light is shielded is extremely large. In this case, if the shading result (black level B 42 ) at the timing T 42 is used in the next scan, the quality of the scanned image is excessively degraded.

そこで、本実施形態においてコントローラー10は、外光の強さが過大であるか否かを判断部11の機能により判断する。すなわち、判断部11は、光源が消灯した状態でセンサー20に届く外光の強さを計測する外光計測を行い計測結果が閾値を超えているか否かを判断する機能をコントローラー10に実行させる。本実施形態においては、黒シェーディング測定の結果が、外光計測の結果として流用される。従って、本実施形態において、コントローラー10は、判断部11の機能により、シェーディング部12によるシェーディング測定の結果から黒シェーディング測定の結果を取得することによって外光計測を行った計測結果が取得されたと見なす。この構成によれば、外光計測と黒シェーディング測定とを同時に実施することが可能になる。   Therefore, in this embodiment, the controller 10 determines whether or not the intensity of external light is excessive by the function of the determination unit 11. In other words, the determination unit 11 causes the controller 10 to perform a function of performing external light measurement for measuring the intensity of external light reaching the sensor 20 with the light source turned off, and determining whether the measurement result exceeds the threshold value. . In the present embodiment, the result of black shading measurement is used as the result of external light measurement. Therefore, in the present embodiment, the controller 10 considers that the measurement result of the external light measurement is acquired by acquiring the result of the black shading measurement from the result of the shading measurement by the shading unit 12 by the function of the determination unit 11. . According to this configuration, external light measurement and black shading measurement can be performed simultaneously.

そして、コントローラー10は、判断部11の機能により、黒シェーディング測定の結果と閾値とを比較することによって外光計測の結果が閾値を超えているか否かを判断する。ここで閾値は、外光の強さが過大であり、当該外光の状態で得られたシェーディング結果に基づいてスキャン画像を生産すると、スキャン画像が不適切な結果となるか否かを判定できるように設定される。本実施形態においては、外光の強さを変化させながらシェーディング測定を行い、シェーディング結果を反映したスキャン画像の品質が許容範囲外となるような外光の強さを予め特定するなどして閾値が予め決定される。本実施形態においては、黒レベルと比較されるように閾値が予め定義されており、図3においては閾値の例をThとして示している。   Then, the controller 10 determines whether or not the result of the external light measurement exceeds the threshold value by comparing the result of the black shading measurement and the threshold value by the function of the determination unit 11. Here, the threshold value can be determined whether or not the scan image has an inappropriate result when the intensity of the external light is excessive and the scan image is produced based on the shading result obtained in the external light state. Is set as follows. In the present embodiment, the shading measurement is performed while changing the intensity of the external light, and the threshold of the external light is specified such that the quality of the scanned image reflecting the shading result is outside the allowable range. Is determined in advance. In the present embodiment, a threshold value is defined in advance so as to be compared with the black level. In FIG. 3, an example of the threshold value is indicated as Th.

コントローラー10は、シェーディング部12の機能により、次のスキャンで用いるシェーディング結果を特定する際に、外光測定の結果が閾値を超えている場合と超えていない場合とで、異なるシェーディング結果を次のスキャンで用いるシェーディング結果とするようにコントローラー10を機能させる。すなわち、コントローラー10は、判断部11によって外光計測の結果と閾値とを比較することにより、センサー20の経時変化による特性の変動が解消する利点を超えるほど外光の影響が大きいか否かを特定する。   When the controller 10 specifies the shading result to be used in the next scan by the function of the shading unit 12, the controller 10 determines different shading results depending on whether the external light measurement result exceeds the threshold value or not. The controller 10 is caused to function so as to obtain a shading result used in scanning. That is, the controller 10 compares the result of external light measurement with the threshold value by the determination unit 11 to determine whether or not the influence of the external light is large enough to exceed the advantage that the characteristic variation due to the temporal change of the sensor 20 is eliminated. Identify.

具体的には、図3に示す例において、タイミングT42においてスキャンを行う場合には、原稿Pで遮光された結果、黒レベルがB422となる。タイミングT42における黒シェーディング測定で測定された黒レベルB42と、タイミングT3における黒シェーディング測定で測定された黒レベルB3とを比較すると、黒レベルB42と黒レベルB422との差異はΔB4であり、黒レベルB3と黒レベルB422との差異はΔB3である。従って、タイミングT42における黒シェーディング測定で測定された黒レベルB42よりも、タイミングT3における黒シェーディング測定で測定された黒レベルB3の方が、実際のスキャンの際の黒レベルB422に近い。 Specifically, in the example shown in FIG. 3, when scanning is performed at timing T 42 , the black level becomes B 422 as a result of being shielded from light by the original P. When the black level B 42 measured by the black shading measurement at the timing T 42 is compared with the black level B 3 measured by the black shading measurement at the timing T 3 , the difference between the black level B 42 and the black level B 422 is ΔB 4 , and the difference between the black level B 3 and the black level B 422 is ΔB 3 . Therefore, the black level B 3 measured by the black shading measurement at the timing T 3 is the black level B 422 at the time of the actual scanning, rather than the black level B 42 measured by the black shading measurement at the timing T 42 . close.

従って、タイミングT42に示すほど外光が強い場合、センサー20の経時変化による特性の変動が解消する利点を超えるほど外光の影響が大きいといえる。そこで、このような場合、コントローラー10は、シェーディング部12の機能により、最新のシェーディング結果(黒レベルB422)ではなく、外光計測の結果が閾値を超えていなかった状態で得られた過去のシェーディング結果を、次のスキャンで用いるシェーディング結果とする。 Therefore, when the external light is strong as indicated by the timing T42, it can be said that the influence of the external light is large enough to exceed the advantage of eliminating the characteristic variation due to the change of the sensor 20 with time. Therefore, in such a case, the controller 10 uses the function of the shading unit 12 to determine the past shading obtained in a state where the external light measurement result did not exceed the threshold value, not the latest shading result (black level B 422 ). Let the shading result be the shading result used in the next scan.

なお、外光計測の結果が閾値を超えている場合、コントローラー10は、シェーディング部12の機能により、過去の外光計測の結果が閾値を超えていない場合のシェーディング結果の中の最新の結果を次のスキャンで用いるシェーディング結果とする。すなわち、シェーディング結果は、センサー20の経時変化による特性の変動を反映しているため、過去のシェーディング結果の中では、最も新しいシェーディング結果がセンサー20の経時変化を最も正確に示している可能性が高い。   When the external light measurement result exceeds the threshold, the controller 10 uses the function of the shading unit 12 to display the latest result among the shading results when the past external light measurement result does not exceed the threshold. The shading result used in the next scan is used. That is, since the shading result reflects the fluctuation of the characteristics due to the change of the sensor 20 with time, the latest shading result may most accurately indicate the change of the sensor 20 with time among the past shading results. high.

例えば、図3に示す例において、過去においてタイミングT1,T2,T3の順にシェーディング測定が行われ、最新のシェーディング測定がタイミングT42で行われた場合を想定する。この例においてタイミングT1,T2,T3では外光計測の結果が閾値を超えていないため、コントローラー10は、シェーディング部12の機能により、これらの中で最新のタイミングT3でのシェーディング結果を、次のスキャンで用いるシェーディング結果とする。 For example, in the example illustrated in FIG. 3, it is assumed that shading measurement is performed in the order of timings T 1 , T 2 , T 3 in the past, and the latest shading measurement is performed at timing T 42 . In this example, since the result of the external light measurement does not exceed the threshold value at the timings T 1 , T 2 , and T 3 , the controller 10 uses the function of the shading unit 12 to cause the shading result at the latest timing T 3 among them. Is the shading result used in the next scan.

すなわち、タイミングT42の段階では、外光計測の結果が閾値を超えていなかった最新のタイミングT3におけるシェーディング結果を示す情報がAFE20aの記録媒体に記録済である。そこで、コントローラー10は、タイミングT42でのシェーディング結果でAFE20aの記録媒体を更新しない。この結果、AFE20aは、当該記録媒体に記録された情報に基づいてゲイン調整を行う。すなわち、AFE20aにおいては、黒レベルB3をセンサー20の出力値の最小値とし、白レベルmaxを変化させないようにゲイン調整を行う。この構成によれば、過去のシェーディング結果の中でセンサー20の経時変化を最も正確に示している可能性が高いシェーディング結果を利用することができ、高品質のスキャンを行うことができる。 That is, in the step of timing T 42, information indicating the shading results in the latest timing T 3 in which the result of outside light measurement does not exceed the threshold value is recorded in a recording medium AFE20a. Therefore, the controller 10 does not update the recording medium AFE20a shading result at the timing T 42. As a result, the AFE 20a performs gain adjustment based on the information recorded on the recording medium. That is, in the AFE20a, the black level B 3 and the minimum value of the output value of the sensor 20, adjusts the gain so as not to change the white level max. According to this configuration, it is possible to use a shading result that is most likely to show the change with time of the sensor 20 most accurately among past shading results, and to perform high-quality scanning.

一方、外光測定の結果が閾値を超えていない場合、コントローラー10は、シェーディング部12の機能により、最新のシェーディング結果を次のスキャンで用いるシェーディング結果とする。例えば、図3に示す例において、タイミングT41でシェーディング測定が行われた場合、コントローラー10は、タイミングT41で得られたシェーディング結果をAFE20aの記録媒体に記録する。すなわち、タイミングT41において得られた黒レベルB41、白レベルmaxをAFE20aの記録媒体に記録する。この結果、AFE20aにおいては、黒レベルB41をセンサー20の出力値の最小値とし、白レベルmaxを変化させないようにゲイン調整を行う。 On the other hand, when the result of the external light measurement does not exceed the threshold value, the controller 10 uses the function of the shading unit 12 to set the latest shading result as a shading result used in the next scan. For example, in the example shown in FIG. 3, when the shading measurement at the timing T 41 is performed, the controller 10 records the shading results obtained at the timing T 41 to a recording medium AFE20a. That is, the black level B 41 and the white level max obtained at the timing T 41 are recorded on the recording medium of the AFE 20 a. As a result, in the AFE 20a, the black level B 41 is set to the minimum value of the output value of the sensor 20, and gain adjustment is performed so as not to change the white level max.

なお、本実施形態において、コントローラー10は、センサー20によって原稿Pのスキャンする場合の光の蓄積時間よりも長時間光を蓄積することで外光計測(シェーディング測定)を行う。すなわち、原稿Pのスキャンが行われる際のスキャン周期は一般的に極めて短い周期であるため、当該スキャンの際にセンサー20が光を蓄積する時間と同等で外光の強さを計測するのは困難である場合が多い。そこで、本実施形態において、コントローラー10が外光計測(シェーディング測定)を実行する際には、原稿Pのスキャンにおいてセンサー20が光を蓄積する時間よりもセンサー20が光を蓄積する時間を長くする。この構成によれば、より確実に外光計測を行うことが可能になる。   In the present embodiment, the controller 10 performs external light measurement (shading measurement) by accumulating light longer than the accumulation time of light when the document P is scanned by the sensor 20. That is, since the scan period when the original P is scanned is generally a very short period, the intensity of the external light is measured at the same time as the sensor 20 accumulates light during the scan. Often difficult. Therefore, in the present embodiment, when the controller 10 performs external light measurement (shading measurement), the time during which the sensor 20 accumulates light is longer than the time during which the sensor 20 accumulates light during scanning of the document P. . According to this configuration, external light measurement can be performed more reliably.

制御部13は、スキャン指示を受け付けると、以上のようにして次のスキャンで用いるシェーディング結果が決まったのちに、センサー20,照明部30,搬送機構40を制御してスキャンを行わせ、スキャン画像を生産させる。スキャン画像が生産されると、コントローラー10は、通信部60を介してコンピューター70に対してスキャン画像を出力する。この結果、コンピューター70においてスキャン画像を利用することが可能になる。以上のような本実施形態においては、外光の強さが閾値を超えている場合であっても、過去に適正に測定されたシェーディング結果を利用してスキャンを行うため、外光の影響を受けた状態で測定されたシェーディング結果を利用してスキャンを行うよりも高品質のスキャンを行うことができる。   Upon receiving the scan instruction, the control unit 13 controls the sensor 20, the illuminating unit 30, and the transport mechanism 40 to perform scanning after the shading result used in the next scan is determined as described above. To produce. When the scan image is produced, the controller 10 outputs the scan image to the computer 70 via the communication unit 60. As a result, the computer 70 can use the scanned image. In the present embodiment as described above, even if the intensity of the external light exceeds the threshold value, scanning is performed using a shading result appropriately measured in the past, so the influence of external light is reduced. Higher quality scanning can be performed than when scanning is performed using the shading result measured in the received state.

(2)スキャン処理:
次に、スキャン処理の手順を図4に示すフローチャートに沿って説明する。利用者が操作部50によってスキャン指示を行うと、コントローラー10は、制御部13の機能によって当該スキャン指示を受け付け、図4に示すスキャン処理を開始する。スキャン処理が開始されると、コントローラー10は、シェーディング部12の機能によりシェーディング測定を行う(ステップS100)。すなわち、コントローラー10は、原稿Pが読取領域に存在する場合には、搬送機構40に指示を行って原稿Pを排出させる。
(2) Scan processing:
Next, the procedure of the scanning process will be described along the flowchart shown in FIG. When the user gives a scan instruction using the operation unit 50, the controller 10 receives the scan instruction by the function of the control unit 13, and starts the scan process shown in FIG. When the scanning process is started, the controller 10 performs shading measurement by the function of the shading unit 12 (step S100). That is, when the document P exists in the reading area, the controller 10 instructs the transport mechanism 40 to discharge the document P.

また、コントローラー10は、センサー20に対して原稿Pのスキャンよりも長い周期でスキャンを行うように指示する。さらに、コントローラー10は、照明部30に指示を行って光源30aを消灯させ、光源30aが消灯した状態でセンサー20の検出強度を取得して黒レベルを測定する。さらに、コントローラー10は、照明部30に指示を行って光源30aを点灯させ、光源30aが点灯した状態でセンサー20の検出強度を取得して白レベルを測定する。黒レベルと白レベルが測定されると、制御部13は、図示しないメモリに測定結果を一時的に記録する。   In addition, the controller 10 instructs the sensor 20 to perform scanning at a cycle longer than that of the original P. Further, the controller 10 instructs the illumination unit 30 to turn off the light source 30a, acquires the detection intensity of the sensor 20 in a state where the light source 30a is turned off, and measures the black level. Further, the controller 10 instructs the illumination unit 30 to turn on the light source 30a, acquires the detection intensity of the sensor 20 in a state where the light source 30a is turned on, and measures the white level. When the black level and the white level are measured, the control unit 13 temporarily records the measurement result in a memory (not shown).

次に、コントローラー10は、判断部11の機能により外光の強さが閾値よりも大きいか否かを判定する(ステップS105)。すなわち、コントローラー10は、判断部11の機能により、ステップS100において図示しないメモリに一時的に記録された黒レベルを取得し、黒レベルが閾値より大きい場合に外光の強さが閾値よりも大きいと判定する。   Next, the controller 10 determines whether or not the intensity of external light is larger than the threshold value by the function of the determination unit 11 (step S105). That is, the controller 10 obtains a black level temporarily recorded in a memory (not shown) in step S100 by the function of the determination unit 11, and the intensity of external light is larger than the threshold when the black level is larger than the threshold. Is determined.

ステップS105において、外光の強さが閾値よりも大きいと判定された場合、コントローラー10は、シェーディング部12の機能により、AFE20aの記録媒体に記録されたシェーディング結果を次のスキャンに用いる(ステップS110)。すなわち、コントローラー10は、AFE20aの記録媒体に記録されたゲインを示す情報(黒レベルおよび白レベルを示す情報)を更新せず、次のスキャンで利用される状態とする。   When it is determined in step S105 that the intensity of external light is greater than the threshold, the controller 10 uses the shading result recorded on the recording medium of the AFE 20a for the next scan by the function of the shading unit 12 (step S110). ). That is, the controller 10 does not update the information indicating the gain (information indicating the black level and the white level) recorded on the recording medium of the AFE 20a, and sets the controller 10 to be used in the next scan.

一方、ステップS105において、外光の強さが閾値よりも大きいと判定されない場合、コントローラー10は、シェーディング部12の機能により、ステップS100で測定されたシェーディング結果を、次のスキャンに用いる(ステップS115)。すなわち、コントローラー10は、ステップS100で測定されたシェーディング結果でAFE20aの記録媒体に記録されたゲインを示す情報を更新する。この結果、AFE20aにおいては、次のスキャンにおいて、ステップS100で測定されたシェーディング結果を利用する状態となる。   On the other hand, if it is not determined in step S105 that the intensity of outside light is greater than the threshold, the controller 10 uses the shading result measured in step S100 for the next scan by the function of the shading unit 12 (step S115). ). That is, the controller 10 updates the information indicating the gain recorded on the recording medium of the AFE 20a with the shading result measured in step S100. As a result, in the AFE 20a, the shading result measured in step S100 is used in the next scan.

次に、コントローラー10は、制御部13の機能により、スキャンを実行する(ステップS120)。すなわち、コントローラー10は、搬送機構40に指示を行って原稿Pを読取領域に搬送する。また、コントローラー10は、照明部30に指示を行って光源30aを点灯させ、原稿Pのスキャン周期として予め決められた周期に同期させてセンサー20の出力の取得と、搬送機構40による原稿Pの搬送とを繰り返す。原稿Pの所定領域についての情報がセンサー20から出力されると、コントローラー10は、出力された情報をスキャン画像の情報としてメモリに記録する。この結果、外光の強さが過度に強い場合であっても品質を低下させることなくスキャン画像を生産することができる。   Next, the controller 10 performs a scan by the function of the control unit 13 (step S120). That is, the controller 10 instructs the transport mechanism 40 to transport the document P to the reading area. Further, the controller 10 instructs the illumination unit 30 to turn on the light source 30a, obtains the output of the sensor 20 in synchronization with a predetermined period as the scanning period of the document P, and the document P by the transport mechanism 40. Repeat transportation. When information about a predetermined area of the document P is output from the sensor 20, the controller 10 records the output information in the memory as scan image information. As a result, a scanned image can be produced without degrading the quality even when the intensity of external light is excessively strong.

(3)他の実施形態:
以上の実施形態は本発明を実施するための一例であり、他にも種々の実施形態を採用可能である。例えば、AFE20aにおける出力の調整はゲイン調整以外にも種々の調整が採用されてよく、γ補正等が行われてもよい。また、上述のスキャナー1は搬送機構40を備えるが、むろん、センサー20や照明部30等が移動するフラットベッド形式のスキャナーであってもよい。さらに、スキャナーは、他の装置、例えばプリンターと一体化された装置であってもよい。さらに、上述の例においては、シェーディング結果の経時変化はセンサー20の特性の経時的変化に注目していたが、むろん、光源30aの特性の経時変化(光量の減少等)を反映したシェーディング結果が得られる構成に本発明が適用されてもよい。
(3) Other embodiments:
The above embodiment is an example for carrying out the present invention, and various other embodiments can be adopted. For example, various adjustments other than gain adjustment may be employed for output adjustment in the AFE 20a, and γ correction or the like may be performed. The above-described scanner 1 includes the transport mechanism 40, but may of course be a flatbed scanner in which the sensor 20, the illumination unit 30, and the like move. Furthermore, the scanner may be an apparatus integrated with another apparatus, for example, a printer. Furthermore, in the above-described example, the change over time in the shading result is focused on the change over time in the characteristics of the sensor 20, but, of course, the shading result reflecting the change over time in the characteristics of the light source 30a (such as a decrease in the amount of light). The present invention may be applied to the resulting configuration.

判断部は、光源が消灯した状態でセンサーに届く外光の強さを計測する外光計測を行い計測結果が閾値を超えているか否かを判断することができればよい。すなわち、判断部は、スキャン対象をスキャンする際にスキャン対象に光を照射する光源を制御することが可能であり、光源を消灯した状態とすることができる。また、外光計測は、光源が消灯した状態でセンサーに届く外光の強さを計測することができればよく、計測はスキャンを行うためのセンサーで実行されてもよいし、他の検知手段、例えば、スキャンを行うためのセンサーとは別の光センサーで実行されてもよく、種々の構成を採用可能である。   The determination unit only needs to be able to determine whether or not the measurement result exceeds the threshold by performing external light measurement that measures the intensity of external light reaching the sensor with the light source turned off. That is, the determination unit can control the light source that emits light to the scan target when scanning the scan target, and can turn off the light source. In addition, the external light measurement only needs to be able to measure the intensity of external light reaching the sensor with the light source turned off, and the measurement may be performed by a sensor for performing scanning, or other detection means, For example, it may be executed by an optical sensor different from the sensor for performing scanning, and various configurations can be adopted.

外光計測の計測結果と比較される閾値は、外光の強さが過大であり、当該外光の状態で得られたシェーディング結果に基づいてスキャン画像を生産すると、スキャン画像が不適切な結果となるか否かを判定できるように設定されていればよい。従って、例えば、外光の強さを変化させながらシェーディング測定を行い、シェーディング結果を反映したスキャン画像の品質が許容範囲外となるような外光の強さを予め特定するなどして閾値を決定しておけばよい。なお、外光計測の際に、スキャン対象は読取位置に存在してもよいし、存在していなくてもよいが、外光の影響を正確に判断するためにはスキャン対象が読取位置に存在しない(光源からセンサーまでの光路上にスキャン対象が存在しない)状態であることが好ましい。   The threshold to be compared with the measurement result of the external light measurement is that the intensity of the external light is excessive, and if the scan image is produced based on the shading result obtained in the external light state, the scan image is inappropriate It may be set so that it can be determined whether or not. Therefore, for example, the shading measurement is performed while changing the intensity of the external light, and the threshold value is determined by specifying in advance the intensity of the external light such that the quality of the scanned image reflecting the shading result is outside the allowable range. You just have to. Note that when measuring external light, the scan target may or may not exist at the reading position, but the scan target exists at the reading position in order to accurately determine the influence of external light. It is preferable that no scanning target exists on the optical path from the light source to the sensor.

シェーディング部は、次のスキャンで用いるシェーディング結果を特定する際に、外光測定の結果が閾値を超えている場合と超えていない場合とで、異なるシェーディング結果を次のスキャンで用いるシェーディング結果とすることができればよい。シェーディング測定は、少なくともセンサーの黒レベルおよび白レベルを測定するための測定である。すなわち、センサーの出力の中で光の検出強度が最小である場合に当該検出強度が黒レベルと見なされ、センサーの出力の中で光の検出強度が最大である場合に当該検出強度が白レベル(色成分毎の場合であっても白レベルと表現する)と見なされる。   When the shading unit specifies a shading result to be used in the next scan, a different shading result is used as a shading result in the next scan depending on whether the external light measurement result exceeds the threshold value or not. I can do it. The shading measurement is a measurement for measuring at least the black level and white level of the sensor. That is, when the light detection intensity is the lowest among the sensor outputs, the detection intensity is regarded as the black level. When the light detection intensity is the maximum among the sensor outputs, the detection intensity is the white level. (Even if each color component is expressed as a white level).

黒レベルと白レベルはセンサーの検出可能範囲に対応しているが、黒レベルと白レベルはセンサーや光源等の特性に依存して変動し得る。例えば、暗電流等のノイズやセンサー毎の製造誤差、経時変化等によってセンサーの特性が変動し、この変動に応じて黒レベルと白レベルとが変動し得る。そこで、高品質のスキャンを行うためには、スキャンが行われる前にシェーディング測定が行われ、黒レベルと白レベルとが特定されていることが好ましい。   The black level and the white level correspond to the detectable range of the sensor, but the black level and the white level may vary depending on the characteristics of the sensor, the light source, and the like. For example, the characteristics of the sensor may fluctuate due to noise such as dark current, manufacturing errors for each sensor, changes with time, etc., and the black level and the white level may fluctuate according to this fluctuation. Therefore, in order to perform a high-quality scan, it is preferable that shading measurement is performed before the scan is performed, and the black level and the white level are specified.

シェーディング測定は、少なくとも黒レベルと白レベルを特定するための測定であれば良い。黒レベルの測定としては、例えば、光源が消灯された状態や、当該状態に加えてさらに光源からセンサーまでの光路にスキャン対象が存在しない状態において、センサーが出力するレベルを黒レベルと見なす構成等を採用可能である。白レベルの測定としては、例えば、光源が点灯され、光源からセンサーまでの光路に白基準板が配置された状態において、センサーが出力するレベルを白レベルと見なす構成等を採用可能である。   The shading measurement may be a measurement for specifying at least the black level and the white level. As a measurement of the black level, for example, a configuration in which the level output by the sensor is regarded as the black level in a state where the light source is turned off, or in addition to the state, there is no scanning target in the optical path from the light source to the sensor. Can be adopted. As the measurement of the white level, for example, a configuration in which the level output by the sensor is regarded as the white level in a state where the light source is turned on and the white reference plate is disposed in the optical path from the light source to the sensor can be adopted.

なお、シェーディング測定の対象はセンサー全体であってもよいし、個別のセンサーであってもよく、双方であってもよい。すなわち、センサー全体の特性の変動を解消するためにシェーディング測定が行われてもよいし(キャリブレーションとも呼ばれる)、ラインセンサーにおいてライン方向のセンサーの特性差を解消するためにシェーディング測定が行われてもよい。ライン方向のセンサーの特性は、センサーが搭載されたチップ毎に測定されてもよいし、画素毎に測定されてもよい。   Note that the object of shading measurement may be the entire sensor, an individual sensor, or both. That is, shading measurement may be performed to eliminate fluctuations in the characteristics of the entire sensor (also referred to as calibration), or shading measurement may be performed to eliminate differences in sensor characteristics in the line direction in the line sensor. Also good. The characteristics of the sensor in the line direction may be measured for each chip on which the sensor is mounted, or may be measured for each pixel.

シェーディング結果は、センサー等の経時変化による特性の変動を反映しているため、最新のシェーディング結果(例えば、スキャンタイミングに最も近いタイミングで測定されたシェーディング結果)を利用してスキャン画像が生産されることが好ましい。一方、外光の強さが過大である場合、シェーディング測定の際にセンサーに到達する外光の量と、スキャンの際にスキャン対象に遮光された状態でセンサーに到達する外光の量とが著しく異なるため、最新のシェーディング結果を利用すると高品質にスキャン画像を生産することができない。   Since the shading result reflects the change in characteristics due to changes with time of the sensor or the like, a scan image is produced using the latest shading result (for example, the shading result measured at the timing closest to the scan timing). It is preferable. On the other hand, if the intensity of external light is excessive, the amount of external light that reaches the sensor during shading measurement and the amount of external light that reaches the sensor while being blocked by the scan target during scanning Since the latest shading results are used, it is not possible to produce a scanned image with high quality.

そこで、シェーディング部は、判断部によって外光計測の結果と閾値とが比較された結果に基づいて、センサーの経時変化による特性の変動が解消する利点を超えるほど外光の影響が大きいか否かを特定する。そして、センサーの経時変化による特性の変動が解消する利点を超えるほど外光の影響が大きい場合、シェーディング部は、最新のシェーディング結果ではなく、外光計測の結果が閾値を超えていなかった状態で得られた過去のシェーディング結果を、次のスキャンで用いるシェーディング結果とする。この構成によれば、最新のセンサーの特性ではなく、過去のセンサーの特性を反映したシェーディング結果でスキャン画像を生産することになる。従って、外光の強さが過度に強い場合であっても過度に品質を低下させることなくスキャンを行うことができる。   Therefore, the shading unit determines whether or not the influence of external light is so large that it exceeds the advantage of eliminating fluctuations in characteristics due to changes over time of the sensor based on the result of comparison of the external light measurement result and the threshold value by the determination unit. Is identified. And if the influence of external light is so great that the fluctuation of characteristics due to changes over time of the sensor exceeds the advantage of eliminating, the shading unit is not the latest shading result, the external light measurement result has not exceeded the threshold value The obtained past shading result is used as a shading result used in the next scan. According to this configuration, a scan image is produced with a shading result reflecting the past sensor characteristics instead of the latest sensor characteristics. Accordingly, even when the intensity of external light is excessively strong, scanning can be performed without excessively degrading the quality.

なお、過去のシェーディング結果を利用するためには、少なくとも過去のシェーディング結果の1個を示す情報が記録媒体に保持され、次のスキャンで用いるシェーディング結果として利用可能となるように構成される。外光計測の結果が閾値を超えている場合に、次のスキャンで用いられる過去のシェーディング結果は、最初に利用されるシェーディング結果の初期値を含め、種々のシェーディング結果であってよい。   In order to use the past shading result, information indicating at least one of the past shading results is held in the recording medium, and can be used as a shading result used in the next scan. When the external light measurement result exceeds the threshold, the past shading result used in the next scan may be various shading results including the initial value of the shading result used first.

過去のシェーディング結果を利用する構成例として、例えば、外光計測の結果が閾値を超えている場合は、シェーディング部が、過去の外光計測の結果が閾値を超えていない場合のシェーディング結果の中の最新の結果を次のスキャンで用いるシェーディング結果とする構成を採用可能である。すなわち、シェーディング結果は、センサーの経時変化による特性の変動を反映しているため、過去のシェーディング結果の中では、最も新しいシェーディング結果がセンサーの経時変化を最も正確に示している可能性が高い。   As a configuration example using the past shading result, for example, when the external light measurement result exceeds the threshold value, the shading unit is included in the shading result when the past external light measurement result does not exceed the threshold value. It is possible to adopt a configuration in which the latest result is used as a shading result used in the next scan. In other words, since the shading result reflects a change in characteristics due to the change with time of the sensor, it is highly likely that the latest shading result most accurately indicates the change with time of the sensor among the past shading results.

そこで、外光計測の結果が閾値を超えていない場合のシェーディング結果の中から、最新のシェーディング結果を選択し、次のスキャンで用いるシェーディング結果とすれば、過去のシェーディング結果の中でセンサーの経時変化を最も正確に示している可能性が高いシェーディング結果を利用することができ、高品質のスキャンを行うことができる。   Therefore, if the latest shading result is selected from the shading results obtained when the external light measurement result does not exceed the threshold value and used as the shading result used in the next scan, the sensor time-lapse among the past shading results. Shading results that are most likely to show the change most accurately can be used, and high quality scans can be performed.

制御部は、スキャン指示を受け付けると、外光計測を行わせ、次のスキャンで用いるシェーディング結果が決まったのちにスキャンを行わせることができればよい。すなわち、利用者によるスキャンの指示を受け付けると、制御部はスキャナーを制御し、次のスキャンで用いるシェーディング結果を利用してスキャン画像を生産させる。   The control unit only needs to be able to perform external light measurement upon receiving a scan instruction and perform scanning after the shading result used in the next scan is determined. In other words, when receiving a scanning instruction from the user, the control unit controls the scanner and produces a scanned image using a shading result used in the next scanning.

シェーディング結果の反映は、シェーディング結果(測定された黒レベルおよび白レベル)に基づいて、センサーによる検出可能範囲が実質的に黒レベルから白レベルまでになるように、スキャン画像の生成が行われることで実現される。このようなシェーディング結果の反映は、種々の手法で実施されてよい。例えば、センサーの出力信号に対するゲイン調整によって黒レベルから白レベルまでの範囲の信号が出力されるように構成されていても良いし、センサーの出力信号に基づいてデジタル画像データを生成する際に、黒レベルが階調値の最小値、白レベルが階調値の最大値となるように画像データを生成してもよく、種々の構成を採用可能である。   The reflection of the shading result is based on the shading result (measured black level and white level) that the scan image is generated so that the sensor's detectable range is substantially from the black level to the white level. It is realized with. Such reflection of the shading result may be performed by various methods. For example, it may be configured to output a signal in a range from a black level to a white level by gain adjustment with respect to the output signal of the sensor, or when generating digital image data based on the output signal of the sensor, The image data may be generated so that the black level is the minimum value of the gradation value and the white level is the maximum value of the gradation value, and various configurations can be employed.

上述のように、外光計測は、スキャンを行うためのセンサーによって実施することもできる。この場合、当該センサーにスキャンよりも長時間光を蓄積することで外光計測が行われる構成であってもよい。すなわち、スキャン周期(1画素の読取を行うための光源の点灯および非点灯を1サイクルとした周期)は一般的に極めて短い周期であるため、当該スキャンの際にセンサーが光を蓄積する時間と同等で外光の強さを計測するのは困難である場合が多い。そこで、外光計測においてセンサーが光を蓄積する時間を、スキャン対象のスキャンにおいてセンサーが光を蓄積する時間よりも長くすれば、より確実に外光計測を行うことが可能になる。   As described above, external light measurement can also be performed by a sensor for performing scanning. In this case, a configuration may be employed in which external light measurement is performed by accumulating light in the sensor for a longer time than scanning. That is, since the scan cycle (cycle in which lighting and non-lighting of the light source for reading one pixel is set to one cycle) is generally a very short cycle, the time during which the sensor accumulates light during the scan It is often difficult to measure the intensity of external light that is equivalent. Therefore, if the time for which the sensor accumulates light in the external light measurement is longer than the time for which the sensor accumulates light in the scan to be scanned, the external light measurement can be performed more reliably.

なお、スキャンを行うためのセンサーによって外光計測を行う場合、外光計測は黒シェーディング測定であってもよい。すなわち、光源が消灯された状態で黒レベルを測定するための黒シェーディング測定が行われると、当該測定結果が外光測定結果であると見なすことができる。この場合、判断部は、黒シェーディング測定の結果が閾値を超えているか否かを判断することになる。この構成によれば、外光計測と黒シェーディング測定とを同時に実施することが可能になる。   When external light measurement is performed using a sensor for scanning, the external light measurement may be black shading measurement. That is, when black shading measurement for measuring the black level is performed in a state where the light source is turned off, the measurement result can be regarded as an external light measurement result. In this case, the determination unit determines whether or not the result of the black shading measurement exceeds the threshold value. According to this configuration, external light measurement and black shading measurement can be performed simultaneously.

スキャンを行うためのセンサーとは別の光センサーで外光計測を行う場合、スキャン処理は上述の図4に示す処理と異なり得る。図5は、スキャンを行うためのセンサーとは別の光センサーで外光計測を行う場合のスキャン処理の例を示すフローチャートである。同図5においては、図4と同様の処理を同一の符号で示している。すなわち、図5に示す処理においては、ステップS90の外光測定と、ステップS112のシェーディング測定が図4に示す処理と異なっている。   When external light measurement is performed using an optical sensor different from the sensor for performing scanning, the scanning process may be different from the process illustrated in FIG. 4 described above. FIG. 5 is a flowchart illustrating an example of scan processing when external light measurement is performed using an optical sensor different from the sensor for performing scanning. In FIG. 5, the same processes as those in FIG. 4 are denoted by the same reference numerals. That is, in the process shown in FIG. 5, the external light measurement in step S90 and the shading measurement in step S112 are different from the process shown in FIG.

また、この処理は、図1に示すスキャナー1に対して、外光を計測するためのセンサーがセンサー20と別に備えられることによって実現される。当該外光を計測するためのセンサーは、センサー20に到達する外光を評価することができればよく、スキャナー1の外面に備えられてもよいし、読取領域付近やセンサー20付近に備えられてもよい。   Further, this processing is realized by providing a sensor for measuring external light separately from the sensor 20 in the scanner 1 shown in FIG. The sensor for measuring the external light only needs to be able to evaluate the external light reaching the sensor 20 and may be provided on the outer surface of the scanner 1 or may be provided near the reading region or the sensor 20. Good.

この構成において、コントローラー10は、ステップS90において、判断部11の機能により、光源30aを消灯させ、原稿Pが読取領域に存在しない状態で、外光を計測するためのセンサーの出力を取得して外光を測定する。ステップS105においては、当該センサーの出力に基づいて外光の強さを評価するために予め設定された閾値によって外光の強さを評価する。そして、外光の強さが閾値を超えていない場合に、コントローラー10は、シェーディング部12の機能によりステップS112においてシェーディング測定を実行する。当該シェーディング測定は図4に示すステップS100と同様の処理である。ステップS110,S115,S120は、図4に示す処理と同様である。この構成によれば、シェーディング測定が有意な測定とならない場合にはシェーディング測定を省略することが可能になる。   In this configuration, in step S90, the controller 10 uses the function of the determination unit 11 to turn off the light source 30a and acquire the output of a sensor for measuring external light in a state where the document P does not exist in the reading area. Measure ambient light. In step S105, the intensity of external light is evaluated based on a preset threshold value for evaluating the intensity of external light based on the output of the sensor. Then, when the intensity of the external light does not exceed the threshold value, the controller 10 performs the shading measurement in step S112 by the function of the shading unit 12. The shading measurement is the same processing as step S100 shown in FIG. Steps S110, S115, and S120 are the same as the processing shown in FIG. According to this configuration, the shading measurement can be omitted when the shading measurement is not significant.

さらに、以上のように、外光の強さに基づいて次のスキャンで用いるシェーディング結果を変化させる手法は、方法としても実現可能である。さらに、スキャナーが備える各部はハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現されてよく、種々の態様が採用可能である。さらに、各部の機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。さらに、各部の機能は、プログラムやプログラムの記録媒体としても実現可能である。むろん、その記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体であってもよい。   Furthermore, as described above, the method of changing the shading result used in the next scan based on the intensity of external light can also be realized as a method. Furthermore, each unit included in the scanner may be realized by hardware resources, hardware resources whose functions are specified by a program, or a combination thereof, and various modes can be adopted. Furthermore, the function of each unit is not limited to that realized by hardware resources that are physically independent of each other. Furthermore, the function of each unit can be realized as a program or a recording medium for the program. Of course, the recording medium may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium developed in the future.

1…スキャナー、10…コントローラー、11…判断部、12…シェーディング部、13…制御部、20…センサー、30…照明部、30a…光源、40…搬送機構、41…カバー、41a…搬送ローラー、41b…白基準板、42…原稿台、42a…搬送ローラー、42b…ガラス DESCRIPTION OF SYMBOLS 1 ... Scanner, 10 ... Controller, 11 ... Judgment part, 12 ... Shading part, 13 ... Control part, 20 ... Sensor, 30 ... Illumination part, 30a ... Light source, 40 ... Conveyance mechanism, 41 ... Cover, 41a ... Conveyance roller, 41b ... white reference plate, 42 ... original table, 42a ... conveying roller, 42b ... glass

Claims (5)

スキャナーであって、
光源が消灯した状態でセンサーに届く外光の強さを計測する外光計測を行い計測結果が閾値を超えているか否かを判断する判断部と、
前記外光計測の結果が前記閾値を超えていない場合は、シェーディング測定を行った結果であるシェーディング結果の中の最新の結果を次のスキャンで用いる前記シェーディング結果とし、
前記外光計測の結果が前記閾値を超えている場合は、過去の前記外光計測の結果が前記閾値を超えていない場合の前記シェーディング結果を次のスキャンで用いる前記シェーディング結果とする、シェーディング部と、
スキャン指示を受け付けると、前記外光計測を行わせ、次のスキャンで用いる前記シェーディング結果が決まったのちにスキャンを行わせる制御部と、
を備えたスキャナー。
A scanner,
A determination unit that performs external light measurement to measure the intensity of external light reaching the sensor with the light source turned off, and determines whether the measurement result exceeds a threshold;
When the external light measurement result does not exceed the threshold, the latest result in the shading result that is the result of the shading measurement is used as the shading result used in the next scan,
When the external light measurement result exceeds the threshold, the shading unit uses the shading result when the previous external light measurement result does not exceed the threshold as the shading result used in the next scan. When,
When receiving a scan instruction, the controller that performs the external light measurement and performs a scan after the shading result used in the next scan is determined;
With a scanner.
前記外光計測は、
前記センサーにスキャンよりも長時間光を蓄積することで行う、
請求項1に記載のスキャナー。
The external light measurement is
By accumulating light in the sensor for a longer time than scanning,
The scanner according to claim 1.
前記シェーディング部は、
前記外光計測の結果が前記閾値を超えている場合は、過去の前記外光計測の結果が前記閾値を超えていない場合の前記シェーディング結果の中の最新の結果を次のスキャンで用いる前記シェーディング結果とする、
請求項1または請求項2のいずれかに記載のスキャナー。
The shading part is
When the result of the external light measurement exceeds the threshold, the shading that uses the latest result among the shading results when the result of the external light measurement in the past does not exceed the threshold is used in the next scan. As a result,
The scanner according to claim 1 or 2.
前記外光計測は黒シェーディング測定であり、前記判断部は、前記黒シェーディング測定の結果が前記閾値を超えているか否かを判断する、
請求項1〜請求項3のいずれかに記載のスキャナー。
The external light measurement is black shading measurement, and the determination unit determines whether the result of the black shading measurement exceeds the threshold value.
The scanner according to claim 1.
スキャナーによるスキャン画像の生産方法であって、
スキャン指示を受け付けると、
光源が消灯した状態でセンサーに届く外光の強さを計測する外光計測を行い計測結果が閾値を超えているか否かを判断し、
前記外光計測の結果が前記閾値を超えていない場合は、シェーディング測定を行った結果であるシェーディング結果の中の最新の結果を次のスキャンで用いる前記シェーディング結果とし、
前記外光計測の結果が前記閾値を超えている場合は、過去の前記外光計測の結果が前記閾値を超えていない場合の前記シェーディング結果を次のスキャンで用いる前記シェーディング結果とし、
次のスキャンで用いる前記シェーディング結果が決まったのちにスキャンを行わせてスキャン画像を生成する、
スキャン画像の生産方法。
A method of producing a scanned image by a scanner,
When a scan instruction is received,
Perform external light measurement to measure the intensity of external light reaching the sensor with the light source turned off, determine whether the measurement result exceeds the threshold,
When the external light measurement result does not exceed the threshold, the latest result in the shading result that is the result of the shading measurement is used as the shading result used in the next scan,
When the external light measurement result exceeds the threshold, the shading result when the external light measurement result in the past does not exceed the threshold is used as the shading result used in the next scan,
After the shading result used in the next scan is determined, the scan is performed to generate a scan image.
Scanned image production method.
JP2016087876A 2016-04-26 2016-04-26 Scanner and production method for scanning image Pending JP2017199998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016087876A JP2017199998A (en) 2016-04-26 2016-04-26 Scanner and production method for scanning image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016087876A JP2017199998A (en) 2016-04-26 2016-04-26 Scanner and production method for scanning image

Publications (1)

Publication Number Publication Date
JP2017199998A true JP2017199998A (en) 2017-11-02

Family

ID=60238320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016087876A Pending JP2017199998A (en) 2016-04-26 2016-04-26 Scanner and production method for scanning image

Country Status (1)

Country Link
JP (1) JP2017199998A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10880441B2 (en) 2018-10-04 2020-12-29 Seiko Epson Corporation Image reading apparatus and shading correction method for switching shading correction based on external light

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10880441B2 (en) 2018-10-04 2020-12-29 Seiko Epson Corporation Image reading apparatus and shading correction method for switching shading correction based on external light

Similar Documents

Publication Publication Date Title
US10554844B2 (en) Image scanning apparatus and control method for image scanning apparatus
US20050029352A1 (en) System and method for automatic correction of illumination noise caused by ambient light
US8804208B2 (en) Image reading apparatus
US9986129B2 (en) Scanner and image production method for sequentially storing image correction value in plurality of storage regions
US20170054872A1 (en) Image reading device
JP6307014B2 (en) Document handler with dual height calibration target for automatic calibration
US11509776B2 (en) Apparatus and method for detecting foreign substance based on a difference in reading level of reflected light in a first wavelength range and a second wavelength range
US20090294701A1 (en) Image reading apparatus and image reading method for effectively performing shading compensation
JP6142815B2 (en) Image reading device
US9641699B2 (en) Calibration of scanning devices
US8822908B2 (en) Image scanner, image forming apparatus and dew-condensation determination method
US20060274961A1 (en) Method for adjusting image data
JP2017199998A (en) Scanner and production method for scanning image
US20170353618A1 (en) Image reading device
JP5905715B2 (en) Image reading apparatus and image reading method
JP2011223301A (en) Image processor
JP4864029B2 (en) Document reader
US10880441B2 (en) Image reading apparatus and shading correction method for switching shading correction based on external light
JP2010035136A (en) Image reading apparatus, image forming apparatus, and image reading method
JP6642037B2 (en) Scanner and image production method
JP6610017B2 (en) Image reading apparatus, image forming apparatus, and document size detection method
JP2005217914A (en) Image reader
JP2008271396A (en) Image reading apparatus and density correction method thereof
JP2007129278A (en) Image reading apparatus
JP2017135439A (en) Scanner and picture production method

Legal Events

Date Code Title Description
RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20180907

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20181120