JPH07107276A - Image reader - Google Patents

Image reader

Info

Publication number
JPH07107276A
JPH07107276A JP5254950A JP25495093A JPH07107276A JP H07107276 A JPH07107276 A JP H07107276A JP 5254950 A JP5254950 A JP 5254950A JP 25495093 A JP25495093 A JP 25495093A JP H07107276 A JPH07107276 A JP H07107276A
Authority
JP
Japan
Prior art keywords
pixel output
output
odd
picture element
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5254950A
Other languages
Japanese (ja)
Inventor
Yasuo Komatsu
康男 小松
Kuniomi Hasegawa
国臣 長谷川
Hajime Sakashita
哉 坂下
Atsushi Takahashi
篤 高橋
Koji Yorimoto
浩二 寄本
賢 ▲梶▼川
Masaru Kajikawa
Hiroshi Hayashi
寛 林
Takashi Nakajima
孝 中島
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5254950A priority Critical patent/JPH07107276A/en
Publication of JPH07107276A publication Critical patent/JPH07107276A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To provide an image reader capable of cancelling the level difference to be generated regularly between the odd-number picture element output and the even-number picture element output of picture data which are read by an image sensor even when the output levels are changed. CONSTITUTION:The picture element output which is read by an image sensor 1 is made the picture element output of a digital value which is shading- corrected through an amplifier 2, A/D converter 3, and shading correcting part 4. An average processing circuit 5 is provide behind the shading correcting part 4. The circuit 5 takes the average between the noted picture element output and the picture element output just before and takes it as an output. Thus, the regular unevenness between the odd-number picture element output and the even-number picture element output does not remain even when the output level is changed and the level difference between the odd-number and even- number picture element outputs are changed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、イメージセンサで読み
取った画像データの、奇数画素出力と偶数画素出力との
間に規則的に生ずるレベル差を、解消する回路を有する
画像読取装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus having a circuit for eliminating a level difference which regularly occurs between odd pixel outputs and even pixel outputs of image data read by an image sensor. is there.

【0002】[0002]

【従来の技術】図6は、画像読取装置の一般的な構成を
示す図である。図6において、1はイメージセンサ、2
は増幅器、3はAD変換器、4はシェーディング補正部
である。イメージセンサ1で読み取った画像データ(ア
ナログ値)は、増幅器2で増幅され、AD変換器3でデ
ィジタル値に変換される。次にシェーディング補正部4
にてシェーディング補正され、その後、必要に応じてデ
ィジタルフィルタ等によるディジタル処理が施される。
2. Description of the Related Art FIG. 6 is a diagram showing a general structure of an image reading apparatus. In FIG. 6, 1 is an image sensor, 2
Is an amplifier, 3 is an AD converter, and 4 is a shading correction unit. The image data (analog value) read by the image sensor 1 is amplified by the amplifier 2 and converted into a digital value by the AD converter 3. Next, the shading correction unit 4
The shading correction is carried out, and thereafter, digital processing by a digital filter or the like is performed if necessary.

【0003】イメージセンサ1には多数のイメージセン
サ素子が搭載されているが、1ラインの主走査を行った
際、それらの素子で読み取った画像データは、いったん
シフトレジスタに送られ、そこからシリアルに取り出さ
れる。イメージセンサ1には、シフトレジスタが2つ搭
載されているものがある。図7に、そのようなイメージ
センサにおけるイメージセンサ素子とシフトレジスタと
の接続関係を示す。Cはイメージセンサ素子、SR1
SR2 はシフトレジスタである。2つのシフトレジスタ
を搭載する場合、一方のシフトレジスタSR1 には奇数
番目のイメージセンサ素子(以下、「奇数画素用イメー
ジセンサ素子」という)が接続され、他方のシフトレジ
スタSR2 には偶数番目のイメージセンサ素子(以下、
「偶数画素用イメージセンサ素子」という)が接続され
る。
The image sensor 1 is equipped with a large number of image sensor elements, but when main scanning of one line is performed, image data read by these elements is once sent to a shift register and serially sent from there. Taken out. Some image sensors 1 are equipped with two shift registers. FIG. 7 shows a connection relationship between an image sensor element and a shift register in such an image sensor. C is an image sensor element, SR 1 ,
SR 2 is a shift register. When two shift registers are mounted, one shift register SR 1 is connected to an odd-numbered image sensor element (hereinafter, referred to as an “odd pixel image sensor element”), and the other shift register SR 2 is connected to an even-numbered image sensor element. Image sensor element (hereinafter,
“Even pixel image sensor element”) is connected.

