JPS6173482A - Picture processing system - Google Patents

Picture processing system

Info

Publication number
JPS6173482A
JPS6173482A JP59196173A JP19617384A JPS6173482A JP S6173482 A JPS6173482 A JP S6173482A JP 59196173 A JP59196173 A JP 59196173A JP 19617384 A JP19617384 A JP 19617384A JP S6173482 A JPS6173482 A JP S6173482A
Authority
JP
Japan
Prior art keywords
original
document
area
data
byte
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP59196173A
Other languages
Japanese (ja)
Other versions
JPH084311B2 (en
Inventor
Masanori Yamada
山田 昌教
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 JP59196173A priority Critical patent/JPH084311B2/en
Publication of JPS6173482A publication Critical patent/JPS6173482A/en
Publication of JPH084311B2 publication Critical patent/JPH084311B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To execute the binary coding processing of necessary and effective picture information in an original area by recognizing the prescribed level of reading data and executing a binary coding processing on the basis of a generating frequency. CONSTITUTION:While moving an original, the original is recognized and the stopped original is read out by a moving scanning system. A CPU 211 inputs a black peak value and a white peak value from the original area in each main scanning line, counts up the contents of 2-byte area corresponding to detected data BPi, WPi in a 64X2-byte black peak histogram area and a 64X2-byte white peak histogram area which are prepared in a RAM one by one and sets up and stores a slice level in a ROM 212. When the same original is to be continuously read out plural times and copied, a slice level ROM pattern is held and then cancelled after a fixed period from the end of copying of prescribed sheets.

Description

【発明の詳細な説明】 技術分野 本発明は画像処理方式、特に原稿読取画像データの処理
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an image processing method, and particularly to a processing method for document read image data.

従来技術の説明 画信号の2値化処理方式として原稿を予備走査して2値
化のためのスライスレベルを決定しそれに基づいて読取
画信号の2値化をする方式が知られている。従来のこの
方式は原稿台上の原稿領域以外の不要な情報をもとにス
ライスレベルを決定するために必ずしも最適な2値化は
行なえなかった。
2. Description of the Prior Art As a method for binarizing image signals, a method is known in which a document is preliminarily scanned to determine a slice level for binarization, and a read image signal is binarized based on the slice level. This conventional method cannot necessarily perform optimal binarization because the slice level is determined based on unnecessary information other than the document area on the document table.

又スライスレベルの決定を原稿レベルの平均値や地肌レ
ベルに基づいて行っていたため 必ずしも最適な2値化
ではなかった。
Furthermore, since the slice level was determined based on the average value of the original level or the background level, binarization was not necessarily optimal.

目      的 本発明の目的は、上述の点に鑑み、原稿領域内の必要に
して有効な画像情報に基づいて2値化処理を実行する画
像処理方式にある。
Purpose In view of the above-mentioned points, an object of the present invention is to provide an image processing method for performing binarization processing based on necessary and effective image information in a document area.

又本発明の他の目的は、読取データの所定しへルを認識
し、その発生頻度に基づいて2値化処理を1行する画像
処理方式にある。
Another object of the present invention is to provide an image processing method that recognizes a predetermined error in read data and performs one line of binarization processing based on the frequency of occurrence of the error.

又本発明の他の目的は、読取に要する予備時間を短縮で
きる画像処理方式にある。
Another object of the present invention is to provide an image processing method that can shorten the preliminary time required for reading.

実施例 以下本発明の実施例を図面を参照して詳細に説明する。Example Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明が適用できる原稿読取装置の概略図であ
る。原稿カバー110により押えられ、Ig、稿台10
1)に置かれた原稿102の画像情報を読取る為に、C
OD等のライン撮像素子1、03が使用され、光源10
4からの照明光が原稿102面上で反射されて、ミラー
105゜1、06 、107を介してレンズ108によ
り撮像素子103上に結像される。光源104.ミラー
105とミラー106,107は2:1の相対速度で移
動するようになっている。この光学ユニットはDCサー
ボモータ109によってPLL制御をかけながら一定速
度で左から右へ移動する。この移動速度は往路では倍率
に応じて90 mm/ secから360 mva/ 
sec まで可変であり、復路では常に630 mm/
 secである。この光学ユニットの移動する副走査方
