JPH09186871A - Image reader - Google Patents

Image reader

Info

Publication number
JPH09186871A
JPH09186871A JP8000282A JP28296A JPH09186871A JP H09186871 A JPH09186871 A JP H09186871A JP 8000282 A JP8000282 A JP 8000282A JP 28296 A JP28296 A JP 28296A JP H09186871 A JPH09186871 A JP H09186871A
Authority
JP
Japan
Prior art keywords
image
reading
data
shading
signal
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.)
Withdrawn
Application number
JP8000282A
Other languages
Japanese (ja)
Inventor
Muneki Nakao
宗樹 中尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP8000282A priority Critical patent/JPH09186871A/en
Publication of JPH09186871A publication Critical patent/JPH09186871A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an image reader by which useless interruption of reading is avoided. SOLUTION: Shading data 601 written in a protect SRAM at preliminary scanning and shading data 602 read from a shading data and written in a DRAM at original reading are compared in an optional corresponding range. From n-th bit to an m-th bit from the head of both data are divided into d- divisions and blocks of divided bit string are compared to calculate a matching rate of data bits. Then the matching rate of each block is calculated based on (matching bit number)/(bit number of one block), and when the matching decision rate for a decided block exceeds the matching rate of all blocks, it is decided that the shading data in the shading memory is not destroyed.

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 for reading an original image used in a facsimile machine or the like with an image sensor.

【0002】[0002]

【従来の技術】図5は、従来の画像読取装置の一例を示
すブロック図である。この装置では、イメージセンサと
してCCDセンサを用いている。
2. Description of the Related Art FIG. 5 is a block diagram showing an example of a conventional image reading apparatus. This device uses a CCD sensor as an image sensor.

【0003】CCDセンサ2は、読み取った原稿画像の
光量を電気量に変換し出力し、ドライバ回路4から供給
されるクロック信号により駆動される。CCDセンサ2
から出力された画像信号は、アンプ回路6により適切な
レベルまで増幅され、サンプルホールド回路8において
原稿画像に対応する部分のみを抜き出し、直流再生回路
10により画像信号の黒出力レベルを処理回路のバイア
ス電圧に一致させる。
The CCD sensor 2 converts the light quantity of the read original image into an electric quantity and outputs it, and is driven by a clock signal supplied from the driver circuit 4. CCD sensor 2
The image signal output from the amplifier is amplified to a proper level by the amplifier circuit 6, only the portion corresponding to the original image is extracted in the sample hold circuit 8, and the black output level of the image signal is biased in the processing circuit by the DC reproducing circuit 10. Match the voltage.

