JP2012160841A - Image reading device and program therefor - Google Patents

Image reading device and program therefor Download PDF

Info

Publication number
JP2012160841A
JP2012160841A JP2011018143A JP2011018143A JP2012160841A JP 2012160841 A JP2012160841 A JP 2012160841A JP 2011018143 A JP2011018143 A JP 2011018143A JP 2011018143 A JP2011018143 A JP 2011018143A JP 2012160841 A JP2012160841 A JP 2012160841A
Authority
JP
Japan
Prior art keywords
reading
unit
document
correction
data
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
JP2011018143A
Other languages
Japanese (ja)
Other versions
JP5609682B2 (en
Inventor
Tomohiro Sawazaki
智博 澤崎
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2011018143A priority Critical patent/JP5609682B2/en
Publication of JP2012160841A publication Critical patent/JP2012160841A/en
Application granted granted Critical
Publication of JP5609682B2 publication Critical patent/JP5609682B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To correct read data irrespective of failure of a reference member.SOLUTION: A multifunction peripheral 1 comprises a reading unit 60 for reading a document, and a white tape 80 arranged facing the reading unit 60. The multifunction peripheral 1 acquires correction data for shading correction from a reading result obtained by the reading unit 60 reading the white tape 80. Also, correction data for shading correction is acquired from a reading result obtained by the reading unit 60 reading a margin portion of a document conveyed in an ADF 40. The multifunction peripheral 1 determines whether or not the reading result obtained by reading the white tape 80 has abnormality, and when it is determined to have no abnormality, performs shading correction on image data obtained by the reading unit 60 reading the document using the correction data acquired using the white tape 80. Then, when it is determined to have abnormality, shading correction on the image data is performed using the correction data acquired using the margin portion of the document.

Description

本発明は、シェーディング補正の白基準値等の取得に用いる基準部材の不具合によらず読取データを補正する技術に関する。   The present invention relates to a technique for correcting read data regardless of a defect of a reference member used for obtaining a white reference value or the like for shading correction.

従来から、スキャナなどの画像読取装置では、スキャンした読取データのシェーディング補正のための白基準値等を取得するのに用いる基準部材を内在させる技術が知られている(例えば、特許文献1)。この画像読取装置では、原稿を読み取るに先だって基準部材を用いて白基準値等を取得し、取得した白基準値等を用いて読取データにシェーディング補正等の各種補正を行う。また、原稿自体を用いて白基準値等を取得する技術も知られている(例えば、特許文献2)。この技術では、画像等が形成されている原稿の中央部分を読み取るに先だって当該中央部分の周辺に存在する原稿の余白部分を用いて白基準値等を取得し、取得した白基準値等を用いて読取データにシェーディング補正等の各種補正を行う。   2. Description of the Related Art Conventionally, in an image reading apparatus such as a scanner, a technique is known in which a reference member used to acquire a white reference value for shading correction of scanned read data is included (for example, Patent Document 1). In this image reading apparatus, a white reference value or the like is acquired using a reference member prior to reading a document, and various corrections such as shading correction are performed on the read data using the acquired white reference value or the like. In addition, a technique for acquiring a white reference value or the like using the document itself is also known (for example, Patent Document 2). In this technique, before reading the central portion of the document on which an image or the like is formed, the white reference value or the like is acquired using the margin portion of the document existing around the central portion, and the acquired white reference value or the like is used. Then, various corrections such as shading correction are performed on the read data.

特開2010−219773号公報JP 2010-219773 A 特開2010−4110号公報JP 2010-4110 A

基準部材は、白基準値等を取得するのに用いられるため、装置内の汚れが付着しにくい場所に載置されることが好ましい。しかし、例えば原稿自動送り装置(ADF)内に配置される読取部では、対応する基準部材が、原稿が搬送される搬送経路に配置されることがあり、原稿が通過する際に基準部材に汚れが付着することを抑制することができない。基準部材に汚れが付着した場合、ユーザ等により汚れが除去されない限り、読取データに精度良く各種補正を行うことができない。   Since the reference member is used to acquire a white reference value or the like, it is preferable that the reference member is placed in a place where dirt in the apparatus is difficult to adhere. However, for example, in a reading unit disposed in an automatic document feeder (ADF), a corresponding reference member may be disposed in a conveyance path through which the document is conveyed, and the reference member becomes dirty when the document passes. Can not be suppressed. If dirt is attached to the reference member, various corrections cannot be made to the read data with high accuracy unless the dirt is removed by the user or the like.

このような読取部では、2つ目に述べた従来技術のように基準部材を用いず、原稿を用いて白基準値等を取得することが有効のように思える。しかし、基準部材は、一般に白基準値等を正確に取得できるように特別な加工が施されていることが多く、原稿を用いて取得した白基準値等は、基準部材を用いて取得した白基準値等に比べて精度が悪い。そのため、2つ目に述べた従来技術のように基準部材を用いないとすると、1つ目に述べた従来技術のように基準部材を用いた場合に比べて読取データの精度が悪化してしまうことを避けることができない。   In such a reading unit, it seems to be effective to acquire a white reference value or the like using a document without using a reference member as in the second prior art. However, in general, the reference member is often specially processed so that the white reference value or the like can be accurately acquired. The white reference value or the like acquired using the manuscript is the white reference value acquired using the reference member or the like. The accuracy is worse than the reference value. Therefore, if the reference member is not used as in the second prior art, the accuracy of the read data is deteriorated as compared with the case where the reference member is used as in the first prior art. I can't avoid that.

本明細書では、基準部材の不具合によらず読取データを補正する技術を開示する。   The present specification discloses a technique for correcting read data regardless of a defect of a reference member.

本明細書によって開示される画像読取装置は、原稿を読み取る読取部と、前記読取部に対向して配置される基準部材と、前記読取部が前記基準部材を読み取った第1読取結果からシェーディング補正用の第1補正データを取得する第1取得部と、前記読取部が前記原稿の余白部分を読み取った第2読取結果からシェーディング補正用の第2補正データを取得する第2取得部と、前記第1読取結果に異常が有るか否かを判断する判断部と、前記第1読取結果に異常が無いと前記判断部が判断した場合には、前記第1補正データを用いて前記読取部が前記原稿を読み取った読取データをシェーディング補正し、前記第1読取結果に異常が有ると前記判断部が判断した場合には、前記第2補正データを用いて前記読取データをシェーディング補正する補正部と、を備える。   An image reading apparatus disclosed in this specification includes a reading unit that reads a document, a reference member that is disposed to face the reading unit, and a shading correction based on a first reading result that the reading unit reads the reference member. A first acquisition unit that acquires first correction data for use, a second acquisition unit that acquires second correction data for shading correction from a second reading result obtained by the reading unit reading a blank portion of the document, When the determination unit determines whether there is an abnormality in the first reading result and the determination unit determines that there is no abnormality in the first reading result, the reading unit uses the first correction data. The reading data obtained by reading the original is subjected to shading correction, and when the determination unit determines that there is an abnormality in the first reading result, the reading data is subjected to shading correction using the second correction data. It includes a correction unit, the.

また、上記の画像読取装置では、前記基準部材は、前記読取部に対して相対移動不能に配置される構成としても良い。   In the above image reading apparatus, the reference member may be arranged so as not to move relative to the reading unit.

また、上記の画像読取装置では、基準読取結果を有しており、前記判断部は、予め定められた変化度合を超えて前記第1読取結果が前記基準読取結果と異なる場合に、前記第1読取結果が異常であると判断する構成としても良い。   Further, the image reading apparatus has a reference reading result, and the determination unit exceeds the first reading result when the first reading result is different from the reference reading result exceeding a predetermined degree of change. It may be configured to determine that the reading result is abnormal.

また、上記の画像読取装置では、前記読取部は、前記第1読取結果を繰り返し取得しており、前記判断部は、前回取得した第1読取結果を今回取得した第1読取結果の前記基準読取結果として用いる構成としても良い。   In the image reading apparatus, the reading unit repeatedly acquires the first reading result, and the determination unit reads the first reading result acquired last time as the reference reading of the first reading result acquired this time. It is good also as a structure used as a result.

また、上記の画像読取装置では、前記判断部が前記第1読取結果に異常が有ると判断した場合に、前記読取部が複数枚の原稿を読み取る際には、前記読取部は各原稿の第2読取結果を読み取るとともに、前記第2取得部は各第2読取結果からの各第2補正データを取得しており、前記第2取得部は、今回取得した第2補正データをそれ以前に取得した第2補正データと平均した平均補正データを算出し、前記補正部は、前記平均補正データを用いて前記読取データをシェーディング補正する構成としても良い。   In the image reading apparatus, when the determination unit determines that there is an abnormality in the first reading result, when the reading unit reads a plurality of documents, the reading unit reads the first of each document. While reading the two reading results, the second acquisition unit acquires each second correction data from each second reading result, and the second acquisition unit acquires the second correction data acquired this time before that The average correction data averaged with the second correction data may be calculated, and the correction unit may be configured to perform shading correction on the read data using the average correction data.

また、上記の画像読取装置では、前記読取部は複数色の光源を有し、各光源を発光させて各色の読取結果を検出し、更に、前記読取部が前記基準部材を読み取った各色の読取結果の最大値が全色において一致するように前記光源の光量を調整する光量調整部と、を備える構成としても良い。   In the image reading apparatus, the reading unit includes a plurality of color light sources, and each light source emits light to detect a reading result of each color, and further, the reading unit reads each color by reading the reference member. It is good also as a structure provided with the light quantity adjustment part which adjusts the light quantity of the said light source so that the maximum value of a result may correspond in all the colors.

なお、この発明は、上記の画像読取装置の他、これらの装置の機能を実現するためのコンピュータプログラム、そのプログラムを記録した記録媒体等の種々の態様で実現することができる。   The present invention can be realized in various modes such as a computer program for realizing the functions of these devices, a recording medium on which the program is recorded, in addition to the image reading devices described above.

本明細書によって開示される画像読取装置では、基準部材に不具合が発生し、第1読取結果に異常が有ると判断される場合に、基準部材から求められた第1補正データに代わって原稿の余白部分から求められた第2補正データを用いて読取データをシェーディング補正する。そのため、第1読取結果に異常が無い場合は、基準部材を用いて精度良く読取データをシェーディング補正することができる。また第1読取結果に異常が有る場合は、原稿の余白部分を用いて読取データをシェーディング補正することで、一定の補正精度を確保することができる。この場合、不具合が発生した基準部材から求められた第1補正データを用いて読取データをシェーディング補正する場合に比べてシェーディング補正の精度が低下するのを抑制することができ、精度良く読取データに対してシェーディング補正をすることができる。   In the image reading apparatus disclosed in this specification, when a defect occurs in the reference member and it is determined that there is an abnormality in the first reading result, the first correction data obtained from the reference member is used instead of the first correction data. The read data is subjected to shading correction using the second correction data obtained from the margin. For this reason, when there is no abnormality in the first reading result, the reading data can be subjected to shading correction with high accuracy using the reference member. In addition, when there is an abnormality in the first reading result, it is possible to ensure a certain correction accuracy by performing shading correction on the read data using the margin portion of the document. In this case, it is possible to suppress the deterioration of the accuracy of the shading correction compared to the case where the read data is subjected to the shading correction using the first correction data obtained from the defective reference member, and the read data is accurately obtained. On the other hand, shading correction can be performed.

複合機1の原稿カバーを上げた状態を示す図The figure which shows the state which raised the document cover of the multi-function device 1 複合機1の画像読取装置3の概略的な断面図Schematic sectional view of the image reading device 3 of the multifunction device 1 複合機1の電気的構成を概略的に示すブロック図Block diagram schematically showing the electrical configuration of the multifunction machine 1 複合機1で読み取られる原稿を概略的に示す図A diagram schematically showing a document read by the multifunction machine 1 実施形態1の読取処理を示すフローチャート6 is a flowchart illustrating a reading process according to the first embodiment. 実施形態1のAFE入力レンジ調整処理を示すフローチャート5 is a flowchart illustrating AFE input range adjustment processing according to the first embodiment. 実施形態1のRGB色光量調整処理を示すフローチャートThe flowchart which shows the RGB color light quantity adjustment process of Embodiment 1. AFE入力レンジ調整処理後の読取結果を示すグラフThe graph which shows the reading result after AFE input range adjustment processing RGB色光量調整処理後の読取結果を示すグラフThe graph which shows the reading result after RGB color light quantity adjustment processing RGB色シェーディングデータ算出処理後の読取結果を示すグラフThe graph which shows the reading result after a RGB color shading data calculation process 実施形態2の読取処理を示すフローチャート7 is a flowchart illustrating reading processing according to the second embodiment. 実施形態3の読取処理を示すフローチャートA flowchart showing a reading process according to the third embodiment. 実施形態1,2の問題点を示すグラフThe graph which shows the problem of Embodiment 1, 2

<実施形態1>
実施形態1を、図1ないし図10を用いて説明する。
<Embodiment 1>
The first embodiment will be described with reference to FIGS.

1.複合機の機械的構成
図1は、本発明の画像形成装置の一例である複合機1の外観を示す斜視図であり、原稿カバー48を上げた開状態における複合機1の外観を示す。この複合機1は、プリンタ機能、スキャナ機能、コピー機能、ファクシミリ機能などを備えた多機能周辺装置である。図2は、原稿カバー48を下げた閉姿勢における画像読取装置3の断面図である。
1. FIG. 1 is a perspective view showing an external appearance of a multi-function machine 1 which is an example of an image forming apparatus according to the present invention. FIG. 1 shows an external view of the multi-function machine 1 in an open state with a document cover 48 raised. The multifunction device 1 is a multi-function peripheral device having a printer function, a scanner function, a copy function, a facsimile function, and the like. FIG. 2 is a cross-sectional view of the image reading apparatus 3 in the closed posture with the document cover 48 lowered.

図1に示すように、複合機1は、本体部2の上方に原稿を読み取るための画像読取装置3を備えている。画像読取装置3は、後述する読取部30、原稿自動送り装置(ADF)40、及び原稿載置部50等を含む。   As shown in FIG. 1, the multifunction machine 1 includes an image reading device 3 for reading a document above a main body 2. The image reading device 3 includes a reading unit 30, an automatic document feeder (ADF) 40, a document placing unit 50, and the like which will be described later.

原稿載置部50は、台枠51、透明なガラス板からなる第1プラテンガラス52、第2プラテンガラス53、及びこれらのガラス52、53の中間に配置された中間枠54を含む。原稿載置部50は、原稿カバー48によって開閉可能に覆われている。   The document placing unit 50 includes a frame 51, a first platen glass 52 made of a transparent glass plate, a second platen glass 53, and an intermediate frame 54 disposed between these glasses 52 and 53. The document placement section 50 is covered with a document cover 48 so as to be opened and closed.

原稿カバー48は、原稿載置部50を覆う閉姿勢と原稿載置部50を開放する開姿勢とに回動可能であり、複合機1の本体部2の後側(操作部11、表示部12等が設けられる側を前側とする)に連結されている。原稿カバー48上に、ADF40が設けられている。   The document cover 48 can be rotated between a closed posture that covers the document placement portion 50 and an open posture that opens the document placement portion 50, and the rear side of the main body 2 of the multifunction machine 1 (the operation portion 11, the display portion). The side on which 12 etc. are provided is connected to the front side). An ADF 40 is provided on the document cover 48.

