JPH0247974A - Image signal binarization circuit - Google Patents

Image signal binarization circuit

Info

Publication number
JPH0247974A
JPH0247974A JP63198289A JP19828988A JPH0247974A JP H0247974 A JPH0247974 A JP H0247974A JP 63198289 A JP63198289 A JP 63198289A JP 19828988 A JP19828988 A JP 19828988A JP H0247974 A JPH0247974 A JP H0247974A
Authority
JP
Japan
Prior art keywords
image signal
reference value
comparison reference
output
comparator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63198289A
Other languages
Japanese (ja)
Inventor
Shinichi Nishimura
伸一 西村
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 JP63198289A priority Critical patent/JPH0247974A/en
Publication of JPH0247974A publication Critical patent/JPH0247974A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は画信号2値化回路に関し、詳細には、アナログ
の画信号を所定の比較基準値と比較して白黒の2値化処
理する画信号2値化回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to an image signal binarization circuit, and more specifically, it compares an analog image signal with a predetermined comparison reference value to perform black and white binarization processing. The present invention relates to an image signal binarization circuit.

(従来の技術) ファクシミリ装置のスキャナ部やスキャナ装置等におい
ては、C,CD (Charge Coupled D
evice)等の光電変換手段で読み取ったアナログの
画信号を白黒の2値信号に変換する画信号2値化回路が
備えている。
(Prior Art) In the scanner section of a facsimile machine, scanner device, etc., C, CD (Charge Coupled D
An image signal binarization circuit is provided that converts an analog image signal read by a photoelectric conversion means such as an electronic device (device) into a black and white binary signal.

すなわち、COD等の光電変換手段は光源から原稿に照
射された光の反射光を複数の画素に分割し、画素毎に光
電変換してアナログの画信号として出力する。このよう
にして読み取られたアナログの画信号は、画信号2値化
回路により2値化処理された後、伝送等のその後の処理
に供される。
That is, a photoelectric conversion means such as COD divides reflected light from a light source onto a document into a plurality of pixels, performs photoelectric conversion for each pixel, and outputs it as an analog image signal. The analog image signal read in this manner is binarized by an image signal binarization circuit and then subjected to subsequent processing such as transmission.

このような画信号2値化回路においては、アナログの画
信号を所定の比較基準値と比較して2値化処理するが、
この場合、光源の不均一性や光電変換手段の感度の不均
一性等による影響を少な(するために、従来、アナログ
画信号のピーク値を検出し、このピーク値に基づいて比
較基準値を設定することが行われている。
In such an image signal binarization circuit, an analog image signal is compared with a predetermined comparison reference value and binarized.
In this case, in order to reduce the influence of non-uniformity of the light source, non-uniformity of the sensitivity of the photoelectric conversion means, etc., conventionally the peak value of the analog image signal is detected, and the reference value for comparison is determined based on this peak value. Settings are being done.

(発明が解決しようとする課題) しかしながら、このような従来の画信号2値化回路にあ
っては、比較基準値をアナログ画信号のピーク値にのみ
基づいて設定していたため、細線等の細かな画像の変化
を正確に読み取ることができず、画質が悪いという問題
があった。
(Problem to be Solved by the Invention) However, in such conventional image signal binarization circuits, the comparison reference value was set only based on the peak value of the analog image signal, so fine details such as thin lines etc. There was a problem in that it was not possible to accurately read changes in the image, resulting in poor image quality.

すなわち、一般にファクシミリ装置のスキャナ部やスキ
ャナ装置等で読み取られた画像は、空間周波数特性が劣
化しており、MTF (ModulationTran
sfer Function :魚床がり関数をフーリ
エ変換し、その絶対値をとったもの)が低い。このMT
Fが低いと、周辺画素の影響を受けやすく、白または黒
の細線を正確に2値化処理することができない。また、
主走査方向に1ライン分の光電変換素子が配設された光
電変換手段を副走査方向に移動させて画像を読み取る場
合には、主走査方向のMTFに比べて副走査方向のMT
Fの方が低く、横方向の細線を正確に2値化処理するこ
とができない。その結果、細かな画像を正確に読み取る
ことができず、画質が悪いという問題があった。
In other words, images read by a scanner section of a facsimile machine or a scanner device generally have degraded spatial frequency characteristics, and the MTF (Modulation Tran)
sfer Function: Fourier transform of the fish bed density function and its absolute value) is low. This MT
When F is low, it is easy to be influenced by surrounding pixels, and it is not possible to accurately binarize thin white or black lines. Also,
When reading an image by moving a photoelectric conversion means in which one line of photoelectric conversion elements is arranged in the main scanning direction in the sub-scanning direction, the MT in the sub-scanning direction is smaller than the MTF in the main scanning direction.
F is lower, and thin horizontal lines cannot be binarized accurately. As a result, there was a problem in that detailed images could not be read accurately and the image quality was poor.

(発明の目的) そこで、本発明は、画信号と比較する比較基準値を当該
画信号の前の画素や前ラインの同位置の画素等の2値化
出力の値に基づいて設定することにより、MTFの低い
場合であっても、細線等の細かい画像をも精度よく読み
取るようにして、画質を向上させることを目的としてい
る。
(Object of the Invention) Therefore, the present invention provides a method of setting a comparison reference value for comparing an image signal based on the value of the binarized output of the previous pixel of the image signal or the pixel at the same position in the previous line. , the purpose is to improve image quality by reading fine images such as thin lines with high accuracy even when the MTF is low.

(発明の構成) 本発明は、上記目的を達成するため、 (1)入力されたアナログの画信号を所定の比較基準値
と比較して2値化処理する画信号2値化回路において、
比較基準値としてより白側に近い第1比較基準値と、よ
り黒側に近い第2比較基準値と、の2種類の比較基準値
を設定し、これら第1比較基準値と第2比較基準値のい
ずれの比較基準値に基づ(2値化出力を出力するかを、
現在処理中の画素の前の画素の2値化出力の値に基づい
て決定することを特徴とするもの。
(Structure of the Invention) In order to achieve the above object, the present invention provides: (1) an image signal binarization circuit that compares an input analog image signal with a predetermined comparison reference value and performs binarization processing;
Two types of comparison reference values are set, a first comparison reference value closer to the white side and a second comparison reference value closer to the black side, and these first comparison reference values and the second comparison reference value are set. Based on which comparison reference value of the value (binarized output is output,
The method is characterized in that the determination is made based on the value of the binarized output of the pixel before the pixel currently being processed.

および (2)入力されたアナログの画信号を所定の比較基準値
と比較して2値化処理する画信号2値化回路において、
比較基準値としてより白側に近い第1比較基準値と、よ
り黒側に近い第2比較基準値と、の2種類の比較基準値
を設定し、これら第1比較基準値と第2比較基準値のい
ずれの比較基準値に基づく2値化出力を出力するかを、
現在処理中の画素の前ラインの同位置の画素の2値化出
力の値に基づいて決定することを特徴とするものである
and (2) an image signal binarization circuit that compares the input analog image signal with a predetermined comparison reference value and performs binarization processing,
Two types of comparison reference values are set, a first comparison reference value closer to the white side and a second comparison reference value closer to the black side, and these first comparison reference values and the second comparison reference value are set. Select which comparison reference value to output the binarized output based on.
This is characterized in that the determination is made based on the value of the binarized output of the pixel at the same position in the line preceding the pixel currently being processed.

以下、実施例に基づいて具体的に説明する。Hereinafter, a detailed description will be given based on examples.

第1図は請求項1記載の発明の一実施例を示す図である
FIG. 1 is a diagram showing an embodiment of the invention according to claim 1.

第1図において、画信号2値化回路1は、比較器2.3
、第1基準値発生器4、第2基準値発生器5、選択回路
6およびシフトレジスタ7等を備えている。
In FIG. 1, the image signal binarization circuit 1 includes a comparator 2.3.
, a first reference value generator 4, a second reference value generator 5, a selection circuit 6, a shift register 7, and the like.

比較器2.3にはそれぞれ図外のCCD等の光電変換手
段で読み取られたアナログの画信号GSがシリアルに画
素毎に人力されるとともに、さらに、比較器2には第1
基準値発生器4からの第1比較基準値SL、が、比較器
3には第2基準値発生器5からの第2比較基準値SL、
が入力されている。
Analog image signals GS read by a photoelectric conversion means such as a CCD (not shown) are input serially to the comparators 2 and 3 for each pixel, and the comparators 2 and 3 are also input with the first
A first comparison reference value SL from the reference value generator 4 is supplied to the comparator 3, and a second comparison reference value SL from the second reference value generator 5 is supplied to the comparator 3.
is entered.

第1基準値発生器4は比較器2での2値化の基準となる
第1比較基準値SL、を発生し、第1比較基準値SL、
は、第2図に示すように、第2比較基準値SL、よりも
黒レベルに近い値が設定されている。第2基準値発生器
5は比較器3での2値化の基準となる第2比較基準値S
L、を発生し、第2比較基準値SL、は、第2図に示す
ように、第1比較基準値SL、よりも白レベルに近い値
が設定されている。比較器2は画信号GSを第1比較基
準値SL、と比較し、白黒の2値化処理を行って2値化
画信号を選択回路6に出力する。比較器3は画信号GS
を第2比較基準値S L zと比較し、白黒の2値化処
理を行って2値化画信号を選択回路6に出力する。選択
回路6は比較器2からの2値化画信号と比較器3からの
2値化画信号のいずれかを選択して2値化出力画信号B
Sとして出力する。この選択回路6からの2値化出力画
信号BSはシフトレジスタ7にも入力され、シフトレジ
スタ7は選択回路6から入力された2値化出力画信号B
Sをラッチして選択回路6に出力する。
The first reference value generator 4 generates a first comparison reference value SL, which becomes a reference for binarization in the comparator 2, and the first comparison reference value SL,
As shown in FIG. 2, SL is set to a value closer to the black level than the second comparison reference value SL. A second reference value generator 5 has a second comparison reference value S that serves as a reference for binarization in the comparator 3.
As shown in FIG. 2, the second comparison reference value SL is set to a value closer to the white level than the first comparison reference value SL. The comparator 2 compares the image signal GS with a first comparison reference value SL, performs black and white binarization processing, and outputs the binarized image signal to the selection circuit 6. Comparator 3 receives image signal GS
is compared with a second comparison reference value S L z, black and white binarization processing is performed, and a binarized image signal is output to the selection circuit 6. A selection circuit 6 selects either the binary image signal from the comparator 2 or the binary image signal from the comparator 3 to produce a binary output image signal B.
Output as S. The binarized output image signal BS from the selection circuit 6 is also input to a shift register 7, and the shift register 7 receives the binarized output image signal B input from the selection circuit 6.
S is latched and output to the selection circuit 6.

選択回路6はこのシフトレジスタ7か、らの2値化出力
画信号BSに基づいて次の画素タイミングで入力される
比較器2からの2値化画信号と比較器3からの2値化画
信号のいずれを2値化出力画信号BSとして採用するか
を決定する。
The selection circuit 6 selects the binary image signal from the comparator 2 and the binary image from the comparator 3 which are input at the next pixel timing based on the binary output image signal BS from the shift register 7. It is determined which of the signals will be adopted as the binarized output image signal BS.

次に作用を説明する。Next, the action will be explained.

所定の画素タイミングにおいて、比較器2にはアナログ
の画信号GSが入力されるとともに、第1比較基準値S
L、が第1基準値発生器4から入力され、比較器2は画
信号GSを第1比較基準値SL、に基づいて2値化処理
して2値化画信号を選択回路6に出力する。一方、同一
画素タイミングにおいて、比較器3には同じ画信号GS
が入力されるとともに、第2比較基準値SL2が第2基
準値発生器5から入力され、比較器3は画信号GSを第
2比較基準値SL、に基づいて2値化処理して2値化画
信号を選択回路6に出力する。
At a predetermined pixel timing, the analog image signal GS is input to the comparator 2, and the first comparison reference value S
L, is input from the first reference value generator 4, and the comparator 2 binarizes the image signal GS based on the first comparison reference value SL, and outputs the binarized image signal to the selection circuit 6. . On the other hand, at the same pixel timing, the comparator 3 receives the same image signal GS.
At the same time, the second comparison reference value SL2 is input from the second reference value generator 5, and the comparator 3 performs binarization processing on the image signal GS based on the second comparison reference value SL. The converted image signal is output to the selection circuit 6.

選択回路6にはシフトレジスタ7から前の画素タイミン
グで選択回路6が出力した2値化出力画信号BSが人力
されており、選択回路6はシフトレジスタ7からの2値
化出力画信号BSに基づいて比較器2からの2値化画信
号と比較器3からの2値化画信号の一方を選択して2値
化出力画信号BSとして出力する。すなわち、選択回路
6は第1比較基準値SL、と第2比較基準値SL、のい
ずれの比較基準値に基づく2値化出力を出力するかを現
在処理中の前の画素の2値化出力(2値化出力画信号B
S)の値に基づいて決定しており、第3図に示すように
、前画素(2値化出力画信号BS)が黒のときには、第
1比較基準値SL、による2値化画信号を採用し、前画
素(2値化出力画信号BS)が白のときには、第2比較
基準値SL2による2値化画信号を採用する。したがっ
て、前画素と分離して細線等の細かな画像をも精度よく
読み取ることができ、画質を向上させることができる。
The selection circuit 6 receives the binary output image signal BS outputted by the selection circuit 6 at the previous pixel timing from the shift register 7, and the selection circuit 6 inputs the binary output image signal BS from the shift register 7. Based on this, one of the binary image signal from the comparator 2 and the binary image signal from the comparator 3 is selected and output as the binary output image signal BS. That is, the selection circuit 6 determines which of the first comparison reference value SL and the second comparison reference value SL to output the binarized output based on, based on which of the binarized output of the previous pixel currently being processed. (Binarized output image signal B
As shown in FIG. 3, when the previous pixel (binarized output image signal BS) is black, the binary image signal is determined based on the first comparison reference value SL. When the previous pixel (binarized output image signal BS) is white, the binary image signal based on the second comparison reference value SL2 is adopted. Therefore, even a fine image such as a thin line can be read with high precision by separating it from the previous pixel, and the image quality can be improved.

第4図は請求項1記載の発明の画信号2値化回路の他の
実施例を示す図であり、本実施例の説明にあたり、第1
図〜第3図に示した実施例と同一構成部分には同一符号
を付してその説明を省略する。
FIG. 4 is a diagram showing another embodiment of the image signal binarization circuit of the invention as claimed in claim 1.
Components that are the same as those of the embodiment shown in FIGS. 3 to 3 are designated by the same reference numerals, and their explanations will be omitted.

第4図において、画信号2値化回路11は比較器12、
第1基準値発生器4、第2基準値発生器5、選択回路1
3およびシフトレジスタ7等を備えている。
In FIG. 4, the image signal binarization circuit 11 includes a comparator 12,
First reference value generator 4, second reference value generator 5, selection circuit 1
3 and a shift register 7.

選択回路13には第1基準値発生器4からの第1比較基
準値SL、と第2基準値発生器5からの第2比較基準値
SL2が人力されており、選択回路13はこれら第1基
準値発生器4からの第1比較基準値SL、と第2基準値
発生器5からの第2比較基準値SL、のうちの一方をシ
フトレジスタ7からの2値化出力画信号BSに基づいて
一方を選択して比較器12に出力する。比較器12には
画信号GSと選択回路13からの比較基準値が入力され
ており、比較器12は画信号GSを選択回路13からの
比較基準値と比較して2値化処理する。比較器12が2
値化処理して出力する2値化出力画信号BSはシフトレ
ジスタ7にも入力され、シフトレジスタ7でラッチされ
て選択回路13に出力される。
The selection circuit 13 is manually supplied with the first comparison reference value SL from the first reference value generator 4 and the second comparison reference value SL2 from the second reference value generator 5. One of the first comparison reference value SL from the reference value generator 4 and the second comparison reference value SL from the second reference value generator 5 is based on the binarized output image signal BS from the shift register 7. selects one and outputs it to the comparator 12. The image signal GS and the comparison reference value from the selection circuit 13 are input to the comparator 12, and the comparator 12 compares the image signal GS with the comparison reference value from the selection circuit 13 to perform binarization processing. Comparator 12 is 2
The binarized output image signal BS that is digitized and output is also input to the shift register 7, latched by the shift register 7, and output to the selection circuit 13.

したがって、本実施例においては、比較器12は選択回
路13からの比較基準値に基づいて両信号GSを2値化
処理し、2値化出力画信号BSを出力するが、この比較
基準値は選択回路13がシフトレジスタ7からの2値化
出力画信号BS、すなわち、現在処理中の前の画素の2
値化出力に基づいて第1比較基準値SL、と第2比較基
準値SL、から選択したものである。
Therefore, in this embodiment, the comparator 12 binarizes both signals GS based on the comparison reference value from the selection circuit 13 and outputs the binarized output image signal BS. The selection circuit 13 selects the binary output image signal BS from the shift register 7, that is, 2 of the previous pixel currently being processed.
The first comparison reference value SL and the second comparison reference value SL are selected based on the digitized output.

そして、これら第1比較基準値SL、と第2比較基準値
S L zは、第2図に示したように、第1比較基準値
SL、としてより黒レベル側の値が設定され、第2比較
基準値SL、とじてより白レベル側の値が設定される。
As shown in FIG. 2, these first comparison reference value SL and second comparison reference value S L z are set to a value closer to the black level as the first comparison reference value SL, and a value closer to the black level is set as the first comparison reference value SL. The comparison reference value SL is set to a value closer to the white level than the border.

また、選択回路13は第3図に示したフローチャートの
処理と同様に、前画素が黒であると、第1基準値発生器
4からの第1比較基準値SL、を採用して比較器12に
出力し、前画素が白であると、第2基準値発生器5から
の第2比較基準値SL2を採用して゛比較器12に出力
する。すなわち、零画信号2値化回路11においても、
第1比較基準値SL、と第2比較基準値SL2のいずれ
の比較基準値に基づく2値化出力を出力するかを現在処
理中の画素の前の画素の2値化出力に基づいて決定して
いる。その結果、前画素と分離して細線等の細かな画像
をも精度よく読み取ることができ、画質を向上させるこ
とができる。
Similarly to the process of the flowchart shown in FIG. If the previous pixel is white, the second comparison reference value SL2 from the second reference value generator 5 is adopted and output to the comparator 12. That is, also in the zero picture signal binarization circuit 11,
Based on the binarized output of the pixel before the pixel currently being processed, it is determined which of the first comparison standard value SL and the second comparison standard value SL2 to output the binarized output based on. ing. As a result, it is possible to read fine images such as thin lines with high precision by separating them from the previous pixel, and the image quality can be improved.

さらに、本実施例では1つの比較器だけで2値化処理す
ることができ、回路構成を簡単にすることができる。そ
の結果、画信号2値化回路11を安価なものとすること
ができる。
Furthermore, in this embodiment, the binarization process can be performed with only one comparator, and the circuit configuration can be simplified. As a result, the image signal binarization circuit 11 can be made inexpensive.

第5図は請求項2記載の発明の一実施例を示す図であり
、第1図〜第3図に記載した実施例と同一構成部分には
同一符号のみを付してその説明を省略する。
FIG. 5 is a diagram showing an embodiment of the invention as claimed in claim 2, and the same components as those in the embodiment shown in FIGS. 1 to 3 are given only the same reference numerals, and their explanations are omitted. .

第5図において、画信号2値化回路21は、比較器2.
3、第1基準値発生器4、第2基準値発生器5、選択回
路22およびラインバッファメモリ23等を備えている
In FIG. 5, the image signal binarization circuit 21 includes comparators 2.
3, a first reference value generator 4, a second reference value generator 5, a selection circuit 22, a line buffer memory 23, and the like.

選択回路22には比較器2および比較器3からの2値化
画信号が人力さるとともに、ラインバッファメモリ23
から2値化出力画信号BSが人力され、選択回路22は
ラインバッファメモリ23からの2値化出力画信号BS
に基づいて比較器2からの2値化画信号と比較器3から
の2値化画信号の一方を選択して2値化出力画信号BS
として出力する。
The selection circuit 22 receives the binarized image signals from the comparators 2 and 3 manually, and the line buffer memory 23
The selection circuit 22 inputs the binary output image signal BS from the line buffer memory 23 manually.
Based on this, one of the binary image signal from comparator 2 and the binary image signal from comparator 3 is selected and the binary output image signal BS is generated.
Output as .

選択回路22から出力された2値化出力画信号BSはラ
インバックアメモリ23にも人力され、ラインバッファ
メモリ23は1ライン分の2値化出力画信号BSを蓄積
する容量を有している。したがって、ラインバッファメ
モリ23は選択回路22で現在処理中の画信号の1ライ
ン前の同位置の2値化出力画信号BSを選択回路22に
出力し、選択回路22は第1比較基準値SL、と第2比
較基準値S L zのいずれの比較基準値に基づく2値
化出力を出力するかを、現在処理中の画素の1ライン前
の同位置の画素の2値化出力(2値化出力画信号BS)
の値に基づいて決定する。
The binarized output image signal BS outputted from the selection circuit 22 is also input to the line buffer memory 23, and the line buffer memory 23 has a capacity to store the binarized output image signal BS for one line. Therefore, the line buffer memory 23 outputs the binarized output image signal BS at the same position one line before the image signal currently being processed by the selection circuit 22 to the selection circuit 22, and the selection circuit 22 outputs the first comparison reference value SL. , and the second comparison reference value S L z to output the binary output based on the binary output of the pixel at the same position one line before the pixel currently being processed (binary output). converted output image signal BS)
Determine based on the value of .

選択回路22はこの決定を、第6図にそのフローチャー
トを示すように、前ラインの値が黒であると、第1比較
基準値SL、による比較器2からの2値化画信号を2値
化出力画信号BSとして出力し、前ラインの値が白であ
ると、第2比較基準値SL、による比較器3からの2値
化画信号を2値化出力画信号BSとして出力する。
The selection circuit 22 makes this decision, as shown in the flowchart of FIG. If the value of the previous line is white, the binary image signal from the comparator 3 based on the second comparison reference value SL is output as the binary output image signal BS.

したがって、前ラインの画素と分離して細線等の細かな
画像をも精度よく読み取ることができ、画質を向上させ
ることができる。
Therefore, it is possible to accurately read fine images such as thin lines by separating them from the pixels of the previous line, and the image quality can be improved.

第7図は請求項2記載の発明の他の実施例を示す図であ
り、本実施例の説明にあたり、第5.6図に示した各実
施例と同一構成部分には同一符号を付してその説明を省
略する。
FIG. 7 is a diagram showing another embodiment of the invention as claimed in claim 2. In explaining this embodiment, the same components as in each embodiment shown in FIG. 5.6 are given the same reference numerals. Therefore, the explanation will be omitted.

第7図において、画信号2値化回路41は、比較器32
、第1基準値発生器4、第2基準値発生器5、選択回路
33およびラインバッファメモリ23等を備えている。
In FIG. 7, the image signal binarization circuit 41 includes a comparator 32
, a first reference value generator 4, a second reference value generator 5, a selection circuit 33, a line buffer memory 23, and the like.

選択回路33はラインバッファメモリ23からの2値化
出力画信号BSに基づいて第1基準値発生器4からの第
1比較基準値SL、と第2基準値発生器5からの第2比
較基準値SL2のいずれかを選択して比較器32に出力
し、比較器32には、さらに、画信号GSが入力されて
いる。比較器32は、画信号GSを選択回路33からの
比較基準値と比較して2値化処理し、2値化出力画信号
BSとして出力する。この2値化出力画信号BSはライ
ンバッファメモリ23にも入力され、ラインバッファメ
モリ23で1ライン分遅延されて選択回路33に入力さ
れる。
The selection circuit 33 selects a first comparison reference value SL from the first reference value generator 4 and a second comparison reference value from the second reference value generator 5 based on the binarized output image signal BS from the line buffer memory 23. One of the values SL2 is selected and output to the comparator 32, and the image signal GS is further input to the comparator 32. The comparator 32 compares the image signal GS with a comparison reference value from the selection circuit 33, performs binarization processing, and outputs the result as a binarized output image signal BS. This binarized output image signal BS is also input to the line buffer memory 23, delayed by one line in the line buffer memory 23, and input to the selection circuit 33.

したがって、画信号2値化回路31は第1比較基準値S
L、と第2比較基準値SL、のいずれの比較基準値に基
づく2値化出力を出力するかを、現在処連中の画素の1
ライン前の画素の2値化出力(2値化出力画信号BS)
の値に基づいて決定しており、その決定は、第6図に示
したのと同様に、前ラインが黒であると、選択回路33
が第1比較基準値SL、を比較器32に出力して第1比
較基準値SL+による2値化出力画信号BSを出力し、
前ラインが白であると、選択回路33が第2比較基準値
SL2を比較器32に出力して第2比較基準値SL2に
よる2値化出力画信号BSを出力する。
Therefore, the image signal binarization circuit 31 uses the first comparison reference value S
1 of the pixels currently being processed to determine which comparison reference value to output the binarized output based on, L, and the second comparison reference value SL.
Binarized output of the pixel before the line (binarized output image signal BS)
As shown in FIG. 6, if the previous line is black, the selection circuit 33
outputs the first comparison reference value SL to the comparator 32 and outputs a binarized output image signal BS based on the first comparison reference value SL+,
If the previous line is white, the selection circuit 33 outputs the second comparison reference value SL2 to the comparator 32, and outputs a binarized output image signal BS based on the second comparison reference value SL2.

したがって、細線等の細かな画像をも精確に読み取って
画質を向上させることができるとともに、1つの比較器
32だけで2値化処理することができ、画信号2値化回
路31を安価なものとすることができる。
Therefore, it is possible to accurately read fine images such as thin lines and improve the image quality, and it is also possible to perform binarization processing with only one comparator 32, making the image signal binarization circuit 31 inexpensive. It can be done.

第8図〜第10図は請求項1記載の発明と請求項2記載
の発明を組み合わせた発明の一実施例を示す図である。
8 to 10 are diagrams showing an embodiment of the invention in which the invention according to claim 1 and the invention according to claim 2 are combined.

第8図において、画信号2値化回路41は、比較器42
.43.44.45、第1基準値発生器46、第2基準
値発生器47、第3基準値発生器48、第4基準値発生
器49、選択回路50、シフトレジスタ51およびライ
ンバッファ5′2等を備えている。
In FIG. 8, the image signal binarization circuit 41 includes a comparator 42
.. 43.44.45, first reference value generator 46, second reference value generator 47, third reference value generator 48, fourth reference value generator 49, selection circuit 50, shift register 51 and line buffer 5' It is equipped with 2nd class.

各比較器42.43.44.45には画信号GSが入力
されるとともに、比較器42には第1基準値発生器46
からの第1比較基準値SL、が、比較器43には第2基
準値発生器47からの第2比較基準値SL。
The image signal GS is input to each comparator 42, 43, 44, 45, and the first reference value generator 46 is input to the comparator 42.
The comparator 43 receives the first comparison reference value SL from the second reference value generator 47 .

が、比較器44には第3基準値発生器48からの第3比
較基準値SLeが、そして比較器45には第4基準値発
生器49からの第4比較基準値SL、が入力されている
。第1基準値発生器46から第4基準値発生器49まで
の各基準値発生器は、第9図に示すように、より黒レベ
ルに近い第1比較基準値SL、から順次白レベルに近づ
いていく第2比較基準値SL、、第3比較基準値SLC
および第4比較基準値SL、を発生する。比較器42〜
比較器45はそれぞれこれら第1比較基準値SL、〜第
4比較基準値SL、と画信号GSを比較し、2値化処理
して2値化画信号を選択回路50に出力する。選択回路
50には、シフトレジスタ51およびラインバッファ5
2からの2値化出力画信号BSが入力されており、選択
回路50はこれらシフトレジスタ51およびラインバッ
ファ52からの2値化出力画信号BSに基づいて比較器
42〜比較器45からの2値化画信号を選択して2値化
出力画信号BSとして出力する。この2値化出力画信号
BSがシフトレジスタ51およびラインバッファ52に
も入力され、シフトレジスタ51はこの2値化出力画信
号BSをラッチして選択回路50に出力し、ラインバッ
ファ52は1ライン分遅延させて選択回路50に出力す
る。
However, the third comparison reference value SLe from the third reference value generator 48 is input to the comparator 44, and the fourth comparison reference value SL from the fourth reference value generator 49 is input to the comparator 45. There is. As shown in FIG. 9, the reference value generators from the first reference value generator 46 to the fourth reference value generator 49 sequentially approach the white level from the first comparison reference value SL, which is closer to the black level. Second comparison standard value SL, third comparison standard value SLC
and a fourth comparison reference value SL. Comparator 42~
The comparators 45 respectively compare the first comparison reference value SL to the fourth comparison reference value SL with the image signal GS, perform binarization processing, and output the binarized image signal to the selection circuit 50 . The selection circuit 50 includes a shift register 51 and a line buffer 5.
The selection circuit 50 receives the binary output image signal BS from the shift register 51 and the line buffer 52 based on the binary output image signal BS from the comparators 42 to 45. A digitized image signal is selected and outputted as a binarized output image signal BS. This binary output image signal BS is also input to the shift register 51 and line buffer 52, the shift register 51 latches this binary output image signal BS and outputs it to the selection circuit 50, and the line buffer 52 It is output to the selection circuit 50 with a delay of 10 minutes.

したがって、選択回路50は比較器42〜比較器45か
ら入力される2値化画信号を現在処理中の画素の前の画
素および1ライン前の画素の2値化出力画信号BSに基
づいて選別し、2値化出力画信号BSとして出力する。
Therefore, the selection circuit 50 selects the binary image signals inputted from the comparators 42 to 45 based on the binary output image signals BS of the pixel before the pixel currently being processed and the pixel one line before. Then, it is output as a binarized output image signal BS.

そして、選択回路50は、第10図に示すように、前ラ
イン画素および前画素がともに黒のとき、第1比較基準
値SL、による2値化画信号を2値化出力画信号BSと
して採用し、前ライン画素が黒で、前画素が白のとき、
第2比較基準値SLbによる2値化画信号を2値化出力
画信号BSとして採用する。また、前ライン画素が白で
、前画素が黒のとき、第3比較基準値SL0による2値
化画信号を2値化出力画信号BSとして採用し、前ライ
ン画素および前画素がともに白のとき、第4比較基準値
SL、による2値化画信号を2値化出力画信号BSとし
て採用する。その結果、前画素および前ライン画素と分
離して細線等の細かな画像をも精確に読み取ることがで
き、より一層画質を向上させることができる。
Then, as shown in FIG. 10, when the previous line pixel and the previous pixel are both black, the selection circuit 50 adopts the binarized image signal based on the first comparison reference value SL as the binarized output image signal BS. However, when the previous line pixel is black and the previous pixel is white,
The binarized image signal based on the second comparison reference value SLb is employed as the binarized output image signal BS. Furthermore, when the previous line pixel is white and the previous pixel is black, the binarized image signal based on the third comparison reference value SL0 is adopted as the binarized output image signal BS, and both the previous line pixel and the previous pixel are white. At this time, the binarized image signal based on the fourth comparison reference value SL is adopted as the binarized output image signal BS. As a result, even fine images such as thin lines can be read accurately by separating the previous pixel and the previous line pixel, and the image quality can be further improved.

第11図は請求項1記載の発明と請求項2記載の発明を
組み合わせた発明の他の実施例を示す図であり、本実施
例の説明にあたり、第8図〜第10図に示した実施例と
同一構成部分は同一符号を付してその説明を省略する。
FIG. 11 is a diagram showing another embodiment of the invention that combines the invention claimed in claim 1 and the invention claimed in claim 2. In explaining this embodiment, the embodiment shown in FIGS. Components that are the same as those in the example are given the same reference numerals and their explanations will be omitted.

第11図において、画信号2値化回路61は、比較器6
2、第1基準値発生器46、第2基準値発生器47、第
3基準値発生器48、第4基準値発生器49、選択回路
63、シフトレジスタ51およびラインバッファ52等
を備えている。
In FIG. 11, the image signal binarization circuit 61 includes a comparator 6
2. Equipped with a first reference value generator 46, a second reference value generator 47, a third reference value generator 48, a fourth reference value generator 49, a selection circuit 63, a shift register 51, a line buffer 52, etc. .

選択回路63には第1基準値発生器46、第2基準値発
生器47、第3基準値発生器48および第4基準値発生
器49から第1比較基準値SL、、第2比較基準値SL
、、第3比較基準値SLcおよび第4比較基準値SL、
が入力されるとともに、シフトレジスタ51およびライ
ンバッファ52から2値化出力画信号BSが入力されて
おり、選択回路63はシフトレジスタ51およびライン
バッファ52からの2値化出力画信号BSに基づいて、
第1比較基準値SL、から第4比較基準値SL、までの
いずれかを選択して比較器62に出力する。比較器62
には、さらに、画信号GSが入力されており、比較器6
2は画信号GSを選択回路63から入力される比較基準
値に基づいて2値化処理して2値化出力画信号BSを出
力する。比較器62からの2値化出力画信号BSはシフ
トレジスタ51およびラインバッファ52にも入力され
、シフトレジスタ51からは前画素の2値化出力画信号
BSとして、またラインバッファ52からは前ラインの
画素の2値化出力画信号BSとして選択回路63に出力
される。選択回路63は前画素および前ライン画素の2
値化出力画信号BSに基づいて第1基準値発生器46〜
第4基準値発生器49から入力される第1比較基準値S
L、〜第2比較基準値SL、のいずれかを選択して比較
器62に出力しており、この選択は、第10図に示した
フローチャートと同様に決定される。
The selection circuit 63 receives a first comparison reference value SL, a second comparison reference value from a first reference value generator 46, a second reference value generator 47, a third reference value generator 48, and a fourth reference value generator 49. SL
,, a third comparison standard value SLc and a fourth comparison standard value SL,
is input, and a binarized output image signal BS is also input from the shift register 51 and line buffer 52. ,
One of the first comparison reference values SL to the fourth comparison reference values SL is selected and output to the comparator 62. Comparator 62
Further, the image signal GS is inputted to the comparator 6.
2 binarizes the image signal GS based on the comparison reference value inputted from the selection circuit 63 and outputs a binarized output image signal BS. The binarized output image signal BS from the comparator 62 is also input to the shift register 51 and the line buffer 52, from the shift register 51 as the binarized output image signal BS of the previous pixel, and from the line buffer 52 to the previous line. is outputted to the selection circuit 63 as a binarized output image signal BS of the pixel. The selection circuit 63 selects the previous pixel and the previous line pixel.
Based on the digitized output image signal BS, the first reference value generator 46~
The first comparison reference value S input from the fourth reference value generator 49
L, - second comparison reference value SL is selected and output to the comparator 62, and this selection is determined in the same manner as in the flowchart shown in FIG.

したがって、本実施例においても、前画素および前ライ
ン画素の2値化出力画信号BSに基づく比較基準値によ
る2値化出力画信号BSを選択することができるととも
に、1つのラインバッファ52で2値化処理することが
でき、細線等をも精度よく読み取って画質をより一層向
上させることができるとともに、画信号2値化回路51
を安価なものとすることができる。
Therefore, in this embodiment as well, it is possible to select the binarized output image signal BS based on the comparison reference value based on the binarized output image signal BS of the previous pixel and the previous line pixel, and one line buffer 52 can select the binarized output image signal BS. The image signal binarization circuit 51
can be made inexpensive.

(効果) 本発明によれば、M T Fの低い場合であっても、細
線等の細かい画像をも精度よく読み取ることができ、画
質を向上させることができる。
(Effects) According to the present invention, even when M TF is low, even fine images such as thin lines can be read with high accuracy, and image quality can be improved.

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

第1図〜第3図は請求項1記載の発明の画信号2値化回
路の一実施例を示す図であり、第1図はその回路ブロッ
ク図、第2図はその第1比較基準値と第2比較基準値の
相対関係を示す図、第3図はその前画素の値に基づく選
択処理を示すフローチャートである。 第4図は請求項1記載の発明の画信号2値化回路の他の
実施例の回路ブロック図である。 第5.6図は請求項2記載の発明の画信号2値化回路の
一実施例を示す図であり、第5図はその回路ブロック図
、第6図はその前ライン画素に基づく選択処理を示すフ
ローチャートである。 第7図は請求項2記載の発明の画信号2値化回路の他の
実施例の回路ブロック図である。 第8図〜第10図は請求項1記載の発明と請求項2記載
の発明とを組み合わせた発明の画信号2値化回路の一実
施例を示す図であり、第8図はその回路ブロック図、第
9図はその第1比較基準値から第4比較基準値までの相
対関係を示す図、第10図はその前画素および前ライン
画素の値に基づく選択処理を示すフローチャートである
。 第11図は請求項1記載の発明と請求項2記載の発明と
を組み合わせた発明の画信号2値化回路の他の実施例の
回路ブロック図である。 1.11.21.31.41.51・・・・・・画信号
2値化回路、2.3.12.32.42.43.44.
45.62・・・・・・比較器、4・・・・・・第1基
準値発生器、 5・・・・・・第2基準値発生器、 6.13.22.33.50.63・・・・・・選択回
路、7.51・・・・・・シフトレジスタ、23.52
・・・・・・ラインハソファメモリ、46・・・・・・
第1基準値発生器、 47・・・・・・第2基準値発生器、 48・・・・・・第3基準値発生器、 49・・・・・・第4基準値発生器。
1 to 3 are diagrams showing an embodiment of the image signal binarization circuit of the invention as claimed in claim 1, FIG. 1 is a block diagram of the circuit, and FIG. 2 is a first comparison reference value thereof. FIG. 3 is a flow chart showing the selection process based on the value of the previous pixel. FIG. 4 is a circuit block diagram of another embodiment of the image signal binarization circuit according to the first aspect of the invention. 5.6 is a diagram showing an embodiment of the image signal binarization circuit of the invention as claimed in claim 2, FIG. 5 is a block diagram of the circuit, and FIG. 6 is a selection process based on the previous line pixel. It is a flowchart which shows. FIG. 7 is a circuit block diagram of another embodiment of the image signal binarization circuit according to the second aspect of the invention. 8 to 10 are diagrams showing an embodiment of an image signal binarization circuit of the invention that combines the invention described in claim 1 and the invention described in claim 2, and FIG. 8 is a block diagram of the circuit. 9 is a diagram showing the relative relationship from the first comparison reference value to the fourth comparison reference value, and FIG. 10 is a flowchart showing the selection process based on the values of the previous pixel and the previous line pixel. FIG. 11 is a circuit block diagram of another embodiment of the image signal binarization circuit according to the invention, which is a combination of the invention as claimed in claim 1 and the invention as claimed in claim 2. 1.11.21.31.41.51... Image signal binarization circuit, 2.3.12.32.42.43.44.
45.62... Comparator, 4... First reference value generator, 5... Second reference value generator, 6.13.22.33.50. 63... Selection circuit, 7.51... Shift register, 23.52
・・・・・・Line Ha Sofa Memory, 46・・・・・・
1st reference value generator, 47...2nd reference value generator, 48...3rd reference value generator, 49...4th reference value generator.

Claims (2)

【特許請求の範囲】[Claims] (1)入力されたアナログの画信号を所定の比較基準値
と比較して2値化処理する画信号2値化回路において、
比較基準値としてより白側に近い第1比較基準値と、よ
り黒側に近い第2比較基準値と、の2種類の比較基準値
を設定し、これら第1比較基準値と第2比較基準値のい
ずれの比較基準値に基づく2値化出力を出力するかを、
現在処理中の画素の前の画素の2値化出力の値に基づい
て決定することを特徴とする画信号2値化回路。
(1) In an image signal binarization circuit that performs binarization processing by comparing an input analog image signal with a predetermined comparison reference value,
Two types of comparison reference values are set, a first comparison reference value closer to the white side and a second comparison reference value closer to the black side, and these first comparison reference values and the second comparison reference value are set. Select which comparison reference value to output the binarized output based on.
An image signal binarization circuit characterized in that the image signal binarization circuit determines the value based on the value of the binarization output of the pixel before the pixel currently being processed.
(2)入力されたアナログの画信号を所定の比較基準値
と比較して2値化処理する画信号2値化回路において、
比較基準値としてより白側に近い第1比較基準値と、よ
り黒側に近い第2比較基準値と、の2種類の比較基準値
を設定し、これら第1比較基準値と第2比較基準値のい
ずれの比較基準値に基づく2値化出力を出力するかを、
現在処理中の画素の前ラインの同位置の画素の2値化出
力の値に基づいて決定することを特徴とする画信号2値
化回路。
(2) In an image signal binarization circuit that compares an input analog image signal with a predetermined comparison reference value and performs binarization processing,
Two types of comparison reference values are set, a first comparison reference value closer to the white side and a second comparison reference value closer to the black side, and these first comparison reference values and the second comparison reference value are set. Select which comparison reference value to output the binarized output based on.
An image signal binarization circuit characterized in that the image signal binarization circuit determines the value based on the value of the binarization output of a pixel at the same position in the line preceding the pixel currently being processed.
JP63198289A 1988-08-08 1988-08-08 Image signal binarization circuit Pending JPH0247974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63198289A JPH0247974A (en) 1988-08-08 1988-08-08 Image signal binarization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63198289A JPH0247974A (en) 1988-08-08 1988-08-08 Image signal binarization circuit

Publications (1)

Publication Number Publication Date
JPH0247974A true JPH0247974A (en) 1990-02-16

Family

ID=16388647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63198289A Pending JPH0247974A (en) 1988-08-08 1988-08-08 Image signal binarization circuit

Country Status (1)

Country Link
JP (1) JPH0247974A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010220250A (en) * 2003-07-01 2010-09-30 Xerox Corp Segmentation method and system for multiple raster content (mrc) representation of document

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010220250A (en) * 2003-07-01 2010-09-30 Xerox Corp Segmentation method and system for multiple raster content (mrc) representation of document

Similar Documents

Publication Publication Date Title
US4905294A (en) Image processing apparatus
US4817174A (en) Image processing apparatus
US5471319A (en) Image processing method and image processing apparatus
US5241404A (en) Image reader and method for image reading
US5055944A (en) Image signal processing apparatus
JPH0247974A (en) Image signal binarization circuit
US5034825A (en) High quality image scanner
US5150223A (en) Copier with single pass auto exposure
JP2610696B2 (en) Image signal processing device
JPH04271667A (en) Reading system for color information
JPS59123367A (en) Image reading method
US4812667A (en) Past record correcting/reading apparatus
JPS5964917A (en) Binary coding system
US4414582A (en) Multiple line processing of video signals in a scanning type document reader
JP3466655B2 (en) Image processing device
JP2541937B2 (en) Image processing device
JPS61242170A (en) Signal processor
JPS6339141B2 (en)
JP2737418B2 (en) Pass / fail inspection device
JP2757868B2 (en) Image information binarization processing circuit
JPS58142674A (en) Data processing device for facsimile
JP2618655B2 (en) Image reading device
JP2918367B2 (en) Semiconductor integrated circuit device
JPS619764A (en) Picture processor
JPH0583558A (en) 2-color original reading device