JP3074683B2 - Binarization circuit - Google Patents

Binarization circuit

Info

Publication number
JP3074683B2
JP3074683B2 JP01149194A JP14919489A JP3074683B2 JP 3074683 B2 JP3074683 B2 JP 3074683B2 JP 01149194 A JP01149194 A JP 01149194A JP 14919489 A JP14919489 A JP 14919489A JP 3074683 B2 JP3074683 B2 JP 3074683B2
Authority
JP
Japan
Prior art keywords
binarizing
signal
output
binarized
differentiating
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 - Fee Related
Application number
JP01149194A
Other languages
Japanese (ja)
Other versions
JPH0313176A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP01149194A priority Critical patent/JP3074683B2/en
Priority to US07/513,566 priority patent/US5182657A/en
Publication of JPH0313176A publication Critical patent/JPH0313176A/en
Priority to US08/278,571 priority patent/US5444553A/en
Priority to US08/426,703 priority patent/US5530559A/en
Application granted granted Critical
Publication of JP3074683B2 publication Critical patent/JP3074683B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、特に、CCDイメージセンサ等の固体撮像素
子からの出力信号を2値化して画像データを得る2値化
回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a binarization circuit for binarizing an output signal from a solid-state imaging device such as a CCD image sensor to obtain image data.

[従来技術とその問題点] 一般に、CCDイメージセンサにより光学的に読取られ
た画像データは、その被写体の輝度に応じた電気信号レ
ベルで出力される。そして、この電気信号レベルを2値
化することにより白黒画像データか得られる。このCCD
出力信号の2値化を行なう一つの方法としては、まず、
出力信号を微分することにより高周波成分のみを取出
し、この微分出力と2つのレベルVH,VLとを比較して、
該VHを越えた時点からVLより低くなった時点までをΗ
(ハイ)レベル信号とし、逆にVLより低くなった時点か
らVHを越えた時点までをL(ロー)レベル信号として2
値化が図られる。この場合、Ηレベル信号が得られる領
域を白、Lレベル信号が得られる領域を黒とすることで
白黒画像が作成される。
[Prior art and its problems] Generally, image data optically read by a CCD image sensor is output at an electric signal level corresponding to the luminance of the subject. By binarizing the electric signal level, black and white image data can be obtained. This CCD
One way to binarize the output signal is to first
Only the high-frequency component is extracted by differentiating the output signal, and the differentiated output is compared with two levels VH and VL ,
The time from the point when the voltage exceeds VH to the point when the voltage becomes lower than VL is
(High) level signal, and conversely, an L (low) level signal from the point when the voltage falls below VL to the point when it exceeds VH
Value is achieved. In this case, a black-and-white image is created by setting the area where the Δ level signal is obtained as white and the area where the L level signal is obtained as black.

すなわち、上記従来の2値化回路では、コントラスト
の変化が大きいポイントを境界にして白データと黒デー
タとに2値化を図るため、被写体及びその背景の輝度が
多少異なる場合でも、被写体の暗部と明部とを正確に2
値化でき、また、CCD出力信号が雑音の影響により多少
変化しても、該雑音に影響されずに正確に2値化でき
る。
That is, in the above-described conventional binarization circuit, since the white data and the black data are binarized at a point where a change in contrast is large as a boundary, even if the luminance of the subject and its background is slightly different, the dark portion of the subject may be darkened. Exactly 2
It can be binarized, and even if the CCD output signal slightly changes due to the influence of noise, it can be binarized accurately without being affected by the noise.

しかしながら、上記従来の2値化回路により2値化画
像データを得ると、CCD出力信号の微少変化を排除し雑
音に影響されない確実な2値化処理ができる反面、細か
い画像情報が欠落する恐れがある。
However, when binarized image data is obtained by the above-described conventional binarizing circuit, minute binarization of the CCD output signal can be eliminated and a reliable binarization process not affected by noise can be performed, but fine image information may be lost. is there.

[発明の目的] 本発明は上記のような問題点に鑑みなされたもので、
被写体中の細かい情報部分におけるCCD出力信号を微少
変化に影響されることなく、細かな画像情報として得る
ことが可能になる2値化回路を提供することを目的とす
る。
[Object of the Invention] The present invention has been made in view of the above problems,
It is an object of the present invention to provide a binarizing circuit that can obtain a CCD output signal in a fine information portion in a subject as fine image information without being affected by a minute change.