【0004】このようなイメージセンサを用いた場合、
2つのシフトレジスタの間での微妙な特性の違いによ
り、奇数画素の出力レベルと偶数画素の出力レベルとの
間に、僅かながら差を生ずることがある。図9は、奇偶
画素出力レベル差を説明する図である。横軸は、イメー
ジセンサに配設されているイメージセンサ素子位置を示
し、縦軸は、イメージセンサ出力(アナログ値。上方が
白方向,ゼロが黒)を表している。
When such an image sensor is used,
Due to a slight difference in characteristics between the two shift registers, a slight difference may occur between the output level of the odd pixel and the output level of the even pixel. FIG. 9 is a diagram for explaining the odd-even pixel output level difference. The horizontal axis represents the position of the image sensor element disposed in the image sensor, and the vertical axis represents the image sensor output (analog value; upper direction is white, zero is black).

【0005】Lは、主走査の1ラインを示している。G
は、イメージセンサ出力曲線の一部であるEの部分の拡
大図である。21は奇数番目の画素出力(以下、「奇数
画素出力」という)であり,22は偶数番目の画素出力
(以下、「偶数画素出力」という)である。ここでは、
奇数画素出力の方が大となって現れている場合を示して
いる。Hは奇数画素出力と偶数画素出力とのレベル差で
ある。このレベル差は、画像データを2値処理する場合
とか、あるいは低階調数で処理する場合には、出力する
画質に悪影響を及ぼさない。しかし、高階調数(例、1
00階調以上)で処理する場合には、縦縞模様が出来て
しまい、画質を悪くする。そこで、奇偶画素出力のレベ
ル差に起因する縦縞模様が出来ないようにするため、種
々提案がなされている。
L indicates one line of main scanning. G
[Fig. 4] is an enlarged view of a portion E which is a part of the image sensor output curve. Reference numeral 21 is an odd-numbered pixel output (hereinafter referred to as “odd pixel output”), and 22 is an even-numbered pixel output (hereinafter referred to as “even pixel output”). here,
The case where the odd-numbered pixel output appears to be larger is shown. H is the level difference between the odd pixel output and the even pixel output. This level difference does not adversely affect the image quality to be output when the image data is binary-processed or when the number of gradations is low. However, high gradations (eg 1
If processing is performed with more than 100 gradations, a vertical stripe pattern is formed and the image quality is deteriorated. Therefore, various proposals have been made in order to prevent the vertical stripe pattern resulting from the level difference of the odd-even pixel output.

【0006】例えば、黒基準板を読ませた時の画素出力
を基に、予め一定の補正値を求めておき、シェーディン
グ補正部4を経た後の画素出力にこの補正値を加算する
ことにより、奇偶画素出力レベル差を解消しようとする
ものがある。図11は、従来の画像読取装置での奇偶画
素出力レベル差の補正を説明する図である。図11
(イ)は、前記の補正値を表している。
For example, a constant correction value is obtained in advance based on the pixel output when the black reference plate is read, and this correction value is added to the pixel output after passing through the shading correction unit 4. Some try to eliminate the odd-even pixel output level difference. FIG. 11 is a diagram illustrating correction of an odd-even pixel output level difference in a conventional image reading device. Figure 11
(A) represents the correction value.

【0007】図11(ロ)は、シェーディング補正部4
を経た段階の画素出力の例(第1例)を示しており、奇
偶画素出力レベル差を解消する補正をする前の状態であ
る。これには、奇偶画素出力レベル差による凹凸が規則
的に現れている。図11(ハ)は、この第1例の画素出
力に対し、図11(イ)の補正値を加算する補正を施し
た後の状態を表している。奇偶画素出力レベル差による
規則的な凹凸はなくなっている。
FIG. 11B shows the shading correction unit 4.
11 shows an example (first example) of pixel output at a stage after passing through, which is a state before correction for eliminating the odd-even pixel output level difference. In this, irregularities due to the odd-even pixel output level difference regularly appear. FIG. 11C shows a state after the pixel output of the first example is corrected by adding the correction value of FIG. 11A. The regular unevenness due to the odd-even pixel output level difference disappears.

【0008】また、他の例としては、AD変換器3の後
に出力レベル調整部を設け、ここで奇偶画素出力レベル
差を補正するものがある(特開昭61−196676号公報)。
この出力レベル調整部では、1主走査にわたって黒基準
板を読ませた時の奇数画素出力の平均と偶数画素出力の
平均との差分を予め求めておき、実際の原稿を読んだ時
にこの差分を低い方に加算してレベル差を解消してい
る。
Another example is to provide an output level adjusting unit after the AD converter 3 to correct the odd-even pixel output level difference (Japanese Patent Laid-Open No. 61-196676).
In this output level adjusting unit, the difference between the average of the odd pixel output and the average of the even pixel output when the black reference plate is read over one main scanning is obtained in advance, and this difference is calculated when the actual document is read. It is added to the lower one to eliminate the level difference.

【0009】[0009]

【発明が解決しようとする課題】(問題点)しかしなが
ら、イメージセンサの読取出力レベルによって奇数画素
出力と偶数画素出力のレベル差は変化するので、前記し
た従来の技術のように、黒基準板を読んで予め求めてお
いた補正値を使って補正したのでは、適切な補正が常に
できるとは限らないという問題点があった。
(Problem) However, the level difference between the odd pixel output and the even pixel output changes depending on the read output level of the image sensor. There is a problem that proper correction may not always be possible if the correction is performed using the correction value that is read and obtained in advance.

【0010】(問題点の説明)図10は、読取出力レベ
ルによって奇偶画素出力レベル差が相違することを示す
図である。21Aは奇数画素出力,22Aは偶数画素出
力を示し、H1 〜H3は奇偶画素出力レベル差である。
図10(イ)は黒基準を読んだ時の読取出力を示し、こ
の時の奇偶画素出力レベル差をH1 とする。補正値は、
この時の出力を基にして求められる。それは偶数画素出
力をH1 だけ高めるか、或いは奇数画素出力をH1 だけ
低めるかするのに用いられる。
(Explanation of Problems) FIG. 10 is a diagram showing that the odd-even pixel output level difference differs depending on the read output level. 21A indicates an odd pixel output, 22A indicates an even pixel output, and H 1 to H 3 are odd-even pixel output level differences.
FIG. 10A shows the read output when the black reference is read, and the odd-even pixel output level difference at this time is H 1 . The correction value is
It is calculated based on the output at this time. It is used to either increase the even pixel output by H 1 or lower the odd pixel output by H 1 .

【0011】図10(ロ),(ハ)は黒基準以外の濃度
の部分(例えば、黒に近い灰色の部分とか白に近い灰色
の部分)を読んだ時の読取出力を示している。これらの
場合のレベル差を、H2 ,H3 とする。すると、奇偶画
素出力レベル差H2 ,H3 は、H1 とは大きさが異なる
ことがしばしばある。即ち、イメージセンサが読む部分
の黒の濃度に応じて(即ち、読取出力レベルに応じ
て)、奇偶画素出力レベル差が異なることがある。その
ような場合、黒基準という濃度の部分を読んで得た一定
の補正値では、補正しきれない。
FIGS. 10 (b) and 10 (c) show the read output when a density portion other than the black reference (for example, a gray portion close to black or a gray portion close to white) is read. The level difference in these cases is H 2 and H 3 . Then, the odd-even pixel output level differences H 2 and H 3 often have different magnitudes from H 1 . That is, the odd-even pixel output level difference may differ depending on the black density of the portion read by the image sensor (that is, according to the read output level). In such a case, it is not possible to make a correction with a constant correction value obtained by reading the density portion called the black reference.

【0012】図11(ニ)は、図11(ロ)の第1例と
は異なる出力レベルの場合(第2例)の画素出力であ
る。この場合の奇偶画素出力レベル差は、(ロ)の場合
のそれとは異なっている。これを図11(イ)の補正値
で補正したのが、(ホ)の状態である。第1例の場合は
図11(ハ)の如くきれいに補正されたが、第2例の場
合は補正しきれていない。そのため、奇偶画素出力レベ
ル差による規則的な凹凸は、程度は小さくなるものの依
然として残っている。本発明は、以上のような問題点を
解決することを課題とするものである。
FIG. 11D shows the pixel output when the output level is different from the first example of FIG. 11B (second example). The odd-even pixel output level difference in this case is different from that in the case of (b). This is corrected with the correction value of FIG. 11 (a) in the state of (e). In the case of the first example, the correction was fine as shown in FIG. 11C, but in the case of the second example, it was not completely corrected. Therefore, the regular unevenness due to the odd-even pixel output level difference remains, though the degree is small. An object of the present invention is to solve the above problems.

【0013】[0013]

【課題を解決するための手段】前記課題を解決するた
め、本発明では、イメージセンサで読み取った画素出力
をAD変換してシェーディング補正する画像読取装置に
おいて、シェーディング補正した後に注目画素出力と直
前画素出力との平均をとって出力する平均化回路を具え
ることとした。
In order to solve the above-mentioned problems, according to the present invention, in an image reading apparatus for AD-converting a pixel output read by an image sensor to perform shading correction, the pixel output of interest and the immediately preceding pixel after shading correction. It was decided to have an averaging circuit that outputs the average of the output.

【0014】また、上記の構成の外に、注目画素出力と
前記平均化回路の出力とが入力される選択回路と、注目
画素出力と直前画素出力との差の絶対値が所定の閾値よ
り大の時には注目画素出力を選択する信号を、該閾値よ
り小の時には平均化回路の出力を選択する信号をそれぞ
れ発生して前記選択回路に送出する選択信号発生回路と
を具えることとしてもよい。
In addition to the above configuration, the absolute value of the difference between the selection circuit to which the target pixel output and the output of the averaging circuit are input and the difference between the target pixel output and the immediately preceding pixel output is larger than a predetermined threshold value. In the case of, a signal for selecting the pixel output of interest may be provided, and when it is smaller than the threshold value, a signal for selecting the output of the averaging circuit may be generated and sent to the selection circuit.

【0015】[0015]

【作 用】従来は、奇偶画素出力レベル差を解消する
補正値として固定的な値を用意しておき、これで補正し
ていたので、出力レベルが変化して奇偶画素出力レベル
差の大きさも変化した場合は、補正しきれなかった。そ
のため、規則的な凹凸が依然として残っていた。しか
し、本発明では、シェーディング補正部の後に平均化回
路を設け、注目画素出力と直前画素出力との平均をとっ
て出力とする。このようにすると、出力レベルが変化し
て奇偶画素出力レベル差が変化しても、規則的な凹凸が
残ることはない。
[Operation] Conventionally, a fixed value was prepared as a correction value for eliminating the odd-even pixel output level difference, and the correction was performed using this, so the output level changed and the even-even pixel output level difference also increased. If it changed, it could not be corrected. Therefore, the regular unevenness still remained. However, in the present invention, an averaging circuit is provided after the shading correction unit, and the output of the pixel of interest and the output of the immediately preceding pixel are averaged. In this way, even if the output level changes and the odd-even pixel output level difference changes, no regular unevenness remains.

【0016】また、シェーディング補正後の注目画素出
力か前記平均化回路の出力かのいずれかを選択する選択
回路を設け、注目画素出力と直前画素出力との差の絶対
値が所定の閾値より大の場合は、注目画素出力を選択
し、小の場合は前記平均化回路の出力を選択する構成と
してもよい。こうすれば、奇偶画素出力レベル差を解消
すると共に、画像のエッジがぼやけることを防止するこ
とが出来る。
Further, a selection circuit for selecting either the pixel output of interest after shading correction or the output of the averaging circuit is provided, and the absolute value of the difference between the pixel output of interest and the output of the immediately preceding pixel is larger than a predetermined threshold value. In this case, the pixel output of interest may be selected, and if it is small, the output of the averaging circuit may be selected. By doing so, it is possible to eliminate the odd-even pixel output level difference and prevent the edges of the image from being blurred.

【0017】[0017]

【実施例】(第1の実施例)以下、本発明の実施例を図
面に基づいて詳細に説明する。図1は、本発明の第1の
実施例にかかわる画像読取装置を示す図である。符号は
図6のものに対応し、5は平均化回路である。イメージ
センサ1は、図7で述べたように2つのシフトレジスタ
を具えているものとし、その奇数画素出力と偶数画素出
力との間にはレベル差があるものとする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing an image reading apparatus according to the first embodiment of the present invention. Reference numerals correspond to those in FIG. 6, and 5 is an averaging circuit. It is assumed that the image sensor 1 has two shift registers as described in FIG. 7, and that there is a level difference between the odd pixel output and the even pixel output.

【0018】イメージセンサ1で読み取った画像データ
は増幅器2で増幅され、AD変換器3でディジタル値に
変換される。ディジタル値に変換された画像データは、
シェーディング補正部4でシェーディング補正された
後、平均化回路5で奇偶画素出力レベル差を解消するた
めの処理がなされる。平均化回路5は、注目画素と直前
画素の出力の平均をとり、それを注目画素の出力と置き
換えるという補正処理を行う。
The image data read by the image sensor 1 is amplified by the amplifier 2 and converted into a digital value by the AD converter 3. The image data converted into digital values is
After the shading correction unit 4 has performed the shading correction, the averaging circuit 5 performs processing for eliminating the odd-even pixel output level difference. The averaging circuit 5 performs a correction process of averaging the outputs of the target pixel and the immediately preceding pixel and replacing the average with the output of the target pixel.

【0019】図2は、平均化回路5の構成例を示す図で
ある。5−1は加算器、5−2はラッチ、5−3は平均
値算出回路である。クロックは、動作の同期をとるため
に加えられる。1クロック毎に1つの画素出力が入力さ
れる。ラッチ5−2は、画素出力を1クロック遅れて加
算器5−1に供給する役割を果たしている。加算器5−
1は、今入って来た画素出力(注目画素出力)と、加算
器5−1から供給される1つ前の画素出力(直前画素出
力)とを加算する。平均値算出回路5−3は、加算結果
を2で割り、平均値を算出する。平均値算出回路5−3
の具体回路としては、例えばビットシフト可能なラッチ
を用い、小数点を1ビットだけ上位へシフトすることに
より、2で割ることが出来る。
FIG. 2 is a diagram showing a configuration example of the averaging circuit 5. Reference numeral 5-1 is an adder, 5-2 is a latch, and 5-3 is an average value calculation circuit. Clocks are added to synchronize the operation. One pixel output is input every one clock. The latch 5-2 plays a role of supplying the pixel output to the adder 5-1 with a delay of one clock. Adder 5-
1 adds the pixel output that has just come in (target pixel output) and the previous pixel output (previous pixel output) supplied from the adder 5-1. The average value calculation circuit 5-3 divides the addition result by 2 to calculate the average value. Average value calculation circuit 5-3
As a specific circuit of, for example, a bit shiftable latch is used, and the decimal point can be divided by 2 by shifting the decimal point upward by 1 bit.

【0020】図4は、本発明による補正前と補正後の状
態を示す図である。補正前の例としては、図11で用い
たのと同じ例を用いている。即ち、図4(イ)は第1例
の補正前の状態を表し(図11(ロ)と同じもの)、図
4(ハ)は第2例の補正前の状態を表している(図11
(ニ)と同じもの)。図4(イ)の画素出力が平均化回
路5に入力されると、各画素出力は直前画素の出力との
平均値とされるから、図4(ロ)の如くなる。奇偶画素
出力レベル差による規則的な凹凸はなくなるから、画像
に縦縞模様が現れることはない。図4(ハ)の画素出力
が平均化回路5に入力されると、やはり各画素出力は直
前画素の出力との平均値とされるから、図4(ニ)の如
くなる。やはり、奇偶画素出力レベル差による凹凸はな
くなる。
FIG. 4 is a diagram showing states before and after correction according to the present invention. As the example before correction, the same example as that used in FIG. 11 is used. That is, FIG. 4A shows the state before correction of the first example (the same as FIG. 11B), and FIG. 4C shows the state before correction of the second example (FIG. 11).
The same as (d)). When the pixel output of FIG. 4 (a) is input to the averaging circuit 5, each pixel output is made an average value with the output of the immediately preceding pixel, so that it becomes as shown in FIG. 4 (b). Since the regular unevenness due to the odd-even pixel output level difference disappears, no vertical stripe pattern appears in the image. When the pixel output of FIG. 4C is input to the averaging circuit 5, each pixel output is also an average value with the output of the immediately preceding pixel, so that the result is as shown in FIG. 4D. After all, the unevenness due to the odd-even pixel output level difference disappears.

