[go: up one dir, main page]

JP2008167039A - Image processor, image forming apparatus, and image reader - Google Patents

Image processor, image forming apparatus, and image reader Download PDF

Info

Publication number
JP2008167039A
JP2008167039A JP2006352910A JP2006352910A JP2008167039A JP 2008167039 A JP2008167039 A JP 2008167039A JP 2006352910 A JP2006352910 A JP 2006352910A JP 2006352910 A JP2006352910 A JP 2006352910A JP 2008167039 A JP2008167039 A JP 2008167039A
Authority
JP
Japan
Prior art keywords
shading correction
image
reading
correction data
lighting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006352910A
Other languages
Japanese (ja)
Inventor
Tatsuo Kumada
辰男 熊田
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies 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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2006352910A priority Critical patent/JP2008167039A/en
Publication of JP2008167039A publication Critical patent/JP2008167039A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Scanning Arrangements (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform proper shading correction of read images obtained by simultaneously reading both faces of an original D by two reading parts. <P>SOLUTION: An image processor includes a shading correcting means for preparing shading correction data for single lighting and both lighting in each image area divided in accordance with respective timing when light sources of two reading parts are turned on and performing proper shading correction by switching different shading data, wherein shading correction data for the single lighting is used to correct brightness difference that occurs when one of the two reading parts is turned on, and shading correction data for both lighting is used to correct brightness difference that occurs when both of a pair of reading parts are turned on. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、読取画像に対して、シェーディング補正を行う画像処理装置、画像形成装置及び画像読取装置に関する。   The present invention relates to an image processing apparatus, an image forming apparatus, and an image reading apparatus that perform shading correction on a read image.

原稿の画像データを読み取る読取部は、主な構成要素として、原稿に光を照射する光源と光量信号を電気信号へ変換する固体撮像素子を備える。
この読取部を2つ用いて原稿を挟んで対向する位置に配置し、一対の読取部とすれば(一方を第1読取部、他方を第2読取部とする)、第1読取部により原稿の表面を、第2読取部により原稿の裏面を同時に読み取ることができる。
A reading unit that reads image data of a document includes, as main components, a light source that irradiates light on the document and a solid-state imaging device that converts a light amount signal into an electrical signal.
If two reading units are used and arranged at positions facing each other with the document sandwiched between them, a pair of reading units (one is a first reading unit and the other is a second reading unit), the first reading unit sets the document. The back side of the document can be simultaneously read by the second reading unit.

第1読取部では、光源から照射された光が原稿の表面に照射され、原稿の表面からの反射光を固体撮像素子が受光する。一方、第2読取部も同様に、原稿の裏面からの反射光を固体撮像素子が受光する。
つまり、原稿の両面に向かって各読取部の光源から光が照射されるため、一方の光源からの照射光が原稿を透過し、この透過光が他方に位置する固体撮像素子により受光されてしまう。この透過光は、一方の光源が点灯した時と比べて読取画像に一層の輝度差を生じる原因となる。
In the first reading unit, the light emitted from the light source is applied to the surface of the document, and the solid-state image sensor receives the reflected light from the surface of the document. On the other hand, the solid-state image sensor receives reflected light from the back side of the document in the same manner in the second reading unit.
That is, light is emitted from the light source of each reading unit toward both sides of the document, so that the illumination light from one light source passes through the document, and this transmitted light is received by the solid-state image sensor located on the other side. . This transmitted light causes a further luminance difference in the read image compared to when one of the light sources is turned on.

そこで、対向側の透過光の影響を回避するため、例えば特許文献1又は2に記載の技術が開示されている。
特許文献1によれば、第1読取部の光源と第2読取部の光源が同時に点灯しないよう交互に切替え制御を行う。原稿読取処理の前半は表面側の光源を点灯し、裏面側の光源を消灯して原稿の表面の読み取りを行い、原稿読取処理の後半は裏面側の光源を点灯し、表面側の光源を消灯して原稿の裏面の読み取りを行う。すなわち、点灯する光源は常に一方だけとすることにより、各読取部は対向側の光源からの透過光を遮断している。
Therefore, in order to avoid the influence of the transmitted light on the opposite side, for example, a technique described in Patent Document 1 or 2 is disclosed.
According to Patent Document 1, switching control is alternately performed so that the light source of the first reading unit and the light source of the second reading unit are not turned on at the same time. During the first half of the document scanning process, the front side light source is turned on and the back side light source is turned off to read the front side of the document. In the second half of the document scanning process, the back side light source is turned on and the front side light source is turned off. Scan the back side of the document. That is, only one light source is lit at all times, so that each reading unit blocks transmitted light from the light source on the opposite side.

また、特許文献2によれば、原稿の表面側と裏面側の双方の光源を同時に点灯して原稿の両面を読み取る処理を行うときは、表面と裏面の何れか一方の光源だけを点灯して原稿の片面を読み取るときよりも読取濃度を下げる処理を行う。これにより、透過光を受光する場合としない場合とで読取濃度を等しくする技術が開示されている。
特開平9−321947号公報 特開2003−32443号公報
Further, according to Patent Document 2, when performing processing for reading both sides of a document by simultaneously turning on both the light sources on the front side and the back side of the document, turn on only one of the light sources on the front side and the back side. Processing to lower the reading density than when reading one side of the document is performed. Thus, a technique is disclosed in which the reading density is made equal between the case where transmitted light is received and the case where light is not received.
JP 9-321947 A Japanese Patent Laid-Open No. 2003-32443

しかしながら、特許文献1の技術では、原稿の両面を読み取る処理の過程において、第1読取部と第2読取部の光源を常に何れか一方のみ点灯させるように動作させる必要がある。従って、各読取部に用いられる光源には、優れた点滅性能及び光量出力性能が必要とされるためコストが嵩む。また、通常の光源を用いた場合であれば原稿の読取速度を制限する必要が生じてしまい、操作性を欠くため好ましくない。   However, in the technique of Patent Document 1, it is necessary to operate so that only one of the light sources of the first reading unit and the second reading unit is always turned on in the process of reading both sides of the document. Therefore, the light source used for each reading unit requires excellent blinking performance and light output capability, which increases costs. In addition, when a normal light source is used, it is necessary to limit the reading speed of the document, which is not preferable because it lacks operability.

また、特許文献2の技術では、第1読取部と第2読取部とが原稿の移動方向において相対的に離れて配置されている。したがって、それぞれの光源は原稿の全ての領域において常時点灯しているわけではなく、各読取部の光源の点灯タイミングは前後する。すなわち、読み取られた原稿画像には、第1読取部又は第2読取部の何れか一方のみ点灯している領域(つまり透過光の影響が無い領域)と、双方が点灯している領域(つまり透過光が影響する領域)とが含まれることとなる。このため、上述のように全ての画像領域に対して画一的に読取濃度を下げてしまうと適切なシェーディング補正を行うことができない。   In the technique disclosed in Patent Document 2, the first reading unit and the second reading unit are arranged relatively apart from each other in the moving direction of the document. Accordingly, the respective light sources are not always lit in all areas of the document, and the lighting timings of the light sources of the respective reading units vary. That is, in the read document image, only one of the first reading unit and the second reading unit is lit (that is, a region where there is no influence of transmitted light) and both are lit (that is, the region is not affected by transmitted light). A region affected by transmitted light). For this reason, if the reading density is lowered uniformly for all image areas as described above, appropriate shading correction cannot be performed.

本発明の課題は、原稿の両面を2つの読取部によって同時に読み取った読取画像に対し、適切なシェーディング補正を行うことである。   An object of the present invention is to perform appropriate shading correction on a read image obtained by simultaneously reading both sides of a document by two reading units.

請求項1に記載の発明は、
光源を有する2つの読取部によって、原稿の表面及び裏面の画像が同時期に読み取られた読取画像に対して、前記2つの読取部の一方が点灯した際に読み取られた一方点灯時の画像領域と、前記2つの読取部の双方が点灯した際に読み取られた双方点灯時の画像領域とで異なるシェーディング補正データを切替えてシェーディング補正を行うシェーディング補正手段と、
を備えることを特徴としている。
The invention described in claim 1
An image area that is read when one of the two reading units is turned on with respect to a read image in which the images on the front and back sides of the document are read simultaneously by two reading units having a light source. And shading correction means for performing shading correction by switching different shading correction data in the image area when both of the two reading units are lit and read when both are lit.
It is characterized by having.

請求項2に記載の発明は、請求項1に記載の発明において、
前記シェーディング補正データは、前記2つの読取部の一方を点灯させた場合に生じる輝度差を補正するための一方点灯用シェーディング補正データと、前記一対の読取部の双方を点灯させた場合に生じる輝度差を補正するための双方点灯用シェーディング補正データと、を含み、
前記シェーディング補正手段は、前記読取画像において一方点灯の画像領域に対しては一方点灯用シェーディング補正データを用いて、双方点灯の画像領域に対しては双方点灯用シェーディング補正データを用いてシェーディング補正を行うことを特徴としている。
The invention according to claim 2 is the invention according to claim 1,
The shading correction data includes one-lighting shading correction data for correcting a luminance difference generated when one of the two reading units is lit, and luminance generated when both the pair of reading units are lit. Including shading correction data for both lighting for correcting the difference,
The shading correction means uses the one-lighting shading correction data for the one-lighted image area in the read image and performs the shading correction for the two-lighted image area using the two-lighting shading correction data. It is characterized by doing.

請求項3に記載の発明は、請求項1又は2に記載の発明において
前記シェーディング補正データは、前記読取部による読取画像の最高輝度値又は最低輝度値を示すデータであって、白色基準板又は黒色基準板を用いて作成され、
前記シェーディング補正手段は、前記シェーディング補正データを用いて読取画像の輝度値を出力画像の階調に対応させるシェーディング関数を算出し、当該シェーディング関数によってシェーディング補正を行うことを特徴としている。
The invention according to claim 3 is the invention according to claim 1 or 2, wherein the shading correction data is data indicating a maximum luminance value or a minimum luminance value of an image read by the reading unit, and is a white reference plate or Created using a black reference plate,
The shading correction means calculates a shading function that uses the shading correction data to make the luminance value of the read image correspond to the gradation of the output image, and performs the shading correction by the shading function.

請求項4に記載の発明は、
光源を有する2つの読取部によって、原稿の表面及び裏面の画像を同時に読み取る読取装置と、
前記読み取られた表面及び裏面の読取画像において、前記2つの読取部の一方が点灯した際に読み取られた一方点灯時の画像領域と、前記2つの読取部の双方が点灯した際に読み取られた双方点灯時の画像領域とで異なるシェーディング補正データを切替えてシェーディング補正を行うシェーディング補正手段と、
を備えることを特徴としている。
The invention according to claim 4
A reading device that simultaneously reads images on the front and back sides of a document by two reading units having a light source;
In the read images of the read front and back surfaces, the image area was read when one of the two reading units was lit, and was read when both the two reading units were lit. A shading correction means for performing shading correction by switching different shading correction data in the image area when both are lit;
It is characterized by having.