【0004】そしてピークホールドABC回路は、原稿
画像の下地濃度を考慮して画像二値化処理を行う(AB
C:AUTO BACKGROUND CONTROL
と呼ぶ)ために、1ラインの読み取りの中で出力のピー
ク値を検出し、シェーディング補正回路14によりCC
Dセンサ2の受光感度のばらつきや読み取り機構系の片
寄りの為に出力信号が不均一になるのを電気的に補正す
る。
The peak hold ABC circuit performs the image binarization process in consideration of the background density of the original image (AB
C: AUTO BACKGROUND CONTROL
Therefore, the peak value of the output is detected during reading of one line, and the shading correction circuit 14 detects the CC value.
The non-uniformity of the output signal due to the variation of the light receiving sensitivity of the D sensor 2 and the deviation of the reading mechanism system is electrically corrected.

【0005】補正された信号は、A/Dコンバータ16
によりピークホールドABC回路12及びシェーディン
グ補正回路14のリファレンス信号を用いて直流再生後
のビデオ信号を二値化して画像データを出力する。読み
取り制御部18は、以上の各部のクロックタイミングや
制御信号タイミングを管理制御し、最終的にA/Dコン
バータ16で二値化された画像データを受け取り、画像
処理するものであり、さらにシステム全体のMPU19
により制御される。
The corrected signal is sent to the A / D converter 16
By using the reference signals of the peak hold ABC circuit 12 and the shading correction circuit 14, the video signal after DC reproduction is binarized and the image data is output. The read control unit 18 manages and controls the clock timing and control signal timing of each of the above units, finally receives the image data binarized by the A / D converter 16, and performs image processing. The MPU 19
Is controlled by

【0006】次に図6は、図5におけるピークホールド
ABC回路12及びシェーディング補正回路14を詳細
に示す回路図である。
FIG. 6 is a circuit diagram showing in detail the peak hold ABC circuit 12 and shading correction circuit 14 shown in FIG.

【0007】ここで、点線で囲まれた12がピークホー
ルドABC回路に相当し、14がシェーディング補正回
路に相当する。直流再生回路10から出力されてきたビ
デオ信号24は、分圧抵抗26,28により分圧され、
アナログスイッチ30に入力される。アナログスイッチ
30は、読み取り制御部18からの制御出力信号により
ABC範囲において閉結する。
Here, 12 surrounded by a dotted line corresponds to a peak hold ABC circuit, and 14 corresponds to a shading correction circuit. The video signal 24 output from the DC reproducing circuit 10 is divided by the voltage dividing resistors 26 and 28,
It is input to the analog switch 30. The analog switch 30 is closed in the ABC range by the control output signal from the read control unit 18.

【0008】コンパレータ32では、入力されたビデオ
信号レベルと現在のピーク値とを比較し、比較結果に応
じてアナログスイッチ36を開閉する。アナログスイッ
チ36は、ビデオ信号のピーク値をホールドするための
ピークホールドコンデンサ38を充電する際に閉結し、
ピーク値信号42は充電抵抗34により充電され、アナ
ログスイッチ36を開放することで放電抵抗38により
放電される。
The comparator 32 compares the input video signal level with the current peak value and opens / closes the analog switch 36 according to the comparison result. The analog switch 36 is closed when the peak hold capacitor 38 for holding the peak value of the video signal is charged,
The peak value signal 42 is charged by the charging resistor 34 and discharged by the discharging resistor 38 by opening the analog switch 36.

【0009】バッファアンプ44は、ピーク値信号42
をバッファし、充電抵抗45を介してアナログスイッチ
46に入力される。アナログスイッチ46は、メモリ読
み出しデータ信号59により開閉され、シェーディング
コンデンサ52に充電を行う際に閉結し、充電抵抗45
により充電される。また、アナログスイッチ48は、イ
ンバータ50により反転されたメモリ読み出しデータ5
9により、シェーディングコンデンサ52の放電を行う
際に閉結し、放電抵抗54により放電される。
The buffer amplifier 44 has a peak value signal 42.
Is input to the analog switch 46 via the charging resistor 45. The analog switch 46 is opened / closed by the memory read data signal 59, and is closed when the shading capacitor 52 is charged, and the charging resistor 45 is connected.
Is charged. Further, the analog switch 48 controls the memory read data 5 inverted by the inverter 50.
9, the shading capacitor 52 is closed when discharged, and discharged by the discharge resistor 54.

【0010】コンパレータ56では、ビデオ信号24と
シェーディングコンデンサ52からの放電出力であるリ
ファレンスデータ60とを比較し、メモリ書き込みデー
タ信号57を出力し、シェーディングメモリ58にシェ
ーディング補正データが蓄積される。そしてシェーディ
ングメモリ58からは出力されるメモリ読み出しデータ
59が出力され、アナログスイッチ46,48の開閉を
行う。シェーディング補正データのシェーディングメモ
リへの書き込み、読み出しは読み取り制御部18から出
力されるメモリ制御信号64により制御される。
The comparator 56 compares the video signal 24 with the reference data 60 which is the discharge output from the shading capacitor 52, outputs the memory write data signal 57, and stores the shading correction data in the shading memory 58. Then, the memory read data 59 that is output from the shading memory 58 is output, and the analog switches 46 and 48 are opened and closed. Writing and reading of the shading correction data to and from the shading memory is controlled by the memory control signal 64 output from the read control unit 18.

【0011】アナログスイッチ66は、コンパレータ3
2の(−)入力への入力信号をピーク値信号42とリフ
ァレンス信号60とで切り換えるもので、この切り換え
は、読み取り制御部18から出力される制御出力信号6
6により行われる。
The analog switch 66 is the comparator 3
The input signal to the (-) input 2 is switched between the peak value signal 42 and the reference signal 60. This switching is performed by the control output signal 6 output from the reading control unit 18.
6 is performed.

【0012】次に図5及び図6に示した撮像装置の読み
取り動作を説明する。
Next, the reading operation of the image pickup apparatus shown in FIGS. 5 and 6 will be described.

【0013】まず、1ページ目の原稿の読み取りに先立
って、シェーディング補正を行うためのシェーディング
波形を記憶するために装置内に設けられた読み取り白地
(基準白地)の読み取り動作であるプリスキャン動作を
行う。
First, prior to the reading of the first page of the document, a prescan operation for reading a white reading background (reference white background) provided in the apparatus for storing a shading waveform for shading correction is performed. To do.

【0014】図6において、ABC範囲信号62によっ
てアナログスイッチ30が閉結し、ビデオ信号24がコ
ンパレータの(+)入力に入力される。一方、スイッチ
切り換え信号68により、アナログスイッチ66がピー
ク値42側に設定されるため、コンパレータ32の
(−)入力には、ホールドされたピーク値42が入力さ
れており、この比較によって、(ビデオ信号)>(ピー
ク値)ならばアナログスイッチ36は閉結され、充電抵
抗34を介してピークホールドコンデンサ38に充電を
行い、ピーク値42を上昇させる。逆に(ビデオ信号)
<(ピーク値)ならばアナログスイッチ36は開放のま
まで、ピーク値42は変化しない、この結果、最終的に
ピーク値42はビデオ信号24のピーク値に一致する。
In FIG. 6, the analog switch 30 is closed by the ABC range signal 62, and the video signal 24 is input to the (+) input of the comparator. On the other hand, since the analog switch 66 is set to the peak value 42 side by the switch changeover signal 68, the held peak value 42 is input to the (−) input of the comparator 32. Signal)> (peak value), the analog switch 36 is closed, the peak hold capacitor 38 is charged through the charging resistor 34, and the peak value 42 is increased. Conversely (video signal)
If <(peak value), the analog switch 36 remains open and the peak value 42 does not change. As a result, finally the peak value 42 matches the peak value of the video signal 24.

