JP2017199998A - Scanner and production method for scanning image - Google Patents
Scanner and production method for scanning image Download PDFInfo
- 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
Links
- 238000004519 manufacturing process Methods 0.000 title claims description 5
- 238000005259 measurement Methods 0.000 claims abstract description 148
- 238000000034 method Methods 0.000 claims description 18
- 230000006870 function Effects 0.000 description 24
- 230000008859 change Effects 0.000 description 20
- 238000005286 illumination Methods 0.000 description 13
- 230000007723 transport mechanism Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 11
- 238000001514 detection method Methods 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000011521 glass Substances 0.000 description 3
- 229920006395 saturated elastomer Polymers 0.000 description 3
- 230000000593 degrading effect Effects 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
Images
Landscapes
- Image Input (AREA)
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
【課題】外光が強い状態であっても高品質のスキャンを行う。
【解決手段】光源が消灯した状態でセンサーに届く外光の強さを計測する外光計測を行い計測結果が閾値を超えているか否かを判断する判断部と、前記外光計測の結果が閾値を超えていない場合は、シェーディング測定を行った結果であるシェーディング結果の中の最新の結果を次のスキャンで用いる前記シェーディング結果とし、前記外光計測の結果が前記閾値を超えている場合は、過去の前記外光計測の結果が前記閾値を超えていない場合の前記シェーディング結果を次のスキャンで用いる前記シェーディング結果とする、シェーディング部と、スキャン指示を受け付けると、前記外光計測を行わせ、次のスキャンで用いる前記シェーディング結果が決まったのちにスキャンを行わせる制御部と、を備えたスキャナーが構成される。
【選択図】図3A 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.
従来の技術においては、原稿を後端部まで読み取った後、原稿が排紙位置に達する間に白レベルと黒レベルを取得している。しかし、原稿を後端部まで読み取った後、原稿が排紙位置に達する間であったとしても完全に外光が排除されるとは限らない。特に外光の強さが非常に強い場合においては、白レベルと黒レベルが外光の影響を受け、適正に白レベルと黒レベルが測定できない。 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
ここでは、下記の順序に従って本発明の実施の形態について説明する。
(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
コントローラー10は、スキャナー1が備える各部(センサー20、照明部30、搬送機構40、操作部50)を制御し、スキャン対象である原稿を読み取ったスキャン画像を生産する。スキャン画像は、種々の態様で利用されてよく、スキャナー1が備える図示しない記録媒体に保存されてもよいし、可搬型の記録媒体に保存されてもよいし、通信部60を介して他の装置に提供されてもよい。本実施形態においてスキャン画像は、通信部60を介してコンピューター70に出力される。
The
センサー20は、主走査方向に延びるラインセンサーであり、原稿台に置かれた原稿を読み取ることができる。センサー20は受光した光の強さに応じた信号を出力する複数の受光素子を備えており、当該受光素子が主走査方向において並ぶことによってラインセンサーを構成している。なお、本実施形態において、主走査方向は原稿が搬送される副走査方向に垂直な方向である。
The
照明部30は、原稿の搬送経路に設けられた読取領域に照明光を照射する光源30aを備えている。読取領域に存在する物体(原稿や白基準板等)にて反射した光はセンサー20にて受光され、センサー20は各受光素子での光の受光量に応じた信号を生成する。
The
センサー20は、AFE(アナログフロントエンド)20aを備えている。AFE20aは、光の受光量に応じて受光素子が出力した信号にゲインを作用させて出力する回路やA/D変換する回路を含む。本実施形態においてAFE20aは、当該ゲインを示す情報を記録する記録媒体を備えており、AFE20aにおいては、当該ゲインを示す情報に基づいて、センサー20の黒レベルを最小の出力値、白レベルを最大の出力値にするゲイン調整を行う。なお、記録媒体には、センサー20の初期の特性に基づいて決定されたゲインを示す情報の初期値が記録されている。ゲイン調整は、センサー20が備える受光素子毎に行われてもよいし、複数の受光素子が備えられたチップ毎に行われてもよいし、センサー20全体に対して行われてもよい。
The
搬送機構40は、原稿を搬送する機構である。搬送機構40は、原稿を読取領域外から読取領域に搬送し、さらに、原稿を読取領域から読取領域外に搬送する機構であり、原稿が搬送されている過程において、照明部30による照明とセンサー20による読取が行われることでスキャン画像が生産される。
The
図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
操作部50は、利用者に対して種々の情報を提供する出力部と、利用者による入力操作を受け付ける入力部とを備えている。コントローラー10は、制御部13の機能により、スキャン条件の選択肢やスキャン指示等を行うための情報を出力部に表示させる。利用者は、当該出力部の出力に基づいてスキャン条件の選択やスキャン指示等を入力することができる。
The
通信部60は、外部の装置(本実施形態においては、外部のコンピューター70)と通信を行うための装置であり、コントローラー10は、任意の情報をコンピューター70に送信し、コンピューター70から各種の指示等を受け取ることができる。本実施形態において、コントローラー10がスキャン画像を生産すると、通信部60を介してスキャン画像がコンピューター70に送信される。
The
(1−1)シェーディング測定:
センサー20のAFE20aは、光源30aが消灯された状態におけるセンサー20の検出強度を黒レベル、光源30aが点灯された状態におけるセンサー20の検出強度(白基準板41bから反射された光の強度)を白レベルとみなし、黒レベルを最小の出力値、白レベルを最大の出力値にするゲイン調整を行う。すなわち、黒レベルと白レベルはセンサーの検出可能範囲に対応しており、AFE20aは、センサーの検出可能範囲がデジタル出力の最小値〜最大値となるように、ゲイン調整を行う。
(1-1) Shading measurement:
The
黒レベルと白レベルはセンサー20の特性に依存して変動し得る。例えば、暗電流等のノイズやセンサー毎の製造誤差、経時変化等によってセンサー20の特性が変動し、この変動に応じて黒レベルと白レベルとが変動し得る。そこで、本実施形態においてコントローラー10は、このような特性の変動を反映した状態でゲイン調整を行って高品質のスキャンを実行するために、スキャン指示が行われる度に黒レベルと白レベルとを測定するシェーディング測定を実行する。
The black level and white level can vary depending on the characteristics of the
ただし、当該シェーディング測定の結果はスキャナー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
そして、本実施形態においてシェーディング測定は、原稿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
そこで、本実施形態においてコントローラー10は、外光が強い場合であっても高品質なスキャンを実行するために、図示しないプログラムによって判断部11,シェーディング部12,制御部13の各機能を実行可能である。利用者が操作部50によってスキャン指示を行うと、制御部13は、センサー20,照明部30,搬送機構40を制御し、原稿Pを搬送しながら照明部の光源30aから読取領域に存在する原稿に光を照射させ、センサー20に読取を行わせる。
Therefore, in this embodiment, the
ただし、本実施形態において制御部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
シェーディング部12は、次のスキャンで用いるシェーディング結果を決定する前に、シェーディング測定を実行する。本実施形態においてシェーディング測定は、黒レベルを測定する黒シェーディング測定と、白レベルを測定する白シェーディング測定とによって構成される。具体的には、コントローラー10は、照明部30を制御して光源30aを消灯させ、搬送機構40を制御して読取領域に原稿Pが存在しない状態とする。そして、コントローラー10は、光源30aが消灯され、さらに読取領域に原稿Pが存在しない状態において、センサー20が出力する信号を特定する。当該信号は、ゲイン調整が行われる前の信号であり、コントローラー10は、当該信号を黒レベルと見なす。さらに、コントローラー10は、照明部30を制御して光源30aを点灯させる。そして、コントローラー10は、光源30aが点灯され、さらに読取領域に原稿Pが存在いない状態において、センサー20が出力する信号を特定する。当該信号は、ゲイン調整が行われる前の信号であり、コントローラー10は、当該信号を白レベルと見なす。
The
黒レベルおよび白レベルを示す信号、すなわちシェーディング結果は、ゲイン調整のために利用される。図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
タイミング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
タイミング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
タイミング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
以上の例に示すように、異なるタイミングで行われたシェーディング測定によって得られたシェーディング結果は異なり得る。すなわち、シェーディング結果は、センサー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
しかし、外光の強さが過大である場合、最新のシェーディング結果よりも、外光の強さが過大ではなかった過去のシェーディング結果を利用した方が高品質のスキャンを行える可能性が高くなる。具体的には、外光の強さが過大である場合、シェーディング測定の際にセンサー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
図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
タイミング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
当該タイミング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
一方、タイミング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
このように、タイミング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
そして、コントローラー10は、判断部11の機能により、黒シェーディング測定の結果と閾値とを比較することによって外光計測の結果が閾値を超えているか否かを判断する。ここで閾値は、外光の強さが過大であり、当該外光の状態で得られたシェーディング結果に基づいてスキャン画像を生産すると、スキャン画像が不適切な結果となるか否かを判定できるように設定される。本実施形態においては、外光の強さを変化させながらシェーディング測定を行い、シェーディング結果を反映したスキャン画像の品質が許容範囲外となるような外光の強さを予め特定するなどして閾値が予め決定される。本実施形態においては、黒レベルと比較されるように閾値が予め定義されており、図3においては閾値の例をThとして示している。
Then, the
コントローラー10は、シェーディング部12の機能により、次のスキャンで用いるシェーディング結果を特定する際に、外光測定の結果が閾値を超えている場合と超えていない場合とで、異なるシェーディング結果を次のスキャンで用いるシェーディング結果とするようにコントローラー10を機能させる。すなわち、コントローラー10は、判断部11によって外光計測の結果と閾値とを比較することにより、センサー20の経時変化による特性の変動が解消する利点を超えるほど外光の影響が大きいか否かを特定する。
When the
具体的には、図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
なお、外光計測の結果が閾値を超えている場合、コントローラー10は、シェーディング部12の機能により、過去の外光計測の結果が閾値を超えていない場合のシェーディング結果の中の最新の結果を次のスキャンで用いるシェーディング結果とする。すなわち、シェーディング結果は、センサー20の経時変化による特性の変動を反映しているため、過去のシェーディング結果の中では、最も新しいシェーディング結果がセンサー20の経時変化を最も正確に示している可能性が高い。
When the external light measurement result exceeds the threshold, the
例えば、図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
すなわち、タイミング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
一方、外光測定の結果が閾値を超えていない場合、コントローラー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
なお、本実施形態において、コントローラー10は、センサー20によって原稿Pのスキャンする場合の光の蓄積時間よりも長時間光を蓄積することで外光計測(シェーディング測定)を行う。すなわち、原稿Pのスキャンが行われる際のスキャン周期は一般的に極めて短い周期であるため、当該スキャンの際にセンサー20が光を蓄積する時間と同等で外光の強さを計測するのは困難である場合が多い。そこで、本実施形態において、コントローラー10が外光計測(シェーディング測定)を実行する際には、原稿Pのスキャンにおいてセンサー20が光を蓄積する時間よりもセンサー20が光を蓄積する時間を長くする。この構成によれば、より確実に外光計測を行うことが可能になる。
In the present embodiment, the
制御部13は、スキャン指示を受け付けると、以上のようにして次のスキャンで用いるシェーディング結果が決まったのちに、センサー20,照明部30,搬送機構40を制御してスキャンを行わせ、スキャン画像を生産させる。スキャン画像が生産されると、コントローラー10は、通信部60を介してコンピューター70に対してスキャン画像を出力する。この結果、コンピューター70においてスキャン画像を利用することが可能になる。以上のような本実施形態においては、外光の強さが閾値を超えている場合であっても、過去に適正に測定されたシェーディング結果を利用してスキャンを行うため、外光の影響を受けた状態で測定されたシェーディング結果を利用してスキャンを行うよりも高品質のスキャンを行うことができる。
Upon receiving the scan instruction, the
(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
また、コントローラー10は、センサー20に対して原稿Pのスキャンよりも長い周期でスキャンを行うように指示する。さらに、コントローラー10は、照明部30に指示を行って光源30aを消灯させ、光源30aが消灯した状態でセンサー20の検出強度を取得して黒レベルを測定する。さらに、コントローラー10は、照明部30に指示を行って光源30aを点灯させ、光源30aが点灯した状態でセンサー20の検出強度を取得して白レベルを測定する。黒レベルと白レベルが測定されると、制御部13は、図示しないメモリに測定結果を一時的に記録する。
In addition, the
次に、コントローラー10は、判断部11の機能により外光の強さが閾値よりも大きいか否かを判定する(ステップS105)。すなわち、コントローラー10は、判断部11の機能により、ステップS100において図示しないメモリに一時的に記録された黒レベルを取得し、黒レベルが閾値より大きい場合に外光の強さが閾値よりも大きいと判定する。
Next, the
ステップ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
一方、ステップ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
次に、コントローラー10は、制御部13の機能により、スキャンを実行する(ステップS120)。すなわち、コントローラー10は、搬送機構40に指示を行って原稿Pを読取領域に搬送する。また、コントローラー10は、照明部30に指示を行って光源30aを点灯させ、原稿Pのスキャン周期として予め決められた周期に同期させてセンサー20の出力の取得と、搬送機構40による原稿Pの搬送とを繰り返す。原稿Pの所定領域についての情報がセンサー20から出力されると、コントローラー10は、出力された情報をスキャン画像の情報としてメモリに記録する。この結果、外光の強さが過度に強い場合であっても品質を低下させることなくスキャン画像を生産することができる。
Next, the
(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
判断部は、光源が消灯した状態でセンサーに届く外光の強さを計測する外光計測を行い計測結果が閾値を超えているか否かを判断することができればよい。すなわち、判断部は、スキャン対象をスキャンする際にスキャン対象に光を照射する光源を制御することが可能であり、光源を消灯した状態とすることができる。また、外光計測は、光源が消灯した状態でセンサーに届く外光の強さを計測することができればよく、計測はスキャンを行うためのセンサーで実行されてもよいし、他の検知手段、例えば、スキャンを行うためのセンサーとは別の光センサーで実行されてもよく、種々の構成を採用可能である。 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
この構成において、コントローラー10は、ステップS90において、判断部11の機能により、光源30aを消灯させ、原稿Pが読取領域に存在しない状態で、外光を計測するためのセンサーの出力を取得して外光を測定する。ステップS105においては、当該センサーの出力に基づいて外光の強さを評価するために予め設定された閾値によって外光の強さを評価する。そして、外光の強さが閾値を超えていない場合に、コントローラー10は、シェーディング部12の機能によりステップS112においてシェーディング測定を実行する。当該シェーディング測定は図4に示すステップS100と同様の処理である。ステップS110,S115,S120は、図4に示す処理と同様である。この構成によれば、シェーディング測定が有意な測定とならない場合にはシェーディング測定を省略することが可能になる。
In this configuration, in step S90, the
さらに、以上のように、外光の強さに基づいて次のスキャンで用いるシェーディング結果を変化させる手法は、方法としても実現可能である。さらに、スキャナーが備える各部はハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現されてよく、種々の態様が採用可能である。さらに、各部の機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。さらに、各部の機能は、プログラムやプログラムの記録媒体としても実現可能である。むろん、その記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体であってもよい。 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.
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)
| 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 |
-
2016
- 2016-04-26 JP JP2016087876A patent/JP2017199998A/en active Pending
Cited By (1)
| 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 |