JP2015115934A - Image reader, reading method of the same and recording medium - Google Patents

Image reader, reading method of the same and recording medium Download PDF

Info

Publication number
JP2015115934A
JP2015115934A JP2013259257A JP2013259257A JP2015115934A JP 2015115934 A JP2015115934 A JP 2015115934A JP 2013259257 A JP2013259257 A JP 2013259257A JP 2013259257 A JP2013259257 A JP 2013259257A JP 2015115934 A JP2015115934 A JP 2015115934A
Authority
JP
Japan
Prior art keywords
imaging
image
unit
size
light sources
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.)
Granted
Application number
JP2013259257A
Other languages
Japanese (ja)
Other versions
JP6093290B2 (en
Inventor
遼平 林
Ryohei Hayashi
遼平 林
浩司 奥山
Koji Okuyama
浩司 奥山
透 山口
Toru Yamaguchi
透 山口
俊司 坂根
Shunji Sakane
俊司 坂根
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.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech 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 Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP2013259257A priority Critical patent/JP6093290B2/en
Publication of JP2015115934A publication Critical patent/JP2015115934A/en
Application granted granted Critical
Publication of JP6093290B2 publication Critical patent/JP6093290B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce burden of an installation worker and the like during installation and to eliminate unnecessary power consumption even if an auxiliary illumination device is additionally installed to operate it.SOLUTION: An image reader includes: an imaging section for imaging an imaging object to obtain an image; an illumination section having a plurality of light sources for illuminating the imaging object; a storage section for storing setting information including information on an illumination pattern and an imaging parameter for each size of a medium of a reading object, which can be set as the imaging object; a detection section for detecting the size of the medium of the imaging object, which is set as the imaging object; and a selection section for selecting the setting information corresponding to the size detected by the detection section from the setting information for each size, which is stored in the storage section. The illumination section lights on or off the plurality of light sources in accordance with the illumination pattern corresponding to the setting information selected by the selection section. The image obtained by imaging the medium of the reading object, which is the imaging object, by the imaging section is acquired as a reading image under the imaging parameter corresponding to the setting information.

Description

本発明は、スタンド型イメージスキャナ装置(スタンド型イメージリーダ装置)等の画像読取装置に関する。   The present invention relates to an image reading apparatus such as a stand type image scanner apparatus (stand type image reader apparatus).

従来、金融機関等では、スタンド型イメージスキャナ装置(以下「スタンドスキャナ」という)が使用されている。スタンドスキャナは、税公金帳票(税金、公共料金等の納付書)や、オートフィーダ型イメージリーダ装置等では取り扱うことができない媒体等を読み取ることに適した非接触型の画像読取装置である。金融機関等では、このスタンドスキャナを用いて読取対象媒体を電子データ化(イメージデータ化)した後、OCR(Optical Character Recognition)処理による文字認識や印影イメージの重ね合わせによる印鑑照合処理等が行われている。ここで、OCR処理や印鑑照合処理の精度を向上させるためには、スタンドスキャナの設置場所の照明環境(以下「設置環境」ともいう)に係らず、一定の明るさで読み取りが行われることや、読み取られる画像に影やノイズ等の不要な情報が極力含まれないようにすること等が重要である。   Conventionally, in a financial institution or the like, a stand type image scanner device (hereinafter referred to as “stand scanner”) is used. The stand scanner is a non-contact type image reading apparatus suitable for reading a tax public deposit form (payment of taxes, utility charges, etc.), a medium that cannot be handled by an auto-feeder type image reader apparatus, or the like. In a financial institution, etc., after using the stand scanner to convert the reading target medium into electronic data (image data), character recognition by OCR (Optical Character Recognition) processing or seal verification processing by overlaying imprint images is performed. ing. Here, in order to improve the accuracy of the OCR processing and the seal collation processing, reading is performed at a constant brightness regardless of the illumination environment (hereinafter also referred to as “installation environment”) of the installation location of the stand scanner. It is important to prevent unnecessary information such as shadows and noises from being included in the read image.

一般に、スタンドスキャナは、例えば、図10に示したように、撮像部401と、台座402と、スタンド403と、図示しない制御部を含み、撮像部401が、台座402に対して一定の距離を置いてスタンド403により支持された構成を有する。そのため、撮像部401は、台座402に載置された読取対象媒体から離れた状態で撮像を行うことになることから、読取対象媒体が例えば厚みのある帳票等であっても撮像を行うことができる。   In general, the stand scanner includes, for example, an imaging unit 401, a pedestal 402, a stand 403, and a control unit (not shown), as shown in FIG. It has the structure supported by the stand 403. For this reason, the imaging unit 401 performs imaging in a state of being separated from the reading target medium placed on the pedestal 402, and thus can perform imaging even when the reading target medium is, for example, a thick form. it can.

また、スタンドスキャナは、自身が光源を持たないことから、周囲の光(天井の蛍光灯の光等)が読取対象媒体の表面で反射された光を撮像部401のイメージセンサで受光して撮像を行う。そのため、周囲の光や影の影響により、台座402に載置される読取対象媒体の表面の明るさが均一にならない場合がある。そこで、このような場合を考慮して、スタンドスキャナは、その設置時や任意の調整時に行う基準調整(「キャリブレーション」ともいう)により取得した初期状態情報(「キャリブレーション情報」ともいう)を基に、撮像部401の撮像パラメータ(露出時間及び又はゲインアンプ値等)による感度調整(明るさ調整)並びに影を除去する画像補正を行うことによって、設置環境の違いによる、読み取られる画像の差異が生じないようにしている。例えば、図11に示したように、設置環境が明るい場合であっても暗い場合であっても、同じような明るさの画像が読み取られるようにしている。なお、スタンドスキャナは、上述の初期状態情報を、例えば、次のようにして取得する。スタンドスキャナは、図12に示したように、まず、撮像部401が基準媒体(「キャリブレーション用媒体」ともいう)を撮像して得た画像501を基に適切な撮像パラメータを決定する。次に、その撮像パラメータの下に撮像部401が基準媒体を撮像して得た画像502に対して、影を除去する画像補正を行い、画像503を得る。そして、このときの、適切な撮像パラメータと画像補正時の補正量とを含む情報を、初期状態情報として取得する。   In addition, since the stand scanner does not have a light source, the ambient light (such as light from a fluorescent lamp on the ceiling) is reflected by the image sensor of the imaging unit 401 to capture the light reflected from the surface of the medium to be read. I do. Therefore, the brightness of the surface of the read target medium placed on the pedestal 402 may not be uniform due to the influence of ambient light and shadows. Therefore, in consideration of such a case, the stand scanner uses the initial state information (also referred to as “calibration information”) acquired by reference adjustment (also referred to as “calibration”) performed at the time of installation or arbitrary adjustment. Based on sensitivity adjustment (brightness adjustment) based on imaging parameters (exposure time and / or gain amplifier value, etc.) of the imaging unit 401 and image correction that removes shadows, the difference in the read image due to the difference in installation environment Is prevented from occurring. For example, as shown in FIG. 11, an image having the same brightness is read regardless of whether the installation environment is bright or dark. Note that the stand scanner acquires the above-described initial state information as follows, for example. As shown in FIG. 12, the stand scanner first determines appropriate imaging parameters based on an image 501 obtained by the imaging unit 401 imaging a reference medium (also referred to as “calibration medium”). Next, image correction for removing shadows is performed on the image 502 obtained by the imaging unit 401 imaging the reference medium under the imaging parameters, and an image 503 is obtained. Then, information including an appropriate imaging parameter and a correction amount at the time of image correction at this time is acquired as initial state information.

しかしながら、このような方法による感度調整及び画像補正には限界がある。例えば、設置環境が極端に暗い場合や台座402上に極端に強い影が存在する場合には、適切な初期状態情報を取得することができないために感度調整及び画像補正を適切に行うことができない虞がある。そこで、このような場合には、補助照明装置(スタンド蛍光灯等)を追加設置することによって光量を補うと共に台座402上に影が生じないようにしている。この場合の動作は、例えば、図13に示したようになる。この動作例では、まず、スタンドスキャナ設置時(以下単に「設置時」という)において、設置作業員やオペレータ等(以下「設置作業員等」という)が、補助照明装置を点灯させ(S201)、台座面(撮影面)全体が均一な明るさになるように(均一に照明され且つ影が生じないように)補助照明装置の位置や向きを調整する(S202)。その後は、従来方式と同様の手法により初期状態情報の取得を行い、それを設定ファイルとして記憶する(S203)。そして、スタンドスキャナ運用時(以下単に「運用時」という)の読取時には、補助照明装置を点灯状態にして、記憶されている設定ファイルに基づいて画像の読み取りを行う(S204)。   However, sensitivity adjustment and image correction by such a method are limited. For example, when the installation environment is extremely dark or there is an extremely strong shadow on the pedestal 402, appropriate initial state information cannot be acquired, so sensitivity adjustment and image correction cannot be performed appropriately. There is a fear. Therefore, in such a case, an auxiliary lighting device (such as a stand fluorescent lamp) is additionally installed to compensate for the amount of light and prevent a shadow from being generated on the pedestal 402. The operation in this case is as shown in FIG. 13, for example. In this operation example, first, when the stand scanner is installed (hereinafter simply referred to as “installation”), an installation worker, an operator, or the like (hereinafter referred to as “installation worker”) turns on the auxiliary lighting device (S201). The position and orientation of the auxiliary illumination device are adjusted so that the entire pedestal surface (photographing surface) has uniform brightness (so that it is uniformly illuminated and no shadow is produced) (S202). Thereafter, the initial state information is obtained by the same method as the conventional method, and is stored as a setting file (S203). When the stand scanner is operated (hereinafter simply referred to as “operation”), the auxiliary illumination device is turned on, and an image is read based on the stored setting file (S204).

なお、スタンドスキャナとして、その他、例えば、照度を計測する専用の計測器を必要とすることなく、自動的に、設置場所の照明環境が適切か否かを判定することができるようにしたスタンド型イメージスキャナも知られている(特許文献1等参照)。   In addition, as a stand scanner, for example, a stand type that can automatically determine whether the lighting environment at the installation location is appropriate without requiring a dedicated measuring instrument for measuring illuminance. An image scanner is also known (see Patent Document 1).

特開2012−231338号公報JP 2012-231338 A

上述のように補助照明装置を追加設置する場合には、次のような問題がある。
まず、補助照明装置の点灯/消灯や、補助照明装置の位置や向きは、上述のとおり、設置作業員等の判断の下に行われていることから、設置作業員等の負担が大きいという問題がある。また、設置作業員等の作業ミスにより、補助照明装置が点灯状態にされるべきところを消灯状態のままにされていたり、補助照明装置が適切な位置や向きで設置されていなかったりする場合があるという問題もある。
When the auxiliary lighting device is additionally installed as described above, there are the following problems.
First, since the lighting / extinguishing of the auxiliary lighting device and the position and orientation of the auxiliary lighting device are performed based on the judgment of the installation worker as described above, there is a problem that the burden on the installation worker is heavy. There is. In addition, due to work mistakes such as installation workers, the auxiliary lighting device may be left turned off, or the auxiliary lighting device may not be installed in an appropriate position or orientation. There is also the problem of being.

また、補助照明装置による照明は、あらゆるサイズの読取対象媒体に対して一律に行われることから、例えば、読取対象媒体のサイズが小さい場合には、台座402上であって読取対象媒体以外の範囲にも照明が行われることとなり、無用な電力消費を招いているという問題もある。   In addition, since the illumination by the auxiliary illumination device is uniformly performed on the medium to be read of all sizes, for example, when the size of the medium to be read is small, the range other than the medium to be read is on the base 402. In addition, there is a problem that illumination is performed and unnecessary power consumption is incurred.

本発明は、上記実情に鑑み、補助照明装置を追加設置して運用する場合であっても、設置作業員等の設置時の負担を軽減すると共に無用な電力消費を無くすことができる、画像読取装置、その読取方法、及び記録媒体を提供することを目的とする。   In view of the above circumstances, the present invention can reduce the burden of installation workers and the like and eliminate unnecessary power consumption even when an auxiliary lighting device is additionally installed and operated. An object is to provide an apparatus, a reading method thereof, and a recording medium.

装置の一観点によれば、画像読取装置であって、撮像対象物を撮像して画像を得る撮像部と、前記撮像対象物を照明するための複数の光源を有する照明部と、前記撮像対象物とされ得る読取対象媒体のサイズ毎に、照明パターン及び撮像パラメータに関する情報を含む設定情報を、記憶する記憶部と、前記撮像対象物とされた読取対象媒体のサイズを検出する検出部と、前記記憶部に記憶されている前記サイズ毎の設定情報の中から、前記検出部により検出されたサイズに対応する設定情報を選択する選択部と、を備え、前記選択部により選択された設定情報に応じた照明パターンに従って前記照明部が前記複数の光源の各々を点灯又は消灯し、当該設定情報に応じた撮像パラメータの下で前記撮像部が前記撮像対象物とされた読取対象媒体を撮像して得た画像を読取画像として取得する。   According to one aspect of the apparatus, the image reading apparatus includes an imaging unit that captures an image of an imaging target and obtains an image, an illumination unit that includes a plurality of light sources for illuminating the imaging target, and the imaging target A storage unit that stores setting information including information on illumination patterns and imaging parameters for each size of a reading target medium that can be an object, and a detection unit that detects the size of the reading target medium that is the imaging target; A selection unit that selects setting information corresponding to the size detected by the detection unit from the setting information for each size stored in the storage unit, and the setting information selected by the selection unit A reading target medium in which the illumination unit turns on or off each of the plurality of light sources according to an illumination pattern corresponding to the image, and the imaging unit is the imaging object under an imaging parameter corresponding to the setting information Acquiring an image reading an image obtained by imaging.

方法の一観点によれば、撮像対象物を撮像して画像を得る撮像部と、前記撮像対象物を照明するための複数の光源を有する照明部と、を備える画像読取装置の画像読取方法であって、前記画像読取装置設置時において、前記複数の光源を消灯し、異なる撮像パラメータの下で前記撮像部が前記撮像対象物とされたキャリブレーション用媒体の撮像を繰り返して前記撮像部により得られる画像が所定条件を満たしたときの当該画像に基づいて第1の照明パターンを決定し、前記撮像対象物とされ得る読取対象媒体のサイズ毎に、前記第1の照明パターンと、当該サイズに応じて予め決定されている第2の照明パターンと、に基づいて第3の照明パターンを決定し、前記第3の照明パターンに従って前記複数の光源の各々を点灯又は消灯し、異なる撮像パラメータの下で前記撮像部が前記撮像対象物とされたキャリブレーション用媒体の撮像を繰り返して前記撮像部により得られる画像が所定条件を満たしたときの撮像パラメータを取得し、前記決定された第3の照明パターン及び前記取得された撮像パラメータに関する情報を含む設定情報を記憶部に記憶し、という処理を繰り返し、前記画像読取装置運用時において、前記複数の光源を消灯しているときに、前記撮像対象物とされた読取対象媒体のサイズを検出し、前記記憶部に記憶されている前記サイズ毎の設定情報の中から、前記検出されたサイズに対応する設定情報を選択し、前記選択された設定情報に応じた照明パターンに従って前記照明部が前記複数の光源の各々を点灯又は消灯し、当該設定情報に応じた撮像パラメータの下で前記撮像部が前記撮像対象物とされた読取対象媒体を撮像して得た画像を読取画像として取得する、処理をコンピュータが実行する。   According to one aspect of the method, there is provided an image reading method for an image reading apparatus, comprising: an imaging unit that captures an image of an imaging target to obtain an image; and an illumination unit that includes a plurality of light sources for illuminating the imaging target. When the image reading apparatus is installed, the plurality of light sources are turned off, and the imaging unit repeatedly captures an image of the calibration medium as the imaging object under different imaging parameters. The first illumination pattern is determined based on the image when the image to be satisfied satisfies the predetermined condition, and the first illumination pattern and the size are determined for each size of the read target medium that can be the imaging object. And determining a third illumination pattern based on the second illumination pattern determined in advance, and turning on or off each of the plurality of light sources according to the third illumination pattern. Under the imaging parameters, the imaging unit repeatedly captures an image of the calibration medium that is the imaging object, and acquires an imaging parameter when an image obtained by the imaging unit satisfies a predetermined condition, and is determined Store the setting information including information on the third illumination pattern and the acquired imaging parameter in the storage unit, and repeat the process of turning off the plurality of light sources during the operation of the image reading apparatus. Detecting the size of the medium to be read as the imaging object, selecting setting information corresponding to the detected size from the setting information for each size stored in the storage unit, and selecting the selection The illumination unit turns on or off each of the plurality of light sources according to an illumination pattern corresponding to the set information, and an imaging parameter corresponding to the set information Acquiring an image reading an image in which the imaging unit is obtained by imaging the read object medium is to the imaged object under process a computer executes.

記録媒体の一観点によれば、撮像対象物を撮像して画像を得る撮像部と、前記撮像対象物を照明するための複数の光源を有する照明部と、を備える画像読取装置の処理プログラムを記録したコンピュータ読取可能な記録媒体であって、前記画像読取装置設置時において、前記複数の光源を消灯し、異なる撮像パラメータの下で前記撮像部が前記撮像対象物とされたキャリブレーション用媒体の撮像を繰り返して前記撮像部により得られる画像が所定条件を満たしたときの当該画像に基づいて第1の照明パターンを決定し、前記撮像対象物とされ得る読取対象媒体のサイズ毎に、前記第1の照明パターンと、当該サイズに応じて予め決定されている第2の照明パターンと、に基づいて第3の照明パターンを決定し、前記第3の照明パターンに従って前記複数の光源の各々を点灯又は消灯し、異なる撮像パラメータの下で前記撮像部が前記撮像対象物とされたキャリブレーション用媒体の撮像を繰り返して前記撮像部により得られる画像が所定条件を満たしたときの撮像パラメータを取得し、前記決定された第3の照明パターン及び前記取得された撮像パラメータに関する情報を含む設定情報を記憶部に記憶し、という処理を繰り返し、前記画像読取装置運用時において、前記複数の光源を消灯しているときに、前記撮像対象物とされた読取対象媒体のサイズを検出し、前記記憶部に記憶されている前記サイズ毎の設定情報の中から、前記検出されたサイズに対応する設定情報を選択し、前記選択された設定情報に応じた照明パターンに従って前記照明部が前記複数の光源の各々を点灯又は消灯し、当該設定情報に応じた撮像パラメータの下で前記撮像部が前記撮像対象物とされた読取対象媒体を撮像して得た画像を読取画像として取得する、処理をコンピュータに実行させる処理プログラムを記録した記録媒体である。   According to one aspect of the recording medium, there is provided a processing program for an image reading apparatus including: an imaging unit that captures an image of an imaging target and obtains an image; and an illumination unit that includes a plurality of light sources for illuminating the imaging target. A recorded computer-readable recording medium comprising: a calibration medium in which the plurality of light sources are turned off and the imaging unit is set as the imaging object under different imaging parameters when the image reading apparatus is installed. A first illumination pattern is determined based on the image obtained by repeating the imaging and the image obtained by the imaging unit satisfies a predetermined condition, and the first illumination pattern is determined for each size of the read target medium that can be the imaging target. A third illumination pattern is determined based on the first illumination pattern and a second illumination pattern that is determined in advance according to the size, and is in accordance with the third illumination pattern. Each of the plurality of light sources is turned on or off, and the image obtained by the imaging unit when the imaging unit repeats imaging of the calibration medium set as the imaging target under different imaging parameters satisfies a predetermined condition. When the image reading apparatus is in operation, the imaging parameter when it is satisfied is acquired, and setting information including information regarding the determined third illumination pattern and the acquired imaging parameter is stored in the storage unit. And detecting the size of the medium to be read as the imaging target when the plurality of light sources are turned off, and detecting the size from the setting information for each size stored in the storage unit The setting information corresponding to the selected size is selected, and the illumination unit lights each of the plurality of light sources according to the illumination pattern according to the selected setting information. Is a process for causing the computer to execute a process of turning off the light and acquiring an image obtained by the imaging unit imaging the read target medium as the imaging target object as a read image under an imaging parameter corresponding to the setting information A recording medium on which a program is recorded.

開示の装置、方法、及び媒体は、補助照明装置を追加設置して運用する場合であっても、設置作業員等の設置時の負担を軽減すると共に無用な電力消費を無くすことができる、という効果を奏する。   The disclosed apparatus, method, and medium can reduce the burden during installation of installation workers and the like and eliminate unnecessary power consumption even when the auxiliary lighting device is additionally installed and operated. There is an effect.

一実施の形態に係る画像読取装置の構成例を示す図である。1 is a diagram illustrating a configuration example of an image reading apparatus according to an embodiment. 補助照明部が有する複数の光源の一例を示す図である。It is a figure which shows an example of the several light source which an auxiliary | assistant illumination part has. 一実施の形態に係る画像読取装置の動作例を示すフローチャートである。4 is a flowchart illustrating an operation example of the image reading apparatus according to the embodiment. 第1の照明パターンの決定方法の一例を説明する第1の図である。It is a 1st figure explaining an example of the determination method of a 1st illumination pattern. 第1の照明パターンの決定方法の一例を説明する第2の図である。It is a 2nd figure explaining an example of the determination method of a 1st illumination pattern. 第2の照明パターンの一例を説明する図である。It is a figure explaining an example of the 2nd illumination pattern. 第3の照明パターンの決定方法の一例を説明する図である。It is a figure explaining an example of the determination method of a 3rd illumination pattern. 設定ファイルの一例を示す図である。It is a figure which shows an example of a setting file. 制御部のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of a control part. スタンドスキャナの外観構成例を示す図である。It is a figure which shows the example of an external appearance structure of a stand scanner. 設置環境の明暗に係らず同じような明るさの画像が得られる例を説明する図である。It is a figure explaining the example from which the image of the same brightness is obtained irrespective of the brightness of an installation environment. 従来の初期状態情報の取得方法を説明する図である。It is a figure explaining the acquisition method of the conventional initial state information. 従来の動作の一例を示す図である。It is a figure which shows an example of the conventional operation | movement.

以下、図面を参照しながら本発明の実施の形態を説明する。
図1は、本発明の一実施の形態に係る画像読取装置の構成例を示す図である。なお、本実施形態に係る画像読取装置は、例えば、金融機関等で使用されるスタンドスキャナである。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration example of an image reading apparatus according to an embodiment of the present invention. Note that the image reading apparatus according to the present embodiment is, for example, a stand scanner used in a financial institution or the like.

図1に示したように、本実施形態に係る画像読取装置100は、イメージリーダ110、補助照明部120、制御部130を含む。   As illustrated in FIG. 1, the image reading apparatus 100 according to the present embodiment includes an image reader 110, an auxiliary illumination unit 120, and a control unit 130.

イメージリーダ110は、外観構成として、例えば、図10に示した撮像部401、台座402、及びスタンド403を有し、内部構成として、画像取得部111、撮像パラメータ調整部112を含む。画像取得部111は、例えば、CCD(Charge-Coupled Device)イメージセンサやCMOS(Complementary Metal Oxide Semiconductor)イメージセンサ等を含み、台座402に載置される撮像対象物(例えば税公金帳票等)を、撮像パラメータ調整部112により設定される撮像パラメータ(露出時間及び又はゲインアンプ値等)の下で撮像して画像データを取得し、それを制御部130へ送信する。撮像パラメータ調整部112は、制御部130により送信される指示信号に応じて、対応する撮像パラメータを画像取得部111に設定する。   The image reader 110 includes, for example, the imaging unit 401, the pedestal 402, and the stand 403 illustrated in FIG. 10 as external configurations, and includes an image acquisition unit 111 and an imaging parameter adjustment unit 112 as internal configurations. The image acquisition unit 111 includes, for example, a CCD (Charge-Coupled Device) image sensor, a CMOS (Complementary Metal Oxide Semiconductor) image sensor, and the like, and an imaging object (for example, a tax public deposit form) placed on the pedestal 402, Imaging is performed under imaging parameters (such as exposure time and / or gain amplifier value) set by the imaging parameter adjustment unit 112 to acquire image data, and the image data is transmitted to the control unit 130. The imaging parameter adjustment unit 112 sets the corresponding imaging parameter in the image acquisition unit 111 according to the instruction signal transmitted from the control unit 130.

補助照明部120は、台座402に載置される撮像対象媒体を照明するための複数の光源を有し、制御部130により送信される指示信号に応じて、その複数の光源の各々を点灯又は消灯する。例えば、補助照明部120は、図2に示すように、3×3のマトリクス状に配置された9個の光源を有する。   The auxiliary illumination unit 120 includes a plurality of light sources for illuminating the imaging target medium placed on the pedestal 402, and turns on or turns off each of the plurality of light sources according to an instruction signal transmitted by the control unit 130. Turns off. For example, the auxiliary illumination unit 120 includes nine light sources arranged in a 3 × 3 matrix as shown in FIG.

制御部130は、画像読取装置100の全体動作を制御するものであって、画像処理部131、設定選択部132、記憶部133、補助照明調整部134を含む。画像処理部131は、イメージリーダ110により送信される画像データに対して各種の画像処理(影補正処理を含む)を行う。また、画像処理部131は、イメージリーダ110により送信される画像データを基に、撮像対象物とされた読取対象媒体のサイズを検出し、その検出結果を設定選択部132へ送信する処理等も行う。設定選択部132は、記憶部133に記憶されている、撮像対象物とされ得る読取対象媒体のサイズ毎の設定ファイル(設定情報)の中から、画像処理部131により送信される検出結果に係るサイズに対応する設定ファイルを選択する。記憶部133は、撮像対象物とされ得る読取対象媒体のサイズ毎の照明パターン(後述の第2の照明パターン)に関する情報や、撮像対象物とされ得る読取対象媒体のサイズ毎の設定ファイル等を記憶する。ここで、サイズ毎の照明パターンは、詳しくは後述するように、当該サイズに応じて予め決定されている照明パターンであり、それは、補助照明部120の複数の光源における、当該サイズの読取対象媒体を照明するのに最小限必要な光源に応じて決定されたものである。また、サイズ毎の設定ファイルは、詳しくは後述するように、画像読取装置100の設置時(以下単に「設置時」という)の動作により記憶部133に記憶されるものであり、照明パターン(後述の第3の照明パターン)及び撮像パラメータに関する情報や影補正情報を含む。補助照明調整部134は、補助照明部120が有する複数の光源の各々を点灯又は消灯させるための指示信号を、補助照明部120へ送信する。   The control unit 130 controls the overall operation of the image reading apparatus 100, and includes an image processing unit 131, a setting selection unit 132, a storage unit 133, and an auxiliary illumination adjustment unit 134. The image processing unit 131 performs various types of image processing (including shadow correction processing) on the image data transmitted by the image reader 110. In addition, the image processing unit 131 detects the size of the reading target medium that is the imaging target based on the image data transmitted by the image reader 110, and transmits the detection result to the setting selection unit 132. Do. The setting selection unit 132 relates to a detection result transmitted by the image processing unit 131 from setting files (setting information) for each size of the read target medium that can be an imaging target, stored in the storage unit 133. Select the configuration file that corresponds to the size. The storage unit 133 stores information on an illumination pattern (second illumination pattern described later) for each size of a reading target medium that can be an imaging target, a setting file for each size of the reading target medium that can be an imaging target, and the like. Remember. Here, as will be described in detail later, the illumination pattern for each size is an illumination pattern that is determined in advance according to the size, and is a read target medium of the size in the plurality of light sources of the auxiliary illumination unit 120. Is determined according to the minimum light source required to illuminate the light source. Further, as will be described in detail later, the setting file for each size is stored in the storage unit 133 by an operation when the image reading apparatus 100 is installed (hereinafter simply referred to as “at the time of installation”). 3rd illumination pattern) and imaging parameter information and shadow correction information. The auxiliary illumination adjustment unit 134 transmits an instruction signal for turning on or off each of the plurality of light sources included in the auxiliary illumination unit 120 to the auxiliary illumination unit 120.

