[go: up one dir, main page]

JP2018026729A - Imaging apparatus, imaging method, and imaging program - Google Patents

Imaging apparatus, imaging method, and imaging program Download PDF

Info

Publication number
JP2018026729A
JP2018026729A JP2016158124A JP2016158124A JP2018026729A JP 2018026729 A JP2018026729 A JP 2018026729A JP 2016158124 A JP2016158124 A JP 2016158124A JP 2016158124 A JP2016158124 A JP 2016158124A JP 2018026729 A JP2018026729 A JP 2018026729A
Authority
JP
Japan
Prior art keywords
image
lens position
imaging
unit
lens
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
JP2016158124A
Other languages
Japanese (ja)
Inventor
直喜 麻場
Naoki Asaba
直喜 麻場
雅文 岸
Masafumi Kishi
雅文 岸
雅征 薮内
Masayuki Yabuuchi
雅征 薮内
石井 博
Hiroshi Ishii
石井  博
歩 橋本
Ayumi Hashimoto
歩 橋本
橋本 英樹
Hideki Hashimoto
英樹 橋本
直輝 郷
Naoteru Go
直輝 郷
木崎 修
Osamu Kizaki
修 木崎
吉田 淳
Atsushi Yoshida
淳 吉田
長瀬 将城
Masashiro Nagase
将城 長瀬
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2016158124A priority Critical patent/JP2018026729A/en
Publication of JP2018026729A publication Critical patent/JP2018026729A/en
Pending legal-status Critical Current

