JPH084311B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH084311B2
JPH084311B2 JP59196173A JP19617384A JPH084311B2 JP H084311 B2 JPH084311 B2 JP H084311B2 JP 59196173 A JP59196173 A JP 59196173A JP 19617384 A JP19617384 A JP 19617384A JP H084311 B2 JPH084311 B2 JP H084311B2
Authority
JP
Japan
Prior art keywords
original
area
latch
scanning
document
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.)
Expired - Lifetime
Application number
JP59196173A
Other languages
Japanese (ja)
Other versions
JPS6173482A (en
Inventor
昌教 山田
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

Description

【発明の詳細な説明】 技術分野 本発明は画像処理装置に関し、特に、原稿台に置かれ
ている原稿画像の濃度を忠実に判断し、その判断結果に
基づき画像信号を再生信号に変換する画像処理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly, to an image in which the density of a document image placed on a document table is faithfully determined and an image signal is converted into a reproduction signal based on the determination result. Regarding a processing device.

従来技術の説明 従来より、原稿内の画像の濃度を検出し、その結果に
基づき種々の画像処理、例えば読み取った画像信号を2
値化する画像処理装置が知られている。
2. Description of the Related Art Conventionally, the density of an image in a document is detected, and various image processes are performed based on the result, for example, a read image signal is detected.
An image processing device for digitizing is known.

しかしながら、従来は原稿が常に原稿台上の所定の位
置に置かれることを前提に予め決められている領域の画
像信号を抽出する構成のため、原稿が原稿台上の所定の
位置に置かれていない場合は、原稿台上の原稿領域以外
の不要な濃度情報に基づき原稿画像の濃度を判断してし
まうおそれがあった。
However, conventionally, since the original is always placed at a predetermined position on the original plate, the image signal of a predetermined area is extracted, so that the original is placed at a predetermined position on the original plate. If not, there is a risk that the density of the original image may be determined based on unnecessary density information other than the original area on the original table.

また、これにより、原稿画像の広い範囲の濃度を精度
良く検出することができず、原稿情報に忠実な再生信号
を得ることができないといった欠点があった。
Further, this has a drawback that the density of a wide range of the original image cannot be accurately detected, and a reproduction signal faithful to the original information cannot be obtained.

目的 本発明は上述した従来技術に鑑みなされたもので、そ
の目的は、原稿領域内の広い範囲の濃度を精度良く、し
かも高速に検出することができ、これにより原稿情報に
忠実な再生信号を高速に得ることができる画像処理装置
を提供するものである。
The present invention has been made in view of the above-described prior art, and an object thereof is to detect a wide range of density within a document area with high accuracy and at high speed, thereby producing a reproduction signal faithful to document information. An image processing device that can be obtained at high speed is provided.

実施例 以下本発明の実施例を図面を参照して詳細に説明す
る。第1図は本発明が適用できる原稿読取装置の概略図
である。原稿カバー110により押えられ、原稿台101上に
置かれた原稿102の画像情報を読取る為に、CCD等のライ
ン撮像素子103が使用され、光源104からの照明光が原稿
102面上で反射されて、ミラー105,106,107を介してレン
ズ108により撮像素子103上に結像される。光源104,ミラ
ー105とミラー106,107は2:1の相対速度で移動するよう
になっている。この光学ユニットはDCサーボモータ109
によってPLL制御をかけながら一定速度で左から右へ移
動する。この移動速度は往路では倍率に応じて90mm/sec
から360mm/secまで可変であり、復路では常に630mm/sec
である。この光学ユニットの移動する副走査方向Aに直
交する主走査ラインを撮像素子により16pel/mmの解像度
で読取りながら光学ユニットを左端から右端まで往動さ
せた後、再び左端まで復動させて1回の走査を終える。
尚原稿を移動させつつ読取ることも可能で、それにより
読取に要する総時間を短縮できる。
Embodiments Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a schematic diagram of a document reading apparatus to which the present invention can be applied. A line image sensor 103 such as a CCD is used to read the image information of the document 102 placed on the document table 101 and held by the document cover 110.
The light is reflected on the surface 102 and is imaged on the image sensor 103 by the lens 108 via the mirrors 105, 106 and 107. The light source 104, the mirror 105, and the mirrors 106, 107 move at a relative speed of 2: 1. This optical unit is a DC servo motor 109
Moves from left to right at a constant speed while applying PLL control by. This moving speed is 90 mm / sec depending on the magnification in the outward path
To 360 mm / sec, and always 630 mm / sec on the return trip
Is. While reading the main scanning line orthogonal to the moving sub-scanning direction A of this optical unit with the image sensor at a resolution of 16 pel / mm, the optical unit is moved forward from the left end to the right end, and then moved back to the left end again. Finish scanning.
It is also possible to read the original while moving it, and thus the total time required for reading can be shortened.

第2図に撮像素子103からの画信号を処理する回路の
概略のブロック図を示す。撮像素子103で読取られた画
信号VDは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 V D read by the image sensor 103 is converted into a 6-bit digital signal by the A / D converter 201, and the sampling clock SCL is passed through the latch 202.
Latch 203, comparators 204 and 207, latch 205 in synchronization with
・ Sent to 208.

コンパレータ204ではラッチ202から送られてきた6ビ
ットの画信号とラッチ203から送られてきた1クロック
前の6ビットの画信号を比較して、もしラッチ202から
送られてきた新しい画信号の方が小さければ、アンドゲ
ート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 one clock before sent from the latch 203, and if the new image signal sent from the latch 202 If is smaller, the comparator output is output to the AND gate 206. The AND gate 206 sends the comparator output from the comparator 204 to the latch 205 in synchronization with the sampling clock SCL.

コンパレータ207ではラッチ202から送られてきた6ビ
ットの画信号とラッチ203から送られてきた1クロック
前の6ビットの画信号を比較して、もしラッチ202から
送られてきた新しい画信号の方が大きければアンドゲー
ト209へコンパレート出力を出す。アンドゲート209はコ
ンパレータ207からのコンパレート出力をサンプリング
クロックSCLと同期させてラッチ208へ送る。
In the comparator 207, the 6-bit image signal sent from the latch 202 is compared with the 6-bit image signal one clock before sent from the latch 203, and the new image signal sent from the latch 202 is compared. If is larger, a comparator output is output to the AND gate 209. The AND gate 209 sends the comparator output from the comparator 207 to the latch 208 in synchronization with the sampling clock SCL.

ラッチ205,208はコンパレート出力を受けると、ラッ
チ202から送られてきた画信号をCPU211へ送る。
Upon receiving the comparator output, the latches 205 and 208 send the image signal sent from the latch 202 to the CPU 211.

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

CPU211はライン毎に検出した白ピークと黒ピークをも
とに後述するアンゴリズムでスライスレベルを決定し、
コンパレータ210に送る。コンパレータ210ではラッチ20
3からの画信号とCPU211からのスライスレベルを比較し
2値化信号VIDEOを生成する。尚コンパレータ210の代り
に2値化出力データROMを設け、認識に基づいてROMのパ
ターンをCPU211により選択し、そのパターンをラッチ20
3からのデータによりアドレスして対応する2値化デー
タを出力させることもできる。この場合ディザパターン
を格納したROMによって中間調を2値で再現することが
可能となる。
CPU211 determines the slice level by the algorithm described later based on the white peak and black peak detected for each line,
Send to the comparator 210. Latch 20 for comparator 210
The image signal from 3 and the slice level from the CPU 211 are compared to generate a binarized signal VIDEO. A binary output data ROM is provided in place of the comparator 210, and the ROM pattern is selected by the CPU 211 based on the recognition, and the pattern is latched.
It is also possible to address by the data from 3 and output the corresponding binary data. In this case, it is possible to reproduce the halftone in binary with the ROM storing the dither pattern.

第3図は原稿読取装置(第1図)の原稿台101上に原
稿が置かれている状態を示す。この場合原稿台101上の
基準座標SPから主走査方向をX,副走査方向をYとした時
の4点の座標(X1,Y1),(X2,Y2),(X3,Y3),(X4,Y4)を光学
系を前走査して検出する。原稿の置かれている領域外の
画像データは必ず黒データになる様に、原稿カバー110
(第1図)が鏡面処理されている。前走査はガラス面全
域を行うべく、主走査、副走査を行う。
FIG. 3 shows a state where 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 1 , Y 1 ), (X 2 , Y 2 ), (X 3 ,, where X is the main scanning direction and Y is the sub scanning direction from the reference coordinates SP on the document table 101 Y 3 ), (X 4 , Y 4 ) is detected by pre-scanning the optical system. Make sure that the original cover 110 is set so that the image data outside the area where the original is placed is always black.
(Fig. 1) is mirror-finished. In the pre-scanning, main scanning and sub-scanning are performed in order to scan the entire glass surface.

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

