JPS62281675A - Shading correction deciding circuit - Google Patents

Shading correction deciding circuit

Info

Publication number
JPS62281675A
JPS62281675A JP61126156A JP12615686A JPS62281675A JP S62281675 A JPS62281675 A JP S62281675A JP 61126156 A JP61126156 A JP 61126156A JP 12615686 A JP12615686 A JP 12615686A JP S62281675 A JPS62281675 A JP S62281675A
Authority
JP
Japan
Prior art keywords
shading correction
maximum
circuit
section
output
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
JP61126156A
Other languages
Japanese (ja)
Inventor
Katsuyasu Sugiyama
杉山 克保
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP61126156A priority Critical patent/JPS62281675A/en
Publication of JPS62281675A publication Critical patent/JPS62281675A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decide with high accuracy whether a shadihg correction is carried out properly or not by dividing the output of an image sensor into the prescribed number of sections and detecting the maximum and minimum values of the output of the image sensor within those divided sections. CONSTITUTION:A white reference plate is read by an image sensor 21 and the read signals equivalent to a single line are divided into the prescribed number of sections by a dividing circuit 52. Both the maximum and minimum values of the read signal in each section are detected by a maximum/minimum detecting circuit 51 with all sections equivalent to a single line. A deciding part 54 checks whether the maximum and minimum values of each section detected by the circuit 51 are coincident or not with the reference data set previously to the part 54. Then it is decided that the shading correction is not properly carried out if just a single discordant section is detected.

Description

【発明の詳細な説明】 3、発明の詳細な説明 産業上の利用分野 本発明はイメージセッサ等を備えたスキャナー装置等に
適用されるシエーテ−/り補正判定回路に関する。
DETAILED DESCRIPTION OF THE INVENTION 3. Detailed Description of the Invention Field of Industrial Application The present invention relates to a schema correction determination circuit applied to a scanner device equipped with an image sensor or the like.

従来の技術 第8図は従来のシェーディング補正判定回路の一例を備
えたシェーディング補正回路を示すブロック図である。
BACKGROUND OF THE INVENTION FIG. 8 is a block diagram showing a shading correction circuit including an example of a conventional shading correction determination circuit.

このシェーディング補正回路では、イメージセンサ1で
読みとられたアナログ信号は増幅器2で所定のレベルま
で増幅される。そして、A/Dコノバータ3でこのアナ
ログ信号はデジタル信号に変換される。その後、このデ
ジタル信号はシェーディング補正部16に入力する。
In this shading correction circuit, an analog signal read by an image sensor 1 is amplified to a predetermined level by an amplifier 2. This analog signal is then converted into a digital signal by the A/D converter 3. Thereafter, this digital signal is input to the shading correction section 16.