[発明の要点] すなわち本発明に係わる2値化回路は、画像信号を入
力する入力手段と、この入力手段により得られた画像信
号を第1の時定数τ1に基づき微分する第1の微分手段
と、上記入力手段により得られた画像信号を第2の時定
数τ2(<τ1)に基づき微分する第2の微分手段と、
上記第1の微分手段及び第2の微分手段からの各微分出
力に応じて上記画像信号の2値化データを得る2値化手
段とを備え、まず、大きな微分時定数τ1で微少変化を
排除した被写体の背景部分と被写体部分とのコントラス
トを捕らえた後、さらに小さな微分時定数τ2により上
記被写体部分のみの微小変化を捕らえた2値化処理を図
るものである。
[Gist of the Invention] That is, a binarizing circuit according to the present invention comprises an input means for inputting an image signal, and a first differentiating means for differentiating the image signal obtained by the input means based on a first time constant τ1. A second differentiating means for differentiating the image signal obtained by the input means based on a second time constant τ2 (<τ1);
Binarizing means for obtaining binarized data of the image signal in accordance with each differential output from the first differentiating means and the second differentiating means. First, a small change is eliminated with a large differential time constant τ1. After capturing the contrast between the background portion and the subject portion of the subject, the binarization process is performed by capturing the minute change only in the subject portion with a smaller differential time constant τ2.

さらに、請求項2に示す様に上記2値化手段を、上記
第1の微分手段から出力された信号を2値化する第1の
2値化手段と、上記第2の微分手段から出力された信号
を2値化する第2の2値化手段と、上記第1の2値化手
段及び第2の2値化手段のそれぞれの2値化出力の論理
和を2値化出力として出力する手段とで構成することに
より、簡単な構成で2値化処理をすることができる。
Further, as described in claim 2, the binarizing means includes a first binarizing means for binarizing a signal outputted from the first differentiating means, and a signal outputted from the second differentiating means. A second binarizing means for binarizing the output signal, and a logical sum of the respective binarized outputs of the first and second binarizing means as a binarized output. With this configuration, binarization processing can be performed with a simple configuration.

[発明の実施例] 以下図面を参照して本発明の一実施例を説明する。An embodiment of the present invention will be described below with reference to the drawings.

第1図はその構成を示すもので、まず、CCD(固体撮
像素子)から出力される光学画像に応じた電気信号は、
第1の微分回路11a及び第2の微分回路11bに入力され
る。上記第1及び第2の微分回路11a,11bは、上記CCDか
ら出力される電気信号を、それぞれ異なる時定数τ1
(τ>τ)に基づき微分するもので、第1の微分
回路11aからのCCD微分出力信号は、比較器12a1の(−)
端子及び比較器12a2の(+)端子に与えられ、また、第
2の微分回路11bからのCCD微分出力信号は、比較器12b1
の(−)端子及び比較器12b2の(+)端子に与えられ
る。ここで、比較器12a1の(+)端子には2値化基準電
圧V H1が、比較器12a2の(−)端子には2値化基準電圧
V L1が与えられ、比較器12b1の(+)端子には2値化基
準電圧V H2が、比較器12b2の(−)端子には2値化基準
電圧V L2が与えられる。この場合、上記2値化基準電圧
V H1、V L1、V H2、V L2の各電圧レベルは次の関係に設
定される。
FIG. 1 shows the configuration. First, an electric signal corresponding to an optical image output from a CCD (solid-state imaging device) is:
It is input to the first differentiating circuit 11a and the second differentiating circuit 11b. The first and second differentiating circuits 11a and 11b convert electric signals output from the CCD into different time constants τ 1 and τ, respectively.
21 > τ 2 ), and the CCD differential output signal from the first differentiating circuit 11a is obtained by the comparator (12a1)
Terminal and the (+) terminal of the comparator 12a2, and the CCD differential output signal from the second differentiating circuit 11b is supplied to the comparator 12b1
And the (+) terminal of the comparator 12b2. Here, the binarized reference voltage V H1 is applied to the (+) terminal of the comparator 12a1, and the binarized reference voltage is applied to the (−) terminal of the comparator 12a2.
VL1 is supplied, the binary reference voltage VH2 is supplied to the (+) terminal of the comparator 12b1, and the binary reference voltage VL2 is supplied to the (-) terminal of the comparator 12b2. In this case, the binarized reference voltage
The voltage levels of V H1, V L1, V H2, and V L2 are set in the following relationship.