【0015】このピーク値42は、バッファアンプ44
を介して以降に伝達される。ここでコンパレータ56
は、(+)入力に入力されているビデオ信号24と、
(−)入力のリファレンス信号60とを比較して(ビデ
オ信号)>(リファレンス信号)ならばメモリ書き込み
データ信号57は1(high)となり、(ビデオ信
号)<(リファレンス信号)ならば0(low)とな
る。
The peak value 42 is stored in the buffer amplifier 44.
It is transmitted later via. Here, the comparator 56
Is the video signal 24 input to the (+) input,
The (-) input reference signal 60 is compared, and if (video signal)> (reference signal), the memory write data signal 57 becomes 1 (high), and if (video signal) <(reference signal), 0 (low). ).

【0016】プリスキャンモードの時は、メモリ制御信
号64によってコンパレータ出力57は、メモリ58に
書き込まれると同時にメモリ読み出し信号59に出力さ
れる。これによりメモリ読み出し信号59が1(hig
h)の時は、アナログスイッチ46は閉結され、アナロ
グスイッチ48は開放となり、ピーク値42はバッファ
アンプ44、充電抵抗45を介してシェーディングコン
デンサ52に充電を行う。逆にメモリ読み出し信号59
が0(low)の時は、アナログスイッチ46は開放さ
れ、アナログスイッチ48は閉結となり、シェーディン
グコンデンサ52から放電抵抗54を介して放電が行わ
れる。
In the pre-scan mode, the memory control signal 64 causes the comparator output 57 to be written in the memory 58 and at the same time output as the memory read signal 59. As a result, the memory read signal 59 becomes 1 (high
In the case of h), the analog switch 46 is closed, the analog switch 48 is opened, and the peak value 42 charges the shading capacitor 52 via the buffer amplifier 44 and the charging resistor 45. Conversely, the memory read signal 59
Is 0 (low), the analog switch 46 is opened, the analog switch 48 is closed, and the shading capacitor 52 is discharged through the discharge resistor 54.

【0017】以上のシェーディングコンデンサ52への
充放電を繰り返すことによりリファレンス信号上に現在
の読み取りラインのビデオ信号波形をシェーディングコ
ンデンサ52の充放電で近似した波形が現れ、同時にメ
モリ58にこの充放電データ(シェーディングデータ)
が蓄積される。通常、ピークホールドコンデンサ38へ
のピーク値の充電に時間を要することから、以上のよう
なプリスキャン動作は数ラインにわたって繰り返され、
シェーディングデータを得るようにしている。メモリ5
8は、バックアップ可能であるが、システム全体のデー
タバスとつながっていないためMPUと直接アクセスは
できない。よって、プロテクトはかけられない。
By repeating the above-mentioned charging / discharging of the shading capacitor 52, a waveform which is similar to the video signal waveform of the current reading line by the charging / discharging of the shading capacitor 52 appears on the reference signal, and at the same time, this charging / discharging data is stored in the memory 58. (Shading data)
Is accumulated. Normally, it takes time to charge the peak hold capacitor 38 with the peak value, so the above prescan operation is repeated over several lines,
I am trying to get the shading data. Memory 5
8 can be backed up, but cannot directly access the MPU because it is not connected to the data bus of the entire system. Therefore, it cannot be protected.

【0018】次に実際の原稿読み取り動作について説明
する。ABC範囲信号62は、原稿幅に対してABC範
囲内でアナログスイッチ30を閉結するが、本例では
(原稿幅)=(ABC範囲)として原稿読み取り中はア
ナログスイッチ30は閉結しているものとする。
Next, the actual document reading operation will be described. The ABC range signal 62 closes the analog switch 30 within the ABC range with respect to the document width, but in this example, (document width) = (ABC range), the analog switch 30 is closed during document reading. I shall.

【0019】よって、原稿読み取りビデオ信号24は、
コンパレータ32の(+)に至るが、原稿読み取り時は
スイッチ切り換え信号68によりアナログスイッチ66
は、リファレンス信号60側に設定され、コンパレータ
32の(−)にはリファレンス信号60が入力され、両
者の比較により先と同様にアナログスイッチ36の開閉
によって、ビデオ信号24とリファレンス信号60とが
一致するように動作する。
Therefore, the original reading video signal 24 is
Although it reaches the (+) of the comparator 32, when the document is read, the analog switch 66 is operated by the switch switching signal 68.
Is set on the reference signal 60 side, the reference signal 60 is input to the (−) of the comparator 32, and the video signal 24 and the reference signal 60 are matched by opening and closing the analog switch 36 in the same manner as above by comparing both. To work.

