JPS6210069B2 - - Google Patents

Info

Publication number
JPS6210069B2
JPS6210069B2 JP54059971A JP5997179A JPS6210069B2 JP S6210069 B2 JPS6210069 B2 JP S6210069B2 JP 54059971 A JP54059971 A JP 54059971A JP 5997179 A JP5997179 A JP 5997179A JP S6210069 B2 JPS6210069 B2 JP S6210069B2
Authority
JP
Japan
Prior art keywords
level
reference value
signal
frequency
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
Application number
JP54059971A
Other languages
Japanese (ja)
Other versions
JPS55151860A (en
Inventor
Shinji Miura
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP5997179A priority Critical patent/JPS55151860A/en
Publication of JPS55151860A publication Critical patent/JPS55151860A/en
Publication of JPS6210069B2 publication Critical patent/JPS6210069B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/403Discrimination between the two tones in the picture signal of a two-tone original

Description

【発明の詳細な説明】 本発明はアナログ量で読取つた画像読取信号を
基準値を境として二値化処理する場合の画像読取
信号基準値設定方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for setting a reference value for an image read signal when an image read signal read in analog quantities is binarized using a reference value as a boundary.

従来、画像情報をスキヤナーによつて光学的に
アナログ情報として読取り、これをデジタル信号
化処理して二値化する場合、あらかじめ決められ
たスレツシユレベルと比較して白もしくは黒の二
値を判定する方法がとられているが、その際原稿
の画質の変動に対応させるために、原稿の地肌レ
ベルに追従して、スレツシユレベルを変更させる
方法や、注目画素の周辺の濃度分布から統計的手
法でスレツシユレベルを決定する方法が提案され
ている。
Conventionally, when image information is optically read as analog information by a scanner, and then converted into digital signals and binarized, the binary value of white or black is determined by comparing it with a predetermined threshold level. At this time, in order to respond to fluctuations in the image quality of the original, there are methods that follow the background level of the original and change the thread level, and statistical methods based on the density distribution around the pixel of interest. A method of determining the threshold level using a method has been proposed.

ところが、前者の方法では原稿のコントラスト
即ち白黒の差が大きくないと二値化した場合正常
な情報が得られなくなるという欠点があり、また
後者の方法ではごく標準的な原稿即ち文字部分と
余白部分とで構成されたものであれば有効である
が、枠取り等の黒地部分が多くなつたような場
合、黒地部分の印刷ムラによつて発生したやや薄
い部が白と判定されてしまうという欠点があつ
た。
However, the former method has the disadvantage that unless the contrast of the document, that is, the difference between black and white, is large, normal information cannot be obtained when binarized, and the latter method only works with a very standard document, i.e., text and margins. This is effective if it is composed of , but if there is a large amount of black background part such as a frame, the disadvantage is that the slightly thin part caused by printing unevenness in the black background part will be judged as white. It was hot.

本発明は上記の点に着目してなされたもので、
アナログ量の読取つた画像読取信号を基準値を境
として二値化処理するにあたり、前記読取信号の
レベルをあらかじめ設定した所定の段階の設定レ
ベルと比較して、前記各設定レベル毎の信号発生
度数を求め、最小もしくは最大設定レベルから順
に各レベルの前記発生度数を累積して、その累積
値が標準基準値以上になつたときの設定レベルか
ら基準値を設定する方法において、前記発生度数
が下位レベルもしくは上位レベルに集中するとき
には前記基準値を前記集中するレベルから遠ざけ
るようにシフトされることにより、白ベタ部にお
ける地肌レベルの誤読取りや黒ベタ部における情
報の欠けのない画像読取信号基準値設定方法を提
供しようとするものである。
The present invention has been made focusing on the above points,
When performing binarization processing on an image read signal that has been read in an analog quantity using a reference value as a boundary, the level of the read signal is compared with the set level of a predetermined stage set in advance, and the frequency of signal occurrence for each set level is determined. In this method, the frequency of occurrence is accumulated for each level in order from the minimum or maximum set level, and the standard value is set from the set level when the cumulative value exceeds the standard reference value. When concentrating on a level or an upper level, the reference value is shifted away from the concentrated level, so that the image reading signal reference value prevents misreading of the background level in solid white areas and lack of information in solid black areas. It attempts to provide a setting method.

以下本発明の実施例を図によつて説明する。第
1図乃至第3図は原稿を読取つたときの画像濃度
対出現頻度特性表で、第1図は原稿全体もしくは
文字部分と地肌部分とが適当にある一般的な部分
の頻度特性表、第2図は殆んど地肌部分(白ベ
タ)だけの頻度特性表、第3図は殆んど黒地部分
(黒ベタ)だけの頻度特性表を示している。
Embodiments of the present invention will be described below with reference to the drawings. Figures 1 to 3 are image density vs. appearance frequency characteristic tables when reading a manuscript. FIG. 2 shows a frequency characteristic table for almost only the background part (white solid), and FIG. 3 shows a frequency characteristic table for almost only the black background part (black solid).

ここで、数ライン程度の画像情報から、その各
読取信号レベルをあらかじめ設定した所定の段階
の設定レベルと比較して各設定レベル毎の信号発
生度数を求め、最小もしくは最大設定レベルから
順に各レベルの発生度数を累積し、その累積値が
ごく標準的な基準値以上になつたときの設定レベ
ルからスレツシユレベルを決定すると、それが1
ライン毎に変更されたとしても第2図に示すよう
な、情報がW部に集中する白ベタ部分ではスレツ
シユレベルが地肌部分に食い込んでくるし、第3
図のような、情報がB部に集中する黒ベタ部分で
は情報を削除してしまうおそれがある。
Here, from the image information of about several lines, each read signal level is compared with the setting level of a predetermined stage set in advance to find the signal occurrence frequency for each setting level, and each level is set in order from the minimum or maximum setting level. If the threshold level is determined from the set level when the cumulative value exceeds a very standard reference value by accumulating the frequency of occurrence of
Even if it is changed for each line, the thread level will dig into the background area in the solid white area where information is concentrated in the W area as shown in Figure 2, and the thread level will dig into the background area as shown in Figure 2.
In a solid black area where information is concentrated in part B as shown in the figure, there is a risk that information will be deleted.

また、対象物全体の画像情報をひととおり読取
つてから全体の頻度情報をもとにして固定的なス
レツシユレベルを決めても良いが、この場合メモ
リー容量が大きくなることの他に、現在読取つて
いる場所が他の場所に比較して相対的に薄くなつ
たり濃くなつたりしているような部分的な変化に
は追従できなくなる。
Alternatively, a fixed threshold level may be determined based on the overall frequency information after reading the image information of the entire object, but in this case, in addition to increasing the memory capacity, It is no longer possible to follow local changes such as areas where the light is becoming lighter or darker than other areas.

このようなとき上記のような方法によつて設定
されるスレツシユレベルS1はS2にシフトされ
た方が正確な読取りを行なうことができる。
In such a case, more accurate reading can be achieved by shifting the threshold level S1 set by the method described above to S2.

第4図は本発明の画像読取信号基準値設定方法
を用いた信号処理回路ブロツクダイヤグラムであ
る。
FIG. 4 is a block diagram of a signal processing circuit using the image reading signal reference value setting method of the present invention.

まず。図示しないライン走査形の撮像装置から
の画像信号は端子Vにより主走査方向に1ライン
分づつシリアルに入力される。入力された画像信
号はアナログデジタル変換器A/Dによつて例え
ば4ビツトのデジタル情報に変換され、次いで4
ライン分のデータをバツフアするシフトレジスタ
SR6に入力される。一方これと並行して、この
デジタル情報をデコーダDEに入力させることに
よりその値に合つた出力0乃至15のうちの1本が
選択されて、「1」を出力する。このデコーダDE
の出力は第5図に示すような1ライン分の画像信
号が入力される前に同図に示すクリア信号によつ
てゼロクリアされる11ビツトレベルカウンタRC
のENABLE端子Eに入力されて、第5図に示す
クロツクパルスが1つ入るごとにENABLE端子
Eが1になつているカウンタが1だけアツプされ
る。
first. Image signals from a line scanning type imaging device (not shown) are serially input one line at a time in the main scanning direction through a terminal V. The input image signal is converted into, for example, 4-bit digital information by an analog-to-digital converter A/D, and then converted into 4-bit digital information.
Shift register that buffers data for a line
Input to SR6. On the other hand, in parallel with this, by inputting this digital information to the decoder DE, one of the outputs 0 to 15 that matches the value is selected and outputs "1". This decoder DE
The output is an 11-bit level counter RC that is cleared to zero by the clear signal shown in the figure before one line of image signal is input as shown in Figure 5.
Each time the clock pulse shown in FIG. 5 is input to the ENABLE terminal E of the clock, the counter whose ENABLE terminal E is set to 1 is incremented by 1.

このような操作を画像情報1ライン分行なうと
画像信号の入力レベルに従つてレベルカウンタ
RCに1ライン分の各レベル毎の出現回数が記憶
される。
When this operation is performed for one line of image information, the level counter will change according to the input level of the image signal.
The number of appearances for each level for one line is stored in RC.

このカウンタの内容は第5図に示すようなロー
ド信号によつてシフトレジスタSR1に転送され
る。
The contents of this counter are transferred to shift register SR1 by a load signal as shown in FIG.

シフトレジスタSR1,SR2,SR3,SR4,
SR5は1サイクルタイム毎に順次1ライン分の
画像レベル発生回数データを保存し加算回路へ転
送する。そしてこの転送の際には上記レベルカウ
ンタの1レベル分毎に即ち11ビツト単位で順次加
算回路ADD1に入力される。
Shift register SR1, SR2, SR3, SR4,
The SR5 sequentially stores data on the number of image level occurrences for one line every cycle time and transfers it to the adder circuit. During this transfer, data is sequentially input to the adder circuit ADD1 for each level of the level counter, that is, in units of 11 bits.

このとき1ラインの画素数を2000とすると5ラ
イン分では10000画素となし、累積度数で75%を
標準スレツシユレベル即ち第1図乃至第3図にお
けるスレツシユレベルS1とすると、比較回路
RE1においては7500と加算回路ADD1の出力と
の比較を行ない累積度数が7500以上になつたとき
ライン01に「1」を出力する。そしてそのとき
のレベルを後述するコントロール回路CRLのバ
ツフアに記憶させておく。
In this case, if the number of pixels in one line is 2000, the number of pixels in 5 lines is 10000, and if the cumulative frequency is 75% as the standard threshold level, that is, the threshold level S1 in Figures 1 to 3, then the comparator circuit
In RE1, 7500 is compared with the output of adder circuit ADD1, and when the cumulative frequency exceeds 7500, "1" is output to line 01. Then, the level at that time is stored in a buffer of a control circuit CRL, which will be described later.

一方、加算回路ADD2においてはシフトレジ
スタSR1乃至SR5に保存されている各信号レベ
ルL0乃至L15の発生回数をL0+L1、L1+L2……
…、L14+L15というように2組のレベルごとに加
算して、比較回路RE2において白ベタの場合の
頻度特性60%及び黒ベタの場合の頻度特性40%と
加算回路出力とを比較して加算回路の数値が大き
ければライン02またはライン03の出力を
「1」とする。
On the other hand, in the adder circuit ADD2, the number of occurrences of each signal level L 0 to L 15 stored in the shift registers SR1 to SR5 is calculated as L 0 +L 1 , L 1 +L 2 . . .
..., L 14 +L 15 for each two sets of levels, and in comparison circuit RE2, the frequency characteristic of 60% for white solid and the frequency characteristic of 40% for black solid are compared with the adder circuit output. If the value of the adder circuit is large, the output of line 02 or line 03 is set to "1".

また、コントロール回路CRLでは16進のカウ
ンタをもち、シフトレジスタSR1乃至SR5のデ
ータを加算回路に入力するときのレジスタ位置を
L0を0、L1を1………L15を15というようにモニ
タし、先のライン01の出力されたときのバツフ
アに記憶した値が7以内のときライン02の出力
が「1」であればバツフアに1を加え、バツフア
が8以上でライン03の出力が「1」のときはバ
ツフアから1を減じる。この値を比較回路RE3
に与えて基準値としSR6の出力と比較して2値
信号とする。ここで1ライン分の画像信号レベル
をレベルカウンタに配分するのに1サイクルタイ
ム(1主走査時間)要し、加算回路と比較回路の
動作をさせてコントロール回路より比較回路RE
3に基準値を与えるのに1サイクルタイムを要す
るので、結局シフトレジスタSR6の出力はその
ラインを中心とした前後2ライン分づつの情報を
用いてスレツシユレベルが決められることにな
る。
In addition, the control circuit CRL has a hexadecimal counter that determines the register position when inputting the data of shift registers SR1 to SR5 to the adder circuit.
Monitor L0 as 0, L1 as 1... L15 as 15, and when the value stored in the buffer when the previous line 01 was output is within 7, the output of line 02 is "1". If so, add 1 to the buffer, and if the buffer is 8 or more and the output of line 03 is "1", subtract 1 from the buffer. Compare this value with circuit RE3
is given as a reference value and compared with the output of SR6 to generate a binary signal. Here, it takes one cycle time (one main scanning time) to allocate the image signal level for one line to the level counter, and by operating the adder circuit and the comparison circuit, the comparison circuit RE
Since it takes one cycle time to give the reference value to the line SR6, the threshold level of the output of the shift register SR6 is determined using the information of the two lines before and after that line.

以上説明した本発明の方法によれば、画像情報
の発生頻度が白レベルもしくは黒レベルに集中す
るときはその集中したレベルより遠ざかる方向に
スレツシユレベルをシフトさせるので白ベタ部や
黒ベタ部の情報を正確に処理することができる。
According to the method of the present invention described above, when the frequency of occurrence of image information is concentrated at the white level or black level, the threshold level is shifted in a direction away from the concentrated level, so that solid white areas and solid black areas are Able to process information accurately.

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

第1図乃至第3図は原稿を読取つたときの画像
濃度対現頻度特性表、第4図は本発明の画像読取
信号設定方法を用いた信号処理回路ブロツクダイ
ヤグラム、第5図はその中の処理信号波形図であ
る。 A/D……アナログデジタル変換器、SR1〜
SR6……シフトレジスタ、DE……デコーダ、
RC……レベルカウンタ、E……ENABLE端子、
ADD1,ADD2……加算回路、RE1,RE2…
…比較回路、CRL……コントロール回路。
1 to 3 are image density vs. occurrence frequency characteristic tables when reading a document, FIG. 4 is a block diagram of a signal processing circuit using the image reading signal setting method of the present invention, and FIG. FIG. 3 is a processed signal waveform diagram. A/D...Analog-digital converter, SR1~
SR6...Shift register, DE...Decoder,
RC...Level counter, E...ENABLE terminal,
ADD1, ADD2...Addition circuit, RE1, RE2...
...Comparison circuit, CRL...Control circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 アナログ量で読取つた画像読取信号を基準値
を境として二値化処理するにあたり、前記読取信
号のレベルをあらかじめ設定した所定の段階の設
定レベルと比較して、前記各設定レベル毎の信号
発生度数を求め、最小もしくは最大設定レベルか
ら順に各レベルの前記発生度数を累積して、その
累積値が標準基準値以上になつたときの設定レベ
ルから基準値を設定する方法において、前記発生
度数が下位レベルもしくは上位レベルに集中する
ときには前記基準値を前記集中するレベルから遠
ざけるように増加若しくは減少させることを特徴
とする画像読取信号基準値設定方法。
1. When performing binarization processing on an image read signal read in an analog quantity using a reference value as a boundary, the level of the read signal is compared with the set level of a predetermined stage set in advance, and the signal generation for each set level is determined. In the method of calculating the frequency, accumulating the frequency of occurrence for each level in order from the minimum or maximum setting level, and setting the reference value from the set level when the cumulative value exceeds the standard reference value, the frequency of occurrence is A method for setting a reference value for an image reading signal, characterized in that when the reference value is concentrated at a lower level or an upper level, the reference value is increased or decreased so as to move away from the level at which the signal is concentrated.
JP5997179A 1979-05-16 1979-05-16 Reference level setting method for picture reading signal Granted JPS55151860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5997179A JPS55151860A (en) 1979-05-16 1979-05-16 Reference level setting method for picture reading signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5997179A JPS55151860A (en) 1979-05-16 1979-05-16 Reference level setting method for picture reading signal

Publications (2)

Publication Number Publication Date
JPS55151860A JPS55151860A (en) 1980-11-26
JPS6210069B2 true JPS6210069B2 (en) 1987-03-04

Family

ID=13128557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5997179A Granted JPS55151860A (en) 1979-05-16 1979-05-16 Reference level setting method for picture reading signal

Country Status (1)

Country Link
JP (1) JPS55151860A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5821986A (en) * 1981-08-03 1983-02-09 Nippon Telegr & Teleph Corp <Ntt> Picture coding system

Also Published As

Publication number Publication date
JPS55151860A (en) 1980-11-26

Similar Documents

Publication Publication Date Title
US5838463A (en) Binary image processor
US5499114A (en) Digital image scanning apparatus with pixel data compensation for bad photosites
US4731862A (en) Binarizing system of picture image signals
US4258394A (en) Digital circuit for accurately detecting changes in the gray scale of a scanned image
JPS6339142B2 (en)
JPS6210069B2 (en)
US4313138A (en) Image information reading system of facsimile apparatus
JPH0560297B2 (en)
US5253080A (en) Picture signal binarization apparatus avoiding a need for memory devices or shift registers for storing binary picture signals before output
JPS60230768A (en) Binarizing system of picture signal
JP2887840B2 (en) Image reading device
JPS61105973A (en) Picture signal processing method
JP3212664B2 (en) Image processing device
JPS6135677A (en) Picture processor
JP2812006B2 (en) Binarization circuit
JP2988093B2 (en) How to adjust the density of a binary image
JPS5924584B2 (en) Original reading method
JPH0618439B2 (en) Image processing device
JPS6019708B2 (en) Image signal binarization circuit
JPS5829911B2 (en) Video signal processing method
JPS5831148B2 (en) Video signal processing method
JPS60206369A (en) Picture signal correcting system
JPH0223067B2 (en)
JPS60230766A (en) Binarizing system of picture signal
JPS63136771A (en) Signal processing method