シェーディング補正部16は、基準白プレート等の色基
準板をイメージ七/す1で読んだときの1ライン分の信
号を記憶するRAM4と、RAM41こ記憶された信号
内容の逆数に比例したデータがあらかじめ書きこんでお
かれ、かつRAM4の出力に応じてこのデータが取り出
されるR OM 5 (!:、A/Dコノバータ3を介
して出力されるイメージセンサ1の読取データに対して
ROM5で取り出されたデータを掛は合わせる乗算器6
とを有し、光学系の(COS)  則による周辺光量の
低下あるいはイメージセンサ1の出力のビットばらつき
を補正するようにしている。
The shading correction unit 16 includes a RAM 4 that stores a signal for one line when a color reference plate such as a reference white plate is read with the image 7/s1, and a RAM 41 that stores data proportional to the reciprocal of the stored signal content. ROM 5 (!:) This data is written in advance and is taken out according to the output of the RAM 4. Multiplier 6 that multiplies and combines the obtained data
It is designed to correct a decrease in the amount of peripheral light due to the (COS) law of the optical system or bit variations in the output of the image sensor 1.

RAM4の出力側には比較回路16が接続されている。A comparison circuit 16 is connected to the output side of the RAM 4.

比較回路16は、初期値を変更でき、かつ、最初(ol
が記憶されたラッチ了と、後述のようにしてラッチ7か
ら出力されるデータ(以下、ラッチデータという)A及
びRAM7から出力されるデータ(以下、RAMデータ
という)Bを入力し、両データA、Bを比較して、B>
A (ここで、ラッチデータAのレベル、RAMデータ
Bのレベルをそれぞれ便宜上A、Bとする。)ならばこ
の旨を示す信号を出力する比較器8と、比較器8の出力
信号を受けてRAMデータBをラッチ7に記憶させるゲ
ート9とを有している。
The comparison circuit 16 can change the initial value and
is stored, and data A output from the latch 7 (hereinafter referred to as latch data) and data B output from the RAM 7 (hereinafter referred to as RAM data) are input, and both data A is input. , B>
A (here, the level of latch data A and the level of RAM data B are assumed to be A and B, respectively, for convenience), then the comparator 8 outputs a signal indicating this, and the comparator 8 receives the output signal of the comparator 8. It has a gate 9 for storing RAM data B in the latch 7.

ラッチTの出力側には比較器1oが接続されている。比
較器10には基準となるプリセットデータDがあらかじ
め入力設定されており、最終的にラッチ7から出力され
たラッチデータAはこのプリセットデータDと比較され
、ラッチデータAがプリセットデータDより大きいとき
はシェープインク補正が適切に行なわれないとして、こ
のことを示す信号をCPU(不図示)へ出力し、CPU
によってこの状態でのシェーディング補正を行なわせな
いようにしている。
A comparator 1o is connected to the output side of the latch T. The comparator 10 is preset with reference preset data D, and the latch data A finally output from the latch 7 is compared with this preset data D. When the latch data A is larger than the preset data D, outputs a signal indicating this to the CPU (not shown), indicating that the shape ink correction is not being performed properly.
This prevents shading correction from being performed in this state.

なお、上述の例はイメージセンサ1の出力において最大
値を参照してシェーディング補正の可否を判定するよう
にした例であるが、最小値を参照したりあるいは両者を
ともに参照してシェーディング補正の可否を判定するこ
とも可能である。
Note that the above example is an example in which the maximum value of the output of the image sensor 1 is referred to to determine whether shading correction is possible, but the minimum value or both are referred to to determine whether shading correction is possible. It is also possible to determine.

最小値を参照して判定を行なう場合、あらかじめラッチ
7に最大値データ(例えば8ビツトの回路なら16進の
rF’FJ)を書いておくとともに比較器8での比較で
A>Bとなったときゲート9が開けられRAMデータB
をラッチ7に記憶させるようにする。さらに、この場合
、比較器10での比較でA<Dと判定したとき、この状
態でのシェーディング補正が正常に行なわれない旨の信
号を比較器10からCPUへ出力させる。
When making a judgment by referring to the minimum value, write the maximum value data (for example, rF'FJ in hexadecimal for an 8-bit circuit) in latch 7 in advance, and check that A>B when compared by comparator 8. When gate 9 is opened, RAM data B
is stored in the latch 7. Further, in this case, when the comparison in the comparator 10 determines that A<D, the comparator 10 outputs a signal to the CPU to the effect that shading correction cannot be performed normally in this state.

また、最大値、最小値の両者を参照して判定を行なう場
合は前述したそれぞれの方法を組合せて行なうようにし
ている。
Further, when making a determination by referring to both the maximum value and the minimum value, the above-mentioned methods are used in combination.

発明が解決しようとする問題点 ところで、イメージ七/す1が基準白プレート100の
みを読み取った場合、このセ/す出力は同一レベルとな
らず例えば第9図に示すように最大値Vdmax 、最
小値Vdm1nを有した(008)’則に従った曲線で
表わせられ、この曲線に基づいてシェープインク補正が
行なわれる。しかしながら、このような時、基準白プレ
ート100上に第13図に示すように異物101が載置
されて、この状態で基準白プレート100部を読み取っ
てしまうことがある。この場合、セッサ出力は第10図
、第11図に示すようにくぼみをもった曲線となる(く
ぼみ底部のレベルvBは最小値Vdm1nに対して第1
0図では高く、第11図では低い)。このため、最大値
Vdmaxを参照した判定を行なうとき、くぼみを見の
がしてしまうため第9図、第10図、第11図に示すセ
ンサ出力は同等として扱い、適正なシェーディング補正
が行なわれなくなってしまう。最大値Vdmax 、最
小値Vdm1nの両者を参照する方法であれば第11図
に示すセッサ出力は第9図に示す七/升出力/’里なっ
ている七いうこ、L−は判別できるが、第10図に示す
ようなセッサ出力を得た時は第9図に示す七/す出力と
同等であると扱ってしまい適正なシェーディング補正が
行なわれない。
Problems to be Solved by the Invention By the way, when the image 7/S 1 reads only the reference white plate 100, the outputs of this S/S will not be at the same level, but for example, as shown in FIG. 9, the maximum value Vdmax and the minimum value It is represented by a curve according to the (008)' rule with a value Vdm1n, and shape ink correction is performed based on this curve. However, in such a case, a foreign object 101 may be placed on the reference white plate 100 as shown in FIG. 13, and the reference white plate 100 may be read in this state. In this case, the processor output becomes a concave curve as shown in FIGS. 10 and 11 (the level vB at the bottom of the concave is the first
high in Figure 0 and low in Figure 11). For this reason, when making a determination with reference to the maximum value Vdmax, the depressions are overlooked, and the sensor outputs shown in Figures 9, 10, and 11 are treated as being equal, and appropriate shading correction is not performed. . If the method refers to both the maximum value Vdmax and the minimum value Vdm1n, the processor output shown in FIG. When a processor output as shown in FIG. 10 is obtained, it is treated as equivalent to the 7/S output shown in FIG. 9, and proper shading correction is not performed.

また、例えば第8図に示す増幅器2が破損すると、第1
2図に示すようにセ/す出力が一定になってしまうこと
がある。そして、この場合、上述したような方法ではシ
ェーディング補正が正しく行なわれるか否かの判定が不
可能であった。
For example, if the amplifier 2 shown in FIG. 8 is damaged, the first
As shown in Figure 2, the output may become constant. In this case, it is impossible to determine whether shading correction is correctly performed using the method described above.

本発明は上記問題点に鑑みて為されたもので。The present invention has been made in view of the above problems.

イメージ七/す出力波形に応じた検出を行ない。Detection is performed according to the image output waveform.

この検出によってシェーディング補正が適正に行なわれ
るか否かを精度高く判定できるシェーディング補正判定
回路を提供することを目的とする。
It is an object of the present invention to provide a shading correction determination circuit that can accurately determine whether shading correction is properly performed through this detection.

問題点を解決するための手段 本発明は前記目的を達成するため、イメージセンサ1ラ
イ/分の読取信号を所定数の区間に分ける区分回路と、
この区分回路で分けられた各区間の読取信号の最大値及
び最小値を検出する最大・最小検出回路と、この最大・
最小検出回路で検出された最大値及び最小値をあらかじ
め設定してある基準データと比較して、この比較結果に
基づいてシェーディング補正実施の可否を判定する判定
部とを備えている。
Means for Solving the Problems In order to achieve the above-mentioned object, the present invention includes a dividing circuit that divides a read signal of an image sensor 1 rai/min into a predetermined number of sections;
A maximum/minimum detection circuit that detects the maximum and minimum values of the read signal in each section divided by this division circuit, and
The apparatus includes a determination section that compares the maximum value and minimum value detected by the minimum detection circuit with preset reference data, and determines whether or not shading correction can be performed based on the comparison result.

作   用 白基準板をイメージヤ/すで読み取り、この1ライノ分
の読取信号を区分回路で所定数の区間に分ける。それぞ
れの区間における読取信号の最大値及び最小値が1ライ
ン分全ての区間について最大・最小検出回路で検出され
る。最大・最小検出回路で検出された各区間の最大値、
最小値が判定部にあらかじめ設定してある基準データに
適合しているか否かが1ライン分の各区間にわたって判
定部で比較される。そして、適合しない区間が一つでも
あるとシェーディング補正は適切に行なわれないと判定
される。
The working white reference plate is read by an imager, and the reading signal for one rhino is divided into a predetermined number of sections by a dividing circuit. The maximum and minimum values of the read signal in each section are detected by a maximum/minimum detection circuit for all sections for one line. The maximum value of each section detected by the maximum/minimum detection circuit,
The determination unit compares each section of one line to determine whether the minimum value conforms to reference data preset in the determination unit. If there is even one section that does not match, it is determined that shading correction is not performed appropriately.

実施例 第1図は本発明の一実施例のシェーディング補正判定回
路を備えたシェーディング補正回路を示すブロック図で
ある。
Embodiment FIG. 1 is a block diagram showing a shading correction circuit including a shading correction determination circuit according to an embodiment of the present invention.

このシェーディング補正回路では、イメージセンサ21
で読み取って得られたアナログ信号は増幅器22で所定
のレベルまで増幅され、A/Dコノバータ23でデジタ
ル信号に変換される。このデジタル信号はシェーディン
グ補正部50に入力する。
In this shading correction circuit, the image sensor 21
The analog signal obtained by reading is amplified to a predetermined level by an amplifier 22 and converted to a digital signal by an A/D converter 23. This digital signal is input to the shading correction section 50.

シェーディング補正部60は、基準白プレート等の色基
準板をイメージセッサ21で読んだとき、この基準読取
信号を1ライン分記憶するRAM24と、RAM24に
記憶された基準読取信号の逆数に比例した補正データが
あらかじめ書きこんでおかれるROM25と、A/Dコ
ノパータ23を介して出力されるイメージセンサ21の
読取信号に対してROM26の補正データを掛は合わせ
る乗算器26とを有し、光学系の008則による周辺光
量の低下あるいはイメージヤ/す21の出力のビットば
らつきを補正し、これを出力するようにしている。
When a color reference plate such as a reference white plate is read by the image processor 21, the shading correction unit 60 includes a RAM 24 that stores one line of this reference read signal, and a correction proportional to the reciprocal of the reference read signal stored in the RAM 24. It has a ROM 25 in which data is written in advance, and a multiplier 26 that multiplies the read signal of the image sensor 21 outputted via the A/D converter 23 by the correction data of the ROM 26. The reduction in the amount of peripheral light according to the 008 rule or the bit variation in the output of the imager/sustainer 21 is corrected and outputted.

RAM24の出力側にはバッファ27を介して最大・最
小検出回路51が接続されている。最大・最小検出回路
61は6個の検出回路511.512.・・・616を
備えている。検出回路511.512.・・・・・・5
16のそれぞれは、イメージセンサ21の基準読取信号
の各区間(後述)1,2.・・・・・・6のそれぞれに
対応して設けられている。また、シェーディング補正部
50.最大・最小検出回路61に対して区分回路S2が
接続されている。そして、区分回路52によってイメー
ジセンサ21の基準読取信号(セッサ出力)は第2図に
示すように6個(本実施例で6個の場合について説明す
るが、必ずしも6個でなくてもよい)の区間1.2.・
・・・・・6に区分され、それぞれの区間に対応する検
出回路511.612、・・・・・・516に入力し、
ここで各区間の最大値及び最小値が検出され、検出回路
611,512、°°°・・°516毎に最大値、最小
値がバスライノ53を介してCPU54に出力されるよ
うになっている。
A maximum/minimum detection circuit 51 is connected to the output side of the RAM 24 via a buffer 27. The maximum/minimum detection circuit 61 includes six detection circuits 511.512. ...616. Detection circuit 511.512. ...5
16 correspond to each section (described later) of the reference read signal of the image sensor 21, 1, 2, . . . . are provided corresponding to each of 6. Further, the shading correction unit 50. A division circuit S2 is connected to the maximum/minimum detection circuit 61. Then, the dividing circuit 52 outputs six reference reading signals (sensor outputs) from the image sensor 21 as shown in FIG. Section 1.2.・
. . . is divided into 6 sections, and is input to detection circuits 511, 612, . . . 516 corresponding to each section,
Here, the maximum value and minimum value of each section are detected, and the maximum value and minimum value are output to the CPU 54 via the bus rhino 53 for each detection circuit 611, 512, °°°...°516. .

区分回路52は発振器28と、発掘器28に基づいてR
AM24ヘアドレス信号を、また、このアドレス信号と
同等の信号をデコ°−ダ3oへ送出するカウンタ29と
、入力信号に基づいて順次区間1イネーブル、区間2イ
ネーブル、・・・・・・区間6イネープルを出力し、検
出回路511.512.・・・・・516を切換え、作
動させるデコーダ30七を備えている。
The partitioning circuit 52 is based on the oscillator 28 and the excavator 28.
A counter 29 sends an address signal to the AM24 and a signal equivalent to this address signal to the decoder 3o, and a counter 29 that sends an address signal to the AM24 and a signal equivalent to this address signal to the decoder 3o, and a counter 29 that sequentially enables section 1 enable, section 2 enable, . . . section 6 based on the input signal. outputs enable and detects circuits 511, 512. . . 516 and is equipped with a decoder 307 that switches and operates the decoder 307.

検出回路511(検出回路612.・・・・・・516
は検出回路611と同一機能であり検出回路611で代
表して説明する。)は、初期値を変更でき、かつ、最初
”0“が記憶されたラッチ31と、このラッチ31から
出力されるデータ(以下ラッチデータという)A及びバ
ッファ27から入力され、この検出回路611に対応し
た区間1の基準読取信号(以下RAMデータという)B
を入力し、ラッチデータAとRAMデータBとを比較し
てA>BまたはA<B(ラッチデータAのレベルをA、
RAMデータBのレベルをBとする)をそれぞれ示す信
号を出力する比較器32と、A>BまたはA<Bを示す
信号を入力し最大値検出または最小値検出のそれぞれに
応じて例えば最大値検出のときはA<Bを示す信号、最
小値検出のときはA>Bを示す信号のようにいずれかを
選択し、これをOR回路33を介してゲート34へ出力
する切換部36とを有し、OR回路33の出力信号に応
じたデータがゲート34によって順次ラッチ31に記憶
されるようになっている。
Detection circuit 511 (detection circuit 612...516
has the same function as the detection circuit 611, and will be explained using the detection circuit 611 as a representative. ) is inputted from the latch 31 whose initial value can be changed and in which “0” is initially stored, the data (hereinafter referred to as latch data) A output from this latch 31, and the buffer 27, and is input to this detection circuit 611. Corresponding section 1 reference read signal (hereinafter referred to as RAM data) B
and compares latch data A and RAM data B to determine whether A>B or A<B (the level of latch data A is set to A,
A comparator 32 outputs a signal indicating the level of RAM data B (B is the level of RAM data B), and a signal indicating A>B or A<B is input, and the output signal is set to the maximum value, for example, according to maximum value detection or minimum value detection. A switching unit 36 selects either a signal indicating A<B at the time of detection, or a signal indicating A>B at the time of minimum value detection, and outputs this to the gate 34 via the OR circuit 33. Data corresponding to the output signal of the OR circuit 33 is sequentially stored in the latch 31 by the gate 34.

さらに、検出回路511はバッファ36をラッチ31の
出力側に備えており、区間1についてのラッチが終了す
ると、この記憶データがパスライン53ヲ介して0PU
64に出力されるようになっている。
Furthermore, the detection circuit 511 includes a buffer 36 on the output side of the latch 31, and when the latch for section 1 is completed, this stored data is transferred to 0PU via the pass line 53.
64.

なお、6個の検出回路511.512.・°616を有
した最大・最小検出回路51にはCPU64にバスライ
153を介してバッファ37が接続されており、このバ
ッファ37を介してラッチ31、比較器32゜ゲート3
4、バッファ36、切換部36が切換設定されて最大値
検出、最小値検出がそれぞれ行なわれる。すなわち、最
大値検出を行なうときは、ラッチ31を”00“(乙ま
た。切換部35はA<Bを示す信号を出力するように切
換設定しておく。すると、′00′よりレベルの低い信
号はA/Dコ/ハータ23から出力されず、また、A<
Bを示す信号の出力によって、ラッチデータAより大き
いRAMデータBがラッチ31に順次貯えられるように
なり、最終的に区間1の最大値が貯えられ、この最大値
が検出回路511で検出されることになる。一方、最小
値検出を行なうときは、ラッチ31を“FF”(データ
バスが8ビツトのときの16進表示。なお、本実施例で
は、8ビツトを例にするが、8ビツト以外のデータバス
のときはそのビット数に応じた最高値表示とする。)に
、また、切換部35はA)Bを示す信号を選択するよう
に設定される。そして、最小値が検出回路511で検出
される。
Note that six detection circuits 511, 512. A buffer 37 is connected to the CPU 64 via a bus line 153 to the maximum/minimum detection circuit 51 having an angle of 616 degrees, and a latch 31, a comparator 32, and a gate 3 are connected to the CPU 64 via a bus line 153.
4. The buffer 36 and the switching section 36 are switched and set to perform maximum value detection and minimum value detection, respectively. That is, when detecting the maximum value, the latch 31 is set to "00" (also 2).The switching unit 35 is set to output a signal indicating A<B. No signal is output from the A/D controller/harter 23, and A<
By outputting the signal indicating B, RAM data B, which is larger than latch data A, is sequentially stored in the latch 31, and finally the maximum value of section 1 is stored, and this maximum value is detected by the detection circuit 511. It turns out. On the other hand, when performing minimum value detection, the latch 31 is set to "FF" (hexadecimal display when the data bus is 8 bits. In this embodiment, 8 bits is taken as an example, but data buses other than 8 bits are , the highest value corresponding to the number of bits is displayed.), and the switching unit 35 is set to select the signal indicating A)B. Then, the minimum value is detected by the detection circuit 511.

CPU54はあらかじめ、第2図に示すように各区間1
,2.・・・6毎に基準最小値BVmin、基準最大値
BVmaxを基準データとして設定しており、このCP
U54に入力するデータは、これら基準最大値3Vma
x、基準最小値B Vm i nで示される範囲に収ま
っているか否かが判定される。すなわち、最大値検出を
検出回路511.512.・・・616で行なったとき
、ここから得られた最大値が基準最大値BVmaxを越
えていないか比較され、また、最小値検出を検出回路6
11.612.・・・516で行なったとき、ここから
得られた最小値が基準最小値BVm i nを下まわっ
ていないか比較される。これら比較は6個の検出回路5
11.512.・・・516各々について行なわれ、こ
の比較結果がいずれかにおいて基準最大値BVmax、
基準最小値BVminで示される範囲に収まらないこと
を示す場合、シェーディング補正が適正に行なわれない
旨の判定を行なう。なお、本実施例では区分回路52.
最大・最小検出回路51.0PUes4でシェープイッ
ク補正判定回路を構成している。
The CPU 54 presets each section 1 as shown in FIG.
,2. ...The reference minimum value BVmin and reference maximum value BVmax are set as reference data every 6, and this CP
The data input to U54 is the standard maximum value 3Vma.
It is determined whether or not x falls within the range indicated by the reference minimum value B Vmin. That is, the maximum value is detected by the detection circuits 511, 512. ...616, the maximum value obtained from this is compared to see if it exceeds the reference maximum value BVmax, and the detection circuit 6 detects the minimum value.
11.612. ...516, it is compared whether the minimum value obtained from this is less than the reference minimum value BVmin. These comparisons are made using six detection circuits 5
11.512. . . 516, and the comparison result is determined as the reference maximum value BVmax,
If the value is not within the range indicated by the reference minimum value BVmin, it is determined that the shading correction is not performed properly. Note that in this embodiment, the division circuit 52.
The maximum/minimum detection circuit 51.0 PUes4 constitutes a shaped correction determination circuit.

以上のように構成されたシェーディング補正回路では、
第3図に示すように基準白プレートがイメージセンサ2
1て読み取られ、この読取信号がRAM 24に記憶さ
れる。次に、区分回路52から区間1イネーブルが出力
され、区間1に対応する検出回路511がイネーブル状
態にされて、ラッチライト信号によってラッチ31に“
oo″(8ビツトの時)が書込まれる。次に、RA M
 24の記憶内容が読み出される。すると、ラッチ31
にはRAM 24の出力の最大値が保持され、この最大
値がパスライン63を介してCPU54に読み出される
。次に、ラッチ31に”F’F“を書込み、この状態か
らRAM24の内容を読み出す。すると、ラッチ31に
RAM24の最小値が保持される。この最小値がパスラ
イン53を介してCPU54に読み出される。そして、
この区間1の読取信号の最大値、最小値が区間1の基準
最大値BVmax、基準最小値BVm i nと比較さ
れ、基準最大値BVmax、基準最小値BVm i n
で示される範囲に収まっていないと判定されたときシェ
ーディング補正が適正に行なわれないと判定される。
In the shading correction circuit configured as above,
As shown in Figure 3, the reference white plate is connected to the image sensor 2.
1 is read, and this read signal is stored in the RAM 24. Next, section 1 enable is output from the division circuit 52, the detection circuit 511 corresponding to section 1 is enabled, and the latch 31 is set to "
oo'' (when 8 bits) is written. Next, RAM
The stored contents of 24 are read out. Then, latch 31
The maximum value of the output of the RAM 24 is held, and this maximum value is read out to the CPU 54 via the pass line 63. Next, "F'F" is written in the latch 31, and the contents of the RAM 24 are read from this state. Then, the minimum value of the RAM 24 is held in the latch 31. This minimum value is read out to the CPU 54 via the pass line 53. and,
The maximum value and minimum value of the read signal in section 1 are compared with the reference maximum value BVmax and reference minimum value BVmin of section 1, and the reference maximum value BVmax and reference minimum value BVmin are determined.
When it is determined that the value is not within the range indicated by , it is determined that shading correction is not performed properly.

同様にして、区分回路62によって、検出回路512、
613・・・・・・616が順次作動し、各区間の基準
読取信号の最大値、最小値が検出されてCPU54で基
準データと比較・判定される。
Similarly, the detection circuit 512,
613 . . . 616 operate in sequence, and the maximum and minimum values of the reference read signal in each section are detected and compared and determined by the CPU 54 with the reference data.

そして、このような動作によって、例えば第4図に示す
ように区間3に対応する位置にくぼみがある場合、この
区間3の基準最小値BVminより小さい最小値がある
ことが検出回路5i13で検出される。この場合、シェ
ーディング補正は適正に行なわれないと判定される。
Through such an operation, if there is a depression at a position corresponding to section 3 as shown in FIG. 4, for example, the detection circuit 5i13 detects that there is a minimum value smaller than the reference minimum value BVmin of this section 3. Ru. In this case, it is determined that shading correction is not performed properly.

また、第6図に示すように平坦なセ/す出力があったよ
うな場合、上述と同様にして適正なシェーディング補正
が行なわれないと判定される。
Further, in the case where there is a flat output as shown in FIG. 6, it is determined that appropriate shading correction is not performed in the same way as described above.

また、第5図に示すように区間32区間4に相当する部
分にくぼみがあると、検出回路513,514で区間3
,4のそれぞれの基準最小値BVminより小さい最小
値が検出される。この結果、このシェーディング補正部
50による補正は適正に行なわれないと判定される。
Further, as shown in FIG. 5, if there is a depression in the part corresponding to section 32 and section 4, the detection circuits 513 and 514
, 4 are detected, which are smaller than the respective reference minimum values BVmin. As a result, it is determined that the correction by this shading correction section 50 is not performed properly.

なお、本実施例では検出回路511.612.・・・5
16を6個設けた場合を説明したが必ずしも検出回路を
複数個設けなくてもよい。この例を第7図を参照して説
明する。
Note that in this embodiment, the detection circuits 511, 612. ...5
Although the case where six detection circuits 16 are provided has been described, it is not necessarily necessary to provide a plurality of detection circuits. This example will be explained with reference to FIG.

このシェーディング補正判定回路はデコーダ3oの出力
をバッファ38を介してCPU54へ取込むようにして
いる。この回路では、まず、バッファ37を通してラッ
チ31へ”00“が書込まれる。
This shading correction determination circuit takes in the output of the decoder 3o via the buffer 38 to the CPU 54. In this circuit, first, "00" is written into the latch 31 through the buffer 37.

次にRAM 24の出力を読み出し、デコーダ30の出
力をC!PUs4で監視しながら各区間の最大値を先に
検出する。次に、バッファ37を通してラッチ31へ”
FF“を書き、各区間の最小値を検出しcpu54へ書
き込むようにする。これら取込まれた最大値、最小値に
基づいてCPU54によってシェーディング補正が適正
に行なわれるか否か判定される。このような構成にする
ことによってハードウェアの量を少なくてきる。
Next, the output of the RAM 24 is read and the output of the decoder 30 is C! The maximum value of each section is first detected while being monitored by PUs4. Next, it passes through the buffer 37 to the latch 31.
FF" is written, and the minimum value of each section is detected and written to the CPU 54.Based on these maximum and minimum values, the CPU 54 determines whether shading correction is properly performed. By adopting such a configuration, the amount of hardware can be reduced.

発明の効果 以上の説明から明らかなように、本発明はイメージセッ
サの出力を所定数の区間に区分し、その区間内でイメー
ジ七/す出力の最大値、最小値を検出しており、イメー
ジセッサ出力波形に応じた検出が行なわれるのでシェー
ディング補正が適正に行なわれるか否わを精度高く判定
できる。
Effects of the Invention As is clear from the above explanation, the present invention divides the output of the image processor into a predetermined number of sections, and detects the maximum and minimum values of the image sensor output within the sections. Since detection is performed according to the sensor output waveform, it can be determined with high precision whether shading correction is being performed appropriately.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のシェープインク補正判定回
路を備えたシェーディング補正回路を示すブロック図、
第2図は同図に示す区分回路の動作例を示す概念図、第
3図は第1図に示す回路の動作例を示すタイミングチャ
ート、第4図は第1図のイメージセッサの読取信号の一
例を示す波形図、第5図は同イメージセッサの読取信号
の他の例を示す波形図、第6図は同イメージセッサのさ
らに他の読取信号の例を示す波形図、第7図は本発明の
他の実施例を備えたシェーディング補正回路を示すブロ
ック図、第8図は従来のシェーディング補正判定回路の
一例を備えたシェーディング補正回路を示すブロック図
、第9図は同図におけるイメージセンサが基準白プレー
トを読取ったときのセ/す出力を示す波形図、第10図
は同図のイメージ七/すが異物を載せた基準白プレート
を読取ったときのセッサ出力を示す波形図、第11図は
同図のイメージセッサが他の部位に異物を載せた基準白
プレートを読取ったときのセ/す出力を示す波形図、第
12図は第7図の増幅器が破損しているときに得られる
読取信号を示す波形図、第13図は白基準プレートに異
物が載った状態を示す概念図である。
FIG. 1 is a block diagram showing a shading correction circuit equipped with a shape ink correction determination circuit according to an embodiment of the present invention;
FIG. 2 is a conceptual diagram showing an example of the operation of the division circuit shown in the same figure, FIG. 3 is a timing chart showing an example of the operation of the circuit shown in FIG. A waveform diagram showing one example, FIG. 5 is a waveform diagram showing another example of the read signal of the same image processor, FIG. 6 is a waveform diagram showing still another example of the read signal of the same image processor, and FIG. FIG. 8 is a block diagram showing a shading correction circuit including an example of a conventional shading correction determination circuit, and FIG. 9 is a block diagram showing a shading correction circuit including an example of a conventional shading correction determination circuit. A waveform diagram showing the sensor output when reading the reference white plate, Fig. 10 is an image of the same figure. The figure is a waveform diagram showing the sensor output when the image processor in the same figure reads a reference white plate with a foreign object placed on another part, and Figure 12 is a waveform diagram obtained when the amplifier in Figure 7 is damaged. FIG. 13 is a conceptual diagram showing a state where a foreign object is placed on the white reference plate.

Claims (1)

【特許請求の範囲】[Claims] イメージセンサ1ライン分の読取信号を所定数の区間に
分ける区分手段と、この区分手段で分けられた区間毎に
前記読取信号の最大値及び最小値を検出する最大・最小
検出手段と、この最大・最小検出手段で検出された最大
値及び最小値をあらかじめ設定してある基準データと比
較して、この比較結果に基づいてシェーディング補正の
実施の可否を判定する判定部とを備えたことを特徴とす
るシェーディング補正判定回路。
dividing means for dividing the read signal for one line of the image sensor into a predetermined number of sections; maximum/minimum detection means for detecting the maximum and minimum values of the read signal for each section divided by the dividing means; - A determination unit that compares the maximum value and minimum value detected by the minimum detection means with preset reference data and determines whether or not shading correction can be performed based on the comparison result. A shading correction determination circuit.
JP61126156A 1986-05-30 1986-05-30 Shading correction deciding circuit Pending JPS62281675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61126156A JPS62281675A (en) 1986-05-30 1986-05-30 Shading correction deciding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61126156A JPS62281675A (en) 1986-05-30 1986-05-30 Shading correction deciding circuit

Publications (1)

Publication Number Publication Date
JPS62281675A true JPS62281675A (en) 1987-12-07

Family

ID=14928059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61126156A Pending JPS62281675A (en) 1986-05-30 1986-05-30 Shading correction deciding circuit

Country Status (1)

Country Link
JP (1) JPS62281675A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02143678A (en) * 1988-11-24 1990-06-01 Fujitsu Ltd Adjustment display device in optical reader

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02143678A (en) * 1988-11-24 1990-06-01 Fujitsu Ltd Adjustment display device in optical reader

Similar Documents

Publication Publication Date Title
EP0494026A2 (en) Method for automatically distinguishing between graphic information and text information of image data
CN1882040A (en) Image display device and method
US4924465A (en) Memory with function test of error detection/correction device
JPS62281675A (en) Shading correction deciding circuit
JP2723687B2 (en) Test equipment for driving circuits for display devices
US20050280721A1 (en) Method for providing combined gain compensation and error correction of a camera pickup array and an apparatus for implementing the method
JPH07281153A (en) Liquid crystal display device
EP0558341B1 (en) Image processing apparatus
US6850641B2 (en) Image processing apparatus
JPS5820064A (en) Automatic contrast control circuit
US7570258B2 (en) Method for adjusting the scanning frequency and/or scanning phase of a digital image reproducing device
JP4154102B2 (en) Image processing apparatus and image processing method
JP2921685B2 (en) Image data correction device
JPS63285680A (en) Picture processor
JP3392934B2 (en) Data symbol reading device
JPS58161566A (en) Original reading device
JPH01241268A (en) Picture reader
JP3226534B2 (en) Document reading device
JPH02141065A (en) Original reader
JPH01142810A (en) Control device
JPS62233978A (en) Picture formation device
JPS61290866A (en) Color picture processing unit
JPH02298160A (en) Image scanner
JPH0379166A (en) Shading correction circuit
JPS62195980A (en) Picture reader