請求項5に記載の発明は、
光源を有する2つの読取部によって、原稿の表面及び裏面の画像を略同時期に読み取る画像読取装置であって、
前記各読取部の読取位置における原稿画像上の位置と、前記各読取部のそれぞれの光源の点灯状態に基づいてシェーディング補正データを選択するシェーディング補正データ選択手段と、
選択したシェーディング補正データを用いてシェーディング補正を行うシェーディング補正手段と、
を備えることを特徴としている。
The invention described in claim 5
An image reading apparatus that reads images on the front and back sides of a document at approximately the same time by two reading units having a light source,
Shading correction data selection means for selecting shading correction data based on the position on the document image at the reading position of each reading unit and the lighting state of each light source of each reading unit;
Shading correction means for performing shading correction using the selected shading correction data;
It is characterized by having.

請求項6に記載の発明は、請求項5に記載の発明において、
前記シェーディング補正データは、前記2つの読取部の一方を点灯させた場合に生じる輝度差を補正するための一方点灯用シェーディング補正データと、前記一対の読取部の双方を点灯させた場合に生じる輝度差を補正するための双方点灯用シェーディング補正データと、を含み、
前記シェーディング補正手段は、前記読取画像において一方点灯の画像領域に対しては一方点灯用シェーディング補正データを用いて、双方点灯の画像領域に対しては双方点灯用シェーディング補正データを用いてシェーディング補正を行うことを特徴としている。
The invention according to claim 6 is the invention according to claim 5,
The shading correction data includes one-lighting shading correction data for correcting a luminance difference generated when one of the two reading units is lit, and luminance generated when both the pair of reading units are lit. Including shading correction data for both lighting for correcting the difference,
The shading correction means uses the one-lighting shading correction data for the one-lighted image area in the read image and performs the shading correction for the two-lighted image area using the two-lighting shading correction data. It is characterized by doing.

本発明に係る画像処理装置によれば、2つの読取部によって同時に読み取られた原稿の両面の画像データに対して、反射光と透過光とが組み合わされた光量の変化に応じたシェーディング補正データを施すことができる。これにより、読取部の光源に優れた点滅性能等を使用する必要はなく、コスト面において好ましい。また、透過光の影響を低減させることで輝度差をなくした画像データを生成することができる。   According to the image processing apparatus of the present invention, shading correction data corresponding to a change in the amount of light in which reflected light and transmitted light are combined is applied to image data on both sides of a document that is simultaneously read by two reading units. Can be applied. Thereby, it is not necessary to use the flashing performance etc. which were excellent in the light source of the reading part, and it is preferable in terms of cost. Further, it is possible to generate image data in which a luminance difference is eliminated by reducing the influence of transmitted light.

以下、本発明による画像処理装置について最適な実施形態の構成及び動作について図面を用いて詳細に説明する。
本実施形態では、2つの読取部を備えた画像形成装置に本発明を適用した例を説明する。
Hereinafter, the configuration and operation of an optimum embodiment of an image processing apparatus according to the present invention will be described in detail with reference to the drawings.
In this embodiment, an example in which the present invention is applied to an image forming apparatus including two reading units will be described.

図1に、画像形成装置100を示す。
画像形成装置100は、主に自動原稿搬送装置10、読取部20、読取制御装置200、画像処理部40を含む本体部30から構成されている。
FIG. 1 shows an image forming apparatus 100.
The image forming apparatus 100 mainly includes a main body unit 30 including an automatic document feeder 10, a reading unit 20, a reading control device 200, and an image processing unit 40.

その他、画像形成装置100は表示部50、操作部60、プリンタ部70等を備える。
表示部50はLCD(Liquid Crystal Display)を備え、このLCD上にプリント操作するための各種操作画面を表示させる。
操作部60は、プリント開始を指示するためのスタートキーや数字キー等の各種機能キーを備え、これら機能キーが操作されると、対応する操作信号を制御部41に出力する。
プリンタ部70は、画像処理部40から入力される画像データに基づいて電子写真方式によりプリント出力を行う。
In addition, the image forming apparatus 100 includes a display unit 50, an operation unit 60, a printer unit 70, and the like.
The display unit 50 includes an LCD (Liquid Crystal Display), and displays various operation screens for performing a print operation on the LCD.
The operation unit 60 includes various function keys such as a start key and a numeric key for instructing the start of printing. When these function keys are operated, a corresponding operation signal is output to the control unit 41.
The printer unit 70 performs print output by the electrophotographic method based on the image data input from the image processing unit 40.

図2は、自動原稿搬送装置10及び読取部20の構成を示す図である。
自動原稿搬送装置10は、原稿トレイ11、導入ローラ対12、給送ローラ対13、プラテンガラス14、排出ローラ対15、排出トレイ16及び原稿位置センサ装置17から構成される。
FIG. 2 is a diagram illustrating the configuration of the automatic document feeder 10 and the reading unit 20.
The automatic document feeder 10 includes a document tray 11, an introduction roller pair 12, a feed roller pair 13, a platen glass 14, a discharge roller pair 15, a discharge tray 16, and a document position sensor device 17.

原稿トレイ11には、原稿Dが配置される。一度に置かれる原稿Dの枚数は複数枚でもよく、原稿Dの形状は枚葉紙である。   A document D is placed on the document tray 11. A plurality of documents D may be placed at one time, and the shape of the document D is a sheet.

導入ローラ対12は、原稿トレイ11に置かれた原稿Dを一枚ずつ分離して搬送経路上の給送ローラ対13に原稿Dを搬送する。   The introduction roller pair 12 separates the documents D placed on the document tray 11 one by one and conveys the documents D to the feed roller pair 13 on the conveyance path.

給送ローラ対13は、導入ローラ対12から搬送された原稿Dをタイミングを計りながらプラテンガラス14上に搬送する。原稿Dはプラテンガラス14上を通過して排出ローラ対15に搬送される。   The feed roller pair 13 transports the document D transported from the introduction roller pair 12 onto the platen glass 14 in a timely manner. The document D passes over the platen glass 14 and is conveyed to the discharge roller pair 15.

排出ローラ対15は、プラテンガラス14上を搬送された原稿Dを排出トレイ16に排出する。排出トレイ16には原稿読取処理を終えた原稿Dが排出される。   The discharge roller pair 15 discharges the document D conveyed on the platen glass 14 to the discharge tray 16. The document D after the document reading process is discharged to the discharge tray 16.

原稿位置センサ装置17は、例えば光センサ等が適用され、原稿Dがプラテンガラス14上を移動する原稿Dの始端と終端を検知する。   For example, an optical sensor or the like is applied to the document position sensor device 17 to detect the start and end of the document D on which the document D moves on the platen glass 14.

次に、読取部20について説明する。
読取部20は、図2に示すように、原稿Dを挟んで対向する位置に配置される第1読取部21及び第2読取部22からなる。ここでは、第1読取部21が読み取る原稿面を表面、第2読取部22が読み取る原稿面を裏面という。第1読取部21及び第2読取部22は、読み取った原稿画像の画像信号(アナログ信号)を画像処理部40へ出力する。
Next, the reading unit 20 will be described.
As shown in FIG. 2, the reading unit 20 includes a first reading unit 21 and a second reading unit 22 that are arranged at positions facing each other with the document D interposed therebetween. Here, the document surface read by the first reading unit 21 is referred to as the front surface, and the document surface read by the second reading unit 22 is referred to as the back surface. The first reading unit 21 and the second reading unit 22 output an image signal (analog signal) of the read document image to the image processing unit 40.

図3を参照して、第1読取部21の概要構成図を説明する。図3(a)は第1読取部21の外観図、図3(b)は副走査方向の断面図である。
第1読取部21は、光源23、ロッドレンズアレイ24、CIS(Contact Image Sensor)25を備える。
A schematic configuration diagram of the first reading unit 21 will be described with reference to FIG. 3. 3A is an external view of the first reading unit 21, and FIG. 3B is a sectional view in the sub-scanning direction.
The first reading unit 21 includes a light source 23, a rod lens array 24, and a CIS (Contact Image Sensor) 25.

光源23は、LED231、導光体232、保持部材233から構成される。   The light source 23 includes an LED 231, a light guide 232, and a holding member 233.

LED231は、複数使用して二次元的又は三次元的に配置される。三次元的に配置することにより、二次元的に配置した場合と比較して発光量を高めることができる。要求される発光量が得られるのであれば、複数でなくとも単数のLEDを使用することにしても良い。LED231の点灯タイミングは後述する読取制御装置200により制御される。   A plurality of LEDs 231 are used and arranged two-dimensionally or three-dimensionally. By arranging in three dimensions, the amount of light emission can be increased compared to the case of arranging in two dimensions. If the required amount of light emission can be obtained, a single LED may be used instead of a plurality. The lighting timing of the LED 231 is controlled by the reading control device 200 described later.

導光体232は、ガラス等の光透過部材により形成されている。導光体232には、拡散面と出射面が形成されており(図示省略)、拡散面は光反射率の高い反射シートが貼付されたり、反射膜が塗布されたりして拡散率を高める構成となっている。導光体232の出射面は保持部材233の開口部に配置され、LED231から発せられた光が入射される。導光体232はこの光を内部で乱反射させて原稿Dに照射する。   The light guide 232 is formed of a light transmission member such as glass. The light guide body 232 has a diffusing surface and an emitting surface (not shown), and the diffusing surface has a configuration in which a reflecting sheet having a high light reflectance is applied or a reflecting film is applied to increase the diffusing rate. It has become. The exit surface of the light guide 232 is disposed in the opening of the holding member 233, and the light emitted from the LED 231 enters. The light guide body 232 irradiates the original D with the light diffusely reflected inside.

保持部材233は、光反射率の高い光不透過部材で形成されている。保持部材233内面は光反射率の高い反射シートが貼付されたり反射膜が塗布されたりして、反射率を高める構成となっている。保持部材233は、空気層を挟んで導光体232を覆うように配置され、導光体232から漏れた光を再び導光体232に入射させる。保持部材233を設置することによって、光の減衰損失を低下させることができる。   The holding member 233 is formed of a light impermeable member having a high light reflectance. The inner surface of the holding member 233 is configured such that a reflective sheet with a high light reflectance is applied or a reflective film is applied to increase the reflectance. The holding member 233 is disposed so as to cover the light guide 232 with the air layer interposed therebetween, and causes the light leaking from the light guide 232 to enter the light guide 232 again. By installing the holding member 233, the attenuation loss of light can be reduced.

ロッドレンズアレイ24は、主走査方向に一列に配置された複数の円柱状のレンズ(ロッドレンズ)から構成される。ここで、主走査方向とは原稿Dが搬送経路上を移動する方向と垂直を成す方向であり、原稿Dが移動する方向を副走査方向という。
各ロッドレンズは後述のCIS25と一対一に対応して配置される。ロッドレンズアレイ24は、原稿Dからの反射光を受光してこの光を原稿Dと等倍率でCIS25へ結像させる。これにより、CIS25上には原稿Dの読取部分の光学像が結像される。
The rod lens array 24 is composed of a plurality of cylindrical lenses (rod lenses) arranged in a line in the main scanning direction. Here, the main scanning direction is a direction perpendicular to the direction in which the document D moves on the conveyance path, and the direction in which the document D moves is referred to as a sub-scanning direction.
Each rod lens is arranged in one-to-one correspondence with CIS 25 described later. The rod lens array 24 receives the reflected light from the document D and forms an image of this light on the CIS 25 at the same magnification as the document D. As a result, an optical image of the reading portion of the document D is formed on the CIS 25.

