JP2019161461A - Image reading device and control method thereof - Google Patents

Image reading device and control method thereof Download PDF

Info

Publication number
JP2019161461A
JP2019161461A JP2018045928A JP2018045928A JP2019161461A JP 2019161461 A JP2019161461 A JP 2019161461A JP 2018045928 A JP2018045928 A JP 2018045928A JP 2018045928 A JP2018045928 A JP 2018045928A JP 2019161461 A JP2019161461 A JP 2019161461A
Authority
JP
Japan
Prior art keywords
value
image
reading
average value
abnormality
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
JP2018045928A
Other languages
Japanese (ja)
Other versions
JP7084747B2 (en
JP2019161461A5 (en
Inventor
永和 本田
Norikazu Honda
永和 本田
三穂 船橋
Miho Funabashi
三穂 船橋
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2018045928A priority Critical patent/JP7084747B2/en
Publication of JP2019161461A publication Critical patent/JP2019161461A/en
Publication of JP2019161461A5 publication Critical patent/JP2019161461A5/ja
Application granted granted Critical
Publication of JP7084747B2 publication Critical patent/JP7084747B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

To realize stable sensor anomaly detection that is not easily affected by dust or the like by checking shading data of a reading unit.SOLUTION: An image reading device includes a control unit that reads an image by a reading unit having an image sensor including a plurality of groups including a plurality of reading elements and corrects a signal based on an output from the reading element, and the control unit generates a characteristic value indicating a shading characteristic for each of the reading elements, obtains an average value of the characteristic values for each of the groups on the basis of the characteristic value for the reading element, and determines that the reading unit is abnormal when at least one of average values of the characteristic values is greater than a first threshold value.SELECTED DRAWING: Figure 5

Description

本発明は画像読取装置に関し、特に画像読取前にイメージセンサの異常を検知する画像読取装置及びその制御方法に関する。   The present invention relates to an image reading apparatus, and more particularly to an image reading apparatus that detects an abnormality of an image sensor before image reading and a control method thereof.

画像読取装置ではイメージセンサの各画素のオフセットと感度のバラつき、光源の分布特性によって画素毎に感度特性にばらつきがある。それを補正するためシェーディング補正が広く行われている。   In the image reading apparatus, the sensitivity characteristic varies from pixel to pixel depending on the offset and sensitivity variation of each pixel of the image sensor and the distribution characteristics of the light source. In order to correct this, shading correction is widely performed.

ここでシェーディング補正値を調べることでイメージセンサの異常を検知することができるがイメージセンサやシェーディング板にゴミが付着しているとイメージセンサの異常でないにも関わらずシェーディングデータの異常と誤検知する可能性がある。またコンタクトイメージセンサでは複数のセンサチップを主走査方向に並べてイメージセンサを構成しているがセンサチップの静電気破壊やワイヤボンディングの外れなどによって単一チップや数個のチップのみの異常が発生することがある。   The image sensor abnormality can be detected by checking the shading correction value here, but if the image sensor or shading plate is attached with dust, it is erroneously detected as an abnormality in the shading data even though it is not an image sensor abnormality. there is a possibility. In contact image sensors, an image sensor is configured by arranging multiple sensor chips in the main scanning direction. However, abnormalities in only a single chip or several chips may occur due to electrostatic breakdown of the sensor chip or disconnection of wire bonding. There is.

特許文献1にはブロックごとに基準板データの平均値を求め、特異値を持つ場合に異常を判断するLEDやセンサの異常を検出する技術が、特許文献2にはCCDチップごとにシェーディング板読み取りの平均値、最小値、最大値を求めてセンサ異常の検出を行う技術が記載されている。   Patent document 1 calculates the average value of the reference plate data for each block and detects abnormalities in LEDs and sensors that determine abnormalities when there are singular values. Patent document 2 reads shading plates for each CCD chip. Describes a technique for detecting an abnormality of a sensor by obtaining an average value, a minimum value, and a maximum value.

特許第4894247号明細書Patent No. 4894247 Specification 特許第3449490号明細書Japanese Patent No. 3449490

特許文献1記載の方法は、光源が複数チップのLED光源の場合であり、光源の故障やセンサチップの異常の場合は他のチップとの違いを判別してLEDチップやセンサチップの異常を検出するものである。しかしながら光源に複数のLEDを使用せず導光体を用いるものでは光源の分布特性が連続的に変化するため異常は検知できない。また、センサチップの感度の差が小さいものはやはり異常と検知することができない。   The method described in Patent Document 1 is for the case where the light source is an LED light source having a plurality of chips. To do. However, in the case of using a light guide without using a plurality of LEDs as the light source, the distribution characteristic of the light source changes continuously, so that an abnormality cannot be detected. Also, a sensor chip with a small difference in sensitivity cannot be detected as abnormal.

特許第3449490号の方法では、シェーディング板の別の位置でCCD異常かゴミかを判定しているが、大きなゴミがある場合はどちらの位置にもゴミがかかってしまい誤検知する可能性がある。   In the method of Japanese Patent No. 3449490, it is determined whether the CCD is abnormal or dust at another position on the shading plate. However, if there is a large dust, dust may be deposited on either position and there is a possibility of false detection. .

本発明は上記課題を解決する為になされたもので、高い精度でイメージセンサや照明の異常を検知する画像読取装置及びその制御方法を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an image reading apparatus that detects an abnormality of an image sensor or illumination with high accuracy and a control method thereof.

上記の目的を達成する為に本発明の画像読取装置は次のような構成からなる。
すなわち本発明の一側面によれば、複数の読取素子を含むグループを複数備えるイメージセンサを有する読み取り部により画像を読み取る画像読取装置であって、
前記読取素子からの出力に基づく信号を補正する制御部を有し、
前記制御部は、
前記読取素子ごとのシェーディング特性を示す特性値を生成し、
前記読取素子ごとの前記特性値に基づき、前記グループごとに前記特性値の平均値を求め、
前記グループごとの前記特性値の平均値のうち少なくともいずれかの前記特性値の平均値が第一の閾値よりも大きい場合には、前記読み取り部が異常であると判定する
ことを特徴とする画像読取装置が提供される。
In order to achieve the above object, the image reading apparatus of the present invention has the following configuration.
That is, according to one aspect of the present invention, an image reading apparatus that reads an image with a reading unit having an image sensor including a plurality of groups each including a plurality of reading elements,
A controller for correcting a signal based on the output from the reading element;
The controller is
Generating a characteristic value indicating a shading characteristic for each reading element;
Based on the characteristic value for each reading element, obtain an average value of the characteristic values for each group,
The image is characterized in that the reading unit is determined to be abnormal when an average value of at least one of the characteristic values of the group is greater than a first threshold value. A reader is provided.

本発明によれば、高い精度でイメージセンサや照明の異常を検知することができる。   According to the present invention, it is possible to detect an abnormality in an image sensor or illumination with high accuracy.

画像形成装置が待機状態にあるときの図である。FIG. 3 is a diagram when the image forming apparatus is in a standby state. スキャナ部3の断面図である。3 is a cross-sectional view of a scanner unit 3. FIG. スキャナ部3の制御構成図である。3 is a control configuration diagram of a scanner unit 3. FIG. シェーディング処理のブロック図であるIt is a block diagram of a shading process シェーディング取得処理のフローチャートである。It is a flowchart of a shading acquisition process. 黒シェーディングデータ取得処理のフローチャートである。It is a flowchart of a black shading data acquisition process. 白シェーディングデータ取得処理のフローチャートである。It is a flowchart of a white shading data acquisition process. 白シェーディング異常検知処理のフローチャートである。It is a flowchart of a white shading abnormality detection process. 白シェーディング補正値のチップ平均化のイメージ図である。It is an image figure of chip averaging of a white shading correction value. 異常状態のイメージ図である。It is an image figure of an abnormal state. エラー表示画面のイメージ図である。It is an image figure of an error display screen. 実施形態2の異常判定のイメージ図である。It is an image figure of abnormality determination of Embodiment 2. 実施形態2の白シェーディング異常検知処理のフローチャートである。10 is a flowchart of white shading abnormality detection processing according to the second embodiment. 実施形態3のイメージセンサの構成である。4 is a configuration of an image sensor according to a third embodiment. 実施形態3の異常判定のイメージ図である。It is an image figure of abnormality determination of Embodiment 3. 実施形態3の白シェーディング異常検知処理のフローチャートである。10 is a flowchart of white shading abnormality detection processing according to the third embodiment. 実施形態3の白シェーディング異常要因判定のフローチャートである。10 is a flowchart of white shading abnormality factor determination according to the third embodiment.

以下、本発明の実施形態について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

[実施形態1]
■画像形成装置の説明
図1は、本実施形態で使用するインクジェット画像形成装置1(以下、画像形成装置1)の内部構成図である。図において、x方向は水平方向、y方向(紙面垂直方向)は後述する記録ヘッド8において吐出口が配列する方向、z方向は鉛直方向をそれぞれ示す。本実施形態では、イメージセンサの読取素子ごとのシェーディング特性を示す特性値としてシェーディング補正値を生成し、それに基づいてイメージセンサや照明(たとえばLED)の異常を検知する。
[Embodiment 1]
(1) Description of Image Forming Apparatus FIG. 1 is an internal configuration diagram of an ink jet image forming apparatus 1 (hereinafter, image forming apparatus 1) used in the present embodiment. In the figure, the x direction indicates the horizontal direction, the y direction (perpendicular to the paper surface) indicates the direction in which the ejection openings are arranged in the recording head 8 described later, and the z direction indicates the vertical direction. In this embodiment, a shading correction value is generated as a characteristic value indicating a shading characteristic for each reading element of the image sensor, and an abnormality of the image sensor or illumination (for example, LED) is detected based on the generated shading correction value.

画像形成装置1は、プリント部2とスキャナ部3を備える複合機であり、記録動作と読取動作に関する様々な処理を、プリント部2とスキャナ部3で個別にあるいは連動して実行することができる。スキャナ部3は、ADF(オートドキュメントフィーダ)とFBS(フラットベッドスキャナ)を備えており、ADFで自動給紙される原稿の読み取りと、ユーザによってFBSの原稿台に置かれた原稿の読み取り(スキャン)を行うことができる。なお、本実施形態はプリント部2とスキャナ部3を併せ持った複合機であるが、プリント部2を備えない形態であってもよい。図1は、画像形成装置1が記録動作も読取動作も行っていない待機状態にあるときを示す。   The image forming apparatus 1 is a multifunction machine including a printing unit 2 and a scanner unit 3, and can perform various processes related to recording operations and reading operations individually or in conjunction with the printing unit 2 and the scanner unit 3. . The scanner unit 3 includes an ADF (automatic document feeder) and an FBS (flatbed scanner), and reads a document automatically fed by the ADF and reads a document placed on a document table of the FBS by a user (scanning). )It can be performed. Although the present embodiment is a multi-function peripheral having both the print unit 2 and the scanner unit 3, a form without the print unit 2 may be used. FIG. 1 shows a state in which the image forming apparatus 1 is in a standby state in which neither a recording operation nor a reading operation is performed.

プリント部2において、筐体4の鉛直方向下方の底部には、記録媒体(カットシート)Sを収容するための第1カセット5Aと第2カセット5Bが着脱可能に設置されている。第1カセット5AにはA4サイズまでの比較的小さな記録媒体が、第2カセット5BにはA3サイズまでの比較的大きな記録媒体が、平積みに収容されている。第1カセット5A近傍には、収容されている記録媒体を1枚ずつ分離して給送するための第1給送ユニット6Aが設けられている。同様に、第2カセット5B近傍には、第2給送ユニット6Bが設けられている。記録動作が行われる際にはいずれか一方のカセットから選択的に記録媒体Sが給送される。   In the print unit 2, a first cassette 5 </ b> A and a second cassette 5 </ b> B for accommodating a recording medium (cut sheet) S are detachably installed on the bottom of the casing 4 in the vertical direction. A relatively small recording medium up to A4 size is accommodated in the first cassette 5A, and a relatively large recording medium up to A3 size is accommodated in the second cassette 5B. Near the first cassette 5A, a first feeding unit 6A for separating and feeding the stored recording media one by one is provided. Similarly, a second feeding unit 6B is provided in the vicinity of the second cassette 5B. When a recording operation is performed, the recording medium S is selectively fed from one of the cassettes.

搬送ローラ7、排出ローラ12、ピンチローラ7a、拍車7b、ガイド18、インナーガイド19およびフラッパ11は、記録媒体Sを所定の方向に導くための搬送機構である。搬送ローラ7は、記録ヘッド8の上流側および下流側に配され、不図示の搬送モータによって駆動される駆動ローラである。ピンチローラ7aは、搬送ローラ7と共に記録媒体Sをニップして回転する従動ローラである。排出ローラ12は、搬送ローラ7の下流側に配され、不図示の搬送モータによって駆動される駆動ローラである。拍車7bは、記録ヘッド8の下流側に配される搬送ローラ7および排出ローラ12と共に記録媒体Sを挟持して搬送する。   The transport roller 7, the discharge roller 12, the pinch roller 7a, the spur 7b, the guide 18, the inner guide 19 and the flapper 11 are transport mechanisms for guiding the recording medium S in a predetermined direction. The conveyance roller 7 is a driving roller that is arranged on the upstream side and the downstream side of the recording head 8 and is driven by a conveyance motor (not shown). The pinch roller 7 a is a driven roller that rotates while nipping the recording medium S together with the conveying roller 7. The discharge roller 12 is a drive roller that is disposed on the downstream side of the transport roller 7 and is driven by a transport motor (not shown). The spur 7 b sandwiches and transports the recording medium S together with the transport roller 7 and the discharge roller 12 disposed on the downstream side of the recording head 8.

ガイド18は、記録媒体Sの搬送経路に設けられ、記録媒体Sを所定の方向に案内する。インナーガイド19は、y方向に延在する部材で湾曲した側面を有し、当該側面に沿って記録媒体Sを案内する。フラッパ11は、両面記録動作の際に、記録媒体Sが搬送される方向を切り替えるための部材である。排出トレイ13は、記録動作が完了し排出ローラ12によって排出された記録媒体Sを積載保持するためのトレイである。   The guide 18 is provided in the conveyance path of the recording medium S and guides the recording medium S in a predetermined direction. The inner guide 19 has a side surface curved by a member extending in the y direction, and guides the recording medium S along the side surface. The flapper 11 is a member for switching the direction in which the recording medium S is conveyed during the double-side recording operation. The discharge tray 13 is a tray for stacking and holding the recording medium S that has completed the recording operation and is discharged by the discharge roller 12.

本実施形態の記録ヘッド8は、フルラインタイプのカラーインクジェット記録ヘッドであり、記録データに従ってインクを吐出する吐出口が、図1におけるy方向に沿って記録媒体Sの幅に相当する分だけ複数配列されている。記録ヘッド8が待機位置にあるとき、記録ヘッド8の吐出口面8aは、図1のようにキャップユニット10によってキャップされている。記録動作を行う際は、プリントコントローラによって、吐出口面8aがプラテン9と対向するように記録ヘッド8の向きが変更される。プラテン9は、y方向に延在する平板によって構成され、記録ヘッド8によって記録動作が行われる記録媒体Sを背面から支持する。   The recording head 8 of the present embodiment is a full-line type color inkjet recording head, and has a plurality of ejection openings corresponding to the width of the recording medium S along the y direction in FIG. It is arranged. When the recording head 8 is in the standby position, the ejection port surface 8a of the recording head 8 is capped by the cap unit 10 as shown in FIG. When performing the recording operation, the orientation of the recording head 8 is changed by the print controller so that the discharge port surface 8 a faces the platen 9. The platen 9 is constituted by a flat plate extending in the y direction, and supports the recording medium S on which the recording operation is performed by the recording head 8 from the back side.

インクタンクユニット14は、記録ヘッド8へ供給される4色のインクをそれぞれ貯留する。インク供給ユニット15は、インクタンクユニット14と記録ヘッド8を接続する流路の途中に設けられ、記録ヘッド8内のインクの圧力及び流量を適切な範囲に調整する。本実施形態では循環型のインク供給系を採用しており、インク供給ユニット15は記録ヘッド8へ供給されるインクの圧力と記録ヘッド8から回収されるインクの流量を適切な範囲に調整する。   The ink tank unit 14 stores the four colors of ink supplied to the recording head 8. The ink supply unit 15 is provided in the middle of the flow path connecting the ink tank unit 14 and the recording head 8, and adjusts the pressure and flow rate of the ink in the recording head 8 to an appropriate range. In this embodiment, a circulation type ink supply system is employed, and the ink supply unit 15 adjusts the pressure of the ink supplied to the recording head 8 and the flow rate of the ink recovered from the recording head 8 to an appropriate range.

メンテナンスユニット16は、キャップユニット10とワイピングユニット17を備え、所定のタイミングにこれらを作動させて、記録ヘッド8に対するメンテナンス動作を行う。   The maintenance unit 16 includes a cap unit 10 and a wiping unit 17 and operates them at a predetermined timing to perform a maintenance operation on the recording head 8.

図2はスキャナ部3の構成図である。図2に示すように、同時両面読み取りをする際には矢印Aの方向に読み取りの対象となる原稿を搬送する。原稿は、搬送ローラ220、搬送ローラ221、搬送ローラ222、搬送ローラ223、搬送ローラ224、搬送ローラ225により矢印Aの方向に搬送される。搬送された原稿は、その表面に記録された画像を読み取るための装置である表面用コンタクトイメージセンサ201の読み取り位置に達する。その表面の読み取り位置に達した原稿は表面用コンタクトイメージセンサ201の内部に設けられた原稿照明用の光源であるLEDから導光体を通して照射光で照射される。搬送を続けると、原稿は、その裏面に記録された画像を読み取るための装置である裏面用コンタクトイメージセンサ202の読み取り位置に達する。その読み取り裏面の位置に達した原稿は裏面用コンタクトイメージセンサ202の内部に設けられた原稿照明用の光源であるLEDから導光体の照射光で照射される。なお、これらのコンタクトイメージセンサは原稿の幅に相当する読み取り幅を持っている。その読み取り幅の方向は矢印Aには直角の方向である。この方向を主走査方向といい、矢印Aが示す原稿の搬送方向を副走査方向ともいう。したがって、2つのコンタクトイメージセンサを向かい合うように配置して、その原稿を矢印Aの方向に搬送することで、その原稿の両面の画像を同時に読み取ることが可能である。あるいはコンタクトイメージセンサを含む読み取りユニットを原稿に対して搬送してもよい。これにより、ラインセンサを形成するCISにより、原稿画像を線順次に読み取っていく。また、コンタクトイメージセンサには各々、カラー画像を読み取るために、青色LED、赤色LED、緑色LEDが備えられている。   FIG. 2 is a configuration diagram of the scanner unit 3. As shown in FIG. 2, when performing simultaneous double-sided reading, a document to be read is conveyed in the direction of arrow A. The document is conveyed in the direction of arrow A by the conveyance roller 220, the conveyance roller 221, the conveyance roller 222, the conveyance roller 223, the conveyance roller 224, and the conveyance roller 225. The conveyed document reaches the reading position of the contact image sensor for front surface 201 which is a device for reading the image recorded on the surface. The document that has reached the reading position on the surface is irradiated with irradiation light from an LED, which is a light source for illuminating the document, provided inside the surface contact image sensor 201 through a light guide. When the conveyance is continued, the document reaches the reading position of the contact image sensor 202 for the back surface which is a device for reading the image recorded on the back surface. The document that has reached the position on the back side of the reading is irradiated with light emitted from the light guide from an LED that is a light source for illuminating the document provided inside the contact image sensor 202 for the back side. These contact image sensors have a reading width corresponding to the width of the document. The direction of the reading width is a direction perpendicular to the arrow A. This direction is called the main scanning direction, and the document transport direction indicated by the arrow A is also called the sub-scanning direction. Therefore, by arranging the two contact image sensors so as to face each other and conveying the document in the direction of arrow A, it is possible to simultaneously read images on both sides of the document. Alternatively, a reading unit including a contact image sensor may be conveyed with respect to the document. Thus, the document image is read line-sequentially by the CIS that forms the line sensor. Each contact image sensor includes a blue LED, a red LED, and a green LED for reading a color image.

また、コンタクトイメージセンサ201、202の画素毎の感度を補正するためシェーディング補正シート210(表面用)が設けられている(なお、裏面用のシェーディング補正シートは図2において不図示)。原稿読取前にコンタクトイメージセンサをシェーディング補正シート上に移動させる。詳細は後述するが、光源のLEDを消灯した状態で黒シェーディングデータを取得することができ、LEDを点灯した状態で白シェーディングデータを取得することができる。なお、シェーディング補正シート210は、シェーディング補正用の部材であればよいため、シートのような部材に限らず、いわゆるシェーディング板と呼ばれるような板部材から構成されていてもよい。   In addition, a shading correction sheet 210 (for the front surface) is provided to correct the sensitivity of each pixel of the contact image sensors 201 and 202 (a shading correction sheet for the back surface is not shown in FIG. 2). The contact image sensor is moved onto the shading correction sheet before reading the document. Although details will be described later, black shading data can be acquired with the LED of the light source turned off, and white shading data can be acquired with the LED turned on. Since the shading correction sheet 210 may be a member for shading correction, the shading correction sheet 210 is not limited to a member such as a sheet, and may be a plate member called a so-called shading plate.

表面用コンタクトイメージセンサ201に設けられた各色LEDにより照射された各色光の原稿における反射光はレンズを通してコンタクトイメージセンサの基板上に配置されたイメージセンサに結像される。コンタクトイメージセンサ201によって結像された反射光が光電変換され、アナログ画像データ(アナログ信号)が出力される。コンタクトイメージセンサ基板上には、図示しないA/Dコンバータが搭載されており、このA/Dコンバータによりアナログ信号はデジタル信号に変換され、デジタル画像データとして出力される。一方、裏面用コンタクトイメージセンサ202に設けられた各色LEDにより照射された光の原稿においての反射光もレンズを通してコンタクトイメージセンサ202の基板上に配置されたイメージセンサ上に結像される。コンタクトイメージセンサ202では結像された反射光が光電変換され、アナログ画像データ(アナログ信号)となる。そして、コンタクトイメージセンサ基板上に搭載された図示しないA/Dコンバータにより、アナログ信号からデジタル信号に変換され、デジタル画像データとして出力される。本実施形態においては、コンタクトイメージセンサ201と202は、センサチップが複数配置されており、本例ではそれぞれ17個のイメージセンサチップが搭載されているものとする。   Reflected light on the original of each color light irradiated by each color LED provided on the front surface contact image sensor 201 forms an image on an image sensor disposed on the substrate of the contact image sensor through a lens. The reflected light imaged by the contact image sensor 201 is photoelectrically converted and analog image data (analog signal) is output. An A / D converter (not shown) is mounted on the contact image sensor substrate. The analog signal is converted into a digital signal by this A / D converter and output as digital image data. On the other hand, the reflected light of the light emitted from each color LED provided on the contact image sensor 202 for the back surface is imaged on the image sensor arranged on the substrate of the contact image sensor 202 through the lens. In the contact image sensor 202, the formed reflected light is photoelectrically converted into analog image data (analog signal). The analog signal is converted into a digital signal by an A / D converter (not shown) mounted on the contact image sensor substrate, and is output as digital image data. In the present embodiment, the contact image sensors 201 and 202 are provided with a plurality of sensor chips, and in this example, 17 image sensor chips are mounted.

本例では、各イメージセンサチップは、解像度600dpiで1チップに42umの開口幅の読取素子が、主走査方向に432画素配置されている。すなわち1チップ当たり432個の素子が連続して配置されている。このイメージセンサチップを17チップ主走査方向に配置することでA3幅以上の308mmを600dpi解像度で読取が可能となる。また、本例の読取素子は、CMOS構成だが、CCD構成でも同様に構成できる。   In this example, each image sensor chip has a resolution of 600 dpi and a reading element having an opening width of 42 μm per chip is arranged in 432 pixels in the main scanning direction. That is, 432 elements are continuously arranged per chip. By arranging this image sensor chip in the 17-chip main scanning direction, it is possible to read 308 mm of A3 width or more with 600 dpi resolution. In addition, the reading element of this example has a CMOS configuration, but can be configured similarly in a CCD configuration.

図3の画像処理ブロック300は表面用と裏面用途を含む。コンタクトイメージセンサ201からの表面画像のデジタル信号が表面用画像処理ブロック301に入力される。同様にコンタクトセンサ202から裏面画像のデジタル信号が、裏面用画像処理ブロック302に入力される。なお図3の回路は、たとえば最初にスタート信号を印加することで所定のタイミングで各ブロックに対するイネーブル信号などの各種信号を生成するシーケンサにより駆動制御されてもよいが、本実施形態ではスキャナ部3を制御するプロセッサ(不図示)によりプログラムに従って制御されるものとする。この場合にはたとえば、そのプロセッサが、所定のプログラムを実行することで、各回路ブロックに対する制御信号を出力する。制御の対象には図3の各ブロックのみならず、LEDなどを含む光学系、イメージセンサ、原稿の搬送系なども含む。   The image processing block 300 in FIG. 3 includes front side and back side applications. A digital signal of the surface image from the contact image sensor 201 is input to the surface image processing block 301. Similarly, a digital signal of the back side image is input from the contact sensor 202 to the back side image processing block 302. The circuit in FIG. 3 may be driven and controlled by a sequencer that generates various signals such as an enable signal for each block at a predetermined timing by first applying a start signal. It is assumed that it is controlled according to a program by a processor (not shown) that controls In this case, for example, the processor outputs a control signal for each circuit block by executing a predetermined program. Control targets include not only each block in FIG. 3 but also an optical system including an LED, an image sensor, a document transport system, and the like.

画像処理ブロック301および302は同等の回路構成であって図4で詳細説明を行う。画像処理ブロック301および302で画像処理された信号はプリンタコントロールインターフェースブロック303に入力され、プリンタコントロールユニットに出力される。表面用画像処理ブロック301の内部構成を簡単に説明する。AFE IF321でコンタクトイメージセンサから信号を受信する。点順次線順次変換部322にてR−G−Bの順番の1ライン3色のデータをR/G/B画素の順番に並び換える。この時点でCCD機と同じようにR/G/Bで1画素を構成するデータ形式となる。SHD(シェーディング処理部)323で画素のオフセットおよび感度を補正するシェーディング処理を行う。LUT324でイメージセンサ201のリニアリティを補正して輝度に比例した出力にテーブルで補正する。画像切り出し部325でデータの有効信号部分を切り出し、範囲外の部分を白でマスクする処理を行う。   The image processing blocks 301 and 302 have the same circuit configuration and will be described in detail with reference to FIG. The signals processed in the image processing blocks 301 and 302 are input to the printer control interface block 303 and output to the printer control unit. The internal configuration of the front surface image processing block 301 will be briefly described. AFE IF 321 receives a signal from the contact image sensor. The dot-sequential line-sequential conversion unit 322 rearranges the data of one line and three colors in the order of RGB in the order of R / G / B pixels. At this time, it becomes a data format in which one pixel is constituted by R / G / B as in the case of a CCD machine. An SHD (shading processing unit) 323 performs shading processing for correcting pixel offset and sensitivity. The linearity of the image sensor 201 is corrected by the LUT 324, and the output is proportional to the luminance by the table. The image cutout unit 325 cuts out the valid signal portion of the data and masks the portion outside the range with white.

図4にSHDブロックのブロック図を示す。この図は図3のSHD323、SHD333に相当する。SHDブロックは黒SHD補正部(黒シェーディング補正部)411、BSHD_RAM412、白SHD補正部(白シェーディング補正部)421、WSHD_RAM422、ライン積算値計算部431、WORK_RAM432、白SHD補正値計算部441、SHDconstレジスタ442、黒SHD補正値計算部451、BKoffsetレジスタ452、セレクタ461、最大・最小積算値計算部471、MAXレジスタ481、MINレジスタ482、積算レジスタ483から構成される。   FIG. 4 shows a block diagram of the SHD block. This figure corresponds to SHD 323 and SHD 333 in FIG. The SHD block includes a black SHD correction unit (black shading correction unit) 411, BSHD_RAM 412, white SHD correction unit (white shading correction unit) 421, WSHD_RAM 422, line integrated value calculation unit 431, WORK_RAM 432, white SHD correction value calculation unit 441, and SHDconst register. 442, a black SHD correction value calculation unit 451, a BKoffset register 452, a selector 461, a maximum / minimum integrated value calculation unit 471, a MAX register 481, a MIN register 482, and an integration register 483.

まず黒シェーディングデータの取得について説明する。黒シェーディングデータの取得は、黒SHD補正部411をスルー、白SHD補正部421をスルーに設定し、LEDを消灯した状態で行う。ライン積算値計算部431でR/G/Bの各画素のデータを取得し、WORK_RAM432にて複数ライン分積算する。例えば複数ラインの対応画素の値をRGBごとに積算する。予め決められたライン数を積算した後にデータ取得を停止し、黒SHD補正値計算部451にてWORK_RAM432のデータ(積算値)を画素毎にリードし、取得ライン数(すなわち積算したライン数)で割り算して平均値を求める。その平均値からBkOffsetレジスタ452に設定された値を引き算する。結果が正数の場合にはその値に、負数になった場合は0にクランプして各画素の黒SHD補正値を計算する。その黒SHD補正値はBSHD_RAM412にライトされる。黒シェーディング取得は全画素計算終了した時点で終了となる。すなわち1ライン分の画素(本例では432×17=7344画素)について黒シェーディング補正値を求める。   First, acquisition of black shading data will be described. The black shading data is acquired in a state where the black SHD correction unit 411 is set to “through” and the white SHD correction unit 421 is set to “through” and the LED is turned off. The line integration value calculation unit 431 acquires R / G / B pixel data, and the WORK_RAM 432 integrates a plurality of lines. For example, the values of corresponding pixels in a plurality of lines are integrated for each RGB. The data acquisition is stopped after integrating the predetermined number of lines, and the black SHD correction value calculation unit 451 reads the data (integrated value) of the WORK_RAM 432 for each pixel, and obtains the number of acquired lines (that is, the integrated number of lines). Divide to find the average value. The value set in the BkOffset register 452 is subtracted from the average value. When the result is a positive number, it is clamped to that value, and when it is a negative number, it is clamped to 0 and the black SHD correction value of each pixel is calculated. The black SHD correction value is written in the BSHD_RAM 412. Black shading acquisition ends when all pixel calculations are completed. That is, a black shading correction value is obtained for pixels for one line (in this example, 432 × 17 = 7344 pixels).

次に白シェーディングデータの取得について説明する。白シェーディングデータ取得は、黒SHD補正部411を補正ONとし、白SHD補正部412をスルーに設定し、LEDは点灯した状態で行う。ライン積算値計算部431でR/G/Bの各画素のデータを取得し、WORK_RAM432に複数ライン分積算する。予め決められたライン数を積算した後にデータ取得を停止し白SHD補正計算部441にてWORK_RAM432のデータを画素ごとにリードし取得ライン数で割り算して平均値を求める。求めた各画素の平均値で、SHDconstレジスタ442に設定された値を割り算する。求めた値がWSHD_RAMに格納できる値ならその値で、WSHD_RAMに格納できる値より大きくなった場合は格納できる最大値でクランプして各画素(1ライン中の各画素)の白SHD補正値を計算する。その白SHD補正値はWSHD_RAM422にライトされる。白シェーディング取得は全画素計算終了した時点で終了となる。なお白シェーディングデータ取得時には、イメージセンサによる読み取り対象はたとえば白のシェーディング板などであればよい。   Next, acquisition of white shading data will be described. The white shading data acquisition is performed with the black SHD correction unit 411 set to correction ON, the white SHD correction unit 412 set to through, and the LED lit. The line integration value calculation unit 431 acquires data of each pixel of R / G / B and integrates a plurality of lines in the WORK_RAM 432. The data acquisition is stopped after accumulating a predetermined number of lines, and the white SHD correction calculation unit 441 reads the data in the WORK_RAM 432 for each pixel and divides the data by the number of acquired lines to obtain an average value. The value set in the SHDconst register 442 is divided by the obtained average value of each pixel. Calculate the white SHD correction value for each pixel (each pixel in one line) by clamping it with the maximum value that can be stored if it is larger than the value that can be stored in WSHD_RAM. To do. The white SHD correction value is written in the WSHD_RAM 422. The white shading acquisition ends when all pixel calculations are completed. When white shading data is acquired, the object to be read by the image sensor may be, for example, a white shading plate.

次にSHD補正を実行する時の説明を行う。この場合は黒SHD補正部411をON、白SHD補正部412をON、ライン積算部431をスルーとして黒SHD補正、白SHD補正した画像データを後段に出力する。黒SHD補正部411はBSHD_RAM412から各画素の黒SHD補正値をリードし画像データに対して減算する。負数となった場合は0でクランプし画像データを出力する。白SHD補正部421はWSHD_RAM422から各画素の白SHD補正値をリードし黒SHD補正された画像データに白SHDデータを乗算する。ある最大値(たとえば各色成分の最大値)をオーバした場合はその最大値でクランプして画像データを出力する。   Next, a description will be given of executing SHD correction. In this case, the black SHD correction unit 411 is turned on, the white SHD correction unit 412 is turned on, and the line integration unit 431 is set to through, and the image data subjected to black SHD correction and white SHD correction is output to the subsequent stage. The black SHD correction unit 411 reads the black SHD correction value of each pixel from the BSHD_RAM 412 and subtracts it from the image data. When it becomes a negative number, it clamps at 0 and outputs image data. The white SHD correction unit 421 reads the white SHD correction value of each pixel from the WSHD_RAM 422 and multiplies the black SHD corrected image data with the white SHD data. When a certain maximum value (for example, the maximum value of each color component) is exceeded, the image data is output after being clamped at the maximum value.

最大・最小・積算値計算部471の動作を説明する。セレクタ461で最大値・最小値・積算値を求めたいRAMを選択する。選択できるものとしてはBSHD_RAM412、WSHD_RAM422、WORK_RAM432のR/G/B成分で、全部で9個のRAMが選択可能である。最大・最小・積算値計算部471はセレクタ461で選択されたRAMのデータをリードし、決められた画素数で区切って、その区切りの中で最大値・最小値・積算値を計算する。コンタクトイメージセンサの場合は、例えば決められた画素数としてセンサチップ1個分の画素数を設定することになる。計算された最大値は最大値レジスタ481にライトされ、最小値は最小値レジスタ482にライトされ、積算値は積算値レジスタ483にライトされる。最大値レジスタ481、最小値レジスタ482、積算値レジスタ483は、イメージセンサのチップ数以上存在する。本実施形態ではイメージセンサのチップ数は17個、レジスタは18個である。   The operation of the maximum / minimum / integrated value calculation unit 471 will be described. The RAM for which the maximum value / minimum value / integrated value is to be obtained is selected by the selector 461. Among the R / G / B components of BSHD_RAM 412, WSHD_RAM 422, and WORK_RAM 432 that can be selected, a total of nine RAMs can be selected. The maximum / minimum / integrated value calculation unit 471 reads the RAM data selected by the selector 461, divides the data by a predetermined number of pixels, and calculates the maximum value / minimum value / integrated value within the determined number. In the case of a contact image sensor, for example, the number of pixels for one sensor chip is set as the determined number of pixels. The calculated maximum value is written to the maximum value register 481, the minimum value is written to the minimum value register 482, and the integrated value is written to the integrated value register 483. The maximum value register 481, the minimum value register 482, and the integrated value register 483 exist more than the number of chips of the image sensor. In this embodiment, the image sensor has 17 chips and 18 registers.

最後にSHDブロック全体を制御するSHD制御部491を簡単に説明する。これは黒シェーディング取得、白シェーディング取得、SHD補正動作、最大・最小・積算値計算処理の全体を制御するものである。それぞれの動作のトリガを受け取り、ブロックを動作開始―終了し全体の処理が終了した時点で割り込みを発生させる動作を行う。上述した説明において、白SHD補正部や黒SHD補正部などのオン/オフ切り替え、セレクタの選択信号などの各信号は、上述した不図示のプロセッサにより与えられてよい。   Finally, the SHD control unit 491 that controls the entire SHD block will be briefly described. This controls the entire black shading acquisition, white shading acquisition, SHD correction operation, and maximum / minimum / integrated value calculation processing. The trigger of each operation is received, the operation of the block starts and ends, and when the entire processing is completed, an operation for generating an interrupt is performed. In the above description, signals such as on / off switching of the white SHD correction unit and the black SHD correction unit, a selector selection signal, and the like may be given by the above-described processor (not shown).

図5はスキャナ部3におけるシェーディングデータ取得フローを示したものである。図5の手順は、たとえば、スキャナ部3を制御する上述した不図示のプロセッサにより実行されてよいが、シーケンサなどのハードウエアによる制御の手順を示したものとしてもよい。図5の手順は、たとえば画像読取装置の電源投入後の初期化処理で実行してよいし、あるいはシェーディングデータの更新を例えばユーザインターフェイスなどから明示的な指示に応じて実行してもよい。   FIG. 5 shows a shading data acquisition flow in the scanner unit 3. The procedure in FIG. 5 may be executed by, for example, the above-described processor (not shown) that controls the scanner unit 3, but may be a control procedure by hardware such as a sequencer. The procedure shown in FIG. 5 may be executed, for example, in an initialization process after the image reading apparatus is turned on, or shading data may be updated according to an explicit instruction from a user interface, for example.

シェーディングデータ取得が開始されると(S100)、LEDを消灯し(S101)、黒シェーディングデータを取得する(S102)。黒シェーディングデータ取得フローを図6に示す。まず、黒シェーディング補正部411をスルー、白シェーディング補正部421をスルーに設定し、黒シェーディング取得開始トリガをONにする(S202)。すると、読取ユニットにより複数ライン分の黒シェーディングデータを読み込む(S203)。読み込んだデータは、画素毎に、WORK_RAM(432)を使用して複数ライン分加算し(S204)、ライン数で割って平均化する(S205)。この平均値からオフセットを減算し(S206)、黒シェーディング補正値としてBSHD_RAM412に格納する(S207)。データ読み込み(S203)から補正値の格納(S207)までは色成分R/G/Bを同時に処理し、終了したら割り込みを返す(S208)。黒シェーディング取得が完了すると、取得した黒シェーディング補正値が補正範囲内かどうかを確認することで、黒シェーディング異常判断を行う(S103)。前記補正値が補正範囲外の場合、異常と判断し、異常処理に遷移する。補正範囲の値はあらかじめ決めておいてよい。   When shading data acquisition is started (S100), the LED is turned off (S101), and black shading data is acquired (S102). The black shading data acquisition flow is shown in FIG. First, the black shading correction unit 411 is set to through, the white shading correction unit 421 is set to through, and the black shading acquisition start trigger is turned on (S202). Then, the black shading data for a plurality of lines is read by the reading unit (S203). The read data is added for a plurality of lines using WORK_RAM (432) for each pixel (S204), and is divided by the number of lines and averaged (S205). The offset is subtracted from the average value (S206) and stored as a black shading correction value in the BSHD_RAM 412 (S207). From the data reading (S203) to the correction value storage (S207), the color components R / G / B are processed at the same time, and upon completion, an interrupt is returned (S208). When the black shading acquisition is completed, it is determined whether or not the acquired black shading correction value is within the correction range, thereby determining black shading abnormality (S103). When the correction value is out of the correction range, it is determined that there is an abnormality and the process proceeds to an abnormality process. The value of the correction range may be determined in advance.

黒シェーディング補正値が正常の場合、白シェーディング取得のため、LEDを点灯させる(S104)。本実施形態では移動シェーディングを実施するため、読取ユニット201,202の移動を開始し(S105)、白シェーディング取得を開始する(S106)。白シェーディング取得フローを図7に示す。まず、黒シェーディング補正をON、白シェーディング補正をスルーに設定し白シェーディングデータ取得開始トリガをONにし(S303)、読取ユニット201,202が移動しながら複数ライン分のデータを読み込む(S304)。読み込んだデータは画素毎に、WORK_RAM432を使用して複数ライン分加算し(S305)、ライン数で割って平均化する(S306)。その後、SHDconstの値を各画素の平均値で割り(S307)、得られた結果を白シェーディング補正値としてWSHD_RAM432に格納する(S308)。データ読み込み(S304)から補正値の格納(S308)までは色成分R/G/Bを同時に処理し、終了したら割り込みを返す(S309)。   If the black shading correction value is normal, the LED is lit to obtain white shading (S104). In this embodiment, in order to carry out moving shading, movement of the reading units 201 and 202 is started (S105), and white shading acquisition is started (S106). The white shading acquisition flow is shown in FIG. First, the black shading correction is set to ON, the white shading correction is set to through, the white shading data acquisition start trigger is set to ON (S303), and the reading units 201 and 202 read data for a plurality of lines while moving (S304). For each pixel, the read data is added for a plurality of lines using the WORK_RAM 432 (S305), and is divided by the number of lines and averaged (S306). Thereafter, the value of SHDconst is divided by the average value of each pixel (S307), and the obtained result is stored in the WSHD_RAM 432 as a white shading correction value (S308). From the data reading (S304) to the correction value storage (S308), the color components R / G / B are simultaneously processed, and upon completion, an interrupt is returned (S309).

白シェーディング取得が完了すると、取得した白シェーディング補正値を用いて白シェーディング異常判断を行う(S107)。白シェーディング異常判断フローを図8に示す。WSHD_RAM422に格納したRの白シェーディング補正値をWORK_RAM432に読み出し、チップ平均値を算出する(S401)。チップ平均値の算出方法について図9に示す。図9の回路は、図4のSHDブロック図中の最大値・最小値・積算値計算部471に含まれる。   When the white shading acquisition is completed, white shading abnormality determination is performed using the acquired white shading correction value (S107). The white shading abnormality determination flow is shown in FIG. The R white shading correction value stored in the WSHD_RAM 422 is read into the WORK_RAM 432, and the chip average value is calculated (S401). The method for calculating the chip average value is shown in FIG. The circuit of FIG. 9 is included in the maximum value / minimum value / integrated value calculation unit 471 in the SHD block diagram of FIG.

WSHD_RAM432から読み出したR成分の白シェーディング補正値では、補正値は画素単位で得られているのでそれをチップ単位に分割する。すなわち、チップに含まれた素子を一つのグループとして、チップすなわちグループごとに最大値・最小値・積算値を求め、レジスタMax_REGs481、Min_REGs482、Add_REGs483にそれぞれ格納する。Add_REGs483に格納した積算値を1チップあたりの画素数で割ることで、チップ平均値WSHD_AVE_R「n」を算出する。これをG/B成分についても繰り返し、各色成分の白シェーディング補正値のチップ平均を得る。なお、チップ平均値の算出方法は、相加平均だけでなく、加重平均、相乗平均、調和平均等の算出方法を用いてもよい。つまり、本発明のチップ平均値とは、1チップ内の平均を示す値であればよく、相加平均値に限定されない。また図9の例では、最大値、最小値、積算値を各レジスタへ格納するまではハードウエアにより行い、レジスタから値を読んで平均値を算出する処理は、例えば前述したプロセッサにより実行する。   In the R component white shading correction value read out from the WSHD_RAM 432, the correction value is obtained in units of pixels, and is divided into units of chips. That is, with the elements included in the chip as one group, the maximum value, the minimum value, and the integrated value are obtained for each chip, that is, the group, and stored in the registers Max_REGs 481, Min_REGs 482, and Add_REGs 483, respectively. The chip average value WSHD_AVE_R “n” is calculated by dividing the integrated value stored in Add_REGs 483 by the number of pixels per chip. This is repeated for the G / B component, and the chip average of the white shading correction value of each color component is obtained. In addition, the calculation method of a chip | tip average value may use not only an arithmetic mean but calculation methods, such as a weighted average, a geometric mean, and a harmonic average. That is, the chip average value of the present invention may be a value indicating an average within one chip, and is not limited to the arithmetic average value. In the example of FIG. 9, the maximum value, the minimum value, and the integrated value are performed by hardware until they are stored in each register, and the process of reading the value from the register and calculating the average value is executed by, for example, the processor described above.

S401で算出したチップ平均のうち、色成分毎の最大値WSHD_Max_R/WSHD_Max_G/WSHD_Max_Bと、最小値WSHD_Min_R/WSHD_Min_G/WSHD_Min_Bを算出(あるいは決定)する。また、全色成分のチップ平均値の中から、最大値WSHD_Maxを算出する(S402)。最大値WSHD_Maxが、予め定められた閾値Max_THより大きい場合(S403のYes)、白シェーディング異常と判定し(S404)、図11のような白シェーディング異常を示すエラー画面を操作パネル104に表示させ、画像形成装置1の動作を停止する。最大値WSHD_MaxがMax_TH以下の場合(S403のNo)、S405に遷移し、色成分ごとに白シェーディング補正値の均一性指数WSHD_Up_R/WSHD_Up_G/WSHD_Up_Bを求める。ここで均一性指数Upは以下の式で表される。WSHD_Up_R=(WSHD_Max_R−WSHD_Min_R)/(WSHD_Max_R+WSHD_Min_R)。均一性が高いほどWSHD_Max_RとWSHD_Min_Rとの差は小さいので、均一性指数Upの値は小さくなる。つまり、均一性指数Upの値が大きいほどばらつきが大きいことを示す。各色成分の均一性指数WSHD_Up_R/WSHD_Up_G/WSHD_Up_Bの少なくともいずれかが、予め定められた閾値Up_THより大きい場合(S406のYes)、白シェーディング異常と判定し(S407)、図11のような白シェーディング異常を示すエラー画面を操作パネル104に表示させ、画像形成装置1の動作を停止する。各色成分の均一性指数WSHD_Up_R/WSHD_Up_G/WSHD_Up_Bの全てが閾値Up_TH以下の場合(S406のNo)、S408に遷移し、白シェーディング異常検知を終了する。白シェーディング異常検知S107が完了すると、読取ユニットはホームポジションに戻って停止し(S108)、シェーディング取得処理を終了する(S109)。なお均一性指数としては、たとえば白シェーディングデータ補正値のチップごとの平均値の分散や標準偏差を用いてもよい(※シェーディングデータそのものを特性値として用いているのは実施形態2かと思いますので、「補正値」を追加しましたが、もしこの文の意図と違いましたらご連絡ください。以下の記載においても、一部、「補正値」の文言を追加しておりますので、ご確認お願いいたします。)。それらの値が所定の閾値よりも小さければ均一性が高いと反転でき、逆に大きければばらつきが大きく、異常があると推定できる。エラー画面には、エラーであることを示すメッセージと、エラーの種類を示すコードとが表示される。   Of the chip averages calculated in S401, the maximum value WSHD_Max_R / WSHD_Max_G / WSHD_Max_B and the minimum value WSHD_Min_R / WSHD_Min_G / WSHD_Min_B for each color component are calculated (or determined). Also, the maximum value WSHD_Max is calculated from the chip average values of all color components (S402). When the maximum value WSHD_Max is larger than a predetermined threshold Max_TH (Yes in S403), it is determined that white shading is abnormal (S404), and an error screen indicating white shading abnormality as shown in FIG. 11 is displayed on the operation panel 104. The operation of the image forming apparatus 1 is stopped. When the maximum value WSHD_Max is equal to or less than Max_TH (No in S403), the process proceeds to S405, and the uniformity index WSHD_Up_R / WSHD_Up_G / WSHD_Up_B of the white shading correction value is obtained for each color component. Here, the uniformity index Up is expressed by the following equation. WSHD_Up_R = (WSHD_Max_R−WSHD_Min_R) / (WSHD_Max_R + WSHD_Min_R). The higher the uniformity, the smaller the difference between WSHD_Max_R and WSHD_Min_R, so the value of the uniformity index Up becomes smaller. That is, the greater the uniformity index Up, the greater the variation. When at least one of the uniformity index WSHD_Up_R / WSHD_Up_G / WSHD_Up_B of each color component is larger than a predetermined threshold Up_TH (Yes in S406), it is determined that white shading is abnormal (S407), and white shading abnormality as shown in FIG. Is displayed on the operation panel 104, and the operation of the image forming apparatus 1 is stopped. If all the uniformity indexes WSHD_Up_R / WSHD_Up_G / WSHD_Up_B of each color component are equal to or less than the threshold value Up_TH (No in S406), the process proceeds to S408, and the white shading abnormality detection is terminated. When the white shading abnormality detection S107 is completed, the reading unit returns to the home position and stops (S108), and the shading acquisition process ends (S109). As the uniformity index, for example, the variance or standard deviation of the average value of the white shading data correction value for each chip may be used (* Since the shading data itself is used as the characteristic value, it is considered to be the embodiment 2). , “Correction value” has been added, but please contact us if it is different from the intention of this sentence.Please confirm that the word “Correction value” has also been added in the following description. I will do it.) If these values are smaller than a predetermined threshold value, it can be reversed if the uniformity is high. On the error screen, a message indicating an error and a code indicating the type of error are displayed.