【0021】(第2の実施例)しかし、第1の実施例で
補正すると、白と黒とのハッキリとした境界部分が、ぼ
やけさせられるという現象が起こる。この現象は、その
ような境界部分では隣接する画素出力の値が大きく異な
るが、平均化回路5によってそれらの平均が取られ、両
者の中間の大きさの値とされてしまうために起こる。そ
の結果、画像のエッジがぼやける。原稿によっては、こ
のようにぼやけることが歓迎される場合もあるが、歓迎
されない場合もある。例えば、原稿に細い線(細線)が
あり、これがくっきり現れることが要求される場合など
は、歓迎されない。
(Second Embodiment) However, when the correction is performed in the first embodiment, a phenomenon occurs in which a clear boundary portion between white and black is blurred. This phenomenon occurs because the averaging circuit 5 takes the average of the values of the adjacent pixel outputs at such a boundary portion, but the values are in the middle of the two values. As a result, the edges of the image are blurred. Some manuscripts may welcome this blurring, but not others. For example, if the manuscript has thin lines (thin lines) and it is required that the lines appear clearly, it is not welcome.

【0022】図8は、第1の実施例の前記のような問題
点と第2の実施例の効果を説明する図である。図8
(イ)は、読み取る原稿面上にある細線8〜10(黒地
に白の細線)を表している。主走査は、これらの細線8
〜10を横切って矢印方向になされる。図8(ロ)は、
そうして得られたシェーディング補正後の画素出力であ
る。Mは、細線8の左側画素における直前画素との差分
を表している。
FIG. 8 is a diagram for explaining the above-mentioned problems of the first embodiment and the effects of the second embodiment. Figure 8
(A) represents thin lines 8 to 10 (white thin lines on a black background) on the document surface to be read. The main scan is these thin lines 8
10 is made in the direction of the arrow. Figure 8 (b)
It is the pixel output after the shading correction thus obtained. M represents the difference between the pixel on the left side of the thin line 8 and the immediately preceding pixel.