CIS25は、主走査方向に一列に配置された複数の固体撮像素子251からなる。CIS25は、ロッドレンズアレイ24によって結像された光量の大小を光信号として所定の周期で読み取る。CIS25は光量信号から電気信号へ変換し、変換した電荷を所定の時間蓄積して後に出力する。CIS25が受光した光を電荷に変えて蓄積する時間を光電変換時間、蓄積された電荷を出力する時間を電荷出力時間とし、これらの時間は後述する読取制御装置200によって制御される。   The CIS 25 includes a plurality of solid-state imaging elements 251 arranged in a line in the main scanning direction. The CIS 25 reads the amount of light imaged by the rod lens array 24 as an optical signal at a predetermined cycle. The CIS 25 converts the light amount signal into an electric signal, accumulates the converted charge for a predetermined time, and outputs it later. The time during which the light received by the CIS 25 is converted into electric charges and accumulated is the photoelectric conversion time, and the time for outputting the accumulated electric charges is the charge output time. These times are controlled by the reading control device 200 described later.

次に、図4を参照して、第2読取部22の概要構成を説明する。
第2読取部22は、図4に示すように走査光源部26、走査ミラー部27、結像レンズ28、CCDイメージセンサ29を備える。
Next, a schematic configuration of the second reading unit 22 will be described with reference to FIG.
As shown in FIG. 4, the second reading unit 22 includes a scanning light source unit 26, a scanning mirror unit 27, an imaging lens 28, and a CCD image sensor 29.

走査光源部26は、光源261及び第一ミラー262から構成される。光源261は原稿Dに光を照射し、第一ミラー262は原稿Dからの反射光を受光して走査ミラー部27へ反射させる。   The scanning light source unit 26 includes a light source 261 and a first mirror 262. The light source 261 irradiates the document D with light, and the first mirror 262 receives reflected light from the document D and reflects it to the scanning mirror unit 27.

走査ミラー部27は、第二ミラー271、第三ミラー272から構成される。第二ミラー271は走査光源部26からの反射光を受光して第三ミラー272へ反射させ、第三ミラー272は第二ミラー271からの反射光を受光して結像レンズ28へ反射させる。   The scanning mirror unit 27 includes a second mirror 271 and a third mirror 272. The second mirror 271 receives the reflected light from the scanning light source unit 26 and reflects it to the third mirror 272, and the third mirror 272 receives the reflected light from the second mirror 271 and reflects it to the imaging lens 28.

結像レンズ28は、走査ミラー部27からの反射光を受光してCCDイメージセンサ29の受光面に結像する。   The imaging lens 28 receives the reflected light from the scanning mirror unit 27 and forms an image on the light receiving surface of the CCD image sensor 29.

CCDイメージセンサ29は、固体撮像素子であるCCD(Charge Coupled Device)から構成される。CCDイメージセンサ29は、結像レンズ28によって結像された光量の大小を光量信号として読み取り、光量信号を電気信号へ変換して出力する。   The CCD image sensor 29 is composed of a CCD (Charge Coupled Device) which is a solid-state imaging device. The CCD image sensor 29 reads the amount of light imaged by the imaging lens 28 as a light amount signal, converts the light amount signal into an electrical signal, and outputs it.

上述してきたように、本実施形態における読取部20は第1読取部21と第2読取部22から構成される。しかし、これに限らず、例えば第2読取部22を第1読取部21と同一の構成としても良い。   As described above, the reading unit 20 in the present embodiment includes the first reading unit 21 and the second reading unit 22. However, the present invention is not limited to this. For example, the second reading unit 22 may have the same configuration as the first reading unit 21.

次に、読取制御装置200について説明する。
図5は、読取制御装置200及び画像処理部40の機能ブロック図である。
Next, the reading control apparatus 200 will be described.
FIG. 5 is a functional block diagram of the reading control device 200 and the image processing unit 40.

読取制御装置200は、CPU201、ROM202、RAM203、メモリ204、モータドライバ205、光源ドライバ206、センサドライバ207を備える。   The reading control apparatus 200 includes a CPU 201, ROM 202, RAM 203, memory 204, motor driver 205, light source driver 206, and sensor driver 207.

CPU201は、モータドライバ205、光源ドライバ206、センサドライバ207の各部の動作を制御して、自動原稿搬送装置10、第1読取部21及び第2読取部22による原稿読み取り動作に係る全体処理を統括的に制御する。
また、入出力インターフェース80を介して外部装置から制御信号が入力されると制御信号に同期させてデジタル画像データを外部装置へ出力する制御を行う。
The CPU 201 controls the operations of the motor driver 205, the light source driver 206, and the sensor driver 207, and controls the overall processing related to the document reading operation by the automatic document feeder 10, the first reading unit 21, and the second reading unit 22. Control.
Further, when a control signal is input from an external device via the input / output interface 80, control is performed to output digital image data to the external device in synchronization with the control signal.

ROM202は、CPU201が統括制御を行うためのプログラムや各種参照データを記憶する。また、RAM203やメモリ204は、プログラムや各種データを一時的に記憶する。   The ROM 202 stores programs for the CPU 201 to perform overall control and various reference data. The RAM 203 and the memory 204 temporarily store programs and various data.

モータドライバ205は、自動原稿搬送装置10の導入ローラ対12、給送ローラ対13及び排出ローラ対15のパルスモータの回転駆動を制御し、回転タイミングと回転速度を決める。導入ローラ対12、給送ローラ対13及び排出ローラ対15の回転タイミングと回転速度に従って、原稿トレイ11に積載された原稿Dを所定のタイミングでかつ所定の速度で移動させるために導入ローラ対12、給送ローラ対13及び排出ローラ対15のパルスモータの回転駆動を制御する。   The motor driver 205 controls the rotation drive of the pulse motors of the introduction roller pair 12, the feed roller pair 13, and the discharge roller pair 15 of the automatic document feeder 10 to determine the rotation timing and rotation speed. In order to move the document D stacked on the document tray 11 at a predetermined timing and at a predetermined speed according to the rotation timing and rotation speed of the introduction roller pair 12, the feed roller pair 13, and the discharge roller pair 15, the introduction roller pair 12 The rotational drive of the pulse motor of the feed roller pair 13 and the discharge roller pair 15 is controlled.

光源ドライバ206は、第1読取部21及び第2読取部22の各光源の点灯と消灯のタイミングを制御する。   The light source driver 206 controls the timing of turning on and off the light sources of the first reading unit 21 and the second reading unit 22.

センサドライバ207は、第1読取部21及び第2読取部22の固体撮像素子251を駆動させ、固体撮像素子251の光電変換時間及び電荷出力時間の周期を制御する。センサドライバ207は、光電変換時間に固体撮像素子251へ蓄積された電荷を電荷出力時間に各読取部21及び22から画像処理部40に出力させる。   The sensor driver 207 drives the solid-state imaging device 251 of the first reading unit 21 and the second reading unit 22 and controls the period of photoelectric conversion time and charge output time of the solid-state imaging device 251. The sensor driver 207 causes the image processing unit 40 to output the charges accumulated in the solid-state imaging device 251 during the photoelectric conversion time from the reading units 21 and 22 during the charge output time.

次に、本体部30の各構成要素について説明する。
本体部30は、画像処理部40、制御部41、記憶部42、DRAM制御部43、DRAM44から構成されている。
画像処理部40については後述することとし、制御部41は、記憶部42に記憶されているシステムプログラム、プリント処理プログラム等の各種制御プログラムに従って、画像形成装置100の各部の動作を集中制御する。
記憶部42は、制御部41で実行される各種制御プログラムの他、各部で必要なパラメータやデータ等を記憶している。
DRAM制御部43は、DRAM44に記憶された画像データの入出力を制御する。
DRAM44は、画像データを記憶する画像メモリである。
Next, each component of the main body 30 will be described.
The main body unit 30 includes an image processing unit 40, a control unit 41, a storage unit 42, a DRAM control unit 43, and a DRAM 44.
The image processing unit 40 will be described later, and the control unit 41 centrally controls the operation of each unit of the image forming apparatus 100 according to various control programs such as a system program and a print processing program stored in the storage unit 42.
In addition to the various control programs executed by the control unit 41, the storage unit 42 stores parameters and data necessary for each unit.
The DRAM control unit 43 controls input / output of image data stored in the DRAM 44.
The DRAM 44 is an image memory that stores image data.

次に、画像処理部40の各構成要素について説明する。
画像処理部40は、アナログ信号処理部411、デジタル信号処理部422を備える。
アナログ信号処理部411は、アナログ信号補正部401、A/D変換部402から構成される。
Next, each component of the image processing unit 40 will be described.
The image processing unit 40 includes an analog signal processing unit 411 and a digital signal processing unit 422.
The analog signal processing unit 411 includes an analog signal correction unit 401 and an A / D conversion unit 402.

アナログ信号補正部401は、各読取部21及び22から出力された画像信号(アナログ信号)に対してオフセット補正、増幅補正、雑音除去等の信号処理を行う。信号処理した画像信号は、A/D変換部402に出力される。   The analog signal correction unit 401 performs signal processing such as offset correction, amplification correction, and noise removal on the image signals (analog signals) output from the reading units 21 and 22. The image signal subjected to signal processing is output to the A / D converter 402.

A/D変換部402は、アナログ信号補正部401から出力された画像信号を所定のビット深度のデジタル画像信号(以下、画像データという)に変換する。 The A / D conversion unit 402 converts the image signal output from the analog signal correction unit 401 into a digital image signal (hereinafter referred to as image data) having a predetermined bit depth.

デジタル信号処理部422は、シェーディング補正部403やその他の信号処理部(図示省略)を備える。デジタル信号処理部422は、アナログ信号処理部411から出力された画像データに対してシェーディング補正、ガンマ補正、欠陥画素補間処理、フィルタ処理等のデジタル信号処理を行う。デジタル信号処理部422が行う各種のデジタル信号処理の一部又は全部は、プログラムによってCPU201が行うことができる。   The digital signal processing unit 422 includes a shading correction unit 403 and other signal processing units (not shown). The digital signal processing unit 422 performs digital signal processing such as shading correction, gamma correction, defective pixel interpolation processing, and filter processing on the image data output from the analog signal processing unit 411. A part or all of various digital signal processing performed by the digital signal processing unit 422 can be performed by the CPU 201 by a program.

ここで、シェーディング補正部403が行うシェーディング補正について説明する。
シェーディング補正とは、読取部20によって読み取られた画像データにおいて画像の周辺部が中心部と比較して暗いといった読取部20に起因して生じる輝度ムラを解消するために行われる補正であって、画像全体が平均的に一様な明るさとなるようにする補正をいう。シェーディング補正は、光源の照明強度の偏移、集光レンズの収差による光量の偏移、個々の固体撮像素子251の感度の偏移等を補正する。
シェーディング補正部403はシェーディング補正にあたり、シェーディング補正データを用いる。シェーディング補正部403は、予め2つの読取部21及び22に対応するシェーディング補正データを記憶している。
Here, the shading correction performed by the shading correction unit 403 will be described.
The shading correction is a correction performed to eliminate luminance unevenness caused by the reading unit 20 such that the peripheral portion of the image is darker than the central portion in the image data read by the reading unit 20, This is correction that ensures that the entire image has a uniform brightness on average. The shading correction corrects a deviation of the illumination intensity of the light source, a deviation of the light amount due to the aberration of the condenser lens, a deviation of the sensitivity of each solid-state image sensor 251 and the like.
The shading correction unit 403 uses shading correction data for shading correction. The shading correction unit 403 stores shading correction data corresponding to the two reading units 21 and 22 in advance.

