JPH0451672A - Color reader - Google Patents
Color readerInfo
- Publication number
- JPH0451672A JPH0451672A JP2161047A JP16104790A JPH0451672A JP H0451672 A JPH0451672 A JP H0451672A JP 2161047 A JP2161047 A JP 2161047A JP 16104790 A JP16104790 A JP 16104790A JP H0451672 A JPH0451672 A JP H0451672A
- Authority
- JP
- Japan
- Prior art keywords
- reading
- filter
- color
- correction
- image
- 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
Links
Landscapes
- Image Input (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔目 次〕
概要
卒業上の利用分野
従来の技術
発明が解決しようとする課題
課題を解決するための手段
作用
実施例
発明の効果
〔概 要〕
読み取り画像の補正を行うようにしたカラー読取装置に
関し、
様々な要因によって生じる各分解色の読取誤差を補正す
ることを目的とし、
ラインイメージセンサの各受光素子に対応する原稿上の
各画素からなるラインごとに、原稿上のカラー画像を複
数の色成分に色分解して読み取る読取手段と、原稿上の
ラインを複数の補正対象領域に分割し、読取手段による
各色成分の読取結果に基づいて、これらの補正対象領域
のそれぞれに対応じて、読取手段による各色成分の読取
画像の劣化を表す点広がり関数を算出する点広がり関数
算出手段と、これらの点広がり関数に基づいて、複数の
補正対象領域のそれぞれにおける各色成分の読取画像の
劣化を打ち消すフィルタを表すフィルタ係数を算出する
フィルタ算出手段と、導入される読取手段による原稿の
各色成分の読取結果に応じて、フィルタ算出手段から導
入された各色成分のフィルタの中から該当する補正対象
領域のフィルタを選択し、導入された各色成分の読取結
果と選択した各色成分のフィルタとを畳み込み積分した
結果を各色成分の読取結果として出力する補正手段とを
備えるように構成する。[Detailed Description of the Invention] [Table of Contents] Overview Field of Application Prior Art Problems to be Solved by the Invention Means for Solving the Problems Action Examples Effects of the Invention [Summary] Correction of a read image The purpose of this color reading device is to correct reading errors of each color separation caused by various factors. A reading means separates and reads a color image into multiple color components, and a line on the document is divided into multiple correction target areas, and based on the reading result of each color component by the reading means, these correction target areas are read. Corresponding to each, a point spread function calculation means calculates a point spread function representing deterioration of an image read by the reading means for each color component, and a point spread function calculating means for calculating a point spread function representing the deterioration of an image read by the reading means, and a point spread function calculation means for calculating a point spread function representing the deterioration of an image read by the reading means, and a point spread function calculating means for calculating a point spread function representing the deterioration of an image read by the reading means, and a point spread function calculating means for calculating a point spread function representing the deterioration of an image read by the reading means, A filter calculation means for calculating a filter coefficient representing a filter that cancels out the deterioration of the read image of and a correction means for selecting a filter for the corresponding correction target area from the filter and convolving and integrating the reading result for each introduced color component with the filter for each selected color component and outputting the result as the reading result for each color component. do.
本発明は、カラー読取装置に関し、特に、読み取り画像
の補正を行うようにしたカラー読取装置に関する。The present invention relates to a color reading device, and particularly to a color reading device that corrects a read image.
カラー読取装置は、ファクシミリ装置やコンピュータへ
の画像入力装置として用いられており、例えば電荷結合
素子(CCD)などを用いたイメージセンサによって、
カラー画像をR(赤) G(緑)、B(青)の各成分の
強度分布として測定して読み取るものが知られている。Color reading devices are used as image input devices for facsimile machines and computers.
It is known to measure and read a color image as the intensity distribution of R (red), G (green), and B (blue) components.
また、このようなカラー読取装置には、カラー画像を高
精度で読み取ることが要求されるとともに、読み取った
カラー画像が劣化している場合には画像の補正を行い、
高い品質の読取画像を出力することが要望されている。In addition, such color reading devices are required to read color images with high precision, and if the read color image is degraded, it is necessary to correct the image.
There is a demand for outputting high quality read images.
第6図に従来のフィルタ切換型カラー読取装置の構成を
示す。FIG. 6 shows the configuration of a conventional filter switching type color reading device.
原稿611上の線状の部分(以下、読取ラインと称する
)613は、蛍光灯などの照明装置612によって照明
されている。この読取ライン613からの反射光は、レ
ンズ614によってセンサ(例えばCCDラインイメー
ジセンサ)615上に結像されている。A linear portion (hereinafter referred to as a reading line) 613 on the original 611 is illuminated by an illumination device 612 such as a fluorescent lamp. The reflected light from this reading line 613 is imaged onto a sensor (for example, a CCD line image sensor) 615 by a lens 614.
また、それぞれ赤色(R)成分、緑色(G)成分、青色
(B)成分を透過させるフィルタ621r、621g、
621bのいずれかが、原稿611からセンサ615へ
の光路に選択的に挿入されるようになっている(第6図
は、フィルタ621gが光路中に挿入された状態を示し
ている)。このようなカラー読取装置においては、光路
中に挿入するフィルタを切り換えることにより、センサ
615に到達する光の色成分を切り換えて、読取ライン
613からの反射光の各色成分の強度分布を時分割で測
定し、読取ライン613上のカラー画像の読み取りを行
うようになっている。In addition, filters 621r and 621g that transmit red (R) component, green (G) component, and blue (B) component, respectively,
621b is selectively inserted into the optical path from the document 611 to the sensor 615 (FIG. 6 shows the filter 621g inserted into the optical path). In such a color reading device, the color components of the light reaching the sensor 615 are changed by changing the filter inserted in the optical path, and the intensity distribution of each color component of the light reflected from the reading line 613 is measured in a time-sharing manner. The color image on the reading line 613 is read.
また、その後、原稿611を読取ライン613に垂直な
副走査方向(図において矢印Aで示す)に所定の長さだ
け移動し、同様の処理を繰り返して2次元のカラー画像
の読み取りを行う。Thereafter, the document 611 is moved by a predetermined length in the sub-scanning direction (indicated by arrow A in the figure) perpendicular to the reading line 613, and the same process is repeated to read a two-dimensional color image.
別のカラー読取装置の例として、第7図に密着型のカラ
ー読取装置の構成を示す。As another example of a color reading device, FIG. 7 shows the structure of a contact type color reading device.
原稿711上の読取ライン713は、照明装置712に
よって照明されており、この読取ライン713からの反
射光が、直径1m!1程度の複数のレンズを一列に並べ
て構成されたロッドレンズアレイ714により、CCD
ラインイメージセンサなどのセンサ715上に結像され
るようになっている。A reading line 713 on the original 711 is illuminated by an illumination device 712, and the reflected light from this reading line 713 has a diameter of 1 m! CCD
The image is formed on a sensor 715 such as a line image sensor.
ここで、上述したセンサ715の各素子の並びの方向の
長さは、原稿711の幅と同等となっている。また、第
8図に示すように、読取ライン713上の各画素には、
センサ715上の3つの素子の組が対応しており、これ
らの3つの素子のそれぞれは、R,G、B成分をそれぞ
れ分解色とするフィルタで覆われている。また、これら
の3つの素子の組の出力は、原稿711の読取ライン7
13上の各画素の各成分の読取結果として出力される。Here, the length of each element of the sensor 715 described above in the arrangement direction is equal to the width of the document 711. Furthermore, as shown in FIG. 8, each pixel on the reading line 713 has
Three sets of elements on the sensor 715 correspond to each other, and each of these three elements is covered with a filter that separates the R, G, and B components, respectively. Further, the output of the set of these three elements is the reading line 7 of the original 711.
It is output as a reading result of each component of each pixel on 13.
(発明が解決しようとする課題〕
ところで、上述した従来方式にあっては、カラー画像を
一旦R,G、Bの各成分に分解して各成分の強度分布を
測定し、その後、これらの測定結果を合成することによ
り、カラー画像を得ている。(Problems to be Solved by the Invention) By the way, in the conventional method described above, a color image is first decomposed into R, G, and B components and the intensity distribution of each component is measured, and then these measurements are performed. By combining the results, a color image is obtained.
ここで、各分解色の測定結果には、レンズ614および
ロッドレンズアレイ714などの結像用光学系の収差な
どによる誤差が含まれており、これらの誤差は、一般に
、各分解色ごとに異なっている。Here, the measurement results for each color separation include errors due to aberrations of the imaging optical system such as the lens 614 and the rod lens array 714, and these errors generally differ for each color separation. ing.
例えば、第6図に示したフィルタ切換型のカラー読取装
置においては、通常、レンズ614は、読取ライン61
3を縮小した像をセンサ615上に結ぶようになってい
る。ところで、このような縮小光学系においては、特に
、レンズ614の色収差のために、各分解色ごとに結像
位置が異なっている。また、各分解色ごとの読み取りが
時間差をもって行われるため、原稿611を副走査方向
に移動させながら読み取りを行う場合には、各分解色ご
とに読取位置そのものが異なっている。For example, in the filter switching type color reading device shown in FIG.
3 is focused on the sensor 615. By the way, in such a reduction optical system, the imaging position differs for each separated color, especially due to the chromatic aberration of the lens 614. Further, since reading is performed for each separated color with a time difference, when reading is performed while moving the document 611 in the sub-scanning direction, the reading position itself is different for each separated color.
また、第7図に示した密着型のカラー読取装置において
は、読取ライン713上の各画素に、センサ715の3
つの素子が対応しており、これらの3つの素子のそれぞ
れに対応する読取位置は、それぞれ1/3画素ずつ異な
っている。In the contact type color reading device shown in FIG. 7, each pixel on the reading line 713 is
Three elements correspond to each other, and the reading positions corresponding to each of these three elements differ by 1/3 pixel.
このため、各分解色の測定結果を合成して得たカラー画
像に色ずれが発生し、読取画像の品質が低下するという
問題点があった。For this reason, there is a problem in that a color shift occurs in a color image obtained by combining the measurement results of each separated color, and the quality of the read image deteriorates.
上述したような色ずれを防止する方法としては、各分解
色ごとの誤差の要因(色収差など)を究明し、これらの
要因に基づいて、各分解色ごとの誤差を解析的に評価し
て、測定結果を補正する方法がある。しかしながら、カ
ラー読取装置は、多数の構成要素から構成されているた
め、多数の要因があり、全ての要因を考慮して解析的に
求めることは困難である。The method to prevent color shift as described above is to investigate the error factors for each color separation (chromatic aberration, etc.), and based on these factors, analytically evaluate the error for each color separation. There are ways to correct the measurement results. However, since a color reading device is composed of a large number of components, there are a large number of factors, and it is difficult to analytically determine the value by considering all the factors.
本発明は、様々な要因によって生じる各分解色の読取誤
差を補正するようにしたカラー読取装置を提供すること
を目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a color reading device that corrects reading errors of each separated color caused by various factors.
[課題を解決するための手段] 第1図は、本発明の原理ブロック図である。[Means to solve the problem] FIG. 1 is a block diagram of the principle of the present invention.
(j −ン11の 日
図において、請求項1の発明における読取手段110は
、複数の受光素子を1列に並べたラインイメージセンサ
111を有し、ラインイメージセンサ111の各受光素
子に対応する原稿101上の各画素からなるラインごと
に、原稿101上のカラー画像を複数の色成分に色分解
して読み取る。(In the day map of j-n 11, the reading means 110 in the invention of claim 1 has a line image sensor 111 in which a plurality of light receiving elements are arranged in a row, and a plurality of light receiving elements corresponding to each light receiving element of the line image sensor 111 The color image on the original 101 is separated into a plurality of color components and read for each line made up of pixels on the original 101.
魚床がり関数算出手段121は、原稿101上のライン
を複数の補正対象領域に分割し、読取手段110による
各色成分の読取結果に基づいて、これらの補正対象領域
のそれぞれに対応じて、読取手段110による各色成分
の読取画像の劣化を表す魚床がり関数を算出する。The fish bed gap function calculating means 121 divides the line on the original 101 into a plurality of correction target areas, and performs reading corresponding to each of these correction target areas based on the reading result of each color component by the reading means 110. A gradation function representing the deterioration of the image read by the means 110 for each color component is calculated.
フィルタ算出手段131は、魚床がり関数算出手段12
1によって算出された各色成分の魚床がり関数に基づい
て、複数の補正対象領域のそれぞれにおける各色成分の
読取画像の劣化を打ち消すフィルタのそれぞれを表すフ
ィルタ係数を算出する。The filter calculation means 131 is the fish bed density function calculation means 12.
1, a filter coefficient representing each of the filters for canceling out the deterioration of the read image of each color component in each of the plurality of correction target regions is calculated.
補正手段140は、導入される読取手段110による原
稿101の各色成分の読取結果に応じて、フィルタ算出
手段131から導入された各色成分のフィルタの中から
該当する補正対象領域に対応するフィルタを選択し、導
入された各色成分の読取結果と選択した各色成分のフィ
ルタとを畳み込み積分した結果を各色成分の読取結果と
して出力する。The correction means 140 selects a filter corresponding to the corresponding correction target area from among the filters of each color component introduced from the filter calculation means 131 according to the reading result of each color component of the original 101 by the introduced reading means 110. Then, the result of convolving and integrating the reading result of each introduced color component with the filter of each selected color component is output as the reading result of each color component.
1i iン“ 2の B
請求項2の発明において、基準画像122は、複数の補
正対象領域のそれぞれに、ラインイメージセンサ111
の1つの受光素子に相当する少なくとも1つのパターン
を配置している。In the invention of claim 2, the reference image 122 includes a line image sensor 111 in each of the plurality of correction target areas.
At least one pattern corresponding to one light receiving element is arranged.
全体として、請求項1の発明によるカラー読取装置にお
いて、魚床がり関数算出手段121が、読取手段110
による基準画像122の読取結果に基づいて、複数の補
正対象領域のそれぞれに対応する各色成分の魚床がり関
数を算出するように構成されている。Overall, in the color reading device according to the invention of claim 1, the fishbed density function calculation means 121 is configured to
Based on the reading result of the reference image 122 obtained by , the fish bed density function of each color component corresponding to each of the plurality of correction target regions is calculated.
ii iン1の 日
請求項3の発明において、補正手段140は、複数の各
色成分のそれぞれに対応する複数の補正処理手段141
を有して構成されている。In the invention of claim 3, the correction means 140 includes a plurality of correction processing means 141 corresponding to each of the plurality of color components.
It is configured with
また、複数の補正処理手段141のそれぞれは、複数の
補正対象領域のそれぞれに対応し、該当する色成分のフ
ィルタを表すフィルタ係数を格納する複数のフィルタ格
納手段142と、複数ラインに対応する読取結果が連続
して入力され、複数ラインの各画素に対応する読取結果
を並列に出力する出力手段143と、出力手段143の
出力が導入され、複数ラインの読取結果を所定量ずつ保
持する保持手段144と、保持手段144に保持された
読取結果に応じて、読取結果に対応する補正対象領域を
判別する判別手段145と、判別手段145による判別
結果に応じて、複数のフィルタ格納手段142から該当
するフィルタ格納手段142を選択する選択手段146
と、選択手段146によって選択されたフィルタ格納手
段142に保持されたフィルタ係数と保持手段144に
保持された対応する読取結果とを乗算する乗算手段14
7と、乗算手段147による乗算結果の総和を求める演
算手段148とを有して構成されている。Further, each of the plurality of correction processing means 141 corresponds to each of the plurality of correction target regions, and includes a plurality of filter storage means 142 that stores filter coefficients representing filters of the corresponding color components, and a plurality of filter storage means 142 corresponding to the plurality of lines. An output means 143 to which results are input continuously and outputs the reading results corresponding to each pixel of a plurality of lines in parallel; and a holding means into which the output of the output means 143 is input and holds a predetermined amount of the reading results of the plurality of lines. 144, a determining means 145 for determining a correction target area corresponding to the reading result according to the reading result held in the holding means 144; selection means 146 for selecting the filter storage means 142 to be used;
and a multiplication means 14 for multiplying the filter coefficient held in the filter storage means 142 selected by the selection means 146 by the corresponding reading result held in the holding means 144.
7, and an arithmetic means 148 for calculating the sum of the multiplication results by the multiplication means 147.
全体として、演算手段148の出力を補正処理手段14
1の出力とするように構成されている。Overall, the output of the calculation means 148 is corrected by the correction processing means 14.
1 output.
−〇LL請濾Jロコ膓免所
請求項4の発明において、合成手段151は、フィルタ
算出手段131によって算出された複数の補正対象領域
のそれぞれに対応する各色成分のフィルタと画像処理機
能を有する他のフィルタとを畳み込み積分して合成フィ
ルタを生成する。-〇LL过郎J ロコ 膜子所 In the invention of claim 4, the synthesis means 151 has a filter for each color component corresponding to each of the plurality of correction target regions calculated by the filter calculation means 131 and an image processing function. Generate a synthetic filter by convolving and integrating with other filters.
全体として、請求項1の発明によるカラー読取装置の補
正手段140に、合成手段151によって生成された合
成フィルタを各補正対象領域に対応する各色成分のフィ
ルタとして導入するように構成されている。Overall, the composition filters generated by the composition means 151 are introduced into the correction means 140 of the color reading device according to the first aspect of the invention as filters for each color component corresponding to each correction target area.
1 ″ン11の H
請求項1の発明において、原稿101上のカラー画像は
、読取手段110のラインイメージセンサ111の各受
光素子に対応する各画素からなるラインごとに、複数の
色成分に色分解して読み取られる。In the invention of claim 1, the color image on the original 101 is divided into a plurality of color components for each line consisting of each pixel corresponding to each light receiving element of the line image sensor 111 of the reading means 110. It is decomposed and read.
点広がり関数算出手段121により、上述した原稿10
1上のラインは、複数の補正対象領域に分割され、また
、この点広がり関数算出手段121により、上述した読
取手段110による各色成分の読取結果に基づいて、上
述した補正対象領域のそれぞれに対応じて、読取手段1
10による各色成分の読取画像の劣化を表す点広がり関
数が算出される。この点広がり関数に基づいて、フィル
タ算出手段131により、上述した複数の補正対象領域
のそれぞれにおける各色成分の読取画像の劣化を打ち消
すフィルタのそれぞれを表すフィルタ係数が算出される
。The point spread function calculation means 121 calculates the above-mentioned original 10.
The line on 1 is divided into a plurality of correction target areas, and the point spread function calculating means 121 calculates a value corresponding to each of the above correction target areas based on the reading result of each color component by the above-mentioned reading means 110. Therefore, the reading means 1
A point spread function representing the deterioration of the read image of each color component by 10 is calculated. Based on this point spread function, the filter calculation means 131 calculates filter coefficients representing filters that cancel out the deterioration of the read image of each color component in each of the plurality of correction target areas described above.
導入される読取手段110による原稿101の各色成分
の読取結果に応じて、補正手段140により、上述した
フィルタ算出手段131から導入されたフィルタの中か
ら複数の補正対象領域のいずれかに対応する各色成分の
フィルタが選択される。また、導入された各色成分の読
取結果と選択された各色成分のフィルタとが、この補正
手段140によって畳み込み積分され、各色成分の読取
結果として出力される。According to the reading result of each color component of the original 101 by the introduced reading means 110, the correction means 140 selects each color corresponding to one of the plurality of correction target areas from among the filters introduced from the filter calculation means 131 described above. A component filter is selected. Further, the reading result of each introduced color component and the filter of each selected color component are convoluted and integrated by the correction means 140, and outputted as the reading result of each color component.
請求項1の発明にあっては、原稿101上のラインが複
数の補正対象領域に分割され、これらの補正対象領域の
それぞれに対応じて、読取手段110による読取画像の
劣化を打ち消すフィルタが算出される。また、読取手段
110による各色成分の読取結果と該当するフィルタと
の畳み込み積分を行うことにより、各色成分の読取結果
の補正が行われる。上述した各補正対象領域に対応する
点広がり関数には、該当する補正対象領域の画像を読取
手段110が読み取ることによって発生する全ての要因
による誤差に関する情報が含まれている。従って、上述
したフィルタによって読取結果を補正することにより、
様々な誤差要因を考慮して、各色成分の読取誤差を補正
することが可能となる。In the invention of claim 1, a line on the original 101 is divided into a plurality of correction target areas, and a filter for canceling the deterioration of the image read by the reading means 110 is calculated corresponding to each of these correction target areas. be done. Furthermore, the reading results of each color component are corrected by performing convolution integration between the reading results of each color component by the reading means 110 and the corresponding filter. The point spread function corresponding to each correction target area described above includes information regarding errors caused by all factors that occur when the reading means 110 reads the image of the corresponding correction target area. Therefore, by correcting the reading results using the filter described above,
It becomes possible to correct the reading error of each color component by considering various error factors.
l ン゛工 2 の ■
請求項2の発明において、基準画像122の各補正対象
領域には、ラインイメージセンサ111の1つの受光素
子に相当する少なくとも1つのパターンが配置されてい
る。また、この基準画像122が、読取手段110によ
って読み取られ、このときの各色成分の読取結果に基づ
いて、点広がり関数算出手段121により、複数の補正
対象領域のそれぞれに対応する各色成分の点広がり関数
が算出される。In the invention of claim 2, at least one pattern corresponding to one light receiving element of the line image sensor 111 is arranged in each correction target area of the reference image 122. Further, this reference image 122 is read by the reading means 110, and based on the reading result of each color component at this time, the point spread function calculation means 121 calculates the point spread of each color component corresponding to each of the plurality of correction target areas. The function is calculated.
ここで、点広がり関数は、原稿101の位置に配置され
た点光源を読取手段110で読み取った際の読取画像の
広がりを示している。また、上述した基準画像のパター
ンは、原稿101の位置に配置された点光源に相当して
いる。Here, the point spread function indicates the spread of a read image when a point light source placed at the position of the document 101 is read by the reading means 110. Further, the pattern of the reference image described above corresponds to a point light source placed at the position of the document 101.
請求項2の発明にあっては、点光源に相当するパターン
が、各補正対象領域に配置された基準画像122を読み
取った際の読取結果に基づいて、点広がり関数を簡単に
求めることができる。また、この点広がり関数に基づい
て算出されたフィルタを用いて読取結果の補正を行うこ
とにより、様々な誤差要因を考慮して、各色成分の読取
誤差を補正することが可能となる。In the invention of claim 2, the point spread function can be easily determined based on the reading result when the reference image 122 in which the pattern corresponding to the point light source is placed in each correction target area is read. . Furthermore, by correcting the reading results using a filter calculated based on this point spread function, it becomes possible to correct the reading errors of each color component by taking various error factors into consideration.
iii ) −;’1 3の 日−請求項3の発明
において、補正手段140は、複数の色成分のそれぞれ
に対応する複数の補正処理手段141から構成されてい
る。iii) -;'13 - In the invention of claim 3, the correction means 140 is composed of a plurality of correction processing means 141 corresponding to each of a plurality of color components.
各補正処理手段141の複数のフィルタ格納手段142
には、それぞれ対応する補正対象領域の該当する色成分
のフィルタ係数が格納されている。A plurality of filter storage means 142 of each correction processing means 141
The filter coefficients of the corresponding color components of the respective corresponding correction target regions are stored.
また、出力手段143には、対応する色成分の複数ライ
ンの読取結果が連続して人力され、これらのラインの各
画素に対応する読取結果が、この出力手段143により
、並列に出力されて保持手段144に導入され、この保
持手段144により、上述した複数ラインの読取結果が
所定量ずつ保持される。Further, the reading results of a plurality of lines of corresponding color components are continuously input to the output means 143, and the reading results corresponding to each pixel of these lines are outputted and held in parallel by the output means 143. The holding means 144 holds a predetermined amount of the reading results of the plurality of lines described above.
この保持手段144に保持された読取結果に応じて、判
別手段145により、上述した読取結果に対応する補正
対象領域が判別され、この判別結果に応じて、選択手段
146により、上述した複数のフィルタ格納手段142
から該当するフィルタ格納手段142が選択される。According to the reading result held in the holding means 144, the determination means 145 determines the correction target area corresponding to the above-mentioned reading result, and the selection means 146 selects the above-mentioned plurality of filters according to the determination result. Storage means 142
The corresponding filter storage means 142 is selected from the list.
また、乗算手段147により、上述した選択手段146
によって選択されたフィルタ格納手段142に格納され
たフィルタ係数と保持手段144に保持された対応する
読取結果との乗算が行われ、演算手段148により、こ
の乗算手段147による乗算結果の総和が求められ、こ
の演算手段148の出力が補正処理手段141の出力と
される。Furthermore, the multiplication means 147 allows the above-mentioned selection means 146
The filter coefficient stored in the filter storage means 142 selected by is multiplied by the corresponding reading result held in the holding means 144, and the calculation means 148 calculates the sum of the multiplication results by the multiplication means 147. , the output of this calculation means 148 is taken as the output of the correction processing means 141.
請求項3の発明にあっては、読取手段110による各ラ
インの読取結果を連続して補正処理手段141に供給す
ることにより、読取結果とフィルタとの畳み込み積分が
実行されるので、読取手段110による読取動作と並行
して、読取結果の補正処理を行うことが可能となり、補
正処理の高速化を図ることができる。In the invention of claim 3, the reading result of each line by the reading means 110 is continuously supplied to the correction processing means 141, so that the reading result and the filter are convolved and integrated. In parallel with the reading operation, it is possible to perform correction processing on the reading results, and it is possible to speed up the correction processing.
iv −ン1の 日
請求項4の発明において、合成手段151により、フィ
ルタ算出手段131によって算出された各補正対象領域
に対応する各色成分のフィルタと画像処理機能を有する
他のフィルタとを畳み込み積分が行われ、合成フィルタ
が生成される。また、この合成フィルタが、上述した各
補正対象領域に対応する各色成分のフィルタとして、補
正手段140に導入される。In the invention of claim 4, the synthesis means 151 convolves and integrates the filter of each color component corresponding to each correction target area calculated by the filter calculation means 131 with another filter having an image processing function. is performed to generate a synthesis filter. Further, this synthesis filter is introduced into the correction means 140 as a filter for each color component corresponding to each correction target area described above.
ここで、上述したようにして生成される合成フィルタは
、各色成分の読取画像の劣化を打ち消す機能と画像処理
機能とを併せ持っている。Here, the synthesis filter generated as described above has both the function of canceling out the deterioration of the read image of each color component and the image processing function.
従って、請求項4の発明にあっては、補正手段140に
おいて、上述した合成手段151で生成された合成フィ
ルタを用いて各色成分の読取結果の補正を行うことによ
り、各色成分の読取誤差を補正すると同時に、合成され
た他のフィルタによる画像処理を行うことが可能となる
。Therefore, in the invention of claim 4, the correction means 140 corrects the reading results of each color component using the synthesis filter generated by the synthesis means 151 described above, thereby correcting the reading error of each color component. At the same time, it becomes possible to perform image processing using other combined filters.
以下、図面に基づいて本発明の実施例について詳細に説
明する。Hereinafter, embodiments of the present invention will be described in detail based on the drawings.
第2図は、本発明の一実施例によるカラー読取装置の構
成を示す。FIG. 2 shows the configuration of a color reading device according to an embodiment of the present invention.
第5図は、本発明の別実施例による補正処理部の構成を
示す。FIG. 5 shows the configuration of a correction processing section according to another embodiment of the present invention.
ここで、第1図と実施例との対応関係について説明して
おく。Here, the correspondence between FIG. 1 and the embodiment will be explained.
原稿101は、原稿201に相当する。The original 101 corresponds to the original 201.
読取手段110は、画像読取部210に相当する。The reading means 110 corresponds to the image reading section 210.
ラインイメージセンサ111は、CCDラインイメージ
センサ(CCDセンサ)212に相当する。The line image sensor 111 corresponds to a CCD line image sensor (CCD sensor) 212.
点広がり関数算出手段121は、PSF算出部251に
相当する。The point spread function calculation means 121 corresponds to the PSF calculation section 251.
基準画像122は、基準画像202に相当する。Reference image 122 corresponds to reference image 202.
フィルタ算出手段131は、フィルタ算出部252に相
当する。The filter calculation means 131 corresponds to the filter calculation section 252.
補正手段140は、補正回路253r、253g、25
3bに相当する。The correction means 140 includes correction circuits 253r, 253g, 25
Corresponds to 3b.
補正処理手段141は、補正回路253r、253g、
253bに相当する。The correction processing means 141 includes correction circuits 253r, 253g,
Corresponds to 253b.
フィルタ格納手段142は、フィルタ係数レジスタ27
2に相当する。The filter storage means 142 includes a filter coefficient register 27
Corresponds to 2.
出力手段143は、ラインメモリ271..2712お
よびメモリコントローラ274に相当する。The output means 143 includes the line memory 271. .. 2712 and memory controller 274.
保持手段144は、ラッチ273A、・・・、273、
に相当する。The holding means 144 includes latches 273A, . . . , 273,
corresponds to
判別手段145は、セレクタ制御部276に相当する。The determining means 145 corresponds to the selector control section 276.
選択手段146は、セレクタ275に相当する。The selection means 146 corresponds to the selector 275.
乗算手段147は、乗算器281に相当する。Multiplying means 147 corresponds to multiplier 281.
演算手段148は、判定回路282と加算器283.2
84とROM285とに相当する。The calculation means 148 includes a determination circuit 282 and an adder 283.2.
84 and ROM285.
合成手段151は、フィルタ格納部551とフィルタ合
成部552とに相当する。The synthesizing means 151 corresponds to a filter storage section 551 and a filter synthesizing section 552.
以上のような対応関係があるものとして、以下実施例の
構成および動作を説明する。The configuration and operation of the embodiment will be described below assuming that the above-mentioned correspondence exists.
第2図において、201は原稿を、210は画像読取部
を、211はカラー読取機構を示している。このカラー
読取機構211としては、例えば、上述したフィルタ切
換型のカラー読取機構(第6図参照)あるいは密着型の
カラー読取機構(第7図参照)を用いればよい。In FIG. 2, 201 represents a document, 210 represents an image reading section, and 211 represents a color reading mechanism. As this color reading mechanism 211, for example, the above-mentioned filter switching type color reading mechanism (see FIG. 6) or contact type color reading mechanism (see FIG. 7) may be used.
この画像読取部210において、カラー読取機構211
に備えられたCCDラインイメージセンサ(以下、CC
Dセンサと称する)212により、原稿201上の読取
ラインにおけるカラー画像のR,G、B各成分の強度分
布が測定される。また、このCCDセンサ212のアナ
ログ出力は、アナログ−デジタル(A/D)変換部21
3に入力され、R,G、B各成分の強度分布の測定結果
をデジタル値に変換したものが、画像読取部210によ
る読取結果として出力される。In this image reading section 210, a color reading mechanism 211
CCD line image sensor (hereinafter referred to as CC) equipped with
A D sensor (referred to as D sensor) 212 measures the intensity distribution of each of the R, G, and B components of the color image in the reading line on the original 201. Further, the analog output of this CCD sensor 212 is transmitted to an analog-to-digital (A/D) converter 21.
3, and the measurement results of the intensity distributions of the R, G, and B components are converted into digital values and output as the reading results by the image reading section 210.
その後、画像読取部210は、上述した読取ラインの方
向(主走査方向)に垂直な方向(副走査方向)に原稿2
01を所定の距離だけ移動し、上述した読取動作を繰り
返すことにより、原稿201上の2次元のカラー画像の
読取を行うようになっている。Thereafter, the image reading unit 210 scans the original document in a direction (sub-scanning direction) perpendicular to the above-mentioned reading line direction (main-scanning direction).
01 by a predetermined distance and repeating the above-described reading operation, a two-dimensional color image on the document 201 is read.
このようにして読み取られた各成分の画像について、シ
ェーディング補正処理1色変換処理2補正処理を施した
後に、各成分の画像を合成して、表示装置(図示せず)
などに出力するようになっている。After performing shading correction processing, color conversion processing, and correction processing on the images of each component read in this way, the images of each component are combined and displayed on a display device (not shown).
It is designed to output to etc.
ここで、シェーディングとは、画像に濃淡が現れること
をいい、カラー読取機構211に備えられた結像光学系
(第6図、第7図参照)の特性(いわゆるcos ’則
による周辺光量の低下)などによって発生する。シェー
ディング補正部231は、画像読取部210により、白
色の板などを読み取ったときの読取結果に基づいて、原
稿201の読取結果を正規化することにより、シェーデ
ィング補正処理を行う。Here, shading refers to the appearance of shading in an image, and refers to the characteristics of the imaging optical system (see FIGS. 6 and 7) provided in the color reading mechanism 211 (reduction in the amount of peripheral light due to the so-called cos ' law). ) etc. The shading correction unit 231 performs shading correction processing by normalizing the reading result of the original 201 based on the reading result when a white plate or the like is read by the image reading unit 210.
また、色変換部241は、表示装置における信号系(例
えばNTSC信号系)において、原稿201上の画像の
色が再現されるように、各色成分の読取結果を変換する
色変換処理を行う。Further, the color conversion unit 241 performs color conversion processing to convert the reading results of each color component so that the colors of the image on the original 201 are reproduced in the signal system (for example, NTSC signal system) in the display device.
以下、画像の補正処理を行う補正処理部250について
説明する。The correction processing unit 250 that performs image correction processing will be described below.
ここで、カラー読取装置によって出力される読取画像の
R,G、B成分y ]、 (x +い(iはR,G。Here, the R, G, and B components of the read image output by the color reading device y ], (x + (i is R, G).
B)は、原稿上の画像(以下、原画像と称する)のR,
G、 B成分をxi(x+y)、カラー読取装置のR,
G、B成分の点広がり関数(Po1nt 5pread
Function: P S F )をhi(x、y
)とすると、式(1)で表される。B) is the R of the image on the manuscript (hereinafter referred to as the original image),
G, B component as xi(x+y), R of color reading device,
Point spread function of G and B components (Po1nt 5pread
Function: P S F ) as hi(x, y
), it is expressed by equation (1).
二のように、R,G、B各成分の読取結果が含んでいる
誤差は、R,G、B各成分の点広がり関数で表される。2, the errors included in the reading results of the R, G, and B components are expressed by the point spread functions of the R, G, and B components.
また、画像読取部210における読取処理による画像の
劣化を打ち消す補正フィルタをfi(x、y)とすると
、復元画像Ri(x、y)は、式(2)に示すように、
補正フィルタfi(x、いと読取画像yt(x、y)と
の畳み込み積分で表される。Further, if fi (x, y) is a correction filter that cancels image deterioration caused by the reading process in the image reading unit 210, the restored image Ri (x, y) is expressed as shown in equation (2).
It is expressed as a convolution integral between the correction filter fi(x,) and the read image yt(x, y).
9 i(x、y) = f i(x、い* y i(x
、い ・・・(2)従って、上述した式(1)、
弐(2)に基づいて、補正フィルタfi(x、y)を求
め、この補正フィルタfi(x、y)によって読取画像
yi(x、いの補正を行うことにより、カラー読取機構
211による全ての誤差要因を考慮して、各色成分の読
取結果の補正を行うことができる。9 i(x, y) = f i(x, i* y i(x
, I...(2) Therefore, the above formula (1),
2 Based on (2), a correction filter fi (x, y) is determined, and by correcting the read image yi (x, i) using this correction filter fi (x, y), all the The reading results of each color component can be corrected in consideration of error factors.
ここで、一般に、カラー読取機構211に用いられる結
合光学系の収差は、物点の位置に応じて連続的に変化す
るため、画像読取部210によって読み取られるlライ
ンの各画素に対応するPSFhi(x、y)もまた連続
的に変化する。Here, since the aberration of the coupling optical system used in the color reading mechanism 211 generally changes continuously depending on the position of the object point, the PSFhi ( x, y) also change continuously.
このように、1ラインの各画素に対応するPSF h
i(x、y)が連続的に変化している場合は、1ライン
のいずれかの画素に対応して求められたPSFhi(x
、y)は、上述した画素を含む所定の範囲の画素のP
S F hi(x、いと近似していると考えられる。In this way, PSF h corresponding to each pixel of one line
When i(x, y) changes continuously, PSFhi(x
, y) is P of pixels in a predetermined range including the above-mentioned pixels.
It is considered that S F hi(x,
従って、1ラインを複数の補正対象領域に分割し、これ
らの補正対象領域のそれぞれから選択された画素のそれ
ぞれに対応するP S F h i(x、y)を求め、
これらのP S F h i(x、y)によって、対応
する補正対象領域の各画素に対応するPSFhi(xy
)を近似してもよい。Therefore, one line is divided into a plurality of correction target areas, and P S F h i (x, y) corresponding to each pixel selected from each of these correction target areas is calculated,
Using these P SF h i (x, y), PSFhi (xy
) may be approximated.
以下、補正処理部250の構成および動作を具体的に説
明する。The configuration and operation of the correction processing section 250 will be specifically described below.
補正処理部250は、原稿201の読み取りに先立って
、複数の補正対象領域(後述する)に対応する各色成分
のP S F h i(x、y)を算出するPSE算出
部251と、原稿201の読み取りに先立って、PSF
算出部251によって算出された各補正対象領域のP
S F h i(x、y)に対応する各色成分の補正フ
ィルタfi(x、いを算出するフィルタ算出部252と
、フィルタ算出部252によって算出された各色成分の
補正フィルタfi(x、y)に基づいて、画像読取部2
10による原稿201のR2O,B各色成分の読取結果
を補正する補正回路253r、253g、253bとを
備えて構成されている。Prior to reading the original 201, the correction processing unit 250 includes a PSE calculation unit 251 that calculates P S F h i (x, y) of each color component corresponding to a plurality of correction target areas (described later), and Prior to reading the PSF
P of each correction target area calculated by the calculation unit 251
A filter calculation unit 252 that calculates a correction filter fi (x, i) for each color component corresponding to S F h i (x, y), and a correction filter fi (x, y) for each color component calculated by the filter calculation unit 252. Based on the image reading unit 2
The image forming apparatus 10 is configured to include correction circuits 253r, 253g, and 253b for correcting the reading results of the R2O and B color components of the original 201 according to No. 10.
まず、PSF算出部251によるPSFhi(xy)の
算出処理について説明する。ここでは、請求項2の基準
画像122に相当する基準画像を用いて、P S F
hi(x、いを算出する場合について説明する。First, the calculation process of PSFhi(xy) by the PSF calculation unit 251 will be explained. Here, using a reference image corresponding to the reference image 122 of claim 2, P S F
The case of calculating hi(x,i) will be explained.
例えば、請求項2の基準画像112に相当する基準画像
202として、第3図(a)に示すように、1ラインを
3つの補正対象領域(図において点線で示す)に分割し
、これらの補正対象領域のそれぞれの中央部に、CCD
センサ212の1画素に対応する大きさの黒色のパター
ン(白地の場合)を配置した基準画像202を用意する
。なお、上述した黒色のパターンの数および位置に限定
はなく、また、黒地に白色のパターンを有する基準画像
を用いてもよい。For example, as a reference image 202 corresponding to the reference image 112 of claim 2, one line is divided into three correction target areas (indicated by dotted lines in the figure) as shown in FIG. At the center of each target area, a CCD
A reference image 202 is prepared in which a black pattern (in the case of a white background) of a size corresponding to one pixel of the sensor 212 is arranged. Note that there are no limitations on the number and position of the black patterns described above, and a reference image having a white pattern on a black background may be used.
例えば、カラー読取装置の立ち上げ時に、操作者が上述
した基準画像202を原稿201の位置にセットし、画
像読取部210による読み取りを駆動するようにすれば
よい。このとき、画像読取部210による各読取ライン
の読取結果にシェーディング補正部231および色変換
部241による処理を施した結果が、各読取ラインに対
応するR、G、B各成分の読取データとして、上述した
PSF算出部251に供給される。For example, when starting up the color reading device, the operator may set the above-mentioned reference image 202 at the position of the document 201 and drive the image reading unit 210 to read it. At this time, the result of processing the reading result of each reading line by the image reading unit 210 by the shading correction unit 231 and the color conversion unit 241 is obtained as the reading data of each R, G, and B component corresponding to each reading line. The signal is supplied to the PSF calculation unit 251 described above.
ここで、上述した基準画像202のパターンのそれぞれ
は、読取ライン上に配置された理想的な点光源に相当し
ている。従って、上述した基準画像202を画像読取部
210によって読み取った際の読取画像yi(x、y)
の中の各パターンの像に相当する部分は、上述した式(
1)において原画像xi(X+ y)をδ関数とした場
合に相当する。Here, each of the patterns of the reference image 202 described above corresponds to an ideal point light source placed on the reading line. Therefore, the read image yi (x, y) when the reference image 202 described above is read by the image reading unit 210
The part corresponding to the image of each pattern in is expressed by the above formula (
This corresponds to the case where the original image xi(X+y) is set as a δ function in 1).
従って、PSF算出部251は、上述した点光源に相当
するパターンの像に相当する部分の読取データに基づい
て、該当する補正対象領域のPSF h i(x、y)
を算出するようにすればよい。Therefore, the PSF calculation unit 251 calculates the PSF h i (x, y) of the corresponding correction target area based on the read data of the portion corresponding to the image of the pattern corresponding to the point light source described above.
All you have to do is calculate.
例えば、PSF算出部251は、まず、上述した点光源
に相当するパターンのそれぞれに対応する像の部分の読
取データとして、該当するパターンおよびその周辺の各
画素からなる領域(例えば、第3図(b)に示した3×
3画素の領域)に対応する各色成分の読取データdi(
j、k)を抽出する。ここで、di(j、k)は、点光
源に相当するパターンの位置を座標の原点として、座標
(L k ) (Lk=−1。For example, the PSF calculation unit 251 first calculates, as read data of the image portion corresponding to each of the patterns corresponding to the point light sources described above, an area consisting of the corresponding pattern and each pixel around it (for example, as shown in FIG. 3). 3× shown in b)
The read data di(
j, k). Here, di(j, k) is the coordinate (Lk) (Lk=-1), with the position of the pattern corresponding to the point light source as the origin of the coordinates.
0.1)の画素に対応する各色成分の読取データを示し
ている。The reading data of each color component corresponding to a pixel of 0.1) is shown.
PSF算出部251は、上述したようにして抽出したd
i(j、k)に、式(3)に示す正規化処理を施して、
上述した各画素に対応するP S F h i(x、y
)の値h iJl、を算出すればよい。The PSF calculation unit 251 extracts d as described above.
Applying the normalization process shown in equation (3) to i(j, k),
P S F h i (x, y
) can be calculated by calculating the value h iJl.
ΣΣd i(x、y) = 1 ・・・ (3)
また、上述したようにして算出された値からなる3行3
列の行列を、各補正対象領域に対応するP S F h
i(x、y)を表すPSF係数Hi と称する。ΣΣd i(x, y) = 1... (3)
In addition, 3 rows 3 consisting of the values calculated as described above
The column matrix is P S F h corresponding to each correction target area.
It is called PSF coefficient Hi representing i(x,y).
また、カラー読取機構211に画像を劣化させる要因が
ない理想的な場合は、R,G、B各成分についてのCC
Dセンサ212の出力もδ関数となる。このことを前提
として、読取結果di(x、y)とδ関数とを畳み込み
積分して得られるh’x(x+y)と上述した読取結果
di(x、y)とが、式(4)を満たすものとして、最
小二乗法により、式(5)の平均二乗誤差ε2を最小と
するPSFhi(x、いを推定してもよい。In addition, in an ideal case where the color reading mechanism 211 has no factors that degrade images, the CC for each R, G, and B component is
The output of the D sensor 212 also becomes a δ function. Assuming this, h'x(x+y) obtained by convolution-integrating the reading result di(x, y) and the δ function and the reading result di(x, y) described above satisfy equation (4). To satisfy this, PSFhi(x, i) which minimizes the mean square error ε2 of equation (5) may be estimated by the least squares method.
di(x、y)=hi(x、y)*h’i(x、y)
+++ (4)ε”=E((di(x、y)
−h’i(x、y))21 − (5)ここで、式(
3)において演算子*は畳み込み積分を示し、また、弐
(4)において演算子Eは期待値オペレータを示す。di (x, y) = hi (x, y) * h'i (x, y)
+++ (4) ε”=E((di(x, y)
-h'i (x, y))21 - (5) Here, the formula (
In 3), operator * indicates a convolution integral, and in 2(4), operator E indicates an expected value operator.
このようにして、PSF算出部251により、各補正対
象領域について、各色成分のPSFhi(x+y)を表
すPSF係数Hiが算出される。In this way, the PSF calculation unit 251 calculates the PSF coefficient Hi representing the PSFhi (x+y) of each color component for each correction target area.
次に、フィルタ算出部252による補正フィルタ補正フ
ィルタfi(x、y)の算出処理について説明する。Next, the calculation process of the correction filter correction filter fi (x, y) by the filter calculation unit 252 will be explained.
ここで、劣化した読取画像を復元するための補正フィル
タとしては、ウィーナーフィルタなどが知られている。Here, a Wiener filter is known as a correction filter for restoring a degraded read image.
フィルタ算出部252において、補正フィルタfi(x
、y)としてウィーナーフィルタを求める場合は、補正
フィルタfi(x、y)による原画像の推定誤差を計る
評価関数として、式(6)に示すように、原画像xi(
x、y)と復元画像9 i(x、y)との間の平均二乗
誤差ε2を定義し、この平均二乗誤差ε2を最小とする
ように、補正フィルタfi(x、y)を求めればよい。In the filter calculation unit 252, the correction filter fi(x
, y), the original image xi(
Define the mean square error ε2 between the restored image 9 i(x, y) and the restored image 9 i(x, y), and find the correction filter fi(x, y) to minimize this mean square error ε2. .
E2=E ((xi(x、y)−父i(x、y))”)
−(6)なお、補正フィルタfi(x、y)は、ウィ
ーナーフィルタに限らず、フィルタ算出部252におい
て逆フィルタなどを算出するようにしてもよい。E2=E ((xi(x,y)−fatheri(x,y))”)
-(6) Note that the correction filter fi(x, y) is not limited to a Wiener filter, and the filter calculation unit 252 may calculate an inverse filter or the like.
フィルタ算出部252は、上述した弐(1)1式(2)
および式(6)に基づいて、上述した各補正対象領域に
対応するP S F h i(x、y)が算出された3
×3画素のそれぞれに対応じて、補正フィルタfi(x
、y)の値fiJkを算出すればよい。また、フィルタ
算出部252は、第4図に示すように、上述したように
して算出された補正フィルタの値fiJllを3行3列
の行列とし、この行列を各補正対象領域に対応する各色
成分のフィルタ係数Fi として出力するようになって
いる。The filter calculation unit 252 uses the above-mentioned formula 2 (1) 1 (2)
P S F h i (x, y) corresponding to each correction target area described above was calculated based on equation (6).
Corresponding to each of ×3 pixels, the correction filter fi(x
, y) value fiJk may be calculated. Further, as shown in FIG. 4, the filter calculation unit 252 converts the correction filter values fiJll calculated as described above into a 3-by-3 matrix, and converts this matrix into a 3-by-3 matrix for each color component corresponding to each correction target area. It is designed to be output as a filter coefficient Fi.
なお、PSF算出部251において、上述したP S
F h i(x、y)の値hiJkを求める範囲に限定
はなく、点光源に対応する像に対応する読取データとし
て、nXn画素に対応する読取データを抽出し、これら
の読取データに基づいて、nXn画素の範囲について、
P S F h i(x、y)の値h iJl、を求め
ればよい。また、この場合は、フィルタ算出部252に
おいて、n行n列のフィルタ係数Fiが算出される。In addition, in the PSF calculation unit 251, the above-mentioned P S
There is no limit to the range in which the value hiJk of F h i (x, y) is calculated, and read data corresponding to nXn pixels is extracted as read data corresponding to an image corresponding to a point light source, and based on these read data, , for a range of nXn pixels,
What is necessary is to find the value h iJl of P S F h i (x, y). In this case, the filter calculation unit 252 calculates filter coefficients Fi for n rows and n columns.
上述したようにして、原稿201の読み取りに先立って
、各補正対象領域に対応する各色成分のp S F h
i(x、y)に基づいて、各補正対象領域に対応する
各色成分の補正フィルタfi(x、y)を表すRGB各
成分のフィルタ係数Fr、Fg、Fbが算出され、それ
ぞれ該当する補正回路253r、253g、253bに
導入されている。但し、図において、フィルタ係数Fg
、Fbが、補正回路253g、253bに導入されてい
ることを示す線は省略した。As described above, prior to reading the original 201, p S F h of each color component corresponding to each correction target area is determined.
Based on i(x,y), the filter coefficients Fr, Fg, and Fb of each RGB component representing the correction filter fi(x,y) of each color component corresponding to each correction target area are calculated, and the corresponding correction circuits are calculated. It has been introduced in 253r, 253g, and 253b. However, in the figure, the filter coefficient Fg
, Fb are introduced into the correction circuits 253g and 253b, and the lines are omitted.
以下、補正回路253r、253g、253bの構成お
よびこれらの補正回路253r、253g、253bに
よる原稿201の読取結果の補正処理について説明する
。The configurations of the correction circuits 253r, 253g, and 253b and the correction processing of the reading results of the original 201 by these correction circuits 253r, 253g, and 253b will be described below.
補正回路253rは、それぞれlライ7分の容量を有す
る2つのラインメモリ271..271□と、上述した
3つの補正対象領域のそれぞれに対応するR成分のフィ
ルタ係数Frを保持する3つのフィルタ係数レジスタ2
72a、272b、272cと、それぞれ1画素分の読
取データを保持する9つのラッチ273A、・・・、2
73.と、上述したラインメモリ271..271□を
制御するメモリコントローラ274と、上述した3つの
フィルタ係数レジスタ272a、272b、272cの
それぞれに保持されたフィルタ係数Frの各成分子 r
jhのいずれかを出力するセレクタ275と、このセレ
クタ275による選択動作を制御するセレクタ制御部2
76と、上述した9つのラッチ273A、・−・、27
31に保持された読取データとセレクタ275から供給
されるフィルタ係数Fiの各成分との畳み込み積分に相
当する演算を行う演算回路277とを備えて構成されて
いる。The correction circuit 253r includes two line memories 271 . .. 271□, and three filter coefficient registers 2 that hold R component filter coefficients Fr corresponding to each of the three correction target regions described above.
72a, 272b, 272c, and nine latches 273A, . . . , 2, each holding one pixel worth of read data.
73. and the above-mentioned line memory 271. .. 271□, and each component r of the filter coefficient Fr held in each of the three filter coefficient registers 272a, 272b, and 272c mentioned above.
a selector 275 that outputs either jh, and a selector control unit 2 that controls the selection operation by this selector 275.
76 and the nine latches 273A, . . . , 27 described above.
31 and an arithmetic circuit 277 that performs an arithmetic operation equivalent to a convolution integral of the read data held in the filter 31 and each component of the filter coefficient Fi supplied from the selector 275.
補正回路253g、253bは、上述した補正回路25
3rと同様に構成されており、それぞれに備えられた各
補正対象領域に対応する3つのフィルタ係数レジスタ(
図示せず)には、それぞれ該当するG成分のフィルタ係
数Fg、B成分のフィルタ係数Fbが保持されている。The correction circuits 253g and 253b are the correction circuit 25 described above.
It has the same configuration as the 3r, and has three filter coefficient registers corresponding to each correction target area (
(not shown) hold the corresponding G component filter coefficient Fg and B component filter coefficient Fb, respectively.
上述した2つのラインメモリ271..271□はシフ
トレジスタなどで構成されており、1ライン分の読取デ
ータを保持するとともに、次のラインの読取データの入
力に応じて、保持している読取データを順次に出力する
ように構成されている。The two line memories 271 mentioned above. .. 271□ is composed of a shift register, etc., and is configured to hold one line of read data and sequentially output the held read data in response to the input of the next line's read data. ing.
また、上述したラッチ273A、273..273cは
直列に接続されており、ラッチ273Cの出力はラッチ
2738に、ラッチ273.の出力はラッチ273Aに
順次に入力されている。ラッチ213D、273t、2
73.およびラッチ273r、 273..273□
も同様に、直列に接続されている。In addition, the latches 273A, 273. .. 273c are connected in series, the output of latch 273C is connected to latch 2738, and the output of latch 273. The outputs of are sequentially input to the latch 273A. Latch 213D, 273t, 2
73. and latch 273r, 273. .. 273□
are also connected in series.
また、色変換部241から各ラインのR成分の読取デー
タが連続して供給され、上述したラインメモリ271.
に入力されるとともにラッチ273、に入力されている
。このラインメモリ2711の出力は、ラインメモリ2
71□に入力されるとともにラッチ2731に入力され
ており、また、ラインメモリ2712の出力は、ラッチ
273゜に入力されている。Further, the read data of the R component of each line is continuously supplied from the color conversion unit 241, and the above-mentioned line memory 271.
It is also input to the latch 273. The output of this line memory 2711 is the line memory 2
71□ and the latch 2731, and the output of the line memory 2712 is input to the latch 273°.
メモリコントローラ274は、色変換部241から読取
データが入力されるタイミングに同期した出力タイミン
グ信号S7を出力するようになっており、ラインメモリ
2711.271□は、この出力タイミング信号Sアに
応じて、保持している読取データを出力するようになっ
ている。従って、最初の2ラインの読取データがそれぞ
れラインメモリ271..271□に格納され、3ライ
ン目の読取データの入力が開始されたときに、ラッチ2
73Cへの3ライン目の各画素に対応する読取データが
入力されるタイミングに同期して、ラッチ273Fに2
ライン目が、ラッチ273゜に1ライン目が入力される
。このように、連続して供給された3ラインの読取デー
タが並列に、ラッチ273c、273F、273.に入
力される。The memory controller 274 is configured to output an output timing signal S7 synchronized with the timing at which read data is input from the color conversion section 241, and the line memories 2711.271□ output timing signals S7 in accordance with this output timing signal SA. , the stored read data is output. Therefore, the first two lines of read data are stored in the line memory 271. .. 271□, and when the input of the third line read data is started, the latch 2
In synchronization with the timing at which the read data corresponding to each pixel on the third line is input to the latch 273F,
The first line is input to the latch 273°. In this way, three lines of read data that are continuously supplied are transmitted in parallel to the latches 273c, 273F, 273 . is input.
上述したようにして、9個のラッチ273.。As described above, nine latches 273. .
・・・、273□に保持された読取データは、ラッチ2
73Eに保持された読取データに対応する画素を中心と
する3×3画素に対応しており、これらの読取データは
、上述したフィルタ係数Frの各成分子 rjl+に対
応している。以下、9個のラッチ273A、 ・・・、
2731に保持された読取データを、yr(j、k)(
Lk=−1,0,1)と称する。..., the read data held in 273□ is stored in latch 2.
73E, and these read data correspond to each component rjl+ of the filter coefficient Fr described above. Below, the nine latches 273A,...
The read data held in 2731 is converted to yr(j,k)(
Lk=-1, 0, 1).
また、セレクタ制御部276は、上述した出力タイミン
グ信号Srに応じて計数動作を行うカウンタ261と、
上述した各補正対象領域の区切りの画素を示すアドレス
を格納するアドレスレジスタ262と、上述したカウン
タ261の計数値とアドレスレジスタ262に格納され
たアドレスとに基づいて、カウンタ261の計数値で示
される画素に対応するフィルタ係数Frを判別する判別
部263とを備えて構成されている。The selector control unit 276 also includes a counter 261 that performs a counting operation in accordance with the above-mentioned output timing signal Sr,
The count value of the counter 261 is based on the address register 262 that stores the address indicating the dividing pixel of each correction target area mentioned above, the count value of the counter 261 mentioned above, and the address stored in the address register 262. The determination unit 263 is configured to include a determination unit 263 that determines a filter coefficient Fr corresponding to a pixel.
例えば、第3図(a)に示したように、1ラインを3つ
の補正対象領域■、■、■に分割した場合は、上述した
アドレスレジスタ262に、補正対象領域■と補正対象
領域■との間の区切りの画素を示すアドレスA、と補正
対象領域■と補正対象領域■との間の区切りの画素を示
すアドレスA2とを格納すればよい。また、上述した3
つの補正対象領域■、■、■のそれぞれに対応するフィ
ルタ係数Fr+、 Fr2. Fr、が、それぞれフィ
ルタ係数レジスタ272a、272b、272cに格納
されている。For example, if one line is divided into three correction target areas ■, ■, and ■ as shown in FIG. 3(a), the correction target area ■ and the correction target area What is necessary is to store an address A indicating a pixel at the break between the two, and an address A2 indicating a pixel at the break between the correction target area (2) and the correction target area (2). In addition, the above-mentioned 3
Filter coefficients Fr+, Fr2 . Fr, are stored in filter coefficient registers 272a, 272b, and 272c, respectively.
また、判別部263は、カウンタ261の計数値Cとア
ドレスレジスタ262に格納されたアドレスA+ 、A
z とを比較し、この比較結果に基づいて、計数値Cで
示される画素が含まれる補正対象領域を判別して、該当
するフィルタ係数Frの選択をセレクタ275に指示す
るようにすればよい。Further, the determination unit 263 uses the count value C of the counter 261 and the addresses A+ and A stored in the address register 262.
z, and based on the comparison result, determine the correction target area that includes the pixel indicated by the count value C, and instruct the selector 275 to select the corresponding filter coefficient Fr.
例えば、上述したようにして、9個のラッチ273A、
・・・ 2731に2ライン目の第2画素を中心とする
3×3画素に対応する読取データが格納されたときは、
カウンタ261の計数値Cは、アドレスA1よりも小さ
いとされる。この場合は、判別部263により、補正対
象領域■に対応するフィルタ係数Fr、の選択が指示さ
れる。これに応じて、セレクタ275により、補正対象
領域■に対応するフィルタ係数Fr、が選択され、この
フィルタ係数Fr、の各成分子 rjkが順次に演算回
路277の乗算器281に導入される。For example, as described above, nine latches 273A,
...When read data corresponding to 3x3 pixels centered on the second pixel of the second line is stored in 2731,
It is assumed that the count value C of the counter 261 is smaller than the address A1. In this case, the determination unit 263 instructs selection of the filter coefficient Fr corresponding to the correction target area (2). In response, the selector 275 selects the filter coefficient Fr corresponding to the correction target region (2), and each component rjk of the filter coefficient Fr is sequentially introduced into the multiplier 281 of the arithmetic circuit 277.
この乗算器281には、ラッチ273A、・・・。This multiplier 281 includes latches 273A, .
273、に保持された読取データyr(j、k)が順次
に入力されるようになっており、この乗算器281によ
り、これらの読取データyr(j、k)のそれぞれと上
述したセレクタ275によって選択されたフィルタ係数
Frの対応する成分子 rjkとの乗算が行われるよう
になっている。但し、図において、ラッチ273a、2
73c、273t 273F2738.2731から
乗算器281への読取データの供給を示す線は省略した
。The read data yr (j, k) held in The selected filter coefficient Fr is multiplied by the corresponding component rjk. However, in the figure, latches 273a, 2
Lines indicating the supply of read data from 73c, 273t 273F2738.2731 to the multiplier 281 are omitted.
この乗算器281による乗算結果は、判定回路282に
供給され、この判定回路282により、上述した乗算結
果が正の値であるか負の値であるかが判定され、正の値
であるとされた場合は加算器283に、負の値であると
された場合は加算器284にそれぞれ入力されるように
なっている。The multiplication result by this multiplier 281 is supplied to a determination circuit 282, which determines whether the multiplication result described above is a positive value or a negative value, and is determined to be a positive value. If it is a negative value, it is input to an adder 283, and if it is a negative value, it is input to an adder 284.
これらの加算器283,284のそれぞれは、入力され
た数値を順次に積算して総和を算出するように構成され
ている。従って、加算器283により、正の値を有する
乗算結果の総和が求められ、加算器284により、負の
値を有する乗算結果の総和が求められるようになってい
る。Each of these adders 283 and 284 is configured to calculate a total sum by sequentially adding up input numerical values. Therefore, the adder 283 calculates the sum of the multiplication results having a positive value, and the adder 284 calculates the sum of the multiplication results having a negative value.
また、演算回路275のROM285には、予め、正の
乗算結果の総和と負の乗算結果の総和との組合せのそれ
ぞれに対応じて、これらを加算した結果が格納されてお
り、加算器283,284の出力をアドレス入力として
、該当する加算結果をラッチ273、に保持された読取
データに対応する補正データとして出力するようになっ
ている。Further, the ROM 285 of the arithmetic circuit 275 stores in advance the results of adding the sum of positive multiplication results and the sum of negative multiplication results, corresponding to each combination, and the adder 283, The output of 284 is used as an address input, and the corresponding addition result is outputted as correction data corresponding to the read data held in latch 273.
このようにして、演算回路277により、ラッチ273
A、・・・、273□に保持された読取データyr(j
、k)とセレクタ275によって選択されたフィルタ係
数Frとについて、式(7)に示す演算が行われ、ラッ
チ273Eに保持された中心の画素に対応する補正デー
タ父r(0,0)が算出される。In this way, the arithmetic circuit 277 operates the latch 273
The read data yr(j
, k) and the filter coefficient Fr selected by the selector 275, the calculation shown in equation (7) is performed to calculate the correction data r(0,0) corresponding to the center pixel held in the latch 273E. be done.
その後、ラッチ273c 、273F 、27Lに各ラ
インの次の画素に対応する読取データが入力されるとと
もに、ラッチ2738,273E2738およびラッチ
213c、273’、、2731に保持された読取デー
タが順次にシフトされる。また、これに応じて、セレク
タ制御部276のカウンタ261の計数値がrl」加算
される。Thereafter, the read data corresponding to the next pixel of each line is input to the latches 273c, 273F, 27L, and the read data held in the latches 2738, 273E2738 and latches 213c, 273', 2731 are sequentially shifted. Ru. In addition, in response to this, the count value of the counter 261 of the selector control unit 276 is incremented by "rl".
上述した動作を補正対象領域■に含まれる各画素につい
て繰り返すことにより、これらの各画素に対応する読取
データが、フィルタ係数Fr、に基づいて順次に補正さ
れる。By repeating the above-described operation for each pixel included in the correction target area (2), the read data corresponding to each of these pixels is sequentially corrected based on the filter coefficient Fr.
その後、カウンタ261の計数値Cが上述したアドレス
A1と等しくなったときに、判別部263により、補正
対象領域■に対応するフィルタ係数Frzの選択が指示
される。これに応じて、セレクタ275により、フィル
タ係数レジスタ272bに格納されたフィルタ係数Fr
zが選択され、同様にして、補正対象領域■に含まれる
各画素に対応する読取データが、このフィルタ係数Fr
2に基づいて順次に補正される。Thereafter, when the count value C of the counter 261 becomes equal to the address A1 described above, the determination unit 263 instructs selection of the filter coefficient Frz corresponding to the correction target area (■). In response, the selector 275 selects the filter coefficient Fr stored in the filter coefficient register 272b.
z is selected, and in the same way, the read data corresponding to each pixel included in the correction target area
2 is sequentially corrected based on.
また、その後、カウンタ261の計数MCが、上述した
アドレスA2と等しくなったときに、判別部263によ
り、補正対象領域■に対応するフィルタ係数Frffの
選択が指示される。これに応じて、セレクタ275によ
り、フィルタ係数レジスタ272Cに格納されたフィル
タ係数Fr3が選択され、同様にして、補正対象領域■
に含まれる各画素に対応する読取データが、このフィル
タ係数Fr+に基づいて順次に補正される。Further, after that, when the count MC of the counter 261 becomes equal to the address A2 described above, the determination unit 263 instructs selection of the filter coefficient Frff corresponding to the correction target area (2). In response, the selector 275 selects the filter coefficient Fr3 stored in the filter coefficient register 272C, and similarly, the correction target area
The read data corresponding to each pixel included in the image data is sequentially corrected based on the filter coefficient Fr+.
このようにして、1ラインの読取データの補正処理が行
われ、また、この1ラインについての補正処理を各ライ
ンについて繰り返すことにより、R成分の2次元の読取
画像が、カラー読取機構211のP S F hr(x
、y)に基づいて算出した補正フィルタfr(x、y)
を用いて補正される。In this way, the correction process for one line of read data is performed, and by repeating this correction process for each line, the two-dimensional read image of the R component is S F hr(x
, y), the correction filter fr(x, y)
is corrected using
同様にして、G成分、B成分の読取データの補正が行わ
れる。Similarly, the read data of the G component and B component is corrected.
上述したように、各補正対象領域に対応して算出された
P S F h i(j、k)は、カラー読取機構21
1によって読み取られた該当する補正対象領域の各画素
に対応する読取データに含まれている誤差に関する全て
の情報を含んでいる。従って、このPSFに基づいて算
出した各補正対象領域に対応する補正フィルタf r(
x、y)、 f g(x、y)、 f b(x、y
)によって読取データの補正を行うことにより、各色成
分で異なる様々な誤差要因を考慮して読取データの色ず
れを補正することが可能となる。As described above, P S F h i (j, k) calculated corresponding to each correction target area is
1 includes all information regarding errors included in the read data corresponding to each pixel of the corresponding correction target area read by No. 1. Therefore, the correction filter f r(
x, y), f g(x, y), f b(x, y
) by correcting the read data, it becomes possible to correct the color shift of the read data by taking into account various error factors that differ for each color component.
これにより、カラー読取機構211に縮小光学系が用い
られていることにより、1ラインの各画素を物点とした
ときの収差が大きく変化する場合であっても、このよう
な収差の変化を考慮して、読取データの色ずれを補正す
ることができ、高い品質の読取画像を出力することがで
きる。As a result, since the color reading mechanism 211 uses a reduction optical system, even if the aberration changes greatly when each pixel of one line is used as an object point, such changes in aberration can be taken into account. As a result, color shift in read data can be corrected, and a high quality read image can be output.
また、各補正対象領域に含まれる複数の画素に対応する
補正フィルタが、それぞれ1つの補正フィルタで近似さ
れるので、1ラインの各画素に対応する補正フィルタを
求める場合に比べて、補正フィルタの格納などに要する
ハードウェア量を削減することができる。In addition, since the correction filters corresponding to multiple pixels included in each correction target area are each approximated by one correction filter, the correction filter The amount of hardware required for storage etc. can be reduced.
また、第3図(a)に示したように、各補正対象領域に
点光源に相当するパターンを配置した基準画像202を
用意することにより、PSF算出部251は、この基準
画像202を画像読取部210によって読み取った際の
読取データdi(j、k)に基づいて、容易にP S
F h i(j、k)を算出することが可能となる。Further, as shown in FIG. 3(a), by preparing a reference image 202 in which a pattern corresponding to a point light source is arranged in each correction target area, the PSF calculation unit 251 uses this reference image 202 as an image read. Based on the read data di(j, k) read by the unit 210, P S
It becomes possible to calculate F h i (j, k).
また、ラインメモリ271..271□と各補正対象領
域に対応するフィルタ係数レジスタ272a、272b
、272cと9つのラッチ273A・・・、273.と
セレクタ275と演算回路277とを備えて、R,G、
B成分のそれぞれに対応する補正回路253r、253
g、253bを構成し、各ラインのR,G、B成分の読
取データを連続して補正回路253r、253g、25
3bのそれぞれに入力する。これにより、各色成分の読
取データと該当する補正フィルタとの畳み込み積分処理
が行われ、画像読取部210による原稿201の読取動
作と並行して、読取画像の補正処理を行うことが可能と
なり、高い品質の読取画像を高速に出力することができ
る。In addition, the line memory 271. .. 271□ and filter coefficient registers 272a and 272b corresponding to each correction target area
, 272c and nine latches 273A..., 273. and a selector 275 and an arithmetic circuit 277.
Correction circuits 253r and 253 corresponding to each of the B components
correction circuits 253r, 253g, 25 which continuously read the R, G, and B component read data of each line.
3b. As a result, convolution and integration processing is performed between the read data of each color component and the corresponding correction filter, making it possible to perform correction processing on the read image in parallel with the reading operation of the original 201 by the image reading unit 210. High-quality scanned images can be output at high speed.
なお、上述した実施例においては、読取ラインを3つの
補正対象領域に分割した場合について説明したが、補正
対象領域の数に限定はなく、読取ラインを複数の補正対
象領域に分割し、各補正対象領域に対応する各色成分の
P S F hi(x、いおよびフィルタfi(x、y
)を算出するようにしたものであれば適用できる。例え
ば、lラインをn個の補正対象領域に分割した場合は、
上述した補正回路253r、253g、253bのそれ
ぞれは、n個のフィルタ係数レジスタ272を有して構
成される。また、例えば、基準画像202において、第
3図(C)に示すように、点光源に相当するパターンを
読取ラインの両端部分に密に配置し、読取ラインの両端
部分の補正対象領域の幅が中央部の補正対象領域よりも
小さくなるように分割してもよい。更に、例えば、第3
図(d)に示すように、各補正対象領域に複数のパター
ンを配置し、これらの像の部分の読取データに基づいて
、それぞれ該当する画素におけるP S F h i(
x、y)を求め、これらのP S F h i(x、y
)に基づいて、各補正対象領域に対応するP S F
h i(x、y)を算出するようにしてもよい。In the above-mentioned embodiment, the case where the reading line is divided into three correction target areas is explained, but there is no limit to the number of correction target areas, and the reading line is divided into a plurality of correction target areas, and each correction target area is P S F hi(x, y) of each color component corresponding to the target area and filter fi(x, y
) can be applied. For example, if l line is divided into n correction target areas,
Each of the above-mentioned correction circuits 253r, 253g, and 253b is configured to include n filter coefficient registers 272. For example, in the reference image 202, as shown in FIG. 3(C), patterns corresponding to point light sources are densely arranged at both ends of the reading line, and the width of the correction target area at both ends of the reading line is The area may be divided into smaller areas than the correction target area at the center. Furthermore, for example, the third
As shown in Figure (d), a plurality of patterns are arranged in each correction target area, and based on the read data of these image parts, P S F h i(
x, y), and calculate these P S F h i(x, y
), P S F corresponding to each correction target area
h i (x, y) may be calculated.
また、上述したようにして補正された読取画像52i(
x、いに、弐(8)に示すように、様々な画像処理機能
を有するフィルタgx(x、y)を掛は合わせて、出力
画像をzt(x、V)を得る場合がある。In addition, the read image 52i (
As shown in (8), the output image zt(x, V) may be obtained by applying filters gx(x, y) having various image processing functions.
zi(x、y)−gi(x、y)*Ri(x、y)
++ (8)ここで、復元画像Ri(x、y)
は、式(2)に示したように、補正フィルタfi(x、
y)と読取画像yt(x、y)との畳み込み積分で表さ
れるから、式(8)は式(9)のように変形することが
できる。zi(x,y)-gi(x,y)*Ri(x,y)
++ (8) Here, the restored image Ri (x, y)
is the correction filter fi(x,
y) and the read image yt(x, y), equation (8) can be transformed as shown in equation (9).
z i(x、y) =g i(x、y) * f i(
x、y) * y i(x、y)−f’i(x、y)
* y i(x、y) ・・・ (9)従って
、補正フィルタfi(x、y)と上述したフィルタgt
(x、y)とを畳み込み積分して合成フィルタ白(x、
y)を算出し、この合成フィルタf’i (x、 y)
と読取画像yi(x+y)との畳み込み積分を求めるこ
とにより、上述した出力画像zi(x、y)を得ること
ができる。z i (x, y) = g i (x, y) * f i (
x, y) * y i (x, y) - f'i (x, y)
* y i (x, y) ... (9) Therefore, the correction filter fi (x, y) and the above-mentioned filter gt
(x, y) and the synthesis filter white (x, y) is convoluted and integrated.
y), and this synthesis filter f'i (x, y)
The above-mentioned output image zi(x, y) can be obtained by calculating the convolution integral between yi and the read image yi(x+y).
例えば、第5図に示すように、第2図に示した補正処理
部250に、画像処理機能を有するフィルタgx(x、
31)を格納するフィルタ格納部551と、このフィル
タgi(x、いとフィルタ算出部252で算出された各
補正対象領域に対応する各色成分の補正フィルタfi(
x、y)とを合成するフィルタ合成部552を付加して
構成する。また、補正回路253r、253g、253
bの各補正対象領域に対応するフィルタ係数レジスタ2
72に、上述したフィルタ合成部552によって合成さ
れた該当する合成フィルタf’x (x+ y)を格納
すればよい。For example, as shown in FIG. 5, the correction processing unit 250 shown in FIG. 2 includes a filter gx(x,
31), a filter storage unit 551 that stores this filter gi(x, and a correction filter fi(x) for each color component corresponding to each correction target area calculated by the filter calculation unit 252.
x, y). In addition, correction circuits 253r, 253g, 253
Filter coefficient register 2 corresponding to each correction target area of b
72, the corresponding synthesis filter f'x (x+y) synthesized by the filter synthesis section 552 described above may be stored.
例えば、上述した画像処理機能を有するフィルタgi(
x、y)として、ラプラシアンフィルタなどの差分型フ
ィルタをフィルタ格納部551に格納すれば、フィルタ
合成部552により、各色成分の読取誤差を補正する機
能と差分機能とを併せ持つ合成フィルタf’i(x、y
)を生成される。For example, the filter gi (
If a differential filter such as a Laplacian filter is stored in the filter storage unit 551 as x, y), the filter synthesis unit 552 generates a synthesis filter f'i( x, y
) is generated.
また、補正回路253r、253g、253bの該当す
るフィルタ係数レジスタ272に、この合成フィルタ白
(x、y)を格納し、上述したようにして、演算回路2
77により、この合成フィルタ白(x、y)と読取画像
yi(x、y)との畳み込み積分処理を行うことにより
、色ずれの補正を行うとともに濃淡画像の輪郭やエツジ
の検出処理および輪郭やエツジの強調などの画像処理を
行うことが可能となる。Further, this synthesis filter white (x, y) is stored in the corresponding filter coefficient registers 272 of the correction circuits 253r, 253g, and 253b, and as described above, the arithmetic circuit 2
77, by performing convolution integral processing of this synthesis filter white (x, y) and read image yi (x, y), color shift correction is performed, and contour and edge detection processing of the grayscale image and contour and edge processing are performed. It becomes possible to perform image processing such as edge enhancement.
また、上述したフィルタ格納部551に、−様重み線型
フィルタやエツジ保存平滑フィルタなどの平滑フィルタ
を格納すれば、色ずれの補正を行うとともに読取画像y
i(χ、y)に含まれているランダムノイズを抑制する
ことが可能となる。Furthermore, if a smoothing filter such as a −-weighted linear filter or an edge-preserving smoothing filter is stored in the filter storage unit 551 described above, color shift can be corrected and the read image y
It becomes possible to suppress random noise contained in i(χ, y).
また、メデイアンフィルタや最大値(あるいは最小値)
フィルタなどの局所統計量フィルタをフィルタ格納部5
51に格納すれば、色ずれの補正を行うとともにごま塩
雑音の除去処理を行うことが可能となる。Also, median filter and maximum value (or minimum value)
A filter storage unit 5 stores local statistics filters such as filters.
51, it becomes possible to correct color shift and remove salt-and-pepper noise.
上述したようにして、色ずれの補正と同時に様々な画像
処理を同時に施すことが可能となり、より高い品質の画
像を高速に出力することができる。As described above, it is possible to perform various image processing simultaneously with color shift correction, and it is possible to output higher quality images at high speed.
上述したように、請求項1の発明によれば、複数の補正
対象領域のそれぞれについて、読取手段による読取画像
の劣化を表す点広がり関数に基づいて、この劣化を打ち
消すフィルタが算出され、このフィルタによって、各補
正対象領域の読取結果が補正されるので、ハードウェア
を増大させることなく、読取手段による読取誤差が位置
によって異なることをも含む様々な誤差要因を考慮して
、各色成分の読取誤差を補正することが可能となり、色
ずれを補正して高い品質の読取画像を出力することがで
きる。As described above, according to the invention of claim 1, a filter is calculated for each of the plurality of correction target regions based on a point spread function representing the deterioration of the image read by the reading means, and this filter Since the reading results of each correction target area are corrected by , the reading error of each color component is corrected without increasing the hardware, taking into account various error factors including the fact that the reading error by the reading means differs depending on the position. This makes it possible to correct color shift and output high quality scanned images.
また、請求項2の発明によれば、各補正対象領域に点光
源に相当するパターンが配置された基準画像を読み取っ
た際の読取結果に基づいて、点広がり関数を簡単に求め
ることができ、この点広がり関数に基づいて算出された
フィルタを用いて、色ずれを補正して高い品質の読取画
像を出力することができる。Further, according to the invention of claim 2, it is possible to easily obtain a point spread function based on the reading result when reading a reference image in which a pattern corresponding to a point light source is arranged in each correction target area, Using a filter calculated based on this point spread function, it is possible to correct color shift and output a high quality read image.
また、請求項3の発明によれば、読取手段による各ライ
ンの読取結果を連続して補正処理手段に供給することに
より、読取結果と該当する補正対象領域に対応するフィ
ルタとの畳み込み積分が実行されるので、読取手段によ
る原稿の読取動作と並行して、読取結果の補正処理を行
うことができ、色ずれを補正した高い品質の画像を高速
に出力することができる。Further, according to the invention of claim 3, by continuously supplying the reading results of each line by the reading means to the correction processing means, convolution integration between the reading results and the filter corresponding to the corresponding correction target area is executed. Therefore, the reading result can be corrected in parallel with the reading operation of the document by the reading means, and a high quality image with color shift corrected can be outputted at high speed.
また、請求項4の発明によれば、合成手段で生成された
合成フィルタを用いて各色成分の読取結果の補正を行う
ことにより、各色成分の読取誤差を補正すると同時に、
合成された他のフィルタによる画像処理を行うことが可
能となり、より高い品質の画像を出力することができる
。Further, according to the invention of claim 4, by correcting the reading result of each color component using the synthesis filter generated by the synthesis means, at the same time, the reading error of each color component is corrected.
It becomes possible to perform image processing using other combined filters, and it is possible to output an image of higher quality.
第1図は本発明の原理ブロック図、
第2図は本発明の実施例によるカラー読取装置の構成図
、
第3図は基準画像の例を示す図、
第4図は補正フィルタの構成図、
第5図は別実施例による補正処理部の構成図、第6図は
従来のカラー読取装置の構成図、第7図は従来のカラー
読取装置の構成図、第8図はイメージセンサの説明図で
ある。
図において、
Olは原稿、
10は読取手段、
11はラインイメージセンサ、
21は魚床がり関数算出手段、
22は基準画像、
31はフィルタ算出手段、
40は補正手段、
41は補正処理手段、
42はフィルタ格納手段、
43は出力手段、
44は保持手段、
45は判別手段、
46は選択手段、
47は乗算手段、
148は演算手段、
151は合成手段、
201.611,711は原稿、
202は基準画像、
210は画像読取部、
211はカラー読取機構、
212はCCDラインイメージセンサ(CCDセンサ)
213はアナログ−デジタル(A/D)変換部、231
はシェーディング補正部、
241は色変換部、
250は補正処理部、
251はPSF算出部、
252はフィルタ算出部、
253は補正回路、
261はカウンタ、
262はアドレスレジスタ、
263は判別部、
271はラインメモリ、
272はフィルタ係数レジスタ、
273はラッチ、
274はメモリコントローラ、
275はセレクタ、
276はセレクタ制御部、
277は演算回路、
281は乗算器、
282は判定回路、
283.284は加算器、
285はROM。
551はフィルタ格納部、
552はフィルタ合成部、
612.712は照明装置、
613.713は読取ライン、
614はレンズ、
615.715はセンサ、
621はフィルタ、
714はロンドレンズアレイである。
本発明の原理プロ
ツク図
基準画像の例を
示す
図
第
図
補正フィルタの構成図
y311実施例による(重圧処理@■の構成図第
図
従来のカ
ラー読取装置の構成図
第
図FIG. 1 is a block diagram of the principle of the present invention; FIG. 2 is a configuration diagram of a color reading device according to an embodiment of the present invention; FIG. 3 is a diagram showing an example of a reference image; FIG. 4 is a configuration diagram of a correction filter; FIG. 5 is a configuration diagram of a correction processing section according to another embodiment, FIG. 6 is a configuration diagram of a conventional color reading device, FIG. 7 is a configuration diagram of a conventional color reading device, and FIG. 8 is an explanatory diagram of an image sensor. It is. In the figure, Ol is an original, 10 is a reading means, 11 is a line image sensor, 21 is a fish bed function calculation means, 22 is a reference image, 31 is a filter calculation means, 40 is a correction means, 41 is a correction processing means, 42 43 is a filter storage means, 43 is an output means, 44 is a holding means, 45 is a discrimination means, 46 is a selection means, 47 is a multiplication means, 148 is a calculation means, 151 is a synthesis means, 201, 611, 711 is a manuscript, 202 is a Reference image, 210 is an image reading unit, 211 is a color reading mechanism, 212 is a CCD line image sensor (CCD sensor), 213 is an analog-digital (A/D) converter, 231
241 is a shading correction unit, 241 is a color conversion unit, 250 is a correction processing unit, 251 is a PSF calculation unit, 252 is a filter calculation unit, 253 is a correction circuit, 261 is a counter, 262 is an address register, 263 is a discrimination unit, 271 is a line memory, 272 is a filter coefficient register, 273 is a latch, 274 is a memory controller, 275 is a selector, 276 is a selector control section, 277 is an arithmetic circuit, 281 is a multiplier, 282 is a judgment circuit, 283.284 is an adder, 285 is ROM. 551 is a filter storage unit, 552 is a filter synthesis unit, 612.712 is an illumination device, 613.713 is a reading line, 614 is a lens, 615.715 is a sensor, 621 is a filter, and 714 is a Rondo lens array. Principle diagram of the present invention Diagram illustrating an example of a reference image Diagram y311 Embodiment diagram of a correction filter Diagram y311 Embodiment (heavy pressure processing @ ■ Diagram diagram Diagram of a conventional color reading device Diagram
Claims (4)
ンサ(111)を有し、前記ラインイメージセンサ(1
11)の各受光素子に対応する原稿(101)上の各画
素からなるラインごとに、前記原稿(101)上のカラ
ー画像を複数の色成分に色分解して読み取る読取手段(
110)と、前記原稿(101)上のラインを複数の補
正対象領域に分割し、前記読取手段(110)による各
色成分の読取結果に基づいて、これらの補正対象領域の
それぞれに対応して、前記読取手段(110)による各
色成分の読取画像の劣化を表す点広がり関数を算出する
点広がり関数算出手段(121)と、 前記点広がり関数算出手段(121)によって算出され
た各色成分の点広がり関数に基づいて、前記複数の補正
対象領域のそれぞれにおける各色成分の読取画像の劣化
を打ち消すフィルタのそれぞれを表すフィルタ係数を算
出するフィルタ算出手段(131)と、 導入される前記読取手段(110)による原稿(101
)の各色成分の読取結果に応じて、前記フィルタ算出手
段(131)から導入された各色成分のフィルタの中か
ら該当する補正対象領域に対応するフィルタを選択し、
導入された各色成分の読取結果と選択した各色成分のフ
ィルタとを畳み込み積分した結果を各色成分の読取結果
として出力する補正手段(140)と、 を備えるように構成したことを特徴とするカラー読取装
置。(1) It has a line image sensor (111) in which a plurality of light receiving elements are arranged in a row, and the line image sensor (111) has a plurality of light receiving elements arranged in a row.
a reading means (11) for reading the color image on the original (101) after separating it into a plurality of color components for each line consisting of each pixel on the original (101) corresponding to each light-receiving element;
110), dividing the line on the original (101) into a plurality of correction target areas, and corresponding to each of these correction target areas based on the reading result of each color component by the reading means (110), a point spread function calculation means (121) for calculating a point spread function representing deterioration of an image read by the reading means (110) for each color component; and a point spread function for each color component calculated by the point spread function calculation means (121). a filter calculation means (131) for calculating filter coefficients representing each of the filters for canceling the deterioration of the read image of each color component in each of the plurality of correction target regions based on a function; and the reading means (110) introduced. Manuscript by (101
), select a filter corresponding to the corresponding correction target area from among the filters for each color component introduced from the filter calculating means (131);
A color reading device comprising: a correction means (140) for outputting the result of convolution and integration of the reading result of each introduced color component and the filter of each selected color component as the reading result of each color component; Device.
ンイメージセンサ(111)の1つの受光素子に相当す
る少なくとも1つのパターンを配置した基準画像(12
2)を備え、 前記点広がり関数算出手段(121)が、前記読取手段
(110)による前記基準画像(122)の読取結果に
基づいて、前記複数の補正対象領域のそれぞれに対応す
る各色成分の前記点広がり関数を算出することを特徴と
する請求項1記載のカラー読取装置。(2) A reference image (12) in which at least one pattern corresponding to one light receiving element of the line image sensor (111) is arranged in each of the plurality of correction target areas.
2), wherein the point spread function calculation means (121) calculates each color component corresponding to each of the plurality of correction target areas based on the reading result of the reference image (122) by the reading means (110). The color reading device according to claim 1, wherein the point spread function is calculated.
それぞれに対応する複数の補正処理手段(141)を有
し、 前記複数の補正処理手段(141)のそれぞれは、 前記複数の補正対象領域のそれぞれに対応し、該当する
色成分のフィルタを表すフィルタ係数を格納する複数の
フィルタ格納手段(142)と、複数ラインに対応する
読取結果が連続して入力され、前記複数ラインの各画素
に対応する読取結果を並列に出力する出力手段(143
)と、前記出力手段(143)の出力が導入され、前記
複数ラインの読取結果を所定量ずつ保持する保持手段(
144)と、 前記保持手段144に保持された読取結果に応じて、前
記読取結果に対応する補正対象領域を判別する判別手段
(145)と、 前記判別手段(145)による判別結果に応じて、前記
複数のフィルタ格納手段(142)から該当するフィル
タ格納手段(142)を選択する選択手段(146)と
、 前記選択手段(146)によって選択されたフィルタ格
納手段(142)に保持されたフィルタ係数と前記保持
手段(144)に保持された対応する読取結果とを乗算
する乗算手段(147)と、前記乗算手段(147)に
よる乗算結果の総和を求める演算手段(148)と、 を備え、前記演算手段(148)の出力を前記補正処理
手段(141)の出力とするように構成したことを特徴
とする請求項1記載のカラー読取装置。(3) The correction means (140) has a plurality of correction processing means (141) corresponding to each of the plurality of color components, and each of the plurality of correction processing means (141) is configured to perform the plurality of corrections. A plurality of filter storage means (142) corresponding to each target area and storing filter coefficients representing filters of the corresponding color components, and reading results corresponding to a plurality of lines are successively inputted, and each of the plurality of lines is Output means (143) for outputting reading results corresponding to pixels in parallel
), and holding means (143) into which the output of the output means (143) is introduced and holding a predetermined amount of the reading results of the plurality of lines.
144), a determining means (145) for determining a correction target area corresponding to the reading result according to the reading result held in the holding means 144, and according to the determination result by the determining means (145), a selection means (146) for selecting a corresponding filter storage means (142) from the plurality of filter storage means (142); and a filter coefficient held in the filter storage means (142) selected by the selection means (146). and a corresponding reading result held in the holding means (144); and a calculation means (148) for calculating the sum of the multiplication results by the multiplication means (147). 2. The color reading device according to claim 1, wherein the output of the calculation means (148) is used as the output of the correction processing means (141).
れた前記複数の補正対象領域のそれぞれに対応する各色
成分のフィルタと画像処理機能を有する他のフィルタと
を畳み込み積分して合成フィルタを生成する合成手段(
151)を備え、 前記補正手段(140)に、前記合成手段(151)に
よって生成された合成フィルタを前記各補正対象領域に
対応する各色成分のフィルタとして導入するように構成
したことを特徴とするカラー読取装置。(4) Synthesis in which a composite filter is generated by convolving and integrating filters for each color component corresponding to each of the plurality of correction target regions calculated by the filter calculating means (131) and another filter having an image processing function. means(
151), characterized in that the composition filter generated by the composition means (151) is introduced into the correction means (140) as a filter for each color component corresponding to each of the correction target regions. Color reader.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2161047A JPH0451672A (en) | 1990-06-19 | 1990-06-19 | Color reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2161047A JPH0451672A (en) | 1990-06-19 | 1990-06-19 | Color reader |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0451672A true JPH0451672A (en) | 1992-02-20 |
Family
ID=15727596
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2161047A Pending JPH0451672A (en) | 1990-06-19 | 1990-06-19 | Color reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0451672A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0666907A (en) * | 1992-08-20 | 1994-03-11 | Amorphous Denshi Device Kenkyusho:Kk | Permeability measuring device and measuring method |
| JP2010177919A (en) * | 2009-01-28 | 2010-08-12 | Toshiba Corp | Image recording apparatus and manufacturing apparatus of the same |
| JP2010177918A (en) * | 2009-01-28 | 2010-08-12 | Toshiba Corp | Image recording apparatus and manufacturing apparatus of the same |
| JP2011124999A (en) * | 2009-11-27 | 2011-06-23 | Canon Inc | Improvement of anti-tamper using barcode degradation |
| JP2015170888A (en) * | 2014-03-05 | 2015-09-28 | キヤノン株式会社 | Image reading device |
| WO2018198680A1 (en) * | 2017-04-27 | 2018-11-01 | 三菱電機株式会社 | Image reading device |
-
1990
- 1990-06-19 JP JP2161047A patent/JPH0451672A/en active Pending
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0666907A (en) * | 1992-08-20 | 1994-03-11 | Amorphous Denshi Device Kenkyusho:Kk | Permeability measuring device and measuring method |
| JP2010177919A (en) * | 2009-01-28 | 2010-08-12 | Toshiba Corp | Image recording apparatus and manufacturing apparatus of the same |
| JP2010177918A (en) * | 2009-01-28 | 2010-08-12 | Toshiba Corp | Image recording apparatus and manufacturing apparatus of the same |
| JP2011124999A (en) * | 2009-11-27 | 2011-06-23 | Canon Inc | Improvement of anti-tamper using barcode degradation |
| JP2015170888A (en) * | 2014-03-05 | 2015-09-28 | キヤノン株式会社 | Image reading device |
| WO2018198680A1 (en) * | 2017-04-27 | 2018-11-01 | 三菱電機株式会社 | Image reading device |
| JP6469324B1 (en) * | 2017-04-27 | 2019-02-13 | 三菱電機株式会社 | Image reading device |
| US10657629B2 (en) | 2017-04-27 | 2020-05-19 | Mitsubishi Electric Corporation | Image reading device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5349451A (en) | Method and apparatus for processing color values | |
| JP2537172B2 (en) | Color image input device | |
| JP4610930B2 (en) | Image processing apparatus and image processing program | |
| DE112009005418B4 (en) | Image processing device | |
| JPH11122626A (en) | Image processing method and apparatus, and recording medium storing image processing program | |
| US5604825A (en) | Image processing apparatus capable of varying magnification of images and method of using same | |
| JP2006502498A (en) | Method, program and apparatus for efficiently removing stray flux effect by selected ordinate image processing | |
| US7346210B2 (en) | Image processing device and image processing program for determining similarity factors of pixels | |
| JP3926363B2 (en) | Pixel signal processing apparatus and pixel signal processing method | |
| US20020145769A1 (en) | Digital cameras | |
| JP5821563B2 (en) | Image reading apparatus, image reading method, and MTF correction parameter determination method | |
| US20070280529A1 (en) | External-Appearance Inspection Apparatus | |
| JPH04138770A (en) | Shading correction method | |
| JPH0414960A (en) | Color picture reader | |
| JP4270892B2 (en) | False color reduction device | |
| JP2003143421A (en) | Image processing device and method therefor | |
| US20090153924A1 (en) | Method and device for scanning images | |
| US5373376A (en) | Method for processing color values for reproduction scale modification and shapness correction in reproduction of color originals | |
| JPH0451671A (en) | Color reader | |
| US7697046B2 (en) | Image signal processing device and method of image signal processing including pixel array pattern determination | |
| JP5153842B2 (en) | Image processing apparatus and image processing program | |
| JP4105942B2 (en) | Image processing device | |
| JPH0449776A (en) | Color reading device | |
| US20250285251A1 (en) | Method for the full correction of an image, and associated system | |
| JP4334484B2 (en) | Pixel signal processing apparatus and method |