ここで白シェーディング補正値のチップ単位の平均値を算出する部分の動作の説明を図9にあらためて示す。この処理は図8のステップS401に相当し、図4のSHDブロック図中の最大値最小値積算値計算部471で行う。まず図4セレクタ461にて検出対象のRAMを選択する。白シェーディング補正値の平均値算出を行うためWSHD_RAM432を選択する。また平均値の算出は1成分ずつ実行する仕様であるためR/G/Bの一つを選択して実行する。対象のRAMを選択した後に図4のSHD制御491に対して最大値・最小値・積算値を算出するためのトリガを発行する。トリガの発行はスキャナ部3を制御するプロセッサが行ってよい。   Here, the operation of the portion for calculating the average value of the white shading correction value for each chip is shown again in FIG. This process corresponds to step S401 in FIG. 8, and is performed by the maximum / minimum integrated value calculation unit 471 in the SHD block diagram of FIG. First, the RAM to be detected is selected by the selector 461 in FIG. The WSHD_RAM 432 is selected to calculate the average value of the white shading correction value. In addition, since the calculation of the average value is a specification executed for each component, one of R / G / B is selected and executed. After selecting the target RAM, a trigger for calculating the maximum value / minimum value / integrated value is issued to the SHD control 491 in FIG. The issuance of the trigger may be performed by a processor that controls the scanner unit 3.

