JPH01123567A - Picture reader - Google Patents
Picture readerInfo
- Publication number
- JPH01123567A JPH01123567A JP28184787A JP28184787A JPH01123567A JP H01123567 A JPH01123567 A JP H01123567A JP 28184787 A JP28184787 A JP 28184787A JP 28184787 A JP28184787 A JP 28184787A JP H01123567 A JPH01123567 A JP H01123567A
- Authority
- JP
- Japan
- Prior art keywords
- document
- original
- data
- image
- white paper
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims description 15
- 238000003705 background correction Methods 0.000 description 13
- 239000011521 glass Substances 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 229910052736 halogen Inorganic materials 0.000 description 2
- 150000002367 halogens Chemical class 0.000 description 2
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 1
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000010421 pencil drawing Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Landscapes
- Storing Facsimile Image Data (AREA)
Abstract
Description
【発明の詳細な説明】
「産業上の利用分野」
本発明は、撮像素子により原稿の文字1図形等を読み取
る画像読取装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image reading device that reads characters, figures, etc. of a document using an image sensor.
「従来の技術」
画像や文書等のイメージは、これを電気(ディジタル)
信号に変換することにより、記憶、伝送。``Conventional technology'' Images such as images and documents are created using electricity (digital technology).
Storage and transmission by converting into signals.
情報処理等が容易となる。このため前記イメージの入力
手段である画像読取装置には、撮像素子を用いたイメー
ジリーグが使用される。イメージリーグでは、原稿等の
画像を微細な網目に分割し、その画像部を黒、非画像部
を白の2値に変換し、外部機器ヘディジタル信号として
出力する。このため原稿に何も表示されていない白紙状
態であっても、2値化したディジタル信号を出力するこ
とになる。Information processing becomes easier. For this reason, an image reader using an image sensor is used as the image reading device that is the image input means. Image League divides an image of a document or the like into a fine mesh, converts the image portion into black and the non-image portion into white, and outputs it as a digital signal to an external device. Therefore, even if the document is blank with nothing displayed on it, a binary digital signal is output.
「発明が解決しようとする問題点」
しかしながら、文書処理システム、ファイリングシステ
ムなどにおいて、イメージリーグで原稿を読み取り、順
次光ディスク等の記憶手段へ、読み取ったデータを格納
していく場合に、原稿中に白紙が入っていると前記のよ
うに白紙データをイメージリーグが出力して、該データ
を光ディスクに記録してしまうことになり、記憶容量の
点から不経済となる。``Problems to be solved by the invention'' However, in document processing systems, filing systems, etc., when reading a manuscript using an image league and sequentially storing the read data in a storage means such as an optical disk, it is difficult to If a blank page is included, the image league will output blank data as described above and record the data on the optical disk, which will be uneconomical in terms of storage capacity.
また、ファクシミリの送信データの読み取りの場合にも
、白紙データをそのまま送信することは、受信側に白紙
データを出力してしまうとともに、回線の使用が無駄に
なる等の不経済が生じ、解決すべき問題点となっていた
。In addition, when reading facsimile transmission data, sending blank data as is will result in outputting blank data to the receiving side and cause uneconomical effects such as wasted line usage, which cannot be resolved. This was a problem that should be addressed.
「解決するための具体的手段」
本発明は、前記問題点を解決することを目的とするもの
で、画像読取装置に接続されるホスト装置の種類1機能
等の多様化に鑑み、原稿の濃度を撮像素子により読み取
る原稿濃度読み取り手段と、読み取った原稿濃度データ
を記憶する記憶手段と、記憶された原稿濃度データによ
り原稿の白紙を検出する白紙検出手段と、白紙検出手段
の検出結果を報知する報知手段とを備えることを特徴と
するものである。"Specific Means for Solving" The present invention aims to solve the above-mentioned problems. an original density reading means for reading the original density data with an image sensor; a storage means for storing the read original density data; a blank paper detection means for detecting a blank page of the original based on the stored original density data; and a detection result of the blank paper detection means is notified. The present invention is characterized by comprising a notification means.
「作用」
本発明は、前記具体的手段の説明によって明らかにした
ように、白紙検出手段により原稿の白紙を検出すると、
その検出結果を報知手段により画像読取装置に接続され
るホスト装置等の外部機器へ報知する。"Operation" As clarified by the explanation of the above-mentioned specific means, in the present invention, when a blank page of a document is detected by the blank page detection means,
The detection result is notified to an external device such as a host device connected to the image reading device by the notification means.
「実施例」 以下、本発明の実施例を添付図面に基づいて説明する。"Example" Embodiments of the present invention will be described below with reference to the accompanying drawings.
第1図に画像読取装置1の概略機構を示す。FIG. 1 shows a schematic structure of the image reading device 1. As shown in FIG.
2は原稿をaffする原稿台ガラスであって、開閉自由
な原稿カバー3により外光を遮断する。原稿台ガラス2
の上に載置された原稿は、ハロゲンランプ4のランプ光
を略U形断面の反射鏡5で集光して照射され、その反射
光を走査ミラー6.7゜8を介してレンズ9へ導き、光
電変換素子(以下CODと云う)10上に結像させる。Reference numeral 2 denotes an original table glass for affing the original, and a document cover 3 that can be freely opened and closed blocks external light. Original table glass 2
The document placed on the document is irradiated with lamp light from a halogen lamp 4, which is focused by a reflecting mirror 5 with a substantially U-shaped cross section, and the reflected light is directed to a lens 9 via a scanning mirror 6.7°8. The light is guided and an image is formed on a photoelectric conversion element (hereinafter referred to as COD) 10.
前記ハロゲンランプ41反射鏡5.走査ミラー6.7.
8は、走査系Sとして一体的に副走査方向(第1図矢線
)に移動して原稿全体を読み取る。この場合、走査ミラ
ー6と走査ミラー7.8の移動長を2=1とし光路長を
一定に保つ、前記副走査方向と直交する主走査方向には
、CCD10の電気的走査で画像を得る。CCD10は
CCDCD保持部上1持されるとともに、その位置笈び
角度が調整される。The halogen lamp 41 reflecting mirror5. Scanning mirror 6.7.
Reference numeral 8 denotes a scanning system S that integrally moves in the sub-scanning direction (arrow in FIG. 1) to read the entire document. In this case, the moving length of the scanning mirror 6 and the scanning mirror 7.8 is set to 2=1, and the optical path length is kept constant.In the main scanning direction perpendicular to the sub-scanning direction, an image is obtained by electrical scanning of the CCD 10. The CCD 10 is held on the CCDCD holder, and its position and angle are adjusted.
またCCDCD保持部上1ンズ9とは移動台12に取付
けられる1倍率の調整は、図示しない移動機構により移
動台12を光軸方向に移動させて行う、またピント調整
はピントモータ13により電源投入時、読み取った画像
がCCD10上で結像するようCCDCD保持部上1軸
方向に移動させることにより行う、具体的には、原稿台
ガラス2の端部に固定したwXXススケール14裏面に
印刷したピント調整用パターンを、C0D10で読み取
り、そのデータを後記するラインRAMに格納し、C)
) Uがデータ解析をして、辿正な焦点位置に前記C0
D10が位置するようにピントモータ13を回転させる
。The CCDCD holding unit upper lens 9 is attached to a moving table 12. Adjustment of the magnification is performed by moving the moving table 12 in the optical axis direction by a moving mechanism (not shown), and focus adjustment is performed by turning on the focus motor 13. At the time, the image is printed on the back side of the wXX scale 14 fixed to the edge of the original table glass 2. Read the focus adjustment pattern with C0D10, store the data in line RAM to be described later, and C)
) U analyzes the data and traces the C0 to the correct focal position.
Rotate the focus motor 13 so that D10 is positioned.
前記原稿スケール14は、原稿台ガラス2上の原稿位置
を示すとともに、前記ピント調整用パターンの他船こ、
倍率検出用パターン及びシェーディング補正用パターン
が印刷され、必要に応じて読み取るようにしている。The document scale 14 indicates the document position on the document platen glass 2, and also indicates the position of the document on the document table glass 2, and also indicates the position of the document on the document table glass 2.
A magnification detection pattern and a shading correction pattern are printed and read as necessary.
第2図は、画像読取装置1のブロック図である。FIG. 2 is a block diagram of the image reading device 1. As shown in FIG.
クロック発生部23は、CCD10に対して必要なS
H(Sa+*pl 1lold)信号を与えるとともに
、他方ではCPU21に接続され、クロック信号に用、
いられる、C0DIOは、クロック発生部23のクロッ
ク信号に従って、画像データ(光量)を電圧に変換し出
力する。C0DIOの出力電圧は、A/D変換部24で
CPU21が受光データを認識できるディジタル値に変
換され、シェーディング補正部25に入る。シェーディ
ング補正部25は、主走査方向の光量むらやCCD10
の各ビット間の感度のバラツキを電気的に補正するため
のもので、CPU21から補正のためのシェーディング
データが与えられる。このシェーディングデータは、前
記原稿スケール14の裏面に印刷されたシェーディング
補正用パターンを読み取り、CPU21が算出する。シ
ェーディング補正部25からの出力は、比較部27及び
ラインRAM26に入力される。比較部27はシェーデ
ィング補正部25で補正されたデータと、比較部27に
入力される2値化しきい値とを比較し、その結果を(0
)又は(1)の1ビツトで出力する。即ち読み取ったデ
ータが(白)力枢黒)かの2値データに変換し、出力部
28に入力される。出力部28は、前記2値データ及び
CPU21からの有効画像信号を外部に出力する。ライ
ンRAM26は、シェーディング補正されたデータを主
走査方向の一走査分メモリに記憶する。ラインRAM2
6へのデータの書込み/読出しは、CPU21からのR
/W信号で制御される。このラインRAM26に書込ん
だデータを、CPU21が読み取ることによりCCD1
0で受光した光量の変化等を知ることができる。The clock generator 23 generates S necessary for the CCD 10.
H (Sa+*pl 1old) signal is given, and on the other hand, it is connected to the CPU 21 and used as a clock signal.
The C0DIO converts image data (amount of light) into voltage according to a clock signal from the clock generator 23 and outputs the voltage. The output voltage of C0DIO is converted by the A/D converter 24 into a digital value that allows the CPU 21 to recognize the received light data, and then enters the shading corrector 25. The shading correction unit 25 corrects uneven light amount in the main scanning direction and the CCD 10.
This is for electrically correcting variations in sensitivity between each bit of , and shading data for correction is provided from the CPU 21 . This shading data is calculated by the CPU 21 by reading a shading correction pattern printed on the back side of the document scale 14. The output from the shading correction section 25 is input to the comparison section 27 and line RAM 26. The comparison unit 27 compares the data corrected by the shading correction unit 25 and the binarization threshold input to the comparison unit 27, and converts the result into (0
) or (1) (1 bit). That is, the read data is converted into binary data (white), power, black), and is input to the output section 28. The output unit 28 outputs the binary data and the valid image signal from the CPU 21 to the outside. The line RAM 26 stores shading-corrected data for one scan in the main scanning direction. line RAM2
Writing/reading of data to/from the CPU 21 is performed by the R
/W signal. When the CPU 21 reads the data written to the line RAM 26, the CCD 1
Changes in the amount of light received at 0 can be detected.
その他CPU21は、スキャン命令、モード変更などの
各コマンド信号をホスト装置から受信したり、ホスト装
置へ送信したりするコマンド信号の入出力端子、レンズ
モータ、ピントモータ、スキャンモータを駆動するため
の信号出力端子、モータ回転数を入力するためのモータ
信号入力端子、ランプ、反射鏡、走査ミラーを一体化し
た走査系Sの位置を検出するセンサーの出力を受ける定
位置信号入力端子、ランプの0N10FFを制御するラ
ンプ信号出力端子、及び読み取り画像データの出力を制
御する有効画像信号出力端子等を有する。In addition, the CPU 21 has command signal input/output terminals for receiving command signals such as scan commands and mode changes from the host device and transmitting them to the host device, and signals for driving the lens motor, focus motor, and scan motor. An output terminal, a motor signal input terminal for inputting the motor rotation speed, a fixed position signal input terminal for receiving the output of a sensor that detects the position of the scanning system S that integrates a lamp, a reflector, and a scanning mirror, and a 0N10FF terminal for the lamp. It has a lamp signal output terminal for controlling, a valid image signal output terminal for controlling output of read image data, and the like.
次に画像読取の動作及び白紙原稿検出動作を添付の各フ
ローチャートに従い説明する。Next, the image reading operation and the blank document detection operation will be explained according to the attached flowcharts.
第3図は、本実施例のメインルーチンを示すフローチャ
ー1・である。FIG. 3 is a flowchart 1 showing the main routine of this embodiment.
(ステップ330)(以下ステップを略す)では、電源
投入後、ビン!・調節、倍率調節等動作に必要な条件の
初期設定を行い、続いて(S 31 )でポスト装置か
ら人力されるコマンドの種類により、モード変更、画像
読取り(S32)〜(S34)を実行する。コマンド入
力がない時は、コマンド大刀待ちとなる。(Step 330) (Steps will be omitted below) After turning on the power, the bin!・Initialize the conditions necessary for operation such as adjustment and magnification adjustment, and then change the mode and execute image reading (S32) to (S34) depending on the type of command manually input from the post device in (S31). . When there is no command input, the command waits.
第4図は、モード変更(第3図(S32))の実行ルー
チンを示すフローチャートである。FIG. 4 is a flowchart showing an execution routine for mode change (FIG. 3 (S32)).
ホスト装置から命令されるモード(例λば読取りサイズ
、読取り倍率1M光レベル等)が、有効であるかどうか
を判断し、有効であれば(S40でY E S )、そ
のモード変更に伴う設定(例えばレンズ移動による倍率
変更)を行い、モードを更新する(S 41 )。It is determined whether the mode commanded by the host device (e.g., reading size λ, reading magnification 1M light level, etc.) is valid, and if it is valid (YES in S40), the settings associated with changing the mode are determined. (For example, changing the magnification by moving the lens) and updating the mode (S41).
第5ri1(a)、 (b)ハ、画1’AVtR’)
ルー−j−ンノウち、白紙原稿検出動作(ブリスキャン
)を示すフローチャートである。5th ri1 (a), (b) C, picture 1'AVtR')
7 is a flowchart showing a blank document detection operation (briscan) during routine execution.
ホスト装置からのコマンドにより、画像読取りの動作に
入る。先ずランプ点灯後(850)、走査系Sが定位置
にあるかどうがを判断し、あれば(S52でYES>(
S56)にジャンプする。無ければモータをリターン方
向に回転して定位置に戻し、定位置に戻ればモータをオ
フする(853)〜(S55)、(356)では、定位
置より走査系Sを副走査方向に移動させ、白紙原稿検出
のためのプリスキャンを開始する。走査系Sが原稿スケ
ール14の裏面に印刷されたシェーディング補正パター
ンを横切る時、CPU21はシェーディング用データを
ラインRAM26に格納し、シェーディング補正データ
を算出する(S57)。プリスキャンであるため有効画
像信号をオフ(858)として、画像データの出力を禁
止する。また<559)では、原稿全面について黒と判
別した画素数をカウントするカウンタ(BTOTAL)
をクリアしてカウンタ値をOとする。続いて(S60)
で走査系Sが原稿先端に達したことを判断した時、CP
U21はCCD 10が読み取った画像データを頑次ラ
インRAM26に書込み(361)、その画像データ中
の黒レベル信号の有無をチエツクしてその黒となった画
素数をカウントし、その値をカウンタ(BTOT A
L )に加算する(S 62 )。The image reading operation begins in response to a command from the host device. First, after lighting the lamp (850), it is determined whether the scanning system S is in the normal position, and if so (YES in S52>(
Jump to S56). If not, the motor is rotated in the return direction to return to the home position, and when it returns to the home position, the motor is turned off (853) to (S55).In (356), the scanning system S is moved from the home position in the sub-scanning direction. , starts prescanning to detect blank originals. When the scanning system S crosses the shading correction pattern printed on the back side of the document scale 14, the CPU 21 stores the shading data in the line RAM 26 and calculates the shading correction data (S57). Since this is a pre-scan, the valid image signal is turned off (858) and output of image data is prohibited. <559), a counter (BTOTAL) counts the number of pixels determined to be black on the entire surface of the document.
Clear and set the counter value to O. Next (S60)
When it is determined that the scanning system S has reached the leading edge of the document, the CP
U21 writes the image data read by the CCD 10 to the persistent line RAM 26 (361), checks the presence or absence of a black level signal in the image data, counts the number of pixels that are black, and stores the value in the counter (361). BTOT A
L) (S62).
画像データの黒レベル信号の有無の判別については後に
詳細に説明する。Determination of the presence or absence of a black level signal in image data will be described in detail later.
続いて、(363)でスキャンが終了したが否がを判断
し、終了していなければ前記(S61)〜(S62)を
繰り返し、終了(863でYES)rあれば、ランプを
消灯し、モータをリターン方向に回転して走査系Sを定
位置に戻し、モータをオフしてブリスキャンを終了する
(S 64 )〜(S67)。Next, in (363) it is determined whether or not the scan has finished, and if it has not finished, the above (S61) and (S62) are repeated, and if it is finished (YES in 863), the lamp is turned off and the motor is turned off. is rotated in the return direction to return the scanning system S to its home position, and the motor is turned off to complete the bliscan (S64) to (S67).
(S68)では、読み取った画像データ中黒と判定して
カウントしたカウンタ(BTOTAL)の値と、白紙原
稿と判定する黒画素数のしきい値(B C0UNT)と
を比較し、BTOTAL<BCOUNTであればCPU
21は白紙原稿と判断してその検出コマンドを、ホスト
装置に送信する(S 70 )。In (S68), the value of the counter (BTOTAL) counted when the read image data is determined to be black is compared with the threshold value of the number of black pixels (B C0UNT) that is determined to be a blank document, and if BTOTAL<BCOUNT, CPU if available
21 determines that it is a blank document and sends a detection command to the host device (S70).
白紙原稿構出コマンドを受信したホスト装置は、所定の
処理例えば、原稿自動搬送装置により白紙原稿の強制排
出、アラーム表示、CR7画面上に表示等によりオペレ
ータにその旨を報知する。また(S68)でBTOTA
L>BCOUNTと判断した時は、原稿中に文字等の存
在を検出した場合であって、画像読取処理(本スキャン
)ルーチンをコールする(S71)。Upon receiving the blank document composition command, the host device performs a predetermined process, for example, forcibly ejects the blank document using the automatic document feeder, displays an alarm, displays on the CR7 screen, etc., and notifies the operator of this fact. Also (S68) BTOTA
When it is determined that L>BCOUNT, the presence of characters or the like in the document is detected, and the image reading processing (main scan) routine is called (S71).
第6図は、画像読取処理(本スキャン)ルーチンを示す
フローチャートである。FIG. 6 is a flowchart showing the image reading processing (main scan) routine.
(S80)でランプをオンした後、(S 81 )〜(
S84)で走査系Sが定位置にあることを確認し、定位
置より走査系Sを副走査方向に移動させスキャンを開始
する(585)。続いて、(S86)で前記ブリスキャ
ンの場合と同様にして、シェーディングデータをライン
RAMに書込み、シェーディング補正データを算出する
(S 86 )、原稿先端に走査系Sが到達したら(S
87でYES)、読み取った画像データを外部機器へ出
力するように、有効画像信号をオンしく588)、原稿
後端に走査系Sが到達したら(S89でYES)、有効
画像信号をオフする(S90)とともに、ランプをオフ
して走査系Sを定位置に戻して、モータをオフする(S
91)〜(S 94 )、以上により原稿の読取り動作
を終了する。After turning on the lamp in (S80), (S81) to (
In step S84), it is confirmed that the scanning system S is in the normal position, and the scanning system S is moved from the normal position in the sub-scanning direction to start scanning (585). Subsequently, in (S86), shading data is written in the line RAM in the same manner as in the case of bliscan, and shading correction data is calculated (S86). When the scanning system S reaches the leading edge of the document (S
When the scanning system S reaches the trailing edge of the document (YES at S89), the effective image signal is turned on to output the read image data to an external device (588). At the same time, the lamp is turned off, the scanning system S is returned to the normal position, and the motor is turned off (S90).
91) to (S94), the document reading operation is thus completed.
次に、原稿データの黒レベル信号の有無の判別について
説明する。Next, determination of the presence or absence of a black level signal in document data will be explained.
CP U 21が1ライン(1主走査分)のデータを読
取った時、個々の読取り画素の画像データは、白レベル
から黒レベルまで2°段階(nはディジタル値のビット
数)の値で表現される1例えばn=8としたときデータ
値はOOH〜FFH(16進表記)の256段階に分け
られる。When the CPU 21 reads one line (one main scan) of data, the image data of each read pixel is expressed in 2° steps from the white level to the black level (n is the number of bits of the digital value). For example, when n=8, the data value is divided into 256 levels from OOH to FFH (hexadecimal notation).
各読取り画素の画像データを2’=256段階毎に振り
分は分布をとると、第7図に示すグラフとなる。ここで
検出数の総和は、読取り画素数の総数と一致する。ここ
である判定レベル(例えば80H)を設定し、これより
右側に振り分けられる画像データ値の画素を黒レベルと
、左側に振り分けられるものを白レベルと判定し、黒レ
ベルの画素数をカウンタ(BTOTAL)でカウントす
る。When the image data of each read pixel is distributed in every 2'=256 stages, the graph shown in FIG. 7 is obtained. Here, the total number of detections matches the total number of read pixels. Here, a certain determination level (for example, 80H) is set, and pixels of image data values distributed to the right side of this level are determined to be black level, those distributed to the left side are determined to be white level, and the number of pixels of black level is determined by a counter (BTOTAL). ) to count.
プリスキャン終了後のBTOTALのカウンタ値は、読
取った原稿中の黒レベルと判定した画素数である。この
値と予め設定した値(BCOUNT値)とを比較するこ
とにより、前記のように白紙原稿検出が可能となる。こ
こでB COU N ’I’値は前記したように、白紙
原稿と判定する黒画素数のしきい値である。The BTOTAL counter value after the prescan is the number of pixels determined to be the black level in the read document. By comparing this value with a preset value (BCOUNT value), blank originals can be detected as described above. Here, as described above, the B COU N 'I' value is the threshold value of the number of black pixels for determining a blank document.
第8図(a)、(b)は、シェーディング補正部の出力
値に対する比較部の出力と、黒画素数判定結果を示した
もので、同図(a)は2値化しきい値を80Hとし、白
紙原稿判定レベルをCOHとし、また同図(b)は2値
化しきい値を80Hとし、白紙原稿判定レベルを1)O
Hとしたものである。Figures 8(a) and 8(b) show the output of the comparison unit with respect to the output value of the shading correction unit and the result of determining the number of black pixels. , the blank original judgment level is set to COH, and in the same figure (b), the binarization threshold is set to 80H, and the blank original judgment level is set to 1)O.
It is set as H.
同図(a)によれば、シェーディング補正部出力値が、
CPU内部で白紙原稿判定レベルによって黒と判定され
た画素数は21画素中6画素であり、比較部出力が、2
値化しきい値との比較により黒(1)と出力した画素数
は21画素中10画素である。この様に、比較部に入力
される2値化しきい値と、白紙原稿判定レベルを異なら
せることができ、異ならせた場合の効果について同図(
b)により詳しく説明する。この場合は、白黒のコント
ラストが明確でなく全体的に白っぽい原稿を読み取った
場合を想定したものであって、具体的には鉛筆書きの原
稿等を読取る場合である。従ってシェーディング補正部
の出力は、全体的に0OH(白)の方へ偏る傾向にある
。同図によれば、比較部において「黒」としてデータを
外部に出力するのは、21画素中4画素であるが、白紙
原稿判定レベルを2値化レベルより低めにとり、鉛筆書
きの黒と原稿の下地との差が充分比るレベル(例えば6
0H)とすると、CPUにより黒と判定される画素数は
、鉛筆で書かれた部分を多く検出して、21画素中15
画素となる。原稿全体に亘って順次これを続行し黒と判
定される画素数をカウントしたBTOTAL値が、前記
BCOUNT値より大となると画像読取装置は、CPU
による処理で原稿中に文字等の画像が存在するものとし
て判定するが、本スキャンによって画像読取装置が出力
部から外部機器に出力するデータは、前記の様に白レベ
ルが多く文字等もカスレのあるものとなる。従うて、こ
のように文字等のカスレ又は白ヌケが生じたときは、両
者の判定結果により再度読取りを実行するかどうかの判
別が可能となる。再度読取りを実行する場合は、2値化
しきい値のレベルを下げることにより、より鮮明な画像
データを出力することもできる。According to (a) of the same figure, the shading correction unit output value is
The number of pixels determined to be black by the blank document determination level inside the CPU is 6 out of 21 pixels, and the comparison section output is 2.
The number of pixels output as black (1) by comparison with the valuation threshold is 10 out of 21 pixels. In this way, the binarization threshold input to the comparison section and the blank document determination level can be made different, and the effect of making them different is shown in the figure (
b) will be explained in more detail. In this case, it is assumed that a document with unclear black-and-white contrast and an overall whitish appearance is to be read, and specifically, a document with pencil writing or the like is to be read. Therefore, the output of the shading correction section tends to be biased toward 0OH (white) as a whole. According to the figure, 4 out of 21 pixels output data as "black" to the outside in the comparison section, but the blank document determination level is set lower than the binarization level, and the black of the pencil drawing and the document are The level where the difference with the base is sufficiently compared (for example, 6
0H), the number of pixels judged to be black by the CPU is 15 out of 21, with many areas written in pencil being detected.
Becomes a pixel. This is continued sequentially over the entire document, and when the BTOTAL value, which is the number of pixels determined to be black, becomes greater than the BCOUNT value, the image reading device
It is determined that images such as characters are present in the document through processing, but the data that the image reading device outputs from the output unit to the external device during the main scan has a high white level as described above, and the characters etc. are not faded. Become something. Therefore, when a blurred or white missing character occurs in this way, it is possible to determine whether or not to perform the reading again based on the results of both determinations. When performing reading again, clearer image data can be output by lowering the level of the binarization threshold.
さらに、白紙原稿判定レベルで判定した黒画素数BTO
TAL値と、比較部で出力した黒画素数の総数との差が
大きい場合には、読取りミスと判定することもできる。Furthermore, the number of black pixels BTO determined at the blank document determination level
If the difference between the TAL value and the total number of black pixels output by the comparing section is large, it can be determined that a reading error has occurred.
前記の様に、白紙原稿判定レベルを原稿の状態に応じて
変更することにより、ゴミ等のノイズにより白紙原稿検
出誤動作を確実に防止することができる。As described above, by changing the blank document determination level according to the state of the document, it is possible to reliably prevent blank document detection errors due to noise such as dust.
また、上述した原稿カバー3に代えてADF(自動原稿
搬送装置)を装着した場合には、ADFが動作をスター
トした後であっても、原稿が白紙であると判定されたと
き、原稿を自動的に排出し、複写動作をスタートさせな
いように制御しても良い。Furthermore, if an ADF (automatic document feeder) is installed in place of the document cover 3 described above, even after the ADF has started operating, if the document is determined to be blank, the document will be automatically moved. Alternatively, the copying operation may be controlled so that the copying operation is not started.
「効果」
本発明は、前記具体的手段及び作用の説明によって明ら
かにしたように、原稿の濃度を撮像素子により読み取る
原稿濃度読み取り手段と、読み取った原稿濃度データを
記憶する記憶手段と、記憶された原稿濃度データにより
原稿の白紙を検出する白紙検出手段と、白紙検出手段の
検出結果を報知する報知手段とを備え、前記白紙検出手
段により原稿の白紙を検出すると、その検出結果を報知
手段により画像読取装置に接続されるホスト装置等の外
部機器へ報知するようにしたから、ホスト装置等の目的
1機能等に応じた適切な対応処置を採ることができる。"Effects" As clarified by the description of the specific means and effects, the present invention comprises a document density reading means for reading the density of the document by an image sensor, a storage means for storing the read document density data, and a memory device for storing the read document density data. blank page detection means for detecting a blank page of a document based on original density data, and notification means for notifying a detection result of the blank page detection means; Since the notification is sent to an external device such as a host device connected to the image reading device, appropriate countermeasures can be taken according to the purpose 1 function of the host device etc.
添付図面は、本発明°の一実施例を示し、第1図は画像
読取装置の概略断面図、第2図は同ブロック図、第3図
はメインルーチンを示すフローチャート、第4図はモー
ド変更ルーチンを示すフローチャート、第5図(a)、
(b)は画像読取り(プリスキャン)ルーチンを示すフ
ローチャート、第6図は画像読取り(本スキャン)ルー
チンを示すフローチャート、第7図は読取られた画像デ
ータを濃度に応じて振り分けたグラフ、第8図”(a>
、(b)はシェーディング補正部の出力値に対する比較
部の出力と黒画素数判定結果を示した説明図である。
1191画像読取装置、 10.、、CCD、 21゜
、、CP U、 25.、、シェーディング補正部、2
6 、、、ラインRAM、 27.、、比較部、 28
゜0.出力部。
第1図
第4図
第7図
(OOH) (80H) (FFI−1)2
56段P「The accompanying drawings show an embodiment of the present invention, in which FIG. 1 is a schematic sectional view of an image reading device, FIG. 2 is a block diagram thereof, FIG. 3 is a flowchart showing the main routine, and FIG. 4 is a mode change diagram. Flowchart showing the routine, FIG. 5(a),
(b) is a flowchart showing the image reading (prescan) routine, FIG. 6 is a flowchart showing the image reading (main scan) routine, FIG. Figure”(a>
, (b) are explanatory diagrams showing the output of the comparison unit and the black pixel number determination result with respect to the output value of the shading correction unit. 1191 image reading device, 10. ,,CCD, 21°,,CPU, 25. ,,shading correction section, 2
6., line RAM, 27. ,,Comparison section, 28
゜0. Output section. Figure 1 Figure 4 Figure 7 (OOH) (80H) (FFI-1) 2
56 steps P
Claims (1)
手段と、読み取った原稿濃度データを記憶する記憶手段
と、記憶された原稿濃度データにより原稿の白紙を検出
する白紙検出手段と、白紙検出手段の検出結果を報知す
る報知手段とを備えることを特徴とする画像読取装置。A document density reading device that reads the density of the document using an image sensor, a storage device that stores the read document density data, a blank page detecting device that detects a blank page of the document based on the stored document density data, and a detection result of the blank page detecting device. An image reading device comprising a notification means for notifying.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28184787A JPH01123567A (en) | 1987-11-07 | 1987-11-07 | Picture reader |
US07/662,110 US5138674A (en) | 1987-11-07 | 1991-02-26 | Image reader capable of detecting blank documents |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28184787A JPH01123567A (en) | 1987-11-07 | 1987-11-07 | Picture reader |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01123567A true JPH01123567A (en) | 1989-05-16 |
Family
ID=17644835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP28184787A Pending JPH01123567A (en) | 1987-11-07 | 1987-11-07 | Picture reader |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01123567A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0570320A3 (en) * | 1992-05-01 | 1994-02-23 | Ibm | |
CN100388750C (en) * | 1998-12-24 | 2008-05-14 | 株式会社理光 | Image reading device, black pixel retrieval method, and white paper original detection method |
-
1987
- 1987-11-07 JP JP28184787A patent/JPH01123567A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0570320A3 (en) * | 1992-05-01 | 1994-02-23 | Ibm | |
US5758049A (en) * | 1992-05-01 | 1998-05-26 | International Business Machines Corporation | Method of and apparatus for providing automatic detection and processing of an empty multimedia data object |
CN100388750C (en) * | 1998-12-24 | 2008-05-14 | 株式会社理光 | Image reading device, black pixel retrieval method, and white paper original detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4899227A (en) | Image processing apparatus detecting the size or position of an information portion of an original | |
JP3225112B2 (en) | Document reading device and document reading method | |
US8068260B2 (en) | Original document size detection using a line sensor for reading the original document | |
GB2143102A (en) | Image processing apparatus which discriminates between different image data | |
JP2003060878A (en) | Picture processor, picture processing method, program for performing method and storage medium stored with program | |
JP2005045423A (en) | Image processor | |
GB2141895A (en) | Half-tone facsimile | |
JP2000050061A (en) | Image processor | |
US5751446A (en) | Image reading device for accurately reading spread pages of a book document | |
US5371610A (en) | Image data processing apparatus | |
US4788599A (en) | Image processing with image-slant control and/or image-size control | |
US5576848A (en) | Image reading apparatus which compares margin width outside image area of original image on sheet with width of separate image for synthesis and printing of images | |
US5138674A (en) | Image reader capable of detecting blank documents | |
JP3404955B2 (en) | Document size detector | |
JPH01123567A (en) | Picture reader | |
JPH0927909A (en) | Image reader | |
JP3453197B2 (en) | Document size detector | |
US6028966A (en) | Image reading apparatus and method including pre-scanning | |
JP2002084409A (en) | Image forming device | |
JP2003134322A (en) | Image processing apparatus, image processing method, program for executing image processing method, and recording medium storing program | |
JP4313246B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
JP3538939B2 (en) | Document size detector | |
JP3538938B2 (en) | Image reading device | |
JP3347550B2 (en) | Image processing apparatus and method | |
JPH0927888A (en) | Image reader |