【0023】図8(ハ)は、第1の実施例で補正した場
合を示している。奇偶画素出力レベル差による規則的な
凹凸はなくなっているが、細線を表す部分は、中央の大
きい画素出力と、その両側の中間の大きさの画素出力と
からなるという構成にされる。例えば、画素出力「ハ−
1」は、図8(ロ)のMの差がある隣接2画素の出力が
平均された値となる。従って、細線のエッジはぼやけ、
場合によっては細線としての画像を保ち得なくなる。第
2の実施例は、それを避けるためになされたものであ
る。
FIG. 8C shows the case where the correction is made in the first embodiment. Although the regular unevenness due to the odd-even pixel output level difference is eliminated, the portion representing the thin line is configured to have a large pixel output in the center and pixel outputs of intermediate sizes on both sides thereof. For example, pixel output
“1” is a value obtained by averaging the outputs of two adjacent pixels having a difference of M in FIG. Therefore, the edges of thin lines are blurred,
In some cases, the image as a thin line cannot be retained. The second embodiment is made to avoid it.

【0024】図3は、本発明の第2の実施例にかかわる
画像読取装置を示す図である。符号は図1のものに対応
し、6は選択信号発生回路、7は選択回路である。選択
回路7の入力端子Aには、シェーディング補正部4から
の出力がそのまま入力される。入力端子Bには、平均化
回路5の出力が入力される。直前の画素出力との差が所
定値以下である場合は、平均化回路5の出力(B)が選
択され、差が所定値より大の場合はシェーディング補正
部4からの出力(A)が選択される。
FIG. 3 is a diagram showing an image reading apparatus according to the second embodiment of the present invention. Reference numerals correspond to those in FIG. 1, 6 is a selection signal generating circuit, and 7 is a selection circuit. The output from the shading correction unit 4 is directly input to the input terminal A of the selection circuit 7. The output of the averaging circuit 5 is input to the input terminal B. If the difference from the immediately preceding pixel output is less than or equal to a predetermined value, the output (B) of the averaging circuit 5 is selected, and if the difference is greater than the predetermined value, the output (A) from the shading correction unit 4 is selected. To be done.

【0025】そうすれば、図8(ロ)の画素出力は、図
8(ニ)のように補正される。即ち、直前画素との差
(の絶対値)Mが大きくて、前記所定値より大の画素出
力が到来した時には、平均化回路5で平均化した値は採
用せず、到来して来た値がそのまま採用される。他方、
直前画素との差分が所定値より小の画素では、平均化回
路5からの出力が採用される。その結果、細線8〜10
に対応する画素出力は、両側が中間の値にされることは
ない。従って、エッジがぼやけることはない。
Then, the pixel output shown in FIG. 8B is corrected as shown in FIG. That is, when the difference (absolute value) M from the immediately preceding pixel is large and a pixel output larger than the predetermined value arrives, the value averaged by the averaging circuit 5 is not adopted, but the arrived value. Is adopted as is. On the other hand,
The output from the averaging circuit 5 is used for a pixel whose difference from the immediately preceding pixel is smaller than a predetermined value. As a result, thin lines 8-10
The pixel output corresponding to is not set to an intermediate value on both sides. Therefore, the edges are not blurred.

【0026】図5は、選択信号発生回路の構成例を示す
図である。6−1は減算器、6−2はラッチ、6−3は
閾値部、6−4はコンパレータである。閾値部6−3か
らは、直前画素出力との差の絶対値に関する閾値(K)
が提供される。ラッチ6−2では画素出力を1クロック
だけ遅らせ、減算器6−1で注目画素との差の絶対値
(M)をとる。コンパレータ6−4でMとKとを比較
し、選択回路7に向けて選択信号を発する。MがKより
大であれば、選択回路7の入力端子Aを選択する信号と
され、逆の場合は入力端子Bを選択する信号とされる。
FIG. 5 is a diagram showing a configuration example of the selection signal generating circuit. 6-1 is a subtractor, 6-2 is a latch, 6-3 is a threshold value section, and 6-4 is a comparator. From the threshold unit 6-3, a threshold value (K) regarding the absolute value of the difference from the immediately preceding pixel output.
Will be provided. The latch 6-2 delays the pixel output by one clock, and the subtractor 6-1 takes the absolute value (M) of the difference from the pixel of interest. The comparator 6-4 compares M with K and issues a selection signal to the selection circuit 7. When M is larger than K, it is a signal for selecting the input terminal A of the selection circuit 7, and in the opposite case, it is a signal for selecting the input terminal B.

【0027】[0027]

【発明の効果】以上述べた如く、本発明の画像読取装置
では、シェーディング補正部の後に平均化回路を設け、
注目画素出力と直前画素出力との平均をとって出力とし
たので、出力レベルが変化して奇偶画素出力レベル差が
変化しても、規則的な凹凸が残ることはない。
As described above, in the image reading apparatus of the present invention, the averaging circuit is provided after the shading correction section,
Since the output of the pixel of interest and the output of the immediately previous pixel are averaged, even if the output level changes and the odd-even pixel output level difference changes, no regular unevenness remains.

【0028】また、注目画素出力と直前画素出力との差
の絶対値が所定の閾値より大の場合は、シェーディング
補正後の出力を出力とし、小の場合は前記平均化回路の
出力を出力とすれば、奇偶画素出力レベル差を解消する
と共に、画像のエッジがぼやけることを防止することも
出来る。
Further, when the absolute value of the difference between the pixel output of interest and the immediately preceding pixel output is larger than a predetermined threshold value, the output after shading correction is output, and when it is small, the output of the averaging circuit is output. By doing so, it is possible to eliminate the odd-even pixel output level difference and prevent the edge of the image from being blurred.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の第1の実施例にかかわる画像読取装
置を示す図
FIG. 1 is a diagram showing an image reading apparatus according to a first embodiment of the present invention.

【図2】 平均化回路の構成例を示す図FIG. 2 is a diagram showing a configuration example of an averaging circuit.

【図3】 本発明の第2の実施例にかかわる画像読取装
置を示す図
FIG. 3 is a diagram showing an image reading apparatus according to a second embodiment of the present invention.

【図4】 本発明による補正前と補正後の状態を示す図FIG. 4 is a diagram showing states before and after correction according to the present invention.

【図5】 選択信号発生回路の構成例を示す図FIG. 5 is a diagram showing a configuration example of a selection signal generation circuit.

【図6】 画像読取装置の一般的な構成を示す図FIG. 6 is a diagram showing a general configuration of an image reading apparatus.

【図7】 イメージセンサ素子とシフトレジスタとの接
続関係を示す図
FIG. 7 is a diagram showing a connection relationship between an image sensor element and a shift register.

【図8】 第1の実施例の問題点と第2の実施例の効果
を説明する図
FIG. 8 is a diagram for explaining the problems of the first embodiment and the effects of the second embodiment.

【図9】 奇偶画素出力レベル差を説明する図FIG. 9 is a diagram illustrating an odd-even pixel output level difference.

【図10】出力レベルによって奇偶画素出力レベル差が
相違することを示す図
FIG. 10 is a diagram showing that the odd-even pixel output level difference differs depending on the output level.

【図11】従来の画像読取装置での奇偶画素出力レベル
差の補正を説明する図
FIG. 11 is a diagram illustrating correction of an odd-even pixel output level difference in a conventional image reading apparatus.

【符号の説明】[Explanation of symbols]

1…イメージセンサ、2…増幅器、3…AD変換器、4
…シェーディング補正部、5…平均化回路、5−1…加
算器、5−2,5−3…平均値算出回路、6…選択信号
発生回路、6−1…減算器、6−2…ラッチ、6−3…
閾値部、6−4…コンパレータ、7…選択回路、8〜1
0…細線、C…イメージセンサ素子、K…差分閾値、M
…差分、SR1 ,SR2 …シフトレジスタ
1 ... Image sensor, 2 ... Amplifier, 3 ... AD converter, 4
... Shading correction unit, 5 ... Averaging circuit, 5-1 ... Adder, 5-2, 5-3 ... Average value calculating circuit, 6 ... Selection signal generating circuit, 6-1 ... Subtractor, 6-2 ... Latch , 6-3 ...
Threshold part, 6-4 ... Comparator, 7 ... Selection circuit, 8 to 1
0 ... Fine line, C ... Image sensor element, K ... Difference threshold, M
… Difference, SR 1 , SR 2 … Shift register

フロントページの続き (72)発明者 高橋 篤 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社内 (72)発明者 寄本 浩二 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社内 (72)発明者 ▲梶▼川 賢 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社内 (72)発明者 林 寛 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社内 (72)発明者 中島 孝 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社内Front page continuation (72) Inventor Atsushi Takahashi 3-7-1, Fuchu, Iwatsuki-shi, Saitama Fuji Zerox Co., Ltd. (72) Koji Yormoto 3-7-1, Fuchu, Iwatsuki-shi, Saitama Fuji Xerox Incorporated (72) Inventor ▲ Kaji ▼ Ken Kaji 3-7-1 Fuchu, Iwatsuki City, Saitama Prefecture Fuji Xerox Co., Ltd. (72) Hiroshi Hayashi 3-7-1, Iwatsuki City, Saitama Prefecture Fujize Inside Rocks Co., Ltd. (72) Inventor Takashi Nakajima 3-7-1 Fuchu, Iwatsuki City, Saitama Prefecture

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 イメージセンサで読み取った画素出力を
AD変換してシェーディング補正する画像読取装置にお
いて、シェーディング補正した後に注目画素出力と直前
画素出力との平均をとって出力する平均化回路を具えた
ことを特徴とする画像読取装置。
1. An image reading apparatus for AD-converting pixel output read by an image sensor to perform shading correction, comprising an averaging circuit for averaging a pixel output of interest and an immediately preceding pixel output after shading correction. An image reading device characterized by the above.
【請求項2】 イメージセンサで読み取った画素出力を
AD変換してシェーディング補正する画像読取装置にお
いて、シェーディング補正した後に注目画素出力と直前
画素出力との平均をとって出力する平均化回路と、注目
画素出力と該平均化回路の出力とが入力される選択回路
と、注目画素出力と直前画素出力との差の絶対値が所定
の閾値より大の時には注目画素出力を選択する信号を、
該閾値より小の時には平均化回路の出力を選択する信号
をそれぞれ発生して前記選択回路に送出する選択信号発
生回路とを具えたことを特徴とする画像読取装置。
2. An image reading apparatus that AD-converts pixel output read by an image sensor to perform shading correction, and an averaging circuit that averages and outputs the pixel output of interest and the immediately preceding pixel output after shading correction. A selection circuit to which the pixel output and the output of the averaging circuit are input, and a signal for selecting the target pixel output when the absolute value of the difference between the target pixel output and the immediately preceding pixel output is larger than a predetermined threshold,
An image reading apparatus comprising: a selection signal generating circuit for generating a signal for selecting an output of the averaging circuit and transmitting the selected signal to the selecting circuit when the threshold value is smaller than the threshold value.
JP5254950A 1993-09-17 1993-09-17 Image reader Pending JPH07107276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5254950A JPH07107276A (en) 1993-09-17 1993-09-17 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5254950A JPH07107276A (en) 1993-09-17 1993-09-17 Image reader

Publications (1)

Publication Number Publication Date
JPH07107276A true JPH07107276A (en) 1995-04-21

Family

ID=17272113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5254950A Pending JPH07107276A (en) 1993-09-17 1993-09-17 Image reader

Country Status (1)

Country Link
JP (1) JPH07107276A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6559981B1 (en) 1999-02-15 2003-05-06 Seiko Epson Corporation Image reading apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6559981B1 (en) 1999-02-15 2003-05-06 Seiko Epson Corporation Image reading apparatus

Similar Documents

Publication Publication Date Title
US5392137A (en) Image processing apparatus in which filtering is selected for input image characteristics
US6625331B1 (en) Image forming apparatus
US6441915B1 (en) Image forming apparatus
US6373990B1 (en) Image processing utilizing luminance-density conversion
JPH0254683A (en) Picture scanner and its correction method
US5805738A (en) Image processing apparatus and method
US20040184104A1 (en) Image forming apparatus and image forming method
JP2002057900A (en) Color picture processor
US5805304A (en) Image processing apparatus
US5471319A (en) Image processing method and image processing apparatus
US5926582A (en) Method and system for converting multi-gradated image data into binary image data
US6888646B1 (en) Color image processing apparatus and color image forming apparatus
EP0814600B1 (en) Method and system for processing image data
JP2001211297A (en) Image trader, its method and storage medium
JPH07107276A (en) Image reader
JP3230282B2 (en) Image reading device
JP3276026B2 (en) Image data adjustment method for image reading device
JPS5834677A (en) Mtf compensating system of picture information reader
JP2585871B2 (en) White level correction method for image reading device
JP2701310B2 (en) Halftone image generation method and apparatus
JPH07107282A (en) Picture reader
JPS63204375A (en) Half tone picture forming method
JPH0575859A (en) Mtf correction device
JP2904364B2 (en) Binarization method of gradation image
JP3816642B2 (en) Image data contour correction method and apparatus