Links

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Image Input (AREA)
  • Facsimile Heads (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Studio Devices (AREA)

Abstract

【課題】 書籍等のスキャンを行うときにユーザーの利便性と生産性を向上させること。【解決手段】 有効画像領域に配置された被写体の画像と特定パターンの画像を共に撮像レンズを介して取得する撮像部と、有効画像領域における前記特定パターンの画像に基づく合焦評価値を算出する評価値算出部と、合焦評価値に基づく合焦状態に対応する最適レンズ位置を算出する最適レンズ位置算出部と、最適レンズ位置を調整するための調整値を予め記憶する記憶部と、撮像部の動作モードの切り替えを制御する切替制御部と、撮像部を第1動作モードで動作させて取得した前記特定パターンの画像に対する前記最適レンズ位置を、前記調整値に基づいて、撮像部を第2動作モードで動作させたときに取得する被写体の画像に合焦するレンズ位置に補正するレンズ位置補正部と、を備える撮像装置による。【選択図】図3PROBLEM TO BE SOLVED: To improve user convenience and productivity when scanning books and the like. An imaging unit that acquires both an image of a subject arranged in an effective image area and an image of a specific pattern via an imaging lens, and calculates a focus evaluation value based on the image of the specific pattern in the effective image area. An evaluation value calculation unit, an optimal lens position calculation unit that calculates an optimal lens position corresponding to a focus state based on the focus evaluation value, a storage unit that stores in advance an adjustment value for adjusting the optimal lens position, and imaging A switching control unit that controls switching of the operation mode of the image capturing unit, and the optimal lens position with respect to the image of the specific pattern acquired by operating the image capturing unit in the first operation mode based on the adjustment value. And a lens position correction unit that corrects the lens position to focus on the image of the subject acquired when operating in the two-operation mode. [Selection] Figure 3

Description

本発明は、撮像装置、撮像方法及び撮像プログラムに関する。   The present invention relates to an imaging apparatus, an imaging method, and an imaging program.

文字や図形が記録されている書籍などの媒体を画像として取得する撮像装置が知られている。このような撮像装置は、一般的に「スキャナ」と呼ばれる。スキャナには、様々な種類の形式のものがある。その一つとして、書籍などの媒体(読取り対象)を載置し、媒体の上方から撮像することで文字や図形を画像として取得するスタンド型のスキャナが知られている。スタンド型のスキャナは、二次元撮像素子(エリアセンサ)と撮像レンズを含む撮像系を備える。   2. Description of the Related Art An imaging device that acquires a medium such as a book in which characters and figures are recorded as an image is known. Such an imaging apparatus is generally called a “scanner”. There are various types of scanners. As one of them, there is known a stand-type scanner that places a medium (reading target) such as a book and captures characters and figures as an image by taking an image from above the medium. The stand-type scanner includes an imaging system including a two-dimensional imaging element (area sensor) and an imaging lens.

スタンド型のスキャナは、読取り対象に対して撮像レンズの焦点を自動的に合わせる(合焦状態にする)機能と、撮像レンズを介して取得した被写体像をリアルタイムで視認できるように表示させるライブビュー機能と、を有する撮像系を備える。なお、前者は、オートフォーカス(AF:Auto Focus)機能と呼ばれる。   The stand-type scanner automatically adjusts the focus of the imaging lens to the reading target (to bring it into focus), and a live view that displays the subject image acquired via the imaging lens so that it can be viewed in real time. And an imaging system having a function. The former is called an auto focus (AF) function.

AF機能において撮像レンズの制御(AF制御)を高速化するために、被写体の空間周波数に応じた撮像レンズ位置の補正量を複数個記憶しておき、この補正量を用いてレンズ位置を補正する撮像装置が知られている(例えば、特許文献1を参照)。   In order to speed up the imaging lens control (AF control) in the AF function, a plurality of correction amounts of the imaging lens position corresponding to the spatial frequency of the subject are stored, and the lens position is corrected using this correction amount. An imaging device is known (see, for example, Patent Document 1).

特許文献1に開示されている技術は、低解像度モードで最適レンズ位置を求めた後、高解像度モードで取得した被写体像の空間周波数成分を解析し、解析結果に基づいて、予め記憶したレンズ位置補正量から適切なもの選択して、レンズ位置の補正をする。   The technique disclosed in Patent Document 1 calculates the optimum lens position in the low resolution mode, then analyzes the spatial frequency component of the subject image acquired in the high resolution mode, and stores the lens position stored in advance based on the analysis result. Select an appropriate correction amount and correct the lens position.

特許文献1に開示されている技術では、予め記憶する複数個のレンズ位置補正量のうち適切なものを選択するために、高解像度モードで被写体像を取得して被写体の空間周波数成分を解析する必要がある。すなわち、低解像度モードによって被写体像を取得して、最適レンズ位置を求めた後に、撮像素子の動作モードを高解像度モードに変更して再度、被写体像を取得する。   In the technique disclosed in Patent Document 1, in order to select an appropriate one of a plurality of lens position correction amounts stored in advance, a subject image is acquired in a high resolution mode and a spatial frequency component of the subject is analyzed. There is a need. That is, after obtaining the subject image in the low resolution mode and obtaining the optimum lens position, the operation mode of the image sensor is changed to the high resolution mode, and the subject image is obtained again.

エリアセンサを備えるスキャナに特許文献1の技術を適用する場合、ユーザーが読取り対象(原稿など)の位置合せ等を行うためにライブビュー機能を動作させるときには低解像度モードで動作させるので、この低解像モードによるAF制御を行うことになる。しかし、読み取り対象を撮影した後の判読性を確保するに高解像度モードに基づく撮影が望ましい。そこで、高解像度モードにおいて、再度のAF制御を行う必要がある。この場合、ライブビュー機能を一旦停止し、撮像素子の動作モードを切り替えてから高解像度モードにおけるAF制御を行うことになる。   When the technique of Patent Document 1 is applied to a scanner including an area sensor, the user operates in the low resolution mode when operating the live view function in order to perform alignment of a reading target (such as a document). AF control in the image mode is performed. However, photographing based on the high resolution mode is desirable to ensure legibility after photographing the object to be read. Therefore, it is necessary to perform AF control again in the high resolution mode. In this case, the live view function is temporarily stopped and AF control in the high resolution mode is performed after the operation mode of the image sensor is switched.

このように、ユーザーが原稿の位置合せ等のスキャン準備を行っている途中でライブビュー機能を一時的に停止することになり、ユーザーの利便性が低下する。また、撮像素子の動作モードの切り替えに時間を要することで、AF制御とスキャン処理を連続して実行する場合の生産性が低下する。以上のように、従来の技術をスタンド型のスキャナに適用すると、ユーザーの利便性低下と生産性低下を招くことなく適切なAF制御を行うには課題がある。   In this way, the live view function is temporarily stopped while the user is preparing for scanning such as document alignment, and the convenience of the user is reduced. In addition, since it takes time to switch the operation mode of the image sensor, productivity in the case where AF control and scan processing are continuously performed is reduced. As described above, when the conventional technique is applied to a stand-type scanner, there is a problem in performing appropriate AF control without causing a decrease in user convenience and productivity.

本発明は、上記の課題を鑑みてなされたものであって、書籍等のスキャンを行うときにユーザーの利便性と生産性を向上させることを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to improve user convenience and productivity when scanning books and the like.

上記課題を解決するために、本発明の一態様は、撮像装置に関するものであって、有効画像領域に配置された被写体の画像と特定パターンの画像を共に撮像レンズを介して取得する撮像部と、前記有効画像領域における前記特定パターンの画像に基づく合焦評価値を算出する評価値算出部と、前記合焦評価値に基づく合焦状態に対応する最適レンズ位置を算出する最適レンズ位置算出部と、前記最適レンズ位置を調整するための調整値を予め記憶する記憶部と、前記撮像部の動作モードの切り替えを制御する切替制御部と、前記撮像部を第1動作モードで動作させて取得した前記特定パターンの画像に対する前記最適レンズ位置を、前記調整値に基づいて、前記撮像部を第2動作モードで動作させたときに取得する前記被写体の画像に合焦するレンズ位置に補正するレンズ位置補正部と、を備えることを特徴とする。   In order to solve the above-described problem, an aspect of the present invention relates to an imaging apparatus, and an imaging unit that acquires both an image of a subject arranged in an effective image area and an image of a specific pattern via an imaging lens; An evaluation value calculation unit that calculates a focus evaluation value based on the image of the specific pattern in the effective image region, and an optimal lens position calculation unit that calculates an optimal lens position corresponding to a focus state based on the focus evaluation value A storage unit that preliminarily stores an adjustment value for adjusting the optimum lens position, a switching control unit that controls switching of the operation mode of the imaging unit, and the imaging unit that is operated in the first operation mode. Based on the adjustment value, the optimum lens position with respect to the image of the specific pattern is focused on the image of the subject acquired when the imaging unit is operated in the second operation mode. A lens position correction unit for correcting the lens position, characterized in that it comprises a.

本発明によれば、書籍等のスキャンを行うときにユーザーの利便性と生産性を向上させることができる。   According to the present invention, user convenience and productivity can be improved when scanning books and the like.

本発明の一実施形態である画像読取装置の構成を概略的に示す断面図である。1 is a cross-sectional view schematically illustrating a configuration of an image reading apparatus according to an embodiment of the present invention. 本発明の一実施形態であるドキュメントスキャナの構成を示す(a)側面図、(b)一部を底面側から見た図、(c)上面図である。1A is a side view showing a configuration of a document scanner according to an embodiment of the present invention, FIG. 1B is a view of a part of the document scanner viewed from the bottom side, and FIG. 上記ドキュメントスキャナのハードウェア構成図である。It is a hardware block diagram of the said document scanner. 上記ドキュメントスキャナの機能構成図である。It is a functional block diagram of the said document scanner. 上記ドキュメントスキャナにおいて実行される撮像プログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of the imaging program performed in the said document scanner. 上記撮像プログラムにおけるAF調整処理の流れを示すフローチャートである。It is a flowchart which shows the flow of AF adjustment processing in the said imaging program. 上記ドキュメントスキャナにおいて実行されるオフセット測定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the offset measurement process performed in the said document scanner. 上記ドキュメントスキャナにおいて実行されるエラー開始処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the error start process performed in the said document scanner. 上記撮像プログラムで用いられる調整値の例を示すデータ構成図である。It is a data block diagram which shows the example of the adjustment value used with the said imaging program. 上記ドキュメントスキャナにおけるエリアセンサと原稿及び原稿台との関係を説明する概略図である。It is the schematic explaining the relationship between the area sensor in the said document scanner, a document, and a document stand. 上記ドキュメントスキャナにおいて適用可能なAF処理の原理を説明する説明図である。It is explanatory drawing explaining the principle of AF process applicable in the said document scanner. 上記ドキュメントスキャナにおいて適用可能なコントラスト検出用パターンの例を示す図である。It is a figure which shows the example of the pattern for contrast detection applicable in the said document scanner. 一般的なAF制御における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in general AF control. 一般的なAF制御において、エリアセンサの動作モードの違いによりデフォーカス特性の違いを示す図である。It is a figure which shows the difference in a defocus characteristic by the difference in the operation mode of an area sensor in general AF control.

<本発明の要旨>
本発明に係る撮像装置は、低解像度モードで動作させた撮像素子のAF制御による最適レンズ位置(合焦位置)に基づいて、高解像度モードで撮像すべき高空間周波数を含む被写体に対する最適レンズ位置を自動的に取得する、ことを要旨の一つとする。
<Summary of the present invention>
The image pickup apparatus according to the present invention has an optimum lens position for a subject including a high spatial frequency to be imaged in the high resolution mode based on the optimum lens position (focus position) by AF control of the image pickup element operated in the low resolution mode. One of the main points is to automatically acquire

<撮像装置の実施形態>
以下、本発明に係る撮像装置の一実施形態について図面を用いて説明する。まず、本発明に係る撮像装置として構成されるスキャナ装置を備える画像読取装置の一実施形態について説明する。
<Embodiment of Imaging Device>
Hereinafter, an embodiment of an imaging apparatus according to the present invention will be described with reference to the drawings. First, an embodiment of an image reading apparatus including a scanner device configured as an imaging apparatus according to the present invention will be described.

図1は、本実施形態に係る画像読取装置であるMFP500の構成例を示す模式的な断面図である。図1において、MFP500は、給紙部400と、画像読取装置本体300と、スキャナ102と、本発明に係る撮像装置の一実施形態であるドキュメントスキャナ101と、操作パネル200と、を備える。   FIG. 1 is a schematic cross-sectional view illustrating a configuration example of an MFP 500 that is an image reading apparatus according to the present embodiment. In FIG. 1, an MFP 500 includes a paper feed unit 400, an image reading apparatus main body 300, a scanner 102, a document scanner 101 which is an embodiment of an imaging apparatus according to the present invention, and an operation panel 200.

画像読取装置本体300の内部には、タンデム方式の作像部301と、給紙部400から搬送路302を介して作像部301に記録紙を供給するレジストローラ303と、光書き込み装置304と、定着・搬送部305と、両面トレイ306と、を備えている。   Inside the image reading apparatus main body 300, a tandem image forming unit 301, a registration roller 303 that supplies recording paper from the paper supply unit 400 to the image forming unit 301 via the conveyance path 302, an optical writing device 304, and the like. A fixing / conveying section 305 and a double-sided tray 306.

作像部301には、Y(イエロー)、M(マゼンダ)、C(シアン)、K(黒)の各色に対応する4本の感光体ドラム307が並設されている。感光体ドラム307の周囲には、帯電器・現像器308と、転写器、クリーナ、及び除電器を含む作像要素が配置されている。また、転写器と感光体ドラム307との間には両者のニップに挟持された状態で駆動ローラと従動ローラとの間に張架された中間転写ベルト309が配置されている。   In the image forming unit 301, four photosensitive drums 307 corresponding to respective colors of Y (yellow), M (magenta), C (cyan), and K (black) are arranged in parallel. Around the photosensitive drum 307, an image forming element including a charger / developer 308, a transfer device, a cleaner, and a charge eliminator is arranged. Further, an intermediate transfer belt 309 stretched between the driving roller and the driven roller is disposed between the transfer unit and the photosensitive drum 307 in a state of being sandwiched between the two nips.

このように構成されたタンデム方式のMFP500は、YMCKの各色に対応する感光体ドラム307に光書き込みを行い、現像器308でトナー毎に現像し、中間転写ベルト309によって、例えばY、M、C、Kの順に1次転写をする。その後、1次転写により4色が重畳されたフルカラーの画像を記録紙に2次転写する。その後、2次転写を定着して排紙することにより、フルカラーの画像を記録紙上に形成することができる。   The tandem type MFP 500 configured as described above performs optical writing on the photosensitive drum 307 corresponding to each color of YMCK, develops the toner for each toner by the developing device 308, and, for example, Y, M, and C by the intermediate transfer belt 309. , K in the order of primary transfer. Thereafter, a full color image in which the four colors are superimposed by the primary transfer is secondarily transferred to the recording paper. Thereafter, by fixing the secondary transfer and ejecting it, a full-color image can be formed on the recording paper.

操作パネル200は、MFP500の動作を指示するユーザーインターフェース(I/F:Interface)である。操作パネル200が備えるユーザーI/Fの操作により、後述するドキュメントスキャナ101も動作する。   Operation panel 200 is a user interface (I / F: Interface) that instructs the operation of MFP 500. The document scanner 101 described later is also operated by the operation of the user I / F included in the operation panel 200.

スキャナ102は、いわゆるフラットヘッドスキャナであって、原稿台130に載置された読取り対象物をラインセンサにより走査し、画像を読み取る装置である。   The scanner 102 is a so-called flat head scanner, and is a device that scans an object to be read placed on the document table 130 with a line sensor and reads an image.

ドキュメントスキャナ101は、本発明に係る撮像装置の一実施形態であるスタンド型の撮像装置である。ドキュメントスキャナ101の詳細な構成等については、後述する。   The document scanner 101 is a stand-type imaging device that is an embodiment of the imaging device according to the present invention. The detailed configuration of the document scanner 101 will be described later.

<撮像装置の全体構成>
次に、本発明に係る撮像装置の一実施形態であるドキュメントスキャナ101について説明する。図2(a)に示すように、ドキュメントスキャナ101は、エリアセンサ110と、読取り対象物である原稿600を照らす照明120と、原稿600を載置する原稿台130と、エリアセンサ110と照明120を支持する支持部140と、を備える。
<Overall configuration of imaging device>
Next, the document scanner 101 which is an embodiment of the imaging apparatus according to the present invention will be described. As shown in FIG. 2A, the document scanner 101 includes an area sensor 110, an illumination 120 that illuminates a document 600 that is an object to be read, a document table 130 on which the document 600 is placed, an area sensor 110, and an illumination 120. The support part 140 which supports is provided.

エリアセンサ110は、2次元状に配列された画素からなる撮像面を備える撮像素子であって、原稿台130に載置された原稿600に表示されている文字情報や図形情報を含む被写体画像を生成するための画像信号を出力する。エリアセンサ110は、原稿600を上方から撮影するために、支持部140の上方端部において保持されている。   The area sensor 110 is an image pickup device having an image pickup surface made up of pixels arranged in a two-dimensional manner, and is used to capture a subject image including character information and graphic information displayed on a document 600 placed on a document table 130. An image signal for generation is output. The area sensor 110 is held at the upper end of the support unit 140 in order to photograph the original 600 from above.

図2(b)は、支持部140の上方端部に保持されているエリアセンサ110や照明120を、原稿台130側から見た図である。図2(b)に示すように、照明120は、エリアセンサ110の周囲に複数配列されている。例えば、エリアセンサ110の撮像面が向いている方向(原稿台130がある方法)に光を照射するように、エリアセンサ110を挟むように配列されている。   FIG. 2B is a view of the area sensor 110 and the illumination 120 held at the upper end of the support portion 140 as viewed from the document table 130 side. As shown in FIG. 2B, a plurality of illuminations 120 are arranged around the area sensor 110. For example, the area sensor 110 is arranged so as to sandwich the area sensor 110 so that light is emitted in a direction in which the imaging surface of the area sensor 110 faces (a method in which the document table 130 is provided).

図2(c)は、支持部140の下方端部が固定されている原稿台130をエリアセンサ110側から見た図である。図2(c)に示すように、原稿台130は、水平面に載置される平面状の部材であって、ドキュメントスキャナ101の土台である。原稿台130には、原稿600が載置される領域である原稿配置領域132が設定されている。原稿配置領域132は、エリアセンサ110における撮像可能な領域であって、有効画像領域である。原稿配置領域132は、原稿台130におけるその他の領域と区別しやすくするために、例えば異なる色が付されている。   FIG. 2C is a view of the document table 130 to which the lower end portion of the support portion 140 is fixed as viewed from the area sensor 110 side. As shown in FIG. 2C, the document table 130 is a planar member placed on a horizontal plane and is a base of the document scanner 101. A document placement area 132, which is an area on which the document 600 is placed, is set on the document table 130. The document placement area 132 is an area that can be imaged by the area sensor 110 and is an effective image area. The document placement area 132 is provided with a different color, for example, so that it can be easily distinguished from other areas on the document table 130.

また、原稿台130には、AF参照パターン131が配置されている。AF参照パターン131は、後述するAF制御に用いられる「低解像度モード用のコントラスト検出用パターン」であって、本実施形態における「特定パターン」である。なお、コントラスト検出パターンの説明は後述する。AF参照パターン131は、原稿配置領域132の外側の支持部140の付け根部分に配置されている。AF参照パターン131が配置されている領域は、エリアセンサ110において取得される画像に含まれる領域になるように、後述するレンズ150の画角が設定されている。即ち、ドキュメントスキャナ101が備える撮像光学系は、撮像素子であるエリアセンサ110と撮像レンズであるレンズ150により構成される。この撮像光学系は、エリアセンサ110の有効画素領域において原稿600の配置に適する原稿配置領域132よりも広い範囲を撮像できるように構成されている。   An AF reference pattern 131 is arranged on the document table 130. The AF reference pattern 131 is a “contrast detection pattern for low resolution mode” used for AF control described later, and is a “specific pattern” in the present embodiment. The contrast detection pattern will be described later. The AF reference pattern 131 is arranged at the base portion of the support part 140 outside the document arrangement area 132. The angle of view of the lens 150 described later is set so that the area where the AF reference pattern 131 is arranged is an area included in an image acquired by the area sensor 110. That is, the imaging optical system provided in the document scanner 101 includes an area sensor 110 that is an imaging element and a lens 150 that is an imaging lens. This imaging optical system is configured to capture a wider area in the effective pixel area of the area sensor 110 than the document placement area 132 suitable for placement of the document 600.

ここで、ドキュメントスキャナ101の動作の概略について説明する。まず、原稿600が書籍であれば、スキャンしたいページを開いた状態で原稿台130に原稿600をセットする(載置する)。ユーザーが操作パネル200のスタートボタンを押下することで、照明120が点灯して、原稿スキャン動作が実行される。原稿スキャン動作が終了した後は、ユーザーが他のページをスキャンしたい場合、そのページをめくって、再度、操作パネル200のスタートボタンの押下をする。上記の操作を繰り返すことで、連続スキャンが実行される。   Here, an outline of the operation of the document scanner 101 will be described. First, if the document 600 is a book, the document 600 is set (placed) on the document table 130 with the page to be scanned opened. When the user presses the start button on the operation panel 200, the illumination 120 is turned on and the document scanning operation is executed. After the document scanning operation is completed, if the user wants to scan another page, the user turns the page and presses the start button on the operation panel 200 again. By repeating the above operation, continuous scanning is executed.

また、操作パネル200からの選択動作により、スキャン後の読取画像データについて紙出力を実行することや、USBメモリなどの外部記憶装置へのデータ出力を選択実行することができる。   Further, by selecting operation from the operation panel 200, paper output can be executed for scanned image data after scanning, and data output to an external storage device such as a USB memory can be selected and executed.

エリアセンサ110が原稿600を撮像するときに照明120を点灯するのは、室内照明の写り込みや、ユーザー自身の影の写り込み等の外来影響を排除するためである。したがって、照明120は、ユーザーが操作パネル200を操作してスキャン指示を行ったときに、その指示に合わせて点灯し、スキャン動作の終了時に自動的に消灯する。   The reason why the illumination sensor 120 is turned on when the area sensor 110 captures the image of the document 600 is to eliminate external influences such as reflection of indoor lighting and reflection of the user's own shadow. Therefore, when the user operates the operation panel 200 to give a scan instruction, the illumination 120 is turned on in accordance with the instruction, and is automatically turned off when the scan operation ends.

ここで、図10用いて、エリアセンサ110と原稿600及び原稿台130との関係について説明する。図10に示すように、ドキュメントスキャナ101は原稿台130及び原稿600の像を、レンズ150を用いてエリアセンサ110に結像し、原稿600の画像を読み取るように構成されている。ここで、エリアセンサ110の撮像面における原稿600の画像の合焦状態の良し悪しは、エリアセンサ110とレンズ150と原稿台130の距離と、レンズ150の焦点距離で決まる。レンズ150は、後述するAF制御に基づいて、レンズ150を移動させるレンズ駆動手段によって、矢印Aに示す方向(レンズ150の光軸方向)に沿って移動可能な状態に保持されている。レンズ駆動手段によってレンズ150の光軸方向におけるレンズ位置を調整するようにAF制御を行うことができる。   Here, the relationship between the area sensor 110, the document 600, and the document table 130 will be described with reference to FIG. As shown in FIG. 10, the document scanner 101 is configured to form an image of the document table 130 and the document 600 on the area sensor 110 using a lens 150 and read the image of the document 600. Here, whether or not the image of the original 600 on the imaging surface of the area sensor 110 is in focus is determined by the distance between the area sensor 110, the lens 150 and the original table 130, and the focal length of the lens 150. The lens 150 is held in a movable state along the direction indicated by the arrow A (the optical axis direction of the lens 150) by a lens driving unit that moves the lens 150 based on AF control described later. AF control can be performed so that the lens position of the lens 150 in the optical axis direction is adjusted by the lens driving means.

<AF制御の原理とレンズ150のデフォーカス特性>
次に、AF制御の原理について説明する。図11は、レンズ150のデフォーカス特性の例を示す特性図である。図11における横軸は、レンズ150の光軸方向のレンズ位置を示す。縦軸は、エリアセンサ110において取得した被写体像から算出されるコントラスト値を示す。コントラスト値は、エリアセンサ110で取得した画像に対して所定の画像処理を施すことで算出する合焦評価値の一例であって、被写体像の合焦状態を判定することに用いられる指標値である。なお、合焦状態の評価値の定義や算出方法には、様々なものが知られている。例えば画像の最大画素値Imaxと最小画素値Iminを用いたコントラスト値として、(Imax−Imin)/(Imax+Imin)という式を用いて算出する方法も知られている。
<The principle of AF control and the defocus characteristic of the lens 150>
Next, the principle of AF control will be described. FIG. 11 is a characteristic diagram illustrating an example of the defocus characteristic of the lens 150. The horizontal axis in FIG. 11 indicates the lens position of the lens 150 in the optical axis direction. The vertical axis represents the contrast value calculated from the subject image acquired by the area sensor 110. The contrast value is an example of a focus evaluation value calculated by performing predetermined image processing on an image acquired by the area sensor 110, and is an index value used for determining the focus state of the subject image. is there. Various definitions and calculation methods for the evaluation value of the in-focus state are known. For example, as a contrast value using the maximum pixel value Imax and the minimum pixel value Imin of an image, a method of calculating using a formula (Imax−Imin) / (Imax + Imin) is also known.

図11に示すように、レンズ150を光軸方向に移動させながら、各レンズ位置におけるコントラスト値を算出すると、所定のレンズ位置においてピークをもつ様に変化する。コントラスト値のピークに対応するレンズ位置が、最適レンズ位置BFに相当する。この最適レンズ位置BFにレンズ150を移動させると、エリアセンサ110の撮像面において原稿600の画像が合焦状態になる。   As shown in FIG. 11, when the contrast value at each lens position is calculated while moving the lens 150 in the optical axis direction, it changes so as to have a peak at a predetermined lens position. The lens position corresponding to the peak of the contrast value corresponds to the optimum lens position BF. When the lens 150 is moved to the optimum lens position BF, the image of the document 600 is brought into focus on the imaging surface of the area sensor 110.

次に、AF制御におけるコントラスト値の算出に用いるコントラスト検出用パターンについて説明する。図12(a)は、空間周波数が低いコントラスト検出用パターンである第1パターン画像の例である。図12(b)は、空間周波数が高いコントラスト検出用パターンである第2パターン画像の例である。コントラスト検出用パターンは、図12に示すような一次元の矩形波形状に濃度が変化するパターンがある。AF参照パターン131として用いるコントラスト検出用パターンの空間周波数は、コントラスト値が適切に取得できるようにエリアセンサ110の読み取り解像度に応じて決定する必要がある。   Next, a contrast detection pattern used for calculating a contrast value in AF control will be described. FIG. 12A is an example of a first pattern image that is a contrast detection pattern having a low spatial frequency. FIG. 12B is an example of a second pattern image that is a contrast detection pattern having a high spatial frequency. The contrast detection pattern includes a pattern in which the density changes to a one-dimensional rectangular wave shape as shown in FIG. The spatial frequency of the contrast detection pattern used as the AF reference pattern 131 needs to be determined according to the reading resolution of the area sensor 110 so that the contrast value can be appropriately acquired.

仮に、エリアセンサ110の読み取り解像度に対してコントラスト検出用パターンの空間周波数が高すぎる場合、コントラスト検出用パターンの濃度変化をスキャン画像で再現することができない。そこで、コントラスト検出用パターンの空間周波数は、スキャン画像で再現可能な空間周波数以下にする必要がある。   If the spatial frequency of the contrast detection pattern is too high for the reading resolution of the area sensor 110, the density change of the contrast detection pattern cannot be reproduced in the scan image. Therefore, the spatial frequency of the contrast detection pattern needs to be equal to or lower than the spatial frequency that can be reproduced in the scan image.

例えば、エリアセンサ110と原稿台130の結像光学系のMTF特性が周波数によらず常に1の場合、即ち、原稿台130が理想的にエリアセンサ110に結像する場合を仮定する。この場合、エリアセンサ110の読み取り解像度が200dpiであれば、サンプリング定理により、コントラスト検出用パターンの空間周波数をその半分の100dpi以下にすれば、コントラスト検出用パターンの濃度変化をスキャン画像で再現できる。実際にはMTF特性に応じたボケが発生するので、コントラスト検出用パターンの空間周波数はMTF特性に応じて低く設定する必要がある。   For example, it is assumed that the MTF characteristics of the imaging optical system of the area sensor 110 and the document table 130 are always 1 regardless of the frequency, that is, the document table 130 ideally forms an image on the area sensor 110. In this case, if the reading resolution of the area sensor 110 is 200 dpi, the density change of the contrast detection pattern can be reproduced in the scan image if the spatial frequency of the contrast detection pattern is reduced to 100 dpi or less by half according to the sampling theorem. Actually, blurring according to the MTF characteristic occurs, so the spatial frequency of the contrast detection pattern needs to be set low according to the MTF characteristic.

図13は、一般的なAF制御の例を示すフローチャートである。図13(a)は、低解像度モードコントラスト値を算出するAF制御である。低解像度モードにおけるAF制御では、図12(a)に示すような低空間周波数パターンの画像を用いる。図13(b)は、高解像度モードでコントラスト値を算出するAF制御である。高解像度モードにおけるAF制御では、図12(b)に示すような高空間周波数パターンの画像を用いる。コントラスト検出用パターンは、図12に示すように、矩形波形状に濃度変化するパターンなどが使用できる。これらのような一次元方向に濃度変化するパターンの場合は、濃度変化方向と直交する方向(濃度変化しない方向)に平均化処理を行うことで、ノイズ除去が可能である。   FIG. 13 is a flowchart illustrating an example of general AF control. FIG. 13A shows AF control for calculating a low resolution mode contrast value. In the AF control in the low resolution mode, an image having a low spatial frequency pattern as shown in FIG. FIG. 13B shows AF control for calculating a contrast value in the high resolution mode. In the AF control in the high resolution mode, an image having a high spatial frequency pattern as shown in FIG. As the contrast detection pattern, as shown in FIG. 12, a pattern whose density changes into a rectangular wave shape can be used. In the case of a pattern in which the density changes in such a one-dimensional direction, noise can be removed by performing an averaging process in a direction orthogonal to the density change direction (a direction in which the density does not change).

すでに説明したように、AF制御ではライブビューと同じく図13(a)のAF制御のように低解像度モードのスキャン画像を用いることが望ましい。そこで、図13(a)に示すように、低空間周波数パターン画像を取得し(S1301)、取得した画像のコントラスト値を算出し(S1302)、コントラスト値に基づいて最適レンズ位置BFを算出する(S1303)。   As already described, in the AF control, it is desirable to use a scan image in the low resolution mode as in the AF control of FIG. Therefore, as shown in FIG. 13A, a low spatial frequency pattern image is acquired (S1301), the contrast value of the acquired image is calculated (S1302), and the optimum lens position BF is calculated based on the contrast value ( S1303).

また、高空間周波数パターン画像によるAF制御は、図13(b)に示すように、エリアセンサ110のライブビュー動作を停止して、高解像度モードに設定する(S1300)。続いて、高空間周波数パターン画像を取得し(S1301a)、取得した画像のコントラスト値を算出し(S1302)、コントラスト値に基づいて最適レンズ位置BFを算出する(S1303)。その後、エリアセンサ110を低解像度モードに設定しなおして、ライブビュー動作を開始する(S1304)。   Also, in the AF control using the high spatial frequency pattern image, as shown in FIG. 13B, the live view operation of the area sensor 110 is stopped and the high resolution mode is set (S1300). Subsequently, a high spatial frequency pattern image is acquired (S1301a), the contrast value of the acquired image is calculated (S1302), and the optimum lens position BF is calculated based on the contrast value (S1303). Thereafter, the area sensor 110 is reset to the low resolution mode, and the live view operation is started (S1304).

ここで、エリアセンサ110の動作モードが低解像度モードの場合、画像では図12(b)において例示する高空間周波数パターンを再現できずベストフォーカスとなるレンズ位置(コントラスト値が最大となるレンズ位置)を検出できない。したがって、AF制御では、図12(a)の低空間周波数パターンを用いざるを得ない。   Here, when the operation mode of the area sensor 110 is the low resolution mode, the high spatial frequency pattern exemplified in FIG. 12B cannot be reproduced in the image, and the lens position at which the focus is best (the lens position at which the contrast value is maximized). Cannot be detected. Therefore, in the AF control, the low spatial frequency pattern shown in FIG.

一方で、図11を用いて説明したレンズ150のデフォーカス特性は、スキャン画像の空間周波数によって変わる。図12(a)に示すような低空間周波数成分に対してコントラスト値を算出する場合と、図12(b)に示すような高空間周波数成分に対してコントラスト値を算出する場合では、図14に示すようにベストフォーカスとなるレンズ位置が異なる。   On the other hand, the defocus characteristic of the lens 150 described with reference to FIG. 11 varies depending on the spatial frequency of the scanned image. When the contrast value is calculated for the low spatial frequency component as shown in FIG. 12A and when the contrast value is calculated for the high spatial frequency component as shown in FIG. As shown in FIG. 4, the lens position for the best focus is different.

図14は、エリアセンサ110の動作モードの違いによるレンズ150のデフォーカス特性を示す図である。図14における横軸は、レンズ150における光軸方向のレンズ位置を示す。縦軸は、エリアセンサ110において取得した被写体像から算出するコントラスト値を示す。図14に示すように、高空間周波数時のデフォーカス特性である高空間周波数特性91と低空間周波数時のデフォーカス特性である低空間周波数特性92を比較すると、それぞれのピーク位置に対応するレンズ位置は異なる位置であることがわかる。ここで、高空間周波数特性91がピークとなるレンズ位置を高空間周波数ベストフォーカスBFHとし、低空間周波数特性92がピークとなるレンズ位置を低空間周波数ベストフォーカスBFLとする。   FIG. 14 is a diagram illustrating the defocus characteristics of the lens 150 depending on the operation mode of the area sensor 110. The horizontal axis in FIG. 14 indicates the lens position of the lens 150 in the optical axis direction. The vertical axis represents the contrast value calculated from the subject image acquired by the area sensor 110. As shown in FIG. 14, when a high spatial frequency characteristic 91, which is a defocus characteristic at a high spatial frequency, is compared with a low spatial frequency characteristic 92, which is a defocus characteristic at a low spatial frequency, lenses corresponding to respective peak positions. It can be seen that the positions are different positions. Here, a lens position at which the high spatial frequency characteristic 91 has a peak is defined as a high spatial frequency best focus BFH, and a lens position at which the low spatial frequency characteristic 92 has a peak is defined as a low spatial frequency best focus BFL.

図14から明らかなように、高空間周波数ベストフォーカスBFHと低空間周波数ベストフォーカスBFLは異なるので、低解像度モードにおいて低空間周波数パターンを用いてAF制御を行っても、高空間周波数成分に対するベストフォーカスにはならない。ドキュメントスキャナ101において書籍や文字原稿を高解像度モードでスキャンする場合、スキャン画像の解像力を左右するのは文字の輪郭などの高空間周波数成分である。したがって、高空間周波数成分に対するがベストフォーカスから外れた状態で画像を取得しても解像力が低くなり、スキャン画質は悪化する。すなわち、ドキュメントスキャナ101が想定するような原稿600を低解像度モードでスキャンしても、本来得たい高空間周波数成分に対する適切なAF制御を行うことは困難になる。   As is clear from FIG. 14, the high spatial frequency best focus BFH and the low spatial frequency best focus BFL are different, so even if AF control is performed using a low spatial frequency pattern in the low resolution mode, the best focus for the high spatial frequency component is achieved. It will not be. When the document scanner 101 scans a book or text document in the high resolution mode, it is high spatial frequency components such as the outline of the text that influence the resolution of the scanned image. Therefore, even if an image is acquired in a state where the high spatial frequency component is out of the best focus, the resolution is lowered, and the scan image quality is deteriorated. That is, even when the original 600 as assumed by the document scanner 101 is scanned in the low resolution mode, it is difficult to perform appropriate AF control for the high spatial frequency component that is originally desired.

図13(b)に示すAF制御のように高解像度モードでAF制御を行えば、高空間周波数成分に対して適切なAF調整結果を得られる。しかし、低解像度モードが必須となるライブビュー動作と両立させることはできない。そこで、ライブビュー動作を停止させてからAF制御を行うことになる。その場合、ユーザーが原稿600の位置合せ等のスキャン準備を行っている途中でライブビューが一時的に停止することになるので、ユーザーの利便性が低下する。あるいは待機状態ではAF制御は行わず、スキャンスタート指示が出た後にAF制御を行うという制御フローも考えられる。しかし、ライブビューの停止により利便性の低下はなくとも、スキャンスタート指示からスキャン開始までの時間が長くなるので、生産性が低下する。   If the AF control is performed in the high resolution mode as in the AF control shown in FIG. 13B, an appropriate AF adjustment result can be obtained for the high spatial frequency component. However, it cannot be compatible with the live view operation in which the low resolution mode is essential. Therefore, AF control is performed after the live view operation is stopped. In this case, since the live view is temporarily stopped while the user is preparing for scanning such as alignment of the original 600, convenience for the user is reduced. Alternatively, a control flow may be considered in which AF control is not performed in the standby state, but AF control is performed after a scan start instruction is issued. However, even if there is no decrease in convenience due to the stop of the live view, the time from the scan start instruction to the start of the scan becomes longer, so the productivity decreases.

以上のように、従来のAF制御では、ユーザーの利便性低下と生産性低下を招くことなくAF制御を行うには、ライブビューと同じく低解像度モードでAF制御を行う必要がある。しかし、ドキュメントスキャナ101において低解像度モードによるAF制御を行っても、読み取った画像の質が低く、高空間周波数成分を読み取ることはできない。そこで、以下において説明するように、本実施形態に係るドキュメントスキャナ101は、図10を用いて説明した高空間周波数ベストフォーカスBFHと低空間周波数ベストフォーカスBFLの差分をオフセット値93として予め記憶しておく。これによって、低空間周波数ベストフォーカスBFLを算出した後に、この低空間周波数ベストフォーカスBFLに基づく最適レンズ位置をオフセット値93によって調整することができる。即ち、オフセット値93は、最適レンズ位置BFを調整する調整値である。   As described above, in the conventional AF control, it is necessary to perform the AF control in the low resolution mode in the same way as the live view in order to perform the AF control without causing the user's convenience and productivity to be lowered. However, even if the document scanner 101 performs AF control in the low resolution mode, the quality of the read image is low, and high spatial frequency components cannot be read. Therefore, as described below, the document scanner 101 according to the present embodiment stores in advance the difference between the high spatial frequency best focus BFH and the low spatial frequency best focus BFL described with reference to FIG. deep. Thereby, after calculating the low spatial frequency best focus BFL, the optimum lens position based on the low spatial frequency best focus BFL can be adjusted by the offset value 93. That is, the offset value 93 is an adjustment value for adjusting the optimum lens position BF.

<画像形成装置のハードウェア構成>
上記の説明を踏まえて、本発明に係るドキュメントスキャナ101の構成と特徴について説明する。次に、ドキュメントスキャナ101のハードウェア構成について説明する。図3に示すように、ドキュメントスキャナ101は、エリアセンサ110と、制御デバイス111と、制御I/F113と、画像I/F114と、温度センサ115と、タイマー116と、モーター117と、レンズ150と、照明120と、を備える。エリアセンサ110、照明120、レンズ150の詳細は、すでに説明のとおりである。
<Hardware configuration of image forming apparatus>
Based on the above description, the configuration and characteristics of the document scanner 101 according to the present invention will be described. Next, the hardware configuration of the document scanner 101 will be described. As shown in FIG. 3, the document scanner 101 includes an area sensor 110, a control device 111, a control I / F 113, an image I / F 114, a temperature sensor 115, a timer 116, a motor 117, and a lens 150. , And illumination 120. The details of the area sensor 110, the illumination 120, and the lens 150 have already been described.

制御デバイス111は、操作パネル200が備える操作デバイス201からの入力や、温度センサ115やタイマー116から通知されるデータを取得する情報を用いて、モーター117や照明120などの各種デバイスの動作制御を行う。また、制御デバイス111は、エリアセンサ110から入力される画像信号に対して画像処理を実行し画像データを生成する。   The control device 111 controls the operation of various devices such as the motor 117 and the illumination 120 using information from the operation device 201 included in the operation panel 200 and information acquired from the temperature sensor 115 and the timer 116. Do. The control device 111 performs image processing on the image signal input from the area sensor 110 and generates image data.

記憶装置112は、エリアセンサ110を介して取得した画像データや、画像データから算出したコントラスト値及びコントラスト値から算出したオフセット値93などの各種データを記憶する。また、記憶装置112は、後述する撮像プログラムを記憶し、これを実行するためのワークエリアとしても機能する。記憶装置112には、揮発性の記憶装置と不揮発性の記憶装置が搭載されている。   The storage device 112 stores various data such as image data acquired via the area sensor 110, a contrast value calculated from the image data, and an offset value 93 calculated from the contrast value. The storage device 112 also stores an imaging program to be described later and also functions as a work area for executing the imaging program. The storage device 112 includes a volatile storage device and a nonvolatile storage device.

制御I/F113は、画像読取装置本体300と制御指示をやり取りするインターフェースである。画像I/F114は、画像読取装置本体300と画像データをやり取りするインターフェースである。   The control I / F 113 is an interface for exchanging control instructions with the image reading apparatus main body 300. The image I / F 114 is an interface for exchanging image data with the image reading apparatus main body 300.

温度センサ115は、ドキュメントスキャナ101の動作環境における温度を計測し、制御デバイス111に温度情報を通知する。温度情報は、制御デバイス111において生成されるオフセット値93を記憶装置112に記憶するときに関連付けられる識別用データである。   The temperature sensor 115 measures the temperature in the operating environment of the document scanner 101 and notifies the control device 111 of temperature information. The temperature information is identification data associated when the offset value 93 generated in the control device 111 is stored in the storage device 112.

タイマー116は、後述するAF制御を実行するタイミングを判定するための時間データを制御デバイス111に通知する。   The timer 116 notifies the control device 111 of time data for determining timing for executing AF control described later.

なお、エリアセンサ110は、2つの動作モードを適宜切り替えて動作することができる。エリアセンサ110が備える動作モードは、高解像度モードと低解像度モードである。高解像度モードは、レンズ150を介して撮像面に結像した被写体像に対して、エリアセンサ110の有効画素領域の全領域に対応する画像データを出力する動作モードである。低解像度モードは、エリアセンサ110の有効画素領域の一部の画素の出力を間引くことで画像データの出力を高速で行う動作モードである。これらの動作モードの切り替えは、制御デバイス111の制御による。高解像度モードは静止画モードともいい、低解像度モードは動画モードともいう。   The area sensor 110 can be operated by appropriately switching between the two operation modes. The operation modes included in the area sensor 110 are a high resolution mode and a low resolution mode. The high resolution mode is an operation mode for outputting image data corresponding to the entire effective pixel area of the area sensor 110 with respect to a subject image formed on the imaging surface via the lens 150. The low resolution mode is an operation mode in which image data is output at high speed by thinning out the outputs of some pixels in the effective pixel region of the area sensor 110. Switching between these operation modes is under the control of the control device 111. The high resolution mode is also called a still image mode, and the low resolution mode is also called a moving image mode.

レンズ150は、モーター117の駆動によってレンズ位置が移動するように構成されている。モーター117の駆動制御は、制御デバイス111が行う。このモーター117と制御デバイス111によってレンズ駆動手段が構成される。レンズ150は、駆動手段の位置制御によりレンズ位置を移動しながら所定のタイミングで被写体像を取得する。レンズ位置調整のタイミングや、レンズ位置の調整方法は、タイマー116から入力される時間情報や温度センサ115から入力される温度情報、操作パネル200から入力されるユーザーまたは管理者の指示等に応じて決定される。   The lens 150 is configured such that the lens position is moved by driving the motor 117. The control device 111 performs drive control of the motor 117. The motor 117 and the control device 111 constitute lens driving means. The lens 150 acquires a subject image at a predetermined timing while moving the lens position by position control of the driving unit. The lens position adjustment timing and the lens position adjustment method depend on time information input from the timer 116, temperature information input from the temperature sensor 115, a user or administrator instruction input from the operation panel 200, and the like. It is determined.

<撮像装置の機能構成>
次に、ドキュメントスキャナ101の機能ブロックについて図4を用いて説明する。図4に示す各機能は、図3を用いて説明したドキュメントスキャナ101が備えるハードウェアと、記憶装置112に記憶されているスキャンプログラム10によって実現される。図4に示すように、スキャンプログラム10は、制御部11を中心として、各機能の動作が制御されるように構成されている。
<Functional configuration of imaging device>
Next, functional blocks of the document scanner 101 will be described with reference to FIG. Each function illustrated in FIG. 4 is realized by the hardware included in the document scanner 101 described with reference to FIG. 3 and the scan program 10 stored in the storage device 112. As shown in FIG. 4, the scan program 10 is configured so that the operation of each function is controlled around the control unit 11.

スキャンプログラム10は、制御部11と、画像処理部21と、照明部31と、撮像部41と、レンズ駆動部51と、操作部61と、ライブビュー表示部71と、画像記憶部81と、を備えている。   The scan program 10 includes a control unit 11, an image processing unit 21, an illumination unit 31, an imaging unit 41, a lens driving unit 51, an operation unit 61, a live view display unit 71, an image storage unit 81, It has.

制御部11は、スキャン制御部17と、レンズ位置補正部18と、最適レンズ位置算出部13と、時間計測部16と、温度計測部15と、レンズオフセット制御部14と、レンズオフセットテーブル保持部12と、を備えている。制御部11は、スキャンプログラム10によって実現される各機能ブロックの動作及び処理を制御する。   The control unit 11 includes a scan control unit 17, a lens position correction unit 18, an optimum lens position calculation unit 13, a time measurement unit 16, a temperature measurement unit 15, a lens offset control unit 14, and a lens offset table holding unit. 12. The control unit 11 controls the operation and processing of each functional block realized by the scan program 10.

スキャン制御部17は、操作部61からのスキャン開始指令に基づいて、照明部31に対し点灯指示を通知する。照明部31は、スキャン制御部17からの点灯指示に基づいて、照明120を点灯させる。また、スキャン制御部17は、操作部61からのスキャン開始指令に基づいて、撮像部41に対し、高解像度撮影指示を通知する。また、スキャン制御部17は、撮像部41への指示と同時に、レンズ位置補正部18に対してレンズ150の位置を移動させる指示を通知する。レンズ位置補正部18は、レンズ駆動部51に対してレンズ駆動指示を行う。レンズ駆動部51へのレンズ駆動指示によってレンズ150のレンズ位置が移動する。   Based on the scan start command from the operation unit 61, the scan control unit 17 notifies the lighting unit 31 of a lighting instruction. The illumination unit 31 turns on the illumination 120 based on the lighting instruction from the scan control unit 17. Further, the scan control unit 17 notifies the imaging unit 41 of a high-resolution imaging instruction based on a scan start command from the operation unit 61. Further, the scan control unit 17 notifies the lens position correction unit 18 of an instruction to move the position of the lens 150 simultaneously with an instruction to the imaging unit 41. The lens position correction unit 18 instructs the lens driving unit 51 to drive the lens. The lens position of the lens 150 is moved by a lens driving instruction to the lens driving unit 51.

レンズ位置補正部18は、ライブビュー機能を用いた表示の制御と、AF制御を実行する。レンズ位置補正部18は、操作部61からのスキャン開始指令に基づいて、撮像部41に対し、低解像度撮影指示を通知する。また、レンズ位置補正部18は、温度計測部15からの温度情報と時間計測部16からの時間情報に基づいて、撮像部41への指示を通知する。また、レンズ位置補正部18は、最適レンズ位置算出部13からの最適レンズ位置指示を受け付けて、レンズオフセット制御部14からのレンズオフセット加算指示に基づいて、レンズ150のオフセット位置を決定する。決定したオフセット位置にレンズ150を移動させるために、レンズ位置補正部18は、レンズ駆動部51にレンズ駆動指示をする。   The lens position correction unit 18 performs display control using the live view function and AF control. The lens position correction unit 18 notifies the imaging unit 41 of a low-resolution imaging instruction based on a scan start command from the operation unit 61. Further, the lens position correcting unit 18 notifies the instruction to the imaging unit 41 based on the temperature information from the temperature measuring unit 15 and the time information from the time measuring unit 16. The lens position correction unit 18 receives an optimum lens position instruction from the optimum lens position calculation unit 13 and determines an offset position of the lens 150 based on a lens offset addition instruction from the lens offset control unit 14. In order to move the lens 150 to the determined offset position, the lens position correction unit 18 instructs the lens driving unit 51 to drive the lens.

時間計測部16は、タイマー116が計測した時間を時間データとして制御部11に通知する処理を実行する。   The time measurement unit 16 executes processing for notifying the control unit 11 of the time measured by the timer 116 as time data.

温度計測部15は、温度センサ115が計測した温度を温度データとして制御部11に通知する処理を実行する。   The temperature measurement unit 15 executes processing for notifying the control unit 11 of the temperature measured by the temperature sensor 115 as temperature data.

最適レンズ位置算出部13は、評価値算出部であるコントラスト検出部24からのコントラスト値に基づいて、レンズ150の最適レンズ位置を算出し、算出した最適レンズ位置をレンズ位置補正部18に、最適レンズ位置指示として通知する。   The optimum lens position calculation unit 13 calculates the optimum lens position of the lens 150 based on the contrast value from the contrast detection unit 24, which is an evaluation value calculation unit, and the calculated optimum lens position is optimal for the lens position correction unit 18. Notify as a lens position instruction.

レンズオフセット制御部14は、時間計測部16や温度計測部15において通知された時間データや温度データに基づいて、レンズオフセットテーブル保持部12に記憶されているオフセット値テーブルから、該当するオフセット値を読みだす処理を実行する。   The lens offset control unit 14 obtains a corresponding offset value from the offset value table stored in the lens offset table holding unit 12 based on the time data and temperature data notified by the time measurement unit 16 and the temperature measurement unit 15. Execute the reading process.

レンズオフセットテーブル保持部12は、後述するオフセット値テーブル記憶する。オフセット値テーブルは、ドキュメントスキャナ101の電源をOFFにしても保持されるように、記憶装置112に含まれる不揮発性メモリに記憶するとよい。   The lens offset table holding unit 12 stores an offset value table to be described later. The offset value table may be stored in a non-volatile memory included in the storage device 112 so that the offset value table is retained even when the power of the document scanner 101 is turned off.

画像処理部21は、オートフォーカス画像処理部22と、スキャン画像処理部23と、コントラスト検出部24と、を備えている。   The image processing unit 21 includes an autofocus image processing unit 22, a scan image processing unit 23, and a contrast detection unit 24.

オートフォーカス画像処理部22は、撮像部41が取得した画像に基づいてオートフォーカス処理に用いるように処理を実行する。ライブビュー機能が動作中であれば、ライブビュー表示部71に対してライブビュー画像を転送する。   The autofocus image processing unit 22 executes processing to be used for autofocus processing based on the image acquired by the imaging unit 41. If the live view function is in operation, the live view image is transferred to the live view display unit 71.

スキャン画像処理部23は、撮像部41が取得した画像に基づいてスキャン処理に用いることができるように処理を実行する。撮像部41の動作モードが高解像度モードであれは、撮像部41からの画像を画像記憶部81に転送する。   The scan image processing unit 23 executes processing so that it can be used for scan processing based on the image acquired by the imaging unit 41. If the operation mode of the imaging unit 41 is the high resolution mode, the image from the imaging unit 41 is transferred to the image storage unit 81.

コントラスト検出部24は、画像処理部21におけるオートフォーカス画像処理部22が撮像部41からの画像を処理し、この処理された画像に対するコントラスト値を算出する。   In the contrast detection unit 24, the autofocus image processing unit 22 in the image processing unit 21 processes the image from the imaging unit 41, and calculates a contrast value for the processed image.

照明部31は、スキャン制御部17からの点灯指示または消灯指示より、照明120を点灯または消灯させる。   The illumination unit 31 turns on or off the illumination 120 based on a turn-on instruction or a turn-off instruction from the scan control unit 17.

撮像部41は、スキャン制御部17からの高解像度撮影指示と、レンズ位置補正部18からの低解像度撮影指示と、に基づいてエリアセンサ110の動作モードを変更し、被写体像を画像信号に変換して、画像処理部21に通知する。   The imaging unit 41 changes the operation mode of the area sensor 110 based on the high resolution shooting instruction from the scan control unit 17 and the low resolution shooting instruction from the lens position correction unit 18 and converts the subject image into an image signal. Then, the image processing unit 21 is notified.

レンズ駆動部51は、レンズ位置補正部18からのレンズ駆動指示に基づいて、レンズ150のレンズ位置を移動させる。   The lens driving unit 51 moves the lens position of the lens 150 based on the lens driving instruction from the lens position correcting unit 18.

操作部61は、ドキュメントスキャナ101に対するスキャン開始操作を検知して、スキャン制御部17とレンズ位置補正部18に通知する。   The operation unit 61 detects a scan start operation on the document scanner 101 and notifies the scan control unit 17 and the lens position correction unit 18.

ライブビュー表示部71は、撮像部41を低解像度モードで動作させたときのライブビュー画像の表示を実行する。   The live view display unit 71 displays a live view image when the imaging unit 41 is operated in the low resolution mode.

画像記憶部81は、撮像部41を高解像度モードで動作させたときの読取り対象の画像を記憶する。   The image storage unit 81 stores an image to be read when the imaging unit 41 is operated in the high resolution mode.

なお、スキャン制御部17及びレンズ位置補正部18は、本実施形態において、エリアセンサ110の動作モードを切り替える切替制御部に相当する。   Note that the scan control unit 17 and the lens position correction unit 18 correspond to a switching control unit that switches the operation mode of the area sensor 110 in the present embodiment.

<画像読取装置の動作フロー>
次に、本発明に係る撮像方法について説明する。本発明に係る撮像方法は、本発明に係る撮像プログラムの実行により実現される。したがって、以下において、本発明に係る撮像プログラムの一実施形態であるスキャンプログラム10の処理の流れを説明することで、本発明に係る撮像方法の一実施形態を説明する。
<Operation Flow of Image Reading Device>
Next, an imaging method according to the present invention will be described. The imaging method according to the present invention is realized by executing the imaging program according to the present invention. Therefore, in the following, an embodiment of the imaging method according to the present invention will be described by describing the flow of processing of the scan program 10 which is an embodiment of the imaging program according to the present invention.

以下において、各処理のステップをS501、S502、・・・のように表記する。ドキュメントスキャナ101において実行されるスキャンプログラム10は、「待機時処理」と、「スキャン時処理」の2つの処理ブロックに区別される。まず、待機時処理について説明する。   In the following, the steps of each process are expressed as S501, S502,. The scan program 10 executed in the document scanner 101 is classified into two processing blocks, “standby processing” and “scanning processing”. First, standby processing will be described.

ドキュメントスキャナ101の動作を開始すると、エリアセンサ110を低解像度モードに設定する(S501)。続いて、撮像部41が読取対象を撮像した被写体像を画像処理部21に取り込み、オートフォーカス画像処理部22を介してライブビュー表示部71に画像データを通知する。これによって、リアルタイムで被写体の画像を表示するライブビュー表示処理が実行される(S502)。   When the operation of the document scanner 101 is started, the area sensor 110 is set to the low resolution mode (S501). Subsequently, the imaging unit 41 captures the subject image obtained by imaging the reading target into the image processing unit 21, and notifies the live view display unit 71 of the image data via the autofocus image processing unit 22. Accordingly, live view display processing for displaying an image of the subject in real time is executed (S502).

ライブビュー表示処理は、原稿600のスキャンを行う前の画像をリアルタイムに取得して動画表示するプレビュー機能であり、ユーザーが事前に原稿600の写り具合の確認や、原稿600の位置合わせ等を行うために実行する処理である。したがって、ライブビュー表示処理は、ユーザーの利便性向上に寄与する。ライブビュー表示処理において画像の取得と表示は高速に処理しなければならないので、画像を取得する際にエリアセンサ110の全画素の情報を用いることなく、低解像度モード(動画モード)で画像を取得る。   The live view display process is a preview function that acquires an image before scanning the original 600 in real time and displays a moving image, and the user confirms the appearance of the original 600 and aligns the original 600 in advance. This process is executed for the purpose. Therefore, the live view display process contributes to improvement of user convenience. Since the image acquisition and display must be performed at high speed in the live view display process, the image is acquired in the low resolution mode (moving image mode) without using the information of all the pixels of the area sensor 110 when acquiring the image. The

続いて、スキャン開始判定処理が実行される(S503)。操作部61において操作パネル200の操作が検知されると、操作部61はスキャン制御部17に対してスキャン開始を通知し、スキャン時処理に移行する(S503:YES)。また、時間計測部16においてカウントされる経過時間において、操作パネル200の操作が一定の時間内に検知されなければ、スキャン時処理に移行することなく(S503:NO)、AF実行判定処理が実行される(S504)。   Subsequently, a scan start determination process is executed (S503). When the operation of the operation panel 200 is detected in the operation unit 61, the operation unit 61 notifies the scan control unit 17 of the start of scanning, and shifts to processing at the time of scanning (S503: YES). Further, if the operation of the operation panel 200 is not detected within a certain time during the elapsed time counted by the time measuring unit 16, the AF execution determination process is executed without shifting to the scanning process (S503: NO). (S504).

AF実行判定処理(S504)は、時間計測部16においてカウントされる経過時間において、一定の時間間隔に基づいて実行タイミングを判定する。AF実行判定処理(S504)において、実行タイミングであると判定されなければ(S504:NO)、AF処理をせずに、スキャン開始判定処理に移行する。   In the AF execution determination process (S504), the execution timing is determined based on a certain time interval in the elapsed time counted by the time measurement unit 16. In the AF execution determination process (S504), if it is not determined that it is the execution timing (S504: NO), the process proceeds to the scan start determination process without performing the AF process.

AF処理の実行タイミングであれば、AF調整処理に移行する(S504:Yes、S505)。AF調整処理の詳細については、後述する。AF調整処理が終了した後は、処理をスキャン開始判定処理に移行する。   If it is the execution timing of the AF process, the process proceeds to the AF adjustment process (S504: Yes, S505). Details of the AF adjustment processing will be described later. After the AF adjustment process is completed, the process proceeds to a scan start determination process.

AF処理はライブビューと同じく低解像度モード(動画モード)で実施する方が高解像度モード(静止画モード)で実施するよりも画像伝送や画像処理の動作が高速であり、かつライブビューからのモード切替も不要になるという利点がある。そのため、低解像度モード(動画モード)でAF処理を実行する方が望ましい。   As with live view, AF processing is faster in low-resolution mode (moving image mode) than in high-resolution mode (still image mode). There is an advantage that no switching is required. Therefore, it is desirable to execute the AF process in the low resolution mode (moving image mode).

次に、スキャン時処理について説明する。ます、ライブビューを停止する(S506)。エリアセンサ110の動作モードを高解像度モードに切り替えるための前処理である。   Next, scanning processing will be described. First, the live view is stopped (S506). This is pre-processing for switching the operation mode of the area sensor 110 to the high resolution mode.

続いて、エリアセンサ110の動作モードを低解像度モードから高解像度モードに切り替える高解像モード設定処理を実行する(S507)。原稿600画像の解像度を高めて識別性を向上させるためである。   Subsequently, a high resolution mode setting process for switching the operation mode of the area sensor 110 from the low resolution mode to the high resolution mode is executed (S507). This is because the resolution of the original 600 image is increased to improve the discrimination.

続いて、照明120を点灯する(S508)。外来影響を除去するために原稿600を照らして、原稿600の画像の質を高めるためである。   Subsequently, the illumination 120 is turned on (S508). This is because the quality of the image of the original 600 is improved by illuminating the original 600 in order to remove the external influence.

続いて、原稿台130に載置された原稿600の画像を撮像する原稿スキャン処理が実行される(S509)。原稿スキャン処理により、エリアセンサ110は、原稿台130に載置されている原稿600の画像とともに、原稿台130の画像も取得する。原稿台130には、AF参照パターン131が表示されているので、AF参照パターン131も原稿600の画像とともに取得される。そこで、取得した画像から、AF参照パターン131を削除する処理も実行する。   Subsequently, a document scanning process for capturing an image of the document 600 placed on the document table 130 is executed (S509). By the document scanning process, the area sensor 110 acquires the image of the document table 130 together with the image of the document 600 placed on the document table 130. Since the AF reference pattern 131 is displayed on the document table 130, the AF reference pattern 131 is also acquired together with the image of the document 600. Therefore, processing for deleting the AF reference pattern 131 from the acquired image is also executed.

以上の原稿スキャン処理が終了した後、照明120を消灯する(S510)。無駄な電力消費を消費するためである。   After the above document scanning process is completed, the illumination 120 is turned off (S510). This is to consume wasteful power consumption.

<AF調整処理の詳細>
次に、AF調整処理(S505)の詳細について説明する。すでに説明したとおり、AF調整処理(S505)が実行されるときのエリアセンサ110の動作モードは、低解像度モードである。そこで、AF参照パターン131も低空間周波数用のコントラスト検出パターン(図12(a)参照)である。AF調整処理(S505)では、高空間周波数を含む原稿600に対する最適な合焦状態となるようにレンズ150の位置を、低空間周波数用のコントラスト検出パターンであるAF参照パターン131を用いたAF制御の結果から自動的に調整する処理である。
<Details of AF adjustment processing>
Next, details of the AF adjustment process (S505) will be described. As already described, the operation mode of the area sensor 110 when the AF adjustment process (S505) is executed is the low resolution mode. Therefore, the AF reference pattern 131 is also a contrast detection pattern for low spatial frequency (see FIG. 12A). In the AF adjustment processing (S505), the AF control using the AF reference pattern 131, which is a low spatial frequency contrast detection pattern, is performed so that the lens 150 is positioned in an optimum focus state with respect to the document 600 including the high spatial frequency. This process automatically adjusts from the result.

言い換えると、撮像部41において取得した画像をオートフォーカス画像処理部22において処理し、処理後の画像におけるコントラスト値をコントラスト検出部24において算出する。算出されたコントラスト検出部24に基づいて、最適レンズ位置算出部13が合焦位置となるレンズ位置を特定する。これによって、読取り対象となる原稿600を撮像した画像の画質向上に寄与する。   In other words, the image acquired by the imaging unit 41 is processed by the autofocus image processing unit 22, and the contrast value in the processed image is calculated by the contrast detection unit 24. Based on the calculated contrast detection unit 24, the optimum lens position calculation unit 13 identifies the lens position that is the in-focus position. This contributes to improving the image quality of an image obtained by capturing the original 600 to be read.

合焦状態は温度変化等の要因により経時変化が生じることがあるため、経時変化を抑制できるようにある程度の頻度でAF制御を実行することが望ましい。例えば温度を検出して実施する場合は一定の温度間隔で実施し、時間経過で実施する場合は一定の時間間隔や、徐々に間隔が長くなる時間間隔で実施する、等の方法が考えられる。   Since the focus state may change with time due to factors such as temperature change, it is desirable to execute AF control at a certain frequency so as to suppress the change with time. For example, when the detection is performed by detecting the temperature, the method is performed at a constant temperature interval, and when the detection is performed over time, the method is performed at a constant time interval or a time interval in which the interval gradually increases.

<AF調整処理フロー>
図6は、AF調整処理(S505)における詳細な処理の流れを説明するフローチャートである。まず、エリアセンサ110がAF参照パターン131の画像を取得する(S601)。続いて、取得したAF参照パターン131のコントラスト値を算出する(S602)。ここでは、レンズ150の位置を移動させながら複数箇所(例えば5箇所)で画像を取得し、それぞれのレンズ位置におけるコントラスト値を算出する。
<AF adjustment processing flow>
FIG. 6 is a flowchart for explaining a detailed process flow in the AF adjustment process (S505). First, the area sensor 110 acquires an image of the AF reference pattern 131 (S601). Subsequently, the contrast value of the acquired AF reference pattern 131 is calculated (S602). Here, images are acquired at a plurality of locations (for example, 5 locations) while moving the position of the lens 150, and a contrast value at each lens location is calculated.

続いて、最適レンズ位置を算出する(S603)。ここでは、レンズ位置とコントラスト値との関係を示す近似曲線を、最小二乗法等を用いて算出し、その近似曲線においてコントラスト値が極大となるレンズ位置を算出する。この最適レンズ位置が、低空間周波数成分に対してベストフォーカスとなる低空間周波数ベストフォーカスBFLである。   Subsequently, the optimum lens position is calculated (S603). Here, an approximate curve indicating the relationship between the lens position and the contrast value is calculated using a least square method or the like, and the lens position at which the contrast value is maximum in the approximate curve is calculated. This optimum lens position is the low spatial frequency best focus BFL that provides the best focus for the low spatial frequency component.

続いて、算出された最適レンズ位置に対して、オフセット値93を加算する(S604)。最後に、このオフセット値93を加算してレンズ位置を、最適レンズ位置として補正する。   Subsequently, an offset value 93 is added to the calculated optimum lens position (S604). Finally, the offset value 93 is added to correct the lens position as the optimum lens position.

このオフセット値93は、レンズ150の光学特性に依存するため、所定の固定値をオフセットとしてもよい。また、レンズ150の光学特性には個体差があるので、この個体差の影響を除去するために、予めオフセットを測定して保持してもよい。オフセット値93の測定については、後述する。   Since the offset value 93 depends on the optical characteristics of the lens 150, a predetermined fixed value may be used as the offset. Further, since there are individual differences in the optical characteristics of the lens 150, the offset may be measured and held in advance in order to eliminate the influence of the individual differences. The measurement of the offset value 93 will be described later.

また、レンズ150の光学特性は温度等の影響により経時変化するので、この経時変化の影響を抑制するためにオフセット値93を複数用意しておき、いずれかの値を所定の条件(時間経過、温度、等)に応じて選択して用いてもよい。   In addition, since the optical characteristics of the lens 150 change over time due to the influence of temperature or the like, a plurality of offset values 93 are prepared in order to suppress the influence of the change over time, and one of the values is set to a predetermined condition (elapsed time, You may select and use according to temperature etc.

このように低空間周波数パターンの画像を取得して算出した最適レンズ位置にオフセット値93を加算することで、高空間周波数成分に対してベストフォーカスとなるレンズ位置を求めることができ、適切なAFが実現できる。   By adding the offset value 93 to the optimal lens position calculated by acquiring the image of the low spatial frequency pattern in this way, the lens position that is the best focus for the high spatial frequency component can be obtained, and appropriate AF Can be realized.

取得する画像は低空間周波数パターンであるため低解像度モードで良く、ライブビューを実行したままAF制御を実行できる。これにより、ライブビューと並行して低解像度モードで最適レンズ位置算出及びレンズ位置補正を行うことで、ユーザーの利便性低下と生産性低下を招くことなく適切なAF制御を行うことができる。   Since the acquired image has a low spatial frequency pattern, it may be in the low resolution mode, and the AF control can be executed while the live view is being executed. Thus, by performing optimal lens position calculation and lens position correction in the low resolution mode in parallel with the live view, appropriate AF control can be performed without incurring user convenience and productivity reduction.

<オフセット測定処理フロー>
ここで、レンズオフセットテーブル保持部12において記憶されるオフセット値93の測定処理について説明する。オフセット値93は、図9に示すように、測定条件などの識別子と関連付けたテーブル構造において複数記憶されている。すでに説明をしたAF調整フローにおいて、例えば、図9(a)に示すように、レンズオフセットテーブル保持部12において、温度計測部15において取得された温度情報を関連付けてオフセット値93を特定できるように記憶する。この温度情報は、所定の基準温度からの温度変化量でもよいし、特定の温度を示すものでもよい。また、図9(b)に示すように、レンズオフセットテーブル保持部12において、時間計測部16において取得された時間情報を関連付けてオフセット値93を特定できるように記憶してもよい。この時間情報は、所定の基準時間からの経過時間でもよいし、特定の時間を示すものでもよい。
<Offset measurement processing flow>
Here, the measurement process of the offset value 93 stored in the lens offset table holding unit 12 will be described. As shown in FIG. 9, a plurality of offset values 93 are stored in a table structure associated with an identifier such as a measurement condition. In the AF adjustment flow already described, for example, as shown in FIG. 9A, the lens offset table holding unit 12 can specify the offset value 93 in association with the temperature information acquired by the temperature measuring unit 15. Remember. This temperature information may be a temperature change amount from a predetermined reference temperature, or may indicate a specific temperature. In addition, as shown in FIG. 9B, the lens offset table holding unit 12 may store the offset information 93 so that the offset value 93 can be specified in association with the time information acquired by the time measuring unit 16. This time information may be an elapsed time from a predetermined reference time, or may indicate a specific time.

図7は、オフセット測定処理のフローを示すフローチャートである。まずエリアセンサ110を第2動作モードである高解像度モード(静止画モード)に設定する(S701)。   FIG. 7 is a flowchart showing the flow of the offset measurement process. First, the area sensor 110 is set to a high resolution mode (still image mode) which is the second operation mode (S701).

続いて、高空間周波数パターンのコントラスト検出用パターンを撮影し、第2パターン画像を取得する(S702)。ここで、高空間周波数パターンは、例えば、図12(b)に例示したものように高空間周波で矩形波形状に濃度変化するパターンなどを用いればよい。   Subsequently, a high spatial frequency pattern contrast detection pattern is photographed to obtain a second pattern image (S702). Here, as the high spatial frequency pattern, for example, a pattern that changes in density to a rectangular wave shape at a high spatial frequency as illustrated in FIG. 12B may be used.

次に、取得した第2パターン画像のコントラスト値である第2評価値を算出する(S703)。ここで、第2パターン画像の取得(S702)と第2評価値の算出(S703)は、レンズ150を移動させながら所定のタイミング間隔において実行される。これら処理は、レンズ150の移動可能範囲の全範囲において実行される。次に、レンズ150を移動させながら算出した高空間周波数成分のコントラスト値のピークに相当するレンズ位置であって第2最適レンズ位置である高空間周波数ベストフォーカスBFHを算出する(S704)。   Next, a second evaluation value that is a contrast value of the acquired second pattern image is calculated (S703). Here, the acquisition of the second pattern image (S702) and the calculation of the second evaluation value (S703) are executed at predetermined timing intervals while moving the lens 150. These processes are executed over the entire movable range of the lens 150. Next, a high spatial frequency best focus BFH, which is the lens position corresponding to the peak of the contrast value of the high spatial frequency component calculated while moving the lens 150 and is the second optimal lens position, is calculated (S704).

次に、エリアセンサ110の動作モードを切り替えて、エリアセンサ110を第1動作モードである低解像度モードに設定する(S705)。続いて、低空間周波数パターンのコントラスト検出用パターンを撮影し、第1パターン画像を取得する(S706)。ここで、低空間周波数パターンは、例えば、図12(a)に示したものように低空間周波で矩形波形状に濃度変化するパターンなどを用いればよい。   Next, the operation mode of the area sensor 110 is switched, and the area sensor 110 is set to the low resolution mode which is the first operation mode (S705). Subsequently, a low spatial frequency pattern contrast detection pattern is photographed to obtain a first pattern image (S706). Here, as the low spatial frequency pattern, for example, a pattern whose density changes to a rectangular wave shape at a low spatial frequency as shown in FIG.

次に、取得した第1パターン画像のコントラスト値である第1評価値を算出する(S707)。ここで、第1パターン画像の取得(S706)と第1評価値の算出(S707)は、レンズ150を移動させながら所定のタイミング間隔において実行される。これら処理は、レンズ150の移動可能範囲の全範囲において実行される。次に、レンズ150を移動させながら算出した低空間周波数成分のコントラスト値のピークに相当するレンズ位置であって第1最適レンズ位置である低空間周波数ベストフォーカスBFLを算出する(S708)。   Next, a first evaluation value that is a contrast value of the acquired first pattern image is calculated (S707). Here, the acquisition of the first pattern image (S706) and the calculation of the first evaluation value (S707) are executed at predetermined timing intervals while moving the lens 150. These processes are executed over the entire movable range of the lens 150. Next, the low spatial frequency best focus BFL which is the lens position corresponding to the peak of the contrast value of the low spatial frequency component calculated while moving the lens 150 and is the first optimal lens position is calculated (S708).

次に、低空間周波数ベストフォーカスBFLと高空間周波数ベストフォーカスBFHの差分を算出して、算出されたオフセット値93を、当該処理を実行しているときの温度情報と関連付けて、レンズオフセットテーブル保持部12に記憶する(S709)。以上のように算出されて記憶されたオフセット値93は、すでに説明したオフセット調整処理において用いることができる。   Next, a difference between the low spatial frequency best focus BFL and the high spatial frequency best focus BFH is calculated, and the calculated offset value 93 is associated with the temperature information when the processing is executed, and the lens offset table is stored. Store in the unit 12 (S709). The offset value 93 calculated and stored as described above can be used in the offset adjustment process already described.

なお、高解像度モードにおける最適レンズ位置の算出と、低解像度モードにおける最適レンズ位置の算出の順番は、逆でもよく、先に低解像度モードにおける最適レンズ位置を算出し、後で高解像度モードにおける最適レンズ位置の算出を行ってもよい。   Note that the order of calculating the optimum lens position in the high resolution mode and the calculation of the optimum lens position in the low resolution mode may be reversed. First, the optimum lens position in the low resolution mode is calculated first, and then the optimum lens position in the high resolution mode is calculated. The lens position may be calculated.

以上説明したオフセット測定処理を実行するタイミングは、ドキュメントスキャナ101の使用を開始する前の製造時に実行してもよい。その他に、時間計測部16が計測する累積時間が所定の閾値を超えたとき、温度計測部15において計測される温度変動が所定の閾値を超えたときでもよい。この場合、閾値を超えたことを、操作パネル200が備える表示部に表示すればよい。   The timing for executing the offset measurement processing described above may be executed at the time of manufacturing before the use of the document scanner 101 is started. In addition, when the accumulated time measured by the time measuring unit 16 exceeds a predetermined threshold, the temperature variation measured by the temperature measuring unit 15 may exceed the predetermined threshold. In this case, it may be displayed on the display unit provided in the operation panel 200 that the threshold value has been exceeded.

<エラー回避処理フロー>
次に、図6を用いて説明した本実施形態に係るAF調整処理において、AFが失敗したときのエラー検出処理について、図8のフローチャートを用いて説明する。
<Error avoidance processing flow>
Next, error detection processing when AF fails in the AF adjustment processing according to the present embodiment described with reference to FIG. 6 will be described with reference to the flowchart of FIG.

AF調整処理において、コントラスト検出用パターンとしてAF参照パターン131の画像を取得してコントラスト値を算出する。しかし、AF参照パターン131は原稿台130に設けられている。そこで、AF参照パターン131がユーザーの手や原稿等によって隠されてしまうことが想定できる。また、突発的な外光がAF参照パターン131に照射されて、AF参照パターン131を識別できない状態になることも想定される。   In the AF adjustment process, an image of the AF reference pattern 131 is acquired as a contrast detection pattern, and a contrast value is calculated. However, the AF reference pattern 131 is provided on the document table 130. Therefore, it can be assumed that the AF reference pattern 131 is hidden by a user's hand or a document. Also, it is assumed that sudden external light is applied to the AF reference pattern 131 and the AF reference pattern 131 cannot be identified.

AF参照パターン131の一部又は全部が隠れた場合や、強い光によって識別不能状態になったときに、この画像を取得しても、コントラスト値を正しく得ることができない。このように、コントラスト値を正しく取得できない状況下で、AF調整処理を実行すると、最適なレンズ位置を誤検出し、レンズ150を異常な位置に移動させて解像力が大幅に低下した異常画像を出力してしまう可能性がある。   Even if this image is acquired when part or all of the AF reference pattern 131 is hidden, or when the AF reference pattern 131 becomes indistinguishable by strong light, the contrast value cannot be obtained correctly. As described above, when the AF adjustment process is executed in a situation where the contrast value cannot be acquired correctly, the optimal lens position is erroneously detected, and the lens 150 is moved to an abnormal position to output an abnormal image whose resolution is greatly reduced. There is a possibility that.

本実施形態におけるエラー回避処理では、AF調整処理(S505)を実行する前に、制御部11が記憶部(記憶装置112)に対して、現在のレンズ位置の情報を当該レンズ位置の直前位置である「前回レンズ位置」として記憶する(S801)。制御部11と記憶装置112により構成される記憶部は、エラー判定部に相当する。   In the error avoidance process according to this embodiment, before executing the AF adjustment process (S505), the control unit 11 sends the current lens position information to the storage unit (storage device 112) immediately before the lens position. It is stored as a certain “previous lens position” (S801). A storage unit configured by the control unit 11 and the storage device 112 corresponds to an error determination unit.

続いて、エリアセンサ110がAF参照パターン131の画像を取得する(S802)。続いて、取得したAF参照パターン131のコントラスト値を算出する(S803)。例えば、レンズ150の位置を移動させながら複数箇所(例えば5箇所)で画像を取得し、それぞれのレンズ位置におけるコントラスト値を算出する。   Subsequently, the area sensor 110 acquires an image of the AF reference pattern 131 (S802). Subsequently, the contrast value of the acquired AF reference pattern 131 is calculated (S803). For example, images are acquired at a plurality of locations (for example, 5 locations) while moving the position of the lens 150, and the contrast value at each lens location is calculated.

続いて、最適レンズ位置を算出する(S804)。例えば、レンズ位置とコントラスト値との関係を示す近似曲線を、最小二乗法等を用いて算出し、その近似曲線においてコントラスト値が極大となるレンズ位置を算出する。続いて、算出された最適レンズ位置に対して、オフセット値93を加算する(S805)。   Subsequently, the optimum lens position is calculated (S804). For example, an approximate curve indicating the relationship between the lens position and the contrast value is calculated using the least square method or the like, and the lens position at which the contrast value is maximum in the approximate curve is calculated. Subsequently, an offset value 93 is added to the calculated optimum lens position (S805).

次に、オフセット値93を加算して調整した最適レンズ位置が異常値に該当するか否かを判定するレンズ位置判定処理を実行する(S806)。レンズ位置判定処理は、直前のレンズ位置である前回レンズ位置と、調整後のレンズ位置とを比較し、その差分が所定の閾値以下であるか否かを判定する。差分が閾値以下であれば、許容範囲内であるから、調整後のレンズ位置は正常値である。この場合、処理を終了する(S806:Yes)。   Next, a lens position determination process for determining whether or not the optimum lens position adjusted by adding the offset value 93 corresponds to an abnormal value is executed (S806). In the lens position determination process, the previous lens position, which is the immediately preceding lens position, is compared with the adjusted lens position, and it is determined whether the difference is equal to or less than a predetermined threshold value. If the difference is equal to or smaller than the threshold value, the lens position after adjustment is a normal value because it is within the allowable range. In this case, the process ends (S806: Yes).

レンズ位置判定処理における差分が閾値よりも大きければ、許容範囲を超えているので(S1306:No)、調整後のレンズ位置を破棄し、前回レンズ位置を調整後のレンズ位置に変更するレンズ位置変更処理を実行する(S807)。   If the difference in the lens position determination process is larger than the threshold value, the allowable range is exceeded (S1306: No), the lens position after adjustment is discarded, and the lens position change to change the previous lens position to the lens position after adjustment. Processing is executed (S807).

異常判定の具体的な方法としては、現在のレンズ位置(AF調整結果)と保持している「前回レンズ位置」の差を調べ、差が所定の許容値以下であれば正常、許容値以上であれば異常と判断する方法がある。許容値は、温度変化や各種ばらつきを含めて想定されるレンズ位置の変化量に対してマージンを加えた値を設定しておく。しかしこれに限らず、例えばコントラスト検出用パターンの形状を認識して判断する、または、コントラスト検出用パターンが覆われたかどうかを判断するための異常検出用パターンを設ける、などのように様々な形態を用いてもよい。   As a specific method for determining the abnormality, the difference between the current lens position (AF adjustment result) and the held “previous lens position” is checked. If the difference is less than a predetermined allowable value, it is normal and the allowable value is exceeded. There is a way to judge that there is an abnormality. As the allowable value, a value obtained by adding a margin to an assumed change amount of the lens position including a temperature change and various variations is set in advance. However, the present invention is not limited to this, and various forms such as, for example, recognizing and determining the shape of the contrast detection pattern, or providing an abnormality detection pattern for determining whether or not the contrast detection pattern is covered, etc. May be used.

続いて、レンズ位置を前回レンズ位置に戻したことをユーザーに知らせるためのエラー通知処理を実行する(S808)。エラー通知処理は、操作パネル200が備える表示部において、エラー内容を表示してもよいし、単にエラーが生じたことがわかる程度の表示をしてもよい。例えば、AF参照パターン131を正しく撮影できるように手や原稿600により覆わないように促すメッセージを表示してもよい。   Subsequently, an error notification process is performed to notify the user that the lens position has been returned to the previous lens position (S808). In the error notification process, the error content may be displayed on the display unit included in the operation panel 200, or may be displayed to the extent that an error has occurred. For example, a message that prompts the AF reference pattern 131 not to be covered with the hand or the document 600 so that the AF reference pattern 131 can be correctly captured may be displayed.

なお、レンズ位置判定処理(S806)において、許容範囲を超えていると判定されたとき(S806:No)、再度、AF調整処理を行うようにして、エリアセンサ110がAF参照パターン131の画像を取得する処理(S802)に戻してもよい。   When it is determined in the lens position determination process (S806) that the allowable range is exceeded (S806: No), the area sensor 110 performs the AF adjustment process again, and the area sensor 110 captures the image of the AF reference pattern 131. You may return to the process (S802) to acquire.

以上のように、本実施形態におけるドキュメントスキャナ101によれば、エリアセンサ110を低解像度モードで動作させてAF制御を実行しても、原稿600に含まれる高空間周波数に対応する最適レンズ位置を算出することができる。   As described above, according to the document scanner 101 in the present embodiment, even when the area sensor 110 is operated in the low resolution mode and AF control is executed, the optimum lens position corresponding to the high spatial frequency included in the document 600 is determined. Can be calculated.

この算出された最適レンズ位置にレンズ150を移動させてスキャンすれば、低解像モードのままでライブビューからスキャン動作までを実行することができる。すなわち、ドキュメントスキャナ101によれば、エリアセンサ110の動作モードを切り替えることなくライブビュー処理からスキャン処理までを実行することができる。これによって、書籍等のスキャンを行うときにユーザーの利便性と生産性を向上させることができる。   If scanning is performed by moving the lens 150 to the calculated optimum lens position, it is possible to execute from live view to scanning operation in the low resolution mode. That is, according to the document scanner 101, it is possible to execute from live view processing to scanning processing without switching the operation mode of the area sensor 110. This can improve user convenience and productivity when scanning books and the like.

10 スキャンプログラム
11 制御部
12 レンズオフセットテーブル保持部
13 最適レンズ位置算出部
14 レンズオフセット制御部
15 温度計測部
16 時間計測部
17 スキャン制御部
18 レンズ位置補正部
21 画像処理部
22 オートフォーカス画像処理部
23 スキャン画像処理部
24 コントラスト検出部
31 照明部
41 撮像部
51 レンズ駆動部
61 操作部
71 ライブビュー表示部
81 画像記憶部
91 高空間周波数特性
92 低空間周波数特性
93 オフセット値
101 ドキュメントスキャナ
102 スキャナ
110 エリアセンサ
111 制御デバイス
112 記憶装置
113 制御I/F
114 画像I/F
115 温度センサ
116 タイマー
117 モーター
120 照明
130 原稿台
131 AF参照パターン
132 原稿配置領域
140 支持部
150 レンズ
200 操作パネル
201 操作デバイス
600 原稿
DESCRIPTION OF SYMBOLS 10 Scan program 11 Control part 12 Lens offset table holding part 13 Optimal lens position calculation part 14 Lens offset control part 15 Temperature measurement part 16 Time measurement part 17 Scan control part 18 Lens position correction part 21 Image processing part 22 Autofocus image processing part 23 Scan image processing unit 24 Contrast detection unit 31 Illumination unit 41 Imaging unit 51 Lens drive unit 61 Operation unit 71 Live view display unit 81 Image storage unit 91 High spatial frequency characteristic 92 Low spatial frequency characteristic 93 Offset value 101 Document scanner 102 Scanner 110 Area sensor 111 Control device 112 Storage device 113 Control I / F
114 Image I / F
DESCRIPTION OF SYMBOLS 115 Temperature sensor 116 Timer 117 Motor 120 Illumination 130 Document stand 131 AF reference pattern 132 Document arrangement area 140 Support part 150 Lens 200 Operation panel 201 Operation device 600 Document

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

Claims (10)

有効画像領域に配置された被写体の画像と特定パターンの画像を共に撮像レンズを介して取得する撮像部と、
前記有効画像領域における前記特定パターンの画像に基づく合焦評価値を算出する評価値算出部と、
前記合焦評価値に基づく合焦状態に対応する最適レンズ位置を算出する最適レンズ位置算出部と、
前記最適レンズ位置を調整するための調整値を予め記憶する記憶部と、
前記撮像部の動作モードの切り替えを制御する切替制御部と、
前記撮像部を第1動作モードで動作させて取得した前記特定パターンの画像に対する前記最適レンズ位置を、前記調整値に基づいて、前記撮像部を第2動作モードで動作させたときに取得する前記被写体の画像に合焦するレンズ位置に補正するレンズ位置補正部と、
を備えることを特徴とする撮像装置。
An imaging unit that acquires both an image of a subject arranged in an effective image area and an image of a specific pattern via an imaging lens;
An evaluation value calculation unit for calculating a focus evaluation value based on the image of the specific pattern in the effective image region;
An optimum lens position calculation unit for calculating an optimum lens position corresponding to a focus state based on the focus evaluation value;
A storage unit that stores in advance an adjustment value for adjusting the optimum lens position;
A switching control unit that controls switching of an operation mode of the imaging unit;
The optimal lens position for the image of the specific pattern acquired by operating the imaging unit in the first operation mode is acquired based on the adjustment value when the imaging unit is operated in the second operation mode. A lens position correction unit that corrects the lens position to focus on the subject image;
An imaging apparatus comprising:
前記切替制御部における前記第1動作モードは、低解像度モードであり、
前記切替制御部における前記第2動作モードは、高解像度モードであり、
前記特定パターンは、前記低解像度モードにおいて再現可能である所定の低空間周波数成分を有する、
ことを特徴とする請求項1記載の撮像装置。
The first operation mode in the switching control unit is a low resolution mode,
The second operation mode in the switching control unit is a high resolution mode,
The specific pattern has a predetermined low spatial frequency component that is reproducible in the low resolution mode.
The imaging apparatus according to claim 1.
前記撮像部は、前記第1動作モードにおいて低空間周波数成分を有する第1パターン画像、及び、前記第2動作モードにおいて高空間周波数成分を有する第2パターン画像を取得し、
前記評価値算出部は、前記第1パターン画像に含まれる低空間周波数成分に基づく第1評価値、及び、前記第2パターン画像に含まれる高空間周波数成分に基づく第2評価値を算出し、
前記最適レンズ位置算出部は、前記第1評価値に基づく第1最適レンズ位置、及び、前記第2評価値に基づく第2最適レンズ位置を算出し、
前記レンズ位置補正部は、前記第1最適レンズ位置と前記第2最適レンズ位置の差分により前記調整値を算出する、
ことを特徴とする請求項2記載の撮像装置。
The imaging unit acquires a first pattern image having a low spatial frequency component in the first operation mode and a second pattern image having a high spatial frequency component in the second operation mode,
The evaluation value calculating unit calculates a first evaluation value based on a low spatial frequency component included in the first pattern image and a second evaluation value based on a high spatial frequency component included in the second pattern image;
The optimum lens position calculating unit calculates a first optimum lens position based on the first evaluation value and a second optimum lens position based on the second evaluation value;
The lens position correction unit calculates the adjustment value based on a difference between the first optimum lens position and the second optimum lens position;
The imaging apparatus according to claim 2.
前記記憶部は、不揮発性メモリにより構成される、
ことを特徴とする請求項1乃至3のいずれか一項に記載の撮像装置。
The storage unit is configured by a nonvolatile memory.
The imaging apparatus according to any one of claims 1 to 3, wherein
前記記憶部は、所定の条件に関連付けられた前記調整値をそれぞれ区別できる状態において複数記憶している、
ことを特徴とする請求項1乃至4のいずれか一項に記載の撮像装置。
The storage unit stores a plurality of adjustment values associated with a predetermined condition in a state where the adjustment values can be distinguished from each other.
The imaging apparatus according to any one of claims 1 to 4, wherein the imaging apparatus is characterized in that
時間計測部と備え、
前記条件は、所定の基準時間からの経過時間である、
ことを特徴とする請求項5記載の撮像装置。
With a time measurement unit,
The condition is an elapsed time from a predetermined reference time.
The imaging apparatus according to claim 5.
温度計測部を備え、
前記条件は、所定の基準温度からの温度変化量である、
ことを特徴とする請求項5記載の撮像装置。
It has a temperature measurement unit,
The condition is a temperature change amount from a predetermined reference temperature.
The imaging apparatus according to claim 5.
前記最適レンズ位置算出部が算出した前記最適レンズ位置が正常か否かの判定を行うエラー判定部を備え、
前記記憶部は、前記最適レンズ位置算出部が前記最適レンズ位置を算出する直前に係る前記撮像レンズの直前位置を記憶し、
前記エラー判定部において異常と判定されたときに、前記最適レンズ位置算出部は前記記憶部に記憶されている直前位置を最適レンズ位置とする、
ことを特徴とする請求項1乃至7のいずれか一項に記載の撮像装置。
An error determination unit for determining whether or not the optimal lens position calculated by the optimal lens position calculation unit is normal;
The storage unit stores the immediately preceding position of the imaging lens immediately before the optimal lens position calculating unit calculates the optimal lens position;
When it is determined that the error determination unit is abnormal, the optimal lens position calculation unit sets the immediately preceding position stored in the storage unit as the optimal lens position.
The image pickup apparatus according to claim 1, wherein the image pickup apparatus is an image pickup apparatus.
有効画像領域を設定する原稿台と、前記有効画像領域に配置された被写体の画像と特定パターンの画像を取得して画像データを生成する撮像素子と撮像レンズとを含み構成される撮像部と、前記画像に対する合焦位置である最適レンズ位置を調整するための調整値を予め記憶する記憶部と、前記撮像部の動作モードの切り替えを制御する切替制御部と、を備える撮像装置において実行される撮像方法であって、
前記撮像レンズを介して前記有効画像領域に配置された前記被写体の画像と前記特定パターンの画像を共に取得する撮像ステップと、
前記有効画像領域における前記特定パターンの画像に基づく合焦評価値を算出する評価値算出ステップと、
前記合焦評価値に基づく合焦状態に対応する最適レンズ位置を算出する最適レンズ位置算出ステップと、
前記撮像部を第1動作モードで動作させて取得した前記特定パターンの画像に対する前記最適レンズ位置を、前記調整値に基づいて、前記撮像部を第2動作モードで動作させたときに取得する前記被写体の画像に合焦するレンズ位置に補正するレンズ位置補正ステップと、
を有することを特徴とする撮像方法。
An imaging unit including an original platen for setting an effective image area, an imaging element for acquiring an image of a subject and a specific pattern image arranged in the effective image area, and generating image data; and an imaging lens; Executed in an imaging apparatus including a storage unit that stores in advance an adjustment value for adjusting an optimum lens position that is an in-focus position with respect to the image, and a switching control unit that controls switching of an operation mode of the imaging unit. An imaging method,
An imaging step of acquiring both the image of the subject and the image of the specific pattern arranged in the effective image area via the imaging lens;
An evaluation value calculating step for calculating a focus evaluation value based on the image of the specific pattern in the effective image region;
An optimum lens position calculating step for calculating an optimum lens position corresponding to a focus state based on the focus evaluation value;
The optimal lens position for the image of the specific pattern acquired by operating the imaging unit in the first operation mode is acquired based on the adjustment value when the imaging unit is operated in the second operation mode. A lens position correction step for correcting the lens position to focus on the subject image;
An imaging method characterized by comprising:
撮像レンズと撮像素子とを備える撮像装置において実行される撮像プログラムであって、
有効画像領域に配置された被写体の画像と特定パターンの画像を共に前記撮像レンズを介して取得する撮像部と、
前記有効画像領域における前記特定パターンの画像に基づく合焦評価値を算出する評価値算出部と、
前記合焦評価値に基づく合焦状態に対応する最適レンズ位置を算出する最適レンズ位置算出部と、
前記最適レンズ位置を調整するための調整値を予め記憶する記憶部と、
前記撮像部の動作モードの切り替えを制御する切替制御部と、
前記撮像部を第1動作モードで動作させて取得した前記特定パターンの画像に対する前記最適レンズ位置を、前記調整値に基づいて、前記撮像部を第2動作モードで動作させたときに取得する前記被写体の画像に合焦するレンズ位置に補正するレンズ位置補正部と、
を備えることを特徴とする撮像プログラム。
An imaging program executed in an imaging apparatus including an imaging lens and an imaging element,
An imaging unit that acquires both an image of a subject arranged in an effective image region and an image of a specific pattern via the imaging lens;
An evaluation value calculation unit for calculating a focus evaluation value based on the image of the specific pattern in the effective image region;
An optimum lens position calculation unit for calculating an optimum lens position corresponding to a focus state based on the focus evaluation value;
A storage unit that stores in advance an adjustment value for adjusting the optimum lens position;
A switching control unit that controls switching of an operation mode of the imaging unit;
The optimal lens position for the image of the specific pattern acquired by operating the imaging unit in the first operation mode is acquired based on the adjustment value when the imaging unit is operated in the second operation mode. A lens position correction unit that corrects the lens position to focus on the subject image;
An imaging program comprising:
JP2016158124A 2016-08-10 2016-08-10 Imaging apparatus, imaging method, and imaging program Pending JP2018026729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016158124A JP2018026729A (en) 2016-08-10 2016-08-10 Imaging apparatus, imaging method, and imaging program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016158124A JP2018026729A (en) 2016-08-10 2016-08-10 Imaging apparatus, imaging method, and imaging program

Publications (1)

Publication Number Publication Date
JP2018026729A true JP2018026729A (en) 2018-02-15

Family

ID=61194299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016158124A Pending JP2018026729A (en) 2016-08-10 2016-08-10 Imaging apparatus, imaging method, and imaging program

Country Status (1)

Country Link
JP (1) JP2018026729A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021087130A (en) * 2019-11-28 2021-06-03 株式会社リコー Image forming apparatus and cabinet
JPWO2021229624A1 (en) * 2020-05-11 2021-11-18
WO2026024269A1 (en) * 2024-07-22 2026-01-29 Google Llc Post-shutter autofocus for high-resolution image capture

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021087130A (en) * 2019-11-28 2021-06-03 株式会社リコー Image forming apparatus and cabinet
JPWO2021229624A1 (en) * 2020-05-11 2021-11-18
JP7367864B2 (en) 2020-05-11 2023-10-24 信越化学工業株式会社 Coating agent composition, surface treatment agent containing the composition, and article surface treated with the surface treatment agent
WO2026024269A1 (en) * 2024-07-22 2026-01-29 Google Llc Post-shutter autofocus for high-resolution image capture

Similar Documents

Publication Publication Date Title
US20170244853A1 (en) Image reading device, image forming apparatus, method of displaying document image, and non-transitory recording medium
EP2642740A2 (en) Image reading device, apparatus including image reading device, image reading controlling method, and recording medium storing image reading control program
JP2020178192A (en) Edge detection device, tilt correction device, reader, image processing device and edge detection method
JPH1093777A (en) Image reader
US11126108B2 (en) Image forming apparatus and image forming method for correcting a position of a target image
US12256046B2 (en) Controlling inspection of printed material based on reference image and scan image with alignment performed based on the number of feature points in the reference image
JP2018098602A (en) Image reading device, compound machine, image reading method and program for image reading
US10574856B2 (en) Image reading apparatus with reference surface to generate reference data for shading correction, and related image forming apparatus and method
JP2018026729A (en) Imaging apparatus, imaging method, and imaging program
US7400430B2 (en) Detecting and compensating for color misregistration produced by a color scanner
US8508803B2 (en) Image reading apparatus and image reading method including a dividing unit that divides image data into vertical-streak-correction subject data
US20170142277A1 (en) Image reading apparatus
JP6269455B2 (en) Image processing apparatus, image processing method, and image processing program
JP6825254B2 (en) Image reader, image forming device, original image projection method and program
JP3884890B2 (en) Image processing apparatus and method
JP6859779B2 (en) Image reader, image reading method and image reading program
JP4988679B2 (en) Image reading apparatus and image forming apparatus
JPH09200445A (en) Image reader
JP4855017B2 (en) Document size detection apparatus, image reading apparatus, and image forming apparatus
JP7206367B2 (en) Document reading device and document reading method
JP6780603B2 (en) Image reader and image forming device
JP6777039B2 (en) Image reader and image forming device
JP3125522B2 (en) Image reading device
JPH10304130A (en) Image reader
JP6501125B2 (en) Image reading apparatus, image reading method, image forming apparatus, and image reading program