V H1>V H2>0>V L2>V L1 つまり、比較器12a1,12a2は、第1の微分回路11aから
得られる時定数τの微分出力信号を広い上下幅のスレ
ッシュホールドレベルV H1V L1で2値化しコントラス
ト変化の大きい部分に対応させた2値化画像信号を得る
もので、CCD第1微分出力レベルが基準電圧V H1を上回
ると第1の保持回路13aはセットされ、また、CCD第1微
分出力レベルが基準電圧V L1を下回ると第1保持回路13
aはリセットされる。
V H1> V H2>0> V L2> V L1 i.e., comparator 12a1,12a2 is the threshold level of a wide vertical width differential output signal of the constant tau 1 time obtained from the first differential circuit 11a V H1V L1 The first holding circuit 13a is set when the first differential output level of the CCD exceeds the reference voltage V H1, and a binary image signal corresponding to a portion having a large contrast change is obtained. When the first differential output level falls below the reference voltage VL1, the first holding circuit 13
a is reset.

また、比較器12b1,12b2は、第2の微分回路11bから得
られる時定数τの微分出力信号を狭い上下幅のスレッ
シュホールドレベルV H2V L2で2値化し比較的細かな
コントラスト変化に対応させた2値化画像信号を得るも
ので、CCD第2微分出力レベルが基準電圧V H2を上回る
と第2の保持回路13bはセットされ、また、CCD第2微分
出力レベルが基準電圧V L2を下回ると第2保持回路13b
はリセットされる。
Further, the comparator 12b1,12b2 is made to correspond to the second binarizing the differential output signal of the constant tau 2 in the threshold level V H2V L2 narrow vertical width when obtained from the differentiation circuit 11b relatively fine contrast change When the CCD second differential output level exceeds the reference voltage VH2, the second holding circuit 13b is set, and the CCD second differential output level falls below the reference voltage VL2. And the second holding circuit 13b
Is reset.

そして、上記第1保持回路13a及び第2保持回路13bか
らの出力信号は、それぞれオアゲートORを介して2値化
画像信号として出力される。
The output signals from the first holding circuit 13a and the second holding circuit 13b are output as binary image signals via OR gates OR, respectively.

この場合、白地原稿における白領域では、第1保持回
路13aが常にセット状態になるので、該第1保持回路13a
がリセットされている黒データ領域でのみ、第2保持回
路13bのセット/リセット動作に応じた細かな2値化画
像信号が得られることになる。
In this case, the first holding circuit 13a is always in the set state in the white area of the white original, so that the first holding circuit 13a
Only in the black data region where is reset, a fine binary image signal corresponding to the set / reset operation of the second holding circuit 13b can be obtained.

第2図は上記2値化回路各部の動作を示す波形図であ
る。
FIG. 2 is a waveform diagram showing the operation of each section of the above-mentioned binarization circuit.

すなわち、CCD出力信号が与えられると、第1微分回
路11aにおいて大きい時定数τで微分されたCCD微分出
力が、比較器12a1,12a2において基準電圧V H1,V L1で2
値化され、その2値化出力が第1保持回路13aから出力
される。ここで、コントラスト変化の大きい部分を境界
とした白地画像領域がΗレベル信号で、その中の黒画像
領域がLレベル信号で得られたことになる。
That is, when the CCD output signal is given, the CCD differential output differentiated by the large time constant τ 1 in the first differentiating circuit 11a is compared with the reference voltages V H1 and V L1 in the comparators 12a1 and 12a2.
The value is binarized, and the binarized output is output from the first holding circuit 13a. Here, a white background image region bordering on a portion where the contrast change is large is obtained as a Δ level signal, and a black image region therein is obtained as an L level signal.

一方、上記第1微分処理による白黒2値化と並行し
て、上記CCD出力信号が与えられると、第2微分回路11b
において小さい時定数τで微分されたCCD微分出力
が、比較器12b1,12b2において基準電圧V H2,V L2で2値
化され、その2値化出力が第2保持回路13bから出力さ
れる。ここで、コントラスト変化の比較的細かい部分も
含んだ白地画像領域がΗレベル信号で、黒画像領域がL
レベル信号で得られたことになる。
On the other hand, when the CCD output signal is given in parallel with the black and white binarization by the first differentiation process, the second differentiation circuit 11b
, The CCD differential output differentiated by the small time constant τ 2 is binarized by the reference voltages V H2 and V L2 in the comparators 12b1 and 12b2, and the binarized output is output from the second holding circuit 13b. Here, a white background image region including a relatively small portion of contrast change is a Δ level signal, and a black image region is L level.
This is what was obtained with the level signal.

そして、上記第1微分処理による白黒2値化信号と、
第2微分処理による白黒2値化信号とは、それぞれオア
ゲートORを通して合成され、黒画像領域のみ細かく2値
化された画像信号が得られるようになる。
Then, a black-and-white binary signal obtained by the first differential processing,
The black-and-white binary signal obtained by the second differentiation processing is combined through an OR gate OR, and an image signal finely binarized only in the black image area can be obtained.

したがって、上記構成の2値化回路によれば、第1微
分処理により予め微少な信号変化を排除した白→Hレベ
ル,黒→Lレベルの2値化信号と、第2微分処理による
細かい信号変化も含む白黒2値化信号とを論理和合成
し、最終的な2値化画像信号を得るので、黒画像情報の
細かな部分を欠落させずに正確な画像情報の読取りを行
なうことができる。
Therefore, according to the binarization circuit having the above configuration, a white-to-H level and black-to-L level binarized signal from which a minute signal change is eliminated in advance by the first differential processing, and a fine signal change by the second differential processing. Since a final binarized image signal is obtained by performing a logical sum synthesis with a black-and-white binarized signal including a black and white binarized signal, accurate image information can be read without losing a fine portion of black image information.

尚、上記実施例では、白地背景における被写体像情報
を細かな2値化データとして読取る場合について述べた
が、黒地背景における被写体像情報の細かな2値化読取
りを行なう場合には、前記各保持回路13a,13bの出力レ
ベルが、両者共にΗ(白)レベルである時のみ、同Η
(白)レベルの2値化出力が得られるようにすればよ
い。つまり、前記第1図における第1及び第2保持回路
13a,13bの出力を、アンドゲートANDを通して合成すれば
よいことになる。
In the above-described embodiment, the case in which the subject image information on the white background is read as fine binary data is described. Only when the output levels of the circuits 13a and 13b are both high (white) levels,
What is necessary is just to obtain a (white) level binary output. That is, the first and second holding circuits in FIG.
The outputs of 13a and 13b may be combined through AND gate AND.

[発明の効果] 以上のように本発明によれば、画像信号を入力する入
力手段と、この入力手段により得られた画像信号を第1
の時定数τ1に基づき微分する第1の微分手段と、上記
入力手段により得られた画像信号を第2の時定数τ2
(<τ1)に基づき微分する第2の微分手段と、上記第
1の微分手段及び第2の微分手段からの各微分出力に応
じて上記画像信号の2値化データを得る2値化手段とを
備え、まず、大きな微分時定数τ1で微少変化を排除し
た被写体の背景部分と被写体部分とのコントラストを捕
らえた後、さらに小さな微分時定数τ2により上記被写
体部分のみの微小変化を捕らえた2値化処理を図るの
で、被写体部分におけるCCD出力信号の微少変化に影響
されることなく、細かな画像情報を得ることが可能にな
る2値化回路を提供できる。
[Effects of the Invention] As described above, according to the present invention, an input unit for inputting an image signal, and the image signal obtained by the input unit is transmitted to the first unit.
A first differentiating means for differentiating based on the time constant τ1 of the first time, and a second time constant τ2 of the image signal obtained by the input means.
A second differentiating means for differentiating based on (<τ1), and a binarizing means for obtaining binary data of the image signal according to each differential output from the first differentiating means and the second differentiating means. First, a large differential time constant τ1 is used to capture the contrast between the background portion of the subject and the subject portion from which minute changes are eliminated, and then a small differential time constant τ2 is used to capture a small change in only the subject portion. Since the binarization process is performed, it is possible to provide a binarization circuit that can obtain fine image information without being affected by a slight change in a CCD output signal in a subject portion.

さらに、請求項2に示す様に上記2値化手段を、上記
第1の微分手段から出力された信号を2値化する第1の
2値化手段と、上記第2の微分手段から出力された信号
を2値化する第2の2値化手段と、上記第1の2値化手
段及び第2の2値化手段のそれぞれの2値化出力の論理
和を2値化出力として出力する手段とで構成することに
より、簡単な構成で2値化処理をすることができるの
で、簡単な構成で2値化をすることができる2値化回路
を提供できる。
Further, as described in claim 2, the binarizing means includes a first binarizing means for binarizing a signal outputted from the first differentiating means, and a signal outputted from the second differentiating means. A second binarizing means for binarizing the output signal, and a logical sum of the respective binarized outputs of the first and second binarizing means as a binarized output. With this configuration, the binarization processing can be performed with a simple configuration, so that a binarization circuit that can perform binarization with a simple configuration can be provided.

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

第1図は本発明の一実施例に係わる2値化回路を示すブ
ロック図、第2図は上記2値化回路各部の動作波形を示
す図である。 11a……第1微分回路、11b……第2微分回路、12a1,12a
2、12b1,12b2……比較器、13a……第1保持回路、13b…
…第2保持回路、OR……オアゲート。
FIG. 1 is a block diagram showing a binarizing circuit according to an embodiment of the present invention, and FIG. 2 is a diagram showing operation waveforms of each section of the binarizing circuit. 11a... First differentiator circuit, 11b... Second differentiator circuit, 12a1, 12a
2, 12b1, 12b2 ... comparator, 13a ... first holding circuit, 13b ...
... Second holding circuit, OR ... OR gate.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像信号を入力する入力手段と、 この入力手段により得られた画像信号を第1の時定数τ
1に基づき微分する第1の微分手段と、 上記入力手段により得られた画像信号を第2の時定数τ
2(<τ1)に基づき微分する第2の微分手段と、 上記第1の微分手段及び第2の微分手段からの各微分出
力に応じて上記画像信号の2値化データを得る2値化手
段と を具備したことを特徴とする2値化回路。
An input means for inputting an image signal, and an image signal obtained by the input means is converted into a first time constant τ
And a second time constant τ.
2 (<τ1), and a binarizing unit that obtains binarized data of the image signal according to each differential output from the first and second differentiating units. A binarization circuit, comprising:
【請求項2】上記2値化手段は、上記第1の微分手段か
ら出力された信号を2値化する第1の2値化手段と、 上記第2の微分手段から出力された信号を2値化する第
2の2値化手段と、 上記の第1の2値化手段及び第2の2値化手段のそれぞ
れの2値化出力の論理和を2値化出力として出力する手
段と を具備したことを特徴とする請求項1記載の2値化回
路。
A second binarizing means for binarizing the signal output from the first differentiating means; and a binarizing means for converting the signal output from the second differentiating means into two. A second binarizing means for converting a value, and a means for outputting, as a binarized output, a logical sum of respective binarized outputs of the first and second binarizing means. 2. The binarization circuit according to claim 1, further comprising:
JP01149194A 1989-04-27 1989-06-12 Binarization circuit Expired - Fee Related JP3074683B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP01149194A JP3074683B2 (en) 1989-06-12 1989-06-12 Binarization circuit
US07/513,566 US5182657A (en) 1989-04-27 1990-04-24 Image processing apparatus including binary data producing unit
US08/278,571 US5444553A (en) 1989-04-27 1994-07-21 Image processing apparatus including binary data producing unit
US08/426,703 US5530559A (en) 1989-04-27 1995-04-24 Image processing apparatus including binary data producing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01149194A JP3074683B2 (en) 1989-06-12 1989-06-12 Binarization circuit

Publications (2)

Publication Number Publication Date
JPH0313176A JPH0313176A (en) 1991-01-22
JP3074683B2 true JP3074683B2 (en) 2000-08-07

Family

ID=15469872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01149194A Expired - Fee Related JP3074683B2 (en) 1989-04-27 1989-06-12 Binarization circuit

Country Status (1)

Country Link
JP (1) JP3074683B2 (en)

Also Published As

Publication number Publication date
JPH0313176A (en) 1991-01-22

Similar Documents

Publication Publication Date Title
US4749879A (en) Signal transition detection method and system
US4486777A (en) Defect detecting apparatus and method
JP3074683B2 (en) Binarization circuit
US4240107A (en) Apparatus and method for pattern information processing
JPS6093878A (en) Picture reader
JPS598474A (en) Binary-coder for analog signal
CN105472244B (en) A kind of low power image acquisition module
JPH03170930A (en) Pattern inspecting device
JPS5816837B2 (en) pattern detection device
JPH0221806Y2 (en)
JPH0191571A (en) Picture processor
JPS6057745B2 (en) Binarization circuit
JPS6226636B2 (en)
JPS6123893Y2 (en)
JP3002550B2 (en) Automatic synchronization signal polarity conversion circuit for monitor device
JP2998518B2 (en) Pattern inspection equipment
JP3453896B2 (en) Binarization circuit, solid-state imaging device having the same, and bar code reader using the same
JPH027669A (en) Binarization processing circuit
JPS62297981A (en) Binarization system for image
JPS60118986A (en) Binary-coding system of signal
JPH0369230B2 (en)
JPS58132609A (en) Binary coding system for image signal
JPH0129643Y2 (en)
JPH0594531A (en) Binarizing filter device
JPH0773197B2 (en) Floating binarization method for image processing

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080609

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

LAPS Cancellation because of no payment of annual fees
R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371