向Aに直交する主走査ラインを撮像素子によりl 6 
 pel/mmの解像度で読取りながら光学ユニットを
左端から右端まで往動させた襖、再び左端まで復動させ
て1回の走査を終える。尚原稿を移動させつつ読取るこ
とも可能で、それにより読取に要する総時間を短縮でき
る。
FIG. 1 is a schematic diagram of a document reading device to which the present invention can be applied. Pressed by the document cover 110, Ig, document table 10
1) In order to read the image information of the original 102 placed on C.
Line image sensors 1 and 03 such as OD are used, and a light source 10
The illumination light from 4 is reflected on the surface of the original 102, and is imaged on the image sensor 103 by the lens 108 via the mirrors 105.degree.1, 06, and 107. Light source 104. Mirror 105 and mirrors 106 and 107 are configured to move at a relative speed of 2:1. This optical unit moves from left to right at a constant speed while being subjected to PLL control by a DC servo motor 109. The moving speed varies from 90 mm/sec to 360 mva/sec depending on the magnification on the outward journey.
sec, and always 630 mm/sec on the return trip.
sec. The main scanning line perpendicular to the sub-scanning direction A in which this optical unit moves is detected by the image sensor.
While reading with a resolution of pel/mm, the optical unit is moved forward from the left end to the right end, and then moved back to the left end to complete one scan. Note that it is also possible to read the original while moving it, thereby reducing the total time required for reading.

第2図に撮像素子103からの画信号を処理する回路の
概略のブロック図を示す、撮像素子103で読取られた
画信号Vo はA/Dコン/−一タ201で6ビツトの
デジタル信号に変換され、ランチ202を介してサンプ
リングクロックSCLに同期してラッチ203.コンパ
レータ204・207.ラッチ205−208に送られ
る。
FIG. 2 shows a schematic block diagram of a circuit that processes an image signal from the image sensor 103. The image signal Vo read by the image sensor 103 is converted into a 6-bit digital signal by an A/D converter 201. The latch 203 . Comparators 204 and 207. latches 205-208.

コンパレータ204ではラッチ202かも送られてきた
6ビツトの画信号とランチ203から送られてきた1ク
ロツク前の6ビツトの画信号を比較して、もしラッチ2
02かう送られてきた新しい画信号の方が小さければ、
アンドゲート206ヘコンパレート出力を出す。アンド
ゲート206はコンパレータ204からのコンパレート
出力をサンプリングクロックSCLと同期させてラッチ
205へ送る。
The comparator 204 compares the 6-bit image signal sent from the latch 202 with the 6-bit image signal sent from the launch 203 one clock ago.
02 If the new image signal sent is smaller,
A comparison output is output to the AND gate 206. AND gate 206 sends the comparison output from comparator 204 to latch 205 in synchronization with sampling clock SCL.

コンパレータ207ではラッチ202から送られてきた
6ビツトの画信号とラッチ203から送られてきたlク
ロンク前の6ビツトの画信号を比較して、もしランチ2
02から送られてきた新しい画信号の力か大きければア
ンドゲート209ヘコンパレート出力を出す、アンドゲ
ート209はコンパレータ207からのフンバレート出
力をす/プリングクロンクSCLと同期させてランチ2
08へ送る。
The comparator 207 compares the 6-bit image signal sent from the latch 202 with the 6-bit image signal sent from the latch 203 before l clock, and if
If the strength of the new image signal sent from 02 is greater, it outputs a comparator output to the AND gate 209, and the AND gate 209 outputs the hump rate output from the comparator 207 to launch 2 in synchronization with the pulling clock SCL.
Send to 08.

ランチ20’ 5 、208はコンパレート出力を受け
ると、ランチ202から送られてきた両信号をCPU2
11へ送る。
When the launches 20' 5 and 208 receive the comparator output, they send both signals sent from the launch 202 to the CPU 2.
Send to 11.

