Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH078005B2 - Image processing device - Google Patents
[go: Go Back, main page]

JPH078005B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH078005B2
JPH078005B2 JP58063859A JP6385983A JPH078005B2 JP H078005 B2 JPH078005 B2 JP H078005B2 JP 58063859 A JP58063859 A JP 58063859A JP 6385983 A JP6385983 A JP 6385983A JP H078005 B2 JPH078005 B2 JP H078005B2
Authority
JP
Japan
Prior art keywords
level
background
threshold value
line
image
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
JP58063859A
Other languages
Japanese (ja)
Other versions
JPS59189784A (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 JP58063859A priority Critical patent/JPH078005B2/en
Priority to DE3413651A priority patent/DE3413651C3/en
Publication of JPS59189784A publication Critical patent/JPS59189784A/en
Priority to US07/289,520 priority patent/US4941188A/en
Publication of JPH078005B2 publication Critical patent/JPH078005B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 (技術分野) 本発明は、原稿画像を読み取ることによって得られた画
素毎の画像データを所定の処理条件に従って処理する画
像処理装置に関する。
TECHNICAL FIELD The present invention relates to an image processing apparatus for processing image data for each pixel obtained by reading an original image according to a predetermined processing condition.

(従来の技術) 従来、画信号を2値化処理する方式として原稿から読取
られた画信号より閾値レベル(以下スレツシユ・レベル
と称す)を統計的手法により演算し、このスレツシユ・
レベルで2値化する処理方式がある。
(Prior Art) Conventionally, as a method of binarizing an image signal, a threshold level (hereinafter referred to as a threshold level) is calculated by a statistical method from an image signal read from a document, and this threshold value is calculated.
There is a processing method that binarizes at the level.

この様な処理方式の場合、2値化のためのスレツシユ・
レベルを一つのモードで決定した場合、原稿によつては
必要な領域を地飛ばしてしまうという不都合があつた。
In the case of such a processing method, the threshold for binarization
When the level is determined in one mode, there is a disadvantage that a necessary area is skipped depending on the original.

(目的) 本発明は上述の点に鑑みてなされたもので、原稿に応じ
て好適な2値化処理を行うことができる画像処理装置を
提供することを目的とする。
(Object) The present invention has been made in view of the above points, and an object of the present invention is to provide an image processing apparatus capable of performing suitable binarization processing according to a document.

実施例 以下本発明の実施例を図面を参照して詳細に説明する。
第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/se
cまで可変であり、復路では常に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. In order to read the image information of the original 102 placed on the original table 101 and pressed by the original cover 110, an image pickup device such as a CCD
103 is used, the illumination light from the light source 104 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, 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 driven by the DC servomotor 109
Move from left to right at a constant speed while applying control. This moving speed varies from 90 mm / sec to 360 mm / se in the outward path depending on the magnification.
It is variable up to c and is always 630 mm / sec on the return trip. While scanning 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 back to the left end again. Finish scanning.

第2図に撮像素子103からの画信号を処理する回路の概
略のブロツク図を示す。撮像素子103で読取られた画信
号VDはA/Dコンバータ201で6ビツトのデジタル信号に変
換され、ラツチ202を介してサンプリングクロツクSCLに
同期してラツチ203,コンパレータ204,ラツチ205に送ら
れる。コンパレータ204ではラツチ202から送られてきた
6ビツトの画信号とラツチ203から送られてきた1クロ
ツク前の6ビツトの画信号を比較して、もしラツチ202
から送られてきた新しい画信号の方が小さければ、アン
ドゲート206へコンパレート出力を出す。アンドゲート2
06はコンパレータ204からのコンパレータ出力をサンプ
リングクロツクSCLと同期させてラツチ205へ送る。ラツ
チ205はコンパレータ出力を受けると、ラツチ202から送
られてきた画信号をcpu208へ送る。又、アンドゲート20
6にはコンパレート出力とサンプリングクロツクSCLの他
に、撮像素子103からの画信号の有効区間を示すイネー
ブル信号ENが入り、主走査ライン毎の所定区間の画信号
のコンパレート結果とラツチ205からcpu208に送るよう
になつている。cpu208は主走査ライン同期信号MSに同期
してラツチ205からの画信号をとりこむことで、各主走
査ラインの最も低い濃度レベル即ち地肌のレベルを検出
できる。
FIG. 2 shows a schematic block diagram of a circuit for processing 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 is sent to the latch 203, comparator 204, and latch 205 in synchronization with the sampling clock SCL via the latch 202. To be 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 latch 202
If the new image signal sent from is smaller, it outputs a comparator output to the AND gate 206. And gate 2
06 sends the comparator output from the comparator 204 to the latch 205 in synchronization with the sampling clock SCL. Upon receiving the comparator output, the latch 205 sends the image signal sent from the latch 202 to the cpu 208. Also, AND gate 20
In addition to the comparator output and the sampling clock SCL, the enable signal EN indicating the effective section of the image signal from the image sensor 103 is input to 6 and the comparison result of the image signal in the predetermined section of each main scanning line and the latch 205 are entered. To send to cpu208. The cpu 208 can detect the lowest density level of each main scanning line, that is, the background level by taking in the image signal from the latch 205 in synchronization with the main scanning line synchronization signal MS.

原稿カバー110の原稿台側の表面が黒あるいは鏡面処理
されている場合には、原稿でない部分の画信号は黒とな
り地肌レベルとして検出されない為、上記イネーブル信
号ENを最大主走査幅として問題がない。またDF,ADF装備
時等原稿でない部分が搬送ベルレ等により白として検出
されるおそれのある場合は、上記イネーブル信号ENを最
小用紙サイズに制限する。
When the surface of the document cover 110 on the platen side is black or mirror-finished, the image signal of the part other than the document becomes black and is not detected as the background level, so there is no problem with the enable signal EN as the maximum main scanning width. . Further, when there is a possibility that a non-original part is detected as white due to a conveyance belt, such as when equipped with DF and ADF, the enable signal EN is limited to the minimum paper size.

さてcpu208は検出した地肌レベルをもとに、後述するア
ルゴリズムで各主走査ライン毎にスレツシユ・レベルを
決定し、主走査ライン同期信号MSに同期してスレツシユ
・レベルをコンパレータ207に送る。コンパレータ207で
はラツチ203からの画信号とcpu208からのスレツシユ・
レベルを比較して2値化信号VSを生成する。前述の如く
A/D変換後の各画素のレベルは6ビツト故、最も黒い場
合は3F(HEX)、最も白い場合は0で与えられ、各主走
査ライン毎のスレツシユ・レベル、地肌レベルも0〜3F
(HEX)で与えられる。
Based on the detected background level, the cpu 208 determines the threshold level for each main scanning line by an algorithm described later, and sends the threshold level to the comparator 207 in synchronization with the main scanning line synchronization signal MS. In the comparator 207, the image signal from the latch 203 and the threshold value from the cpu 208
The levels are compared to generate a binarized signal V S. As mentioned above
Since the level of each pixel after A / D conversion is 6 bits, it is given as 3F (HEX) for the blackest and 0 for the whitest, and the threshold level and the background level for each main scanning line are 0 to 3F.
Given in (HEX).

次に注目主走査ラインの直前のNラインの各々の地肌レ
ベルから注目主走査ラインの地肌レベルを予測し、スレ
ツシユ・レベルを決定する。アルゴリズムを説明する。
以下でWi-1は第1i−1主走査ラインについて検出された
地肌レベル、 は第i主走査ラインの地肌レベル予測値で、第i−N主
走査ラインの地肌レベルWi-Nから第i−1主走査ライン
の地肌レベルWi-1までのN個のデータから後述するアル
ゴリズムで予測される。Siは第i主走査ラインに対する
スレツシユ・レベルで、第i主走査ラインの から後述するアルゴリズムにより決定される。前述のア
ルゴリズムはプログラム化されROM209に格納されてい
る。又、N個の地肌レベルはRAM210に格納される。
Then, the background level of the main scanning line of interest is predicted from the background level of each of the N lines immediately preceding the main scanning line of interest, and the threshold level is determined. The algorithm is explained.
In the following, W i-1 is the background level detected for the (i-1) th main scanning line, Algorithm to be described later from the i at background level prediction value of main scanning line, N pieces of data from the background level W iN of the iN main scanning line to background level W i-1 of the (i-1) th main scanning line Predicted in. Si is the threshold level for the i-th main scan line, Is determined by the algorithm described below. The above algorithm is programmed and stored in the ROM 209. Further, N background levels are stored in the RAM 210.

基本的考え方を第4図に基づいて説明する。第i−1ラ
インの走査が終了したら、第iラインの走査に入る前
に、第i−Nラインから第i−1ラインまでのNライン
から検出されたN個の地肌レベルWi-k,R=1,・・・・,N
に基づいて第iラインの を求め、次に に基づいて第iラインに対するスレツシユ・レベルSiを
求める。第iラインの走査にはいつたらスレツシユ・レ
ベルSiにより2値化すると同時に、第iラインの地肌レ
ベルを求める。
The basic idea will be described with reference to FIG. After the scanning of the i-1th line is completed, before the scanning of the i-th line is started, the N background levels W ik , R = N detected from the N-th line from the i-Nth line to the i-1th line are detected. 1, ..., N
Based on the i-th line And then Then, the threshold level Si for the i-th line is calculated based on When scanning the i-th line, the threshold level Si is binarized, and at the same time, the background level of the i-th line is obtained.

次に第5図にシーケンスの概略フローを示す。以下のフ
ローチャートに従い、第3図を参照して説明する。
Next, FIG. 5 shows a schematic flow of the sequence. It will be described with reference to FIG. 3 according to the following flowchart.

ステツプ501〜504で光学系200がそのホームポジシヨン
A点から前進を開始して、画像先端B点に達するまでに
ステツプ502,503の初期化を行う。ステツプ502は注目ラ
インの直前のN個の地肌レベルが常に格納されているN
バイトのRAM210上のエリアBUF1からBUFNの0クリアであ
る。ステツプ504で光学系200がB点に達した後、ステツ
プ505で主走査ライン同期信号が来る毎に、ステツプ506
で前ラインの地肌レベルをとりこみ、ステツプ507でBUF
1に格納してあつた最も古い地肌レベルデータを棄却
し、BUFjをBUFj-1にシフトし、とりこんだ最新データを
BUFNに格納する。これにより、最新のN個の地肌レベル
データが常にBUF1〜BUFNに格納されていることになる。
次にステツプ508でN個の地肌レベルデータから特異な
データを除くために、最大値と最小値を省き、残りのN
−2個のデータの平均を注目ラインの とする。即ち を演算する。さらにステツプ509で が所定値Pより小さい場合は、ステツプ510に進み、第
1のモードでスレツシユ・レベルを決定する。即ち、予
測される が白になるようにスレツシユ・レベルSiを、 を演算することによつて決定する。又、 が所定値P以上の場合は、ステツプ511に進み、第2の
モードでスレツシユ・レベルを決定する。即ち、スレッ
シュ・レベルSiを,地肌レベルが0の場合のスレッシュ
・レベルSi=3FH*αとし、地肌として飛ばさずに黒と
2値化する。ここでαは黒レベル3FHの間の所定の比率の内分点をスレツシユ・レベルとする
為の係数で0<α<1を満たし、例えば のように経験的に決定される。また係数αは例えば操作
部211(第2図)の図示しない濃度レバーにより、オペ
レータが設定するところの設定濃度に応じて、例えば の値のいずれかをとりうるようにすることも可能であ
る。
In steps 501 to 504, the optical system 200 starts to move forward from the home position A point and initializes the steps 502 and 503 until the image front end point B is reached. In step 502, N background levels immediately before the target line are always stored.
Bytes RAM 210 area BUF 1 to BUF N are cleared to 0. After the optical system 200 reaches the point B in step 504, each time the main scanning line synchronizing signal comes in step 505, step 506 is performed.
Incorporate the background level of the front line with, and BUF with step 507
The oldest background level data stored in 1 is discarded, BUF j is shifted to BUF j-1 , and the latest data taken in is discarded.
Store in BUF N. As a result, the latest N pieces of background level data are always stored in BUF 1 to BUF N.
Next, in step 508, the maximum value and the minimum value are omitted in order to remove the peculiar data from the N background level data, and the remaining N are left.
-Average of two data And I.e. Is calculated. Further in step 509 Is smaller than the predetermined value P, the routine proceeds to step 510, where the threshold level is determined in the first mode. That is, it is predicted Make sure that the threshold level Si is Is calculated. or, Is greater than the predetermined value P, the process proceeds to step 511 to determine the threshold level in the second mode. That is, the threshold level Si is set to a threshold level Si = 3F H * α when the background level is 0, and the binary is converted into black without skipping as the background. Where α is black level 3F H 0 <α <1 is satisfied by a coefficient for setting an internal division point of a predetermined ratio between the two as a threshold level, for example, Is determined empirically. In addition, the coefficient α is, for example, according to the set density set by the operator by a density lever (not shown) of the operation unit 211 (FIG. 2), for example, It is also possible to take any of the values of.

以上のように決定したスレツシユ・レベルをステツプ51
2で出力して、ステツプ513でiに1加算する。そして、
ステツプ514で光学系が反転位置C点に達するまで、ス
テツプ505からステツプ513を繰返す。
The threshold level determined as described above is set to step 51.
It is output at 2, and at step 513, 1 is added to i. And
Steps 505 to 513 are repeated until the optical system reaches the reversal position C at step 514.

そして光学系反転位置C点に達すると、ステツプ515〜5
17で光学系200を反転させ、ホームポジシヨンA点に達
すると光学系200を停止させる。
When the optical system inversion position C is reached, steps 515 to 5
The optical system 200 is inverted at 17 and when the home position A is reached, the optical system 200 is stopped.

上記実施例では、第N+1ライン以後は、BUFiに常に実
際の検出データが格納されているが、第1ラインから第
Nラインについては、ステツプ502,503に示すように第
1ラインの前に地肌レベル検出値が0の仮空のNライン
を想定して、スレツシユ・レベルを算出し2値化を行
う。例えば、N=16とすると、最初の16ラインは仮空の
データで2値化を行うことになるが、16pel解像度では1
mmに相当し、実際の原稿における先端1mmは通常情報の
ない地肌部故地肌レベル0と仮定しても差し支えない。
In the above embodiment, the actual detection data is always stored in BUFi after the (N + 1) th line. However, for the first to Nth lines, the background level detection is performed before the first line as shown in steps 502 and 503. The threshold level is calculated and binarized on the assumption that the provisional N line having a value of 0 is assumed. For example, if N = 16, the first 16 lines will be binarized using temporary blank data, but at 16pel resolution, 1
It is equivalent to mm, and it is possible to assume that the leading edge of 1 mm in an actual document is the background level 0 of the background part without normal information.

この様に制御することにより、地肌レベルが大きく変化
する原稿に対しても地肌部と情報部を分離することが可
能となる。例えば第6図(a)に示す如く、地肌レベル
Wが大きく変化するような原稿に対して、従来第6図
(b)に示す如く、スレツシユ・レベル により画像信号VDを2値化すると、地肌部と情報部が充
分分離されない。これに対し、スレツシユ・レベルを として地肌レベルWの変化に追従させて画像信号VDを2
値化することにより、第6図(c)に示す如く地肌部を
必ず白く情報部と分離することができる。
By controlling in this way, it becomes possible to separate the background part and the information part even for a document whose background level changes greatly. For example, as shown in FIG. 6 (a), for a document whose background level W greatly changes, as shown in FIG. When the image signal V D is binarized by, the background part and the information part are not sufficiently separated. On the other hand, the threshold level The image signal V D is set to 2 by following the change in the background level W as
By digitizing, the background part can be surely separated from the information part in white as shown in FIG. 6 (c).

又、第7図(a)に示す如き白抜き文字の原稿の場合、
前述の如くスレツシユ・レベルを地肌レベルの変化に追
従させて画像信号を2値化すると、第7図(b)に示す
如く地肌レベルW,スレツシユ・レベルSが求められるた
め、第7図(c)に示す如く主走査方向に黒レベルしか
ない領域は、黒と2値化するのが望ましいにもかかわら
ず白として2値化してしまう。
Also, in the case of an original document with white characters as shown in FIG. 7 (a),
As described above, when the threshold level is made to follow the change in the background level and the image signal is binarized, the background level W and the threshold level S are obtained as shown in FIG. 7 (b). In the area having only the black level in the main scanning direction as shown in (4), although it is desirable to binarize with black, it is binarized as white.

このような不都合を除く為、本実施例では予測される地
肌レベルが一定値P以上の場合は、一主走査ラインの全
てにわたり白レベルが存在せず黒レベルのみ存在してい
ると判断して、その黒レベルを地肌として飛ばさずに情
報として黒と2値化すべく、例えば地肌レベル0の時の
スレツシユ・レベルを出力する。
In order to eliminate such inconvenience, in the present embodiment, when the predicted background level is equal to or higher than the constant value P, it is determined that the white level does not exist and only the black level exists over the entire one main scanning line. , The threshold level at the background level 0 is output so as to binarize the black level as black as information without skipping it as the background.

この様に、本実施例によれば各主走査ライン毎の地肌濃
度レベルを検出する簡単な回路を設け、注目主走査ライ
ンの直前のNラインの地肌レベルから注目ラインの地肌
レベルを予測し、その予測地肌レベルを白にすべくスレ
ツシユ・レベルを決定し、かつ地肌レベルが一定値より
黒い場合は、その予測地肌レベルを黒にすべくスレツシ
ユ・レベルを決定することで、ベタ黒等の原稿に対して
も好適な2値化処理が行え、更に予備走査も画信号保存
用メモリも必要とせず、簡単なバードウエアとソフトウ
エアで適切な地飛ばしを行うことができる。
As described above, according to the present embodiment, a simple circuit for detecting the background density level of each main scanning line is provided, and the background level of the attention line is predicted from the background level of the N line immediately before the attention main scanning line, If the threshold level is determined to make the predicted background level white, and the background level is blacker than a certain value, the threshold level is determined so that the predicted background level is black. In addition, a suitable binarization process can be performed, and neither preliminary scanning nor a memory for storing image signals is necessary, and proper ground erasing can be performed with simple birdware and software.

尚、上記実施例ではN個の地肌レベルからスレツシユ・
レベルを決定したが、N=1即ち注目ラインの直前の主
走査ラインからスレツシユレベルを決定することも当然
可能である。
It should be noted that in the above-mentioned embodiment, the threshold is selected from N background levels.
Although the level is determined, it is of course possible to determine the threshold level from N = 1, that is, the main scanning line immediately before the target line.

又、本実施例では注目ライン以前の地肌レベルから注目
ラインの地肌レベルを予測する構成であつたが、本発明
はこれに限るものではない。例えば読取られた画信号か
らスレツシユ・レベルを演算しつつメモリに入れる構成
であつてもよいし、又、原稿の予備走査を行つて各ライ
ンのスレツシユ・レベルを予め求めておく構成であつて
もよい。
Further, in the present embodiment, the background level of the attention line is predicted from the background level before the attention line, but the present invention is not limited to this. For example, the threshold level may be calculated from the read image signal and stored in the memory, or the threshold level of each line may be obtained in advance by performing preliminary scanning of the document. Good.

以上の様に、本発明の実施例によれば地肌濃度レベルに
応じて異なるモードで閾値レベルを決定し、画信号の2
値化を行うため、原画像に応じて最適の閾値レベルで画
信号の2値化を行うことができる。
As described above, according to the embodiment of the present invention, the threshold level is determined in different modes according to the background density level, and the image signal 2
Since the binarization is performed, the binarization of the image signal can be performed at the optimum threshold level according to the original image.

更に、2値化すべきラインの地肌濃度レベルをこのライ
ン以前の地肌濃度レベルに応じて予測する様構成するこ
とで、大量のメモリや予備走査等は不要となり、原稿走
査のための時間を短縮できかつ安価に提供することがで
きる。
Furthermore, by configuring the background density level of the line to be binarized according to the background density level before this line, a large amount of memory and preliminary scanning become unnecessary, and the time for scanning the original can be shortened. And it can be provided at low cost.

(効果) 以上のように本発明によれば、 原稿画像をライン単位で読み取り、画素毎のデジタル画
像データを出力する画像読取手段(実施例では第1図の
原稿読取装置に対応する)と、 前記原稿画像の濃度の白ピークデータ(同じく第5図の
Wi)を検出する検出手段(同じく第2図のラッチ205)
と、 前記検出手段によって検出された白ピークデータに基づ
き、前記原稿画像の地肌濃度レベル を予測し(同じく第5図のstep508)、予測された前記
原稿画像の地肌濃度レベルと予め定められた固定の濃度
レベル(同じく第5図のP)とを比較し(同じく第5図
のstep509)、前記地肌濃度レベルが該固定の濃度レベ
ルより低い場合には、前記地肌濃度レベルに基づき、該
地肌レベルに依存した閾値(同じく第5図のstep510)
を決定する第1の閾値決定モードにより、他方前記地肌
濃度レベルが前記固定の濃度レベルより高い場合には、
前記デジタル画像データを黒と2値化すべく、所定の閾
値(同じく第5図のstep11)を決定する第2の閾値決定
モードにより、前記デジタル画像データの2値化の閾値
を決定する閾値決定手段(同じく第2図のCPU208)と、 前記閾値決定手段により決定された閾値により前記デジ
タル画像データを2値化する2値化手段(同じく第2図
のコンパレータ207)とを有することにより、原稿画像
の濃度のピークデータに基づいて予測された原稿画像の
地肌レベルに応じて適切な閾値で原稿画像を2値化する
ことができるとともに、予測された原稿画像の地肌濃度
レベルが所定の濃度レベルより高い場合には予測された
地肌濃度レベルの影響を受けることなく2値化のための
閾値を決定することができ、例えば地肌の部分の濃度レ
ベルに対して文字の部分の濃度レベルが低い、第7図
(a)に示されるような原稿画像も忠実に2値化するこ
とができる。
(Effect) As described above, according to the present invention, an image reading unit that reads a document image line by line and outputs digital image data for each pixel (in the embodiment, corresponds to the document reading apparatus in FIG. 1), White peak data of the density of the original image (also in FIG.
Wi) detection means (also latch 205 in FIG. 2)
And the background density level of the original image based on the white peak data detected by the detecting means. (Also step 508 in FIG. 5) and compares the predicted background density level of the original image with a predetermined fixed density level (also P in FIG. 5) (also step 509 in FIG. 5). ), If the background density level is lower than the fixed density level, a threshold value dependent on the background level based on the background density level (also step 510 in FIG. 5)
On the other hand, when the background density level is higher than the fixed density level by the first threshold value determining mode,
Threshold value determining means for deciding a threshold value for binarizing the digital image data in a second threshold value deciding mode for deciding a predetermined threshold value (also step 11 in FIG. 5) so as to binarize the digital image data with black. (Similarly, CPU 208 in FIG. 2) and binarizing means (also comparator 207 in FIG. 2) for binarizing the digital image data by the threshold value determined by the threshold value determining means The original image can be binarized with an appropriate threshold value according to the background level of the original image predicted based on the peak data of the density, and the background density level of the predicted original image is lower than the predetermined density level. When it is high, the threshold value for binarization can be determined without being affected by the predicted background density level. It is possible to faithfully binarize an original image as shown in FIG. 7A, which has a low density level.

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

第1図は本発明が適用できる原稿読取装置の概略図、第
2図は画信号処理回路のブロツク図、第3図は原稿台と
光学系の位置関係を示す図、第4図は第iラインに対す
るスレツシユ・レベル決定の手順を示す図、第5図は本
発明による制御の手順を示すフローチャート、第6図は
スレツシユ・レベルと2値化信号の関係を示す図、第7
図はベタ黒領域をもつ原稿の2値化の例を示す図であ
る。 図において、101はプラテン、102は原稿、103は撮像素
子、201はA/Dコンバータ、202,203,205はラツチ回路、2
04,207はコンパレータ、208はcpu、209はROM、210はRAM
である。
1 is a schematic diagram of a document reading apparatus to which the present invention can be applied, FIG. 2 is a block diagram of an image signal processing circuit, FIG. 3 is a diagram showing a positional relationship between a document table and an optical system, and FIG. FIG. 5 is a diagram showing a procedure for determining a threshold level for a line, FIG. 5 is a flowchart showing a control procedure according to the present invention, and FIG. 6 is a diagram showing a relationship between the threshold level and a binary signal.
The figure is a diagram showing an example of binarization of a document having a solid black area. In the figure, 101 is a platen, 102 is a document, 103 is an image sensor, 201 is an A / D converter, 202, 203 and 205 are latch circuits, 2
04 and 207 are comparators, 208 is cpu, 209 is ROM, 210 is RAM
Is.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】原稿画像をライン単位で読み取り、画素毎
のデジタル画像データを出力する画像読取手段と、 前記原稿画像の濃度の白ピークデータを検出する検出手
段と、 前記検出手段によって検出された白ピークデータに基づ
き、前記原稿画像の地肌濃度レベルを予測し、予測され
た前記原稿画像の地肌濃度レベルと予め定められた固定
の濃度レベルとを比較し、前記地肌濃度レベルが該固定
の濃度レベルより低い場合には、前記地肌濃度レベルに
基づき、該地肌レベルに依存した閾値を決定する第1の
閾値決定モードにより、他方前記地肌濃度レベルが前記
固定の濃度レベルより高い場合には、前記デジタル画像
データを黒と2値化すべく、所定の閾値を決定する第2
の閾値決定モードにより、前記デジタル画像データの2
値化の閾値を決定する閾値決定手段と、 前記閾値決定手段により決定された閾値により前記デジ
タル画像データを2値化する2値化手段とを有すること
を特徴とする画像処理装置。
1. An image reading means for reading a document image line by line and outputting digital image data for each pixel, a detecting means for detecting white peak data of density of the document image, and a detecting means for detecting the white peak data. Based on white peak data, the background density level of the original image is predicted, the predicted background density level of the original image is compared with a predetermined fixed density level, and the background density level is the fixed density. If the background density level is lower than the level, the first threshold value determination mode for determining a threshold value depending on the background level is used based on the background density level. On the other hand, if the background density level is higher than the fixed density level, The second for determining a predetermined threshold value for binarizing the digital image data to black
Of the digital image data according to the threshold value determination mode of
An image processing apparatus comprising: a threshold value determining unit that determines a threshold value for binarization; and a binarizing unit that binarizes the digital image data according to the threshold value determined by the threshold value determining unit.
JP58063859A 1983-04-12 1983-04-12 Image processing device Expired - Lifetime JPH078005B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP58063859A JPH078005B2 (en) 1983-04-12 1983-04-12 Image processing device
DE3413651A DE3413651C3 (en) 1983-04-12 1984-04-11 Image signal processing device
US07/289,520 US4941188A (en) 1983-04-12 1988-12-27 Image signal processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58063859A JPH078005B2 (en) 1983-04-12 1983-04-12 Image processing device

Publications (2)

Publication Number Publication Date
JPS59189784A JPS59189784A (en) 1984-10-27
JPH078005B2 true JPH078005B2 (en) 1995-01-30

Family

ID=13241476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58063859A Expired - Lifetime JPH078005B2 (en) 1983-04-12 1983-04-12 Image processing device

Country Status (1)

Country Link
JP (1) JPH078005B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH088812B2 (en) * 1992-06-30 1996-01-31 井関農機株式会社 Transplant device
JP3027663B2 (en) * 1992-12-17 2000-04-04 株式会社日立製作所 Image input device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57208767A (en) * 1981-06-19 1982-12-21 Fuji Electric Co Ltd Binary device for video signal

Also Published As

Publication number Publication date
JPS59189784A (en) 1984-10-27

Similar Documents

Publication Publication Date Title
JPS60124173A (en) Image processing device
JP2721334B2 (en) Image binarization processing device
JPH078005B2 (en) Image processing device
US5228099A (en) Apparatus for reading a document and processing the image
JP3569059B2 (en) Image reading device
JP2003219117A (en) Document edge detection device
JP3907033B2 (en) Image reading device
JP2541937B2 (en) Image processing device
JP3754173B2 (en) Image reading device
US20250337843A1 (en) Image processor, image processing method, and non-transitory recording medium
JPH0475703B2 (en)
JPH084311B2 (en) Image processing device
JPH0636553B2 (en) Image processing device
JP3701094B2 (en) Image reading device
JPH0582782B2 (en)
JPH09135332A (en) Image reading device
JP2002199218A (en) Image reader and image processing method, and storage medium
JPH1188676A (en) Image-reading method and system thereof
JP3539812B2 (en) Image reading device
JP2001036742A (en) Image reading device
JP3675709B2 (en) Image forming apparatus
JPH0865506A (en) Picture reader
JPH1188689A (en) Image read method and device
JPH0584974B2 (en)
JPH0683341B2 (en) Image processing device