シェーディング補正データには、一方点灯用と双方点灯用の2種類のシェーディング補正データがあり、それぞれにつき、白基準シェーディング補正データと黒基準シェーディング補正データの2種類がある。つまり、計4つの類型のシェーディング補正データがある。
以下、一方点灯用の白基準シェーディング補正データを一方点灯用白基準シェーディング補正データ、一方点灯用の黒基準シェーディング補正データを一方点灯用黒基準シェーディング補正データ、双方点灯用の白基準シェーディング補正データを双方点灯用白基準シェーディング補正データ、双方点灯用の黒基準シェーディング補正データを双方点灯用黒基準シェーディング補正データという。
There are two types of shading correction data for one-side lighting and two-side lighting, and there are two types of shading correction data: white reference shading correction data and black reference shading correction data. That is, there are a total of four types of shading correction data.
Hereinafter, the white reference shading correction data for one lighting is white reference shading correction data for one lighting, black reference shading correction data for one lighting is black reference shading correction data for one lighting, and white reference shading correction data for both lighting is used. The white reference shading correction data for both lighting and the black reference shading correction data for both lighting are referred to as the black reference shading correction data for both lighting.

図6に、上記4つの類型のシェーディング補正データを示す。
ここでいう「一方点灯」、「一方消灯」とは、第1読取部21又は第2読取部22のいずれか一方の光源が点灯又は消灯している場合をいい、「双方点灯」、「双方消灯」とは第1読取部21及び第2読取部22の双方の光源が点灯又は消灯している場合をいう。
また、「白基準」は白色基準板を使用した場合に点灯側の読取部20で作成されるシェーディング補正データを示し、「黒基準」は白色基準板を使用した場合に消灯側の読取部20で作成されるシェーディング補正データを示す。白色基準板は主走査方向の原稿幅以上の長さを有し白色で全面に均一な光反射特性をもつ基準板である。これに対し、黒色基準板は全面が黒色のものである。以下に説明する本実施形態においては、白色基準板を使用して「白基準」及び「黒基準」のシェーディング補正データを作成することとしたが、「黒基準」のシェーディング補正データを作成する場合には黒色基準板を用いて作成することも可能である。
FIG. 6 shows the above four types of shading correction data.
Here, “one-side lighting” and “one-side lighting” refer to the case where one of the light sources of the first reading unit 21 or the second reading unit 22 is turned on or off. “Off” refers to the case where the light sources of both the first reading unit 21 and the second reading unit 22 are turned on or off.
Further, “white reference” indicates shading correction data created by the lighting-side reading unit 20 when a white reference plate is used, and “black reference” indicates an unlit reading unit 20 when a white reference plate is used. The shading correction data created in is shown. The white reference plate is a reference plate that has a length equal to or greater than the document width in the main scanning direction and is white and has uniform light reflection characteristics over the entire surface. In contrast, the black reference plate is entirely black. In the present embodiment described below, the white reference plate is used to create the “white reference” and “black reference” shading correction data. However, when the “black reference” shading correction data is created. It is also possible to create using a black reference plate.

第1読取部21、第2読取部22のそれぞれについて、上記4つの類型のシェーディング補正データが作成されるため、シェーディング補正部403が記憶するシェーディング補正データは計8つとなる。
以下、この8つのシェーディング補正データについて説明する。
Since the four types of shading correction data are created for each of the first reading unit 21 and the second reading unit 22, the shading correction data stored in the shading correction unit 403 is a total of eight.
Hereinafter, these eight shading correction data will be described.

一方点灯用白基準シェーディング補正データについて説明する。
第1読取部21の光源23を点灯し、第2読取部22の光源261を消灯する。点灯側の第1読取部21では白色基準板からの反射光を受光して光電変換する。画像処理部40へ出力されるこの光電変換値は第1読取部21で受光した光量値を示すものであって、読取画像の輝度値を示すものである。この輝度値を一方点灯用白基準シェーディング補正データ(表面用)とし、これをシェーディング補正部403が記憶する。
同様にして、第2読取部22の光源261を点灯し、第1読取部21の光源23を消灯して、点灯側の第2読取部22の光電変換で得られた輝度値を一方点灯用白基準シェーディング補正データ(裏面用)として、シェーディング補正部403が記憶する。
すなわち、一方点灯用白基準シェーディング補正データは、一方の読取部21又は22において他方の読取部21又は22の光源からの透過光が無い状態での輝度値データとなる。
On the other hand, lighting white reference shading correction data will be described.
The light source 23 of the first reading unit 21 is turned on, and the light source 261 of the second reading unit 22 is turned off. The first reading unit 21 on the lighting side receives reflected light from the white reference plate and performs photoelectric conversion. The photoelectric conversion value output to the image processing unit 40 indicates the light amount value received by the first reading unit 21 and indicates the luminance value of the read image. This luminance value is used as one-side lighting white reference shading correction data (for the front surface), and the shading correction unit 403 stores it.
Similarly, the light source 261 of the second reading unit 22 is turned on, the light source 23 of the first reading unit 21 is turned off, and the luminance value obtained by photoelectric conversion of the second reading unit 22 on the lighting side is for one side lighting. The shading correction unit 403 stores the white reference shading correction data (for the back surface).
That is, the one lighting white reference shading correction data becomes luminance value data in a state where there is no transmitted light from the light source of the other reading unit 21 or 22 in one reading unit 21 or 22.

一方点灯用黒基準シェーディング補正データについて説明する。
第1読取部21及び第2読取部22の双方の光源23及び261を消灯する。そして、第1読取部21において受光された光量、つまり読取画像の輝度値を一方点灯用黒基準シェーディング補正データ(表面用)、第2読取部22における読取画像の輝度値を一方点灯用黒基準シェーディング補正データ(裏面用)とし、これらをシェーディング補正部403が記憶する。
両方の光源を消灯することにより、一方点灯用黒基準シェーディング補正データは、一方の第1読取部21又は第2読取部22において他方の第1読取部21又は第2読取部22から透過光が無い状態での輝度値データとなる。
On the other hand, the black reference shading correction data for lighting will be described.
The light sources 23 and 261 of both the first reading unit 21 and the second reading unit 22 are turned off. Then, the amount of light received by the first reading unit 21, that is, the luminance value of the read image is used as the one-side black reference shading correction data (for front side), and the luminance value of the read image from the second reading unit 22 is used as the one-side black reference for lighting. The shading correction data (for the back side) is stored in the shading correction unit 403.
By turning off both light sources, one-side black reference shading correction data is transmitted from the other first reading unit 21 or second reading unit 22 in one first reading unit 21 or second reading unit 22. It becomes the brightness value data in the absence.

双方点灯用白基準シェーディング補正データについて説明する。
第1読取部21及び第2読取部22の双方の光源23及び261を点灯する。そして、第1読取部21において光電変換により得られた輝度値を双方点灯用白基準シェーディング補正データ(表面用)、第2読取部22において得られた輝度値を双方点灯用白基準シェーディング補正データ(裏面用)とし、これらをシェーディング補正部403が記憶する。
両方の光源を点灯することにより、双方点灯用白基準シェーディング補正データは、一方の読取部21又は22において他方の読取部22又は21から透過光を受光した状態での光量値データとなる。
The white reference shading correction data for both lighting will be described.
The light sources 23 and 261 of both the first reading unit 21 and the second reading unit 22 are turned on. Then, the luminance value obtained by photoelectric conversion in the first reading unit 21 is the white reference shading correction data for both lighting (for front surface), and the luminance value obtained in the second reading unit 22 is the white reference shading correction data for both lighting. These are stored in the shading correction unit 403.
By turning on both light sources, the white reference shading correction data for turning on both lights becomes light quantity value data in a state where one reading unit 21 or 22 receives transmitted light from the other reading unit 22 or 21.

双方点灯用黒基準シェーディング補正データについて説明する。
第1読取部21の光源23を消灯し、第2読取部22の光源261を点灯する。このとき、消灯側の第1読取部21で受光した光量の光電変換値、つまり読取画像の輝度値を双方点灯用黒基準シェーディング補正データ(表面用)とし、これをシェーディング補正部403が記憶する。
また、第2読取部22の光源261を消灯し、第1読取部21の光源23を点灯する。そして、消灯側の第2読取部22において受光した光量の光電変換値、つまり読取画像の輝度値を双方点灯用黒基準シェーディング補正データ(裏面用)とし、これをシェーディング補正部403が記憶する。
一方の光源を点灯することにより、双方点灯用黒基準シェーディング補正データは、一方の読取部21又は22において他方の読取部22又は21から透過光を受光した状態での光量値データとなる。
The black reference shading correction data for both lighting will be described.
The light source 23 of the first reading unit 21 is turned off, and the light source 261 of the second reading unit 22 is turned on. At this time, the photoelectric conversion value of the amount of light received by the first reading unit 21 on the extinguishing side, that is, the luminance value of the read image is used as both black reference shading correction data for lighting (for front surface), and the shading correction unit 403 stores this. .
Further, the light source 261 of the second reading unit 22 is turned off, and the light source 23 of the first reading unit 21 is turned on. Then, the photoelectric conversion value of the amount of light received by the second reading unit 22 on the extinguishing side, that is, the luminance value of the read image is used as both black reference shading correction data for lighting (for the back side), and the shading correction unit 403 stores this.
By turning on one of the light sources, the black reference shading correction data for both lighting becomes light quantity value data in a state where one reading unit 21 or 22 receives transmitted light from the other reading unit 22 or 21.

次に、シェーディング補正データを用いたシェーディング補正について説明する。なお、以下に説明するシェーディング補正は、原稿Dの表面の画像データに対して行う例であり、第1読取部21が記憶する表面用のシェーディング補正データを用いて行われる。原稿Dの裏面の画像データに対しては、第2読取部22が記憶する裏面用のシェーディング補正データを用いることで同様のシェーディング補正が行われる。   Next, shading correction using shading correction data will be described. The shading correction described below is an example performed on the image data of the surface of the document D, and is performed using the surface shading correction data stored in the first reading unit 21. The same shading correction is performed on the back side image data of the document D by using the back side shading correction data stored in the second reading unit 22.