【0020】一方、メモリ制御信号64によって読み取
りラインごとにラインに同期してさきに蓄積したシェー
ディング補正データをシェーディングメモリ58から読
み出して、1(high),2(low)のシェーディ
ングデータにしたがって、アナログスイッチ46,48
を開閉してシェーディングコンデンサ52の充放電によ
ってリファレンス信号60にプリスキャン時に得たシェ
ーディング波形を再現する。
On the other hand, by the memory control signal 64, the shading correction data stored previously for each line to be read is read from the shading memory 58, and analog data is read according to the shading data of 1 (high) and 2 (low). Switches 46, 48
Is opened and closed to reproduce the shading waveform obtained in the prescan for the reference signal 60 by charging and discharging the shading capacitor 52.

【0021】以上によって、得られたリファレンス信号
は、図5のA/Dコンバータ16のリファレンス入力
(REF)に入力され、一方ビデオ信号はA/Dコンバ
ータ16のアナログ入力(Vin)に入力されるので、
シェーディング補正された正確な二値化画像データが得
られ、読み取り制御部18に送られる。
The reference signal thus obtained is input to the reference input (REF) of the A / D converter 16 shown in FIG. 5, while the video signal is input to the analog input (Vin) of the A / D converter 16. So
Accurate binarized image data that has undergone shading correction is obtained and sent to the reading control unit 18.

【0022】以上の1ラインの動作を副走査方向に繰り
返すことにより1ページの読み取りが行われる。
One page is read by repeating the above operation of one line in the sub-scanning direction.

【0023】[0023]

【発明が解決しようとする課題】しかしながら、上記し
たような従来の画像読取装置では、読み取り白地(基準
白地)などのプリスキャン動作のための読み取り機構が
装置内に設けてあるので、構成が複雑になっており、コ
ストアップや装置デザインの自由度を妨げる要因となっ
ていた。
However, in the conventional image reading apparatus as described above, a reading mechanism for prescan operation such as a reading white background (reference white background) is provided in the apparatus, so that the structure is complicated. It has become a factor that hinders the cost increase and the freedom of the device design.

【0024】また、一回のプリスキャン動作によって得
られたシェーディングデータをメモリに保持し、そのデ
ータを永久に使用する画像読取装置では、長時間の電源
OFFによるバックアップ電池の電圧低下や、異常電圧
(雷サージ、静電気etc)によってシェーディングメ
モリの内部データの破壊が発生した場合、正常な中間調
画像が得られなかった。
Further, in an image reading apparatus that holds shading data obtained by one pre-scan operation in a memory and uses the data permanently, a voltage drop of a backup battery or an abnormal voltage due to long-time power OFF. When the internal data of the shading memory was destroyed by (lightning surge, static electricity etc), a normal halftone image could not be obtained.

【0025】一方、シェーディングデータを永久に使用
する画像読取装置においては、シェーディングデータが
破壊されているかどうかの判断を行うために通常の読み
取り動作を行う場合と、同一のデータバスを使用するこ
とで画像処理用記憶手段内のシェーディングデータを読
み出すために、100%の確率で正しく読み出しができ
ない場合があった。
On the other hand, in the image reading apparatus which permanently uses the shading data, the same data bus is used as in the case where the normal reading operation is performed in order to judge whether or not the shading data is destroyed. Since the shading data in the image processing storage means is read, there is a case where the reading cannot be correctly performed with a probability of 100%.

【0026】また100%正しく読み出せた場合におい
ては、実使用上問題ない範囲で画像処理用記憶手段内の
シェーディングデータが破壊されているという場合があ
る。これらの2つの状況においては、読み出された画像
処理用記憶手段内のシェーディングデータとシェーディ
ングデータ確認手段に保持してあるシェーディングデー
タとの比較において、破壊されたものとした判断がなさ
れ、実際には破壊されていない、また、実使用上問題な
い場合でも固定(直線)のシェーディングデータが選択
される不具合があった。
Further, when the data can be read out 100% correctly, the shading data in the image processing storage means may be destroyed within a range where there is no problem in actual use. In these two situations, a comparison is made between the read shading data in the image processing storage means and the shading data held in the shading data confirmation means, and it is judged that the data has been destroyed, and actually, Was not destroyed, and there was a problem that fixed (straight line) shading data was selected even when there was no problem in actual use.

【0027】[0027]

【課題を解決するための手段】本発明は、上記課題を解
決するためになされたもので、原稿画像を読取り画像信
号に変換する読取手段と、前記読取手段により基準部材
を読取ることで得られる画像データを記憶する第1及び
第2の記憶手段と、前記読取手段による原稿画像の読取
り開始前に前記第1及び第2の記憶手段にそれぞれ記憶
されている画像データを比較し、一致するビット数に応
じて画像データの破壊を検出する検出手段と、前記検出
手段によりデータの破壊が検出されないときに前記読取
手段による原稿画像の読取りを行い、得られた画像信号
を前記第1の記憶手段に記憶された画像データを用いて
補正するように制御する制御手段と、を有することを特
徴とするものである。
The present invention has been made to solve the above problems, and is obtained by reading a document image into a read image signal and a reference member read by the reading unit. The first and second storage means for storing image data are compared with the image data respectively stored in the first and second storage means before the reading of the original image by the reading means, and the coincident bits are compared. Detecting means for detecting the destruction of the image data according to the number, and reading the original image by the reading means when the detecting means does not detect the destruction of the data, and the obtained image signal is stored in the first storing means. And a control means for controlling so as to perform correction using the image data stored in.