図2に示すように、ADF40は、ADFカバー41、原稿トレイ42、押圧部材43、44、各種ローラ46、排紙トレイ47、透明なガラス板からなる第3プラテンガラス55、読取部60、および原稿センサ70〜72等を含む。   As shown in FIG. 2, the ADF 40 includes an ADF cover 41, a document tray 42, pressing members 43 and 44, various rollers 46, a paper discharge tray 47, a third platen glass 55 made of a transparent glass plate, a reading unit 60, and Document sensors 70 to 72 and the like are included.

ADF40には、ローラ46等によって原稿が原稿トレイ42から排紙トレイ47へと搬送される経路である搬送路45が設けられており、搬送路45に隣接して読取部30及び読取部60(読取部の一例)が配置されている。   The ADF 40 is provided with a transport path 45 that is a path through which the document is transported from the document tray 42 to the paper discharge tray 47 by the roller 46 and the like, and the reading unit 30 and the reading unit 60 ( An example of a reading unit) is arranged.

読取部30は、本体部2内に配置されており、図2に矢印84で示すガラス52、53に沿う方向に移動可能に支持されている。読取部30は、ガラス52、53に沿う方向に移動し、第1プラテンガラス52上に載置された原稿を読み取る。また、図2に実線で示す第2プラテンガラス53下の読取位置Lに移動し、搬送路45を搬送される原稿を読み取る。この際、読取部30は、搬送路45において読取部60よりも下流側(つまり、排紙トレイ47側)に配置され、搬送路45を搬送される原稿が第2プラテンガラス53上を通過する際に当該原稿を読み取る。押圧部材44は、第2プラテンガラス53を介して読取位置Lに移動した状態の読取部30と対向して配置され、第2プラテンガラス53上を通過する原稿が第2プラテンガラス53から浮かないように、原稿を第2プラテンガラス53に押圧する。なお、以下の説明において、特に記載がない場合には、読取位置Lにおける読取部30の状態及び動作を説明しているものとする。   The reading unit 30 is disposed in the main body unit 2 and is supported so as to be movable in a direction along the glasses 52 and 53 indicated by arrows 84 in FIG. The reading unit 30 moves in a direction along the glasses 52 and 53, and reads a document placed on the first platen glass 52. 2 moves to a reading position L below the second platen glass 53 indicated by a solid line in FIG. At this time, the reading unit 30 is disposed on the downstream side of the reading unit 60 in the conveyance path 45 (that is, the discharge tray 47 side), and the document conveyed on the conveyance path 45 passes over the second platen glass 53. When reading the original. The pressing member 44 is arranged to face the reading unit 30 in a state where the pressing member 44 is moved to the reading position L via the second platen glass 53, and a document passing over the second platen glass 53 does not float from the second platen glass 53. As described above, the original is pressed against the second platen glass 53. In the following description, it is assumed that the state and operation of the reading unit 30 at the reading position L are described unless otherwise specified.

中間枠54の下部には、その表面がガラス52、53の下面と同一高さとなるように基準白板81が配置されており、読取部30はこの基準白板81を用いてシェーディング補正や色調補正等、各種補正に必要な読取結果を検出する。読取部30は、読取結果を検出する際、読取部30の読取領域Qに基準白板81が含まれる位置まで移動し、読取領域Qに対応する部分の基準白板81を読み取る。この際、読取部30が基準白板81を読み取る部分は、基準白板81の読取部30に対向する面のいずれの部分に設定されても良い。   A reference white plate 81 is disposed at the lower part of the intermediate frame 54 so that the surface thereof is at the same height as the lower surfaces of the glasses 52 and 53. The reading unit 30 uses the reference white plate 81 to perform shading correction, color tone correction, and the like. Detecting reading results necessary for various corrections. When detecting the reading result, the reading unit 30 moves to a position where the reference white plate 81 is included in the reading region Q of the reading unit 30 and reads the reference white plate 81 corresponding to the reading region Q. At this time, the portion where the reading unit 30 reads the reference white plate 81 may be set to any portion of the surface of the reference white plate 81 facing the reading unit 30.

読取部60は、搬送路45において読取部30よりも上流側(つまり、原稿トレイ42側)に配置され、ADF40に対して移動不能に支持されている。読取部60は、搬送路45を搬送される原稿が第3プラテンガラス55上を通過する際に当該原稿を読み取る。押圧部材43は、第3プラテンガラス55を介して読取部60と対向して配置され、図2に矢印83で示す原稿の搬送方向に移動不能に支持されている。つまり、押圧部材43は、原稿の搬送方向において読取部60に対して相対移動不能に支持されている。押圧部材43は、第3プラテンガラス55上を通過する原稿が第3プラテンガラス55から浮かないように、原稿を第3プラテンガラス55に押圧する。   The reading unit 60 is disposed on the upstream side of the reading unit 30 in the conveyance path 45 (that is, the document tray 42 side), and is supported so as not to move with respect to the ADF 40. The reading unit 60 reads the original when the original conveyed on the conveyance path 45 passes over the third platen glass 55. The pressing member 43 is disposed so as to face the reading unit 60 with the third platen glass 55 interposed therebetween, and is supported so as not to move in the document transport direction indicated by an arrow 83 in FIG. That is, the pressing member 43 is supported so as not to move relative to the reading unit 60 in the document transport direction. The pressing member 43 presses the document against the third platen glass 55 so that the document passing over the third platen glass 55 does not float from the third platen glass 55.

押圧部材43の読取部60に対向する面には、白色テープ(基準部材の一例)80が貼り付けられており、読取部60はこの白色テープ80を用いて後述する各種補正に必要な読取結果を検出する。読取部30は、この読取結果を検出する際、読取部60の読取領域Pに対応する部分の白色テープ80を読み取る。押圧部材43と読取部60は、原稿の搬送方向において相対移動不能に支持されている。そのため、読取部60が白色テープ80を読み取る部分は、白色テープ80の読取部60に対向する面の特定の位置に限定される。   A white tape (an example of a reference member) 80 is affixed to the surface of the pressing member 43 facing the reading unit 60, and the reading unit 60 uses the white tape 80 to read the reading results necessary for various corrections described later. Is detected. When the reading unit 30 detects the reading result, the reading unit 30 reads the portion of the white tape 80 corresponding to the reading region P of the reading unit 60. The pressing member 43 and the reading unit 60 are supported so as not to be relatively movable in the document transport direction. Therefore, the portion where the reading unit 60 reads the white tape 80 is limited to a specific position on the surface of the white tape 80 facing the reading unit 60.

また、読取部60は搬送路45を搬送される原稿を用いて後述する各種補正に必要な読取結果を検出する。読取部30は、この読取結果を検出する際、読取部60の読取領域Pに搬送路45を搬送される原稿の余白部分Y1が到達した場合に当該余白部分Y1を読み取る。ここで「余白部分」とは、図4に示すように、原稿の画像等が形成されていない領域を意味しており、詳細には矢印83で示す原稿の搬送方向における外周の内側数mm程度の領域を意味する。なお、図4に示すように、読取部30、60が原稿を読み取る場合の読取部分Y2は、原稿の搬送方向において余白部分Y1よりも内側に設定されている。   Further, the reading unit 60 detects reading results necessary for various corrections to be described later using a document conveyed on the conveyance path 45. When detecting the reading result, the reading unit 30 reads the margin portion Y1 when the margin portion Y1 of the document conveyed on the conveyance path 45 reaches the reading region P of the reading unit 60. Here, the “margin” means an area where no image or the like of the document is formed as shown in FIG. 4, and specifically, about several millimeters inside the outer periphery in the document conveyance direction indicated by an arrow 83. Means the area. As shown in FIG. 4, the reading portion Y2 when the reading units 30 and 60 read the document is set inside the margin portion Y1 in the document transport direction.