図7は、第1読取部21の主走査方向の位置と、その位置で第1読取部21により得られた読取画像の輝度値の関係を示す輝度特性図である。
曲線aは第1読取部21の光源23だけ点灯したときの読取画像の輝度値、曲線bは第1読取部21又は第2読取部22が受光する透過光の輝度値、曲線cは第1読取部21及び第2読取部22の光源23及び261が点灯したときの読取画像の輝度値をそれぞれ示している。
図7に示すように、輝度値は主走査方向中央部が最も大きく、主走査方向の左右端部になるにつれて輝度値は減少する。つまり、本来同じ白色基準板からは同じ輝度値が得られるところ、第1読取部21の主走査方向の位置によって輝度差が生じている。これは第1読取部21の構成に起因するものである。
FIG. 7 is a luminance characteristic diagram showing the relationship between the position of the first reading unit 21 in the main scanning direction and the luminance value of the read image obtained by the first reading unit 21 at that position.
Curve a is the luminance value of the read image when only the light source 23 of the first reading unit 21 is lit, curve b is the luminance value of the transmitted light received by the first reading unit 21 or the second reading unit 22, and curve c is the first value. The luminance values of the read image when the light sources 23 and 261 of the reading unit 21 and the second reading unit 22 are turned on are respectively shown.
As shown in FIG. 7, the luminance value is the largest in the central portion in the main scanning direction, and the luminance value decreases as it becomes the left and right end portions in the main scanning direction. That is, when the same luminance value is obtained from the same white reference plate, a luminance difference occurs depending on the position of the first reading unit 21 in the main scanning direction. This is due to the configuration of the first reading unit 21.

読取画像は、量子化されて出力すべき階調とされるが、輝度差が生じた状態で量子化を行う場合、不都合が生じる。量子化の際、読取画像の最高輝度値を最高階調に、最低輝度値を最低階調に対応させて、階調の割り当てを行う。例えば8ビットで0から255までの256階調を表現するとき、最低輝度値は階調0に対応させ、最高輝度値を階調255に対応させて階調の割り当てを行う。この際、主走査方向における中央部の最高輝度値を用いた場合、端部の最高輝度値は中央部よりも小さいため、端部では輝度値が高いにも拘わらず階調255に割り付けられることはない。一方、端部の最高輝度値を階調の割り当てに用いた場合、中央部の高輝度値の領域では全て階調255に割り付けられてしまう。   The read image is quantized to output gradations, but inconvenience occurs when quantization is performed in a state where a luminance difference has occurred. At the time of quantization, gradation is assigned with the highest luminance value of the read image corresponding to the highest gradation and the lowest luminance value corresponding to the lowest gradation. For example, when 256 gradations from 0 to 255 are expressed by 8 bits, gradations are assigned with the lowest luminance value corresponding to gradation 0 and the highest luminance value corresponding to gradation 255. At this time, when the highest luminance value at the central portion in the main scanning direction is used, the highest luminance value at the end portion is smaller than that at the central portion, so that the luminance value at the end portion is assigned to the gradation 255 even though the luminance value is high. There is no. On the other hand, when the highest luminance value at the end is used for gradation assignment, all of the high luminance value areas in the center are assigned to gradation 255.

さらに、第1読取部21、第2読取部22は設置位置がずれているため、読取処理のタイミングがずれることとなる。そのため、読取画像においては、第1読取部21のみ点灯した領域、第1読取部21及び第2読取部22の双方が点灯した領域、第2読取部22のみ点灯した領域が存在することになる。つまり、双方が点灯した領域については第1読取部21、第2読取部22は互いに透過光の影響を受けて一方点灯時より輝度値が大きくなるはずである。そのため、一方点灯、双方点灯の点灯状態によって輝度差が生じることになる。
よって、シェーディング補正によって主走査方向に生じる輝度差を補正するだけでなく、両面同時読取を行う際には光源の点灯状態によって生じる輝度を補正する必要がある。
Furthermore, since the installation positions of the first reading unit 21 and the second reading unit 22 are shifted, the timing of the reading process is shifted. Therefore, in the read image, there are a region where only the first reading unit 21 is lit, a region where both the first reading unit 21 and the second reading unit 22 are lit, and a region where only the second reading unit 22 is lit. . That is, in the area where both are lit, the first reading unit 21 and the second reading unit 22 are affected by the transmitted light, and the luminance value should be larger than that when one is lit. Therefore, a luminance difference is generated depending on the lighting state of one-side lighting or both-side lighting.
Therefore, it is necessary to correct not only the luminance difference caused by the shading correction in the main scanning direction but also the luminance caused by the lighting state of the light source when performing both-side simultaneous reading.

そこで、シェーディング補正部403は、光源の点灯状態及び主走査方向の位置に応じて生じる輝度差を補正するシェーディング補正関数を上記シェーディング補正データを用いて求め、このシェーディング関数に補正対象の読取画像の画像信号(輝度値)を入力してシェーディング補正後の輝度値を得る。シェーディング補正関数は、下記式(1)により求めることができる。
out =[((2−1)/(W−B))(Kin−B)] ・・・(1)
上記式(1)において、Kinは補正前の輝度値、Koutは補正後の輝度値、Wは白基準シェーディング補正データ、Bは黒基準シェーディング補正データ、nは最低階調から最高階調までの階調数を示すビット数を示す。
Therefore, the shading correction unit 403 obtains a shading correction function for correcting a luminance difference generated according to the lighting state of the light source and the position in the main scanning direction using the shading correction data, and the shading function uses the shading correction data of the read image to be corrected. An image signal (luminance value) is input to obtain a luminance value after shading correction. The shading correction function can be obtained by the following equation (1).
K out = [(((2 n −1) / (WB)) (K in −B)] (1)
In the above equation (1), K in is the luminance value before correction, K out is the luminance value after correction, W is the white reference shading correction data, B is the black reference shading correction data, and n is the lowest gradation to the highest gradation. The number of bits indicating the number of gradations up to.

図8は、上記式(1)により求められたシェーディング補正関数を示す図である。
直線d、eは読取部20の光源が一方点灯の時のシェーディング補正関数、直線D、Eは読取部20の光源が双方点灯の時のシェーディング補正関数を示す。また、直線d、Dは原稿Dの主走査方向中央部に対応するシェーディング補正関数、直線e、Eは主走査方向端部に対応するシェーディング補正関数を示す。
FIG. 8 is a diagram showing the shading correction function obtained by the above equation (1).
Straight lines d and e indicate shading correction functions when the light source of the reading unit 20 is lit on one side, and straight lines D and E indicate shading correction functions when both of the light sources of the reading unit 20 are lit. Straight lines d and D indicate shading correction functions corresponding to the center portion of the document D in the main scanning direction, and straight lines e and E indicate shading correction functions corresponding to the end portions in the main scanning direction.

まず、一方点灯用シェーディング補正関数について説明する。
直線dは、読取画像の主走査方向中央部の最高輝度値である一方点灯用白基準シェーディング補正データW1を最高階調(2−1)に割り当て、最低輝度値である一方点灯用黒基準シェーディング補正データB1を最低階調0に割り当てることによって、最低輝度値から最高輝度値までを最低階調から最高階調までの階調に量子化して割り当てた階段直線である。ここで得られる補正後の輝度値(Kout)によって、画像処理部40はシェーディング補正が施された主走査方向中央部の画像データを生成することができる。
First, the one-lighting shading correction function will be described.
A straight line d assigns the one lighting white reference shading correction data W1 which is the highest luminance value in the central portion of the read image in the main scanning direction to the highest gradation (2 n −1), and the one luminance black reference which is the lowest luminance value. By assigning the shading correction data B1 to the lowest gradation 0, it is a stair straight line that is quantized and assigned from the lowest luminance value to the highest luminance value to the gradation from the lowest gradation to the highest gradation. Based on the corrected luminance value (K out ) obtained here, the image processing unit 40 can generate image data of the central portion in the main scanning direction subjected to the shading correction.

直線eは、読取画像の主走査方向左右端部の最高輝度値である一方点灯用白基準シェーディング補正データW1を最高階調(2−1)に割り当て、最低輝度値である一方点灯用黒基準シェーディング補正データB1を最低階調0に割り当てることによって、最低輝度値から最高輝度値までを最低階調から最高階調までの階調に量子化して割り当てた階段直線である。ここで得られる補正後の輝度値(Kout)によって、シェーディング補正部403はシェーディング補正が施された主走査方向左右端部の画像データを生成することができる。 A straight line e assigns the one lighting white reference shading correction data W1 which is the highest luminance value at the left and right ends of the scanned image in the main scanning direction to the highest gradation (2 n −1), and the one lighting black which is the lowest luminance value. By assigning the reference shading correction data B1 to the lowest gradation 0, it is a stair straight line that is quantized and assigned from the lowest luminance value to the highest luminance value into gradations from the lowest gradation to the highest gradation. Based on the corrected luminance value (K out ) obtained here, the shading correction unit 403 can generate image data of the left and right ends in the main scanning direction subjected to the shading correction.

なお、主走査方向中央部及び左右端部以外の範囲におけるシェーディング補正については、個々の固体撮像素子251が受光した電気信号に基づき、直線dから直線eまでの範囲内の直線で示されるシェーディング補正関数(図示省略)で補正される。
これにより、画像処理部40は図7に示す曲線aを平滑化させることで、輝度差のない画像データを生成することができる。
As for shading correction in a range other than the central portion and the left and right end portions in the main scanning direction, shading correction indicated by a straight line within a range from a straight line d to a straight line e based on an electrical signal received by each solid-state imaging device 251. It is corrected by a function (not shown).
Thereby, the image processing unit 40 can generate image data having no luminance difference by smoothing the curve a shown in FIG.

次に、双方点灯用シェーディング補正関数について説明する。
双方点灯用シェーディング補正関数は、双方点灯用白基準シェーディング補正データW2、双方点灯用黒基準シェーディング補正データB2を上述の式1のW、Bへ入力することにより直線D、直線Eで示される。
Next, the shading correction function for both lighting will be described.
The both-lighting shading correction function is represented by straight lines D and E by inputting both-lighting white reference shading correction data W2 and both-lighting black reference shading correction data B2 into W and B of the above-described equation 1.

直線Dは、読取画像の主走査方向中央部の最高輝度値である双方点灯用白基準シェーディング補正データW2を最高階調(2−1)に割り当て、最低輝度値である双方点灯用黒基準シェーディング補正データB2を最低階調0に割り当てることによって、最低輝度値から最高輝度値までを最低階調から最高階調までの階調に量子化して割り当てた階段直線である。ここで得られる補正後の輝度値(Kout)によって、シェーディング補正部403はシェーディング補正が施された主走査方向中央部の画像データを生成することができる。 A straight line D assigns the white reference shading correction data W2 for both lighting, which is the highest luminance value at the center of the read image in the main scanning direction, to the highest gradation (2 n −1), and the black reference for both lighting that is the lowest luminance value. By assigning the shading correction data B2 to the lowest gradation 0, this is a stair straight line that is quantized and assigned from the lowest luminance value to the highest luminance value to the gradation from the lowest gradation to the highest gradation. Based on the corrected luminance value (K out ) obtained here, the shading correction unit 403 can generate image data of the central portion in the main scanning direction subjected to the shading correction.

直線Eは、読取画像の主走査方向左右端部の最高輝度値である双方点灯用白基準シェーディング補正データW2を最高階調(2−1)に割り当て、最低輝度値である双方点灯用黒基準シェーディング補正データB2を最低階調0に割り当てることによって、最低輝度値から最高輝度値までを最低階調から最高階調までの階調に量子化して割り当てた階段直線である。ここで得られる補正後の輝度値(Kout)によって、シェーディング補正部403はシェーディング補正が施された主走査方向左右端部の画像データを生成することができる。 A straight line E assigns the white reference shading correction data W2 for both lighting that is the highest luminance value at the left and right ends of the read image in the main scanning direction to the highest gradation (2 n -1), and the black for both lighting that is the lowest luminance value. By assigning the reference shading correction data B2 to the lowest gradation 0, the stepwise straight line is obtained by quantizing and assigning the lowest luminance value to the highest luminance value to the gradation from the lowest gradation to the highest gradation. Based on the corrected luminance value (K out ) obtained here, the shading correction unit 403 can generate image data of the left and right ends in the main scanning direction subjected to the shading correction.

なお、主走査方向中央部及び左右端部以外の範囲におけるシェーディング補正については、個々の固体撮像素子251が受光した電気信号に基づき、直線Dから直線Eまでの範囲内の直線で示されるシェーディング補正関数(図示省略)で補正される。
これにより、画像処理部40は図7に示す曲線cを平滑化させることで、輝度差のない画像データを生成することができる。
For shading correction in a range other than the central portion and the left and right end portions in the main scanning direction, shading correction indicated by a straight line within the range from straight line D to straight line E based on the electrical signal received by each solid-state imaging device 251. It is corrected by a function (not shown).
As a result, the image processing unit 40 can generate image data having no luminance difference by smoothing the curve c shown in FIG.

次に、上記画像形成装置100において原稿Dの両面を同時に読み取る際の動作について説明する。
図9は、第1読取部21及び第2読取部22による読取処理を説明するフローチャートである。本処理は、読取制御装置200が各種制御プログラムを読み出してその実行を制御するものである。
Next, an operation when the image forming apparatus 100 simultaneously reads both sides of the document D will be described.
FIG. 9 is a flowchart for explaining reading processing by the first reading unit 21 and the second reading unit 22. In this process, the reading control apparatus 200 reads various control programs and controls the execution thereof.

まず、原稿Dの両面読取の動作が開始されると、読取制御装置200はタイマ1〜タイマ4の4つのタイマをそれぞれ所定の時間にセットして(ステップS1)、導入ローラ対12を回転させる(ステップS2)。
タイマ1は第1読取部21の点灯タイミング、タイマ2は第2読取部22の点灯タイミング、タイマ3は第1読取部21の消灯タイミング、タイマ4は第2読取部22の消灯タイミングを計るものである。各タイマ1〜4のセット時間は予め用紙サイズに応じて、第1読取部21及び第2読取部22における光源23及び261が点灯及び消灯すべき時間が計測されてセット時間として設定されているものとする。
各タイマ1〜4はカウントダウン動作し、カウントがセット時間から「0」になった時点で第1読取部21及び第2読取部22の光源23及び261がそれぞれ点灯又は消灯を行うこととなる。
First, when the double-sided reading operation of the document D is started, the reading control apparatus 200 sets four timers 1 to 4 at predetermined times (step S1), and rotates the introduction roller pair 12. (Step S2).
Timer 1 measures the lighting timing of the first reading section 21, timer 2 measures the lighting timing of the second reading section 22, timer 3 measures the lighting timing of the first reading section 21, and timer 4 measures the lighting timing of the second reading section 22. It is. The set times of the timers 1 to 4 are set in advance according to the paper size by measuring the time for the light sources 23 and 261 in the first reading unit 21 and the second reading unit 22 to be turned on and off. Shall.
Each of the timers 1 to 4 counts down, and the light sources 23 and 261 of the first reading unit 21 and the second reading unit 22 are turned on or off when the count reaches “0” from the set time.

原稿トレイ11に置かれた原稿Dを一枚所定の搬送経路上に導入させ(ステップS3)、導入ローラ対12の回転を一旦停止させる(ステップS4)。
読取制御装置200は、第1読取部21及び第2読取部22のステータスを検知し、原稿読取処理が実行可能である場合には給送ローラ対13を回転させ(ステップS5;Yes)、ステータスの検知が出来ない場合には待機する(ステップS5;No)。
One document D placed on the document tray 11 is introduced onto a predetermined transport path (step S3), and the rotation of the introduction roller pair 12 is temporarily stopped (step S4).
The reading control device 200 detects the statuses of the first reading unit 21 and the second reading unit 22, and rotates the feeding roller pair 13 when the document reading process can be executed (step S5; Yes). If this cannot be detected, the process waits (step S5; No).

読取制御装置200は、給送ローラ対13を回転させて、導入ローラ対12によって導入された原稿Dをプラテンガラス14上に搬送させる(ステップS6)。
読取制御装置200は、プラテンガラス14上を移動する原稿Dの先端が原稿位置センサ7の観測地点を通過するまで待機し(ステップS7;No)、通過し始めると(ステップS7;Yes)タイマ1とタイマ2のカウントダウンを開始する(ステップS8)。
The reading control device 200 rotates the feeding roller pair 13 and conveys the document D introduced by the introducing roller pair 12 onto the platen glass 14 (step S6).
The reading control apparatus 200 waits until the leading edge of the document D moving on the platen glass 14 passes the observation point of the document position sensor 7 (Step S7; No), and starts to pass (Step S7; Yes). The timer 2 starts to count down (step S8).

タイマ1のカウントが「0」になるまでは、原稿Dは第1読取部21に到達しておらず(ステップS9;No)、タイマ1のカウントが「0」になるときは(ステップS9;Yes)、原稿Dの先端が第1読取部21の読取地点に到達した時刻となる。このとき、読取制御装置200は第1読取部21に原稿読取処理を開始させる。
第1読取部21は、光源23を点灯させて一連の読取処理を開始する(ステップS10)。第1読取部21で点灯された光源23の光は原稿Dの表面に照射され、原稿Dの表面からの反射光をCIS25で受光する。
Until the count of the timer 1 reaches “0”, the document D has not reached the first reading unit 21 (step S9; No), and when the count of the timer 1 becomes “0” (step S9; Yes), the time when the leading edge of the document D reaches the reading point of the first reading unit 21 is reached. At this time, the reading control device 200 causes the first reading unit 21 to start a document reading process.
The first reading unit 21 turns on the light source 23 and starts a series of reading processes (step S10). The light of the light source 23 lit by the first reading unit 21 is irradiated on the surface of the document D, and the reflected light from the surface of the document D is received by the CIS 25.

タイマ1のカウント終了後、タイマ2のカウントが「0」になると(ステップS11;Yes)、原稿Dの先端が第2読取部22の読取地点に到達した時刻となるので、読取制御装置200は第2読取部22に原稿読取処理を開始させる。
第2読取部22は、光源261を点灯させて一連の原稿読取処理を開始する(ステップS12)。第2読取部22で点灯された光源261の光は原稿Dの裏面に照射され、原稿Dの裏面からの反射光をCIS25で受光する。
When the count of the timer 2 reaches “0” after the count of the timer 1 ends (step S11; Yes), the time when the leading edge of the document D reaches the reading point of the second reading unit 22 is reached. The second reading unit 22 is caused to start the document reading process.
The second reading unit 22 turns on the light source 261 and starts a series of document reading processes (step S12). The light of the light source 261 turned on by the second reading unit 22 is irradiated on the back surface of the document D, and the reflected light from the back surface of the document D is received by the CIS 25.

読取制御装置200は、プラテンガラス14上を移動する原稿Dの後端が原稿位置センサ7の観測地点を通過するまで待機し(ステップS13;No)、通過し始めると(ステップS13;Yes)タイマ3とタイマ4のカウントダウンを開始する(ステップS14)。   The reading control device 200 waits until the trailing edge of the document D moving on the platen glass 14 passes through the observation point of the document position sensor 7 (Step S13; No), and starts to pass (Step S13; Yes). 3 and timer 4 start to count down (step S14).

タイマ3のカウントが「0」になるまでは、原稿Dの後端は第1読取部21の読取地点に到達しておらず(ステップS15;No)、タイマ3のカウントが「0」になると(ステップS15;Yes)、原稿Dの後端が第1読取部21の読取地点に到達した時刻となるので、読取制御装置200は第1読取部21に原稿読取処理を終了させる。
第1読取部21は、光源23を消灯させて一連の原稿読取処理を終了する(ステップS16)。
Until the count of the timer 3 reaches “0”, the trailing edge of the document D has not reached the reading point of the first reading unit 21 (step S15; No), and when the count of the timer 3 reaches “0”. (Step S15; Yes) Since the time when the trailing edge of the document D reaches the reading point of the first reading unit 21 is reached, the reading control device 200 causes the first reading unit 21 to end the document reading process.
The first reading unit 21 turns off the light source 23 and ends a series of document reading processing (step S16).

タイマ3のカウント終了後、タイマ4のカウントが「0」になると(ステップS17;Yes)、原稿Dの後端が第2読取部22の読取地点に到達した時刻となる。このとき、読取制御装置200は第2読取部22に原稿読取処理を終了させる。
第2読取部22は、光源261を消灯させて一連の原稿読取処理を終了する(ステップS18)。
When the count of the timer 4 reaches “0” after the timer 3 finishes counting (step S17; Yes), the time when the trailing edge of the document D reaches the reading point of the second reading unit 22 is reached. At this time, the reading control device 200 causes the second reading unit 22 to finish the document reading process.
The second reading unit 22 turns off the light source 261 and ends a series of document reading processing (step S18).

原稿Dが排出ローラ対15まで搬送されると、読取制御装置200は排出ローラ対15を回転させる。原稿Dは排出ローラ対15によって排出トレイ16に排出され(ステップS21)、排出が終了すると排出ローラ対15は停止する(ステップS22)。排出トレイ16には原稿読取処理を終えた原稿Dが積載される。原稿トレイ11に原稿Dがある場合には(ステップS23;No)、ステップS1の処理へ移行し、上述した処理を繰り返す。原稿トレイ11に原稿Dがない場合(ステップS23;Yes)、本処理を終了する。   When the document D is conveyed to the discharge roller pair 15, the reading control device 200 rotates the discharge roller pair 15. The document D is discharged to the discharge tray 16 by the discharge roller pair 15 (step S21), and when the discharge is completed, the discharge roller pair 15 stops (step S22). A document D that has been subjected to the document reading process is stacked on the discharge tray 16. If there is a document D on the document tray 11 (step S23; No), the process proceeds to step S1, and the above-described processing is repeated. If there is no document D in the document tray 11 (step S23; Yes), this process is terminated.

次に、図10を参照して、第1読取部21及び第2読取部22の光源23及び261の点灯及び消灯タイミングについて説明する。
T1は第1読取部21が光源23を点灯するタイミングチャート、T2は第2読取部22が光源261を点灯するタイミングチャート、T3はタイミングチャートT1、T2における第1読取部21及び第2読取部22の光源23及び261の点灯状態を示す図である。
Next, with reference to FIG. 10, the lighting and extinguishing timings of the light sources 23 and 261 of the first reading unit 21 and the second reading unit 22 will be described.
T1 is a timing chart at which the first reading unit 21 lights the light source 23, T2 is a timing chart at which the second reading unit 22 lights the light source 261, and T3 is the first reading unit 21 and the second reading unit in the timing charts T1 and T2. It is a figure which shows the lighting state of 22 light sources 23 and 261.

タイマ1がカウント「0」になると第1読取部21は光源23を点灯させ(t1)、タイマ2がカウント「0」になるまで第2読取部22は光源261を消灯させる。この間に生成された表面の画像データに対しては、一方点灯用白基準シェーディング補正データ及び一方点灯用黒基準シェーディング補正データを用いたシェーディング補正を行う。   When the timer 1 reaches the count “0”, the first reading unit 21 turns on the light source 23 (t1), and the second reading unit 22 turns off the light source 261 until the timer 2 reaches the count “0”. The surface image data generated during this time is subjected to shading correction using the one lighting white reference shading correction data and the one lighting black reference shading correction data.

タイマ2がカウント「0」になると第2読取部22は光源261を点灯させ(t2)、タイマ3がカウント「0」になるまで第1読取部21及び第2読取部22は光源23及び261を点灯させる。この間に生成された表面及び裏面の画像データに対しては、双方点灯用白基準シェーディング補正データ及び双方点灯用黒基準シェーディング補正データをそれぞれ用いたシェーディング補正を行う。   When the timer 2 reaches the count “0”, the second reading unit 22 turns on the light source 261 (t2), and the first reading unit 21 and the second reading unit 22 light sources 23 and 261 until the timer 3 reaches the count “0”. Lights up. The front and back image data generated during this time is subjected to shading correction using both the lighting white reference shading correction data and the lighting black reference shading correction data.

タイマ3がカウント「0」になると第1読取部21は光源23を消灯させ(t3)、タイマ4がカウント「0」になるまで第2読取部22は光源261を点灯させる。この間に生成された裏面の画像データに対しては、一方点灯用白基準シェーディング補正データ及び一方点灯用黒基準シェーディング補正データを用いたシェーディング補正を行う。   When the timer 3 reaches the count “0”, the first reading unit 21 turns off the light source 23 (t3), and the second reading unit 22 turns on the light source 261 until the timer 4 reaches the count “0”. The back side image data generated during this time is subjected to shading correction using the one lighting white reference shading correction data and the one lighting black reference shading correction data.

タイマ4が「1」から「0」になると第2読取部22は光源261を消灯させ(t4)、第1読取部21及び第2読取部22の光源23及び261が消灯することで読取処理は終了する。
第1読取部21によって得られた読取画像は原稿表面の読取画像として、第2読取部22によって得られた読取画像は原稿裏面の読取画像として画像処理部40に出力される。画像処理部40では、表面及び裏面の読取画像を、アナログ信号処理部411で処理を施した後、デジタル信号処理部422に入力する。デジタル信号処理部422では、シェーディング補正処理を含む各種処理を実行する。
When the timer 4 changes from “1” to “0”, the second reading unit 22 turns off the light source 261 (t4), and the light sources 23 and 261 of the first reading unit 21 and the second reading unit 22 are turned off. Ends.
The read image obtained by the first reading unit 21 is output to the image processing unit 40 as a read image on the front side of the document, and the read image obtained by the second reading unit 22 is output as a read image on the back side of the document. In the image processing unit 40, the front and back read images are processed by the analog signal processing unit 411 and then input to the digital signal processing unit 422. The digital signal processing unit 422 executes various processes including a shading correction process.

次に、図11を参照して、上記読取処理により得られた読取画像に対し、シェーディング補正部403において行われるシェーディング補正処理について説明する。
まず、図11に示すように第1読取部21及び第2読取部22によって読み取られた読取画像が画像処理部40に入力される(ステップS31)。
Next, with reference to FIG. 11, the shading correction process performed in the shading correction part 403 with respect to the read image obtained by the said reading process is demonstrated.
First, as shown in FIG. 11, the read images read by the first reading unit 21 and the second reading unit 22 are input to the image processing unit 40 (step S31).

シェーディング補正部403は、入力された読取画像が原稿Dの表面のものであれば(ステップS32;Yes)、表面用のシェーディング補正データを読み出す(ステップS33)。また、入力された読取画像が原稿Dの裏面のものであれば(ステップS32;No)、裏面用のシェーディング補正データを読み出す(ステップS34)。   If the input read image is on the front side of the document D (step S32; Yes), the shading correction unit 403 reads the front-side shading correction data (step S33). If the input read image is on the back side of the document D (step S32; No), the shading correction data for the back side is read (step S34).

読み出すシェーディング補正データは、表面用と裏面用でそれぞれ4つの種類のシェーディング補正データがある。
4つのシェーディング補正データとは、一方点灯用白基準シェーディング補正データ、一方点灯用黒基準シェーディング補正データ、双方点灯用白基準シェーディング補正データ、双方点灯用黒基準シェーディング補正データである。
There are four types of shading correction data to be read, one for the front side and one for the back side.
The four shading correction data are one lighting white reference shading correction data, one lighting black reference shading correction data, two lighting white reference shading correction data, and both lighting black reference shading correction data.

次いで、シェーディング補正部403は、読取画像において光源の点灯状態及び読取画像の主走査方向の位置に応じてシェーディング補正データを切替えてシェーディング補正を行う。
光源の点灯状態は、読取制御装置200から読取処理時のタイマ制御情報を取得し、当該タイマ制御情報に基づいて、第1読取部21又は第2読取部22の一方点灯した状態か、双方が点灯した状態かを判断する。
Next, the shading correction unit 403 performs shading correction by switching the shading correction data in the read image according to the lighting state of the light source and the position of the read image in the main scanning direction.
The lighting state of the light source is obtained by acquiring timer control information at the time of reading processing from the reading control device 200 and, based on the timer control information, one of the first reading unit 21 and the second reading unit 22 is lit or both are Determine if it is lit.

原稿Dの表面の読取画像においては、タイマ1のカウントが「0」になった時点からタイマ2のカウントが「0」になる時点までは、第1読取部21の光源23だけが点灯して生成された画像領域であり、タイマ2のカウントが「0」になった時点からタイマ3のカウントが「0」になる時点までは、第1読取部21及び第2読取部22の双方の光源23及び261が点灯して生成された画像領域となる。この画像領域は、タイマ制御情報に基づいて読取制御装置200により設定される範囲であり、画像処理部40はこの設定に基づいてシェーディング補正データを各画像領域に適用させることでシェーディング補正を行うものとする。   In the read image on the surface of the document D, only the light source 23 of the first reading unit 21 is turned on from the time when the count of the timer 1 becomes “0” to the time when the count of the timer 2 becomes “0”. From the time when the count of the timer 2 becomes “0” to the time when the count of the timer 3 becomes “0”, the light source of both the first reading unit 21 and the second reading unit 22 The image areas 23 and 261 are turned on and generated. This image area is a range set by the reading control apparatus 200 based on the timer control information, and the image processing unit 40 performs shading correction by applying shading correction data to each image area based on this setting. And

また、原稿Dの裏面の読取画像においては、タイマ2がカウント「0」になった時点からタイマ3がカウント「0」になる時点までが第1読取部21及び第2読取部の双方の光源23及び261が点灯して生成された画像領域であり、タイマ3がカウント「0」になった時点からタイマ4がカウント「0」になる時点までが第2読取部22の光源261だけが点灯して生成された画像領域となる。   In the read image on the back side of the document D, the light sources of both the first reading unit 21 and the second reading unit are from the time when the timer 2 reaches the count “0” to the time when the timer 3 reaches the count “0”. 23 and 261 are image areas generated by lighting, and only the light source 261 of the second reading unit 22 is lit from the time when the timer 3 reaches the count “0” to the time when the timer 4 reaches the count “0”. As a result, the image area is generated.

次いで、シェーディング補正部403は、読取制御装置200で設定された画像領域に応じて、異なるシェーディング補正データを切替えてシェーディング補正を行う(ステップS35)。具体的には、読み出したシェーディング補正データを用いて光源の点灯状態及び主走査方向の位置ごとにシェーディング関数を求め、当該シェーディング関数をそれぞれの画像領域に適用する。   Next, the shading correction unit 403 performs shading correction by switching different shading correction data according to the image area set by the reading control apparatus 200 (step S35). Specifically, a shading function is obtained for each lighting state of the light source and the position in the main scanning direction using the read shading correction data, and the shading function is applied to each image region.

例えば、図12に示す原稿Dの表面の読取画像が得られた場合、シェーディング補正部403は第1読取部21の光源23だけ一方点灯させて生成した画像領域については、表面用の一方点灯用白基準シェーディング補正データ及び一方点灯用黒基準シェーディング補正データを用いてシェーディング補正関数d、e(図8参照)を求めてこれを適用する。
一方、第1読取部21及び第2読取部22の双方の光源23及び261が点灯して生成された画像領域については、双方点灯用白基準シェーディング補正データ及び双方点灯用黒基準シェーディング補正データを用いてシェーディング補正関数D、E(図8参照)を求め、これを適用する。
For example, when the read image of the surface of the document D shown in FIG. 12 is obtained, the shading correction unit 403 turns on only one of the light sources 23 of the first reading unit 21 and generates one of the front-side lighting images. Using the white reference shading correction data and the one-lighting black reference shading correction data, the shading correction functions d and e (see FIG. 8) are obtained and applied.
On the other hand, for the image area generated by turning on the light sources 23 and 261 of both the first reading unit 21 and the second reading unit 22, both the lighting white reference shading correction data and the lighting both black reference shading correction data are used. The shading correction functions D and E (see FIG. 8) are obtained and used.

原稿Dの裏面の読取画像においても同様である。つまり、第1読取部21及び第2読取部22の双方の光源23及び261が点灯して生成された画像領域には、裏面用の双方点灯用白基準シェーディング補正データ及び双方点灯用黒基準シェーディング補正データを用いてシェーディング補正関数D、Eを求めて適用し、第2読取部22の光源261だけが一方点灯して生成された画像領域については、一方点灯用白基準シェーディング補正データ及び一方点灯用黒基準シェーディング補正データを用いてシェーディング補正関数d、eを求め、これを適用する。   The same applies to the read image on the back side of the document D. That is, in the image area generated by turning on the light sources 23 and 261 of both the first reading unit 21 and the second reading unit 22, the both-side lighting white reference shading correction data and the both-lighting black reference shading are displayed. With respect to an image region generated by applying only the light source 261 of the second reading unit 22 and lighting the shading correction functions D and E using the correction data, the white reference shading correction data for one lighting and the one lighting are generated. The shading correction functions d and e are obtained using the black reference shading correction data for use and applied.

すなわち、シェーディング補正部403は、原稿Dの表面又は裏面の読取画像において光源の点灯状態及び主走査方向における位置によって輝度特性が異なる画像領域に応じて用いるシェーディング補正データを切替える。
シェーディング補正部403は、シェーディング補正が施された読取画像を出力すると(ステップS36)、本処理を終了する。
In other words, the shading correction unit 403 switches shading correction data to be used in accordance with image regions having different luminance characteristics depending on the lighting state of the light source and the position in the main scanning direction in the read image of the front or back surface of the document D.
When the shading correction unit 403 outputs the read image subjected to the shading correction (step S36), the process ends.

以上のように、本実施形態によれば、読取画像の主走査方向の位置(中央部、端部)と、第1読取部21及び第2読取部22の光源23及び261の点灯状態とに応じたシェーディング補正データを用意しておき、読取画像において読取画像の主走査方向の位置及び光源の点灯状態が異なる画像領域に応じたシェーディング補正データを用いてシェーディング補正を行う。これにより、主走査方向の位置により生じる輝度差だけでなく、2つの各読取部21及び22の光源23及び261の点灯状態によって生じる輝度差をも補正することができ、適切なシェーディング補正を行うことができる。   As described above, according to the present embodiment, the position (center portion and end portion) of the read image in the main scanning direction and the light sources 23 and 261 of the first reading unit 21 and the second reading unit 22 are turned on. Corresponding shading correction data is prepared, and shading correction is performed using shading correction data corresponding to image areas in which the position of the read image in the main scanning direction and the lighting state of the light source differ in the read image. Thus, not only the luminance difference caused by the position in the main scanning direction but also the luminance difference caused by the lighting states of the light sources 23 and 261 of the two reading units 21 and 22 can be corrected, and appropriate shading correction is performed. be able to.

また、本実施形態によれば、2つの対向する各読取部21及び22の光源23及び261について、一方が点灯時には他方を消灯させる等の読取部20の動作について制限はない。そのため、優れた点滅性能及び光量出力性能の光源を用いる必要はなく、コスト面の改善を図ることができる。   Further, according to the present embodiment, there is no restriction on the operation of the reading unit 20 such that one of the light sources 23 and 261 of the two reading units 21 and 22 facing each other is turned off when one is turned on. Therefore, it is not necessary to use a light source with excellent blinking performance and light output performance, and cost can be improved.

画像形成装置の概要構成図である。1 is a schematic configuration diagram of an image forming apparatus. 自動原稿搬送装置の概要構成図である。1 is a schematic configuration diagram of an automatic document feeder. 第1読取部の概要構成図である。It is a schematic block diagram of a 1st reading part. 第2読取部の概要構成図である。It is a schematic block diagram of a 2nd reading part. 画像形成装置の機能ブロック図である。2 is a functional block diagram of the image forming apparatus. FIG. 光源の点灯又は消灯と読取部が取得するシェーディング補正データとの関係を説明する図である。It is a figure explaining the relationship between lighting on / off of a light source, and the shading correction data which a reading part acquires. 白色基準板の主走査方向の位置と光量信号との関係を示す図である。It is a figure which shows the relationship between the position of a main scanning direction of a white reference board, and a light quantity signal. シェーディング補正前とシェーディング補正後との関係を示す図である。It is a figure which shows the relationship between before shading correction | amendment and after shading correction | amendment. 原稿の両面を同時に読み取る読取動作を説明するフローチャートである。6 is a flowchart illustrating a reading operation for simultaneously reading both sides of a document. 光源の点灯タイミングを説明するタイミングチャートである。It is a timing chart explaining the lighting timing of a light source. シェーディング補正処理を説明するフローチャートである。It is a flowchart explaining a shading correction process. 読取画像において区分けされた画像領域を示す図である。It is a figure which shows the image area divided in the read image.

符号の説明Explanation of symbols

10 自動原稿搬送装置
20 読取部
21 第1読取部
22 第2読取部
40 画像処理部
100 画像形成装置
200 読取制御装置
403 シェーディング補正部
DESCRIPTION OF SYMBOLS 10 Automatic document feeder 20 Reading part 21 First reading part 22 Second reading part 40 Image processing part 100 Image forming apparatus 200 Reading control apparatus 403 Shading correction part

Claims (6)

光源を有する2つの読取部によって、原稿の表面及び裏面の画像が同時期に読み取られた読取画像に対して、前記2つの読取部の一方が点灯した際に読み取られた一方点灯時の画像領域と、前記2つの読取部の双方が点灯した際に読み取られた双方点灯時の画像領域と
で異なるシェーディング補正データを切替えてシェーディング補正を行うシェーディング補正手段と、
を備えることを特徴とする画像処理装置。
An image area that is read when one of the two reading units is turned on with respect to a read image in which the images on the front and back sides of the document are read simultaneously by two reading units having a light source. And a shading correction means for performing shading correction by switching different shading correction data in the image area when both of the two reading sections are lit and read when both are lit.
An image processing apparatus comprising:
前記シェーディング補正データは、前記2つの読取部の一方を点灯させた場合に生じる輝度差を補正するための一方点灯用シェーディング補正データと、前記一対の読取部の双方を点灯させた場合に生じる輝度差を補正するための双方点灯用シェーディング補正データと、を含み、
前記シェーディング補正手段は、前記読取画像において一方点灯の画像領域に対しては一方点灯用シェーディング補正データを用いて、双方点灯の画像領域に対しては双方点灯用シェーディング補正データを用いてシェーディング補正を行うことを特徴とする請求項1に記載の画像処理装置。
The shading correction data includes one-lighting shading correction data for correcting a luminance difference generated when one of the two reading units is lit, and luminance generated when both the pair of reading units are lit. Including shading correction data for both lighting for correcting the difference,
The shading correction means uses the one-lighting shading correction data for the one-lighted image area in the read image and performs the shading correction for the two-lighted image area using the two-lighting shading correction data. The image processing apparatus according to claim 1, wherein the image processing apparatus performs the processing.
前記シェーディング補正データは、前記読取部による読取画像の最高輝度値又は最低輝度値を示すデータであって、白色基準板又は黒色基準板を用いて作成され、
前記シェーディング補正手段は、前記シェーディング補正データを用いて読取画像の輝度値を出力画像の階調に対応させるシェーディング関数を算出し、当該シェーディング関数によってシェーディング補正を行うことを特徴とする請求項1又は2に記載の画像処理装置。
The shading correction data is data indicating the highest luminance value or the lowest luminance value of an image read by the reading unit, and is created using a white reference plate or a black reference plate,
The shading correction unit calculates a shading function that uses the shading correction data to associate a luminance value of a read image with a gradation of an output image, and performs shading correction using the shading function. 2. The image processing apparatus according to 2.
光源を有する2つの読取部によって、原稿の表面及び裏面の画像を同時に読み取る読取装置と、
前記読み取られた表面及び裏面の読取画像において、前記2つの読取部の一方が点灯した際に読み取られた一方点灯時の画像領域と、前記2つの読取部の双方が点灯した際に読み取られた双方点灯時の画像領域と
で異なるシェーディング補正データを切替えてシェーディング補正を行うシェーディング補正手段と、
を備えることを特徴とする画像形成装置。
A reading device that simultaneously reads images on the front and back sides of a document by two reading units having a light source;
In the read images of the read front and back surfaces, the image area was read when one of the two reading units was lit, and was read when both the two reading units were lit. Shading correction means for performing shading correction by switching different shading correction data depending on the image area when both are lit,
An image forming apparatus comprising:
光源を有する2つの読取部によって、原稿の表面及び裏面の画像を略同時期に読み取る画像読取装置であって、
前記各読取部の読取位置における原稿画像上の位置と、前記各読取部のそれぞれの光源の点灯状態に基づいてシェーディング補正データを選択するシェーディング補正データ選択手段と、
選択したシェーディング補正データを用いてシェーディング補正を行うシェーディング補正手段と、
を備えることを特徴とする画像読取装置。
An image reading apparatus that reads images on the front and back sides of a document at approximately the same time by two reading units having a light source,
Shading correction data selection means for selecting shading correction data based on the position on the document image at the reading position of each reading unit and the lighting state of each light source of each reading unit;
Shading correction means for performing shading correction using the selected shading correction data;
An image reading apparatus comprising:
前記シェーディング補正データは、前記2つの読取部の一方を点灯させた場合に生じる輝度差を補正するための一方点灯用シェーディング補正データと、前記一対の読取部の双方を点灯させた場合に生じる輝度差を補正するための双方点灯用シェーディング補正データと、を含み、
前記シェーディング補正手段は、前記読取画像において一方点灯の画像領域に対しては一方点灯用シェーディング補正データを用いて、双方点灯の画像領域に対しては双方点灯用シェーディング補正データを用いてシェーディング補正を行うことを特徴とする請求項5に記載の画像読取装置。
The shading correction data includes one-lighting shading correction data for correcting a luminance difference generated when one of the two reading units is lit, and luminance generated when both the pair of reading units are lit. Including shading correction data for both lighting for correcting the difference,
The shading correction means uses the one-lighting shading correction data for the one-lighted image area in the read image and performs the shading correction for the two-lighted image area using the two-lighting shading correction data. The image reading apparatus according to claim 5, wherein the image reading apparatus is performed.
JP2006352910A 2006-12-27 2006-12-27 Image processor, image forming apparatus, and image reader Pending JP2008167039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006352910A JP2008167039A (en) 2006-12-27 2006-12-27 Image processor, image forming apparatus, and image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006352910A JP2008167039A (en) 2006-12-27 2006-12-27 Image processor, image forming apparatus, and image reader

Publications (1)

Publication Number Publication Date
JP2008167039A true JP2008167039A (en) 2008-07-17

Family

ID=39695900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006352910A Pending JP2008167039A (en) 2006-12-27 2006-12-27 Image processor, image forming apparatus, and image reader

Country Status (1)

Country Link
JP (1) JP2008167039A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010226163A (en) * 2009-03-19 2010-10-07 Konica Minolta Business Technologies Inc Image reader
JP2011010198A (en) * 2009-06-29 2011-01-13 Konica Minolta Business Technologies Inc Image reading apparatus
JP2012249241A (en) * 2011-05-31 2012-12-13 Brother Ind Ltd Image reading apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010226163A (en) * 2009-03-19 2010-10-07 Konica Minolta Business Technologies Inc Image reader
JP2011010198A (en) * 2009-06-29 2011-01-13 Konica Minolta Business Technologies Inc Image reading apparatus
JP2012249241A (en) * 2011-05-31 2012-12-13 Brother Ind Ltd Image reading apparatus

Similar Documents

Publication Publication Date Title
KR101299813B1 (en) Image reading device
JP4858407B2 (en) Image reading device
EP2472844B1 (en) Image reading apparatus and controlling method thereof
US8917423B2 (en) Image scanner, auto document feeder, and image forming apparatus
EP2548367B1 (en) Image reader and image forming apparatus
JP5760395B2 (en) Image reading apparatus and image forming apparatus
JP2007143014A (en) Image reading apparatus and image reading method
JP2006129296A (en) Document reading method, document reading apparatus, image forming apparatus, and image scanner
JP4973757B2 (en) Image reading device
JP2018137521A (en) Image reading device
JP5244881B2 (en) Image reading apparatus and image forming apparatus
JP2012129909A (en) Document reading apparatus and image processing method
JP2008167039A (en) Image processor, image forming apparatus, and image reader
JP5926629B2 (en) Image reading device
US20080018954A1 (en) Image Scanning Apparatus, Image Forming Apparatus and Image Scanning Method
JP4928597B2 (en) Image reading apparatus, image processing apparatus, image forming apparatus, system thereof, and control method thereof
JP2012015750A (en) Image reading device and image forming apparatus having the device
JP2006333003A (en) Double-sided document reading apparatus and double-sided document reading method
JP2015204567A (en) Image reading device and control method and program therefor
JP6043826B2 (en) Image reading apparatus and image forming apparatus having the same
JP5804873B2 (en) Image reading apparatus, image forming apparatus, and image reading method
JP6197412B2 (en) Imaging apparatus, image reading apparatus, image forming apparatus, and driving method of imaging apparatus
JP5775828B2 (en) Image reading apparatus and image forming apparatus having the same
JP2019129422A (en) Image reading device
JP2013090258A (en) Image reading apparatus, image forming apparatus, and image reading method