【0028】[0028]

【発明の実施の形態】図1は、本発明の実施の形態をブ
ロック図で示したものである。また、図2は、図1のピ
ークホールドABC回路、シェーディング補正回路14
及びシェーディングデータ確認回路の詳細な回路構成図
である。図1または図2において、従来装置を説明した
図5または図6と同一の構成については、同一の番号を
付し、説明を省略する。ただし、読み取りセンサ2は、
コンタクトセンサ(CS)である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of the present invention. Further, FIG. 2 shows the peak hold ABC circuit and the shading correction circuit 14 of FIG.
FIG. 3 is a detailed circuit configuration diagram of a shading data confirmation circuit. 1 or 2, the same configurations as those of FIG. 5 or 6 which describe the conventional device are denoted by the same reference numerals and the description thereof will be omitted. However, the reading sensor 2
It is a contact sensor (CS).

【0029】図1においてメモリプロテクト手段13
は、図2のシステムバスに接続されているSRAM71
に対してチップセレクト信号を出力せずに、メモリをプ
ロテクトするためのものである。
In FIG. 1, memory protection means 13
Is the SRAM 71 connected to the system bus of FIG.
For protecting the memory without outputting the chip select signal.

【0030】本実施の形態における画像読取装置の動作
について図3のフローチャートを用いて説明する。
The operation of the image reading apparatus according to this embodiment will be described with reference to the flowchart of FIG.

【0031】まず、シェーディングデータ生成の動作に
ついてであるが、従来同様プリスキャンモードにて行
う。図1の読み取り制御部18をプリスキャンモードに
設定し、ステップS1において、表示手段17に『白基
準原稿をセットしてください』とメッセージを表示す
る。その後、ステップS2において、白基準原稿がある
か否かを検出し、ステップS3において、アナログスイ
ッチ66をP側にセットする。ステップS4において、
白基準原稿をセンサの読み取り位置までフィードし、ス
テップS5において、白基準となる原稿を読み取る。白
基準原稿で白基準の読み取り位置は、原稿の流れる方向
に対して原稿の先端部分より原稿の中央部分までの範囲
において、より先端部に近い部分で行う。
First, regarding the operation of shading data generation, the operation is performed in the pre-scan mode as in the prior art. The reading control unit 18 of FIG. 1 is set to the prescan mode, and in step S1, a message "Please set the white reference document" is displayed on the display unit 17. Then, in step S2, it is detected whether or not there is a white reference document, and in step S3, the analog switch 66 is set to the P side. In step S4,
The white reference document is fed to the reading position of the sensor, and in step S5, the white reference document is read. The reading position of the white reference on the white reference document is the position closer to the leading end in the range from the leading end of the document to the center of the document with respect to the flowing direction of the document.

【0032】センサからはビデオ信号が出力され、直流
再生後のピークホールドABC部に入力される。プリス
キャンモードのためアナログスイッチ66はP側になっ
ており、ステップS6において、シェーディングメモリ
58にビデオ信号のピーク値に相当するリファレンス信
号とビデオ信号の比較結果、つまりシェーディングデー
タを書き込む。これは同時にメモリ読み出し信号59に
出力され、S/P変換回路70に入力する。ここで、M
PUのDMA機能を用いてS/P変換回路70から出力
されるパラレルのシェーディングデータをプロテクトS
RAMに書き込む。白基準原稿の読み取りが終了し、プ
ロテクトSRAMへシェーディングデータの書き込みが
完了したところでプリスキャンモード終了となる。その
後、ステップS7において、メモリ71を図1のメモリ
プロテクト手段13によってプロテクト状態に設定し、
ステップS8において、白基準原稿を排紙する。
A video signal is output from the sensor and input to the peak hold ABC section after direct current reproduction. The analog switch 66 is on the P side because of the prescan mode, and in step S6, the comparison result of the reference signal corresponding to the peak value of the video signal and the video signal, that is, the shading data is written in the shading memory 58. This is simultaneously output to the memory read signal 59 and input to the S / P conversion circuit 70. Where M
Using the DMA function of PU, the parallel shading data output from the S / P conversion circuit 70 is protected S
Write to RAM. When the reading of the white reference document is completed and the writing of the shading data to the protected SRAM is completed, the pre-scan mode ends. Then, in step S7, the memory 71 is set to the protected state by the memory protector 13 of FIG.
In step S8, the white reference document is ejected.

【0033】次に、シェーディングメモリ内のデータが
破壊されているかどうかを確認する動作について説明す
る。この動作は、毎回の原稿読み取りを行う前に常時行
う。
Next, the operation for confirming whether the data in the shading memory is destroyed will be described. This operation is always performed before reading the document every time.

【0034】まず、原稿読み取りにあたり、図1の読み
取り制御部18を読み取りモードに設定し、そこからメ
モリ制御信号64を出力する。この信号によって、シェ
ーディングメモリ58からメモリ読み出し信号59にシ
ェーディングデータが出力される。シェーディングデー
タは、S/P変換回路でパラレルデータに変換し、MP
UのDMA機能を用いてDRAM73に書き込まれる。
First, in reading an original, the reading control unit 18 of FIG. 1 is set to the reading mode, and the memory control signal 64 is output from there. By this signal, the shading data is output from the shading memory 58 to the memory read signal 59. The shading data is converted into parallel data by the S / P conversion circuit and MP
It is written in the DRAM 73 using the U DMA function.

【0035】ここで、プリスキャンのときにプロテクト
SRAM71に書き込まれたシェーディングデータと、
DRAM73に書き込まれたデータとの比較を行うこと
で、シェーディングメモリ内のデータが破壊されている
かどうかの判定を行う。図4は、この判定方法を説明す
るための図である。図4において、プリスキャンのとき
にプロテクトSRAM71に書き込まれたシェーディン
グデータ601とDRAM73において原稿読み取りに
あたりシェーディングメモリから読み出して、書き込ま
れたシェーディングデータ602とを対応する任意の範
囲で比較する。本実施の形態では、両者のデータの先頭
から第nビット目から第mビット目までをd分割し、分
割されたビット列の各ブロック同士でデータのビットの
一値割合を算出する。各ブロック同士の比較において
は、1ブロックのビット先頭から1ブロックの最終ビッ
トまで一致するかどうかを比較する。そして、ブロック
ごとの一致割合を(一致したビット数)/(1ブロック
のビット数)で算出し、あらかじめ決められているブロ
ックごとの一致判定割合を、すべてのブロックの一致割
合が上回った場合に、シェーディングメモリ内のシェー
ディングデータが破壊されていないと判断し、原稿読み
取りにおいてシェーディングメモリ58内のシェーディ
ングデータを用いて画像処理を行う。
Here, the shading data written in the protect SRAM 71 during the prescan,
By comparing with the data written in the DRAM 73, it is determined whether or not the data in the shading memory is destroyed. FIG. 4 is a diagram for explaining this determination method. In FIG. 4, the shading data 601 written in the protect SRAM 71 during the pre-scan and the shading data 602 read from the shading memory and read in the DRAM 73 from the shading memory are compared in a corresponding arbitrary range. In the present embodiment, the n-th bit to the m-th bit from the beginning of both data are divided into d, and the one-value ratio of data bits is calculated between the blocks of the divided bit strings. In the comparison between the blocks, it is compared whether or not there is a match from the first bit of one block to the last bit of one block. Then, the matching rate for each block is calculated by (the number of matched bits) / (the number of bits of one block), and when the matching determination rate for each block exceeds a predetermined matching determination rate for all blocks. It is determined that the shading data in the shading memory has not been destroyed, and image processing is performed using the shading data in the shading memory 58 when reading the document.

【0036】ここで、ブロックごとの一致判定割合は、
シェーディングデータの先頭側(原稿の先端側)のブロ
ックが最も大きく、後端側に近づくにつれ、徐々に一致
判定割合が小さくなるようにする。これは、シェーディ
ングデータのビットの1,0が図6のシェーディングコ
ンデンサの充放電に(充電=1、放電=0)に対応して
いるため、先頭側で充放電の狂いが生じるとシェーディ
ング波形全体が大きく崩れてしまうためである。
Here, the coincidence determination ratio for each block is
The block on the leading side (the leading edge side of the document) of the shading data is the largest, and the matching determination ratio is gradually reduced toward the trailing edge side. This is because the bits 1 and 0 of the shading data correspond to charging / discharging (charging = 1, discharging = 0) of the shading capacitor in FIG. 6, so if the charging / discharging error occurs on the leading side, the entire shading waveform will be displayed. Is largely collapsed.

【0037】また、ここで破壊されていると判断がなさ
れた場合、読み取り制御部18からシェーディングデー
タ切り換え信号77を出力してアナログスイッチ76を
+VCC側に切り換え、アナログスイッチに1(hig
h)を入力する。こうすることによって、38のピーク
ホールドコンデンサ38に充電される原稿(画像)のピ
ーク値がアナログスイッチ46を通じてシェーディング
コンデンサに充電される。つまり、シェーディング補正
を行うためのシェーディング波形が原稿のピーク値を直
線にした一定値の波形(直線波形)となる。この場合で
も、画質は低下するが、ある程度の品位を確保し読み取
りの続行を可能とする。
If it is determined that the data has been destroyed, the shading data switching signal 77 is output from the reading control section 18 to switch the analog switch 76 to the + VCC side, and the analog switch 1 (high).
Enter h). By doing so, the peak value of the document (image) charged in the peak hold capacitor 38 is charged in the shading capacitor through the analog switch 46. That is, the shading waveform for performing the shading correction has a constant value waveform (linear waveform) in which the peak value of the document is linear. Even in this case, the image quality is deteriorated, but it is possible to continue reading while ensuring a certain degree of quality.

【0038】またこの場合、表示手段にシェーディング
データがエラーであり、シェーディングデータを再度登
録する為にプリスキャンを行ってもらう旨のメッセージ
表示を行う。特定の操作を行うことで、前述したシェー
ディングデータ生成の動作に入ることで使用者が容易に
シェーディングデータの再登録を行うことができる。
In this case, the shading data is in error on the display means, and a message is displayed to the effect that a prescan is performed in order to register the shading data again. By performing a specific operation, the user can easily re-register the shading data by entering the shading data generation operation described above.

【0039】以上説明したように、本実施の形態では、
読み取り白地(基準白地)などのプリスキャン動作のた
めの機構を削除し、原稿読み取り機構が簡略化し、コス
トダウンを可能とした。なお基準は、白でなくても例え
ばグレーでもよい。また、原稿の通紙(例えばADF)
に対しても信頼性が向上した。白基準の原稿を読み取っ
て作成したシェーディングデータが、長期間の電源OF
Fによるバックアップ電源の電圧低下や異常電圧(雷サ
ージ、静電気etc.)により破壊してしまった場合、
そのシェーディングデータを使用しないで固定(画像の
ピーク値)シェーディングデータを使うようにして、画
質は低下するが、ある程度の品位を確保し読み取りの続
行を可能とした。また、再度プリスキャン動作を行なっ
て、シェーディングデータを新たに作成することで読み
取り機能を初期性能に戻すことを可能とした。
As described above, in the present embodiment,
The mechanism for prescan operation such as reading white background (reference white background) is deleted, the original reading mechanism is simplified, and the cost can be reduced. The reference may not be white but may be gray, for example. Also, the passage of documents (eg ADF)
Also improved reliability. The shading data created by scanning the white standard document is used for long-term power OFF.
If it is destroyed by the voltage drop of the backup power supply due to F or abnormal voltage (lightning surge, static electricity etc.),
Instead of using the shading data, the fixed (peak value of the image) shading data is used to reduce the image quality, but it is possible to maintain a certain quality and continue reading. In addition, the pre-scan operation was performed again, and shading data was newly created, thereby making it possible to restore the reading function to the initial performance.

【0040】[0040]

【発明の効果】以上説明したように本発明にかかる画像
読取装置では、原稿画像を読取り画像信号に変換する読
取手段と、前記読取手段により基準部材を読取ることで
得られる画像データを記憶する第1及び第2の記憶手段
と、前記読取手段による原稿画像の読取り開始前に前記
第1及び第2の記憶手段にそれぞれ記憶されている画像
データを比較し、一致するビット数に応じて画像データ
の破壊を検出する検出手段と、前記検出手段によりデー
タの破壊が検出されないときに前記読取手段による原稿
画像の読取りを行い、得られた画像信号を前記第1の記
憶手段に記憶された画像データを用いて補正するように
制御する制御手段と、を有する構成とした。
As described above, in the image reading apparatus according to the present invention, the reading means for converting the original image into the read image signal and the image data obtained by reading the reference member by the reading means are stored. The image data stored in each of the first and second storage means are compared with the image data stored in each of the first and second storage means before the reading of the original image by the reading means is started. Means for detecting the destruction of the document, and the document image is read by the reading means when the destruction of the data is not detected by the detecting means, and the obtained image signal is stored in the image data stored in the first storage means. And a control means for controlling so as to perform correction.

【0041】そして、このようにビット数に応じて記憶
された画像データの破壊を検出するため、データ使用可
能な範囲内での破壊では、読み取り動作を中断すること
なく、そのデータを用いた画像信号の補正を行なうこと
ができるようになった。
Since the destruction of the stored image data is detected according to the number of bits as described above, when the destruction is within the usable range of the data, the image using the data is not interrupted without interrupting the reading operation. Signals can now be corrected.

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

【図1】実施の形態における画像読取装置の構成ブロッ
ク図である。
FIG. 1 is a block diagram illustrating a configuration of an image reading apparatus according to an embodiment.

【図2】実施の形態における画像読取装置の構成ブロッ
ク図である。
FIG. 2 is a configuration block diagram of an image reading apparatus according to an embodiment.

【図3】実施の形態におけるプリスキャン動作のフロー
チャートである。
FIG. 3 is a flowchart of a prescan operation in the embodiment.

【図4】実施の形態におけるデータの破壊判定方法の説
明図である。
FIG. 4 is an explanatory diagram of a data destruction determination method according to the embodiment.

【図5】従来の画像読取装置の構成ブロック図である。FIG. 5 is a configuration block diagram of a conventional image reading apparatus.

【図6】従来の画像読取装置の構成ブロック図である。FIG. 6 is a configuration block diagram of a conventional image reading apparatus.

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

14 シェーディング補正回路 71 プロテクトS−RAM 72 MPU 73 D−RAM 14 Shading correction circuit 71 Protect S-RAM 72 MPU 73 D-RAM

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 原稿画像を読取り画像信号に変換する読
取手段と、 前記読取手段により基準部材を読取ることで得られる画
像データを記憶する第1及び第2の記憶手段と、 前記読取手段による原稿画像の読取り開始前に前記第1
及び第2の記憶手段にそれぞれ記憶されている画像デー
タを比較し、一致するビット数に応じて画像データの破
壊を検出する検出手段と、 前記検出手段によりデータの破壊が検出されないときに
前記読取手段による原稿画像の読取りを行い、得られた
画像信号を前記第1の記憶手段に記憶された画像データ
を用いて補正するように制御する制御手段と、を有する
ことを特徴とする画像読取装置。
1. A reading unit for converting a document image into a read image signal, first and second storage units for storing image data obtained by reading a reference member by the reading unit, and a document by the reading unit. Before starting image reading, the first
And detecting means for comparing the image data respectively stored in the second storage means and detecting the destruction of the image data according to the number of coincident bits, and the reading when the destruction of the data is not detected by the detecting means. An image reading apparatus, and a control unit that controls so that the obtained image signal is corrected using the image data stored in the first storage unit. .
【請求項2】 請求項1において、前記検出手段により
画像データの破壊が検出されたときには、前記第1及び
第2の記憶手段に記憶された画像データ以外の所定の画
像データを用いて前記画像信号の補正を行なうように前
記制御手段が制御することを特徴とする画像読取装置。
2. The image processing apparatus according to claim 1, wherein when the detection unit detects the destruction of the image data, the image is obtained by using predetermined image data other than the image data stored in the first and second storage units. An image reading apparatus characterized in that the control means controls so as to correct a signal.
【請求項3】 請求項1において、前記検出手段により
画像データの破壊が検出されたときには、前記原稿画像
の読取り開始前に前記読取手段により前記白基準を読取
ることで得られる画像データを用いて前記画像信号の補
正を行なうように前記制御手段が制御することを特徴と
する画像読取装置。
3. The image data obtained by reading the white reference by the reading means before the start of reading the original image is used when the detection means detects the destruction of the image data. An image reading apparatus characterized in that the control means controls so as to correct the image signal.
【請求項4】 請求項1において、前記検出手段は、前
記第1及び第2の記憶手段にそれぞれ記憶されている画
像データのビット列を複数のブロックに分割し、対応す
るブロック同士を比較することを特徴とする画像読取装
置。
4. The detecting means according to claim 1, wherein the detecting means divides a bit string of image data stored in each of the first and second storing means into a plurality of blocks and compares the corresponding blocks. An image reading device characterized by.
【請求項5】 請求項4において、前記検出手段がデー
タの破壊を判断の基準となる一致するビット数の割合
が、分割した各ブロックのうち先頭ブロックで一致する
割合に比べて終端ブロックで一致する割合が小さく設定
されていることを特徴とする画像読取装置。
5. The method according to claim 4, wherein the ratio of the number of matching bits, which serves as a criterion for the data destruction judgment by the detecting means, is more matched in the end block than in the ratio of the first block among the divided blocks. An image reading apparatus characterized in that a ratio of performing is set small.
JP8000282A 1996-01-05 1996-01-05 Image reader Withdrawn JPH09186871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8000282A JPH09186871A (en) 1996-01-05 1996-01-05 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8000282A JPH09186871A (en) 1996-01-05 1996-01-05 Image reader

Publications (1)

Publication Number Publication Date
JPH09186871A true JPH09186871A (en) 1997-07-15

Family

ID=11469559

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8000282A Withdrawn JPH09186871A (en) 1996-01-05 1996-01-05 Image reader

Country Status (1)

Country Link
JP (1) JPH09186871A (en)

Similar Documents

Publication Publication Date Title
KR100340052B1 (en) Image sensor
US7800793B2 (en) Scanning speed control device and method
KR100331895B1 (en) Nonvolatile semiconductor memory having memory cells each storing multi-bits information
JPH09186871A (en) Image reader
JP3281489B2 (en) Image reading processing device
JPS6340071B2 (en)
KR101773654B1 (en) Electronic device, and method for controlling power to control unit of electronic device
JP3255554B2 (en) Image processing device
JPH0560297B2 (en)
JPH11215374A (en) Image-processing unit, image-processing method and storage medium
US5559610A (en) Image processing apparatus
US6765855B1 (en) Signal detection circuit for optical disk
JP2001103235A (en) Image reader
JPH1188675A (en) Image processor, image processing method and record medium thereof
US5093733A (en) Image signal processing device
JPH06121164A (en) Picture processor
JP2907244B2 (en) Black level adjustment circuit
JPH1131106A (en) Stored data recognition device
JPS62175067A (en) Image reading device
JP3053406B2 (en) Image reading device
JP3472029B2 (en) Image reading device
JPH11346333A (en) Solid image pickup device
JP4583346B2 (en) Variable clamp control circuit, analog image processing circuit, image processing circuit, image reading apparatus, and image forming apparatus
JPH0740718B2 (en) Image processing device
JPH11146199A (en) Picture reader

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030401