又信号303に1が出力する度に主走査からの値をラッ
チ307にロードする。この値は直ちに次の8ビットがシ
フト・レジスタ301に入る迄にラッチ308に記憶される。
最初の8ビットの白が現われた時の主走査からの値がラ
ッチ308にロードされると、ラッチ310(これはVSYNC時
点で“0"にされている)のデータとコンパレータ309で
大小比較される。もしラッチ308のデータの方が大なら
ばラッチ308のデータすなわちラッチ307のデータがラッ
チ310にロードされる。又、この時副走査カウンタの値
がラッチ311にロードされる。この動作は次の8ビット
がシフト・レジスタ301に入る迄に処理される。この様
にラッチ308とラッチ310のデータを全画像領域について
行なえば、ラッチ310には原稿領域X方向の最大値が残
り、この時のY方向の座標がラッチ311に残ることにな
る。これがP2(X2,Y2)座標である。
The value from the main scan is loaded into the latch 307 every time 1 is output to the signal 303. This value is immediately stored in latch 308 until the next 8 bits enter shift register 301.
When the value from the main scan when the first 8-bit white appears is loaded into the latch 308, the data in the latch 310 (which is set to “0” at the time of VSYNC) is compared in magnitude with the comparator 309. It If the data in the latch 308 is larger, the data in the latch 308, that is, the data in the latch 307 is loaded into the latch 310. At this time, the value of the sub-scanning counter is loaded in the latch 311. This operation is processed until the next 8 bits enter the shift register 301. When the data of the latch 308 and the latch 310 is thus obtained for the entire image area, the maximum value in the X direction of the original area remains in the latch 310, and the coordinate in the Y direction at this time remains in the latch 311. This is the P 2 (X 2 , Y 2 ) coordinate.

F/F312は各走査ライン毎に最初に8ビット白が現われ
た時点でセットするF/Fで水平同期信号HSYNCでリセット
され最初の8ビット白でセットし、次のHSYNCまで保持
する。このF/F312がセットする時点で主走査カウンタの
値をラッチ313にセットし、次のHSYNC迄の間にラッチ31
4にロードする。そしてラッチ315とコンパレータ316で
大小比較される。ラッチ315にはVSYNC発生時点でX方向
のmax値がリセットされている。もしラッチ315のデータ
の方がラッチ314のデータより大きいならば信号317がア
クテイブになりラッチ314すなわちラッチ313のデータが
ラッチ315にロードされる。この動作はHSYNC−HSYNC間
で行われる。以上の比較動作を全画像領域について行う
とラッチ315には原稿座標のX方向の最小値が残ること
になる。これがX3である。又、信号ライン317が出力す
る時、副走査からの値がラッチ318にロードされる。こ
れがY3になる。
The F / F 312 is an F / F that is set when the first 8-bit white appears for each scanning line, is reset by the horizontal synchronizing signal HSYNC, is set by the first 8-bit white, and is held until the next HSYNC. At the time when this F / F312 is set, the value of the main scan counter is set in the latch 313, and the latch 31 is set until the next HSYNC.
Load to 4. Then, the size of the latch 315 and that of the comparator 316 are compared. The maximum value in the X direction is reset in the latch 315 when VSYNC occurs. If the data in latch 315 is greater than the data in latch 314, signal 317 becomes active and latch 314, or the data in latch 313, is loaded into latch 315. This operation is performed between HSYNC and HSYNC. When the above comparison operation is performed on the entire image area, the minimum value of the document coordinates in the X direction remains in the latch 315. This is X 3 . Also, when the signal line 317 outputs, the value from the sub-scan is loaded into the latch 318. This becomes Y 3 .

ラッチ319と320は全画像領域において8ビット白が現
われる度にその時の主走査カウンタの値と副走査カウン
タの値がロードされる。従って、原稿前走査完了時では
最後に8ビット白が現われた時点でのカウント値がカウ
ンタに残っていることになる。これが(X4.Y4)であ
る。
The latches 319 and 320 are loaded with the values of the main scanning counter and the sub scanning counter at each time when 8-bit white appears in the entire image area. Therefore, when the original pre-scanning is completed, the count value at the time when 8-bit white finally appears remains in the counter. This is (X 4 .Y 4 ).

以上の8つのラッチ(306,311,320,318,305,310,315,
319)のデータラインは第2図のCPUのバスラインBUSに
接続され、CPUは前走査終了時にこのデータを読み込む
ことになる。
The above eight latches (306,311,320,318,305,310,315,
The data line 319) is connected to the bus line BUS of the CPU in FIG. 2, and the CPU will read this data at the end of the prescan.

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

まずステツプ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.

次にステツプ502において2値化のためのスライスレ
ベル決定のためのピーク値をサンプルすべきエリアを、
ステツプ501で検出した座標データから算出する。例え
ば第3図の斜線部のような原稿について検出した座標か
らこの原稿のピーク値サンプリングエリアとしてY3,Y2
及びX1,Y4で囲まれる長方形エリアを選択することをさ
せている。それは通常原稿は原稿台に極力平行に載置さ
れるものであり、またたとえ第3図のように傾いて載置
されても原稿外の不要な情報をひろう可能性がないから
である。尚他の方法でサンプリングエリアを決定するこ
とも可能である。第6図は走査系路を示すもので、原稿
座標検出を終えると光学系は副走査方向Ymaxの点にあり
ピーク値サンプリング開始点Y2と終了点Y3が分っている
ので、ステツプ504と505及び506を実行するスケジュー
ルをたてることができる。すなわちステツプ503におい
て復動を開始したらCPU211は距離(Ymax−Y2)相当分だ
け主走査ライン同期信号を数えた後、前述した白ピーク
値/黒ピーク値の検出を開始し、さらにその点から距離
(Y2-Y3)相当分だけ主走査ライン同期信号をカウント
した後、ピーク値の検出を終了し、さらに距離Y3相当分
だけ主走査ライン同期信号をカウントした後復動を停止
する。
Next, in step 502, the area where the peak value for sampling the slice level for binarization should be sampled,
It is calculated from the coordinate data detected in step 501. For example, from the coordinates detected for an original document such as the shaded area in FIG. 3 , Y 3 , Y 2
, And a rectangular area surrounded by X 1 and Y 4 is selected. This is because the original is normally placed as parallel as possible on the original table, and even if the original is inclined and placed as shown in FIG. 3, there is no possibility of obtaining unnecessary information outside the original. It is also possible to determine the sampling area by another method. 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 Y 2 and the end point Y 3 are known. You can schedule 505 and 506 to run. That is, when the backward movement is started in step 503, the CPU 211 counts the main scanning line synchronizing signals by the distance (Ymax-Y 2 ) and then starts the above-mentioned white peak value / black peak value detection. After the main scanning line synchronization signal is counted by the distance (Y 2 -Y 3 ), the peak value detection is ended, and the main scanning line synchronization signal is counted by the distance Y 3 and then the backward movement is stopped. .

またステツプ504においてピーク値検出開始時には、
先に述べたイネーブル信号ENを第6図のように検出座標
X1,X4に対応して設定しておく。
When the peak value detection is started in step 504,
The enable signal EN described above is detected as shown in FIG.
Set in correspondence with X 1 and X 4 .

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

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

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

今、第i主走査ライン上の黒ピークをBPi、白ピーク
をWPiとすると画像データは6ビツト値であるから各々O
O(HEX)から3F(HEX)までのいずれかの値をとりかつB
Pi≧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 has 6-bit value.
Takes any value from O (HEX) to 3F (HEX) and B
Pi ≧ WPi.

CPUはRAM内に用意された64×2バイトの黒ピークヒス
トグラム用エリアと64×2バイトの白ピークヒストグラ
ム用エリア内の検出したデータBPiとWPiに対応した2バ
イトエリアの内容を各々1つずつカウントアツプして、
次の主走査ライン同期信号MSを待ち、第i+1ラインか
らのデータBPi+1とWPi+1をとりこんで、再びヒスト
グラムの対応エリアをカウントアツプして以下ステツプ
505のサンプル終了まで続ける。
The CPU has 1 each of the contents of the 2-byte area corresponding to the detected data BPi and WPi in the 64 × 2-byte black peak histogram area and 64 × 2-byte white peak histogram area prepared in RAM. Count up,
Wait for the next main scanning line synchronization signal MS, take in the data BPi + 1 and WPi + 1 from the (i + 1) th line, count up the corresponding area of the histogram again, and perform the following steps.
Continue until the end of the 505 sample.

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

たとえば主走査ライン方向に一様な濃度の帯があれ
ば、たとえそれがまっ白であろうとまっ黒であろうとま
た他の濃度でもそこからのサンプル値BPiとWPiはほとん
ど等しいものになり地肌と情報を区別するデータを必要
とする2値化のための情報としてはふさわしくない。そ
の為、CPUはBPi−WPi≦αの時にはBPi,WPiはヒストグラ
ムデータとして用いず捨ててしまい、BPi+1,WPi+1を
待つことになる。このαは経験的に設定される定数で例
えば4とか3である。またステツプ504によりサンプル
開始する以前に全ヒストグラムエリア64×2×2バイト
を0クリアしておくのは当然のことである。
For example, if there is a uniform density band in the main scan line direction, whether it is pure white or pure black, and at other densities, the sample values BPi and WPi from there will be almost the same, and the background and information will be displayed. It is not suitable as information for binarization that requires data to be distinguished. Therefore, when BPi−WPi ≦ α, the CPU discards BPi and WPi without using them as histogram data, and waits for BPi + 1 and WPi + 1. This α is a constant that is set empirically and is, for example, 4 or 3. In addition, it is natural that the entire histogram area 64 × 2 × 2 bytes is cleared to 0 before the sampling is started in step 504.

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

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

第7図の例によれば原稿情報部の濃度を36H、原稿地
肌部の濃度をOAHとし、例えばその中央値2OHをスライス
レベルとする。
According to the example of FIG. 7, the density of the document information portion is 36H, the density of the background portion of the document is OAH, and the median value 2OH is the slice level.

尚このスライスレベルの決定方式として読取データの
他の所定レベルのひん度に基づいて決定することも可能
である。又スライスレベルだけでなくROMに格納したデ
イザパターンや出力パターンを選択決定することもでき
る。
As a method of determining the slice level, it is also possible to determine based on the frequency of another predetermined level of the read data. Further, not only the slice level but also the dither pattern and output pattern stored in the ROM can be selected and determined.

最後にステツプ508で原稿読取スキヤンを行なって動
作を終了する。
Finally, in step 508, the document reading scan is performed to end the operation.

以上の様にして求めたスライスレベルROMパターン
は、同一の原稿から連続して複数回読取ってコピーする
場合は保持させ、所定数のコピー終了後、一定時間して
キヤンセルする。又、新たな原稿を読取る場合に限りス
ライスレベル,ROMパターンをキヤンセルするもので、そ
してその後予備走査を行なう。尚予備走査は必要に応じ
て選択できるもので、予備走査なしで、コピー速度を高
めるようすることも可能である。
The slice level ROM pattern obtained as described above is retained when the same original is read and copied a plurality of times in succession, and after a predetermined number of copies is completed, the slice level ROM pattern is canceled for a certain period of time. The slice level and the ROM pattern are canceled only when a new original is read, and then the preliminary scanning is performed. The preliminary scanning can be selected as necessary, and the copying speed can be increased without the preliminary scanning.

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

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

効果 以上説明した如く本発明によれば原稿領域内に原稿濃
度を検出するためのエリアを設定し、そのエリア内でラ
イン単位の画像信号のピーク値を複数ラインに対し検出
し、その検出終了後、エリア全域からのピーク値に基づ
き原稿濃度を判断するものであり、原稿の広い範囲を参
照して原稿の濃度を精度良く検出することができる。更
に、原稿を読取る読取り手段の往動時に、原稿台上の原
稿の存在する領域を認識し、原稿濃度を検出するための
エリアを設定し、読取り手段の復動時、前記エリア内で
前記ピーク値の検出を行うので、原稿領域内の原稿濃度
の判断を高速に行うことができる。
Effect As described above, according to the present invention, an area for detecting the original density is set in the original area, the peak value of the image signal in line units is detected for a plurality of lines in the area, and after the detection is completed. , The density of the original is determined based on the peak value from the entire area, and the density of the original can be accurately detected by referring to a wide range of the original. Further, when the reading means for reading the original document is moved forward, an area for recognizing the original document on the document table is set, and an area for detecting the original density is set. Since the value is detected, the original density in the original area can be determined at high speed.

従って、原稿情報に忠実な再生信号を高速に得ること
ができる。
Therefore, a reproduction signal faithful to the document information can be obtained at high speed.

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

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

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】原稿を読取り、画像信号を出力するための
読取り手段と、 上記原稿の全面を走査するべく上記読取り手段を往復走
査させるための走査手段と、 上記走査手段による上記読取り手段の往動時に、上記読
取り手段からの画像信号に基づき原稿台上の原稿の存在
する領域を認識する認識手段と、 上記認識手段の認識結果に基づき、原稿の存在する領域
内に原稿濃度を検出するためのエリアを設定する設定手
段と、 上記走査手段による上記読取り手段の復動時に、上記設
定手段により設定されたエリア内で上記読取り手段から
の画像信号に基づきライン単位のピーク値を複数ライン
に対し検出する検出手段と、 上記走査手段による上記読取り手段の復動終了後、上記
検出手段で検出された上記エリア全域からの複数のピー
ク値に基づき原稿の濃度を判断し、再度上記走査手段に
より上記読取り手段を往動させ、その往動時に上記読取
り手段から得られる画像信号を上記判断された原稿濃度
に基づき再生信号に変換処理する処理手段とを有するこ
とを特徴とする画像処理装置。
1. A reading means for reading an original and outputting an image signal, a scanning means for reciprocally scanning the reading means to scan the entire surface of the original, and a forward movement of the reading means by the scanning means. In order to detect the document density in the area where the document exists based on the recognition result of the recognition means and the recognition means that recognizes the area where the document exists on the platen on the basis of the image signal from the reading means when moving. Setting means for setting the area of the line, and when the scanning means returns to the reading means, the peak value of each line is set to a plurality of lines based on the image signal from the reading means within the area set by the setting means. Based on the detecting means for detecting and the plurality of peak values from the entire area of the area detected by the detecting means after the returning of the reading means by the scanning means is completed. A processing means for judging the density of the original, moving the reading means forward by the scanning means again, and converting the image signal obtained from the reading means during the forward movement into a reproduction signal based on the judged original density; An image processing apparatus comprising:
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 JPS6173482A (en) 1986-04-15
JPH084311B2 true 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)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5829674B2 (en) * 1976-09-01 1983-06-24 三菱電機株式会社 Binary signal control circuit
JPS5473026A (en) * 1977-11-22 1979-06-12 Ricoh Co Ltd Copying machine

Also Published As

Publication number Publication date
JPS6173482A (en) 1986-04-15

Similar Documents

Publication Publication Date Title
JP3254272B2 (en) Apparatus and method for determining background level of an image
JPS60124173A (en) Image processor
US4817174A (en) Image processing apparatus
US5086486A (en) Apparatus for reading a document and processing the image
JP2721334B2 (en) Image binarization processing device
US5228099A (en) Apparatus for reading a document and processing the image
JP2541937B2 (en) Image processing device
JPH084311B2 (en) Image processing device
US5299030A (en) Image data processing method and apparatus with mixture of simple binarization and psuedo intermediate tone
JPH0582782B2 (en)
JPH0570975B2 (en)
JPH078005B2 (en) Image processing device
JP2963113B2 (en) Document size detector
JPH0475703B2 (en)
JPH0636553B2 (en) Image processing device
JP2608264B2 (en) Image reading device
JPS62166649A (en) Original reader
JPH0683341B2 (en) Image processing device
JPH0584974B2 (en)
JP3086243B2 (en) Halftone dot area detection device
JPH0364268A (en) Color copying device
JPH01258558A (en) Method for deciding threshold density for original reader
JPS63196163A (en) Original processor
JPS60220661A (en) Picture signal processing system
JPS63261960A (en) Binarization device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term