最大値最小値積算値計算部471はWSHD_RAM422を1画素ずつリードし最大値・最小値・積算値を計算する。センサ1チップ分の画素数に相当する分をリードした時点で最大値の結果をMAX_REGs481にライトし、最小値の結果をMIN_REGs482にライトし、積算値の結果をADD_REGs483にライトする。1チップ分の計算が終了した時点で最大値・最小値・積算値のテンポラリレジスタをリセットして次のチップの処理を行う。MAX_REGs481、MIN_REGs482、ADD_REGs483はチップ数分用意してあるので全部のチップの最大値・最小値・積算値を得ることができる。全チップ分の計算が終了した時点でSHD制御部491が割り込みを発行し最大値最小値積算値計算を終了する。   The maximum / minimum integrated value calculation unit 471 reads the WSHD_RAM 422 pixel by pixel and calculates the maximum value / minimum value / integrated value. When the amount corresponding to the number of pixels for one sensor chip is read, the maximum value result is written to MAX_REGs 481, the minimum value result is written to MIN_REGs 482, and the integrated value result is written to ADD_REGs 483. When the calculation for one chip is completed, the temporary register for the maximum value, minimum value, and integrated value is reset, and the next chip is processed. Since MAX_REGs 481, MIN_REGs 482, and ADD_REGs 483 are prepared for the number of chips, the maximum value / minimum value / integrated value of all the chips can be obtained. When the calculation for all the chips is completed, the SHD control unit 491 issues an interrupt, and the maximum value / minimum value integrated value calculation ends.

チップ単位の最大値・最小値・積算値の計算が終了するとFW処理でADD_REGs(483)の結果をリードしそれを1チップの画素数で割り算して各チップの平均値を算出する。それをR/G/Bと3成分繰り返して3色分の各チップ単位の白シェーディング補正値の平均値を求める。   When the calculation of the maximum value / minimum value / integrated value for each chip is completed, the result of ADD_REGs (483) is read by the FW process, and is divided by the number of pixels of one chip to calculate the average value of each chip. This is repeated with R / G / B and three components, and the average value of white shading correction values for each chip for three colors is obtained.

図10に、図8のステップS402までの処理により得られたチップ単位の白シェーディング補正値の平均値の例を示す。上述したようにセンサ201,202はそれぞれチップ0からチップ16までの17個のセンサチップから構成されている。値1001は各センサチップの白シェーディング補正値の平均値を示す。また、所定の閾値MAX_TH1002も示される。図10において、チップ6の平均値がチップ全体の最大値であり、その値は閾値MAX_THを超えている。そのため、図10の場合には図8のステップS403で異常と判定される。なお、本例では各チップのシェーディング補正値の平均値のうち最大値が所定の閾値を超えているかを判定しているが、本例に限らず、各チップのシェーディング補正値の平均値のうちいずれかが閾値を超えているかを判定すればよい。またチップ5のシェーディング補正値の平均値が、チップ全体における平均値の最小値である。そのため、図10の例では、チップ5のシェーディング補正値の平均値を最小値WSHD_Minとして、チップ6のシェーディング補正値の平均値を最大値WSHD_Maxとして、均一性指数WSHD_Upが計算される。均一性指数WSHD_Upが閾値を超えた場合にも異常と判定される。   FIG. 10 shows an example of the average value of the white shading correction values for each chip obtained by the processing up to step S402 in FIG. As described above, the sensors 201 and 202 are each composed of 17 sensor chips from chip 0 to chip 16. A value 1001 indicates an average value of white shading correction values of the sensor chips. A predetermined threshold MAX_TH1002 is also shown. In FIG. 10, the average value of the chip 6 is the maximum value of the entire chip, and the value exceeds the threshold value MAX_TH. Therefore, in the case of FIG. 10, it is determined to be abnormal in step S403 of FIG. In this example, it is determined whether the maximum value among the average values of the shading correction values of each chip exceeds a predetermined threshold, but not limited to this example, the average value of the shading correction values of each chip. What is necessary is just to determine whether any is over the threshold value. Further, the average value of the shading correction values of the chip 5 is the minimum value of the average value in the entire chip. Therefore, in the example of FIG. 10, the uniformity index WSHD_Up is calculated with the average value of the shading correction value of the chip 5 as the minimum value WSHD_Min and the average value of the shading correction value of the chip 6 as the maximum value WSHD_Max. Even when the uniformity index WSHD_Up exceeds the threshold value, it is determined to be abnormal.

以上の構成により、シェーディング、特に白シェーディングの異常を画素毎ではなくチップの平均値で判断する。そのため、特定のイメージセンサの素子に付着したゴミ等に対しては異常と判定せず、センサチップの故障やLEDの点灯不良といった、複数のイメージセンサ素子(特に一連の複数の素子)により異常を検知する。換言すれば、シェーディング補正値の高周波成分をフィルタリングし、チップ単位で判定することで、画素単位の異常に対する過敏さを抑制し、異常検知の精度を向上させることができる。   With the above configuration, an abnormality in shading, particularly white shading, is determined not by each pixel but by the average value of the chip. For this reason, dust attached to a specific image sensor element is not judged to be abnormal, and abnormalities are caused by multiple image sensor elements (particularly a series of multiple elements) such as sensor chip failures or LED lighting failures. Detect. In other words, by filtering the high-frequency component of the shading correction value and making a determination in units of chips, it is possible to suppress the sensitivity to abnormalities in units of pixels and improve the accuracy of abnormality detection.

[実施形態2]
実施形態1記載の、図8の白シェーディング異常検知フローチャートにおいては、白シェーディングデータ取得処理(S106)によって得られる白シェーディング補正値を用いて異常判定を行うのに対し(S401)、実施形態2においては、取得された白シェーディングデータそのものを使用し異常判定を行う。すなわち、本実施形態では、イメージセンサの読取素子ごとのシェーディング特性を示す特性値としてシェーディングデータそのものを使用し、それに基づいてイメージセンサや照明(たとえばLED)の異常を検知する。
[Embodiment 2]
In the white shading abnormality detection flowchart of FIG. 8 described in the first embodiment, the abnormality determination is performed using the white shading correction value obtained by the white shading data acquisition process (S106) (S401). Performs the abnormality determination using the acquired white shading data itself. That is, in this embodiment, shading data itself is used as a characteristic value indicating the shading characteristic for each reading element of the image sensor, and an abnormality in the image sensor or illumination (for example, LED) is detected based on the shading data.

図12に実施形態2の異常検出のイメージ図を示す。この実施形態では白シェーディング補正値・黒シェーディング補正値を計算せずに異常判定を行うので白シェーディングデータはイメージセンサのオフセットレベルが加算されて出力される。つまり黒SHD補正を行わないデータとなる。そのためチップごとに黒シェーディングデータの平均値を求めそれを白シェーディングデータから引き算する処理が必要となる。本来は、黒SHD補正は画素単位で処理するものであるが黒SHD補正できないので簡易的にチップ単位で平均化した黒シェーディングデータを黒SHD補正値として扱う。   FIG. 12 shows an image diagram of abnormality detection according to the second embodiment. In this embodiment, since the abnormality determination is performed without calculating the white shading correction value and the black shading correction value, the white shading data is output with the offset level of the image sensor added. That is, the data is not subjected to black SHD correction. Therefore, it is necessary to obtain a mean value of the black shading data for each chip and subtract it from the white shading data. Originally, black SHD correction is performed in units of pixels, but since black SHD correction cannot be performed, black shading data that is simply averaged in units of chips is handled as a black SHD correction value.

チップごとの白シェーディングデータの平均値から黒シェーディングデータの平均値を引き算したものの最大値(WSHD_Max)と最小値(WSHD_Min)を求める。実施形態2では最小値のほうが異常なのでWSHD_Minがあらかじめ決められた閾値(MIN_TH)を下回ったとき異常と判定しエラー処理を行う。また均一性の計算は実施形態1と同じ式、
Up=(WSHD_Max−WSHD_Min)/(WSHD_Max+WSHD_Min)
で算出される。これは白シェーディングデータと白シェーディング補正値は逆数の関係となるが均一性指数Upを計算すると同じ式で計算されるためである。
実施形態1と同じように均一性指数Upがあらかじめ決められた閾値を上回ったとき異常と判定しエラー処理を行う。
A maximum value (WSHD_Max) and a minimum value (WSHD_Min) are obtained by subtracting the average value of black shading data from the average value of white shading data for each chip. In Embodiment 2, since the minimum value is more abnormal, when WSHD_Min falls below a predetermined threshold value (MIN_TH), it is determined as abnormal and error processing is performed. In addition, the calculation of uniformity is the same as in Embodiment 1,
Up = (WSHD_Max−WSHD_Min) / (WSHD_Max + WSHD_Min)
Is calculated by This is because the white shading data and the white shading correction value have a reciprocal relationship, but the uniformity index Up is calculated by the same formula.
As in the first embodiment, when the uniformity index Up exceeds a predetermined threshold, it is determined as abnormal and error processing is performed.

図13に実施形態2のフローチャートを示す。ほとんど実施形態1のフロー(図8)と同じであるため詳細な説明は省略するが違いとしては白シェーディング補正値のチップ平均取得(S401)の前に、チップ単位で黒レベル値を積算して1画素あたりの値に平均する黒レベルチップ平均取得(S1301)が追加となる。また、白シェーディング補正値のチップ平均取得(S401)の代わりにチップ単位で白レベル値を積算して1画素あたりの値に平均する白レベルチップ平均取得(S1302)となる。フローでは示していないがチップ平均、MAX/MIN算出(S1303)では、S1302で取得した白レベルチップ平均値からS1301で取得した黒レベルチップ平均値を引き算して差分を求めたのち最大値・最小値を算出する。最後の違いとしてはS1304で算出した最小値を閾値MIN_THと比較して、閾値以下の場合、異常としてエラー処理を行っている。   FIG. 13 shows a flowchart of the second embodiment. Since it is almost the same as the flow of FIG. 1 (FIG. 8), detailed description is omitted. However, the difference is that the black level value is integrated in units of chips before the chip average acquisition of the white shading correction value (S401). Black level chip average acquisition (S1301) that averages the value per pixel is added. Further, instead of obtaining the average chip value of the white shading correction value (S401), the white level chip average acquisition (S1302) is performed in which the white level values are integrated in units of chips and averaged to the value per pixel. Although not shown in the flow, in the chip average and MAX / MIN calculation (S1303), the black level chip average value acquired in S1301 is subtracted from the white level chip average value acquired in S1302, and the maximum value / minimum is obtained. Calculate the value. The last difference is that the minimum value calculated in S1304 is compared with the threshold value MIN_TH, and if it is equal to or less than the threshold value, error processing is performed as an abnormality.

なお、図13の手順では白シェーディング補正値および黒シェーディング補正値を計算していないために、例えば図4の各補正部411,421,431をスルーした画素値を対象として、最大・最小・積算値計算部471により、チップごとの最大値、最小値、平均値を算出する。また異常が検出されなかった場合には、あらためて黒シェーディング補正値と白シェーディング補正値を計算して、BSHD_RAM412とWSHD_RAM422にそれぞれ格納し、シェーディング補正のために用いてもよい。あるいはそれぞれのシェーディング補正値が既に求められ、格納されている場合には、異常が検出されなければ、格納済みの値を用いてもよい。   Since the white shading correction value and the black shading correction value are not calculated in the procedure of FIG. 13, for example, pixel values that have passed through the correction units 411, 421, and 431 of FIG. The value calculation unit 471 calculates the maximum value, the minimum value, and the average value for each chip. If no abnormality is detected, the black shading correction value and the white shading correction value may be calculated again and stored in BSHD_RAM 412 and WSHD_RAM 422, respectively, and used for shading correction. Alternatively, when the respective shading correction values are already obtained and stored, the stored values may be used if no abnormality is detected.

このようにして白レベルのチップ平均値が所定の閾値以下であると、白シェーディング異常と判定する。図12の例では、チップ6の白レベルのチップ平均値が最小であり、黒レベルに近い値となっている。その最小値が不図示の閾値以下であれば白シェーディング異常と判定されることになる。以上の構成により、シェーディング、特に白シェーディングの異常を画素毎ではなくチップの平均値で判断する。そのため、特定のイメージセンサの素子に付着したゴミ等に対しては異常と判定せず、センサチップの故障やLEDの点灯不良といった、複数のイメージセンサ素子(特に一連の複数の素子)により異常を検知する。換言すれば、白レベル値の高周波成分をフィルタリングし、チップ単位で判定することで、画素単位の異常に対する過敏さを抑制し、異常検知の精度を向上させることができる。さらに本実施形態では、シェーディング補正値を計算しないために、異常判定の処理の簡素化を図ることができる。さらに、すでに計算され、メモリに保存されたシェーディング補正値をそのまま変更することなく、センサチップやLEDなどの異常を検出することができる。   In this way, when the chip average value of the white level is equal to or less than the predetermined threshold, it is determined that white shading is abnormal. In the example of FIG. 12, the chip average value of the white level of the chip 6 is the minimum and is close to the black level. If the minimum value is not more than a threshold value (not shown), it is determined that white shading is abnormal. With the above configuration, an abnormality in shading, particularly white shading, is determined not by each pixel but by the average value of the chip. For this reason, dust attached to a specific image sensor element is not determined to be abnormal, and abnormalities are caused by a plurality of image sensor elements (particularly a series of a plurality of elements) such as sensor chip failure or LED lighting failure. Detect. In other words, by filtering the high-frequency component of the white level value and determining in units of chips, it is possible to suppress the sensitivity to abnormality in units of pixels and improve the accuracy of abnormality detection. Furthermore, in this embodiment, since the shading correction value is not calculated, the abnormality determination process can be simplified. Furthermore, an abnormality such as a sensor chip or LED can be detected without changing the shading correction value that has already been calculated and stored in the memory.

[実施形態3]
実施形態3では読取を高速に行うため構成が複雑なイメージセンサを使用した場合であってそれぞれの異常個所を判別すること行うものである。図14にイメージセンサの構成を示す。イメージセンサ1401は光源1411と1412の両側にあって導光体1413を介して原稿照明となる。センサチップ1431−1447は全部で6つの出力に分けられ出力される。その出力は1421−1426である。この出力は、図示しないA/Dコンバータでデジタル信号に変換され、画像ブロック300のコンタクトイメージセンサ201とコンタクトイメージセンサ202のデジタル信号として出力される。
[Embodiment 3]
In the third embodiment, an image sensor having a complicated configuration is used in order to perform reading at high speed, and each abnormal portion is determined. FIG. 14 shows the configuration of the image sensor. The image sensor 1401 is on both sides of the light sources 1411 and 1412 and illuminates the document via the light guide 1413. The sensor chips 1431 to 1447 are divided into six outputs in total and output. Its output is 1421-1426. This output is converted into a digital signal by an A / D converter (not shown) and output as a digital signal of the contact image sensor 201 and the contact image sensor 202 of the image block 300.

図14に示すイメージセンサの場合は異常状態として単一のセンサチップ異常、単一の出力異常、右側LED光源異常、左側LED光源異常などが考えられる。そのうち右側LED異常の時の各センサチップの白シェーディングデータの平均値を図15(A)に、いずれか一つの出力異常の時の各センサチップの白シェーディングデータの平均値を図15(B)に示す。白シェーディングデータは実施形態2と同じ要領で取得すればよい。図15(A)では右側のLED光源1412が不点灯となっているためほぼ右側半分の白シェーディングデータが下がっている。そのためセンサ全部で均一性を算出すると異常となり右側半分の除いて均一性を算出すると正常となる。それによって右側LED光源異常と判別することができる。図15(B)では一つの出力(ここではOut5)が異常となっておりそれ以外の出力は正常となっている。よって異常となっている出力のチップを除いて均一性を算出した場合は正常となるのでそれによって単一の出力異常と判別することができる
次に実施形態3での異常判定フローについて説明する。図16は実施形態3の異常判定フローである。これは実施形態2とほとんど同じであるが異常要因判定(S1607)が白シェーディングエラー(S1608)の前に追加されているところに違いがある。異常要因判定(S1607)の詳細は図17に記載されている
図17の異常要因を判定するフローが記載されている。異常要因の判定でこの例では
単一チップの異常、単一出力の異常、右側LED光源異常と左側LED光源異常のそれぞれの要因を判別している
まず単一チップ異常の判別(S1701)では白シェーディングデータのチップ平均の最小値WSHD_Minを除いて残りの全チップを使用して均一性指数Upを算出してみる。すなわち、最小値WSHD_Minに代えて2番目に小さい値WSHD_2nd_Minを用いて均一性指数Upを、実施形態1と同じ要領で算出する。その均一性指数Upが規格内(所定値より小さい、すなわちUp<UP_TH)であれば単一のチップの異常と判別する。単一チップ異常と判別された場合は単一チップ異常を示すフラグを立てて(S1702)白シェーディング異常エラー処理を行う。フラグは必要に応じて読取ユニット交換に役立てたり故障率などの算出に持ちいたりすることができる。
In the case of the image sensor shown in FIG. 14, a single sensor chip abnormality, a single output abnormality, a right LED light source abnormality, a left LED light source abnormality, and the like can be considered as abnormal states. Of these, the average value of the white shading data of each sensor chip when the right LED is abnormal is shown in FIG. 15A, and the average value of the white shading data of each sensor chip when any one output is abnormal is shown in FIG. Shown in The white shading data may be acquired in the same manner as in the second embodiment. In FIG. 15A, since the right LED light source 1412 is not lit, the white shading data of the right half is lowered. Therefore, if the uniformity is calculated for all the sensors, it becomes abnormal, and if the uniformity is calculated except for the right half, it becomes normal. Thereby, it can be determined that the right LED light source is abnormal. In FIG. 15B, one output (Out5 in this case) is abnormal, and the other outputs are normal. Therefore, when the uniformity is calculated except for the abnormal output chip, it is normal, and therefore it can be determined as a single output abnormality. Next, an abnormality determination flow in the third embodiment will be described. FIG. 16 is an abnormality determination flow according to the third embodiment. This is almost the same as in the second embodiment, but there is a difference in that the abnormality factor determination (S1607) is added before the white shading error (S1608). Details of the abnormality factor determination (S1607) are described in FIG. 17. The flow of determining the abnormality factor in FIG. 17 is described. In this example, the determination of the cause of abnormality is to determine the causes of single chip abnormality, single output abnormality, right LED light source abnormality and left LED light source abnormality. First, in single chip abnormality determination (S1701), white The uniformity index Up is calculated using all the remaining chips except for the minimum chip average value WSHD_Min of the shading data. That is, the uniformity index Up is calculated in the same manner as in the first embodiment using the second smallest value WSHD_2nd_Min instead of the minimum value WSHD_Min. If the uniformity index Up is within the standard (smaller than a predetermined value, that is, Up <UP_TH), it is determined that a single chip is abnormal. If it is determined that there is a single chip abnormality, a flag indicating a single chip abnormality is set (S1702) and white shading abnormality error processing is performed. The flag can be used for replacing the reading unit or calculating the failure rate as necessary.

同様に単一出力の異常判別(S1703)では白シェーディングデータのチップ平均が最小値WSHD_Minであるチップと同一出力のチップを除いて、残りのチップでの均一性指数Upを算出する。その値が規格内(すなわち閾値より小さい)であれば単一出力の異常と判別する。単一出力の異常と判別された場合は、単一出力の異常を示すフラグを立てて(S1704)エラー処理を行う。   Similarly, in the single output abnormality determination (S1703), the uniformity index Up of the remaining chips is calculated except for the chip having the same output as the chip whose chip average of the white shading data is the minimum value WSHD_Min. If the value is within the standard (that is, smaller than the threshold value), it is determined that the single output is abnormal. If it is determined that the single output is abnormal, a flag indicating the single output abnormality is set (S1704), and error processing is performed.

左側LED光源異常判定(S1705)では、先に記述しているように右側半分は正常となるので左半分を除いて均一性指数を算出したときに正常(すなわち右半分の均一性指数Upが閾値より小さい)であれば左側LED光源異常フラグを立てて(S1706)エラー処理を行う。右側LED光源異常判定(S1707)については左側と同様の処理である。ただし、均一性指数Upは、左側半分のチップの白シェーディングデータの最小値及び最大値を用いて求めた値となる。その値が所定の閾値よりも小さければ右側LED光源異常フラグを立てる(S1708)。このように、センサの並びについてそれをほぼ中央で2組に分割し(本例ではチップ単位でよい)、片側ずつチップ単位の平均値の均一性指数を判定する。そして判定した片側に異常がなければ、判定の対象としていない、反対側の照明に異常があると判定する。   In the left LED light source abnormality determination (S1705), as described above, the right half is normal, and thus the normality is calculated when the uniformity index is calculated excluding the left half (that is, the right half uniformity index Up is the threshold value). If it is smaller, a left LED light source abnormality flag is set (S1706) and error processing is performed. The right LED light source abnormality determination (S1707) is the same processing as that on the left side. However, the uniformity index Up is a value obtained by using the minimum value and the maximum value of the white shading data of the left half chip. If the value is smaller than the predetermined threshold, the right LED light source abnormality flag is set (S1708). In this way, the sensor array is divided into two groups at approximately the center (in this example, it may be in units of chips), and the uniformity index of the average value in units of chips is determined for each side. If there is no abnormality on the determined one side, it is determined that there is an abnormality in the illumination on the opposite side that is not the object of determination.

最後にどれにも当てはまらない場合を複数チップ異常(S1709)と判定して複数チップ異常を示すフラグを立ててエラー処置を行う。なお上記手順で「エラー処理を行う」と記載しているが、それは例えば図11のユーザインターフェイス画面で、異常の種類を示すフラグに応じたエラーコードを表示することであってよい。   Finally, the case that does not apply to any of the above is determined as a multi-chip abnormality (S1709), and a flag indicating a multi-chip abnormality is set to perform error handling. In the above procedure, “error processing is performed” is described. For example, an error code corresponding to a flag indicating the type of abnormality may be displayed on the user interface screen of FIG.

以上説明したように、本実施形態では、上述した各実施形態と同様に、シェーディング、特に白シェーディングの異常を画素毎ではなくチップの平均値で判断する。そのため、特定のイメージセンサの素子に付着したゴミ等に対しては異常と判定せず、センサチップの故障やLEDの点灯不良といった、複数のイメージセンサ素子(特に一連の複数の素子)により異常を検知する。換言すれば、白レベル値の高周波成分をフィルタリングし、チップ単位で判定することで、画素単位の異常に対する過敏さを抑制し、異常検知の精度を向上させることができる。さらに本実施形態では、白シェーディングデータの値を、生じる可能性のある異常状態に応じて加工し、検査することで、生じた異常の種類を特定し、それをユーザに報知することができる。   As described above, in the present embodiment, as in each of the above-described embodiments, shading, particularly white shading abnormality, is determined not by each pixel but by the average value of the chip. For this reason, dust attached to a specific image sensor element is not determined to be abnormal, and abnormalities are caused by a plurality of image sensor elements (particularly a series of a plurality of elements) such as sensor chip failure or LED lighting failure. Detect. In other words, by filtering the high-frequency component of the white level value and determining in units of chips, it is possible to suppress the sensitivity to abnormality in units of pixels and improve the accuracy of abnormality detection. Furthermore, in the present embodiment, the value of the white shading data is processed according to an abnormal state that may occur, and is inspected, whereby the type of abnormality that has occurred can be specified and notified to the user.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Embodiments]
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

411 黒シェーディング補正部、412 BSHD_RAM、421 白シェーディング補正部、422 WSHD_RAM、431 ライン積算計算部、441
白シェーディング補正値計算部、451 黒シェーディング補正値計算部、471 最大・最小・積算値計算部
411 Black shading correction unit, 412 BSHD_RAM, 421 White shading correction unit, 422 WSHD_RAM, 431 Line integration calculation unit, 441
White shading correction value calculation unit, 451 Black shading correction value calculation unit, 471 Maximum / minimum / integrated value calculation unit

Claims (10)

複数の読取素子を含むグループを複数備えるイメージセンサを有する読み取り部により画像を読み取る画像読取装置であって、
前記読取素子からの出力に基づく信号を補正する制御部を有し、
前記制御部は、
前記読取素子ごとのシェーディング特性を示す特性値を生成し、
前記読取素子ごとの前記特性値に基づき、前記グループごとに前記特性値の平均値を求め、
前記グループごとの前記特性値の平均値のうち少なくともいずれかの前記特性値の平均値が第一の閾値よりも大きい場合には、前記読み取り部が異常であると判定する
ことを特徴とする画像読取装置。
An image reading apparatus for reading an image by a reading unit having an image sensor including a plurality of groups including a plurality of reading elements,
A controller for correcting a signal based on the output from the reading element;
The controller is
Generating a characteristic value indicating a shading characteristic for each reading element;
Based on the characteristic value for each reading element, obtain an average value of the characteristic values for each group,
The image is characterized in that the reading unit is determined to be abnormal when an average value of at least one of the characteristic values of the group is greater than a first threshold value. Reader.
請求項1に記載の画像読取装置であって、
前記制御部は、
前記特性値としてシェーディング補正値を生成することを特徴とする画像読取装置。
The image reading apparatus according to claim 1,
The controller is
An image reading apparatus that generates a shading correction value as the characteristic value.
請求項1に記載の画像読取装置であって、
前記制御部は、
前記特性値として白シェーディングデータと黒シェーディングデータとの差分を生成することを特徴とする画像読取装置。
The image reading apparatus according to claim 1,
The controller is
An image reading apparatus that generates a difference between white shading data and black shading data as the characteristic value.
請求項1乃至3のいずれか一項に記載の画像読取装置であって、
前記制御部はさらに、
前記特性値の平均値に基づいて、前記特性値の平均値の均一性を示す均一性指数を求め、前記均一性指数が所定値を超えて均一でないことを示している場合には、前記読み取り部に異常が生じたと判定する
ことを特徴とする画像読取装置。
The image reading apparatus according to any one of claims 1 to 3,
The control unit further includes:
Based on the average value of the characteristic values, a uniformity index indicating uniformity of the average value of the characteristic values is obtained, and when the uniformity index exceeds a predetermined value and indicates that it is not uniform, the reading is performed. An image reading apparatus that determines that an abnormality has occurred in a portion.
請求項1乃至4のいずれか一項に記載の画像読取装置であって、
前記制御部は、
前記読み取り部に異常が生じたと判定した場合にはさらに、
前記異常の要因を判定することを特徴とする画像読取装置。
An image reading apparatus according to any one of claims 1 to 4,
The controller is
If it is determined that an abnormality has occurred in the reading unit,
An image reading apparatus characterized by determining the cause of the abnormality.
請求項5に記載の画像読取装置であって、
前記制御部は、
複数の前記読取素子のグループごとに前記シェーディングデータの平均値を求め、前記グループごとの前記平均値から最小値を除いた前記平均値の均一性を示す均一性指数を求め、前記均一性指数が均一であることを示している場合には、前記グループの一つに異常が生じたと判定することを特徴とする画像読取装置。
The image reading apparatus according to claim 5,
The controller is
An average value of the shading data is obtained for each group of the plurality of reading elements, a uniformity index indicating uniformity of the average value obtained by removing a minimum value from the average value for each group is obtained, and the uniformity index is An image reading apparatus characterized by determining that an abnormality has occurred in one of the groups when it is shown that the image is uniform.
請求項6に記載の画像読取装置であって、
前記複数の読取素子の出力は、複数の前記グループをまとめた出力として出力され、
前記制御部は、
前記グループごとの前記平均値から、最小値と同じ出力にまとめられたグループの前記平均値を除いた前記平均値の均一性を示す均一性指数を求め、前記均一性指数が均一であることを示している場合には、前記出力の一つに異常が生じたと判定し、
前記グループごとの前記平均値から、片側の半分のグループの前記平均値の均一性を示す均一性指数を求め、前記均一性指数が均一であることを示している場合には、前記片側の反対側の照明に異常が生じたと判定し、
いずれにも該当しない場合には、複数の前記グループに異常が生じたと判定することを特徴とする画像読取装置。
The image reading apparatus according to claim 6,
The output of the plurality of reading elements is output as an output that combines the plurality of groups,
The controller is
From the average value for each group, obtain a uniformity index indicating the uniformity of the average value excluding the average value of the group collected in the same output as the minimum value, and the uniformity index is uniform If so, it is determined that an abnormality has occurred in one of the outputs,
From the average value for each group, a uniformity index indicating the uniformity of the average value of the half group on one side is obtained, and when the uniformity index indicates that it is uniform, the opposite of the one side It is determined that there is an abnormality in the side lighting,
An image reading apparatus characterized by determining that an abnormality has occurred in a plurality of the groups when none of the above applies.
請求項1乃至7のいずれか一項に記載の画像読取装置であって、
前記エラー処理は、エラーが生じたことを示すメッセージの出力を含むことを特徴とする画像読取装置。
An image reading apparatus according to any one of claims 1 to 7,
The image reading apparatus, wherein the error processing includes outputting a message indicating that an error has occurred.
請求項1乃至8のいずれか一項に記載の画像読取装置であって、
前記イメージセンサは、複数の読取素子を持つセンサチップを複数配置して構成され、
前記制御部は、前記センサチップごとの読取素子を前記読取素子のグループとすることを特徴とする画像読取装置。
An image reading apparatus according to any one of claims 1 to 8,
The image sensor is configured by arranging a plurality of sensor chips having a plurality of reading elements,
The image reading apparatus according to claim 1, wherein the control unit sets a reading element for each sensor chip as a group of the reading elements.
複数の読取素子を含むグループを複数備えるイメージセンサを有する読み取り部により画像を読み取る画像読取装置の制御方法であってであって、
前記画像読取装置は、前記読取素子からの出力に基づく信号を補正する制御部を有し、
前記制御部は、
前記読取素子ごとのシェーディング特性を示す特性値を生成し、
前記読取素子ごとの前記特性値に基づき、前記グループごとに前記特性値の平均値を求め、
前記グループごとの前記特性値の平均値のうち少なくともいずれかの前記特性値の平均値が第一の閾値よりも大きい場合には、前記読み取り部が異常であると判定する
ことを特徴とする画像読取装置の制御方法。
A method for controlling an image reading apparatus that reads an image by a reading unit having an image sensor including a plurality of groups each including a plurality of reading elements,
The image reading apparatus includes a control unit that corrects a signal based on an output from the reading element,
The controller is
Generating a characteristic value indicating a shading characteristic for each reading element;
Based on the characteristic value for each reading element, obtain an average value of the characteristic values for each group,
The image is characterized in that the reading unit is determined to be abnormal when an average value of at least one of the characteristic values of the group is greater than a first threshold value. A method for controlling a reader.
JP2018045928A 2018-03-13 2018-03-13 Image reader and its control method Active JP7084747B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018045928A JP7084747B2 (en) 2018-03-13 2018-03-13 Image reader and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018045928A JP7084747B2 (en) 2018-03-13 2018-03-13 Image reader and its control method

Publications (3)

Publication Number Publication Date
JP2019161461A true JP2019161461A (en) 2019-09-19
JP2019161461A5 JP2019161461A5 (en) 2021-05-13
JP7084747B2 JP7084747B2 (en) 2022-06-15

Family

ID=67993588

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018045928A Active JP7084747B2 (en) 2018-03-13 2018-03-13 Image reader and its control method

Country Status (1)

Country Link
JP (1) JP7084747B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH066589A (en) * 1992-06-17 1994-01-14 Fuji Xerox Co Ltd Picture reader
JPH0678147A (en) * 1992-08-28 1994-03-18 Minolta Camera Co Ltd Image reader
JPH06217132A (en) * 1993-01-18 1994-08-05 Ricoh Co Ltd Image reader
JP2008236128A (en) * 2007-03-19 2008-10-02 Ricoh Co Ltd Image reader and image forming apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH066589A (en) * 1992-06-17 1994-01-14 Fuji Xerox Co Ltd Picture reader
JPH0678147A (en) * 1992-08-28 1994-03-18 Minolta Camera Co Ltd Image reader
JPH06217132A (en) * 1993-01-18 1994-08-05 Ricoh Co Ltd Image reader
JP2008236128A (en) * 2007-03-19 2008-10-02 Ricoh Co Ltd Image reader and image forming apparatus

Also Published As

Publication number Publication date
JP7084747B2 (en) 2022-06-15

Similar Documents

Publication Publication Date Title
US10105948B2 (en) Image inspection device, image inspection method, program, and ink jet printing system
US7619785B2 (en) Image reading apparatus and reference member foreign matter detecting method
EP1501278A2 (en) Dust problem resolving image processing apparatus
US8018631B2 (en) Original reading device and image forming apparatus
US20110141504A1 (en) Image reading device for correcting image read from original, method of controlling the image reading device, and storage medium
US8638477B2 (en) Image processing apparatus, control method of image processing apparatus and program
JP2017118169A (en) Image reader and image formation apparatus
US7821687B2 (en) Method for dynamically compensating for a faulty pixel in a scan line generated by a scanner
US8730528B2 (en) Image reading apparatus, image forming apparatus, and image reading method
JP6554973B2 (en) Image reading device
JP5008918B2 (en) Image reading apparatus, image processing apparatus, image forming apparatus, right side of streak image detection method, and program
JP7084747B2 (en) Image reader and its control method
JP2005277752A (en) Image reader
US20210297537A1 (en) Image inspection device and saving processing method for captured image
US20110096371A1 (en) Duplex scanning
JP6885078B2 (en) Image reader, image forming device, image processing device, and image processing method
JP2021118384A (en) Image reading device, control method of the same, and program
JP2014030143A (en) Reading device, correction method in the reading device, and program
US11223733B1 (en) Moving a reading position of an image reading devices based on a reading magnification of pattern images
JP2005123681A (en) Image reading apparatus
US20230249480A1 (en) Printing apparatus and control method of printing apparatus
JP4186796B2 (en) Image reading device
JP2006080941A (en) Image reading apparatus
JP2016092617A (en) Image reading device, image forming device, control method of image reading device, and program
JP6558211B2 (en) Image reading device

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210315

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220121

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220603

R151 Written notification of patent or utility model registration

Ref document number: 7084747

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151