又、アンドゲート206,209にはコンパレート出力
とサンプリングクロックSCLの他に撮像素子103か
らの画信号の有効区間を示すイネーブル信号ENが入り
、主走査ライン毎の所定区間の画信号のコンパレート結
果をラッチ205゜208からCPU211に送るよう
になっている。CPU211は主走査ライン同期信号M
Sに同期してラー、チ205,208からの画信号をと
りこむことで各主走査ラインの最も低い濃度レベル(以
下白ピークと呼ぶ)と最も高い濃度レベル(以下黒ピー
クと呼ぶ)を検出できる。
Further, in addition to the comparator output and the sampling clock SCL, the AND gates 206 and 209 receive an enable signal EN indicating the effective period of the image signal from the image sensor 103, and perform the comparison of the image signal in a predetermined period for each main scanning line. The results are sent to the CPU 211 from the latches 205 and 208. The CPU 211 receives the main scanning line synchronization signal M
By taking in image signals from the RA and CH 205 and 208 in synchronization with S, the lowest density level (hereinafter referred to as white peak) and highest density level (hereinafter referred to as black peak) of each main scanning line can be detected. .

CPU211は各ライン毎に検出した白ピークと黒ピー
クをもとに後述するアルゴリズムでスライスレベルを決
定し、コンパレータ210に送る。
The CPU 211 determines a slice level based on the white peak and black peak detected for each line using an algorithm described later, and sends it to the comparator 210.

コンパレータ210ではラッチ203からの画信号とC
PU211からのスライスレベルを比較し2値化信号V
IDEOを生成する。尚コンパレータ210の代りに2
値化出力デ一タROMを設け、認識に基づいてROMの
パターンをCPU211により選択し、そのパターンを
ランチ203からのデータによりアドレスして対応する
2値化データを出力させることもできる。この場合ディ
ザパターンを格納したROMによって中間調を2値で再
現することか可能となる。
In the comparator 210, the image signal from the latch 203 and the C
The slice levels from the PU211 are compared and the binarized signal V
Generate IDEO. In addition, instead of the comparator 210, 2
It is also possible to provide a digitized output data ROM, select a pattern in the ROM based on recognition by the CPU 211, address the pattern with data from the launch 203, and output the corresponding binary data. In this case, it is possible to reproduce halftones in two values using a ROM that stores dither patterns.

第3図は原稿読取装置(第1図)の原稿台101上に原
稿が置かれている状態を示す。この場合原稿台101上
の基準座標SPから主走査方向をX、副走査方向をYと
した時の4点の座標(X+  、Y+ )、(X2  
、Y2 )、(X3 、Y3)。
FIG. 3 shows a state in which a document is placed on the document table 101 of the document reading device (FIG. 1). In this case, the coordinates of four points (X+, Y+), (X2
, Y2 ), (X3 , Y3).

(X4.Y4)を光学系を前走査して検出する。(X4.Y4) is detected by pre-scanning the optical system.

原稿の置かれている領域外の画像データは必ず黒データ
になる様に、原稿カバー1.10 (第1図)が鏡面処
理されている。前走査はガラス面全域を行うべく、主走
査、副走査を行う。
The document cover 1.10 (FIG. 1) is mirror-finished so that image data outside the area where the document is placed is always black data. The pre-scanning includes main scanning and sub-scanning to cover the entire glass surface.

第4図の回路図に前記座標を検出する論理を示す。前走
査により2値化された画像データVIDEOはシフト・
レジスタ301に8ビット単位で入力される。8ヒツト
入力が完了した時点で、ゲート回路302は8ビツトデ
ータの全てが白画像かのチェフクを行い、Yesならば
信号ライン3に1を出力する。原稿走査開始後、最初の
8ビツト白が現われた時F/F304がセットする。こ
のF/FはVSYNC(画像先端信号)によって予めリ
セットされている。以後、次のVSYNGの来るまでセ
ットし放しである。F/F 304がセットした時点で
ラッチF/F 305にその時の主走査カウンタ351
の値がロードされる。これがx1座標値になるつ又ラッ
チ306にその時の副走査カウンタ350の値がロート
される。これかY1座標値になる。従ってP+  (X
+  、Y+ )が求まる。
The circuit diagram of FIG. 4 shows the logic for detecting the coordinates. The image data VIDEO binarized by the previous scan is shifted and
The data is input to the register 301 in units of 8 bits. When the 8-bit input is completed, the gate circuit 302 checks whether all of the 8-bit data is a white image, and if YES, outputs 1 to the signal line 3. After starting scanning the original, the F/F 304 is set when the first 8-bit white appears. This F/F is reset in advance by VSYNC (image leading edge signal). After that, it is left set until the next VSYNG comes. When the F/F 304 is set, the main scanning counter 351 at that time is stored in the latch F/F 305.
The value of is loaded. The value of the sub-scanning counter 350 at that time is loaded into the latch 306, which becomes the x1 coordinate value. This will be the Y1 coordinate value. Therefore P+ (X
+, Y+) can be found.

又信号303に1が出力する度に主走査からのイ直をラ
ンチ307にロードする。このイ直は直ちに次の8ピン
トがシフト・レジスタ301に入る迄にラッチ308に
記憶される。最初の8ビツトの白が現われた時の主走査
からの値がラッチ308にロードされると、ラッチ31
0(これはVSYNC時点でO°゛にされている)のデ
ータとコンパレータ309で大小比較される。もしラン
チ308のデータの方が大ならばラッチ308のデータ
すなわちラッチ307のデータがラッチ310にロード
される。又、この時副走査カウンタの値がランチ311
にロードされる。この動作は次の8ビア)がシフト・レ
ジスタ301に入る迄に処理される。この様にラッチ3
08とラッチ310のデータを全画像領域について行な
えば、う、チ310には原稿領域X方向の最大値が残り
、この時のY方向の座標がラッチ311に残ることにな
る。これがP2  (X2  、 Y2 )座標である
Also, each time the signal 303 is outputted as 1, the input signal from the main scanning is loaded into the launch 307. This input is immediately stored in latch 308 until the next eight pins enter shift register 301. When the value from the main scan when the first 8-bit white appears is loaded into latch 308, latch 31
A comparator 309 compares the data with the data of 0 (which is set to O° at the time of VSYNC). If the data in launch 308 is greater, the data in latch 308, that is, the data in latch 307, is loaded into latch 310. Also, at this time, the value of the sub-scanning counter is launch 311.
loaded into. This operation is processed until the next 8 vias enter the shift register 301. Latch 3 like this
If the data in 08 and latch 310 are applied to the entire image area, the maximum value in the X direction of the document area remains in 310, and the coordinate in the Y direction at this time remains in latch 311. This is the P2 (X2, Y2) coordinate.

F/F312は各主走査ライン毎に最初に8ビツト白が
現われた時点でセントするF/Fで水モ同期信号HSY
NC:でリセットされ最初の8ビツト白でセットし、次
のHSYNCまで保持する。このF/F 312がセッ
トする時点で主走査カウンタの値をう、チ313にセッ
トし1次のHSYNC迄の間にラッチ314にロートす
る。そしてラッチ315とコンパレータ316で大小比
較される。
F/F 312 is an F/F that sends a cent when 8-bit white appears for the first time in each main scanning line, and the water synchronization signal HSY
NC: is reset and the first 8 bits are set to white and held until the next HSYNC. At the time when the F/F 312 is set, the value of the main scanning counter is set in the register 313 and is loaded into the latch 314 until the first HSYNC. Then, the latch 315 and the comparator 316 compare the magnitude.

ラッチ315にはVSYNC発生時点でx方向cy)l
Ilaxイ直がリセフトされている。もしランチ315
のデータの方がランチ314のデータより大きいならば
信号317がアクティブになりランチ314すなわちチ
ッチ313のデータがランチ315にロードされる。こ
の動作は)[5YNC−HSYNC:間で行われる。以
上の比較動作を全画像領域について行うとう・、チ31
5には原稿座標のX方向の最小値が残ることになる。こ
れがx3である。又、信号ライン317が出力する時、
副走査からの値がラッチ318にロードされる。これが
Y3になる。
The latch 315 is
Ilax I direct has been reset. Moshi Lunch 315
If the data in the launch 314 is greater than the data in the launch 314, the signal 317 becomes active and the data in the launch 314, that is, the data in the tick 313 is loaded into the launch 315. This operation is performed between )[5YNC-HSYNC:. The above comparison operation is performed for the entire image area.
5 remains the minimum value of the document coordinates in the X direction. This is x3. Also, when the signal line 317 outputs,
The value from the sub-scan is loaded into latch 318. This will be Y3.

う、チ319と320は全画像領域において8ビツト白
が現われる度にその時の主走査カウンタの値と副走査カ
ウンタの値がロードぎれる。従って、原稿前走査完了時
では最後に8ビツト白が現われた時点でのカウント値が
カウンタに残っていることになる。これが(X、1.Y
、?)である。
In chips 319 and 320, each time 8-bit white appears in the entire image area, the main scanning counter value and sub-scanning counter value at that time are overloaded. Therefore, when the document pre-scanning is completed, the count value at the time when 8-bit white appears last remains on the counter. This is (X, 1.Y
,? ).

以上の8つのラッチ(6,11,20,18゜5.1.
0,15.19)のデータラインは第2図のCPUのパ
スラインBUSに接続され、CPUは前走査終了時にこ
のデータを読み込むことになる。
The above eight latches (6, 11, 20, 18°5.1.
The data lines 0, 15, 19) are connected to the pass line BUS of the CPU shown in FIG. 2, and the CPU reads this data at the end of the previous scan.

第5図は原稿読取リシーケンスのフローチャートで、第
2図ROMにそのプログラムか格納されCPUにより実
行される。
FIG. 5 is a flowchart of the document reading resequence, and the program is stored in the ROM and executed by the CPU in FIG.

まずステップ501において光学系は第1図の左端から
右端まで往動走査を行なって第4図で述へたように原稿
台上の原稿の座標を検出する。
First, in step 501, the optical system performs forward scanning from the left end to the right end in FIG. 1 to detect the coordinates of the document on the document table as described in FIG. 4.

次にステップ502において2値化のためのスライスレ
ベル決定のためのピーク値をサンプルすにきエリアを、
ステップ501で検出した座標データから算出する0例
えば第3図の斜線部のような原稿について検出した座標
からこの原稿のピーク値サンプリングエリアとしてY3
 、Y2及びX r  、 X aで囲まれる長方形エ
リアを選択することをさせている。それは通常原稿は原
稿台に極力平行に載置されるものであり、またたとえ第
3図のように傾いてR置されても原稿外の不要な情報を
ひろう可能性がないからである。尚他の方法でサンプリ
ングエリアを決定することも可能である。第6図は走査
系路を示すもので、原稿座標検出を終えると光学系は副
走査方向Ymaxの点にありピーク値サンプリング開始
点Y2と終了点Y3が分っているので、ステップ504
と505及び506を実行するスケジュールをたてるこ
とができる。すなわちステップ503において復動を開
始したらCPU211は距離(Y+5ax−Y2)相当
分だけ主走査ライン同期信号を数えた後、前述した白ピ
ーク値/黒ピーク値の検出を開始し、さらにその点から
距gi(Y2−Y3)相当分だけ主走査ライン同期信号
をカウントした後、ピーク値の検出を終了し、さらに距
glE Y 3相当分だけ主走査ライン同期信号をカウ
ントした後復動を停止する。
Next, in step 502, the area for sampling the peak value for determining the slice level for binarization is
Y3 is calculated from the coordinate data detected in step 501. For example, from the coordinates detected for a document such as the shaded area in FIG.
, Y2 and a rectangular area surrounded by X r and X a. This is because the original is normally placed as parallel to the original table as possible, and even if the original is placed tilted in the R direction as shown in FIG. 3, there is no possibility of reading unnecessary information from outside the original. It is also possible to determine the sampling area using other methods. FIG. 6 shows the scanning system path. When the document coordinate detection is completed, the optical system is at the point in the sub-scanning direction Ymax, and the peak value sampling start point Y2 and end point Y3 are known, so step 504
505 and 506 can be scheduled. That is, when the backward motion is started in step 503, the CPU 211 counts the main scanning line synchronization signals for the distance (Y+5ax-Y2), starts detecting the white peak value/black peak value described above, and further calculates the distance from that point. After counting the main scanning line synchronizing signals for an amount equivalent to gi (Y2-Y3), detection of the peak value is finished, and after counting the main scanning line synchronizing signals for an amount equivalent to the distance glE Y 3, the backward movement is stopped.

またステップ504においてピーク値検出開始詩には、
先に述へたイネーブル信号ENを第6図のように検出座
標XI、X、に対応して設定しておく。
Also, in step 504, the peak value detection start poem includes:
The enable signal EN mentioned above is set corresponding to the detected coordinates XI, X, as shown in FIG.

以上の動作で原稿台上の任意の位置にある原稿内の主走
査ライン毎の画像濃度の白ピークと黒ピークを検出でき
る。
With the above operations, the white peak and black peak of the image density can be detected for each main scanning line in the document located at any position on the document table.

次に2値化のためのスライスレベル決定のアルゴリズム
について説明する。
Next, an algorithm for determining slice levels for binarization will be explained.

前述した手段によりCPU211は原稿領域内から各主
走査ライン毎に黒ピーク値と白ピーク値をとりこむ。
Using the above-described means, the CPU 211 takes in the black peak value and white peak value for each main scanning line from within the document area.

今、第i主走査ライン上の黒ピークをBPi、白ピーク
をWPiとすると画像データは6ビツト値であルカラ各
h 00 (HEX) カラ3 F(HEX) t テ
のいずれかの値をとりかつBPi≧WPiである。
Now, assuming that the black peak on the i-th main scanning line is BPi and the white peak is WPi, the image data is a 6-bit value and takes one of the following values: h 00 (HEX) Color 3 F (HEX) t And BPi≧WPi.

CPUはRAM内に用意された6 4 X 2 /<イ
トの黒ピークヒストグラム用エリアと64×2バイトの
白ピークヒストグラム用エリア内の検出したデータBP
i、!=WPiに対応した2バイトエリアの内容を各々
1つずつカウントアツプして、次の主走査ライン同期信
号MSを待ち、第1÷1ラインからのデータBPi+1
とW P i÷1をとりこんで、再び゛ヒストグラムの
対I5エリアをカウントアツプして以下ステップ505
のサンプル終了まで続ける。
The CPU stores the detected data BP in a 64 x 2 byte black peak histogram area and a 64 x 2 byte white peak histogram area prepared in the RAM.
i,! = Counts up the contents of the 2-byte areas corresponding to WPi one by one, waits for the next main scanning line synchronization signal MS, and calculates the data from the 1st ÷ 1st line BPi + 1.
and W P i÷1, count up the I5 area of the histogram again, and proceed to step 505.
Continue until the sample ends.

但しこの時、検出したBPiとWPiを必らずしもヒス
トグラムデータとして用いるとは限らない。
However, at this time, the detected BPi and WPi are not necessarily used as histogram data.

たとえば主走査ライン方向に一様な濃度の帯があれば、
たとえそれがまっ白であろうとまっ黒であろうとまた他
の濃度でもそこからのサンプル値BPiとWPiはほと
んど等しいものになり地肌と情報を区別するデータを必
要とする2値化のための情報としてはふされしくない、
その為。
For example, if there is a band of uniform density in the main scanning line direction,
Even if it is pure white or pure black, the sample values BPi and WPi from it will be almost the same even if it is a different density, and as information for binarization, which requires data to distinguish the background from the information. unbecoming,
For that reason.

CPUはBPi−WPi≦αの時にはBPi。The CPU is BPi when BPi-WPi≦α.

WPiはヒストグラムデータとして用いず捨ててしまい
、BPi+1  、WPi+1を待つことになる。
WPi is not used as histogram data and is discarded, and BPi+1 and WPi+1 are waited for.

このαは経験的に設定される定数で例えば4とが3であ
る。またステップ504によりサンプル開始する以前に
全ヒストグラムエリア64X2X2バイトを0クリアし
ておくのは当然のことである。
This α is a constant set empirically, and for example, 4 is 3. Furthermore, it is a matter of course that the entire histogram area 64×2×2 bytes be cleared to 0 before sampling is started in step 504.

この結果ステップ505でサンプル終了した時には、例
えば第7図に示すようなヒストグラムが黒ピーク/白ピ
ークの各々についてa成されている。サンプルを終了し
た後、光学系がスタート地点に戻り、ステップ506で
復動を終了したら、次にステップ507でスライスレベ
ルを設定する。
As a result, when the sample is completed in step 505, a histogram as shown in FIG. 7, for example, has been created for each of the black peaks and white peaks. After completing the sample, the optical system returns to the starting point and completes the backward motion in step 506. Next, in step 507, the slice level is set.

まず各ヒストグラムの度数のピークを示す濃度レベルを
各々の代表値と考える。
First, the density level showing the peak frequency of each histogram is considered to be the respective representative value.

第7図の例によれば原稿情報部の濃度を36H1原稿地
肌部の濃度をOAHとし、例えばその中央と 値20H,5スライスレベルとする。
According to the example shown in FIG. 7, the density of the document information part is 36H, the density of the background part of the document is OAH, and for example, the center and value are 20H and 5 slice levels.

尚このスライスレベルの決定方式として読取データの他
の所定レベルのびん度に基づいて決定することも可能で
ある。又スライスレベルだけでなくROMに格納したデ
ィザパターンや出カバターンを選択決定することもでき
る。
Note that the slice level can also be determined based on another predetermined level of fineness of the read data. In addition to the slice level, it is also possible to select and determine dither patterns and output patterns stored in the ROM.

醇後にステップ508で原稿読取スキャンを行なって動
作を終了する。
After that, the document is read and scanned in step 508, and the operation ends.

以上の様にして求めたスライスレベルROMパターンは
、同一の原稿から連続して複数回読取ってコピーする場
合は保持させ、所定数のコピー終了後、一定時間してキ
ャンセルする。又、新たな原稿を読取る場合に限りスラ
イスレベル。
The slice level ROM pattern obtained as described above is retained when the same document is read and copied multiple times in succession, and is canceled after a certain period of time after a predetermined number of copies have been completed. Also, slice level only when reading a new document.

ROMパターンをキャンセルするもので、そしてその後
予備走査を行なう、尚予備走査は必要に応して選択でき
るもので、予備走査なしで、コピー速度を高めるようす
ることも可能である。
The ROM pattern is canceled, and then a preliminary scan is performed.The preliminary scan can be selected as necessary, and it is also possible to increase the copy speed without the preliminary scan.

第8図は原稿601をベルト600によりガラス101
に自動セットし読取終了後排出するものである。この場
合走査部200をAの点に予じめセットした状態で、原
稿601をベルトでセットの為に移動させ、200の停
止状態で原稿を読取ることができる。そのときの読取デ
ータから原稿の巾、長さを認識させる。モしてAの点か
ら走査移動部を復動させて、原稿のレベル判定を行なう
、左端に送ると往動を開始し、必要かつ有効な原稿領域
のレベル認識に基づく2値化を行なう。
In FIG. 8, a document 601 is transferred to a glass 101 by a belt 600.
It is automatically set in the holder and ejected after reading is completed. In this case, with the scanning unit 200 set in advance at point A, the original 601 is moved with a belt for setting, and the original can be read while the scanning unit 200 is stopped. The width and length of the document are recognized from the read data at that time. Then, the scanning movement section is moved backward from point A to determine the level of the document. When the document is sent to the left end, forward movement is started and binarization is performed based on level recognition of the necessary and effective document area.

尚、第8図の場合認識に基づく2値化を必要としない場
合、Aの点に走査部を停止した状態で移動する原稿の読
取ったデータをそのまま2値化して出力することにより
、読取に要する時間を短縮することができる。
In the case of Fig. 8, if binarization based on recognition is not required, the scanned data of the document moving with the scanning unit stopped at point A can be converted into binarized data and output as it is, thereby making it easier to read. The time required can be shortened.

効   果 本発明により読取画像データの適切な2値化処理が可能
となる。
Effects The present invention enables appropriate binarization processing of read image data.

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

第1図は原稿読取装置の概略図、 第2図は画信号処理回路のブロック図、第3図は原稿台
上に置かれた原稿と位置座標の関係を示す図、 第4図は位置座標検出回路図、 第5図は画像読取シーケンスのフロー図、第6図は原稿
位置とシーケンスの関係を示す図、 第7図は黒ピークヒストグラムと白ピークヒストグラム
の例を示す図、 第8(Δは原稿読取装置の他の概略図であり。 図中104はランプ、103は撮像素子、101は原稿
台である。
Figure 1 is a schematic diagram of the document reading device, Figure 2 is a block diagram of the image signal processing circuit, Figure 3 is a diagram showing the relationship between the document placed on the document table and the position coordinates, and Figure 4 is the position coordinates. Detection circuit diagram, Figure 5 is a flow diagram of the image reading sequence, Figure 6 is a diagram showing the relationship between document position and sequence, Figure 7 is a diagram showing an example of a black peak histogram and a white peak histogram, and Figure 8 (Δ 1 is another schematic diagram of the document reading device. In the figure, 104 is a lamp, 103 is an image sensor, and 101 is a document table.

Claims (1)

【特許請求の範囲】[Claims] 原稿を読取って画像データとして出力する方式において
、原稿を移動させつつ原稿を認識し、停止した原稿を移
動走査系により読取り、その読取データを先の認識デー
タに基づき処理することを特徴とする画像処理方式。
In a method of reading a document and outputting it as image data, the document is recognized while moving, the stopped document is read by a moving scanning system, and the read data is processed based on the previously recognized data. Processing method.
JP59196173A 1984-09-19 1984-09-19 Image processing device Expired - Lifetime JPH084311B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59196173A JPH084311B2 (en) 1984-09-19 1984-09-19 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59196173A JPH084311B2 (en) 1984-09-19 1984-09-19 Image processing device

Publications (2)

Publication Number Publication Date
JPS6173482A true JPS6173482A (en) 1986-04-15
JPH084311B2 JPH084311B2 (en) 1996-01-17

Family

ID=16353410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59196173A Expired - Lifetime JPH084311B2 (en) 1984-09-19 1984-09-19 Image processing device

Country Status (1)

Country Link
JP (1) JPH084311B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5330216A (en) * 1976-09-01 1978-03-22 Mitsubishi Electric Corp Dinary signal control circuit
JPS5473026A (en) * 1977-11-22 1979-06-12 Ricoh Co Ltd Copying machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5330216A (en) * 1976-09-01 1978-03-22 Mitsubishi Electric Corp Dinary signal control circuit
JPS5473026A (en) * 1977-11-22 1979-06-12 Ricoh Co Ltd Copying machine

Also Published As

Publication number Publication date
JPH084311B2 (en) 1996-01-17

Similar Documents

Publication Publication Date Title
US5065257A (en) Image processing apparatus with means for compensating for dust., etc., on an original
JPS60124173A (en) Image processor
US4817174A (en) Image processing apparatus
US5086486A (en) Apparatus for reading a document and processing the image
US4907286A (en) Image processing apparatus
JP3262326B2 (en) Image processing apparatus and image processing method
JPH0818764A (en) Device for rectangular processing in intra-frame area
US5228099A (en) Apparatus for reading a document and processing the image
JPS6173482A (en) Picture processing system
JP2541937B2 (en) Image processing device
JPH0582782B2 (en)
JPS6173480A (en) Picture processing system
JPH03230683A (en) Copying machine
JP2911488B2 (en) Color image processing equipment
JP2942199B2 (en) Image processing method
JPS621370A (en) Image processing method for digital copying machine or the like
JPS59189783A (en) Picture signal processing system
JPS62239662A (en) Original document processor
JPH078005B2 (en) Image processing device
JPS62166649A (en) Original reader
JPS61214865A (en) Picture processing device
JP2963113B2 (en) Document size detector
SU955126A1 (en) Mask flaw recognition device
JPH0683341B2 (en) Image processing device
JPH085468Y2 (en) Document size detector

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term