なお、このような構成の画像読取装置100において、画像取得部111は、撮像対象物を撮像して画像を得る撮像部の一例でもある。補助照明部120は、撮像対象物を照明するための複数の光源を有する照明部の一例でもある。記憶部133は、撮像対象物とされ得る読取対象媒体のサイズ毎に、照明パターン及び撮像パラメータに関する情報を含む設定情報を、記憶する記憶部の一例でもある。画像処理部131は、撮像対象物とされた読取対象媒体のサイズを検出する検出部の一例でもある。設定選択部132は、記憶部に記憶されているサイズ毎の設定情報の中から、検出部により検出されたサイズに対応する設定情報を選択する選択部の一例でもある。   Note that in the image reading apparatus 100 having such a configuration, the image acquisition unit 111 is also an example of an imaging unit that captures an imaging target and obtains an image. The auxiliary illumination unit 120 is also an example of an illumination unit having a plurality of light sources for illuminating the imaging object. The storage unit 133 is also an example of a storage unit that stores setting information including information on illumination patterns and imaging parameters for each size of a reading target medium that can be an imaging target. The image processing unit 131 is also an example of a detection unit that detects the size of a reading target medium that is an imaging target. The setting selection unit 132 is also an example of a selection unit that selects setting information corresponding to the size detected by the detection unit from the setting information for each size stored in the storage unit.

図3は、本実施形態に係る画像読取装置100の動作例を示すフローチャートである。
図3に示したように、本動作例では、設置時において、制御部130は、次のような設置時の動作(S101乃至S107)を行う。
FIG. 3 is a flowchart illustrating an operation example of the image reading apparatus 100 according to the present embodiment.
As shown in FIG. 3, in this operation example, at the time of installation, the control unit 130 performs the following operation at installation (S101 to S107).

まず、制御部130の制御の下に、補助照明部120の複数の光源の全てが消灯する(S101)。   First, under the control of the control unit 130, all of the plurality of light sources of the auxiliary illumination unit 120 are turned off (S101).

続いて、制御部130は、画像取得部111による被撮像面となる台座面(撮影面)の影の強度分布を測定し、その台座面全体が均一な明るさとなる補助照明部120の必要光源箇所を推定するための処理を行う(S102、S103)。より詳しくは、まず、制御部130の制御の下に、異なる撮像パラメータの下で画像取得部111が撮像対象物とされた基準媒体の撮像を繰り返す。なお、基準媒体は、例えば、単色で台座面と同じサイズを有する媒体である。そして、制御部130は、画像取得部111が基準媒体の撮像を繰り返す間にイメージリーダ110から送信される画像データに係る画像が所定条件を満たしたときの当該画像を基に第1の照明パターンを決定する。ここで、所定条件は、例えば、画像の最大階調値(画像内の画素の最大階調値等)が所定値又は略所定値になるという条件である。ここで、所定値は、表現可能な画像の階調範囲を考慮して決定される値であり、仮に、表現可能な画像の階調範囲を0〜255とすると、例えば200である。その装置における撮像パラメータの内で、ノイズを許容できる限度の、最も高い階調をとれる撮像パラメータで撮影しても最大階調値が所定値に達しない場合には、その最も高い階調をとれる撮像パラメータで撮影した画像を基に第1の照明パターンを決定する。なお、第1の照明パターンの決定方法の詳細については、図4及び図5を用いて後述する。   Subsequently, the control unit 130 measures the intensity distribution of the shadow on the pedestal surface (imaging surface) that is the imaged surface by the image acquisition unit 111, and the necessary light source of the auxiliary illumination unit 120 in which the entire pedestal surface has uniform brightness. Processing for estimating the location is performed (S102, S103). More specifically, first, under the control of the control unit 130, the image acquisition unit 111 repeats imaging of a reference medium that is an imaging target under different imaging parameters. The reference medium is, for example, a medium having a single color and the same size as the pedestal surface. Then, the control unit 130 sets the first illumination pattern based on the image when the image related to the image data transmitted from the image reader 110 satisfies a predetermined condition while the image acquisition unit 111 repeats imaging of the reference medium. To decide. Here, the predetermined condition is, for example, a condition that the maximum gradation value of the image (such as the maximum gradation value of the pixels in the image) becomes a predetermined value or a substantially predetermined value. Here, the predetermined value is a value determined in consideration of the gradation range of the representable image. For example, if the gradation range of the representable image is 0 to 255, the predetermined value is 200, for example. If the maximum gradation value does not reach the predetermined value even when shooting with the imaging parameter that can take the highest gradation, within the imaging parameter of the device, the highest gradation can be taken. The first illumination pattern is determined based on the image captured with the imaging parameters. The details of the first illumination pattern determination method will be described later with reference to FIGS.

続いて、制御部130は、撮像対象物とされ得る読取対象媒体のサイズ毎に、S104及びS105の処理を繰り返す。   Subsequently, the control unit 130 repeats the processes of S104 and S105 for each size of the read target medium that can be an imaging target.

まず、制御部130は、処理対象とするサイズに対し、最小限必要な補助照明部120の光源箇所を推定するための処理を行う(S104)。より詳しくは、制御部130は、上記の第1の照明パターンと、記憶部133に記憶されている当該サイズに応じて予め決定されている第2の照明パターンに関する情報とに基づいて、第3の照明パターンを決定する。なお、第2の照明パターンの詳細については、図6を用いて後述する。また、第3の照明パターンの決定方法の詳細については、図7を用いて後述する。   First, the control unit 130 performs a process for estimating the minimum necessary light source location of the auxiliary illumination unit 120 for the size to be processed (S104). More specifically, the control unit 130 determines the third illumination pattern based on the first illumination pattern and information on the second illumination pattern that is determined in advance according to the size stored in the storage unit 133. Determine the lighting pattern. Details of the second illumination pattern will be described later with reference to FIG. Details of the third illumination pattern determination method will be described later with reference to FIG.

続いて、制御部130は、初期状態を設定ファイルとして記憶部133に記憶するための処理を行う(S105)。より詳しくは、まず、制御部130の制御の下に、S104で決定された第3の照明パターンに従って補助照明部120の複数の光源の各々が点灯又は消灯する。続いて、制御部130の制御の下に、異なる撮像パラメータの下で画像取得部111が撮像対象物とされた基準媒体の撮像を繰り返す。そして、制御部130は、その間にイメージリーダ110から送信される画像データに係る画像が所定条件を満たしたときの撮像パラメータを取得する。ここで、所定条件は、例えば、画像の最大階調値(画像内の画素の最大階調値等)が所定値又は略所定値になるという条件である。ここで、所定値は、表現可能な画像の階調範囲を考慮して決定される値であり、仮に、表現可能な画像の階調範囲を0〜255とすると、例えば200である。続いて、制御部130は、その所定条件を満たしたときの画像に基づいて影補正情報を生成する。続いて、制御部130は、取得した撮像パラメータに関する情報と、生成した影補正情報と、S104で決定された第3の照明パターンに関する情報とを含む設定ファイルを、当該サイズに対する設定ファイルとして、記憶部133に記憶する。なお、設定ファイルの詳細については、図8を用いて後述する。   Subsequently, the control unit 130 performs processing for storing the initial state in the storage unit 133 as a setting file (S105). More specifically, first, under the control of the control unit 130, each of the plurality of light sources of the auxiliary illumination unit 120 is turned on or off according to the third illumination pattern determined in S104. Subsequently, under the control of the control unit 130, the image acquisition unit 111 repeats imaging of the reference medium as the imaging target under different imaging parameters. And the control part 130 acquires an imaging parameter when the image which concerns on the image data transmitted from the image reader 110 in the meantime satisfy | fills predetermined conditions. Here, the predetermined condition is, for example, a condition that the maximum gradation value of the image (such as the maximum gradation value of the pixels in the image) becomes a predetermined value or a substantially predetermined value. Here, the predetermined value is a value determined in consideration of the gradation range of the representable image. For example, if the gradation range of the representable image is 0 to 255, the predetermined value is 200, for example. Subsequently, the control unit 130 generates shadow correction information based on the image when the predetermined condition is satisfied. Subsequently, the control unit 130 stores, as a setting file for the size, a setting file including information on the acquired imaging parameter, generated shadow correction information, and information on the third illumination pattern determined in S104. Stored in the unit 133. Details of the setting file will be described later with reference to FIG.

続いて、撮像対象物とされ得る読取対象媒体の全サイズを処理対象としたか否かを判定し(S106)、その判定結果がNoの場合には、未だ処理対象とされていないサイズを新たな処理対象として、S104へ戻る。   Subsequently, it is determined whether or not all sizes of the read target medium that can be the imaging target are processed (S106). If the determination result is No, a new size that is not yet processed is selected. Return to S104 as a target to be processed.

一方、S106の判定結果がYesの場合には、制御部130の制御の下に、補助照明部120の複数の光源の全てが消灯して(S107)、設置時の動作が終了する。そして、画像読取装置100の運用時(以下単に「運用時」という)の動作へ移行する。   On the other hand, if the determination result in S106 is Yes, all of the plurality of light sources of the auxiliary illumination unit 120 are turned off under the control of the control unit 130 (S107), and the operation at the time of installation ends. Then, the operation proceeds to the operation at the time of operation of the image reading apparatus 100 (hereinafter simply referred to as “operation”).

運用時の動作では、例えばユーザからの読取指示に応じて、次のような読取時の動作(S108乃至S112)を行う。   In the operation at the time of operation, for example, the following operation at the time of reading (S108 to S112) is performed in response to a reading instruction from the user.

まず、制御部130は、補助照明部120の複数の光源の全てが消灯されている状態で媒体サイズを推定するための処理を行う(S108)。より詳しくは、補助照明部120の複数の光源の全てがS107又は後述のS112の処理により消灯されている状態で、制御部130の制御の下に、画像取得部111が、撮像対象物とされた台座402上の読取対象媒体を撮像する。そして、制御部130は、そのときにイメージリーダ110から送信される画像データに係る画像に基づいて、その読取対象媒体のサイズを検出する。この検出は、例えば、その画像の輝度分布に基づいて行われる。   First, the control unit 130 performs processing for estimating the medium size in a state where all of the plurality of light sources of the auxiliary illumination unit 120 are turned off (S108). More specifically, the image acquisition unit 111 is set as an imaging target under the control of the control unit 130 in a state where all of the plurality of light sources of the auxiliary illumination unit 120 are turned off by the processing of S107 or S112 described later. The medium to be read on the pedestal 402 is imaged. Then, the control unit 130 detects the size of the medium to be read based on the image related to the image data transmitted from the image reader 110 at that time. This detection is performed based on the luminance distribution of the image, for example.

続いて、制御部130は、記憶部133に記憶されている、撮像対象物とされ得る読取対象媒体のサイズ毎の設定ファイルの中から、S108で検出されたサイズに応じた設定ファイルを選択して読み出す(S109)。なお、S108においてサイズの検出ができなかった場合やサイズの検出が不適切であった場合には、撮像対象物とされ得る読取対象媒体の最大サイズに応じた設定ファイルが選択され読み出される。   Subsequently, the control unit 130 selects a setting file corresponding to the size detected in S108 from the setting files stored in the storage unit 133 for each size of the medium to be read that can be an imaging target. And read (S109). If the size cannot be detected in S108 or if the size is inappropriately detected, a setting file corresponding to the maximum size of the read target medium that can be the imaging target is selected and read.

続いて、制御部130の制御の下に、S109で読み出された設定ファイルに含まれる第3の照明パターンに関する情報に係る照明パターン従って補助照明部120の複数の光源の各々が点灯又は消灯する(S110)。   Subsequently, under the control of the control unit 130, each of the plurality of light sources of the auxiliary illumination unit 120 is turned on or off according to the illumination pattern related to the information related to the third illumination pattern included in the setting file read in S109. (S110).

続いて、制御部130は、台座402上の読取対象媒体を読み取るための処理を行う(S111)。より詳しくは、制御部130の制御の下に、S109で読み出された設定ファイルに含まれる撮像パラメータに関する情報に係る撮像パラメータの下で画像取得部111が台座402上の読取対象媒体を撮像する。そして、制御部130は、そのときにイメージリーダ110から送信される画像データに係る画像を読取画像として取得する。なお、必要に応じて、この読取画像に対し、更に、S109で読み出された設定ファイルに含まれる影補正情報に従って影補正処理を行ってもよい。   Subsequently, the control unit 130 performs processing for reading the reading target medium on the pedestal 402 (S111). More specifically, under the control of the control unit 130, the image acquisition unit 111 images the reading target medium on the pedestal 402 under the imaging parameters related to the imaging parameter information included in the setting file read in S109. . Then, the control unit 130 acquires an image related to the image data transmitted from the image reader 110 at that time as a read image. If necessary, the read image may be further subjected to shadow correction processing according to the shadow correction information included in the setting file read in S109.

このようにして読取画像が取得されると、制御部130の制御の下に、補助照明部120の複数の光源の全てが消灯して(S112)、読取時の動作が終了する。そして、次の読取指示が行われるまで、待機状態となる。   When the read image is acquired in this way, all of the plurality of light sources of the auxiliary illumination unit 120 are turned off under the control of the control unit 130 (S112), and the operation at the time of reading ends. And it will be in a standby state until the next reading instruction | indication is performed.

なお、読取時の動作で取得された読取画像は、その後、例えば、OCR処理による文字認識や印影イメージの重ね合わせによる印鑑照合処理等が行われる。   Note that the read image acquired by the reading operation is subsequently subjected to, for example, character recognition by OCR processing or seal collation processing by overlaying seal images.

図4及び図5は、上述の第1の照明パターンの決定方法の一例を説明する図である。なお、本例では、補助照明部120が、図2に示した9(=3×3)個の光源を有するものとして説明を行う。   4 and 5 are diagrams illustrating an example of the above-described first illumination pattern determination method. In this example, the auxiliary illumination unit 120 will be described as having 9 (= 3 × 3) light sources shown in FIG.

第1の照明パターンは、図4に示したように、画像取得部111が基準媒体201の撮像を繰り返し、その間にイメージリーダ110から送信される画像データに係る画像が所定条件を満たしたときの当該画像である基準媒体画像202を基に決定される。より詳しくは、その基準媒体画像202が、補助照明部120の9個の光源に対応して9個の画像領域に分割されたときの各画像領域の平均階調値に基づいて決定される。   As shown in FIG. 4, the first illumination pattern is obtained when the image acquisition unit 111 repeatedly captures the reference medium 201 and the image related to the image data transmitted from the image reader 110 satisfies a predetermined condition. It is determined based on the reference medium image 202 that is the image. More specifically, the reference medium image 202 is determined based on the average gradation value of each image area when the reference medium image 202 is divided into nine image areas corresponding to the nine light sources of the auxiliary illumination unit 120.

なお、本例では、図4に示した基準媒体画像202において、最上段の3つの画像領域を左から順に画像領域R1、R2、R3とし、中段の3つの画像領域を左から順に画像領域R4、R5、R6とし、最下段の3つの画像領域を左から順に画像領域R7、R8、R9とする。また、図2に示した9個の光源において、最上段の3つの光源を右から順に光源L1、L2、L3とし、中段の3つの光源を右から順に光源L4、L5、L6とし、最下段の3つの光源を右から順に光源L7、L8、L9とする。そして、画像領域Rnが光源Lnに対応するとする(但し、nは1から9までの整数)。また、本例では、画像領域Rnの平均階調値をAnとする(但し、nは1から9までの整数)。ここで、画像領域の平均階調値は、例えば、その画像領域に含まれる画素の階調値を平均したものである。また、画像領域R1乃至R9の9つの平均階調値の中で最大のものを最大平均階調値A_MAXとする。また、画像領域Rnの、平均階調値Anに対する最大平均階調値A_MAXの比率(A_MAX/An)をSnとする(但し、nは1から9までの整数)。   In this example, in the reference medium image 202 shown in FIG. 4, the three uppermost image areas are sequentially designated as image areas R1, R2, and R3 from the left, and the three middle image areas are designated as image areas R4 in order from the left. , R5, R6, and the three lowest image areas are image areas R7, R8, R9 in order from the left. In the nine light sources shown in FIG. 2, the top three light sources are sequentially designated as light sources L1, L2, and L3 from the right, and the middle three light sources are designated light sources L4, L5, and L6 in order from the right, and These three light sources are referred to as light sources L7, L8, and L9 in order from the right. The image region Rn corresponds to the light source Ln (where n is an integer from 1 to 9). In this example, the average gradation value of the image region Rn is An (where n is an integer from 1 to 9). Here, the average gradation value of the image area is, for example, an average of gradation values of pixels included in the image area. Further, the maximum one of the nine average gradation values of the image regions R1 to R9 is set as the maximum average gradation value A_MAX. The ratio (A_MAX / An) of the maximum average gradation value A_MAX to the average gradation value An of the image region Rn is Sn (where n is an integer from 1 to 9).

この場合、第1の照明パターンは、平均階調値An(但し、nは1から9までの整数)が所定値(必要とされる階調値に対応する値)以上であるか否か、平均最大階調値A_MAXが所定値(必要とされる階調値に対応する値)以上であるか否か、比率Sn(但し、nは1から9までの整数)が所定値(影の許容限度に対応する値)以上であるか否か、の一つ以上を判定した結果等に基づいて決定される。   In this case, in the first illumination pattern, whether the average gradation value An (where n is an integer from 1 to 9) is equal to or greater than a predetermined value (a value corresponding to a required gradation value), Whether the average maximum gradation value A_MAX is equal to or greater than a predetermined value (a value corresponding to a required gradation value), a ratio Sn (where n is an integer from 1 to 9) is a predetermined value (shadow tolerance) It is determined based on the result of determining one or more of whether or not the value corresponding to the limit).

例えば、図5に示した基準媒体画像202aのように、平均最大階調値A_MAXが所定値(「必要階調」)以上でない場合には、点線枠で示した画像領域R1乃至R9(全ての画像領域)に対応する光源L1乃至L9(全ての光源)を点灯させる照明パターンが、第1の照明パターンとして決定される。このように、全体的に低階調な基準媒体画像が得られた場合には、全体的に照度不足と考えられることから、第1の照明パターンは、それを補うために全ての光源を点灯させる照明パターンとなる。   For example, as in the reference medium image 202a shown in FIG. 5, when the average maximum gradation value A_MAX is not equal to or greater than a predetermined value (“necessary gradation”), the image areas R1 to R9 (all the dotted lines) An illumination pattern for turning on the light sources L1 to L9 (all the light sources) corresponding to the image region is determined as the first illumination pattern. As described above, when a reference medium image having a low gradation is obtained as a whole, it is considered that the illuminance is generally insufficient. Therefore, in the first illumination pattern, all the light sources are turned on to compensate for it. It becomes an illumination pattern to be made.

或いは、図5に示した基準媒体画像202bのように、点線枠で示した画像領域R1乃至R3の比率S1乃至S3が何れも所定値(「影の許容限度」)以上である場合には、その画像領域R1乃至R3に対応する光源L1乃至L3のみを点灯させる照明パターンが、第1の照明パターンとして決定される。このように、全体的に低階調ではないものの部分的に比率が大きくなるような基準媒体画像が得られた場合には、全体的に照度不足ではないものの部分的に影が存在すると考えられることから、第1の照明パターンは、その影を無くすために対応する一部の光源のみを点灯させる照明パターンとなる。   Alternatively, when the ratios S1 to S3 of the image areas R1 to R3 indicated by the dotted frame are all equal to or larger than a predetermined value (“shadow allowable limit”) as in the reference medium image 202b shown in FIG. An illumination pattern for lighting only the light sources L1 to L3 corresponding to the image regions R1 to R3 is determined as the first illumination pattern. In this way, when a reference medium image is obtained in which the ratio is partially increased although the gradation is not entirely low, it is considered that there is a partial shadow although the illumination is not entirely insufficient. Therefore, the first illumination pattern is an illumination pattern in which only a part of the corresponding light source is lit to eliminate the shadow.

図6は、上述の第2の照明パターンの一例を説明する図である。なお、本例では、撮像対照物とされ得る読取対象媒体のサイズを、例えば、ISO216で定められたA5サイズ、A4サイズ、JIS規格で定められたB6サイズ、B5サイズ、あるいは免許証サイズとして説明する。また、本例でも、補助照明部120が、図2に示した9(=3×3)個の光源を有するものとして説明を行う。   FIG. 6 is a diagram illustrating an example of the second illumination pattern described above. In this example, the size of the medium to be read that can be used as an imaging object is described as, for example, A5 size, A4 size defined by ISO216, B6 size, B5 size defined by JIS standard, or license size. To do. Also in this example, the auxiliary illumination unit 120 will be described as having 9 (= 3 × 3) light sources shown in FIG.

第2の照明パターンは、上述のとおり、読取対象媒体のサイズに応じて予め決定されているものであり、それは、補助照明部120の複数の光源における、当該サイズの読取対象媒体を照明するのに最小限必要な光源に応じて決定されたものである。より詳しくは、第2の照明パターンは、例えば、画像取得部111が基準媒体を撮像して得た基準媒体画像が補助照明部120の9個の光源に対応して9個の画像領域に分割されたときの、その9個の画像領域の中で、画像取得部111が読取対象媒体を撮像して得た読取対象媒体画像と一部又は全部が重複する画像領域に対応する光源のみを点灯させる照明パターンとなる。なお、本例においても、図4及び図5を用いて説明したものと同様に、基準媒体画像の9個の画像領域をR1乃至R9とし、補助照明部120の9個の光源をL1乃至L9とし、画像領域Rnが光源Lnに対応する(但し、nは1から9までの整数)ものとする。   As described above, the second illumination pattern is determined in advance according to the size of the reading target medium, and this illuminates the reading target medium of the size in the plurality of light sources of the auxiliary illumination unit 120. Is determined according to the minimum required light source. More specifically, in the second illumination pattern, for example, the reference medium image obtained by imaging the reference medium by the image acquisition unit 111 is divided into nine image regions corresponding to the nine light sources of the auxiliary illumination unit 120. Among the nine image areas, the image acquisition unit 111 lights only the light source corresponding to the image area partially or wholly overlapped with the read target medium image obtained by imaging the read target medium. It becomes an illumination pattern to be made. In this example as well, as described with reference to FIGS. 4 and 5, the nine image areas of the reference medium image are R1 to R9, and the nine light sources of the auxiliary illumination unit 120 are L1 to L9. The image region Rn corresponds to the light source Ln (where n is an integer from 1 to 9).

この場合、図6に示したように、読取対象媒体のサイズがB6サイズやA5サイズの場合に対する第2の照明パターンは、基準媒体画像の画像領域R1乃至R9の中で、その読取対象媒体画像と一部又は全部が重複する画像領域は、点線枠211で示す画像領域R1乃至R6になるので、その画像領域R1乃至R6に対応する光源L1乃至L6のみを点灯させる照明パターンとなる。   In this case, as shown in FIG. 6, the second illumination pattern for the case where the size of the read target medium is B6 size or A5 size is the read target medium image in the image areas R1 to R9 of the reference medium image. Since the image regions partially or entirely overlap with the image regions R1 to R6 indicated by the dotted line frame 211, the illumination regions turn on only the light sources L1 to L6 corresponding to the image regions R1 to R6.

また、読取対象媒体のサイズがB5サイズやA4サイズの場合に対する第2の照明パターンは、基準媒体画像の画像領域R1乃至R9の中で、その読取対象媒体画像と一部又は全部が重複する画像領域が、点線枠212で示す画像領域R1乃至R9(全ての画像領域)になるので、その画像領域R1乃至R9に対応する光源L1乃至L9(全ての光源)を点灯させる照明パターンとなる。   Further, the second illumination pattern for the case where the size of the read target medium is the B5 size or the A4 size is an image that partially or entirely overlaps the read target medium image in the image areas R1 to R9 of the reference medium image. Since the areas are the image areas R1 to R9 (all image areas) indicated by the dotted frame 212, the illumination patterns turn on the light sources L1 to L9 (all light sources) corresponding to the image areas R1 to R9.

また、読取対象媒体のサイズが免許証サイズの場合に対する第2の照明パターンは、基準媒体画像の画像領域R1乃至R9の中で、その読取対象媒体画像と一部又は全部が重複する画像領域が、点線枠213で示す画像領域R1、R2になるので、その画像領域R1、R2に対応する光源L1、L2のみを点灯させる照明パターンとなる。   Further, in the second illumination pattern for the case where the size of the read target medium is a license size, an image area partially or entirely overlapping with the read target medium image is present in the image areas R1 to R9 of the reference medium image. Since the image areas R1 and R2 are indicated by the dotted frame 213, the illumination pattern turns on only the light sources L1 and L2 corresponding to the image areas R1 and R2.

なお、本実施形態に係る画像読取装置100では、上述のとおり、撮像対象物とされ得る読取対象媒体のサイズ毎の第2の照明パターンに関する情報が記憶部133に記憶されるものであるが、例えば、サイズが異なる場合であっても、照明パターンの内容が同じとなる場合には、図6に示した、B6サイズやA5サイズに対する第2の照明パターンや、B5サイズやA4サイズに対する第2の照明パターンのように、異なる複数のサイズに対して1つの第2の照明パターンを設けるようにしてもよい。   In the image reading apparatus 100 according to the present embodiment, as described above, information related to the second illumination pattern for each size of the read target medium that can be an imaging target is stored in the storage unit 133. For example, even when the sizes are different, if the contents of the illumination pattern are the same, the second illumination pattern for the B6 size or A5 size, or the second for the B5 size or A4 size shown in FIG. As in the illumination pattern, one second illumination pattern may be provided for a plurality of different sizes.

図7は、上述の第3の照明パターンの決定方法の一例を説明する図である。
第3の照明パターンは、上述のとおり、第1の照明パターンと第2の照明パターンに基づいて決定されるものであり、例えば、第1の照明パターンによって点灯とされている光源であって且つ第2の照明パターンによっても点灯とされている光源のみを点灯させる照明パターンが、第3の照明パターンとして決定される。
FIG. 7 is a diagram for explaining an example of the third illumination pattern determination method described above.
As described above, the third illumination pattern is determined based on the first illumination pattern and the second illumination pattern. For example, the third illumination pattern is a light source that is turned on by the first illumination pattern, and An illumination pattern that turns on only the light source that is also lit by the second illumination pattern is determined as the third illumination pattern.

図7に示したように、例えば、第1の照明パターンが図5に示した光源L1乃至L3のみを点灯させる照明パターンであり、第2の照明パターンが図6に示したB6サイズやA5サイズに対する照明パターン(光源L1乃至L6のみを点灯させる照明パターン)である場合には、両者の間で共に点灯とされる光源は、光源L1乃至L3になるので、その光源L1乃至L3のみを点灯させる照明パターンが、第3の照明パターンとして決定される。なお、光源L1乃至L3は、点線枠221で示す画像領域R1乃至R3に対応する光源である。   As shown in FIG. 7, for example, the first illumination pattern is an illumination pattern that lights only the light sources L1 to L3 shown in FIG. 5, and the second illumination pattern is the B6 size or A5 size shown in FIG. Is an illumination pattern (an illumination pattern in which only the light sources L1 to L6 are turned on), the light sources that are turned on together are the light sources L1 to L3, so that only the light sources L1 to L3 are turned on. An illumination pattern is determined as the third illumination pattern. The light sources L1 to L3 are light sources corresponding to the image regions R1 to R3 indicated by the dotted frame 221.

或いは、例えば、第1の照明パターンが図5に示した光源L1乃至L3のみを点灯させる照明パターンであり、第2の照明パターンが図6に示したB5サイズやA4サイズに対する照明パターン(光源L1乃至L9(全ての光源)を点灯させる照明パターン)である場合には、両者の間で共に点灯とされる光源は、光源L1乃至L3になるので、その光源L1乃至L3のみを点灯させる照明パターンが、第3の照明パターンとして決定される。なお、光源L1乃至L3は、点線枠222で示す画像領域R1乃至R3に対応する光源である。   Alternatively, for example, the first illumination pattern is an illumination pattern that turns on only the light sources L1 to L3 shown in FIG. 5, and the second illumination pattern is an illumination pattern (light source L1) for the B5 size or A4 size shown in FIG. To L9 (illumination pattern for turning on all light sources), the light sources that are turned on between them are the light sources L1 to L3. Therefore, the illumination pattern that lights only the light sources L1 to L3. Is determined as the third illumination pattern. The light sources L1 to L3 are light sources corresponding to the image regions R1 to R3 indicated by the dotted frame 222.

若しくは、例えば、第1の照明パターンが図5に示した光源L1乃至L3のみを点灯させる照明パターンであり、第2の照明パターンが図6に示した免許証サイズに対する照明パターン(光源L1、L2のみを点灯させる照明パターン)である場合には、両者の間で共に点灯とされる光源は、光源L1、L2になるので、その光源L1、L2のみを点灯させる照明パターンが、第3の照明パターンとして決定される。なお、光源L1、L2は、点線枠223で示す画像領域R1、R2に対応する光源である。   Alternatively, for example, the first illumination pattern is an illumination pattern that lights only the light sources L1 to L3 shown in FIG. 5, and the second illumination pattern is an illumination pattern (light sources L1, L2) for the license size shown in FIG. In this case, the light sources that are turned on together are the light sources L1 and L2, and therefore the illumination pattern that lights only the light sources L1 and L2 is the third illumination. It is determined as a pattern. The light sources L1 and L2 are light sources corresponding to the image regions R1 and R2 indicated by the dotted frame 223.

図8は、設定ファイルの一例を示す図である。なお、本例でも、補助照明部120が、図2に示した9(=3×3)個の光源を有するものとし、その9個の光源をL1乃至L9として説明を行う。   FIG. 8 is a diagram illustrating an example of a setting file. In this example, the auxiliary illumination unit 120 is assumed to have 9 (= 3 × 3) light sources shown in FIG. 2, and the nine light sources are described as L1 to L9.

図8に示したように、各設定ファイルは、対応するサイズに関する情報と、撮像パラメータに関する情報であるカメラ設定情報と、影補正情報と、第3の照明パターンに関する情報である補助照明設定情報とを含む。カメラ設定情報は、露出時間及びゲインアンプ値に関する情報を含む。影補正情報は、読取画像に対する座標毎の影補正量(影を除去するための増幅量)に関する情報を含む。補助照明設定情報は、光源L1乃至L9の各々を点灯(「ON」)又は消灯(「OFF」)させるための情報を含む。   As shown in FIG. 8, each setting file includes information on the corresponding size, camera setting information that is information on imaging parameters, shadow correction information, and auxiliary illumination setting information that is information on the third illumination pattern. including. The camera setting information includes information regarding the exposure time and the gain amplifier value. The shadow correction information includes information related to a shadow correction amount (amplification amount for removing a shadow) for each coordinate with respect to the read image. The auxiliary illumination setting information includes information for turning on (“ON”) or turning off (“OFF”) each of the light sources L1 to L9.

なお、図3に示した動作では、上述のとおり、撮像対象物とされ得る読取対象媒体のサイズ毎の設定ファイルが記憶部133に記憶されるものであるが、例えば、サイズが異なる場合であっても、そのサイズ以外の内容が同じとなる場合には、図8に示した設定ファイルA又は設定ファイルBのように、異なる複数のサイズに対して1つの設定ファイルを設けるようにしてもよい。   In the operation illustrated in FIG. 3, as described above, the setting file for each size of the read target medium that can be the imaging target is stored in the storage unit 133. However, for example, the size is different. However, if the contents other than the size are the same, one setting file may be provided for a plurality of different sizes, such as the setting file A or the setting file B shown in FIG. .

以上、本実施形態に係る画像読取装置100によれば、設置時の動作により、撮像対象物とされ得る読取対象媒体のサイズ毎に、照度不足を補い且つ影の存在を無くすために最小限必要な光源のみを点灯させる照明パターンが自動で決定されるようになる。そして、運用時における読取時の動作により、読取対象媒体が、そのサイズに応じて選択された照明パターンにより照明されるようになる。従って、設置作業員等は、設置時に、補助照明部120の位置や向きを細かく調整する必要はなく、設置作業員等の設置時の負担が軽減する。また、これにより、補助照明部120の点灯のし忘れや補助照明部120の設置位置や設置方向の判断誤り等といった、設置作業員等の作業ミスも勿論無くすことができる。さらに、最小限必要な光源のみが点灯されるようになるので、無用な電力消費も無くすことができる。   As described above, according to the image reading apparatus 100 according to the present embodiment, it is necessary at least in order to compensate for the lack of illuminance and eliminate the presence of shadows for each size of the medium to be read that can be taken as an imaging target by the operation at the time of installation. An illumination pattern for turning on only a light source is automatically determined. Then, the reading target medium is illuminated by the illumination pattern selected according to the size by the reading operation during operation. Therefore, it is not necessary for an installation worker or the like to finely adjust the position or orientation of the auxiliary lighting unit 120 at the time of installation, and the burden on installation of the installation worker or the like is reduced. In addition, this makes it possible to eliminate work mistakes such as installation workers such as forgetting to turn on the auxiliary illumination unit 120 and errors in determining the installation position and installation direction of the auxiliary illumination unit 120. Furthermore, since only the minimum necessary light source is turned on, unnecessary power consumption can be eliminated.

なお、本実施形態に係る画像読取装置100においては、種々の変形が可能である。
例えば、制御部130は、図9に示すハードウェア構成により実現してもよい。この場合、制御部130は、CPU(Central Processing Unit)301、RAM(Random Access Memory)302、ROM(Read Only Memory)303、HDD(Hard Disk Drive)304、通信インタフェース305、媒体読取装置306、入出力インタフェース307を含み、各部がバス308を介して接続される。CPU301は、ROM303に格納されているプログラムを、RAM302を介して読み出し実行することによって、画像読取装置100の全体動作を制御する。ここで、ROM303に格納されているプログラムは、HDD304に格納されてもよい。また、CPU301によって実行されるプログラムは、通信インタフェース305を介して、ネットワークに接続される外部装置からRAM302に格納されて、CPU301によって実行されてもよい。また、CPU301によって実行されるプログラムは、媒体読取装置306にセットされた可搬型記録媒体309からRAM302に格納されて、CPU301によって実行されてもよい。可搬型記録媒体309としては、例えば、CD−ROM(Compact Disc Read Only Memory)、フレキシブルディスク、光ディスク、光磁気ディスク、DVD(Digital Versatile Disc)、USB(Universal Serial Bus)メモリなど様々な形式の記録媒体を使用することができる。なお、記憶部133に記憶される情報は、例えばHDD304に記憶される。また、イメージリーダ110、補助照明部120は、入出力インタフェース307に接続される。また、ディスプレイ装置310、キーボードやマウス等の入力装置311が更に入出力インタフェース307に接続される。なお、補助照明部120は、例えば、複数の光源Lが接続された入出力インタフェース321を含み、その入出力インタフェースが制御部130に接続される。
Note that the image reading apparatus 100 according to the present embodiment can be variously modified.
For example, the control unit 130 may be realized by the hardware configuration illustrated in FIG. In this case, the control unit 130 includes a CPU (Central Processing Unit) 301, a RAM (Random Access Memory) 302, a ROM (Read Only Memory) 303, an HDD (Hard Disk Drive) 304, a communication interface 305, a medium reader 306, an input. Each unit includes an output interface 307 and is connected via a bus 308. The CPU 301 controls the overall operation of the image reading apparatus 100 by reading and executing a program stored in the ROM 303 via the RAM 302. Here, the program stored in the ROM 303 may be stored in the HDD 304. A program executed by the CPU 301 may be stored in the RAM 302 from an external device connected to the network via the communication interface 305 and executed by the CPU 301. The program executed by the CPU 301 may be stored in the RAM 302 from the portable recording medium 309 set in the medium reading device 306 and executed by the CPU 301. Examples of the portable recording medium 309 include various types of recording such as a CD-ROM (Compact Disc Read Only Memory), a flexible disc, an optical disc, a magneto-optical disc, a DVD (Digital Versatile Disc), and a USB (Universal Serial Bus) memory. Media can be used. The information stored in the storage unit 133 is stored in the HDD 304, for example. The image reader 110 and the auxiliary illumination unit 120 are connected to the input / output interface 307. A display device 310 and an input device 311 such as a keyboard and a mouse are further connected to the input / output interface 307. The auxiliary illumination unit 120 includes, for example, an input / output interface 321 to which a plurality of light sources L are connected, and the input / output interface is connected to the control unit 130.

また、例えば、制御部130は、FPGA(Field Programmable Gate Array)やDSP(Digital Signal Processor)等のモジュールを含む構成としてもよい。この場合、制御部130は、不揮発性メモリ(例えば、EEPROM(Electrically Erasable and Programmable Read Only Memory)、フラッシュメモリ、フラッシュメモリ型メモリカード等)を含み、それにモジュールのファームウェアが記憶される。ここで、不揮発性メモリに記憶されるファームウェアは、外部装置との間の通信によって書き込まれるようにしてもよい。   For example, the control unit 130 may include a module such as an FPGA (Field Programmable Gate Array) or a DSP (Digital Signal Processor). In this case, the control unit 130 includes a nonvolatile memory (for example, an EEPROM (Electrically Erasable and Programmable Read Only Memory), a flash memory, a flash memory type memory card, etc.), and module firmware is stored therein. Here, the firmware stored in the non-volatile memory may be written by communication with an external device.

以上、本発明の実施の形態を説明したが、本発明は、上述した実施の形態に限定されることなく、本発明の要旨を逸脱しない範囲内で種々の改良・変更が可能である。   Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various improvements and modifications can be made without departing from the scope of the present invention.

100 画像読取装置
110 イメージリーダ
111 画像取得部
112 撮像パラメータ調整部
120 補助照明部
130 制御部
131 画像処理部
132 設定選択部
133 記憶部
134 補助照明調整部
201 基準媒体
202 基準媒体画像
211、212、213 点線枠
221、222、223 点線枠
301 CPU
302 RAM
303 ROM
304 HDD
305 通信インタフェース
306 媒体読取装置
307 入出力インタフェース
308 バス
309 可搬型記録媒体
310 ディスプレイ装置
311 入力装置
321 入出力インタフェース
401 撮像部
402 台座
403 スタンド
501、502、503 画像
DESCRIPTION OF SYMBOLS 100 Image reader 110 Image reader 111 Image acquisition part 112 Imaging parameter adjustment part 120 Auxiliary illumination part 130 Control part 131 Image processing part 132 Setting selection part 133 Storage part 134 Auxiliary illumination adjustment part 201 Reference medium 202 Reference medium image 211,212, 213 Dotted line frame 221, 222, 223 Dotted line frame 301 CPU
302 RAM
303 ROM
304 HDD
305 Communication interface 306 Medium reader 307 Input / output interface 308 Bus 309 Portable recording medium 310 Display device 311 Input device 321 Input / output interface 401 Imaging unit 402 Base 403 Stand 501, 502, 503 Image

Claims (11)

撮像対象物を撮像して画像を得る撮像部と、
前記撮像対象物を照明するための複数の光源を有する照明部と、
前記撮像対象物とされ得る読取対象媒体のサイズ毎に、照明パターン及び撮像パラメータに関する情報を含む設定情報を、記憶する記憶部と、
前記撮像対象物とされた読取対象媒体のサイズを検出する検出部と、
前記記憶部に記憶されている前記サイズ毎の設定情報の中から、前記検出部により検出されたサイズに対応する設定情報を選択する選択部と、
を備え、
前記選択部により選択された設定情報に応じた照明パターンに従って前記照明部が前記複数の光源の各々を点灯又は消灯し、当該設定情報に応じた撮像パラメータの下で前記撮像部が前記撮像対象物とされた読取対象媒体を撮像して得た画像を読取画像として取得する、
ことを特徴とする画像読取装置。
An imaging unit that captures an imaging object and obtains an image;
An illumination unit having a plurality of light sources for illuminating the imaging object;
A storage unit that stores setting information including information about illumination patterns and imaging parameters for each size of a reading target medium that can be the imaging target;
A detection unit that detects a size of a reading target medium that is the imaging target;
A selection unit that selects setting information corresponding to the size detected by the detection unit from the setting information for each size stored in the storage unit;
With
The illumination unit turns on or off each of the plurality of light sources according to an illumination pattern corresponding to the setting information selected by the selection unit, and the imaging unit captures the imaging object under an imaging parameter corresponding to the setting information. An image obtained by imaging the read target medium is acquired as a read image;
An image reading apparatus.
前記照明パターンは、前記複数の光源が消灯しているときに前記撮像対象物とされたキャリブレーション用媒体を前記撮像部が撮像して得た画像が所定条件を満たしたときの当該画像に基づいて決定された第1の照明パターンと、当該サイズに応じて予め決定されている第2の照明パターンと、に基づいて決定された第3の照明パターンであり、
前記撮像パラメータは、前記第3の照明パターンに従って前記照明部が前記複数の光源の各々を点灯又は消灯しているときに前記撮像対象物とされたキャリブレーション用媒体を前記撮像部が撮像して得た画像が所定条件を満たしたときの撮像パラメータである、
ことを特徴とする請求項1記載の画像読取装置。
The illumination pattern is based on the image obtained when the image obtained by the imaging unit capturing the calibration medium that is the imaging object when the plurality of light sources are turned off satisfies a predetermined condition. A third lighting pattern determined based on the first lighting pattern determined in accordance with the second lighting pattern determined in advance according to the size,
The imaging parameter is obtained by the imaging unit imaging the calibration medium that is the imaging object when the illumination unit turns on or off each of the plurality of light sources according to the third illumination pattern. It is an imaging parameter when the obtained image satisfies a predetermined condition,
The image reading apparatus according to claim 1.
前記所定条件は、画像の最大階調値が所定値になるという条件である、
ことを特徴とする請求項2記載の画像読取装置。
The predetermined condition is a condition that the maximum gradation value of the image becomes a predetermined value.
The image reading apparatus according to claim 2.
前記第1の照明パターンは、前記所定条件を満たしたときの画像が前記複数の光源に対応して複数の画像領域に分割されたときの各画像領域の平均階調値に基づいて決定される、
ことを特徴とする請求項2又は3記載の画像読取装置。
The first illumination pattern is determined based on an average gradation value of each image area when an image when the predetermined condition is satisfied is divided into a plurality of image areas corresponding to the plurality of light sources. ,
The image reading apparatus according to claim 2, wherein the image reading apparatus is an image reading apparatus.
前記第1の照明パターンは、画像領域の平均階調値が所定値以上であるか否か、平均階調値が最大となる画像領域の階調値が所定値以上であるか否か、画像領域の平均階調値に対する、平均階調値が最大となる画像領域の階調値の比率が所定値以上であるか否か、の一つ以上を判定した結果に基づいて決定される、
ことを特徴とする請求項4記載の画像読取装置。
In the first illumination pattern, whether the average gradation value of the image area is a predetermined value or more, whether the gradation value of the image area having the maximum average gradation value is a predetermined value or more, It is determined based on the result of determining one or more of whether or not the ratio of the gradation value of the image area where the average gradation value is the maximum to the average gradation value of the area is a predetermined value or more.
The image reading apparatus according to claim 4.
前記第2の照明パターンは、前記複数の光源における、当該サイズの読取対象媒体を照明するのに最小限必要な光源に応じて決定される、
ことを特徴とする請求項2乃至5の何れか一項に記載の画像読取装置。
The second illumination pattern is determined according to a minimum light source required to illuminate a read target medium of the size in the plurality of light sources.
The image reading apparatus according to claim 2, wherein the image reading apparatus is an image reading apparatus.
前記検出部は、前記複数の光源が消灯しているときに前記撮像部が前記撮像対象物とされた読取対象媒体を撮像して得た画像の輝度分布に基づいて、前記読取対象媒体のサイズを検出する、
ことを特徴とする請求項1乃至6の何れか一項に記載の画像読取装置。
The detection unit is configured to determine a size of the reading target medium based on a luminance distribution of an image obtained by the imaging unit imaging the reading target medium when the plurality of light sources are turned off. Detect
The image reading apparatus according to claim 1, wherein the image reading apparatus is an image reading apparatus.
前記検出部によるサイズの検出ができなかった場合、又は、前記検出部によるサイズの検出が不適切であった場合、前記選択部は、前記記憶部に記憶されている前記サイズ毎の設定情報の中から、最大のサイズに対応する設定情報を選択する、
ことを特徴とする請求項1乃至7の何れか一項に記載の画像読取装置。
When the size cannot be detected by the detection unit, or when the size detection by the detection unit is inappropriate, the selection unit stores the setting information for each size stored in the storage unit. Select setting information corresponding to the maximum size from
The image reading apparatus according to claim 1, wherein the image reading apparatus is an image reading apparatus.
前記撮像パラメータは、露出時間又はゲインアンプ値である、
ことを特徴とする請求項1乃至8の何れか一項に記載の画像読取装置。
The imaging parameter is an exposure time or a gain amplifier value.
The image reading apparatus according to claim 1, wherein the image reading apparatus is an image reading apparatus.
撮像対象物を撮像して画像を得る撮像部と、前記撮像対象物を照明するための複数の光源を有する照明部と、を備える画像読取装置の画像読取方法であって、
前記画像読取装置設置時において、
前記複数の光源を消灯し、
異なる撮像パラメータの下で前記撮像部が前記撮像対象物とされたキャリブレーション用媒体の撮像を繰り返して前記撮像部により得られる画像が所定条件を満たしたときの当該画像に基づいて第1の照明パターンを決定し、
前記撮像対象物とされ得る読取対象媒体のサイズ毎に、
前記第1の照明パターンと、当該サイズに応じて予め決定されている第2の照明パターンと、に基づいて第3の照明パターンを決定し、
前記第3の照明パターンに従って前記複数の光源の各々を点灯又は消灯し、
異なる撮像パラメータの下で前記撮像部が前記撮像対象物とされたキャリブレーション用媒体の撮像を繰り返して前記撮像部により得られる画像が所定条件を満たしたときの撮像パラメータを取得し、
前記決定された第3の照明パターン及び前記取得された撮像パラメータに関する情報を含む設定情報を記憶部に記憶し、
という処理を繰り返し、
前記画像読取装置運用時において、
前記複数の光源を消灯しているときに、前記撮像対象物とされた読取対象媒体のサイズを検出し、
前記記憶部に記憶されている前記サイズ毎の設定情報の中から、前記検出されたサイズに対応する設定情報を選択し、
前記選択された設定情報に応じた照明パターンに従って前記照明部が前記複数の光源の各々を点灯又は消灯し、当該設定情報に応じた撮像パラメータの下で前記撮像部が前記撮像対象物とされた読取対象媒体を撮像して得た画像を読取画像として取得する、
処理をコンピュータが実行することを特徴とする画像読取方法。
An image reading method for an image reading apparatus, comprising: an imaging unit that captures an image of an imaging target to obtain an image; and an illumination unit that includes a plurality of light sources for illuminating the imaging target.
At the time of installing the image reading device,
Turning off the plurality of light sources;
The first illumination based on the image when the image obtained by the imaging unit satisfies a predetermined condition by repeating imaging of the calibration medium that is the imaging object by the imaging unit under different imaging parameters. Determine the pattern,
For each size of the read target medium that can be the imaging object,
Determining a third illumination pattern based on the first illumination pattern and a second illumination pattern that is predetermined according to the size;
Turning on or off each of the light sources according to the third illumination pattern;
Under the different imaging parameters, the imaging unit repeats imaging of the calibration medium that is the imaging object, and acquires imaging parameters when an image obtained by the imaging unit satisfies a predetermined condition,
Storing setting information including information on the determined third illumination pattern and the acquired imaging parameter in a storage unit;
Repeat the process
During operation of the image reading apparatus,
When the plurality of light sources are turned off, the size of the read target medium that is the imaging target is detected,
From the setting information for each size stored in the storage unit, select setting information corresponding to the detected size,
The illumination unit turns on or off each of the plurality of light sources according to an illumination pattern corresponding to the selected setting information, and the imaging unit is set as the imaging target under an imaging parameter corresponding to the setting information. Obtaining an image obtained by imaging the read target medium as a read image;
An image reading method, wherein a computer executes the process.
撮像対象物を撮像して画像を得る撮像部と、前記撮像対象物を照明するための複数の光源を有する照明部と、を備える画像読取装置の処理プログラムを記録したコンピュータ読取可能な記録媒体であって、
前記画像読取装置設置時において、
前記複数の光源を消灯し、
異なる撮像パラメータの下で前記撮像部が前記撮像対象物とされたキャリブレーション用媒体の撮像を繰り返して前記撮像部により得られる画像が所定条件を満たしたときの当該画像に基づいて第1の照明パターンを決定し、
前記撮像対象物とされ得る読取対象媒体のサイズ毎に、
前記第1の照明パターンと、当該サイズに応じて予め決定されている第2の照明パターンと、に基づいて第3の照明パターンを決定し、
前記第3の照明パターンに従って前記複数の光源の各々を点灯又は消灯し、
異なる撮像パラメータの下で前記撮像部が前記撮像対象物とされたキャリブレーション用媒体の撮像を繰り返して前記撮像部により得られる画像が所定条件を満たしたときの撮像パラメータを取得し、
前記決定された第3の照明パターン及び前記取得された撮像パラメータに関する情報を含む設定情報を記憶部に記憶し、
という処理を繰り返し、
前記画像読取装置運用時において、
前記複数の光源を消灯しているときに、前記撮像対象物とされた読取対象媒体のサイズを検出し、
前記記憶部に記憶されている前記サイズ毎の設定情報の中から、前記検出されたサイズに対応する設定情報を選択し、
前記選択された設定情報に応じた照明パターンに従って前記照明部が前記複数の光源の各々を点灯又は消灯し、当該設定情報に応じた撮像パラメータの下で前記撮像部が前記撮像対象物とされた読取対象媒体を撮像して得た画像を読取画像として取得する、
処理をコンピュータに実行させる処理プログラムを記録したことを特徴とするコンピュータ読取可能な記録媒体。
A computer-readable recording medium recording a processing program of an image reading apparatus comprising: an imaging unit that captures an image of an imaging target to obtain an image; and an illumination unit that includes a plurality of light sources for illuminating the imaging target There,
At the time of installing the image reading device,
Turning off the plurality of light sources;
The first illumination based on the image when the image obtained by the imaging unit satisfies a predetermined condition by repeating imaging of the calibration medium that is the imaging object by the imaging unit under different imaging parameters. Determine the pattern,
For each size of the read target medium that can be the imaging object,
Determining a third illumination pattern based on the first illumination pattern and a second illumination pattern that is predetermined according to the size;
Turning on or off each of the light sources according to the third illumination pattern;
Under the different imaging parameters, the imaging unit repeats imaging of the calibration medium that is the imaging object, and acquires imaging parameters when an image obtained by the imaging unit satisfies a predetermined condition,
Storing setting information including information on the determined third illumination pattern and the acquired imaging parameter in a storage unit;
Repeat the process
During operation of the image reading apparatus,
When the plurality of light sources are turned off, the size of the read target medium that is the imaging target is detected,
From the setting information for each size stored in the storage unit, select setting information corresponding to the detected size,
The illumination unit turns on or off each of the plurality of light sources according to an illumination pattern corresponding to the selected setting information, and the imaging unit is set as the imaging target under an imaging parameter corresponding to the setting information. Obtaining an image obtained by imaging the read target medium as a read image;
A computer-readable recording medium on which a processing program for causing a computer to execute processing is recorded.
JP2013259257A 2013-12-16 2013-12-16 Image reading apparatus, reading method thereof, and recording medium Expired - Fee Related JP6093290B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013259257A JP6093290B2 (en) 2013-12-16 2013-12-16 Image reading apparatus, reading method thereof, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013259257A JP6093290B2 (en) 2013-12-16 2013-12-16 Image reading apparatus, reading method thereof, and recording medium

Publications (2)

Publication Number Publication Date
JP2015115934A true JP2015115934A (en) 2015-06-22
JP6093290B2 JP6093290B2 (en) 2017-03-08

Family

ID=53529316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013259257A Expired - Fee Related JP6093290B2 (en) 2013-12-16 2013-12-16 Image reading apparatus, reading method thereof, and recording medium

Country Status (1)

Country Link
JP (1) JP6093290B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018201179A (en) * 2017-05-30 2018-12-20 富士通フロンテック株式会社 Image reading apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771394B1 (en) * 1999-07-12 2004-08-03 Nec Corporation Image scanning apparatus and image scanning method
JP2007020058A (en) * 2005-07-11 2007-01-25 Matsushita Electric Ind Co Ltd Image forming apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771394B1 (en) * 1999-07-12 2004-08-03 Nec Corporation Image scanning apparatus and image scanning method
JP2007020058A (en) * 2005-07-11 2007-01-25 Matsushita Electric Ind Co Ltd Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018201179A (en) * 2017-05-30 2018-12-20 富士通フロンテック株式会社 Image reading apparatus

Also Published As

Publication number Publication date
JP6093290B2 (en) 2017-03-08

Similar Documents

Publication Publication Date Title
TWI438766B (en) Display-mode control device and recording medium storing display-mode control program therein
US8630026B2 (en) Image processing method, image processing apparatus, and storage medium for determining an area in a read image
US20160321825A1 (en) Measuring apparatus, system, and program
JP2011049980A (en) Image processing program and image processor
JP2019109624A (en) Information processing apparatus, program, and information processing method
JP6093290B2 (en) Image reading apparatus, reading method thereof, and recording medium
US20120008004A1 (en) Lighting identification
US8723938B2 (en) Immunoassay apparatus and method of determining brightness value of target area on optical image using the same
JP5009865B2 (en) Image conversion apparatus, image conversion method, image conversion program, and computer-readable recording medium recording the image conversion program
JP6030890B2 (en) Image processing unit, image processing method, and stand type scanner
JP2017062920A (en) Illuminance acquiring device, illumination control system and program
JP2015194368A (en) defect inspection method and defect inspection apparatus
JP2008005194A (en) Detecting device and detecting method for defective pixel
JP6439531B2 (en) Color processing apparatus, color processing system, and program
JP2015220607A (en) Information processing apparatus, information processing method, and program
US20210209740A1 (en) Inspection system, information processing apparatus, and non-transitory computer-readable medium
KR20100110121A (en) A method for correction of image distortion
JP6096649B2 (en) Image reading apparatus, reading method thereof, and recording medium
JP2012199804A (en) Image processor and image processing method
JP5510175B2 (en) Light source direction specifying device and light source direction specifying program
JP6663223B2 (en) Image processing apparatus and method, and imaging apparatus
JPWO2020166075A1 (en) Information processing equipment
JP6386837B2 (en) Image processing program, information processing system, information processing apparatus, and image processing method
JP2019161526A (en) Image processing system, image processing apparatus, and image processing program
JP6675461B2 (en) Image processing apparatus, control method therefor, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170106

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170207

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170210

R150 Certificate of patent or registration of utility model

Ref document number: 6093290

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees