JPH099057A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH099057A
JPH099057A JP7178083A JP17808395A JPH099057A JP H099057 A JPH099057 A JP H099057A JP 7178083 A JP7178083 A JP 7178083A JP 17808395 A JP17808395 A JP 17808395A JP H099057 A JPH099057 A JP H099057A
Authority
JP
Japan
Prior art keywords
value
peak
reading
read
processing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7178083A
Other languages
Japanese (ja)
Other versions
JP3893163B2 (en
Inventor
Wataru Nara
亙 奈良
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP17808395A priority Critical patent/JP3893163B2/en
Publication of JPH099057A publication Critical patent/JPH099057A/en
Application granted granted Critical
Publication of JP3893163B2 publication Critical patent/JP3893163B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To provide a picture processor which generates shading data through the use of a circuit similar to texture detection, eliminates the variable means of a volume used for gain adjustment, saves adjusting work and highly precisely executes texture skipping for long time even if the secular change of a processor and the dispersion of the performance of parts exist. CONSTITUTION: A read means 1 reading an original, a peak detection means 2 detecting the peak value of picture element data, which is read, and a comparison output means 3 deciding an output value from the value detected by the peak detection means 2 and the value of picture element data, which is read by the read means 1, are provided. Then, the comparison output means 3 decides output from the value of the peak detection means 2 and the value of picture element data, which is read by the read means 1, in the same way as original picture read time at the time of generating shading data when texture is removed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子写真複写機、スキ
ャナー、ファックス等の画像処理装置に関し、特にデジ
タル的に処理する画像処理装置の地肌除去機能に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus such as an electrophotographic copying machine, a scanner and a fax machine, and more particularly to a background removing function of an image processing apparatus for digital processing.

【0002】[0002]

【従来の技術】従来の、地肌除去機能を有し、原稿画像
データをデジタル的に処理する画像処理装置において、
地肌除去機能を働かせる場合には基準白版の読み取り値
と、あらかじめ定められた値とを比較してシェーディン
グデータを生成するが、その際原稿の地肌部読み取り値
と一致させるために地肌濃度検出部の利得を調整する必
要があり、従来は可変抵抗器等に部品を使用して、増幅
器の利得を調整していた。
2. Description of the Related Art In a conventional image processing apparatus that has a background removal function and digitally processes original image data,
When the background removal function is activated, the reference white plate reading value is compared with a predetermined value to generate shading data.At that time, the background density detection unit is used to match the background reading value of the document. It is necessary to adjust the gain of the amplifier, and conventionally, the gain of the amplifier was adjusted by using parts such as a variable resistor.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
たような従来の画像処理装置では、利得調整用に用いて
いるボリュウム等の可変手段を精度良く合わせる必要が
あり、その調整が極めて繁雑で、面倒であった。更に
は、可変手段に経時変化が発生すると、最初の調整状態
が変動し、高精度な地肌飛ばしが不可能になると云う問
題があった。また、同様の問題は、使用部品のばらつき
においても発生し、長期間に亙って、高精度に地肌飛ば
しができないものであった。
However, in the conventional image processing apparatus as described above, it is necessary to accurately adjust the variable means such as the volume used for the gain adjustment, and the adjustment is extremely complicated and troublesome. Met. Further, when the variable means changes with time, the initial adjustment state changes, which makes it impossible to remove the background with high accuracy. In addition, the same problem occurs due to variations in the parts used, and it has been impossible to remove the background with high accuracy over a long period of time.

【0004】[0004]

【発明の目的】本発明は、上述したような従来の画像処
理装置の諸問題を解決するためになされたものであっ
て、利得調整等の面倒な作業を不要とすることによっ
て、コストの逓減を達成し、しかも、可変手段や部品の
経年変化やばらつきがあっても、長期間に亙って、高精
度の地肌飛ばしが可能な画像処理装置を提供することを
目的としている。
SUMMARY OF THE INVENTION The present invention has been made in order to solve the problems of the conventional image processing apparatus as described above, and reduces the cost by eliminating the troublesome work such as gain adjustment. In addition, it is an object of the present invention to provide an image processing device capable of high-precision ground removal over a long period of time even if there is a secular change or variation in variable means or parts.

【0005】[0005]

【問題を解決するための手段】本発明では上記目的を達
成するために、請求項1の発明においては、地肌除去機
能を有し、原稿画像データをデジタル的に処理する画像
処理装置において、原稿を読み取る読取手段と、読み取
った画素データのピーク値を検出するピーク検出手段
と、上記ピーク検出手段で検出された値と、上記読取手
段で読み取った画素データの値とから出力値を決定する
比較出力手段を有し、地肌除去の際のシェーディングデ
ータ生成時に、原稿画像読み取り時と同様に、上記ピー
ク検出手段の値と上記読取手段で読み取った画素データ
の値とから上記比較出力手段によって出力を決定するよ
うに構成したことを特徴とする。請求項2記載の発明で
は、上記 請求項1記載の画像処理装置において、シェ
ーディングデータ生成時と原稿画像読み取り時で、上記
ピーク検出手段のピーク検出用時定数を変更する時定数
変更手段を備えたことを特徴とする。請求項3記載の発
明では、請求項1記載の画像処理装置において、シェー
ディングデータ生成時と原稿画像読み取り時で、上記ピ
ーク検出手段のピーク検出用ゲート幅を変更するゲート
幅変更手段を備えたことを特徴とする。請求項4記載の
発明では、請求項1、または、請求項3記載の画像処理
装置において、シェーディングデータ生成前と、シェー
ディングデータ生成時及び原稿画像読み取り時で、上記
ゲート幅変更手段のゲート幅を変更するように構成した
ことを特徴とする。請求項5記載の発明では、請求項1
記載の画像処理装置において、シェーディングデータ生
成後から原稿画像読み取り時迄の間に、上記ピーク検出
手段のピーク値をあらかじめ定められた値に戻すピーク
値変更手段を備えたことを特徴とする。
In order to achieve the above object in the present invention, in the invention of claim 1, in an image processing apparatus which has a background removal function and digitally processes original image data, A reading means for reading, a peak detecting means for detecting the peak value of the read pixel data, a comparison for determining an output value from the value detected by the peak detecting means and the value of the pixel data read by the reading means When the shading data is generated at the time of removing the background, an output is made by the comparison output means from the value of the peak detection means and the value of the pixel data read by the reading means when the shading data is generated when the background is removed. It is characterized in that it is configured to determine. According to a second aspect of the invention, in the image processing apparatus according to the first aspect, there is provided time constant changing means for changing the peak detection time constant of the peak detecting means at the time of shading data generation and at the time of reading an original image. It is characterized by According to a third aspect of the present invention, the image processing apparatus according to the first aspect further comprises gate width changing means for changing the peak detecting gate width of the peak detecting means at the time of shading data generation and at the time of reading an original image. Is characterized by. According to a fourth aspect of the present invention, in the image processing apparatus according to the first or third aspect, the gate width of the gate width changing means is set before the shading data is generated, when the shading data is generated, and when the original image is read. It is characterized in that it is configured to change. According to the invention of claim 5, claim 1
The image processing apparatus described above is characterized by comprising peak value changing means for returning the peak value of the peak detecting means to a predetermined value after the shading data is generated and before the original image is read.

【0006】[0006]

【作用】請求項1のように構成された画像処理装置は、
原稿を読み取る読取手段と、読み取られた画素データの
ピーク値を検出するピーク検出手段と、ピーク検出手段
で検出された値と、読取手段1で読み取られた画素デー
タの値とから出力値を決定する比較出力手段を備えたの
で、シェーディングデータ生成時にも、原稿画像の読み
取りと同じピーク検出手段の出力とから求め、ピーク検
出手段の利得調整に用いているボリュウム等の可変手段
を除去することが出来るので、調整に掛かる手間を省く
ことが出来る。更に、経時変化のバラツキの影響を排除
し、高精度に地肌飛ばし処理を行うことが出来る。
According to the image processing apparatus configured as described in claim 1,
An output value is determined from a reading unit that reads a document, a peak detecting unit that detects a peak value of the read pixel data, a value detected by the peak detecting unit, and a value of the pixel data read by the reading unit 1. Since the comparison output means is provided, the shading data can be obtained from the reading of the original image and the output of the same peak detection means and the variable means such as the volume used for the gain adjustment of the peak detection means can be removed. Since it can be done, it is possible to save the trouble of adjusting. Further, it is possible to eliminate the influence of variation with time and perform the background removal processing with high accuracy.

【0007】請求項2の画像処理装置では、上記1項の
ピーク検出手段のピーク検出用時定数を変更する時定数
変更手段を備えたので、原稿読み取り時にはノイズ等を
排除し得るようにピーク検出用時定数を大きく設定し、
基準白板の読み取り時には時定数を短く変更して、基準
白板の幅を小さくしても正しくピーク検出を行うことが
出来る。
In the image processing apparatus according to the second aspect, since the time constant changing means for changing the peak detection time constant of the peak detecting means according to the first aspect is provided, the peak detection is performed so that noise and the like can be eliminated at the time of reading the original. Set a large time constant,
When reading the reference white plate, the time constant can be changed to be shorter so that the peak can be detected correctly even if the width of the reference white plate is reduced.

【0008】請求項3の画像処理装置では、上記1項の
ピーク検出手段のピーク検出用ゲート幅を変更するゲー
ト幅変更手段を備えたので、基準白板の読み取り時には
ゲート幅を長くし、基準白板の幅を小さくしても正しい
ピーク検出が出来るようになり、しかも、デジタル信号
のゲート幅を変更するだけなので、アナログスイッチ等
の余分な部品が不要となり、部品点数を少なくすること
ができる。
According to the image processing apparatus of claim 3, since the gate width changing means for changing the peak detecting gate width of the peak detecting means of the above-mentioned item 1 is provided, the gate width is lengthened when reading the reference white board, and the reference white board is read. It becomes possible to detect the peak correctly even if the width of is reduced. Moreover, since only the gate width of the digital signal is changed, extra parts such as an analog switch are not required and the number of parts can be reduced.

【0009】請求項4の画像処理装置では、上記1項、
または、3項に記載の画像処理装置において、シェーデ
ィングデータ生成前と、シェーディングデータ生成時及
び原稿画像読み取り時において、上記ゲート幅変更手段
のゲート幅を変更するように構成したので、基準白板の
読み取り時にはゲート幅を長くし、基準白板の幅を小さ
くしても正しいピーク検出が出来るようになり、しか
も、主走査方向に照度ムラがある場合において、ゲート
幅を変更した場合のピーク値が変動したとしても、正し
いシェーディングデータを生成することが出来る。
According to another aspect of the image processing apparatus of the present invention,
Alternatively, in the image processing apparatus according to the item 3, since the gate width of the gate width changing unit is changed before the shading data is generated, when the shading data is generated, and when the original image is read, the reference white plate is read. Even if the gate width is made longer and the width of the reference white board is made smaller, the correct peak can be detected. Moreover, when there is uneven illuminance in the main scanning direction, the peak value changes when the gate width is changed. Also, correct shading data can be generated.

【0010】請求項5の画像処理装置では、シェーディ
ングデータ生成後から原稿画像読み取り時迄の間に、上
記ピーク検出手段のピーク値をあらかじめ定められた値
に戻すピーク値変更手段を備えたので、ピークホールド
回路を共通にしても基準白板読み取り時の影響を受けず
に原稿の地肌を正しく検出出来る。
In the image processing apparatus according to the fifth aspect, the peak value changing means for returning the peak value of the peak detecting means to a predetermined value is provided after the shading data is generated and before the original image is read. Even if the peak hold circuit is shared, the background of the document can be detected correctly without being affected by the reading of the reference white plate.

【0011】[0011]

【実施例】以下、図示した実施例に基づいて、本発明を
詳細に説明する。なお、実施例には画像処理装置として
代表的な電子写真複写機(以下、複写機と記す)のスキ
ャナー部を例示するが、本発明はこの例に限らず、他の
画像処理装置にも同様に適用可能である。図2は、本発
明を適用する複写機のスキャナーの一例を示す要部側面
構成図である。同図に示すスキャナは、原稿を載置する
コンタクトガラス21と、その上に載置した原稿22
と、基準白板23と、主走査方向スケール24と、光源
25、第一ミラー26、第二ミラー27、第三ミラー2
8とからなる光学系と、レンズ29と、CCD の読取り手
段1とを備えたものである。
The present invention will be described in detail below with reference to the illustrated embodiments. In the embodiment, the scanner section of a typical electrophotographic copying machine (hereinafter referred to as a copying machine) is illustrated as an image processing apparatus, but the present invention is not limited to this example, and the same applies to other image processing apparatuses. Is applicable to. FIG. 2 is a side view of a main part showing an example of a scanner of a copying machine to which the present invention is applied. The scanner shown in the figure has a contact glass 21 on which an original is placed and an original 22 placed on the contact glass 21.
, Reference white plate 23, main scanning direction scale 24, light source 25, first mirror 26, second mirror 27, third mirror 2
It is provided with an optical system consisting of 8, a lens 29 and a CCD reading means 1.

【0012】この構成において動作を簡単に説明する
と、コンタクトガラス21上に置かれた原稿22が読み
取られる前に、光源25の光源自身によるバラツキや、
温度、経時変化によるバラツキを補正したり、光源25
やCCD等の読み取り素子1aの主走査方向(図面に対
し垂直方向)1ラインのバラツキを補正する。そのため
に、光源25、第一ミラー26、第二ミラー27、第三
ミラー28からなる光学系を最右端の主走査方向スケー
ル24付近に位置するホームポジッション(図中にH・
Pで指示)に移し、そこからあらかじめ定められた速度
で左方向(副走査方向)に移動させ、基準白板23上に
光学系が位置したときに基準白板23上の主走査方向1
ラインを光源25で照射すると共に、反射光を第一ミラ
ー26、第二ミラー27、第三ミラー28でレンズ29
に導き、読み取り素子1aによって読み取る。その際、
先ず光源25の光源自身によるバラツキや、温度、経時
変化によるバラツキを補正するために、読み取り出力の
ピーク値があらかじめ定められている目標値になるよう
に読取手段1の中のGCA増幅器1Cの利得を調整する
ようになっている(図1参照)。
The operation of this structure will be briefly described. Before the document 22 placed on the contact glass 21 is read, variations due to the light source itself of the light source 25,
Corrects variations due to temperature and changes over time, and
The variation of one line in the main scanning direction (vertical direction to the drawing) of the reading element 1a such as a CCD or CCD is corrected. Therefore, an optical system composed of the light source 25, the first mirror 26, the second mirror 27, and the third mirror 28 is located at a home position (H.
P) to move to the left (sub scanning direction) at a predetermined speed, and when the optical system is located on the reference white plate 23, the main scanning direction 1 on the reference white plate 23
The line is illuminated by the light source 25, and the reflected light is reflected by the first mirror 26, the second mirror 27, and the third mirror 28 to the lens 29
And read by the reading element 1a. that time,
First, the gain of the GCA amplifier 1C in the reading means 1 is adjusted so that the peak value of the read output becomes a predetermined target value in order to correct the variation due to the light source itself of the light source 25 and the variation due to temperature and aging. Is adjusted (see FIG. 1).

【0013】図3はコンタクトガラス21上に置かれた
原稿22を上方から見た図で、原稿22は主走査方向ス
ケール24と副走査方向スケール30に、原稿22の直
交する2辺が当接するように置かれている。この例では
原稿22上の斜線範囲22aが地肌を検知する部分に当
る。主走査方向スケール24の下部であってコンタクト
ガラス21に隣接する部分には基準白板23が配置され
ている。
FIG. 3 is a view of the original 22 placed on the contact glass 21 from above. The original 22 is in contact with the main scanning direction scale 24 and the sub-scanning direction scale 30 at two orthogonal sides of the original 22. Is placed. In this example, the shaded area 22a on the original 22 is a portion where the background is detected. A reference white plate 23 is arranged in a portion below the scale 24 in the main scanning direction and adjacent to the contact glass 21.

【0014】図4は原稿読取りデ−タの出力例を示す図
であり、基準白板23上の主走査方向1ラインの読み取
り出力を曲線f1で示し、読み取り出力のピーク値Vp
1(P1点の出力値)が目標設定値Vp0になるように
(P1点がP0点に移動するように)利得を変化させる
補正を行った結果を曲線f2にて示している。上記の補正
が終了すると、基準白板23上の主走査方向1ラインの
読み取りからシェーディングデータ生成を行う。即ち、
図5は基準白板の読取り方法を説明する図であり、同図
に示したようにピーク値補正後の出力曲線f2を、読み
取リ画素毎にサンプリングして、出力値(b1、b2、
b3〜bn)を記憶し、シェーディングデータとする。
FIG. 4 is a diagram showing an example of the output of the document reading data. The reading output of one line in the main scanning direction on the reference white plate 23 is shown by a curve f1, and the peak value Vp of the reading output is shown.
A curve f2 shows the result of the correction for changing the gain so that 1 (the output value at the P1 point) becomes the target set value Vp0 (so that the P1 point moves to the P0 point). When the above correction is completed, shading data is generated by reading one line on the reference white plate 23 in the main scanning direction. That is,
FIG. 5 is a diagram for explaining the method of reading the reference white plate. As shown in FIG. 5, the output curve f2 after the peak value correction is sampled for each read pixel and output values (b1, b2,
b3 to bn) are stored and used as shading data.

【0015】次に、図2に示す光学系が副走査方向に移
動して原稿22の先端に位置すると、原稿22の読み取
りを開始し、原稿画像の読み取りデータが、先に読み込
まれているシェーディングデ−タにより補正されて、次
の画像処理部に送られる。その際、地肌除去を行う場合
には、図6に示されるように原稿の地肌部についても原
稿画像の読み取り画素データのピーク値を検知する。上
記のピーク値補正後のシェーディングデータf2のピー
ク値Vp0をaとし、それに対する固定の比較基準値V
ref0のb値を図6に示すように設定する。また、原稿画
像の読み取りデータの出力曲線f3(読取手段1出力)
のピーク値の位置P2点の値が、ピーク値Vp2(=a
´)であるとき、ピーク検出手段2を通過すると、上述
したように利得補正される結果、出力曲線f3のP2点
で取る値はVrefAE となる。この波高値をb´とする
と、従来は次式にて示される値になるようにピーク増幅
器2bの利得を調整していた。 a´÷b´=a÷b 従って、精度の良い調整を行うにはピーク増幅器2bの
利得を微細に調整する必要があった。また、設定後、ピ
ーク増幅器2bの利得可変手段として可変抵抗器等を使
用すると、経年変化等によって設定値が変動し、利得が
変化して精度良く地肌を飛ばすことが出来なくなる等の
不具合があったこと、上述した通りである。本実施例で
は、ピーク検出手段2の利得可変手段を不要として無調
整化を図り、信頼性を向上すると共に、高精度に地肌を
飛ばすことが出来る画像処理装置を提供するものであ
る。
Next, when the optical system shown in FIG. 2 moves in the sub-scanning direction and is positioned at the leading edge of the original 22, the original 22 is read and the read data of the original image is shaded in advance. It is corrected by the data and sent to the next image processing unit. At that time, when the background is removed, as shown in FIG. 6, the peak value of the read pixel data of the original image is also detected for the background of the original. The peak value Vp0 of the shading data f2 after the peak value correction is set to a, and a fixed comparison reference value V for the peak value Vp0 is set.
The b value of ref0 is set as shown in FIG. Further, the output curve f3 of the read data of the original image (output of the reading means 1)
The value at the point P2 of the peak value of is the peak value Vp2 (= a
′), When passing through the peak detection means 2, as a result of gain correction as described above, the value taken at point P2 of the output curve f3 becomes V refAE . Assuming that this crest value is b ′, conventionally, the gain of the peak amplifier 2b has been adjusted so as to have a value represented by the following equation. Therefore, it is necessary to finely adjust the gain of the peak amplifier 2b in order to perform accurate adjustment. Further, if a variable resistor or the like is used as the gain varying means of the peak amplifier 2b after the setting, there is a problem that the set value fluctuates due to aging, etc., and the gain is changed so that the background cannot be accurately skipped. That is as described above. The present embodiment provides an image processing apparatus that does not require the gain varying means of the peak detecting means 2 and does not need adjustment, improves reliability, and can fly the background with high accuracy.

【0016】図1は本発明の一実施例を示す画像処理装
置の要部のブロック図であって、先に示した図2乃至図
6及び図7、図8のタイミングチャートを参照しながら
本発明を詳細に説明する。先ず、図1に示す画像処理装
置の構成を簡単に説明すれば、1は読取り部であって、
CCD等の読取り素子1a と、サンプルホールド回路1
b と、利得可変増幅器1cと、ゼロクランプ回路1d を
備えている。また2はピーク検出手段であり、ピークホ
ールド回路2a と、ピーク増幅器2b とを備えている。
更に、3は比較出力手段、4は黒レベル検出手段、5は
ノイズ制御手段、6は比較出力補正手段、7は選択回
路、8はゲート発生回路、9は利得制御回路、10はCP
U 、11はシェーディング補正回路である。
FIG. 1 is a block diagram of a main part of an image processing apparatus showing an embodiment of the present invention, which will be described with reference to the timing charts of FIGS. 2 to 6 and FIGS. The invention will be described in detail. First, the structure of the image processing apparatus shown in FIG. 1 will be briefly described.
A reading element 1a such as a CCD and a sample and hold circuit 1
b, a variable gain amplifier 1c, and a zero clamp circuit 1d. Reference numeral 2 is a peak detecting means, which includes a peak hold circuit 2a and a peak amplifier 2b.
Further, 3 is a comparison output means, 4 is a black level detection means, 5 is a noise control means, 6 is a comparison output correction means, 7 is a selection circuit, 8 is a gate generation circuit, 9 is a gain control circuit, and 10 is CP.
U and 11 are shading correction circuits.

【0017】この構成において基本的動作を説明する。
原稿画像や基準白板23は読取り手段1で読み取られ、
比較出力手段3の入力の一端Vinに伝達される。一
方、比較出力手段3は、比較基準値の入力端Vrefに
基準となる値が入力され、上記Vinに入力する値との
差がデジタル的に出力される。読取手段1はCCD等の
読み取り素子1a、読み取り素子1aからの出力をサン
プリングして保持するサンプルホールド回路1bと、利
得可変の可能な読取増幅器1cと、黒(ゼロ)レベルの
基準を作り出すゼロクランプ回路1dから構成されてい
る。また、地肌除去機能達成のために、読取手段1の出
力の一部はピーク検出手段2に伝達され、このピーク検
出手段2では入力される信号のピーク値が検出される。
選択回路7でピーク検出手段2の出力が選択されると、
選択回路7の出力端Qを経て、上記比較出力手段3の比
較基準入力端Vrefに伝達される。ピーク検出手段2
はピーク値を保持記憶するピークホールド(P/H)回
路2aと、所定の利得を持ったピーク増幅器2bから構
成されている。従来は、上記図6で説明したように、a
´÷b´=a÷bとなるようにピーク増幅器2bの利得
可変器を調整していたが、本実施例では以下に述べるよ
うに、ピーク増幅器2b の利得可変器を不要にしたもの
である。
The basic operation of this configuration will be described.
The original image and the reference white plate 23 are read by the reading means 1,
It is transmitted to one end Vin of the input of the comparison output means 3. On the other hand, in the comparison output means 3, a reference value is input to the input terminal Vref of the comparison reference value, and the difference from the value input to Vin is digitally output. The reading means 1 is a reading element 1a such as a CCD, a sample hold circuit 1b for sampling and holding the output from the reading element 1a, a reading amplifier 1c with a variable gain, and a zero clamp for producing a black (zero) level reference. It is composed of a circuit 1d. Further, in order to achieve the background removal function, part of the output of the reading means 1 is transmitted to the peak detecting means 2, and the peak detecting means 2 detects the peak value of the input signal.
When the output of the peak detecting means 2 is selected by the selecting circuit 7,
It is transmitted to the comparison reference input terminal Vref of the comparison output means 3 via the output terminal Q of the selection circuit 7. Peak detection means 2
Is composed of a peak hold (P / H) circuit 2a for holding and storing a peak value and a peak amplifier 2b having a predetermined gain. Conventionally, as described above with reference to FIG.
The gain variable device of the peak amplifier 2b was adjusted so that ′ / b ′ = a / b, but in the present embodiment, the gain variable device of the peak amplifier 2b is not required as described below. .

【0018】図7の地肌除去機能の動作時のタイミング
図と合わせて説明すると、光学系がホームポジッション
から移動を開始し、基準白板23上に来ると、ゲート発
生回路8から選択回路7のS1端子に供給される基準白板
23の読み取りを有効とするWTGTゲート信号がイネ
ーブルとなり、同時にゲート発生回路8からAGC 回路9
に供給されるAGC 信号もイネーブルになり、読取増幅器
1C の利得を制御する利得制御(AGC)回路9を起動す
る。選択回路7はWTGTゲートが開くと、入力端Aに入力
する信号が選択され、同時にVref0が与えられるように
なっている。このとき基準白板23を読み取った最大出
力値が図4のVp0になるように、利得制御(AGC)
回路9から読取増幅器1cの利得を制御するD−AGC
1を与え、AGCGTゲートを閉じる。この動作により
光源25の光源自身によるバラツキや、温度、経時変化
によるバラツキ、読み取り素子1aの感度のバラツキを
補正している。
Explaining it together with the timing chart at the time of operation of the background removing function of FIG. 7, when the optical system starts moving from the home position and comes on the reference white board 23, the gate generating circuit 8 causes the selecting circuit S1 of the selecting circuit 7 to move. The WTGT gate signal that is supplied to the terminals and that enables the reading of the reference white board 23 is enabled, and at the same time, the gate generation circuit 8 to the AGC circuit 9 are enabled.
Also, the AGC signal supplied to is enabled and activates the gain control (AGC) circuit 9 for controlling the gain of the read amplifier 1C. In the selection circuit 7, when the WTGT gate is opened, the signal input to the input terminal A is selected and V ref0 is applied at the same time. At this time, the gain control (AGC) is performed so that the maximum output value obtained by reading the reference white plate 23 becomes Vp0 in FIG.
D-AGC for controlling gain of read amplifier 1c from circuit 9
Give 1, close AGCGT gate. By this operation, variations due to the light source itself of the light source 25, variations due to temperature and changes over time, and variations in sensitivity of the reading element 1a are corrected.

【0019】次に、地肌除去機能を有効にするAEMO
DOゲートと、シェーディングデータの作成期間に当る
SHGTゲートを開き、シェーディングデータを生成す
る。その際、原稿の地肌検知と同じ様に基準白板23の
読取手段1の出力を、ピークホールド(P/H)回路2
aとピーク増幅器2bから構成されるピーク検出手段2
に導き、ピーク値を検出して比較出力手段3の比較基準
入力端Vrefに入力する。その際、選択回路7の出力
端Qは入力端Cが選択されるように制御されている。図
7のSEL−Qは選択回路7の出力端Qの出力状態を示
している。なお、上記の処理を行うために地肌検知期間
を表すPWINDゲートを、図3に示す地肌を検知する
斜線範囲22aに相当する期間イネーブルにしておく必
要があることは云うまでもない。このように、基準白板
23に基づいてシェーディングデータの生成を終了する
と、WTGTゲートとSHGTゲートを同時に閉じる。
続いて、光学系が移動し、原稿22上に来ると、副走査
方向画像有効期間、即ち、原稿22の読み取り期間を表
すFGATEゲートを開き、ピーク検出手段2を起動し
て原稿の地肌検知を行う。上記のようにシェーディング
データを生成する際及び、原稿22の読み取り期間の地
肌検知にも、同じ経路を使ってピーク値を検出し、比較
出力手段3の比較基準入力端Vrefに入力するので、
ピーク検出手段2のピーク増幅器2bが経年変化等によ
り利得変化したとしても、その影響を排除することがで
きる。また、ピーク増幅器2bの利得の調整も不要とな
るので、作業効率を向上することも可能となる。
Next, the AEMO for enabling the background removal function is effective.
The DO gate and the SHGT gate corresponding to the shading data creation period are opened to generate shading data. At that time, the output of the reading means 1 of the reference white plate 23 is changed to the peak hold (P / H) circuit 2 in the same manner as the background detection of the document.
peak detecting means 2 including a and a peak amplifier 2b
, The peak value is detected and input to the comparison reference input terminal Vref of the comparison output means 3. At that time, the output terminal Q of the selection circuit 7 is controlled so that the input terminal C is selected. SEL-Q in FIG. 7 indicates the output state of the output terminal Q of the selection circuit 7. Needless to say, in order to perform the above process, the PWIND gate representing the background detection period needs to be enabled for a period corresponding to the shaded area 22a for detecting the background shown in FIG. In this way, when the shading data generation based on the reference whiteboard 23 is completed, the WTGT gate and the SHGT gate are closed at the same time.
Subsequently, when the optical system moves and comes over the original 22, the FGATE gate representing the image effective period in the sub-scanning direction, that is, the reading period of the original 22, is opened, and the peak detecting means 2 is activated to detect the background of the original. To do. As described above, when the shading data is generated and also for the background detection during the reading period of the document 22, the peak value is detected using the same path and is input to the comparison reference input terminal Vref of the comparison output means 3.
Even if the gain of the peak amplifier 2b of the peak detecting means 2 changes due to aging or the like, the influence thereof can be eliminated. Further, since it is not necessary to adjust the gain of the peak amplifier 2b, it is possible to improve work efficiency.

【0020】次に、図6を参照しながら理論的考察を加
える。前提条件として、上記比較出力手段3は入力端V
inに入力した値が、0から255迄のディジタル値に
変換されて出力されるものとする。従って、入力値Vi
nがリファレンス値Vrefに等しいか、それ以上の場
合は、比較出力手段3の出力値は全て255となる。D
G を原稿の読み取りデータ、DSHをシェーディングデー
タとすると、画像の読み取りはシェーディングデータと
の相対値として濃度を表巣ことになるので、画像データ
GDは、 GD=(DG ÷DSH)×255 ……………(1) で示され、シェーディング補正される。地肌除去機能の
非動作時における原稿読み取りは、VG を原稿読み取り
時の比較出力手段3の入力端Vinの値、vG をCCD
等の読み取り素子1aの出力値、VREF1を比較出力手段
3の比較基準入力端Vrefに入力する値、AV0をGC
A増幅器1Cの利得とすると、比較出力手段3の働きに
よって、 DG =INT〔(VG ÷VREF1)×255〕 =INT〔(vG ×AV0÷VREF1)×255〕 …………2 となる。ここで、INT〔 〕は最大255迄の計算式
の整数部を示す。同様に、基準白板23の読み取り時に
は、 DSH=INT〔(VSH÷VREF0)×255〕 =INT〔(vSH×AV0÷VREF0)×255〕 ………3 となり、INT〔 〕は比較出力手段3でA/D変換す
る時の量子化を意味しているのみであるので省略し、
2、3式を(1)式に代入すると、 GD=(DG ÷DSH)×255 =〔(vG ÷VREF1)÷(vSH÷VREF0)〕×255 ………(4) となる。なお、(vSH÷VREF0)は原稿読み取りのダイ
ナミックレンジを決めるものであり、その最低濃度(最
高反射率)となる読み取りデータに添字N を付けると、 (vGN÷VREF1)=(vSH÷VREF0) ……………(5) が成立するように比較出力手段3の比較基準入力値V
REF0を決めているので(4)式は、 GD=(vG ÷vGN)×255 …………………………(6) が成立し、原稿濃度の相対値として比較出力手段3から
の画像データが生成されることが判る。
Next, a theoretical consideration will be added with reference to FIG. As a prerequisite, the comparison output means 3 has an input terminal V
It is assumed that the value input to in is converted into a digital value from 0 to 255 and then output. Therefore, the input value Vi
When n is equal to or greater than the reference value Vref, the output values of the comparison output means 3 are all 255. D
G originals read data, when the shading data D SH, since reading of the image is the concentration in Table nest as a relative value with shading data, the image data GD is, GD = (D G ÷ D SH) × 255 ... (1) and shading correction is performed. When the original is read when the background removal function is not in operation, V G is the value of the input terminal Vin of the comparison output means 3 when reading the original, and v G is the CCD
Is the output value of the reading element 1a, VREF1 is a value input to the comparison reference input terminal Vref of the comparison output means 3, and A V0 is GC.
Assuming the gain of the A amplifier 1C, D G = INT [(V G ÷ V REF1 ) × 255] = INT [(v G × A V0 ÷ V REF1 ) × 255] ... … 2. Here, INT [] indicates the integer part of the calculation formula up to 255. Similarly, when the reference white plate 23 is read, D SH = INT [(V SH ÷ V REF0 ) × 255] = INT [(v SH × A V0 ÷ V REF0 ) × 255] ... 3, and INT [] Means only the quantization at the time of A / D conversion by the comparison output means 3 and is omitted.
Substituting 2,3 expression in equation (1), GD = (D G ÷ D SH) × 255 = [(v G ÷ V REF1) ÷ (v SH ÷ V REF0) ] × 255 ......... (4) Becomes Note that (v SH ÷ V REF0 ) determines the dynamic range of document reading, and if the subscript N is added to the read data that has the lowest density (maximum reflectance), (v GN ÷ V REF1 ) = (v SH ÷ V REF0 ) ………………………………………………………………………………………… ((…………………………………………) ( V5 ) (5) Comparison reference input value V of the comparison output means 3
Since REF0 is determined, the equation (4) holds that GD = (v G ÷ v GN ) × 255 (6), and the relative output means 3 is used as the relative value of the document density. It can be seen that the image data from is generated.

【0021】従来の地肌除去機能で動作させた場合に
は、原稿読み取り時のみ選択回路7の入力端C、即ち、
ピーク検出手段2のピーク値が選択されるので、その比
較基準入力値をVREF-AEとすると、 DAE-G=INT〔(VG ÷VREF-AE)×255〕 ………(7) となる。ここで、図1から判る通り、VREF-AEは読取手
段1の出力がピーク検出手段2を通過したものであるか
ら、原稿地肌部の画像データ最高値をVGJとし、ピーク
増幅器2bの利得をAV1とすると、 DAE-G=INT〔(VG ×255)÷(VGJ×AV1)〕 =INT〔(vG ×AV0×255)÷(vGJ×AV0×AV1)〕 =INT〔(vG ×255)÷(vGJ×AV1)〕 ……(8) となり、(1)3(8)式から、 GDAE÷255=DAE-G÷DSH =〔vG ÷(vGJ×AV0×AV1)〕÷(vSH÷VREF0)……(9) となる。ここで、基準白板23の読み取り時も比較出力
手段3の比較基準入力端の値をピーク検出手段2のピー
ク値として求められる。即ち、(9)式のVREF0は、選
択回路7の入力端Cが選択されている原稿読み取り時の
ピーク検出手段2を通過したVREF-AEに対応したよう
に、基準白板23の読み取り出力がピーク検出手段2を
通過したものであるので、 VREF0=vSH×AV0×AV1 ……………………………(10) となる。これを(9)式に代入すると GDAE=(vG ÷vGJ)×255 …………………………(11) が得られ、増幅器の利得に左右されることなく、地肌を
飛ばすことが出来る。
When the conventional background removal function is used, the input terminal C of the selection circuit 7, that is, only when the document is read, that is,
Since the peak value of the peak detecting means 2 is selected, assuming that the comparison reference input value is V REF-AE , D AE-G = INT [(V G ÷ V REF-AE ) × 255] (7) ). Here, as can be seen from FIG. 1, in V REF-AE , since the output of the reading means 1 has passed through the peak detection means 2, the maximum image data value of the background portion of the document is set to V GJ, and the gain of the peak amplifier 2b is set. the When a V1, D AE-G = INT [(V G × 255) ÷ ( V GJ × a V1) ] = INT [(v G × a V0 × 255 ) ÷ (v GJ × a V0 × a V1 )] = INT [(v G × 255) ÷ (v GJ × A V1 )] becomes (8), and from equations (1) 3 (8), GD AE ÷ 255 = D AE-G ÷ D SH = [V G ÷ (v GJ × A V0 × A V1 )] ÷ (v SH ÷ V REF0 ) ... (9) Here, even when the reference white plate 23 is read, the value at the comparison reference input end of the comparison output means 3 is obtained as the peak value of the peak detection means 2. That is, V REF0 in the expression (9) corresponds to V REF-AE that has passed through the peak detection means 2 at the time of reading the original when the input terminal C of the selection circuit 7 is selected, and the read output of the reference white board 23 is obtained. Has passed through the peak detecting means 2, so that V REF0 = v SH × A V0 × A V1 (10). Substituting this into equation (9) gives GD AE = (v G ÷ v GJ ) × 255 ………………………… (11) You can fly.

【0022】一般に、地肌検出を行うピーク検出手段2
のピークホールド回路2aは、 1.ノイズや、原稿上の小さな点の明るさの影響を極力
小さくする。 2.比較的大きな黒べたの画像が存在してもピークに影
響を及ぼさない。 等が要求されるので、大きな時定数(図1ではτ0 =R
1×C1)を持たせている。しかし、コストの問題や、
画像処理装置の読み取り処理能力の向上から、基準白板
23の副走査方向の幅は出来るだけ短くする必要がある
ため、基準白板23のピーク検出時には時定数をより短
くするのが得策である。図1のピーク検出手段2の回路
中に、抵抗R1に並列の抵抗R2とスイッチSW1で構
成される時定数変更手段4を設けたのは、上記の対策で
あって、図7のWTGTゲートを開く間、スイッチSW
1を閉じることにより時定数を大きくして、上記の目的
が達せられる。(請求項2の説明) また、一部のPWINDゲートの幅を広げて地肌検出期
間を短縮することも可能である。図8はその様子を示し
たタイミング図であって、LSYNC信号は主走査同期
信号を、LGATEゲートは主走査画像有効期間を表
し、その他のゲートは図7で述べた通りである。PWI
NDゲートの幅を広げる範囲はSHGTゲートが閉じて
いるN1ライン期間としているが、これは主走査方向の
照度分布が図9に示すように、PWINDゲート内のピ
ーク値P1と、主走査方向の画像有効範囲内のピーク値
P0とが違っている場合に、何等対策を施さないとピー
クホールドした結果も違ってくる。即ち、シェーディン
グデータ生成期間中もPWINDゲート幅を広げた状態
にしておくと、原稿読み取り時とシェーディングデータ
生成中とで追従するピーク値が異なってしまうため、正
しく地肌を飛ばすことが出来ない。そこで、この不具合
を除去するために、SHGTゲートが開いている間中、
PWINDゲートの幅を広げる。そして、ピークホール
ド回路にピーク値が正常に保持されるN1ラインを待っ
て、シェーディングデータの生成を開始し、WTGTゲ
ートの開いている間、シェーディングデータの生成を続
ける。このように本実施例では、上記ピーク検出手段2
ピーク検出用ゲート幅を変更するゲート幅変更手段5を
備える。
Generally, the peak detecting means 2 for detecting the background
The peak hold circuit 2a of 1. Minimize the effects of noise and brightness of small dots on the original. 2. The presence of a relatively large black solid image does not affect the peak. , Etc. are required, a large time constant (τ 0 = R in FIG. 1)
1 × C1). However, cost issues,
Since the width of the reference white plate 23 in the sub-scanning direction needs to be made as short as possible in order to improve the reading processing capability of the image processing apparatus, it is a good idea to make the time constant shorter when the peak of the reference white plate 23 is detected. The reason for providing the time constant changing means 4 including the resistor R2 and the switch SW1 in parallel with the resistor R1 in the circuit of the peak detecting means 2 in FIG. 1 is the above countermeasure, and the WTGT gate in FIG. Switch SW during opening
By closing 1, the time constant can be increased and the above objective can be achieved. (Explanation of Claim 2) It is also possible to shorten the background detection period by widening the width of a part of the PWIND gates. FIG. 8 is a timing chart showing such a situation. The LSYNC signal represents the main scanning synchronizing signal, the LGATE gate represents the main scanning image effective period, and the other gates are as described in FIG. PWI
The range in which the width of the ND gate is widened is the N1 line period in which the SHGT gate is closed. This is because the illuminance distribution in the main scanning direction is the peak value P1 in the PWIND gate and the illuminance distribution in the main scanning direction, as shown in FIG. If the peak value P0 in the effective image range is different, the peak hold result will be different if no measures are taken. That is, if the PWIND gate width is kept wide even during the shading data generation period, the following peak value will be different between when the document is being read and when the shading data is being generated. Therefore, in order to eliminate this defect, while the SHGT gate is open,
Increase the width of the PWIND gate. Then, the generation of shading data is started after waiting for the N1 line where the peak value is normally held in the peak hold circuit, and the shading data generation is continued while the WTGT gate is open. As described above, in this embodiment, the peak detecting means 2 is used.
A gate width changing means 5 for changing the peak detecting gate width is provided.

【0023】ここでシェーディングデータの生成の方法
を検討すると、基準白板23の読み取りデータを上述し
た方法により、比較出力手段3によってデジタル化した
データDG0を得る。このデータDG0には、CCDの暗電
流からなるゼロレベルのバラツキを含んでおり、これを
除去するために、オプティカルブラック時のデータD
OPB をOPB検知回路11で検知し、減算器12を使っ
て比較出力手段3の出力値DG0から減算し、この後、シ
ェーディング補正回路13にてシェーディングデータを
生成する。シェーディング補正回路13の詳細な説明は
省略するが、シェーディングデータを生成するとWTG
TゲートとSHGTゲートを閉じ、同時にSW1を開い
てピークホールド回路2aの時定数を元に戻す。
Now, considering the method of generating shading data, the data D G0 obtained by digitizing the read data of the reference white board 23 by the comparison output means 3 is obtained by the method described above. This data D G0 contains a zero level variation due to the dark current of the CCD, and in order to remove this variation, the data D during optical black is used.
OPB is detected by the OPB detection circuit 11, and is subtracted from the output value D G0 of the comparison output means 3 by using the subtracter 12, and then the shading correction circuit 13 generates shading data. Although detailed description of the shading correction circuit 13 is omitted, when the shading data is generated, the WTG is generated.
The T gate and the SHGT gate are closed, and at the same time, SW1 is opened to restore the time constant of the peak hold circuit 2a.

【0024】なお、この状態では図1の構成からも明ら
かなように、ピークホールド回路2aのコンデンサC1
は充電されたままであるので、原稿22の地肌が基準白
板23より濃度的に暗い場合は、原稿22の地肌濃度を
正確に検知することが出来ない。そこで、図7に示すよ
うに、原稿22の読み取り前(FGATEゲートが開く
前)に、一度AEMODOゲートを閉じて、SW2を閉
じ、コンデンサC1の電荷を放電させている。放電が終
了すると、AEMODOゲートを再び開き、光学系が原
稿22の読み取りが出来る位置迄移動するのを待って、
FGATEゲートを開き原稿22の読み取りを開始す
る。原稿22の読み取り範囲が終了すると、FGATE
ゲートを閉じ、地肌検知期間を表すPWINDゲートも
閉じ、読取増幅器1cの利得D−AGCを所定の値に戻
す。その後、AEMODOゲートを閉じ、ピークホール
ド回路2aのコンデンサC1の電荷を放電すると共に、
選択回路7の出力を、ピーク検出手段2の出力である入
力端Cから、通常の入力端Bに戻し読み取り動作を終了
する。また、本実施例では、地肌除去処理における基準
白板23読み取り時に、ピークホールド(P/H)回路
2aのピーク値を正しく読み取る方法として、時定数を
変更する方法と、PWINDゲート幅を広げる方法を述
べたが、勿論2つの方法を同時に実施することも効果的
である。
In this state, as is clear from the configuration of FIG. 1, the capacitor C1 of the peak hold circuit 2a.
Since the battery is still charged, the background density of the document 22 cannot be accurately detected when the background of the document 22 is darker than the reference white plate 23. Therefore, as shown in FIG. 7, before reading the document 22 (before the FGATE gate is opened), the AEOMODO gate is once closed and the SW2 is closed to discharge the electric charge of the capacitor C1. When the discharge is completed, the AEOMODO gate is reopened, and the optical system is moved to a position where the original 22 can be read.
The FGATE gate is opened to start reading the original 22. When the reading range of the original 22 is completed, FGATE
The gate is closed, the PWIND gate representing the background detection period is also closed, and the gain D-AGC of the read amplifier 1c is returned to a predetermined value. After that, the AEOMODO gate is closed to discharge the electric charge of the capacitor C1 of the peak hold circuit 2a, and
The output of the selection circuit 7 is returned from the input end C, which is the output of the peak detection means 2, to the normal input end B, and the reading operation is completed. Further, in the present embodiment, as a method of correctly reading the peak value of the peak hold (P / H) circuit 2a when reading the reference white board 23 in the background removal processing, there are a method of changing the time constant and a method of widening the PWIND gate width. As mentioned above, of course, it is also effective to carry out the two methods simultaneously.

【0025】[0025]

【発明の効果】本発明は以上説明したように構成するの
で、請求項1の発明によれば、原稿を読み取る読取手段
と、読み取られた画素データのピーク値を検出するピー
ク検出手段と、ピーク検出手段で検出された値と、読取
手段1で読み取られた画素データの値とから出力値を決
定する比較出力手段を持たせ、シェーディングデータ生
成時にも、原稿画像の読み取りと同じピーク検出手段の
出力を用いて求めることが出来るようになったので、ピ
ーク検出手段の利得調整用に用いているボリュウム等の
可変手段を除去することが可能となり、調整に掛かる手
間を大幅に省くことが出来、更に、経時変化のバラツキ
の影響を排除することが可能になる。従って、面倒な調
整を不要とし、高精度な地肌飛ばしを行い得る画像処理
装置を提供する上で効果がある。
Since the present invention is configured as described above, according to the invention of claim 1, the reading means for reading the original, the peak detecting means for detecting the peak value of the read pixel data, and the peak A comparison output unit that determines an output value from the value detected by the detection unit and the value of the pixel data read by the reading unit 1 is provided, and the peak detection unit that is the same as the reading of the original image when the shading data is generated is also provided. Since it is possible to obtain it using the output, it is possible to remove the variable means such as the volume used for adjusting the gain of the peak detection means, and it is possible to greatly reduce the time and effort required for the adjustment. Furthermore, it becomes possible to eliminate the influence of variations in changes over time. Therefore, it is effective in providing an image processing device that can perform high-precision background removal without requiring troublesome adjustment.

【0026】請求項2の発明によれば、上記1項のピー
ク検出手段のピーク検出用時定数を変更する時定数変更
手段を備えたので、原稿読み取り時にはノイズ等に過剰
に反応しないようにピーク検出用の時定数を大きくし、
また、基準白板の読み取り時には時定数を短くして、基
準白板の幅を小さくしても正しいピーク検出が出来る。
従って、原稿読み取り時のノイズにも強く、原稿読み取
り処理速度の向上を図った画像処理装置を提供する上で
効果が大きい。
According to the invention of claim 2, since the time constant changing means for changing the peak detecting time constant of the peak detecting means of the above-mentioned item 1 is provided, the peak is prevented from excessively reacting to noise etc. at the time of reading the original. Increase the time constant for detection,
Further, when reading the reference white plate, the peak can be detected correctly even if the time constant is shortened and the width of the reference white plate is reduced.
Therefore, it is highly resistant to noise during document reading, and is highly effective in providing an image processing apparatus with an improved document reading processing speed.

【0027】請求項3の発明によれば、上記1項のピー
ク検出手段のピーク検出用ゲート幅を変更するゲート幅
変更手段を備えたので、基準白板の読み取り時にはゲー
ト幅を長くし、基準白板の幅を小さくしても正しいピー
ク検出が出来るようになる。また同時に、デジタル信号
のゲート幅を変更するのみであることから、コスト的に
も廉価であり、信頼性にも優れた画像処理装置を提供す
ることが出来る。
According to the invention of claim 3, since the gate width changing means for changing the peak detecting gate width of the peak detecting means of the above-mentioned item 1 is provided, the gate width is lengthened at the time of reading the reference white board so that the reference white board is read. The peak can be detected correctly even if the width of is reduced. At the same time, since only the gate width of the digital signal is changed, it is possible to provide an image processing apparatus that is inexpensive and has excellent reliability.

【0028】請求項4の発明によれば、上記1項、また
は、3項記載の画像処理装置において、シェーディング
データ生成前と、シェーディングデータ生成時及び原稿
画像読み取り時で上記ゲート幅変更手段のゲート幅を変
更可能にしたので、上記3項の効果の他に、更に、主走
査方向の照度のムラがあっても、正しいシェーディング
データを生成することが可能となる。
According to a fourth aspect of the present invention, in the image processing apparatus according to the first or third aspect, the gate of the gate width changing means is provided before the shading data is generated, when the shading data is generated, and when the original image is read. Since the width is changeable, correct shading data can be generated even if there is unevenness in the illuminance in the main scanning direction, in addition to the effect of the above item 3.

【0029】請求項5の発明によれば、シェーディング
データ生成後から原稿画像読み取り時迄の間に、上記ピ
ーク検出手段のピーク値をあらかじめ定められた値に戻
すピーク値変更手段を持たせたので、ピークホールド回
路が共通でも基準白板読み取り時の影響を受けずに原稿
の地肌を正しく検出出来る。従って、コスト的にも廉価
で、しかも長期間にわたって安定な地肌飛ばしを行い得
る画像処理装置を提供する上で効果が大きい。
According to the invention of claim 5, the peak value changing means for returning the peak value of the peak detecting means to a predetermined value is provided after the shading data is generated and before the document image is read. Even if the peak hold circuit is common, the background of the document can be correctly detected without being affected by the reading of the reference white plate. Therefore, it is very effective in providing an image processing apparatus which is inexpensive in cost and can perform stable background removal for a long period of time.

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

【図1】本発明の一実施例を示す画像処理装置の要部の
ブロック図である。
FIG. 1 is a block diagram of a main part of an image processing apparatus showing an embodiment of the present invention.

【図2】本発明を適用する画像処理装置の読み取り部の
一例を示す要部構成図である。
FIG. 2 is a main-part configuration diagram showing an example of a reading unit of an image processing apparatus to which the present invention is applied.

【図3】本発明の実施例を示す画像処理装置であって、
原稿台上にある原稿の地肌読み取り部を説明する図。
FIG. 3 is an image processing apparatus showing an embodiment of the present invention,
FIG. 4 is a diagram illustrating a background reading unit of a document on a platen.

【図4】本発明の一実施例の画像処理装置の基準白板読
み取り時の補正方法を説明する図。
FIG. 4 is a diagram illustrating a correction method when a reference white plate is read by the image processing apparatus according to the embodiment of the present invention.

【図5】本発明の実施例を示す画像処理装置の基準白板
読み取りの方法を説明する図。
FIG. 5 is a diagram illustrating a method of reading a reference white board of the image processing apparatus according to the embodiment of the present invention.

【図6】本発明の実施例を示す画像処理装置の原稿の地
肌部の読み取りの方法を説明する図。
FIG. 6 is a diagram illustrating a method of reading a background portion of a document in the image processing apparatus according to the embodiment of the present invention.

【図7】本発明の実施例を示す画像処理装置の読み取り
における要部のタイミングチャート図。
FIG. 7 is a timing chart of essential parts in reading by the image processing apparatus according to the embodiment of the present invention.

【図8】本発明の実施例を示す画像処理装置の読み取り
における要部の他のタイミングチャート図。
FIG. 8 is another timing chart of the main part in reading by the image processing apparatus showing the embodiment of the invention.

【図9】本発明の実施例を示す2つのピークを持った基
準白板読み取りを説明する図。
FIG. 9 is a diagram illustrating reading of a reference white plate having two peaks according to an embodiment of the present invention.

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

1・・・読取手段、1a・・・読み取り素子、1b・・
・サンプルホールド回路、1c・・・読取増幅器、1d
・・・ゼロクランプ回路、2・・・ピーク検出手段、2
a・・・ピークホールド回路、2b・・・ピーク増幅
器、3・・・比較出力手段、4・・・時定数変更手段、
5・・・ゲート幅変更手段、6・・・ピーク値変更手
段、7・・・選択回路、8・・・ゲート発生回路、9・
・・利得制御回路。10・・・CPU、11・・OPB
検知回路、12・・・減算器、13・・シェーディング
補正回路、21・・・コンタクトガラス、22・・・原
稿、23・・・基準白板、24・・・主走査方向スケー
ル、25・・・光源、26・・・第一ミラー、27・・
・第二ミラー、28・・・第三ミラー、29・・・レン
ズ、30・・・副走査方向スケール。
1 ... reading means, 1a ... reading element, 1b ...
.Sample hold circuit 1c ... reading amplifier 1d
... Zero clamp circuit, 2 ... Peak detection means, 2
a ... Peak hold circuit, 2b ... Peak amplifier, 3 ... Comparison output means, 4 ... Time constant changing means,
5 ... Gate width changing means, 6 ... Peak value changing means, 7 ... Selection circuit, 8 ... Gate generation circuit, 9 ...
..Gain control circuits 10 ... CPU, 11 ... OPB
Detection circuit, 12 ... Subtractor, 13 ... Shading correction circuit, 21 ... Contact glass, 22 ... Original, 23 ... Reference white plate, 24 ... Main scanning direction scale, 25 ... Light source, 26 ... First mirror, 27 ...
-Second mirror, 28 ... Third mirror, 29 ... Lens, 30 ... Sub-scanning direction scale.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 地肌除去機能を有し原稿画像データをデ
ジタル的に処理する画像処理装置において、原稿を読み
取る読取手段と、読み取った画素データのピーク値を検
出するピーク検出手段と、上記ピーク検出手段で検出さ
れた値と、上記読取手段で読み取った画素データの値と
から出力値を決定する比較出力手段を有し、地肌除去の
際のシェーディングデータ生成時に原稿画像読み取り時
と同様に上記ピーク検出手段の値と上記読取手段で読み
取った画素データの値とから上記比較出力手段によって
出力を決定するように構成したことを特徴とする画像処
理装置。
1. An image processing apparatus having a background removal function for digitally processing original image data, a reading unit for reading an original, a peak detecting unit for detecting a peak value of read pixel data, and the peak detection. It has a comparison output means for determining an output value from the value detected by the means and the value of the pixel data read by the reading means, and when the shading data is generated when the background is removed, the peak value is the same as when reading the original image. An image processing apparatus, characterized in that the comparison output means determines the output from the value of the detection means and the value of the pixel data read by the reading means.
【請求項2】 請求項1記載の画像処理装置において、
シェーディングデータ生成時と原稿画像読み取り時で、
上記ピーク検出手段のピーク検出用時定数を変更する時
定数変更手段を備えたことを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein
At the time of shading data generation and original image reading,
An image processing apparatus comprising a time constant changing means for changing the peak detecting time constant of the peak detecting means.
【請求項3】 請求項1記載の画像処理装置において、
シェーディングデータ生成時と原稿画像読み取り時で、
上記ピーク検出手段のピーク検出用ゲート幅を変更する
ゲート幅変更手段を備えたことを特徴とする画像処理装
置。
3. The image processing apparatus according to claim 1, wherein
At the time of shading data generation and original image reading,
An image processing apparatus comprising gate width changing means for changing the peak detecting gate width of the peak detecting means.
【請求項4】 請求項1、または、請求項3記載の画像
処理装置において、シェーディングデータ生成前と、シ
ェーディングデータ生成時及び原稿画像読み取り時で、
上記ゲート幅変更手段のゲート幅を変更するように構成
したことを特徴とする画像処理装置。
4. The image processing apparatus according to claim 1 or 3, wherein before shading data generation, during shading data generation and during document image reading,
An image processing apparatus, characterized in that the gate width of the gate width changing means is changed.
【請求項5】 請求項1記載の画像処理装置において、
シェーディングデータ生成後から原稿画像読み取り時迄
の間に、上記ピーク検出手段のピーク値をあらかじめ定
められた値に戻すピーク値変更手段を備えたことを特徴
とする画像処理装置。
5. The image processing apparatus according to claim 1, wherein
An image processing apparatus comprising peak value changing means for returning the peak value of the peak detecting means to a predetermined value after generation of shading data and reading of an original image.
JP17808395A 1995-06-21 1995-06-21 Image processing device Expired - Fee Related JP3893163B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17808395A JP3893163B2 (en) 1995-06-21 1995-06-21 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17808395A JP3893163B2 (en) 1995-06-21 1995-06-21 Image processing device

Publications (2)

Publication Number Publication Date
JPH099057A true JPH099057A (en) 1997-01-10
JP3893163B2 JP3893163B2 (en) 2007-03-14

Family

ID=16042337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17808395A Expired - Fee Related JP3893163B2 (en) 1995-06-21 1995-06-21 Image processing device

Country Status (1)

Country Link
JP (1) JP3893163B2 (en)

Also Published As

Publication number Publication date
JP3893163B2 (en) 2007-03-14

Similar Documents

Publication Publication Date Title
US6233011B1 (en) Apparatus and method for compensating image being sensed
US6175660B1 (en) Image reading apparatus
JP3554199B2 (en) Shading correction device, shading correction method, and image reading device
US5115478A (en) Image reader
US7359099B2 (en) Image reading device and image forming apparatus
JP3494462B2 (en) Signal processing device
JPH099057A (en) Picture processor
JP2872236B2 (en) Image reading device
JPH09224156A (en) Image processor
JPH0787281A (en) Document reader
EP1185078B1 (en) Black reference data calculation method and image reader
JP3014396B2 (en) Image reading device
JP3893162B2 (en) Image processing device
JPH11146199A (en) Picture reader
JPH02177669A (en) Picture reader
JP3544794B2 (en) Image processing device
JPH1169154A (en) Method and device for correcting shading
JPH09284557A (en) Image forming device
JP2000092325A (en) Image processor
JPH0810894B2 (en) Image reader
JP2002158838A (en) Image reader
JPH06164938A (en) Picture reader
JPH0865506A (en) Picture reader
JPH0662243A (en) Method for shading correction for image scanner
JPH02203671A (en) Shading correction processing unit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040628

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040915

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20041015

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061211

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101215

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101215

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111215

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111215

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121215

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131215

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees