JP2015170888A - image reader - Google Patents

image reader Download PDF

Info

Publication number
JP2015170888A
JP2015170888A JP2014042636A JP2014042636A JP2015170888A JP 2015170888 A JP2015170888 A JP 2015170888A JP 2014042636 A JP2014042636 A JP 2014042636A JP 2014042636 A JP2014042636 A JP 2014042636A JP 2015170888 A JP2015170888 A JP 2015170888A
Authority
JP
Japan
Prior art keywords
scanning direction
sub
component data
color
color component
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
JP2014042636A
Other languages
Japanese (ja)
Other versions
JP2015170888A5 (en
JP6270548B2 (en
Inventor
冨樫 和寛
Kazuhiro Togashi
和寛 冨樫
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 JP2014042636A priority Critical patent/JP6270548B2/en
Publication of JP2015170888A publication Critical patent/JP2015170888A/en
Publication of JP2015170888A5 publication Critical patent/JP2015170888A5/ja
Application granted granted Critical
Publication of JP6270548B2 publication Critical patent/JP6270548B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color Image Communication Systems (AREA)
  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image reader whose cost can be reduced by reducing processing circuit scale.SOLUTION: An image reader 100 includes: a CIS (Contact Image Sensor) 101 which reads a document and outputs a plurality of color component data; a shading correction circuit 309 which corrects color misregistration and adjusts an MTF (Modulation Transfer Function) in a sub-scanning direction orthogonal to a main scanning direction corresponding to an axial direction of the CIS 101; a nonvolatile memory 312 for storing a color misregistration value and an MTF value relating to the CIS 101; and a CPU 301 for determining a filter coefficient corresponding to the stored color misregistration value and the MTF value in the sub-scanning direction by referring to a table holding filter coefficients so as to be made to correspond to a plurality of combinations of color misregistration values and MTF values in the sub-scanning direction. The shading correction circuit 309 uses the filter coefficient determined by the CPU 301 and performs filter processing on color component data of a pixel under consideration output from the CIS 101 by using image data of two pixels which are longitudinally adjacent in the sub-scanning direction.

Description

本発明は、原稿を読み取り、複数の色成分データを出力する読取センサを有する画像読取装置に関する。   The present invention relates to an image reading apparatus having a reading sensor that reads a document and outputs a plurality of color component data.

複写機、マルチファンクションプリンタ等に適用される画像読取装置の原稿照明用光源として、R(赤)、G(緑)、B(青)の光を発光する発光ダイオード(以下、「LED」という。)を適用したものがある。このようなLEDを光源とする画像読取ユニットとして、コンタクトイメージセンサ(CIS)が挙げられる。   A light emitting diode (hereinafter referred to as “LED”) that emits R (red), G (green), and B (blue) light as a light source for illuminating a document of an image reading apparatus applied to a copying machine, a multifunction printer, or the like. ) Is applied. As an image reading unit using such an LED as a light source, a contact image sensor (CIS) can be cited.

R、G、B3色のLEDを光源とするCISでは原稿からの拡散光を受光するラインセンサにはカラーフィルタが塗布されていない。従って、カラー画像の読み取りを行う場合にはラインセンサの読み取りライン周期に同期させてR、G、Bに対応する各LEDを順番に点灯させて、原稿画像のR、G、B色分解を行っている。そして、副走査1ライン分のカラー画像を形成するのに1/3ラインずつ順番にR、G、B色の読み取りを行うので、この種の読取ユニットでは読み取り画像の副走査方向に色ずれが発生する虞がある。   In the CIS using R, G, and B three-color LEDs as light sources, a color filter is not applied to a line sensor that receives diffused light from a document. Therefore, when reading a color image, the LEDs corresponding to R, G, and B are turned on in order in synchronization with the reading line cycle of the line sensor to perform R, G, and B color separation of the original image. ing. Then, in order to form a color image for one sub-scanning line, the R, G, and B colors are read in order by 1/3 line, so this type of reading unit has a color shift in the sub-scanning direction of the read image. May occur.

また、CISは密着光学系と呼ばれる結像構成であり、結像素子にはレンズアレイが使用されている。レンズアレイは被写体深度が狭いため、CISと原稿との距離、すなわち光路長を規定するメカ部品の寸法公差により読取装置の機体毎の読み取り画像MTF値の差が大きくなり易いという特性がある。   CIS has an imaging structure called a contact optical system, and a lens array is used as an imaging element. Since the lens array has a narrow depth of field, there is a characteristic that the difference in the read image MTF value for each body of the reading device tends to be large due to the dimensional tolerance of the mechanical part that defines the distance between the CIS and the original, that is, the optical path length.

そこで、副走査方向の色ずれを補正する画素補間部と画像の高周波成分を減衰させるフィルタ処理部を備え、R、G、B光源を順次切り替えてカラー画像を読み取る画像読取装置が提案されている(例えば、特許文献1参照)。この画像読取装置では、画素補間部での副走査方向の色ずれは、第一の読み取り周期の画像と第二の読み取り周期の画像から、すなわちnライン目とn+1ライン目の画像をバイリニア方式で画素補間処理することで対応している。一方、フィルタ処理部では、注目画素の階調値とこの注目画素と副走査方向に隣り合う隣接画素の階調値とを演算することにより、注目画素の階調値を出力するローパスフィルタを構成し、画像MTFの調整を行っている。   Therefore, an image reading apparatus that includes a pixel interpolation unit that corrects color misregistration in the sub-scanning direction and a filter processing unit that attenuates high-frequency components of an image and reads a color image by sequentially switching R, G, and B light sources has been proposed. (For example, refer to Patent Document 1). In this image reading apparatus, color misregistration in the sub-scanning direction in the pixel interpolating unit is based on the bilinear method from the image of the first reading cycle and the image of the second reading cycle, that is, the nth and n + 1th line images. This is supported by pixel interpolation. On the other hand, the filter processing unit constitutes a low-pass filter that outputs the gradation value of the target pixel by calculating the gradation value of the target pixel and the gradation value of the adjacent pixel adjacent to the target pixel in the sub-scanning direction. Then, the image MTF is adjusted.

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

しかしながら、特許文献1の技術は、副走査方向の色ずれ補正をバイリニア処理で行うために画像処理回路の構成によっては主走査1ライン分の画像メモリが必要となる。また、副走査方向のMTF値を補正するためには、フィルタ処理部において最低2ライン分の画像メモリが必要になる。すなわち、合計3ライン分のメモリが必要となって、回路規模が大きくなり過ぎ、製品のコストアップにつながるという問題がある。   However, the technique of Patent Document 1 requires an image memory for one main scanning line depending on the configuration of the image processing circuit in order to perform color misregistration correction in the sub-scanning direction by bilinear processing. Further, in order to correct the MTF value in the sub-scanning direction, an image memory for at least two lines is required in the filter processing unit. That is, there is a problem that a total of three lines of memory are required, the circuit scale becomes too large, and the cost of the product is increased.

本発明は、処理回路規模を縮小させ、コストダウンを図ることができる画像読取装置を提供することを目的とする。   An object of the present invention is to provide an image reading apparatus capable of reducing the processing circuit scale and reducing the cost.

上記課題を解決するために、請求項1に係る画像読取装置は、原稿を読み取り、複数の色成分データを出力する読取センサと、前記読取センサの軸方向に対応する主走査方向に直交する副走査方向の色ずれの補正とMTFの調整を行うフィルタ処理手段と、前記読取センサにかかる、副走査方向の色ずれ値とMTF値とを記憶する記憶手段と、副走査方向の色ずれ値とMTF値との複数の組み合わせに対応させてフィルタ係数を保持するテーブルを参照して、前記記憶されている副走査方向の色ずれ値とMTF値に対応するフィルタ係数を決定する決定手段とを有し、前記フィルタ処理手段は、前記決定手段が決定したフィルタ係数を用いて、前記読取センサから出力された注目画素の色成分データに対して、副走査方向の前後に隣接する2つの画素の画像データを用いてフィルタ処理を行うことを特徴とする。   In order to solve the above-described problem, an image reading apparatus according to a first aspect of the present invention includes a reading sensor that reads a document and outputs a plurality of color component data, and a sub sensor orthogonal to a main scanning direction corresponding to an axial direction of the reading sensor. Filter processing means for correcting color misregistration in the scanning direction and adjusting MTF, storage means for storing the color misregistration value and MTF value in the sub scanning direction applied to the reading sensor, and color misregistration value in the sub scanning direction Referring to a table that holds filter coefficients corresponding to a plurality of combinations with MTF values, the stored color misregistration value in the sub-scanning direction and determination means for determining filter coefficients corresponding to the MTF values are provided. The filter processing unit uses the filter coefficient determined by the determination unit and is adjacent to the color component data of the pixel of interest output from the reading sensor before and after in the sub-scanning direction. And performing filtering processing using the image data of the pixel.

本発明は、副走査方向の色ずれの補正とMTFの調整を、注目画素の色成分データに対して、副走査方向の前後に隣接する2つの画素の画像データを用いてフィルタ処理を行う。よって、処理回路規模を縮小させ、コストダウンを図ることができる。   In the present invention, correction of color misregistration in the sub-scanning direction and adjustment of MTF are performed on the color component data of the target pixel by using image data of two pixels adjacent to each other in the sub-scanning direction. Therefore, the processing circuit scale can be reduced and the cost can be reduced.

画像読取装置の概略構成を示す断面図である。1 is a cross-sectional view illustrating a schematic configuration of an image reading apparatus. コンタクトイメージセンサ(CIS)の概略構成を示す図であり、図2(a)はその断面図、図2(b)は平面図である。It is a figure which shows schematic structure of a contact image sensor (CIS), Fig.2 (a) is the sectional drawing, FIG.2 (b) is a top view. 図1の画像読取装置の制御構成を示すブロック図である。FIG. 2 is a block diagram illustrating a control configuration of the image reading apparatus in FIG. 1. 図1の画像読取装置を用いた画像読取処理の手順を示すフローチャートである。3 is a flowchart showing a procedure of image reading processing using the image reading apparatus of FIG. 1. フィルタ係数選択テーブルを示す図である。It is a figure which shows a filter coefficient selection table. G色画像用のフィルタ係数選択テーブルを示す図である。It is a figure which shows the filter coefficient selection table for G color images. 第2の実施の形態に係る画像読取装置で実行される画像読取処理の手順を示すフローチャートである。10 is a flowchart illustrating a procedure of image reading processing executed by the image reading apparatus according to the second embodiment.

以下、実施の形態(第1の実施の形態)について図面を参照しつつ詳細に説明する。   Hereinafter, an embodiment (first embodiment) will be described in detail with reference to the drawings.

図1は、画像読取装置の概略構成を示す断面図である。図1において、画像読取装置100は、原稿台ガラス107と、原稿台ガラス107の下方に配置された画像読取ユニットを備えている。画像読取ユニットは、読取センサとしてのコンタクトイメージセンサ(CIS)101と、CIS101を保持するCISホルダ102と、CISホルダ102が固定、支持されるタイミングベルト103と、モータ104及び駆動ギア105を備えている。モータ104は、駆動ギア105を介してタイミングベルト103を駆動することにより、CIS101を図1中、矢印A方向に往復動作させる。CIS101の軸方向が主走査方向であり、軸方向に直交する矢印A方向が副走査方向である。   FIG. 1 is a cross-sectional view illustrating a schematic configuration of the image reading apparatus. In FIG. 1, the image reading apparatus 100 includes an original table glass 107 and an image reading unit disposed below the original table glass 107. The image reading unit includes a contact image sensor (CIS) 101 as a reading sensor, a CIS holder 102 that holds the CIS 101, a timing belt 103 on which the CIS holder 102 is fixed and supported, a motor 104, and a driving gear 105. Yes. The motor 104 reciprocates the CIS 101 in the direction of arrow A in FIG. 1 by driving the timing belt 103 via the drive gear 105. The axial direction of the CIS 101 is the main scanning direction, and the arrow A direction orthogonal to the axial direction is the sub-scanning direction.

原稿台ガラス107の一方端に白色基準板106が配置されている。白色基準板106は、シェーディング補正を行うのに必要なシェーディング補正係数を生成する際に使用される。原稿台ガラス107に載置される原稿は、上述の駆動構成により、CIS101を原稿の先端から後端まで移動させることによって、その全体が読み取られる。   A white reference plate 106 is disposed at one end of the platen glass 107. The white reference plate 106 is used when generating a shading correction coefficient necessary for performing shading correction. The entire document placed on the document table glass 107 is read by moving the CIS 101 from the leading end to the trailing end of the document by the above-described driving configuration.

図2は、コンタクトイメージセンサ(CIS)の概略構成を示す図であり、図2(a)はその断面図、図2(b)は平面図である。CISは、原稿を読み取り、R、G、Bに対応する複数の色成分データ、例えば第1、第2、第3の色成分データを出力する。   2A and 2B are diagrams showing a schematic configuration of a contact image sensor (CIS). FIG. 2A is a cross-sectional view thereof, and FIG. 2B is a plan view thereof. The CIS reads a document and outputs a plurality of color component data corresponding to R, G, and B, for example, first, second, and third color component data.

図2(a)及び(b)において、CIS101は、プリント基板205と、該プリント基板205上に実装された光源としてのLED201、及びLED201から出射された光を原稿面まで導く導光体202を備えている。LED201は、R(赤)、G(緑)、B(青)の光を発光するLED素子で構成されており、導光体202の一方の端部に配置されている。CIS101は、また、レンズアレイ203、及びラインセンサ204を備えている。LED201から出射された光は導光体202内部をLED201が装着されていない側まで拡散していくとともに、曲率を有した箇所から出射され、原稿の主走査方向全域を照射するように構成されている。図2中、LED201から出てレンズアレイ203方向へ延びる矢印BはLED201から出射された光が原稿に照射されるまでの経路を模式的に表したものである。導光体202によって導光された光は図示省略された原稿に照射され、原稿面で反射した反射光はレンズアレイ203を経てラインセンサ204に結像する。   2A and 2B, the CIS 101 includes a printed circuit board 205, an LED 201 as a light source mounted on the printed circuit board 205, and a light guide body 202 that guides light emitted from the LED 201 to the document surface. I have. The LED 201 is composed of LED elements that emit R (red), G (green), and B (blue) light, and is disposed at one end of the light guide 202. The CIS 101 also includes a lens array 203 and a line sensor 204. The light emitted from the LED 201 diffuses through the light guide 202 to the side where the LED 201 is not mounted, and is emitted from a portion having a curvature to irradiate the entire area in the main scanning direction of the document. Yes. In FIG. 2, an arrow B extending from the LED 201 and extending toward the lens array 203 schematically represents a path until the light emitted from the LED 201 is irradiated onto the document. The light guided by the light guide 202 is applied to a document (not shown), and the reflected light reflected from the document surface forms an image on the line sensor 204 via the lens array 203.

プリント基板205の図2中下方面には、コネクタ206が取り付けられている。コネクタ206には、LED201を点灯させるための電流、ラインセンサ204を動作させる制御信号、ラインセンサ204が出力するビデオ信号、電源電圧などの電気信号を制御基板(図示せず)とやりとりするための信号線が接続される。コネクタ206に接続される信号線としては、フレキシブルフラットケーブル(FFC)が好適に用いられる。   A connector 206 is attached to the lower surface of the printed board 205 in FIG. The connector 206 is used for exchanging electric signals such as a current for turning on the LED 201, a control signal for operating the line sensor 204, a video signal output from the line sensor 204, and a power supply voltage with a control board (not shown). A signal line is connected. A flexible flat cable (FFC) is preferably used as the signal line connected to the connector 206.

ラインセンサ204上にはカラーフィルタは塗布されておらず、カラー画像を読み取る際の原稿のR、G、Bの色分解は光源であるLED201によって行う。従って、カラー画像を読み取る場合は、光源であるLED201をR点灯、G点灯、B点灯と順番にラインセンサ204の読み取りライン周期ごとに単色点灯させ、ラインセンサ204で原稿からの拡散光を受光するように制御される。   A color filter is not applied on the line sensor 204, and color separation of R, G, and B of a document when reading a color image is performed by the LED 201 that is a light source. Therefore, when reading a color image, the LED 201 which is a light source is lit in a single color every reading line cycle of the line sensor 204 in the order of R lighting, G lighting and B lighting, and the line sensor 204 receives diffused light from the original. To be controlled.

図3は、図1の画像読取装置の制御構成を示すブロック図である。   FIG. 3 is a block diagram showing a control configuration of the image reading apparatus of FIG.

図3において、画像読取装置100は、該画像読取装置100全体を制御するCPU301を備えている。CPU301は、操作部302、タイミング生成回路303、FBモータドライバ304、画像処理回路部307及び不揮発性メモリ312とそれぞれ通信可能にバス接続されている。また、CPU301は、タイミング生成回路303を介して発振器313、LED点灯回路305、AFE306、及びCIS101とそれぞれ通信可能にバス接続されている。画像処理回路部307は、シリパラ変換回路308を備えており、シリパラ変換回路308は、R、G、Bにそれぞれ対応するシェーディング補正回路309、ラインメモリ310、及び1×3フィルタ回路311と通信可能にバス接続されている。   In FIG. 3, the image reading apparatus 100 includes a CPU 301 that controls the entire image reading apparatus 100. The CPU 301 is bus-connected to the operation unit 302, the timing generation circuit 303, the FB motor driver 304, the image processing circuit unit 307, and the nonvolatile memory 312 so as to be able to communicate with each other. In addition, the CPU 301 is connected to the oscillator 313, the LED lighting circuit 305, the AFE 306, and the CIS 101 via the timing generation circuit 303 so that they can communicate with each other. The image processing circuit unit 307 includes a serial-parallel conversion circuit 308. The serial-parallel conversion circuit 308 can communicate with the shading correction circuit 309, the line memory 310, and the 1 × 3 filter circuit 311 corresponding to R, G, and B, respectively. Is connected to the bus.

CPU301は、1×3フィルタ回路311への処理係数の設定などを行う。操作部302は、カラーコピーやモノクロコピーといったコピーモードなどの設定をユーザが入力するところである。タイミング生成回路303は、FBモータドライバ304、CIS101、LED点灯回路305、AFE306、画像処理回路部307を動作させるのに必要なタイミング信号を生成する回路である。タイミング生成回路303は、クロック源である発振器313が出力するクロック信号を基準として動作し、CPU301による設定で各種タイミング信号を生成する。FBモータドライバ304は、モータを駆動するためのモータドライバ回路であり、タイミング生成回路303からの信号を受け、モータ104を回転制御させるための励磁電流を出力する。CIS101はタイミング生成回路303が出力するCIS制御信号を受け、読み取り動作を行う。   The CPU 301 sets a processing coefficient for the 1 × 3 filter circuit 311 and the like. The operation unit 302 is where the user inputs settings such as a copy mode such as color copy and monochrome copy. The timing generation circuit 303 is a circuit that generates timing signals necessary for operating the FB motor driver 304, the CIS 101, the LED lighting circuit 305, the AFE 306, and the image processing circuit unit 307. The timing generation circuit 303 operates on the basis of the clock signal output from the oscillator 313 that is a clock source, and generates various timing signals according to settings by the CPU 301. The FB motor driver 304 is a motor driver circuit for driving the motor, receives a signal from the timing generation circuit 303, and outputs an excitation current for controlling the rotation of the motor 104. The CIS 101 receives the CIS control signal output from the timing generation circuit 303 and performs a reading operation.

LED点灯回路305は、LED201のR、G、B各LEDに接続されている3つの定電流回路である。LED点灯回路305は、タイミング生成回路303が出力するLED点灯制御信号を受け、LEDの点灯制御を行う。AFE306は、CIS101から出力されるアナログ画像信号に対し、サンプルホールド処理、オフセット処理、ゲイン処理といったアナログ処理、アナログ処理された画像信号をデジタルデータに変換するAD変換を行うための回路(IC)である。CPU301は、タイミング生成回路303を介してAFE306に対してオフセット設定値やゲイン設定値といったアナログ処理のパラメータ設定等を行い、さらにサンプルホールドやAD変換を行うためのタイミング信号を生成する。   The LED lighting circuit 305 is three constant current circuits connected to the R, G, and B LEDs of the LED 201. The LED lighting circuit 305 receives the LED lighting control signal output from the timing generation circuit 303 and performs LED lighting control. The AFE 306 is a circuit (IC) for performing analog processing such as sample hold processing, offset processing, and gain processing on the analog image signal output from the CIS 101, and AD conversion for converting the analog processed image signal into digital data. is there. The CPU 301 performs analog processing parameter settings such as an offset setting value and a gain setting value for the AFE 306 via the timing generation circuit 303, and further generates a timing signal for performing sample hold and AD conversion.

画像処理回路部307のシリパラ変換回路308は、R、G、B順次点灯でカラー読み取りを行う際、CIS101、AFE306から出力されるR、G、B順次(R、G、Bシリアル)画像データをR、G、Bパラレル画像データに変換する。なお、読み取り素子にR、G、B3ラインカラーラインセンサを使用する場合、ラインセンサ204、及びAFE306から出力される画像データはR、G、Bパラレルなので、シリパラ変換回路308は必要ない。   The serial-parallel conversion circuit 308 of the image processing circuit unit 307 performs R, G, B sequential (R, G, B serial) image data output from the CIS 101, AFE 306 when performing color reading with R, G, B sequential lighting. Convert to R, G, B parallel image data. Note that when the R, G, B3 line color line sensor is used as the reading element, the image data output from the line sensor 204 and the AFE 306 is R, G, B parallel, so the serial-parallel conversion circuit 308 is not necessary.

シェーディング補正回路309R、309G、309Bは、それぞれAFE306からのデジタル画像データを受け、シェーディング補正係数の生成および生成されたシェーディング補正係数を用いたシェーディング補正処理を行う。符号に付したR,G,Bはその色専用の回路であることを表している。1×3フィルタ回路311R,311G、311Bは、主走査1次元、副走査3次元のフィルタ回路である。主走査位置が同一であり、副走査方向の前後において隣接する2つの画素(画素D(m、n)およびD(m、n+2))を用いて、注目画素D(m、n+1)に対して補正を行う。副走査方向に3次元の処理を行うため、副走査方向の画像データを2つのライン分記憶しておく必要があるが、その役割を果たすのがラインメモリ310R、310G、310Bである。なお、1×3フィルタ回路311R〜311Bは下式の演算を行う。演算式はR、G、Bで、それぞれ同じである。   The shading correction circuits 309R, 309G, and 309B each receive digital image data from the AFE 306, generate a shading correction coefficient, and perform a shading correction process using the generated shading correction coefficient. R, G, and B added to the reference numerals indicate that the circuit is dedicated to that color. The 1 × 3 filter circuits 311R, 311G, and 311B are main-scanning one-dimensional and sub-scanning three-dimensional filter circuits. Using the two pixels (pixels D (m, n) and D (m, n + 2)) adjacent in the main scanning position and before and after in the sub-scanning direction, the target pixel D (m, n + 1) Make corrections. In order to perform three-dimensional processing in the sub-scanning direction, it is necessary to store image data in the sub-scanning direction for two lines. The line memories 310R, 310G, and 310B play a role. The 1 × 3 filter circuits 311R to 311B perform the following calculation. The arithmetic expressions are the same for R, G, and B, respectively.

Dout(m、n+1)=
(k0*D(m、n)+k1*D(m、n+1)+k2*D(m、n+2))/256
・・・・・(1)
Dout(m、n+1):出力データ 主走査m画素目、副走査n+1ライン目の画像輝度値、
D(m、n) :入力データ 主走査m画素目、副走査nライン目の画像輝度値
D(m、n+1):入力データ 主走査m画素目、副走査n+1ライン目の画像輝度値
D(m、n+2):入力データ 主走査m画素目、副走査n+2ライン目の画像輝度値
k0、k1、k2:フィルタ係数
D(m、n+1)、D(m、n+2)はラインメモリ310R,310G,310Bに保持されている画像データである。mは主走査方向における位置を示し、mの値が大きくなるにつれ主走査方向における下流の位置を示す。nは副走査方向における位置を示し、nの値が大きくなるにつれ副走査方向における下流の位置を示す。つまり、D(m、n+1)は、D(m、n)より副走査方向において1ライン下流に位置する。
Dout (m, n + 1) =
(K0 * D (m, n) + k1 * D (m, n + 1) + k2 * D (m, n + 2)) / 256
(1)
Dout (m, n + 1): output data image luminance value of the main scanning m-th pixel, sub-scanning n + 1 line,
D (m, n): Input data Image luminance value of the main scanning m-th pixel and sub-scanning n line D (m, n + 1): Input data Image luminance value of the main scanning m-th pixel and sub-scanning n + 1 line D ( m, n + 2): Input data Image luminance values of the mth pixel in the main scanning and the n + 2th scanning line k0, k1, k2: Filter coefficients D (m, n + 1) and D (m, n + 2) are line memories 310R, 310G, This is image data held in 310B. m indicates a position in the main scanning direction, and indicates a downstream position in the main scanning direction as the value of m increases. n indicates a position in the sub-scanning direction, and indicates a downstream position in the sub-scanning direction as the value of n increases. That is, D (m, n + 1) is positioned one line downstream in the sub-scanning direction from D (m, n).

D(m、n)、D(m、n+1)およびD(m、n+2)は、シェーディング補正回路309R、309G、309Bのそれぞれから、D(m、n)→D(m、n+1)→D(m、n+2)の順番でラインメモリ310R,310G,310Bに入力される。また、k0、k1、k2はフィルタ係数であり、CPU301により画像処理回路部307のレジスタ(図示省略)に設定される。なお、フィルタ係数k0、k1、k2の合計値は256である。シェーディング補正回路309R、309G、309Bの出力はラインメモリ310R,310G,310Bに接続されている。ラインメモリ310R,310G,310B、主走査m画素目に対して(1)式の演算が終了したら、D(m、n)に代わりD(m、n+2)の画像データが順次ラインメモリ310R,310G,310Bに保存されていく。   D (m, n), D (m, n + 1) and D (m, n + 2) are respectively transmitted from the shading correction circuits 309R, 309G, and 309B to D (m, n) → D (m, n + 1) → D ( m, n + 2) are input to the line memories 310R, 310G, 310B. K0, k1, and k2 are filter coefficients, and are set by the CPU 301 in a register (not shown) of the image processing circuit unit 307. The total value of the filter coefficients k0, k1, and k2 is 256. Outputs of the shading correction circuits 309R, 309G, and 309B are connected to line memories 310R, 310G, and 310B. When the calculation of the expression (1) is completed for the line memory 310R, 310G, 310B and the main scanning m-th pixel, the image data of D (m, n + 2) is sequentially transferred to the line memories 310R, 310G instead of D (m, n). , 310B.

不揮発性メモリ312は、書き換え可能である。不揮発性メモリ312には制御プログラムの他に画像読取装置の出荷検査工程で測定された副走査方向の色ずれ値、副走査方向のMTF値が予め記憶されている。MTF(ModulationTransfer Function)値とは、光学系を通して明暗の縞模様を結像したとき、光学系の回折や収差によって明暗模様のコントラストが低下する度合いを言う。本実施の形態では、色ずれ値として、R画像とG画像間の色ずれ量(以下、「RG間色ずれ」という)、G画像とB画像間の色ずれ量(以下、「GB間色ずれ」という)、副走査方向のMTF値としてR、G、Bそれぞれの副走査方向のMTF値が記憶されている。CPU301は不揮発性メモリ312から副走査方向の色ずれ値、及びMTF値を読み出して、その値に基づいてフィルタ係数k0、k1、k2を設定する。   The nonvolatile memory 312 is rewritable. In addition to the control program, the non-volatile memory 312 stores in advance the color misregistration value in the sub-scanning direction and the MTF value in the sub-scanning direction measured in the shipping inspection process of the image reading apparatus. The MTF (Modulation Transfer Function) value refers to the degree to which the contrast of the light and dark pattern decreases due to diffraction and aberration of the optical system when a bright and dark stripe pattern is imaged through the optical system. In the present embodiment, as the color misregistration value, the color misregistration amount between the R image and the G image (hereinafter referred to as “color misregistration between RG”), the color misregistration amount between the G image and the B image (hereinafter referred to as “color between GB” MFT values in the sub-scanning direction for R, G, and B are stored as MTF values in the sub-scanning direction. The CPU 301 reads the color misregistration value in the sub-scanning direction and the MTF value from the nonvolatile memory 312 and sets the filter coefficients k0, k1, and k2 based on the values.

次に、図1の画像読取装置を用いた画像読取処理について説明する。   Next, an image reading process using the image reading apparatus of FIG. 1 will be described.

図4は、図1の画像読取装置を用いた画像読取処理の手順を示すフローチャートである。この画像読取処理は、図示省略したROMに格納された画像読取処理プログラムの画像読取処理手順に従ってCPU301が実行する。   FIG. 4 is a flowchart showing a procedure of image reading processing using the image reading apparatus of FIG. This image reading process is executed by the CPU 301 in accordance with an image reading process procedure of an image reading process program stored in a ROM (not shown).

図4において、画像読取処理が開始されるとCPU301は、先ず、画像読取装置100に電源が投入されるまで、待機する(ステップS401)。画像読取装置100に電源が投入された後(ステップS401で「YES」)、CPU301は、画像読取装置の制御プログラムを起動し、光源の光量調整をはじめとする初期動作を実行する(ステップS402)。次いで、CPU301は、不揮発性メモリ312に記憶されている副走査方向の色ずれ値であるRG色ずれ、GB色ずれ、及びR、G、B各色の副走査方向のMTF値を読み出す(ステップS403)。   In FIG. 4, when the image reading process is started, the CPU 301 first waits until the image reading apparatus 100 is turned on (step S401). After the image reading apparatus 100 is turned on (“YES” in step S401), the CPU 301 activates the control program for the image reading apparatus and executes an initial operation including adjustment of the light amount of the light source (step S402). . Next, the CPU 301 reads out the RG color shift, the GB color shift, and the MTF values of the R, G, and B colors in the sub-scanning direction, which are color shift values in the sub-scanning direction stored in the nonvolatile memory 312 (step S403). ).

次いで、CPU301は、不揮発性メモリ312から読み出した副走査方向の色ずれ値、及びMTF値に基づいて、1×3フィルタ回路311R、311G、311Bについて、それぞれフィルタ係数k0、k1、k2を決定する(ステップS404)。   Next, the CPU 301 determines filter coefficients k0, k1, and k2 for the 1 × 3 filter circuits 311R, 311G, and 311B, respectively, based on the color shift value in the sub-scanning direction read from the nonvolatile memory 312 and the MTF value. (Step S404).

図5は、フィルタ係数を決定する際に適用されるフィルタ係数選択テーブルを示す図である。このフィルタ係数選択テーブル(ルックアップテーブル)は、CPU301の制御プログラムの一部として用意されている。フィルタ係数選択テーブルは、RG間色ずれ値と、R色MTF値からR色用1×3フィルタ回路311Rのフィルタ係数k0(a)、k1(b)、k2(c)を決定するために使用されるものである。図5において、枠内に3つの数値が記載されている部分がフィルタ係数を表しており、上から順にk0、k1、k2であり、画像を副走査方向に所定量シフトして副走査方向の色ずれを解消し、副走査方向のMTF値を適正値に変更するための値となっている。   FIG. 5 is a diagram showing a filter coefficient selection table applied when determining filter coefficients. This filter coefficient selection table (lookup table) is prepared as a part of the control program of the CPU 301. The filter coefficient selection table is used to determine the filter coefficients k0 (a), k1 (b), and k2 (c) of the R color 1 × 3 filter circuit 311R from the inter-RG color shift value and the R color MTF value. It is what is done. In FIG. 5, the portion where three numerical values are written in the frame represents the filter coefficient, which are k0, k1, and k2 in order from the top, and the image is shifted by a predetermined amount in the sub-scanning direction. This is a value for eliminating color misregistration and changing the MTF value in the sub-scanning direction to an appropriate value.

項目「MTF」におけるMTF=0の列はフィルタ係数k0=0であり、画像データに対して単純な線形補間処理を施すフィルタ係数である。MTF=0列のフィルタ係数で1×3フィルタ処理を実行した場合の副走査方向のMTF低下量を基準として、それを「MTF=0」と定義し、MTF=5やMTF=−10といった値は基準であるMTF=0に対するMTFの変化量(変化率(%))を表している。例えば、MTF=+5の列のフィルタ係数を使用した場合には、MTF=0列のフィルタ係数を使用した場合に対して副走査方向のMTF値が5(%)上がることを示している。また、MTF=−10の列のフィルタ係数を採用した場合にはMTF=0列のフィルタ係数を使用した場合に対して副走査方向のMTF値が10(%)下がることを示している。一方、項目「色ずれ」は色ずれを補正するためのシフト量を表している。例えば、色ずれ=0.33の行のフィルタ係数を採用すると、RG間色ずれを解消すべく、R色画像が0.33ライン分副走査方向にシフトすることを示している。   The column of MTF = 0 in the item “MTF” is a filter coefficient k0 = 0, which is a filter coefficient for performing simple linear interpolation processing on image data. Based on the MTF decrease amount in the sub-scanning direction when 1 × 3 filter processing is executed with the filter coefficients of MTF = 0 column, it is defined as “MTF = 0”, and values such as MTF = 5 and MTF = −10 Represents the amount of change in MTF (rate of change (%)) with respect to the reference MTF = 0. For example, when the filter coefficient of the column of MTF = + 5 is used, the MTF value in the sub-scanning direction is increased by 5 (%) compared to the case of using the filter coefficient of MTF = 0 column. Further, when the filter coefficient of the column of MTF = −10 is employed, the MTF value in the sub-scanning direction is reduced by 10 (%) compared to the case of using the filter coefficient of MTF = 0 column. On the other hand, the item “color misregistration” represents a shift amount for correcting the color misregistration. For example, when the filter coefficient in the row of color misalignment = 0.33 is employed, the R color image is shifted in the sub-scanning direction by 0.33 lines in order to eliminate the color misregistration between RGs.

以下に、CPU301が不揮発性メモリ312から読み出した値が、例えばRG間色ずれ=0.35、R色副走査方向のMTF=55である場合のフィルタ係数選択方法について説明する。   The filter coefficient selection method when the values read from the nonvolatile memory 312 by the CPU 301 are, for example, color shift between RG = 0.35 and MTF = 55 in the R color sub-scanning direction will be described.

まず、「RG間色ずれ=0.35」より、図5のフィルタ係数選択テーブルにて項目「色ずれ」の色ずれ=0.35の行が選択される。次に、項目「MTF」の列よりMTF低下量が選択されるが、MTFの列は1×3フィルタ処理後の副走査方向のMTF値が所定の値になるように選択される。例えば、1×3フィルタ処理後の副走査方向のMTF値の目標値が50%と設定されているとすると、現在のR色画像の副走査方向のMTF値は55%なので、フィルタ処理後のMTF値がもっとも50%に近くなる「MTF=−10(%)」が選択される。この結果、1×3フィルタ回路311Rのフィルタ係数として、k0=16、k1=135、k2=105が選択、決定される。B色画像についても同様の処理がなされ、不揮発性メモリ312から読み出したGB間色ずれ、及びB色画像の副走査方向のMTF値に基づいてB色用1×3フィルタ回路311Bのフィルタ係数が選択される。   First, from “RG color misregistration = 0.35”, the row of the color misregistration = 0.35 of the item “color misregistration” is selected in the filter coefficient selection table of FIG. Next, the MTF reduction amount is selected from the column of the item “MTF”, and the MTF column is selected so that the MTF value in the sub-scanning direction after the 1 × 3 filter processing becomes a predetermined value. For example, if the target value of the MTF value in the sub-scanning direction after the 1 × 3 filter process is set to 50%, the MTF value in the sub-scanning direction of the current R color image is 55%. “MTF = −10 (%)” that makes the MTF value closest to 50% is selected. As a result, k0 = 16, k1 = 135, and k2 = 105 are selected and determined as the filter coefficients of the 1 × 3 filter circuit 311R. The same processing is performed for the B color image, and the filter coefficient of the 1 × 3 filter circuit 311B for B color is determined based on the color shift between GBs read from the nonvolatile memory 312 and the MTF value in the sub-scanning direction of the B color image. Selected.

次に、図6は、G色画像用のフィルタ係数選択テーブルを示す図である。G色画像用とは、換言すれば、G色成分データ用である。G色画像用のフィルタ係数選択テーブルは、CPU301の制御プログラムの一部として用意されているものであり、G色画像の副走査方向のMTF値基づいて、G色用1×3フィルタ回路311Gのフィルタ係数k0、k1、k2を決定するために使用される。副走査方向のMTF補正処理を行うため、フィルタ係数はk1を中心とした対称形であり、k0、k2は同じ値になっている。CPU301が不揮発性メモリ312から読み出したG色画像の副走査方向のMTF値が、例えば60で、MTF値の目標値が50と設定されている場合、フィルタ処理後のMTF値がもっとも50%に近くなる「MTF=−15(%)」が選択される。この結果、G色用1×3フィルタ回路311Gのフィルタ係数として、k0=40、k1=176、k2=40が選択、決定される。   Next, FIG. 6 is a diagram illustrating a filter coefficient selection table for a G color image. In other words, for G color image is for G color component data. The filter coefficient selection table for the G color image is prepared as a part of the control program of the CPU 301, and the G color 1 × 3 filter circuit 311G is based on the MTF value in the sub-scanning direction of the G color image. Used to determine the filter coefficients k0, k1, k2. Since the MTF correction process in the sub-scanning direction is performed, the filter coefficients are symmetrical with respect to k1, and k0 and k2 have the same value. When the MTF value in the sub-scanning direction of the G color image read out from the non-volatile memory 312 by the CPU 301 is 60, for example, and the target value of the MTF value is set to 50, the MTF value after the filter processing is the most 50%. The closest “MTF = −15 (%)” is selected. As a result, k0 = 40, k1 = 176, and k2 = 40 are selected and determined as the filter coefficients of the G color 1 × 3 filter circuit 311G.

図4に戻り、フィルタ係数を決定した(ステップS404)後、CPU301は、R、G,B色の光に対応してそれぞれ決定したフィルタ係数k0、k1、k2を、画像処理回路部307の対応するレジスタに設定する(ステップS405)。R、G,Bの光に対応してフィルタ係数k0、k1、k2を設定した後、CPU301は、設定されたフィルタ係数にて1×3フィルタ回路311R、311G、311Bを有効にする。これによって、R画像はRG間色ずれが解消するように副走査方向にシフトされると共に、副走査方向のMTF値が10%低下するようなローパスフィルタ処理がなされ、B画像はBG間色ずれが解消し、MTF値が適正値となるように同様に処理される。また、G画像は副走査方向のMTF値が15%低下するようなローパスフィルタ処理がなされ、副走査方向のMTF値が50%の画像が得られる。   Returning to FIG. 4, after determining the filter coefficients (step S <b> 404), the CPU 301 uses the filter coefficients k <b> 0, k <b> 1, and k <b> 2 determined corresponding to the R, G, and B color lights, respectively. To the register to be used (step S405). After setting the filter coefficients k0, k1, and k2 corresponding to the R, G, and B lights, the CPU 301 enables the 1 × 3 filter circuits 311R, 311G, and 311B with the set filter coefficients. As a result, the R image is shifted in the sub-scanning direction so as to eliminate the color shift between RGs, and low pass filter processing is performed so that the MTF value in the sub-scanning direction is reduced by 10%. Is eliminated, and the MTF value is processed in the same way so as to be an appropriate value. Further, the G image is subjected to low-pass filter processing so that the MTF value in the sub-scanning direction is reduced by 15%, and an image having an MTF value in the sub-scanning direction of 50% is obtained.

次いで、CPU301は、原稿画像の読み取りを実行し(ステップS406)、読み取り終了後、本処理を終了する。ステップS406では、上述のように、画像処理回路部307における1×3フィルタ回路311R、311G、311Bでのフィルタ処理をそれぞれ有効にして画像処理が行われる。   Next, the CPU 301 executes reading of the document image (step S406), and after the reading is finished, this process is finished. In step S406, as described above, the image processing is performed by enabling the filter processing in the 1 × 3 filter circuits 311R, 311G, and 311B in the image processing circuit unit 307, respectively.

本実施の形態によれば、読み取り装置の出荷検査工程等で予め測定しておいた副走査方向の色ずれ量、副走査方向のMTF値を不揮発性メモリ312に記憶させておき、その値に基づいてフィルタ回路の係数を決定する。この際、予め用意しておいたフィルタ係数選択テーブルを参照してフィルタ回路の係数(設定値)を決定する。そして、決定した係数を適用した主走査1次元、副走査3次元の画像処理回路(1×3フィルタ回路)を用いて副走査方向の色ずれ補正と、R、G、B画像で副走査方向のMTFが同等レベルになるよう補正する。これによって、処理回路規模を縮小させ、コストダウンを図ることができる。   According to the present embodiment, the amount of color misregistration in the sub-scanning direction and the MTF value in the sub-scanning direction, which are measured in advance in the shipping inspection process of the reading device, are stored in the nonvolatile memory 312, Based on this, the coefficient of the filter circuit is determined. At this time, a filter circuit coefficient (set value) is determined with reference to a filter coefficient selection table prepared in advance. Then, color shift correction in the sub-scanning direction using the main scanning one-dimensional and sub-scanning three-dimensional image processing circuit (1 × 3 filter circuit) to which the determined coefficient is applied, and the sub-scanning direction in the R, G, and B images The MTF is corrected to the same level. As a result, the processing circuit scale can be reduced and the cost can be reduced.

本実施の形態において、フィルタ係数選択テーブルとして、B色用とR色用の2種類を用意することが好ましいが、B色用とR色用とを共用することもできる。すなわち、R色用とB色用とでフィルタ係数選択テーブルを共用し、B色とR色とで適用するフィルタ係数である設定値k0と設定値k2を入れ替え、画像の副走査方向でのシフト方向を変えて対応することもできる。   In this embodiment, it is preferable to prepare two types of filter coefficient selection tables for B color and R color, but it is also possible to share B color and R color. That is, the filter coefficient selection table is shared for the R color and the B color, and the set value k0 and the set value k2 that are filter coefficients applied to the B color and the R color are switched, and the image is shifted in the sub-scanning direction. You can respond by changing the direction.

本実施の形態において、副走査方向の色ずれは、B色用1×3フィルタ回路311B、およびR色用1×3フィルタ回路311Rによって補正される。従って、G色用1×3フィルタ回路311Gは色ずれ補正には使用されず、副走査方向のMTF値処理用としてのみ使用される。   In the present embodiment, the color shift in the sub-scanning direction is corrected by the B color 1 × 3 filter circuit 311B and the R color 1 × 3 filter circuit 311R. Therefore, the 1 × 3 filter circuit 311G for G color is not used for color misregistration correction, and is used only for MTF value processing in the sub-scanning direction.

本実施の形態において、図5及び図6のフィルタ係数選択テーブルは、一例であり、色ずれ補正値やMTF値の補正率の範囲、補正ステップ幅等は、これに限定されるものではない。また、R、G、B画像を順次読み取るCIS101を適用した読み取り装置について説明したが、本発明は、R、G、B画像を順次読み取った際の色ずれだけでなく、縮小光学系でレンズの色収差に起因して生じる副走査方向の色ずれの補正にも適用することができる。   In the present embodiment, the filter coefficient selection tables in FIGS. 5 and 6 are examples, and the range of the color misregistration correction value, the correction rate of the MTF value, the correction step width, and the like are not limited thereto. Further, the reading apparatus using the CIS 101 that sequentially reads R, G, and B images has been described. However, the present invention is not limited to color misregistration when sequentially reading R, G, and B images, but also includes a reduction optical system. The present invention can also be applied to correction of color misregistration in the sub-scanning direction caused by chromatic aberration.

次に、第2の実施の形態について説明する。   Next, a second embodiment will be described.

図7は、第2の実施の形態に係る画像読取装置で実行される画像読取処理の手順を示すフローチャートである。なお、第2の実施の形態に係る画像読取装置の装置構成は、第1の実施の形態に係る画像読取装置の装置構成と同様であり、適用される画像読取処理プログラムが異なるだけである。本画像読取処理は、例えば、読み取り速度が異なる複数の読取モードが採用される場合に適用されるものであり、図示省略したROMに格納された画像読取処理プログラムの画像読取処理手順に従ってCPU301が実行する。   FIG. 7 is a flowchart illustrating a procedure of image reading processing executed by the image reading apparatus according to the second embodiment. The apparatus configuration of the image reading apparatus according to the second embodiment is the same as that of the image reading apparatus according to the first embodiment, and only the applied image reading processing program is different. This image reading process is applied, for example, when a plurality of reading modes having different reading speeds are employed, and is executed by the CPU 301 in accordance with an image reading process procedure of an image reading process program stored in a ROM (not shown). To do.

複数の読取モードとしては、例えば、読み取り解像度が主走査600dpi、副走査600dpiの通常モードと、主走査300dpi、副走査600dpiで読み取りを行う高速モードが挙げられる。この場合、高速モードの読取速度は、通常モードの読み取り速度の倍の速度となり、不揮発性メモリ312に予め記憶された副走査方向の色ずれ値、MTF値は、読み取りモードによって異なる。従って、読み取りモードに応じてフィルタ係数が選択される。   Examples of the plurality of reading modes include a normal mode in which the reading resolution is 600 dpi in the main scanning and 600 dpi in the sub scanning, and a high speed mode in which reading is performed in the main scanning 300 dpi and the sub scanning 600 dpi. In this case, the reading speed in the high-speed mode is twice the reading speed in the normal mode, and the color shift value and MTF value in the sub-scanning direction stored in advance in the nonvolatile memory 312 vary depending on the reading mode. Accordingly, the filter coefficient is selected according to the reading mode.

図7において、画像読取処理が開始されるとCPU301は、先ず、画像読取装置100に電源が投入されるまで、待機する(ステップS701)。画像読取装置100に電源が投入された後(ステップS701で「YES」)、CPU301は、画像読取装置の制御プログラムを起動し、光源の光量調整をはじめとする初期動作を実行する(ステップS702)。次いで、CPU301は、不揮発性メモリ312に、読み取りモード毎に記憶されている副走査方向の色ずれ値であるRG色ずれ、GB色ずれ、及びR、G、B各色のMTF値を全て読み出し作業用RAM領域(図示省略)に一旦記憶する(ステップS703)。なお、不揮発性メモリ312には上記2つのモードにおける副走査方向の色ずれ値とMTF値が、出荷検査工程時に予め保存、記憶されている。   In FIG. 7, when the image reading process is started, the CPU 301 first waits until the image reading apparatus 100 is turned on (step S701). After power is supplied to the image reading apparatus 100 (“YES” in step S701), the CPU 301 activates a control program for the image reading apparatus and executes an initial operation including adjustment of the light amount of the light source (step S702). . Next, the CPU 301 reads all the RG color misregistration, GB color misregistration, and MTF values for each color of R, G, and B, which are color misregistration values in the sub-scanning direction stored for each reading mode, into the nonvolatile memory 312. The data is temporarily stored in a RAM area (not shown) (step S703). Note that the non-volatile memory 312 stores and stores the color misregistration value and the MTF value in the sub-scanning direction in the above two modes in advance during the shipping inspection process.

次いで、CPU301は、操作部302を介しユーザによって設定された読み取りモードを認識する(ステップS704)。ここで、通常モードでの読み取りジョブを行うか、または高速モード読み取りジョブを行うかが決定される。次いで、CPU301は、作業用RAM領域に記憶した、読み取りモードに対応する副走査方向の色ずれ値、及びMTF値を読み出す(ステップS705)。次いでCPU301は、読み取りモードに対応した副走査方向の色ずれ値、MTF値及び図5、図6のフィルタ係数選択テーブルに基づいて1×3フィルタ回路311R、311G、311Bのフィルタ係数k0、k1、k2をそれぞれ決定する(ステップS706)。   Next, the CPU 301 recognizes the reading mode set by the user via the operation unit 302 (step S704). Here, it is determined whether to perform a reading job in the normal mode or a high-speed mode reading job. Next, the CPU 301 reads out the color misregistration value and the MTF value in the sub-scanning direction corresponding to the reading mode stored in the work RAM area (step S705). Next, the CPU 301 sets the filter coefficients k0, k1, and the filter coefficients k0, k1, and the 1 × 3 filter circuits 311R, 311G, and 311B based on the color shift value in the sub-scanning direction corresponding to the reading mode, the MTF value, and the filter coefficient selection tables in FIGS. Each k2 is determined (step S706).

フィルタ係数を決定した後、CPU301は、R,G,Bに対応してそれぞれ決定したフィルタ係数k0、k1、k2を画像処理回路部307のレジスタに設定する(ステップS707)。次いで、CPU301は、画像処理回路部307の1×3フィルタ回路311R、311G、311Bでのフィルタ処理を有効にし、ユーザによって設定された読み取りモードで原稿の読み取りを行う(ステップS708)。次いで、CPU301は、他の読み取りモードがあるか否か判別する(ステップS709)。ステップS709の判別の結果、他の処理モードがない場合(ステップS709で「NO」)、CPU301は、本処理を終了する。一方、ステップS709の判別の結果、他の処理モードがある場合(ステップS709で「YES」)、CPUは、処理をステップS704に戻す。   After determining the filter coefficients, the CPU 301 sets the filter coefficients k0, k1, and k2 determined corresponding to R, G, and B in the register of the image processing circuit unit 307 (step S707). Next, the CPU 301 enables the filter processing in the 1 × 3 filter circuits 311R, 311G, and 311B of the image processing circuit unit 307, and reads the document in the reading mode set by the user (step S708). Next, the CPU 301 determines whether there is another reading mode (step S709). If the result of determination in step S709 is that there is no other processing mode (“NO” in step S709), the CPU 301 ends this processing. On the other hand, if the result of determination in step S709 is that there is another processing mode (“YES” in step S709), the CPU returns the processing to step S704.

図7の処理によれば、不揮発性メモリ312に副走査方向の色ずれ値、MTF値を、読み取りモード毎に記憶させておき、これを用いて、R,G,Bの光に対応し、かつ読み取りモードに対応じたフィルタ係数k0、k1、k2を決定する。従って、読み取りモードの違いにより色ずれ値、副走査MTF値が異なる場合にも、2ライン分の画像メモリを使用した1×3フィルタ回路によって適切な色ずれ補正、及びMTF調整を行うことができる。また、これによって、上記実施の形態と同様、補正処理に使用するラインメモリの必要容量を抑制して処理回路規模を縮小させ、もってコストダウンを図ることができる。   According to the processing of FIG. 7, the color misregistration value and MTF value in the sub-scanning direction are stored in the nonvolatile memory 312 for each reading mode, and this is used to correspond to R, G, B light, In addition, filter coefficients k0, k1, and k2 corresponding to the reading mode are determined. Accordingly, even when the color misregistration value and the sub-scanning MTF value differ depending on the reading mode, the proper color misregistration correction and MTF adjustment can be performed by the 1 × 3 filter circuit using the image memory for two lines. . As a result, similarly to the above-described embodiment, the required capacity of the line memory used for the correction process can be suppressed, the processing circuit scale can be reduced, and the cost can be reduced.

本実施の形態において、読み取りモードを、自動原稿搬送装置(以下、ADF)を適用して原稿を流し読みするモードと、原稿台ガラス107に載せた原稿を読み取るフラットベッド読みモードとすることもできる。この場合、原稿の流し読みモード及びフラットベッド読みモードにそれぞれ対応する副走査方向の色ずれ値、MTF値を不揮発性メモリ312に記憶させておき、読み取りモードに対応した1×3フィルタ係数を決定して、画像処理回路のレジスタに設定する。これによって、読み取りモードに適合したフィルタ係数を用いて副走査方向の色ずれ等を是正することができる。   In the present embodiment, the reading mode may be a mode in which an automatic document feeder (hereinafter referred to as ADF) is applied to read a document and a flat bed reading mode in which a document placed on the platen glass 107 is read. . In this case, the non-volatile memory 312 stores color shift values and MTF values in the sub-scanning direction corresponding to the document reading mode and flatbed reading mode, respectively, and determines the 1 × 3 filter coefficient corresponding to the reading mode. Then, it is set in the register of the image processing circuit. Thus, it is possible to correct color misregistration and the like in the sub-scanning direction using a filter coefficient suitable for the reading mode.

本実施の形態において、副走査方向の色ずれ値、MTF値は、読取ユニットであるCIS101のLED201の点灯光量やレンズアレイ203の結像性能等に起因する。従って、故障などにより読取ユニットを交換する際は、不揮発性メモリ312に保存されている副走査方向の色ずれ値、MTF値を交換する読取ユニットに対応させて変更する必要がある。かかる場合、交換する読取ユニットを出荷検査工程時の色ずれ・MTF測定用読み取り装置に装着して、不揮発性メモリ312に記憶すべき副走査方向の色ずれ値、MTF値を算出する。そして、算出した色ずれ値、MTF値を印字し、印字したラベルを交換用読取ユニットに添付し、例えば、サービスマンが操作部302を介してラベルに印字された値を不揮発性メモリ312に入力できるようにすることが好ましい。   In the present embodiment, the color misregistration value and the MTF value in the sub-scanning direction are caused by the amount of lighting of the LED 201 of the CIS 101 serving as the reading unit, the imaging performance of the lens array 203, and the like. Therefore, when the reading unit is replaced due to a failure or the like, it is necessary to change the color misregistration value and MTF value in the sub-scanning direction stored in the nonvolatile memory 312 according to the reading unit to be replaced. In such a case, the reading unit to be replaced is attached to the reading device for color misregistration / MTF measurement in the shipping inspection process, and the color misregistration value and MTF value in the sub-scanning direction to be stored in the nonvolatile memory 312 are calculated. Then, the calculated color misregistration value and MTF value are printed, and the printed label is attached to the replacement reading unit. For example, the value printed on the label by the serviceman is input to the nonvolatile memory 312 via the operation unit 302. It is preferable to be able to do this.

100:画像読取装置
101:コンタクトイメージセンサ(CIS)
102:CISホルダ
103:タイミングベルト
106:白色基準板
107:原稿台ガラス
201:光源(LED)
202:導光体
203:レンズアレイ
204:ラインセンサ
307:画像処理回路部
309:
311R〜311B:1×3フィルタ回路
100: Image reading apparatus 101: Contact image sensor (CIS)
102: CIS holder 103: Timing belt 106: White reference plate 107: Document glass 201: Light source (LED)
202: Light guide 203: Lens array 204: Line sensor 307: Image processing circuit unit 309:
311R to 311B: 1 × 3 filter circuit

Claims (8)

原稿を読み取り、複数の色成分データを出力する読取センサと、
前記読取センサの軸方向に対応する主走査方向に直交する副走査方向の色ずれの補正とMTFの調整を行うフィルタ処理手段と、
前記読取センサにかかる、副走査方向の色ずれ値とMTF値とを記憶する記憶手段と、
副走査方向の色ずれ値とMTF値との複数の組み合わせに対応させてフィルタ係数を保持するテーブルを参照して、前記記憶されている副走査方向の色ずれ値とMTF値に対応するフィルタ係数を決定する決定手段とを有し、
前記フィルタ処理手段は、前記決定手段が決定したフィルタ係数を用いて、前記読取センサから出力された注目画素の色成分データに対して、副走査方向の前後に隣接する2つの画素の画像データを用いてフィルタ処理を行うことを特徴とする画像読取装置。
A reading sensor that reads a document and outputs a plurality of color component data; and
Filter processing means for correcting color misregistration in the sub-scanning direction orthogonal to the main scanning direction corresponding to the axial direction of the reading sensor and adjusting the MTF;
Storage means for storing color shift values and MTF values in the sub-scanning direction applied to the reading sensor;
A filter coefficient corresponding to a plurality of combinations of color misregistration values and MTF values in the sub-scanning direction is stored, and filter coefficients corresponding to the stored sub-scanning direction color misregistration values and MTF values are referred to. Determining means for determining
The filter processing unit uses the filter coefficient determined by the determination unit to output image data of two adjacent pixels before and after in the sub-scanning direction with respect to the color component data of the target pixel output from the reading sensor. An image reading apparatus using the filtering process.
前記複数の色成分データには、第1の色成分データ、第2の色成分データおよび第3の色成分データが含まれ、
前記記憶手段は、前記第1の色成分データに対しては、第1のMTF値および前記第2の色成分データに対する第1の色ずれ値を記憶し、前記第3の色成分データに対しては、第3のMTF値および前記第3の色成分データに対する第2の色ずれ値を記憶し、前記第2の色成分データに対しては第2のMTF値を記憶し、
前記決定手段は、前記第2のMTF値から前記第2の色成分データに対する第2のフィルタ係数を決定し、前記テーブルを参照して、前記第1のMTF値および前記第1のMTF値に対応する前記第1の色成分データに対する第1のフィルタ係数を決定し、前記第3のMTF値および前記第3のMTF値に対応する前記第3の色成分データに対する第3のフィルタ係数を決定し、
前記フィルタ処理手段は、前記第1のフィルタ係数を用いて前記第1の色成分データに対してフィルタ処理を行い、前記第2のフィルタ係数を用いて前記第2の色成分データに対してフィルタ処理を行い、前記第3のフィルタ係数を用いて前記第3の色成分データにフィルタ処理を行うことを特徴とする請求項1記載の画像読取装置。
The plurality of color component data includes first color component data, second color component data, and third color component data,
The storage means stores a first MTF value and a first color shift value for the second color component data for the first color component data, and for the third color component data. Storing a second MTF value and a second color shift value for the third color component data, storing a second MTF value for the second color component data,
The determining means determines a second filter coefficient for the second color component data from the second MTF value, and refers to the table to determine the first MTF value and the first MTF value. A first filter coefficient for the corresponding first color component data is determined, and a third filter coefficient for the third color component data corresponding to the third MTF value and the third MTF value is determined. And
The filter processing means performs a filtering process on the first color component data using the first filter coefficient, and filters the second color component data using the second filter coefficient. 2. The image reading apparatus according to claim 1, wherein processing is performed, and the third color component data is filtered using the third filter coefficient.
前記読取センサは、コンタクトイメージセンサであることを特徴とする請求項1または2記載の画像読取装置。   The image reading apparatus according to claim 1, wherein the reading sensor is a contact image sensor. さらに、前記読取センサから出力された複数の色成分データを、副走査方向に隣接する2つのライン分記憶するメモリを有することを特徴とする請求項1乃至3のいずれか1項に記載の画像読取装置。   The image according to any one of claims 1 to 3, further comprising a memory for storing a plurality of color component data output from the reading sensor for two lines adjacent in the sub-scanning direction. Reader. 前記第1、第2及び第3のフィルタ係数は、それぞれa、b、cの3つのフィルタ係数からなり、
前記テーブルは、前記第1の色成分データ用及び前記第3の色成分データ用として共用され、前記第3の色成分データ用として適用される場合は、前記第1の色成分データ用として適用される場合における前記フィルタ係数のうちaとcとが入れ替えて適用されることを特徴とする請求項2乃至4のいずれか1項に記載の画像読取装置。
The first, second and third filter coefficients are composed of three filter coefficients a, b and c, respectively.
The table is shared for the first color component data and the third color component data. When the table is applied for the third color component data, the table is applied for the first color component data. 5. The image reading apparatus according to claim 2, wherein a and c of the filter coefficients in the case of being applied are applied interchangeably. 6.
前記記憶手段は、前記副走査方向の色ずれ値とMTF値とを読取モードごとに記憶し、
前記決定手段は、前記読取モードごとの前記副走査方向の色ずれ値とMTF値とを使用して、当該副走査方向の色ずれ値とMTF値に対応するフィルタ係数を決定することを特徴とする請求項1乃至5のいずれか1項に記載の画像読取装置。
The storage means stores the color shift value and MTF value in the sub-scanning direction for each reading mode,
The determining means determines a filter coefficient corresponding to the color misregistration value and MTF value in the sub-scanning direction using the color misregistration value and MTF value in the sub-scanning direction for each reading mode. The image reading apparatus according to claim 1.
前記読取モードは、所定の速度で画像を読み取る通常モードと、該通常モードよりも高速で画像を読み取る高速モードであることを特徴とする請求項6記載の画像読取装置。   The image reading apparatus according to claim 6, wherein the reading mode includes a normal mode for reading an image at a predetermined speed and a high-speed mode for reading an image at a higher speed than the normal mode. 前記読み取りモードは、原稿搬送装置を適用して原稿を流し読みするモードと、原稿台に載せた原稿を読み取るフラットベッド読みモードであることを特徴とする請求項6記載の画像読取装置。   The image reading apparatus according to claim 6, wherein the reading mode includes a mode in which a document is fed and a document is scanned and a flatbed reading mode in which a document placed on a document table is read.
JP2014042636A 2014-03-05 2014-03-05 Image reading device Active JP6270548B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014042636A JP6270548B2 (en) 2014-03-05 2014-03-05 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014042636A JP6270548B2 (en) 2014-03-05 2014-03-05 Image reading device

Publications (3)

Publication Number Publication Date
JP2015170888A true JP2015170888A (en) 2015-09-28
JP2015170888A5 JP2015170888A5 (en) 2017-04-13
JP6270548B2 JP6270548B2 (en) 2018-01-31

Family

ID=54203292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014042636A Active JP6270548B2 (en) 2014-03-05 2014-03-05 Image reading device

Country Status (1)

Country Link
JP (1) JP6270548B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020065210A (en) * 2018-10-19 2020-04-23 キヤノン株式会社 Image processing apparatus, control method of image processing apparatus, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0451672A (en) * 1990-06-19 1992-02-20 Fujitsu Ltd Color reader
JP2005175584A (en) * 2003-12-08 2005-06-30 Canon Inc Image processing system
JP2010021727A (en) * 2008-07-09 2010-01-28 Canon Inc Image reading device and control method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0451672A (en) * 1990-06-19 1992-02-20 Fujitsu Ltd Color reader
JP2005175584A (en) * 2003-12-08 2005-06-30 Canon Inc Image processing system
JP2010021727A (en) * 2008-07-09 2010-01-28 Canon Inc Image reading device and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020065210A (en) * 2018-10-19 2020-04-23 キヤノン株式会社 Image processing apparatus, control method of image processing apparatus, and program
JP7130522B2 (en) 2018-10-19 2022-09-05 キヤノン株式会社 IMAGE PROCESSING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE PROCESSING DEVICE

Also Published As

Publication number Publication date
JP6270548B2 (en) 2018-01-31

Similar Documents

Publication Publication Date Title
EP2040455B1 (en) Image forming apparatus and control method thereof
US8804208B2 (en) Image reading apparatus
US9930212B2 (en) Image reading device generating black correction data for shade correction based on intermediate data acquired at different positions in the sub-scanning direction
JP2010278999A (en) Image reading device
JP6270548B2 (en) Image reading device
JP2015162743A (en) Image reading apparatus
US10122885B2 (en) Image reading device
JP4368626B2 (en) Image reading device
JP2009272891A (en) Image reader, image forming apparatus, image reading method, and image formation method
JP7353899B2 (en) Image reading device and method of controlling the image reading device
JP4928597B2 (en) Image reading apparatus, image processing apparatus, image forming apparatus, system thereof, and control method thereof
JP2007201892A (en) Image reading method, image reader, and image reading program
JP2019129422A (en) Image reading device
JP2006033386A (en) Image reader
JP5789990B2 (en) Image reading apparatus and image reading control method
JP6558211B2 (en) Image reading device
JP2010199892A (en) Image reading apparatus and method, and program
JP2018117264A (en) Scanner, scan data generation method, and scan sensor
JP5849041B2 (en) Image forming apparatus and image reading apparatus
JP4334372B2 (en) Image reading apparatus, image forming apparatus, and image reading method
JP2018160849A (en) Reading device and control method
JP6519082B2 (en) Image processing device
JP2008109384A (en) Image sensor, image reading method and apparatus, and image forming apparatus
JP2021114750A (en) Image forming apparatus
JP2016001804A (en) Image reading apparatus and shading compensation method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170306

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170306

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170926

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171113

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171226

R151 Written notification of patent or utility model registration

Ref document number: 6270548

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151