原稿センサ70は、原稿トレイ42に隣接して配置されており、原稿トレイ42の下側に設けられた軸70A回りに回転可能に支持されている。原稿センサ70は、後述する中央処理装置20に接続されており、中央処理装置20は原稿センサ70から出力される信号に基づいて原稿トレイ42に原稿が載置されたことを検出する。   The document sensor 70 is disposed adjacent to the document tray 42 and is supported so as to be rotatable around a shaft 70 </ b> A provided on the lower side of the document tray 42. The document sensor 70 is connected to a central processing unit 20 described later, and the central processing unit 20 detects that a document is placed on the document tray 42 based on a signal output from the document sensor 70.

原稿センサ71は、搬送路45において読取部60よりも上流側に読取部60に近接して配置されている。また、原稿センサ72は、搬送路45において読取部60よりも下流側であって読取部30よりも上流側に読取部30に近接して配置されている。   The document sensor 71 is disposed on the upstream side of the reading unit 60 in the conveyance path 45 and close to the reading unit 60. Further, the document sensor 72 is disposed in the conveyance path 45 on the downstream side of the reading unit 60 and on the upstream side of the reading unit 30 in the vicinity of the reading unit 30.

原稿センサ71、72は、中央処理装置20に接続されている。中央処理装置20は原稿センサ71から出力される信号に基づいて、搬送路45を搬送される原稿が読取部60に近接したことを検出する。また、中央処理装置20は原稿センサ72から出力される信号に基づいて、搬送路45を搬送される原稿が読取部30に近接したことを検出する。   Document sensors 71 and 72 are connected to the central processing unit 20. Based on the signal output from the document sensor 71, the central processing unit 20 detects that the document conveyed on the conveyance path 45 has approached the reading unit 60. Further, the central processing unit 20 detects that the document conveyed on the conveyance path 45 has approached the reading unit 30 based on a signal output from the document sensor 72.

ADF40では、原稿センサ70によって原稿トレイ42に原稿が載置されたことを検知すると、ローラ46を駆動して原稿トレイ42に載置されている原稿を一枚ずつ搬送路45に搬送する。搬送路45に搬送された原稿は、搬送路45上に位置する第3プラテンガラス55及び第2プラテンガラス53上を通過し、排紙トレイ47に排出される。   In the ADF 40, when the document sensor 70 detects that the document is placed on the document tray 42, the roller 46 is driven to convey the documents placed on the document tray 42 to the conveyance path 45 one by one. The document transported to the transport path 45 passes through the third platen glass 55 and the second platen glass 53 positioned on the transport path 45 and is discharged to the paper discharge tray 47.

この際、読取部60は、原稿センサ71を介して原稿が読取部60に達したことを検知し、第3プラテンガラス55上を通過する原稿から第2読取結果を検出するとともに、原稿の内側面を読み取る。また、読取部30は、原稿センサ72を介して原稿が読取部30に達したことを検知し、第2プラテンガラス53上を通過する原稿の外側面を読み取る。   At this time, the reading unit 60 detects that the document has reached the reading unit 60 via the document sensor 71, detects the second reading result from the document passing over the third platen glass 55, and Read the side. The reading unit 30 detects that the document has reached the reading unit 30 via the document sensor 72, and reads the outer surface of the document passing over the second platen glass 53.

次に、読取部30、60の構造について説明する。読取部30、60は同一の構造をしており、ここでは読取部60を用いて説明を行い、重複した説明を省略する。
読取部60は、CIS(Contact Image Sensor)を用いた、いわゆるCIS方式で第3プラテンガラス55上を通過する原稿を読み取る。読取部60は、複数の受光素子が図2の紙面垂直方向に直線状に配列されているリニアイメージセンサ63、RGB3色の発光ダイオードなどで構成される光源61、原稿で反射された光源61からの反射光をリニアイメージセンサ63の各受光素子に結像させるロッドレンズアレイ62、これらが搭載されるキャリッジ64を含む。なお、読取部60のキャリッジ64は読取部30のキャリッジ34と異なり、搬送されず固定された位置で原稿を読み取る。
また、読取部30及び60の構造は、必ずしも同一の構造である必要はない。読取部30又は読取部60のいずれか一方がCISであって、他方がCCDであってもよい。
Next, the structure of the reading units 30 and 60 will be described. The reading units 30 and 60 have the same structure, and the description will be made using the reading unit 60 here, and a duplicate description will be omitted.
The reading unit 60 reads a document passing over the third platen glass 55 by a so-called CIS method using a CIS (Contact Image Sensor). The reading unit 60 includes a linear image sensor 63 in which a plurality of light receiving elements are linearly arranged in a direction perpendicular to the paper surface of FIG. A rod lens array 62 that forms an image of each reflected light on each light receiving element of the linear image sensor 63, and a carriage 64 on which these are mounted. Unlike the carriage 34 of the reading unit 30, the carriage 64 of the reading unit 60 reads a document at a fixed position without being conveyed.
Further, the structures of the reading units 30 and 60 are not necessarily the same structure. Either the reading unit 30 or the reading unit 60 may be a CIS and the other may be a CCD.

光源61は、赤色の光を照射する赤色LED61Rと、緑色の光を照射する緑色LED61Gと、青色の光を照射する青色LED61Bを含み、リニアイメージセンサ63に対向する読取領域Pに光を照射する。光源61は、これら3色のLEDを別々に照射することで、各色の光を読取領域Pに照射する。リニアイメージセンサ63は、当該光が読取領域Pで反射して各受光素子に結像した反射光を検出する。読取領域Pには搬送路45が含まれており、リニアイメージセンサ63は、透明な第3プラテンガラス55を介して、搬送路45を搬送される原稿が第3プラテンガラス55上を通過する際に、当該原稿の第3プラテンガラス55と接する面で反射される反射光を検出する。   The light source 61 includes a red LED 61R that emits red light, a green LED 61G that emits green light, and a blue LED 61B that emits blue light, and irradiates the reading region P facing the linear image sensor 63 with light. . The light source 61 irradiates the reading region P with light of each color by separately irradiating these three colors of LEDs. The linear image sensor 63 detects the reflected light that is reflected on the reading region P and imaged on each light receiving element. The reading area P includes a conveyance path 45, and the linear image sensor 63 is configured so that a document conveyed on the conveyance path 45 passes through the third platen glass 55 via the transparent third platen glass 55. In addition, the reflected light reflected from the surface of the document in contact with the third platen glass 55 is detected.

各受光素子は、読取領域Pを受光素子の個数で割った単位読取領域から反射される反射光の強度を電圧値の大きさとして検出する。各受光素子は、この検出をその状況に応じた検出回数だけ実行する。この結果、リニアイメージセンサ63は、原稿の搬送方向と直交する方向には、受光素子の個数の単位データを検出し、原稿の搬送方向には、検出回数の単位データを検出する。リニアイメージセンサ63は、各受光素子が検出したこれらの単位データを含む読取結果及び画像データ(読取データの一例)を検出する。なお、読取部60はCIS方式に限られず、CCD(Charge Coupled Device:電荷結合素子)イメージセンサを用いた、いわゆるCCD方式であってもよい。   Each light receiving element detects the intensity of reflected light reflected from the unit reading area obtained by dividing the reading area P by the number of light receiving elements as the magnitude of the voltage value. Each light receiving element executes this detection as many times as the number of detections corresponding to the situation. As a result, the linear image sensor 63 detects unit data of the number of light receiving elements in a direction orthogonal to the document transport direction, and detects unit data of the number of detections in the document transport direction. The linear image sensor 63 detects a reading result and image data (an example of reading data) including these unit data detected by each light receiving element. The reading unit 60 is not limited to the CIS method, but may be a so-called CCD method using a CCD (Charge Coupled Device) image sensor.

さらに、複合機1の前側には、各種のボタンからなり、ユーザからの操作指令を受け付ける操作部11、複合機1の状態を表示する液晶ディスプレイからなる表示部12が設けられている。   Further, on the front side of the multifunction device 1, an operation unit 11 that includes various buttons and receives an operation command from a user, and a display unit 12 that includes a liquid crystal display that displays the state of the multifunction device 1 are provided.

2.複合機の電気的構成
図3は、複合機1の電気的構成を概略的に示すブロック図である。図3に示すように、複合機1は、複合機1の各部を制御するASIC(特定用途向け集積回路)10を含む。ASIC10は、中央処理装置(以下「CPU」という)20、ROM24、RAM(記憶部の一例)25、デバイス制御部26、画像処理部27、28を備え、これらに操作部11、表示部12、読取部30、60、アナログフロントエンド(以下「AFE」という)35、65、ローラ46(図2参照)を駆動するモータM及び駆動回路16、原稿センサ70〜72などが接続されている。
2. FIG. 3 is a block diagram schematically showing the electrical configuration of the multifunction device 1. As shown in FIG. 3, the multifunction machine 1 includes an ASIC (application specific integrated circuit) 10 that controls each unit of the multifunction machine 1. The ASIC 10 includes a central processing unit (hereinafter referred to as “CPU”) 20, a ROM 24, a RAM (an example of a storage unit) 25, a device control unit 26, and image processing units 27 and 28, which include an operation unit 11, a display unit 12, The reading units 30 and 60, analog front ends (hereinafter referred to as “AFE”) 35 and 65, a motor M for driving a roller 46 (see FIG. 2), a drive circuit 16, document sensors 70 to 72, and the like are connected.

ROM24には、複合機1の動作を制御するための各種のプログラムが記憶されており、CPU20は、ROM24から読み出したプログラムに従って、取得部(第1取得部及び第2取得部の一例)21、判断部22、補正部23等として機能し、各部の制御を行う。   Various programs for controlling the operation of the multifunction device 1 are stored in the ROM 24, and the CPU 20 acquires an acquisition unit (an example of a first acquisition unit and a second acquisition unit) 21 according to the program read from the ROM 24, It functions as the determination unit 22, the correction unit 23, and the like, and controls each unit.

デバイス制御部26は、読取部30、60に接続されており、CPU20からの命令に基づいて、光源31、61の各LEDの点灯、光源31、61の出力電圧、及びリニアイメージセンサ33、63による読取結果及び画像データの検出を制御する信号を読取部30、60に送信する。読取部30、60で検出されたアナログデータである読取結果及び画像データは、AFE35、65に送信される。   The device control unit 26 is connected to the reading units 30 and 60, and based on instructions from the CPU 20, the LEDs of the light sources 31 and 61 are turned on, the output voltages of the light sources 31 and 61, and the linear image sensors 33 and 63. A signal for controlling the reading result and the detection of image data is transmitted to the reading units 30 and 60. The reading result and the image data which are analog data detected by the reading units 30 and 60 are transmitted to the AFEs 35 and 65.

デバイス制御部26は、また、AFE35、65に接続されており、CPU20からの命令に基づいて、AFE35、65の入力レンジを制御する信号をAFE35、65に送信する。AFE35、65は、入力レンジの幅は予め決定されているものの、その上限値または下限値が調整可能に構成されている。また、AFE35、65では、予め分解能(ここでは、256)が設定されており、分解能に含まれる各階調値に対応した階調電圧が入力レンジから設定されている。AFE35、65は、CPU20からの命令に基づいて入力レンジが調整されると、階調電圧が決定され、読取部30、60から送信された読取結果及び画像データを階調電圧と比較する。AFE35、65は、当該読取結果及び画像データを最も近い値を有する階調電圧に対応した階調値へと変換し、その階調値を画像処理部27、28に送信する。   The device control unit 26 is also connected to the AFEs 35 and 65, and transmits a signal for controlling the input range of the AFEs 35 and 65 to the AFEs 35 and 65 based on an instruction from the CPU 20. The AFEs 35 and 65 are configured such that although the input range width is determined in advance, the upper limit value or the lower limit value thereof can be adjusted. In the AFEs 35 and 65, a resolution (here, 256) is set in advance, and a gradation voltage corresponding to each gradation value included in the resolution is set from the input range. When the input range is adjusted based on a command from the CPU 20, the AFEs 35 and 65 determine the gradation voltage, and compare the reading result and image data transmitted from the reading units 30 and 60 with the gradation voltage. The AFEs 35 and 65 convert the read result and the image data into gradation values corresponding to the gradation voltage having the closest value, and transmit the gradation values to the image processing units 27 and 28.

画像処理部27、28は、AFE35、65から階調値に変換された読取結果を受信すると、CPU20からの命令に基づいて、読取結果から画像データのシェーディング補正に用いられる補正データを取得し、補正データをRAM25に記憶する。また、画像処理部27、28は、AFE35、65を介して読取部30、60から画像データを受信すると、CPU20からの命令に基づいて、シェーディング補正を行い、画像データをRAM25に記憶する。   When the image processing units 27 and 28 receive the reading results converted into gradation values from the AFEs 35 and 65, the image processing units 27 and 28 acquire correction data used for shading correction of the image data from the reading results based on a command from the CPU 20, The correction data is stored in the RAM 25. In addition, when the image processing units 27 and 28 receive image data from the reading units 30 and 60 via the AFEs 35 and 65, the image processing units 27 and 28 perform shading correction based on a command from the CPU 20 and store the image data in the RAM 25.

3.読取処理
次に、図5ないし図10を参照して、ADF40の読取部60を用いて原稿を読み取る場合の、CPU20における処理について説明する。
3. Reading Processing Next, processing in the CPU 20 when reading a document using the reading unit 60 of the ADF 40 will be described with reference to FIGS.

図5は、CPU20が所定のプログラムに従って実行する本実施形態のフローチャートを示す。CPU20は、ユーザによって複合機1の原稿トレイ42に原稿が載置され、操作部11または入力可能な表示部12を介して読取部60による原稿の読取指示が入力されると、処理を開始する。CPU20は、原稿センサ70を用いて原稿トレイ42に原稿が載置されているか否かを確認し(S2)、原稿トレイ42に原稿が載置されていない場合にはADF40による読取処理を終了し、ガラス52に原稿が載置された際の読取処理(FB読取)に移行する(S2:NO)。   FIG. 5 shows a flowchart of the present embodiment executed by the CPU 20 according to a predetermined program. The CPU 20 starts processing when a user places a document on the document tray 42 of the multifunction peripheral 1 and inputs a document reading instruction from the reading unit 60 via the operation unit 11 or the inputable display unit 12. . The CPU 20 checks whether or not a document is placed on the document tray 42 using the document sensor 70 (S2). If no document is placed on the document tray 42, the reading process by the ADF 40 is terminated. Then, the process proceeds to a reading process (FB reading) when a document is placed on the glass 52 (S2: NO).

一方、CPU20は、原稿トレイ42に原稿が載置されている場合(S2:YES)、原稿の搬送を開始する(S4)。CPU20は、モータM及び駆動回路16を用いてローラ46を駆動し、原稿を搬送路45へと搬送する。   On the other hand, when a document is placed on the document tray 42 (S2: YES), the CPU 20 starts conveying the document (S4). The CPU 20 drives the roller 46 using the motor M and the drive circuit 16 and conveys the document to the conveyance path 45.

CPU20は、原稿の搬送開始後、原稿センサ71により原稿の搬送方向先端における余白部分Y1が読取部60の読取領域Pに到達したと確認されるまでに、まず白色テープ80から補正データを取得する第1取得処理Z1を行う。この際、CPU20は取得部21として機能する。第1取得処理Z1において、CPU20は、まず、AFE入力レンジ調整処理を実行する(S6)。図6に示すように、CPU20は、光源61を消灯し(S42)、読取結果K(x)を検出する(S44)。ここで、xはリニアイメージセンサ63を構成する各受光素子を意味しており、読取結果K(a)と記載した場合には、特に受光素子aが検出した読取結果を示す。   The CPU 20 first acquires correction data from the white tape 80 until it is confirmed by the document sensor 71 that the margin Y1 at the front end in the document conveyance direction has reached the reading area P of the reading unit 60 after the document conveyance is started. The first acquisition process Z1 is performed. At this time, the CPU 20 functions as the acquisition unit 21. In the first acquisition process Z1, the CPU 20 first executes an AFE input range adjustment process (S6). As shown in FIG. 6, the CPU 20 turns off the light source 61 (S42) and detects the read result K (x) (S44). Here, x means each light receiving element constituting the linear image sensor 63, and when the reading result K (a) is described, it particularly indicates the reading result detected by the light receiving element a.

CPU20は、検出した読取結果K(x)の最小値であるKminを算出し(S46)、KminがAFE65の入力レンジの下限値と等しくなるように、AFE65の入力レンジを調整する(図8参照)。これにより、予め決定されている入力レンジの幅から、入力レンジの上限値が決定され、AFE65の各階調電圧が決定される。   The CPU 20 calculates Kmin, which is the minimum value of the detected reading result K (x) (S46), and adjusts the input range of the AFE 65 so that Kmin becomes equal to the lower limit value of the input range of the AFE 65 (see FIG. 8). ). Thereby, the upper limit value of the input range is determined from the width of the input range determined in advance, and each gradation voltage of the AFE 65 is determined.

次に、CPU20は、RGB色光量調整処理を実行する(S8)。図7に示すように、CPU20は、光源61の出力電圧を初期電圧に設定し(S52)、光源61の赤色LED61Rを点灯させ(S54)、読取結果R(x)を検出する(S56:図8参照)。CPU20は、読取結果R(x)の最大値であるRmaxを算出し(S58)、RmaxがAFE65の入力レンジの上限値と等しくなるように、光源61の出力電圧を調整する(S60:図9参照)。具体的には、Rmaxの階調値が、最大階調値である255(最小階調値:0)となるように、光源61の出力電圧を調整する。CPU20は、赤色LED61R、緑色LED61G、青色LED61Bについて別々にRGB色光量調整処理を実行し、各色のLEDに独立して出力電力を調整する。   Next, the CPU 20 executes an RGB color light amount adjustment process (S8). As shown in FIG. 7, the CPU 20 sets the output voltage of the light source 61 to the initial voltage (S52), turns on the red LED 61R of the light source 61 (S54), and detects the read result R (x) (S56: FIG. 8). The CPU 20 calculates Rmax, which is the maximum value of the read result R (x) (S58), and adjusts the output voltage of the light source 61 so that Rmax is equal to the upper limit value of the input range of the AFE 65 (S60: FIG. 9). reference). Specifically, the output voltage of the light source 61 is adjusted so that the gradation value of Rmax becomes 255 (minimum gradation value: 0) which is the maximum gradation value. The CPU 20 separately performs the RGB color light amount adjustment processing for the red LED 61R, the green LED 61G, and the blue LED 61B, and adjusts the output power independently for each color LED.

次に、CPU20は、RGB色白黒レベルデータ読込処理を実行する(S10)。CPU20は、RGB色光量調整処理で調整された出力電圧で光源61の赤色LED61Rを点灯させ、読取結果R(x)を再度検出する。同様に、RGB色光量調整処理で調整された出力電圧で緑色LED61G、青色LED61Bを点灯させ、読取結果G(x)、読取結果B(x)を再度検出する。   Next, the CPU 20 executes an RGB color monochrome level data reading process (S10). The CPU 20 turns on the red LED 61R of the light source 61 with the output voltage adjusted by the RGB color light amount adjustment processing, and detects the read result R (x) again. Similarly, the green LED 61G and the blue LED 61B are turned on with the output voltage adjusted by the RGB color light amount adjustment processing, and the reading result G (x) and the reading result B (x) are detected again.

以後の説明で示される読取結果R(x)、読取結果G(x)、読取結果B(x)は、RGB色白黒レベルデータ読込処理で再度検出された読取結果を意味する。再度検出された読取結果R(x)、読取結果G(x)、読取結果B(x)では、図9に示されるように全色においてその最大値がAFE65の入力レンジの上限値と一致する。読取結果R(x)、読取結果G(x)、読取結果B(x)、及び読取結果K(x)は、AFE65で階調値に変換され、読取階調Wr(x)、読取階調Wg(x)、読取階調Wb(x)、及び読取階調D(x)としてRAM25に記憶される。   The reading result R (x), the reading result G (x), and the reading result B (x) shown in the following description mean reading results detected again in the RGB color / monochrome level data reading process. In the read result R (x), the read result G (x), and the read result B (x) detected again, the maximum values of all colors coincide with the upper limit value of the input range of the AFE 65 as shown in FIG. . The reading result R (x), the reading result G (x), the reading result B (x), and the reading result K (x) are converted into gradation values by the AFE 65, and the reading gradation Wr (x) and the reading gradation are converted. Wg (x), read gradation Wb (x), and read gradation D (x) are stored in the RAM 25.

次に、CPU20は、RGB色シェーディングデータ算出処理を実行する(S12)。CPU20は、AFE65の最大階調値である255を読取階調Wr(x)と読取階調D(x)の差分値で除したシェーディングデータSDr(x)を算出する。同様に、CPU20は、読取階調Wg(x)と読取階調D(x)を用いてシェーディングデータSDg(x)を算出し、読取階調Wb(x)と読取階調D(x)を用いてシェーディングデータSDb(x)を算出する。
SDr(x)=255/(Wr(x)−D(x))
SDg(x)=255/(Wg(x)−D(x))
SDb(x)=255/(Wb(x)−D(x))
Next, the CPU 20 executes RGB color shading data calculation processing (S12). The CPU 20 calculates shading data SDr (x) obtained by dividing 255, which is the maximum gradation value of the AFE 65, by the difference value between the read gradation Wr (x) and the read gradation D (x). Similarly, the CPU 20 calculates the shading data SDg (x) using the reading gradation Wg (x) and the reading gradation D (x), and calculates the reading gradation Wb (x) and the reading gradation D (x). To calculate shading data SDb (x).
SDr (x) = 255 / (Wr (x) -D (x))
SDg (x) = 255 / (Wg (x) -D (x))
SDb (x) = 255 / (Wb (x) -D (x))

シェーディングデータSDr(x)は、読取部60で取得された画像データのうち、赤色LED61Rを点灯させた状態で取得された画像データをシェーディング補正する際に用いられる補正データである。図10に示すように、シェーディングデータSDr(x)を用いて読取結果R(x)をシェーディング補正することで、補正後の読取結果R’(x)は、リニアイメージセンサ63の全受光素子において、AFE65の入力レンジの上限値と等しくなるように補正される。また、シェーディングデータSDr(x)を用いて読取結果K(x)をシェーディング補正することで、補正後の読取結果K’(x)は、リニアイメージセンサ63の全受光素子において、AFE65の入力レンジの下限値と等しくなるように補正される。シェーディングデータSDg(x)、シェーディングデータSDb(x)についても同様であり、重複した説明を省略する。   The shading data SDr (x) is correction data used when shading correction is performed on image data acquired with the red LED 61R lit out of the image data acquired by the reading unit 60. As shown in FIG. 10, the reading result R (x) is corrected by shading using the shading data SDr (x), and the corrected reading result R ′ (x) is obtained in all the light receiving elements of the linear image sensor 63. , Correction is made to be equal to the upper limit value of the input range of the AFE 65. Further, the shading correction is performed on the read result K (x) using the shading data SDr (x), so that the corrected read result K ′ (x) is the input range of the AFE 65 in all the light receiving elements of the linear image sensor 63. It is corrected to be equal to the lower limit value of. The same applies to the shading data SDg (x) and the shading data SDb (x), and redundant description is omitted.

CPU20は、第1取得処理Z1終了すると、原稿センサ71により原稿の搬送方向先端における余白部分Y1が読取部60の読取領域Pに到達したと確認されるまでに、白色テープ80に不具合が発生したか否かを判断する(S14)。この際、CPU20は判断部22として機能する。ここで「不具合」とは、白色テープ80の読取部60の読取領域Pに対応する部分において、汚れが付着した、或は破損したこと等の異常が発生したことを意味する。   When the CPU 20 completes the first acquisition process Z1, a defect has occurred in the white tape 80 until it is confirmed by the document sensor 71 that the margin Y1 at the front end of the document conveyance direction has reached the reading region P of the reading unit 60. Whether or not (S14). At this time, the CPU 20 functions as the determination unit 22. Here, “problem” means that an abnormality such as dirt or damage has occurred in a portion corresponding to the reading region P of the reading unit 60 of the white tape 80.

CPU20は、今回の読取処理で取得されたシェーディングデータSD(x)を前回の読取処理で取得されたシェーディングデータSD(x)と比較し、当該シェーディングデータSD(x)の差ΔSD(x)を算出する。また、CPU20は、前回の読取処理から今回の読取処理までの経過時間を計測し、この経過時間に基づいて許容範囲F(x)(変化度合の一例)を設定する。許容範囲F(x)は、前回の読取処理から今回の読取処理までの経過時間に対する光源61の経年劣化等に基づいて設定される。CPU20は、差ΔSD(x)を許容範囲F(x)と比較し、差ΔSD(x)が許容範囲F(x)以下である場合には、白色テープ80に不具合が発生していないと判断し(S14:NO)、原稿センサ71によって原稿の読取部分Y2の搬送方向先端が読取部60の読取領域Pに到達したか否かを確認する(S26)。   The CPU 20 compares the shading data SD (x) acquired in the current reading process with the shading data SD (x) acquired in the previous reading process, and calculates the difference ΔSD (x) of the shading data SD (x). calculate. Further, the CPU 20 measures an elapsed time from the previous reading process to the current reading process, and sets an allowable range F (x) (an example of the degree of change) based on the elapsed time. The allowable range F (x) is set based on the aging of the light source 61 with respect to the elapsed time from the previous reading process to the current reading process. The CPU 20 compares the difference ΔSD (x) with the allowable range F (x), and determines that no defect has occurred in the white tape 80 when the difference ΔSD (x) is equal to or smaller than the allowable range F (x). (S14: NO), the document sensor 71 confirms whether or not the leading end of the document reading portion Y2 has reached the reading region P of the reading unit 60 (S26).

一方、CPU20は、差ΔSD(x)が許容範囲F(x)よりも大きい場合には、白色テープ80に不具合が発生していると判断し(S14:YES)、原稿の余白部分Y1を用いた補正データを取得する第2取得処理Z2を行う。この際、CPU20は取得部21として機能する。CPU20は、原稿センサ71によって原稿の搬送方向先端側の余白部分Y1が読取部60の読取領域Pに到達するのを待機し(S16:NO)、当該余白部分Y1が読取部60の読取領域Pに到達すると(S16:YES)、AFE入力レンジ調整処理(S18)、RGB色光量調整処理(S20)、RGB色白黒レベルデータ読込処理(S22)、RGB色シェーディングデータ算出処理(S24)の各処理を実行する。これらの処理は、第1取得処理Z1における同名の処理と同一であり、重複した説明を省略する。これにより、原稿の余白部分を用いたシェーディングデータSD(x)が取得される。   On the other hand, if the difference ΔSD (x) is larger than the allowable range F (x), the CPU 20 determines that a defect has occurred in the white tape 80 (S14: YES), and uses the margin portion Y1 of the document. The second acquisition process Z2 for acquiring the corrected data is performed. At this time, the CPU 20 functions as the acquisition unit 21. The CPU 20 waits for the document sensor 71 to allow the margin portion Y1 on the leading end side in the document transport direction to reach the reading region P of the reading unit 60 (S16: NO), and the margin portion Y1 becomes the reading region P of the reading unit 60. (S16: YES), AFE input range adjustment processing (S18), RGB color light amount adjustment processing (S20), RGB color monochrome level data reading processing (S22), and RGB color shading data calculation processing (S24). Execute. These processes are the same as the processes of the same name in the first acquisition process Z1, and a duplicate description is omitted. Thereby, shading data SD (x) using the margin portion of the document is acquired.

次に、CPU20は、原稿センサ71により原稿の搬送方向先端における読取部分Y2が読取部60の読取領域Pに到達するのを待機し(S26:NO)、当該読取部分Y2が読取部60の読取領域Pに到達すると(S26:YES)、読取モードを設定する(S28)。CPU20は、S14において不具合が発生していないと判断された場合には、第1取得処理Z1において調整されていたAFE65の入力レンジ、光源61の出力電圧へと当該値を調整する。一方、CPU20は、S14において不具合が発生したと判断された場合には、第2取得処理Z2において調整されたAFE65の入力レンジ、光源61の出力電圧へと当該値を調整する。   Next, the CPU 20 waits until the reading portion Y2 at the leading end in the document transport direction reaches the reading area P of the reading unit 60 by the document sensor 71 (S26: NO), and the reading portion Y2 reads by the reading unit 60. When the area P is reached (S26: YES), the reading mode is set (S28). If it is determined in S14 that no malfunction has occurred, the CPU 20 adjusts the values to the input range of the AFE 65 and the output voltage of the light source 61 that have been adjusted in the first acquisition process Z1. On the other hand, if it is determined in S14 that a problem has occurred, the CPU 20 adjusts the values to the input range of the AFE 65 and the output voltage of the light source 61 adjusted in the second acquisition process Z2.

次に、CPU20は、読取部60を用いて原稿の読取部分Y2を読み取り、画像データI(x)(Ir(x)、Ig(x)、Ib(x))を検出する(S30)。続いて、CPU20は、画像データI(x)をシェーディング補正する(S32)。この際、CPU20は補正部23として機能する。CPU20は、S14において不具合が発生していないと判断された場合、白色テープ80から取得されたシェーディングデータSD(x)を用いて画像データI(x)をシェーディング補正する。一方、S14において不具合が発生していると判断された場合、原稿の余白部分Y1から取得されたシェーディングデータSD(x)を用いて画像データI(x)をシェーディング補正する。補正後の画像データI’(x)は、シェーディングデータSD(x)を用いて以下の様に示される。
I’r(x)=SDr(x)×(Ir(x)−D(x))
I’g(x)=SDg(x)×(Ig(x)−D(x))
I’b(x)=SDb(x)×(Ib(x)−D(x))
Next, the CPU 20 reads the reading portion Y2 of the document using the reading unit 60, and detects the image data I (x) (Ir (x), Ig (x), Ib (x)) (S30). Subsequently, the CPU 20 performs shading correction on the image data I (x) (S32). At this time, the CPU 20 functions as the correction unit 23. If it is determined in S14 that no malfunction has occurred, the CPU 20 uses the shading data SD (x) acquired from the white tape 80 to correct the shading of the image data I (x). On the other hand, if it is determined in S14 that a problem has occurred, the image data I (x) is subjected to shading correction using the shading data SD (x) acquired from the margin Y1 of the document. The corrected image data I ′ (x) is expressed as follows using the shading data SD (x).
I′r (x) = SDr (x) × (Ir (x) −D (x))
I′g (x) = SDg (x) × (Ig (x) −D (x))
I′b (x) = SDb (x) × (Ib (x) −D (x))

CPU20は、画像データI(x)のシェーディング補正(S32)を終了すると、原稿センサ70を用いて原稿トレイ42に次の原稿が載置されているか否かを確認する(S34)。CPU20は、原稿トレイ42に原稿が載置されていない場合(S34:NO)、処理を終了する。一方、CPU20は、原稿トレイ42に次の原稿が載置されている場合(S34:YES)、S17に戻り、上記の処理を繰り返す。   After completing the shading correction (S32) of the image data I (x), the CPU 20 checks whether or not the next document is placed on the document tray 42 using the document sensor 70 (S34). If no document is placed on the document tray 42 (S34: NO), the CPU 20 ends the process. On the other hand, when the next document is placed on the document tray 42 (S34: YES), the CPU 20 returns to S17 and repeats the above processing.

4.本実施形態の効果
(1)本実施形態の複合機1では、白色テープ80に不具合が発生し、白色テープ80から検出された読取結果R(x)、G(x)、B(x)に異常が有ると判断される場合に、白色テープ80から求められたシェーディングデータSD(x)に代わって、原稿の余白部分Y1から求められたシェーディングデータSD(x)を用いて画像データI(x)をシェーディング補正する。
4). Advantages of this embodiment (1) In the multifunction device 1 of this embodiment, a defect occurs in the white tape 80, and the read results R (x), G (x), and B (x) detected from the white tape 80 are displayed. When it is determined that there is an abnormality, instead of the shading data SD (x) obtained from the white tape 80, the shading data SD (x) obtained from the margin Y1 of the document is used to obtain the image data I (x ) For shading correction.

白色テープ80や基準白板81等の基準部材は、一般に特別な加工が施されていることが多く、原稿に比べて画像データI(x)のシェーディング補正に適している。しかし、基準白板81は本体部2の内部に配置され、原稿と接触することがなく、汚れ等の不具合が発生しずらいのに対して、白色テープ80は、読取部60に対向して配置されているため、原稿が通過する際に汚れが付着するなどの不具合が発生することがある。この場合、原稿に比べて画像データI(x)のシェーディング補正に適さない状態となる。   The reference members such as the white tape 80 and the reference white plate 81 are generally specially processed and are suitable for shading correction of the image data I (x) as compared with the original. However, the reference white plate 81 is disposed inside the main body 2 and does not come into contact with the document, and it is difficult for defects such as dirt to occur, whereas the white tape 80 is disposed to face the reading unit 60. For this reason, there may be a problem that dirt is attached when the document passes. In this case, the image data I (x) is not suitable for shading correction compared to the original.

この複合機1では、白色テープ80に不具合が発生しておらず、白色テープ80から検出された読取結果R(x)、G(x)、B(x)に異常が無い場合は、白色テープ80を用いて精度良く画像データI(x)をシェーディング補正することができる。また白色テープ80に不具合が発生しており、白色テープ80から検出された読取結果R(x)、G(x)、B(x)に異常が有る場合は、原稿の余白部分Y1を用いて画像データI(x)をシェーディング補正することで、一定の補正精度を確保することができる。この場合、不具合が発生した白色テープ80から取得されたシェーディングデータSD(x)を用いて画像データI(x)をシェーディング補正する場合に比べてシェーディング補正の精度が低下するのを抑制することができ、精度良く画像データI(x)に対してシェーディング補正をすることができる。   In this multifunction device 1, when the white tape 80 is not defective and the reading results R (x), G (x), and B (x) detected from the white tape 80 are not abnormal, the white tape 80 can be used for shading correction of the image data I (x) with high accuracy. If there is a defect in the white tape 80 and the reading results R (x), G (x), and B (x) detected from the white tape 80 are abnormal, the margin portion Y1 of the document is used. By correcting the shading of the image data I (x), a certain correction accuracy can be ensured. In this case, it is possible to suppress a reduction in the accuracy of the shading correction as compared with the case where the shading correction is performed on the image data I (x) using the shading data SD (x) acquired from the white tape 80 in which the problem has occurred. It is possible to perform shading correction on the image data I (x) with high accuracy.

(2)特に読取部60では、白色テープ80が貼り付けられた押圧部材43が、読取部60に対して原稿の搬送方向において移動不能に配置されているため、読取部60が白色テープ80を読み取る位置が固定されており、当該位置に不具合が発生した場合に、読取部60の読取領域Pを原稿の搬送方向に沿って移動することで、その不具合を解消することができない構造上の制限を抱えている。 (2) In particular, in the reading unit 60, the pressing member 43 to which the white tape 80 is attached is disposed so as not to move in the document transport direction with respect to the reading unit 60. A structural limitation in which, when a reading position is fixed and a problem occurs at that position, the problem cannot be solved by moving the reading region P of the reading unit 60 along the document conveyance direction. Have

この複合機1では、白色テープ80の読取部60の読取領域Pに対応した部分に汚れが付着するなど不具合が発生した場合には、白色テープ80から取得されたシェーディングデータSD(x)の代わりに原稿の余白部分Y1から求められたシェーディングデータSD(x)を用いて画像データI(x)をシェーディング補正するので、上記の構造を有する読取部60においても、精度良くシェーディング補正することができる。   In the multi-function device 1, when a problem such as dirt is attached to a portion corresponding to the reading region P of the reading unit 60 of the white tape 80, the shading data SD (x) acquired from the white tape 80 is replaced. Since the image data I (x) is subjected to the shading correction using the shading data SD (x) obtained from the margin Y1 of the document, the reading unit 60 having the above structure can also perform the shading correction with high accuracy. .

(3)本実施形態の複合機1では、白色テープ80に不具合が発生したか否かを判断する際に、今回の読取処理で白色テープ80から求められたシェーディングデータSD(x)を前回の読取処理で白色テープ80から求められたシェーディングデータSD(x)と比較して、白色テープ80における不具合の発生を判断する。そのため、前回シェーディングデータSD(x)を取得したタイミングから今回シェーディングデータSD(x)を取得したタイミングの間に発生した白色テープ80の不具合を正確に検知することができる。 (3) In the multifunction device 1 of the present embodiment, when determining whether or not a defect has occurred in the white tape 80, the shading data SD (x) obtained from the white tape 80 in the current reading process is used as the previous time. Compared with the shading data SD (x) obtained from the white tape 80 in the reading process, the occurrence of a defect in the white tape 80 is determined. Therefore, it is possible to accurately detect a defect in the white tape 80 that occurs between the timing at which the previous shading data SD (x) is acquired and the timing at which the current shading data SD (x) is acquired.

(4)また、当該シェーディングデータSD(x)を比較する際には、CPU20は、前回の読取処理から今回の読取処理までの経過時間に対する光源61の経年劣化等に基づいて許容範囲F(x)を設定し、この許容範囲F(x)と当該シェーディングデータSD(x)の差分値を比較する。そのため、例えば、白色テープ80から検出された読取結果R(x)、G(x)、B(x)が経年劣化を超えて劣化している場合にこれら読取結果R(x)、G(x)、B(x)が異常であると判断しやすい。 (4) When comparing the shading data SD (x), the CPU 20 determines the allowable range F (x based on the aging degradation of the light source 61 with respect to the elapsed time from the previous reading process to the current reading process. ) And a difference value between the allowable range F (x) and the shading data SD (x) is compared. Therefore, for example, when the reading results R (x), G (x), and B (x) detected from the white tape 80 have deteriorated beyond the aging deterioration, these reading results R (x) and G (x ) And B (x) are easy to determine.

<実施形態2>
実施形態2を、図11を用いて説明する。本実施形態では、読取処理において取得された原稿の余白部分から求められたシェーディングデータSD(x)から平均シェーディングデータHSD(x)を算出する点で、実施形態1と異なる。以下の説明では、実施形態1と同一の内容については重複した記載を省略する。
<Embodiment 2>
A second embodiment will be described with reference to FIG. The present embodiment is different from the first embodiment in that the average shading data HSD (x) is calculated from the shading data SD (x) obtained from the margin portion of the document acquired in the reading process. In the following description, the same description as that of the first embodiment will not be repeated.

1.読取処理
図11は、CPU20が所定のプログラムに従って実行する本実施形態のフローチャートを示す。CPU20は、白色テープ80に不具合が発生したと判断される場合(S14:YES)、原稿の余白部分Y1を用いて補正データを取得(S16〜S24)する。
1. Reading Process FIG. 11 shows a flowchart of the present embodiment that the CPU 20 executes according to a predetermined program. If it is determined that a defect has occurred in the white tape 80 (S14: YES), the CPU 20 acquires correction data using the margin portion Y1 of the document (S16 to S24).

次に、CPU20は、現在読み取りの対象としている原稿が当該読取処理を開始してから1枚目の原稿であるか否かを確認する(S62)。現在読み取りの対象としている原稿が1枚目の原稿である場合(S62:YES)、S26からの処理を実行する。   Next, the CPU 20 checks whether or not the document currently being read is the first document after the reading process is started (S62). If the document currently being read is the first document (S62: YES), the processing from S26 is executed.

一方、現在読み取りの対象としている原稿が当該読取処理を開始してから2枚目以降の原稿である場合(S62:NO)、平均シェーディングデータHSD(x)を算出する。CPU20は、今回取得された原稿の余白部分から求められたシェーディングデータSD(x)と、当該読取処理においてこれまでに取得された原稿の余白部分から求められたシェーディングデータSD(x)とを平均し、平均シェーディングデータHSD(x)を算出する(S64)。   On the other hand, when the document currently being read is the second and subsequent documents after the reading process is started (S62: NO), average shading data HSD (x) is calculated. The CPU 20 averages the shading data SD (x) obtained from the margin portion of the original document acquired this time and the shading data SD (x) obtained from the margin portion of the original document acquired so far in the reading process. Then, the average shading data HSD (x) is calculated (S64).

本実施形態では、白色テープ80に不具合が発生したと判断される場合(S14:YES)、S32において、CPU20は、現在読み取りの対象としている原稿が当該読取処理を開始してから1枚目の原稿である場合、1枚目の原稿の余白部分から求められたシェーディングデータSD(x)を用いて画像データI(x)をシェーディング補正し、現在読み取りの対象としている原稿が当該読取処理を開始してから2枚目以降の原稿である場合、平均シェーディングデータSD(x)を用いて画像データI(x)をシェーディング補正する。   In the present embodiment, when it is determined that a defect has occurred in the white tape 80 (S14: YES), in S32, the CPU 20 determines the first sheet after the original currently being read starts the reading process. In the case of a document, the image data I (x) is subjected to shading correction using the shading data SD (x) obtained from the margin of the first document, and the document currently being read starts the reading process. In the case of the second and subsequent originals, the shading correction is performed on the image data I (x) using the average shading data SD (x).

2.本実施形態の効果
本実施形態の複合機1では、原稿の余白部分から求められたシェーディングデータSD(x)を用いて画像データI(x)をシェーディング補正する際に、各原稿から求められた当該シェーディングデータSD(x)を平均した平均シェーディングデータHSD(x)を算出し、この平均シェーディングデータHSD(x)を用いて画像データI(x)をシェーディング補正する。この複合機1によれば、原稿のバラツキに起因したシェーディングデータSD(x)のバラツキを抑制することができ、原稿の余白部分から求められたシェーディングデータSD(x)を用いて精度良く画像データI(x)をシェーディング補正することができる。
2. Effects of the present embodiment In the multifunction device 1 of the present embodiment, when the shading correction is performed on the image data I (x) by using the shading data SD (x) obtained from the margin portion of the original, it is obtained from each original. Average shading data HSD (x) obtained by averaging the shading data SD (x) is calculated, and the image data I (x) is subjected to shading correction using the average shading data HSD (x). According to the multi function device 1, it is possible to suppress variations in the shading data SD (x) due to variations in the document, and image data with high accuracy using the shading data SD (x) obtained from the margin of the document. I (x) can be subjected to shading correction.

<実施形態3>
実施形態3を、図12または図13を用いて説明する。本実施形態では、白色テープ80に不具合が発生したか否かに関わらず、AFE入力レンジ調整処理、及びRGB色光量調整処理については、白色テープ80から検出された読取結果R(x)、G(x)、B(x)を用いて当該処理を実行する点で、実施形態1と異なる。実施形態1と異なる。以下の説明では、実施形態1と同一の内容については重複した記載を省略する。
<Embodiment 3>
Embodiment 3 will be described with reference to FIG. 12 or FIG. In the present embodiment, the read results R (x) and G detected from the white tape 80 are used for the AFE input range adjustment process and the RGB color light amount adjustment process regardless of whether or not a defect occurs in the white tape 80. (X), B (x) is different from the first embodiment in that the process is executed. Different from the first embodiment. In the following description, the same description as that of the first embodiment will not be repeated.

図12は、CPU20が所定のプログラムに従って実行する本実施形態のフローチャートを示す。CPU20は、白色テープ80に不具合が発生したと判断される場合(S14:YES)、原稿の余白部分Y1を用いた補正データを取得する第3取得処理Z3を行う。第3取得処理Z3は、第2取得処理Z2と同様に、RGB色白黒レベルデータ読込処理(S22)やRGB色シェーディングデータ算出処理(S24)等の処理を含む。一方、第3取得処理Z3は、第2取得処理Z2と異なり、AFE入力レンジ調整処理(S18)やRGB色光量調整処理(S20)を含まない。   FIG. 12 shows a flowchart of the present embodiment that the CPU 20 executes according to a predetermined program. When it is determined that a defect has occurred in the white tape 80 (S14: YES), the CPU 20 performs a third acquisition process Z3 for acquiring correction data using the margin portion Y1 of the document. Similar to the second acquisition process Z2, the third acquisition process Z3 includes processes such as an RGB color / monochrome level data reading process (S22) and an RGB color shading data calculation process (S24). On the other hand, unlike the second acquisition process Z2, the third acquisition process Z3 does not include the AFE input range adjustment process (S18) and the RGB color light amount adjustment process (S20).

本実施形態では、CPU20が、S28において読取モードを設定する場合、S14において不具合が発生していないと判断されたか否かに関わらず、第1取得処理Z1において調整されたAFE65の入力レンジ、光源61の出力電圧へと当該値を調整する。   In the present embodiment, when the CPU 20 sets the reading mode in S28, the input range and light source of the AFE 65 adjusted in the first acquisition process Z1 regardless of whether or not it is determined in S14 that no problem has occurred. The value is adjusted to 61 output voltage.

2.本実施形態の効果
本実施形態の複合機1では、白色テープ80に不具合が発生したか否かに関わらず、第1取得処理Z1において調整されていたAFE65の入力レンジ、光源61の出力電圧へと当該値を調整する。つまり、白色テープ80を用いて検出された結果に基づいて、AFE65の入力レンジ、光源61の出力電圧を調整する。
2. Effects of the present embodiment In the multi-function device 1 of the present embodiment, regardless of whether or not a defect occurs in the white tape 80, the input range of the AFE 65 and the output voltage of the light source 61 that have been adjusted in the first acquisition process Z <b> 1. And adjust the value. That is, the input range of the AFE 65 and the output voltage of the light source 61 are adjusted based on the result detected using the white tape 80.

原稿は、もともと着色されている場合があり、例えば、青色に着色されている原稿がある。この場合、当該原稿の余白部分Y1から求められたシェーディングデータSD(x)を用いて白色原稿から検出された画像データI(x)を補正した場合、図13に示すように、補正後の読取結果R’(x)、G’(x)は、リニアイメージセンサ63の全受光素子において、AFE65の入力レンジの上限値と等しくなるように補正される。その一方、補正後の読取結果B’(x)については、シェーディングデータSD(x)を検出した原稿の影響で、リニアイメージセンサ63の全受光素子において、AFE65の入力レンジの上限値と等しくならない。また、着色されていない状態の原稿がそもそも白色でない場合もあり、この場合にも同様の問題が生じる。   The document may be originally colored, for example, there is a document colored in blue. In this case, when the image data I (x) detected from the white document is corrected using the shading data SD (x) obtained from the margin Y1 of the document, as shown in FIG. The results R ′ (x) and G ′ (x) are corrected so as to be equal to the upper limit value of the input range of the AFE 65 in all the light receiving elements of the linear image sensor 63. On the other hand, the corrected reading result B ′ (x) is not equal to the upper limit value of the input range of the AFE 65 in all the light receiving elements of the linear image sensor 63 due to the influence of the document from which the shading data SD (x) is detected. . Further, an uncolored document may not be white in the first place, and the same problem occurs in this case.

このようなシェーディングデータSD(x)を用いて画像データI(x)を補正することは、不具合が発生した白色テープ80から求められたシェーディングデータSD(x)を用いて画像データI(x)を補正するよりは精度良く画像データI(x)をシェーディング補正することができるものの、検出した画像データI(x)がシェーディングデータSD(x)を検出した原稿の影響を受けてしまい、同じ原稿を読み取ったにも関わらず、一定の画像データI(x)が得られないという問題が生じる。   The correction of the image data I (x) using such shading data SD (x) means that the image data I (x) is obtained using the shading data SD (x) obtained from the white tape 80 in which a defect has occurred. Although the image data I (x) can be more accurately subjected to shading correction than correcting the image, the detected image data I (x) is affected by the original from which the shading data SD (x) is detected, and the same original However, there is a problem that the constant image data I (x) cannot be obtained despite the reading.

この複合機1では、白色テープ80を用いて検出された読取結果を用いて、AFE65の入力レンジ、光源61の出力電圧を調整する。白色テープ80や基準白板81等の基準部材は、一般に特別な加工が施されていることが多く、原稿に比べて色調補正にも適している。   In this multifunction device 1, the input range of the AFE 65 and the output voltage of the light source 61 are adjusted using the reading result detected using the white tape 80. The reference members such as the white tape 80 and the reference white plate 81 are generally specially processed and are more suitable for color tone correction than the original.

また、読取結果の一部に異常が有る場合でも精度の確保が難しいシェーディング補正と異なり、読取結果の最大値、或は最小値が解かれば読取結果の一部に異常が有る場合でもAFE65の入力レンジ、光源61の出力電圧の調整精度を確保することができる。この複合機1では、常に白色テープ80を用いてAFE65の入力レンジ、光源61の出力電圧を調整するので、精度良く画像データI(x)に対して色調の補正をすることができる。   Further, unlike shading correction in which it is difficult to ensure accuracy even if there is an abnormality in a part of the reading result, if the maximum value or minimum value of the reading result is known, even if there is an abnormality in the part of the reading result, the AFE 65 Adjustment accuracy of the input range and the output voltage of the light source 61 can be ensured. In the multi-function device 1, the white tape 80 is always used to adjust the input range of the AFE 65 and the output voltage of the light source 61, so that the tone of the image data I (x) can be accurately corrected.

<他の実施形態>
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような種々の態様も本発明の技術的範囲に含まれる。
(1)上記実施形態では、複合機1を用いて説明を行ったが、本発明はこれに限られない。例えば、スキャナ機能、コピー機能、ファクシミリ機能の少なくとも1つの機能を備えた装置であっても良い。
<Other embodiments>
The present invention is not limited to the embodiments described with reference to the above description and the drawings, and for example, the following various aspects are also included in the technical scope of the present invention.
(1) Although the above embodiment has been described using the multifunction machine 1, the present invention is not limited to this. For example, an apparatus having at least one of a scanner function, a copy function, and a facsimile function may be used.

(2)上記実施形態では、複合機1が1つのASIC10を有し、取得部21、判断部22、補正部23等の機能をASIC10が有する1つのCPU20によって実行する例を用いて示したが、本発明はこれに限られない。例えば、お互いに異なるCPU、ASICなどによって各部が構成されても良い。 (2) In the above embodiment, the MFP 1 has one ASIC 10, and the functions of the acquisition unit 21, the determination unit 22, the correction unit 23, and the like are executed by one CPU 20 having the ASIC 10. The present invention is not limited to this. For example, each unit may be configured by different CPUs, ASICs, and the like.

(3)上記実施形態では、原稿センサ71、72を用いて搬送路45を搬送される原稿の位置を検出する例を用いて説明を行ったが、必ずしも原稿センサ71、72は必要ない。例えば、原稿トレイ42から読取部30、60の読取領域P、Qまでの距離が解かっており、モータM及び駆動回路16がローラ46を回転させる回転速度に基づいて搬送開始から各読取位置までの搬送必要時間が解かっている場合には、その搬送必要時間に基づいて搬送路45を搬送される原稿の位置を特定しても良い。 (3) In the above embodiment, the description has been given using the example in which the position of the document conveyed on the conveyance path 45 is detected using the document sensors 71 and 72. However, the document sensors 71 and 72 are not necessarily required. For example, the distance from the document tray 42 to the reading areas P and Q of the reading units 30 and 60 is known, and the motor M and the drive circuit 16 start from the conveyance to each reading position based on the rotational speed at which the roller 46 rotates. If the necessary conveyance time is known, the position of the document conveyed on the conveyance path 45 may be specified based on the necessary conveyance time.

(4)上記実施形態では、RGB色光量調整処理において、光源61の出力電圧を調整する例を用いて説明を行ったが、リニアイメージセンサ63の受光感度が調整可能である場合には、光源61の各LEDを点灯させた場合にリニアイメージセンサ63の受光感度を各々変えても良い。また、AFE65の入力レンジの幅が調整可能である場合には、光源61の各LEDを点灯させた場合にリニアイメージセンサ63で検出された電圧値にあわせてAFE65の入力レンジの幅を変えても良い。 (4) In the above embodiment, the example of adjusting the output voltage of the light source 61 in the RGB color light amount adjustment processing has been described. However, when the light receiving sensitivity of the linear image sensor 63 can be adjusted, the light source When the LEDs 61 are turned on, the light receiving sensitivity of the linear image sensor 63 may be changed. When the width of the input range of the AFE 65 can be adjusted, the width of the input range of the AFE 65 is changed in accordance with the voltage value detected by the linear image sensor 63 when each LED of the light source 61 is turned on. Also good.

(5)上記実施形態では、白色テープ80に不具合が発生したか否かを判断する際に、今回の読取処理で取得されたシェーディングデータSD(x)を前回の読取処理で取得されたシェーディングデータSD(x)と比較する例を用いて説明を行ったが、比較に用いられるシェーディングデータSD(x)はこれに限られない。例えば、ADF40を用いて原稿を搬送したことが無い状態で取得されたシェーディングデータSD(x)を比較に用いても良い。この場合、使用開始からの経過時間に基づいて許容範囲F(x)を設定することができる。 (5) In the above embodiment, when determining whether or not a defect has occurred in the white tape 80, the shading data SD (x) acquired in the current reading process is used as the shading data acquired in the previous reading process. Although the description has been made using an example of comparison with SD (x), the shading data SD (x) used for comparison is not limited thereto. For example, shading data SD (x) acquired in a state where the document has not been conveyed using the ADF 40 may be used for comparison. In this case, the allowable range F (x) can be set based on the elapsed time from the start of use.

(6)また、シェーディングデータSD(x)を比較せず、同一条件において取得された読取結果R(x)、G(x)、B(x)同士を比較しても良い。 (6) Further, the reading results R (x), G (x), and B (x) acquired under the same conditions may be compared without comparing the shading data SD (x).

(7)本発明は、基準白板81に対して相対移動可能に構成されている読取部30に対しても有効である。例えば、設定値によって読取部30が基準白板81を読み取る位置が通常は決定されている場合、当該位置に汚れが発生した場合にはユーザ等によりその場所を変更するまでは、読取部30を用いて原稿を読み取ることができない。本発明によれが、このような場合に、CPU20が基準白板81から取得されるシェーディングデータSD(x)に代わって、原稿の余白部分Y1から取得されるシェーディングデータSD(x)を用いて画像データI(x)をシェーディング補正することがで、読取部30を用いて原稿を読み取ることができる。 (7) The present invention is also effective for the reading unit 30 configured to be movable relative to the reference white plate 81. For example, when the position where the reading unit 30 reads the reference white plate 81 is normally determined according to the set value, if the position is contaminated, the reading unit 30 is used until the user changes the location. The document cannot be read. According to the present invention, in such a case, the CPU 20 uses the shading data SD (x) acquired from the margin portion Y1 of the document instead of the shading data SD (x) acquired from the reference white plate 81. By correcting the shading of the data I (x), the document can be read using the reading unit 30.

1:複合機、3:画像読取装置、16:駆動回路、20:CPU、21:取得部、22:判断部、23:補正部、26:デバイス制御部、27、28:画像処理部、30:読取部、35、65:AEF、40:ADF、42:原稿トレイ、43、44:押圧部材、45:搬送路、47:排紙トレイ、60:読取部、70、71、72:原稿センサ、80:白色テープ、81:基準白板、R、G、B、K:読取結果、Wr、Wg、Wb、D:読取階調、SD:シェーディングデータ、HSD:平均シェーディングデータ、I:画像データ、F:許容範囲、Y1:余白部分、Y2:読取部分 1: MFP, 3: image reading device, 16: drive circuit, 20: CPU, 21: acquisition unit, 22: determination unit, 23: correction unit, 26: device control unit, 27, 28: image processing unit, 30 : Reading unit, 35, 65: AEF, 40: ADF, 42: Document tray, 43, 44: Pressing member, 45: Transport path, 47: Paper discharge tray, 60: Reading unit, 70, 71, 72: Document sensor 80: White tape, 81: Reference white plate, R, G, B, K: Reading result, Wr, Wg, Wb, D: Reading gradation, SD: Shading data, HSD: Average shading data, I: Image data, F: Allowable range, Y1: Margin portion, Y2: Reading portion

Claims (7)

原稿を読み取る読取部と、
前記読取部に対向して配置される基準部材と、
前記読取部が前記基準部材を読み取った第1読取結果からシェーディング補正用の第1補正データを取得する第1取得部と、
前記読取部が前記原稿の余白部分を読み取った第2読取結果からシェーディング補正用の第2補正データを取得する第2取得部と、
前記第1読取結果に異常が有るか否かを判断する判断部と、
前記第1読取結果に異常が無いと前記判断部が判断した場合には、前記第1補正データを用いて前記読取部が前記原稿を読み取った読取データをシェーディング補正し、前記第1読取結果に異常が有ると前記判断部が判断した場合には、前記第2補正データを用いて前記読取データをシェーディング補正する補正部と、
を備える画像読取装置。
A reading section for reading a document;
A reference member disposed to face the reading unit;
A first acquisition unit that acquires first correction data for shading correction from a first reading result obtained by the reading unit reading the reference member;
A second acquisition unit that acquires second correction data for shading correction from a second reading result obtained by the reading unit reading a blank portion of the document;
A determination unit that determines whether or not there is an abnormality in the first reading result;
When the determination unit determines that there is no abnormality in the first reading result, the reading unit reads the original using the first correction data, and performs shading correction on the reading data. When the determination unit determines that there is an abnormality, a correction unit that performs shading correction on the read data using the second correction data;
An image reading apparatus comprising:
請求項1に記載の画像読取装置であって、
前記基準部材は、前記読取部に対して相対移動不能に配置されることを特徴とする画像読取装置。
The image reading apparatus according to claim 1,
The image reading apparatus, wherein the reference member is disposed so as not to move relative to the reading unit.
請求項1または2に記載の画像読取装置であって、
基準読取結果を有しており、
前記判断部は、予め定められた変化度合を超えて前記第1読取結果が前記基準読取結果と異なる場合に、前記第1読取結果が異常であると判断することを特徴とする画像読取装置。
The image reading apparatus according to claim 1, wherein:
Has a reference reading result,
The determination unit determines that the first reading result is abnormal when the first reading result is different from the reference reading result exceeding a predetermined degree of change.
請求項3に記載の画像読取装置であって、
前記読取部は、前記第1読取結果を繰り返し取得しており、
前記判断部は、前回取得した第1読取結果を今回取得した第1読取結果の前記基準読取結果として用いることを特徴とする画像読取装置。
The image reading apparatus according to claim 3,
The reading unit repeatedly obtains the first reading result;
The determination unit uses the first reading result acquired last time as the reference reading result of the first reading result acquired this time.
請求項1ないし請求項4のいずれか一項に記載の画像読取装置であって、
前記判断部が前記第1読取結果に異常が有ると判断した場合に、前記読取部が複数枚の原稿を読み取る際には、前記読取部は各原稿の第2読取結果を読み取るとともに、前記第2取得部は各第2読取結果から各第2補正データを取得しており、
前記第2取得部は、今回取得した第2補正データをそれ以前に取得した第2補正データと平均した平均補正データを算出し、
前記補正部は、前記平均補正データを用いて前記読取データをシェーディング補正することを特徴とする画像読取装置。
An image reading apparatus according to any one of claims 1 to 4,
When the determination unit determines that there is an abnormality in the first reading result, when the reading unit reads a plurality of documents, the reading unit reads the second reading result of each document, and 2 acquisition unit acquires each second correction data from each second reading result,
The second acquisition unit calculates average correction data obtained by averaging the second correction data acquired this time with the second correction data acquired before.
The image reading apparatus, wherein the correction unit performs shading correction on the read data using the average correction data.
請求項1ないし5のいずれか1項に記載の画像読取装置であって、
前記読取部は複数色の光源を有し、各光源を発光させて各色の読取結果を検出し、
更に、
前記読取部が前記基準部材を読み取った各色の読取結果の最大値が全色において一致するように前記光源の光量を調整する光量調整部と、
を備えることを特徴とする画像読取装置。
An image reading apparatus according to any one of claims 1 to 5,
The reading unit has light sources of a plurality of colors, detects each color reading result by causing each light source to emit light,
Furthermore,
A light amount adjustment unit that adjusts the light amount of the light source so that the maximum value of the reading results of each color that the reading unit has read the reference member matches in all colors;
An image reading apparatus comprising:
原稿を読み取る読取部と、前記読取部に対向して配置される基準部材と、を備える画像読取装置に用いられるコンピュータに、
前記読取部が前記基準部材を読み取った第1読取結果からシェーディング補正用の第1補正データを取得する第1取得処理と、
前記読取部が前記原稿の余白部分を読み取った第2読取結果からシェーディング補正用の第2補正データを取得する第2取得処理と、
前記第1読取結果に異常が有るか否かを判断する判断処理と、
前記第1読取結果に異常が無いと前記判断部が判断した場合には、前記第1補正データを用いて前記読取部が前記原稿を読み取った読取データをシェーディング補正し、前記第1読取結果に異常が有ると前記判断部が判断した場合には、前記第2補正データを用いて前記読取データをシェーディング補正する補正処理と、
を実行させる画像読取装置用のプログラム。
A computer used in an image reading apparatus comprising a reading unit that reads a document and a reference member that is disposed to face the reading unit.
A first acquisition process of acquiring first correction data for shading correction from a first reading result obtained by the reading unit reading the reference member;
A second acquisition process for acquiring second correction data for shading correction from a second reading result obtained by the reading unit reading a blank portion of the document;
A determination process for determining whether or not there is an abnormality in the first reading result;
When the determination unit determines that there is no abnormality in the first reading result, the reading unit reads the original using the first correction data, and performs shading correction on the reading data. When the determination unit determines that there is an abnormality, a correction process for correcting shading of the read data using the second correction data;
A program for an image reading apparatus that executes
JP2011018143A 2011-01-31 2011-01-31 Image reading apparatus and program thereof Active JP5609682B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011018143A JP5609682B2 (en) 2011-01-31 2011-01-31 Image reading apparatus and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011018143A JP5609682B2 (en) 2011-01-31 2011-01-31 Image reading apparatus and program thereof

Publications (2)

Publication Number Publication Date
JP2012160841A true JP2012160841A (en) 2012-08-23
JP5609682B2 JP5609682B2 (en) 2014-10-22

Family

ID=46841040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011018143A Active JP5609682B2 (en) 2011-01-31 2011-01-31 Image reading apparatus and program thereof

Country Status (1)

Country Link
JP (1) JP5609682B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9172833B2 (en) 2012-09-07 2015-10-27 Seiko Epson Corporation Multifunction device
US9292241B2 (en) 2012-09-14 2016-03-22 Seiko Epson Corporation Printing apparatus and printing system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6319313B1 (en) * 1999-03-15 2001-11-20 Memc Electronic Materials, Inc. Barium doping of molten silicon for use in crystal growing process

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0673960U (en) * 1993-03-25 1994-10-18 株式会社東芝 Image reader
JPH08163359A (en) * 1994-11-30 1996-06-21 Ricoh Co Ltd Image reader
JP2000083145A (en) * 1998-09-04 2000-03-21 Ricoh Co Ltd Image reader
JP2000299784A (en) * 1999-04-13 2000-10-24 Pfu Ltd Image reading device, its control method and its recording medium
JP2004320603A (en) * 2003-04-18 2004-11-11 Ricoh Co Ltd Color image reader
JP2008060976A (en) * 2006-08-31 2008-03-13 Seiko Epson Corp Image reading device and image reading method
JP2008311963A (en) * 2007-06-14 2008-12-25 Riso Kagaku Corp Image reader, and shading correcting method in image reader

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0673960U (en) * 1993-03-25 1994-10-18 株式会社東芝 Image reader
JPH08163359A (en) * 1994-11-30 1996-06-21 Ricoh Co Ltd Image reader
JP2000083145A (en) * 1998-09-04 2000-03-21 Ricoh Co Ltd Image reader
JP2000299784A (en) * 1999-04-13 2000-10-24 Pfu Ltd Image reading device, its control method and its recording medium
JP2004320603A (en) * 2003-04-18 2004-11-11 Ricoh Co Ltd Color image reader
JP2008060976A (en) * 2006-08-31 2008-03-13 Seiko Epson Corp Image reading device and image reading method
JP2008311963A (en) * 2007-06-14 2008-12-25 Riso Kagaku Corp Image reader, and shading correcting method in image reader

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9172833B2 (en) 2012-09-07 2015-10-27 Seiko Epson Corporation Multifunction device
US9292241B2 (en) 2012-09-14 2016-03-22 Seiko Epson Corporation Printing apparatus and printing system

Also Published As

Publication number Publication date
JP5609682B2 (en) 2014-10-22

Similar Documents

Publication Publication Date Title
JP4539424B2 (en) Image reading device
US11516367B2 (en) Reading device, image forming apparatus, image reading method, and recording medium
US8310741B2 (en) Image reading device and image forming apparatus
JP5198485B2 (en) Image reading apparatus, white reference chart, shading correction method, and image forming apparatus
JP7383431B2 (en) Image forming device
JP2014027508A (en) Image reading device and image forming apparatus including the same
JP5609682B2 (en) Image reading apparatus and program thereof
US11582362B2 (en) Image reading apparatus comprising a processor that detects an abnormal pixel, and outputs an image obtained by a first processing or second processing based on if character recognition processing of a character obtained by first processing is the same as the character obtained by the second processing
US8822908B2 (en) Image scanner, image forming apparatus and dew-condensation determination method
US20220272206A1 (en) Image reading apparatus and image forming apparatus
JP5238681B2 (en) Image reading apparatus and image forming apparatus having the same
JP7468150B2 (en) Image reading device, image forming device, and foreign object detection method
JP2012015750A (en) Image reading device and image forming apparatus having the device
JP4163537B2 (en) Image reading device
JP5392364B2 (en) Image reading apparatus and manufacturing method thereof
JP2015046882A (en) Image reading device and image forming apparatus
JP6217946B2 (en) Image reading device
JP6043826B2 (en) Image reading apparatus and image forming apparatus having the same
JP2011259430A (en) Image reader and image reading abnormality detecting method
JP5775828B2 (en) Image reading apparatus and image forming apparatus having the same
JP2014030143A (en) Reading device, correction method in the reading device, and program
EP3125516B1 (en) Image processing apparatus, image forming apparatus and dew determination method
JP6055859B2 (en) Image reading apparatus and image forming apparatus having the same
JP6055860B2 (en) Image reading apparatus and image forming apparatus having the same
JP5723798B2 (en) Image reading apparatus and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130314

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140304

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140425

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140507

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: 20140805

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140818

R150 Certificate of patent or registration of utility model

Ref document number: 5609682

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150