JPS58173975A - Binary-encoding system - Google Patents

Binary-encoding system

Info

Publication number
JPS58173975A
JPS58173975A JP57056211A JP5621182A JPS58173975A JP S58173975 A JPS58173975 A JP S58173975A JP 57056211 A JP57056211 A JP 57056211A JP 5621182 A JP5621182 A JP 5621182A JP S58173975 A JPS58173975 A JP S58173975A
Authority
JP
Japan
Prior art keywords
level
output
binary
picture element
pixel
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
JP57056211A
Other languages
Japanese (ja)
Inventor
Shingo Yamaguchi
山口 晋五
Noboru Murayama
村山 登
Tomohiko Ando
安藤 友彦
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 JP57056211A priority Critical patent/JPS58173975A/en
Publication of JPS58173975A publication Critical patent/JPS58173975A/en
Pending 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Input (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To binary-encode video signal with good resolution simply, by changing the binary-encoding threshold value, depending whether the binary-encoded output level of the picture element just before a picture element to be binary- encoded (noted picture element) is white or black level. CONSTITUTION:A comparator 4 takes a voltage at a connection point between resistors R1 and R2 as a binary threshold value, the level of the inputted video signal is compared in the unit of picture element, to output logic ''1'' level (white) to the picture element having a level above binary threshold and logic ''0'' level (black) to the picture elements having a level below the binary threshold value. The output of the comparator 4 is transmitted externally from a terminal 2 as the binary-encoded output. The output level of the comparator 4 to a certain picture element appears at a Q output of an FF6 at the rise of the main scanning clock incoming just after the picture element. In other words, the binary-encoded output level to the picture element just before the picture element to be binary-encoded (noted picture element) at the comparator 4 appears at the Q output of the FF6 or its inverted level at the Q output.

Description

【発明の詳細な説明】 本発明は、ビデオ信号の2値化方式の改良に関する。[Detailed description of the invention] The present invention relates to an improvement in a video signal binarization method.

ファクシミリやディジタル複写機等の画像処理機器では
、スキャナにより原稿を走有して読み取ったビデオ信号
を白、黒に2値化するのが一般的である。この2値化は
、ビデオ信号をアナログ信号のまま、あるいは多値量子
化してディジタル信号とした後、2値化閾値とレベル比
較することにより2値化出力を得る。いずれにしても、
スキャナのM ’PF (Modulation Tr
ansfer Function)が悪いと、2値化(
二よって原画像中の細線がつぶれたりして、再生画像の
解像度が低下する傾向がある。
2. Description of the Related Art In image processing devices such as facsimile machines and digital copying machines, it is common to scan a document with a scanner and convert the read video signal into two values into white and black. In this binarization, the video signal is converted into an analog signal as it is, or is converted into a digital signal by multilevel quantization, and then the level is compared with a binarization threshold to obtain a binarized output. In any case,
Scanner M'PF (Modulation Tr
If the answer function is bad, the binarization (
As a result, thin lines in the original image tend to become blurred, resulting in a reduction in the resolution of the reproduced image.

このような問題を解決するために、多値量子化したビデ
オ信号の各画素のレベルを、その周辺の画素のレベルを
参照してM ’l’ F補正し、補正後の画素レベルを
2値化閾値とレベル比較することによりビデオ信号の2
値化出力を得る方式が提案されている。しかし、この方
式はM T F補正を実行するために複雑な・・−ドウ
エアを必要とし、2値化装置のコストが上昇するという
別の問題がある。
In order to solve this problem, the level of each pixel of a multilevel quantized video signal is corrected by M 'l' F by referring to the level of surrounding pixels, and the pixel level after correction is converted into a binary 2 of the video signal by comparing the level with the
A method for obtaining digitized output has been proposed. However, this method requires complicated software to perform the M TF correction, and there is another problem that the cost of the binarization device increases.

したがって本発明の目的は、単純かつ低コストの装置構
成で、解像度良くビデオ信号を2値化する方式を提供す
るにある。
Therefore, an object of the present invention is to provide a method for binarizing a video signal with high resolution using a simple and low-cost device configuration.

しかして本発明のまたる特徴は、ビデオ信号を画素単位
で2 +U化閾値とレベル比較することにより2値化す
る2値化方式において、2値化すべき画素(注目画素)
の直前の画素の2値化出力レベルが白レベルか黒レベル
かによって、前記の2値化閾値を変化させる手段を設け
る点にある。この手段は、より具体的には、注目画素の
直前の画素の2値化出力レベルが白レベルのときは2値
化閾イ直をビデオ信号の白レベル1則ヘシフトし、その
2値化出力レベルが黒レベルのときは2値化閾狐をビデ
オ信号の黒レベル側にシフトする。
Another feature of the present invention is that in a binarization method that binarizes a video signal by comparing its level with a 2+U conversion threshold on a pixel-by-pixel basis, the pixel to be binarized (the pixel of interest)
The object of the present invention is to provide means for changing the binarization threshold value depending on whether the binarization output level of the pixel immediately before is a white level or a black level. More specifically, this means shifts the binarization threshold to the white level of the video signal when the binarization output level of the pixel immediately before the pixel of interest is the white level, and the binarization output When the level is the black level, the binarization threshold is shifted to the black level side of the video signal.

luF、疼N図面によって本発明の実施例について説明
する。
Embodiments of the present invention will be described with reference to drawings.

第1図は本発明の一実施例を示す回路図である。FIG. 1 is a circuit diagram showing one embodiment of the present invention.

同図において、端子1にビデオ信号が人力され、その2
値化出力は端子2に得られビデオ信号は高レベルが白、
低レベルが黒である。2値化出力は調理゛1″レベルが
白、論理°゛0″0″ルベルある。
In the figure, a video signal is input to terminal 1, and
The value output is obtained from terminal 2, and the high level of the video signal is white.
Low level is black. As for the binary output, the cooking level is white, and the logic level is level '0'.

ダイオード1)、コンデンサC1および抵抗Rはピーク
ホールド回路を形成しており、端子1に入力されるビデ
オ信号のピーク値(原稿の背景レベル)に追従する電圧
がコンデンサCの非接地端に得られる。この電圧は高人
力インピーダンスの増幅器3に入力される。抵抗Rは背
景レベルが下がったときコンデンサCを放電し、コンデ
ンサ電圧をゆっくり追従させるためのもので、その抵抗
値は許通、CR時定数が数秒程度となるように選ばれる
Diode 1), capacitor C1, and resistor R form a peak hold circuit, and a voltage that follows the peak value of the video signal input to terminal 1 (background level of the original) is obtained at the non-grounded end of capacitor C. . This voltage is input to a high impedance amplifier 3. The resistor R is for discharging the capacitor C when the background level drops and causing the capacitor voltage to follow slowly, and its resistance value is selected so that it is acceptable and the CR time constant is about several seconds.

増幅器3の出力には抵抗R1,R2,R3の直列回路が
接続され、抵抗R1とR2の接続点は2値化用のコンパ
レータ4の一方の人力に接続される。このコンパレータ
4の他方の入力は端子lに接続される。
A series circuit of resistors R1, R2, and R3 is connected to the output of the amplifier 3, and a connection point between the resistors R1 and R2 is connected to one input terminal of a comparator 4 for binarization. The other input of this comparator 4 is connected to terminal l.

5は電界効果トランジスタ(FE’r)であり、スイッ
チとして働く。このFET5のドレイン(またはソース
)は抵抗R2とR3の接続点に接続され、ソース(また
はドレイン)は接地される。
5 is a field effect transistor (FE'r), which functions as a switch. The drain (or source) of this FET 5 is connected to the connection point between resistors R2 and R3, and the source (or drain) is grounded.

FET5のゲートはフリップフロップ(Ii”F)6の
Q出力と接続される。このFF6の9人力はコンパレー
タ4の出力と接続され、CK人力は端子7に接続される
。この端子7には、ビデオ信号を送出するスキャナ(図
示せず)の主走査クロック(画素転送タイミングと同期
したパルス)が人力される。
The gate of FET 5 is connected to the Q output of flip-flop (Ii"F) 6. The 9 output of this FF 6 is connected to the output of comparator 4, and the CK input is connected to terminal 7. The main scanning clock (pulse synchronized with pixel transfer timing) of a scanner (not shown) that sends out video signals is manually input.

つさ゛に動作を説明する。Explain the operation in detail.

コンパレータ4は、抵抗R1とR2の接続点の電圧を2
値化閾値として、へカビデオ信号を画素学位でレベル比
較し、2値化閾値以」−のレベルの画素については論理
″1″ルベル(白)を出力し、2値化m値を下回るレベ
ルの画素(二ついては論理゛0″レベル(黒)を出力す
る。このコンパレータ4の出力は21直化出力として端
子2より外部に送出される。
Comparator 4 sets the voltage at the connection point of resistors R1 and R2 to 2
As the digitization threshold, the level of the heka video signal is compared in terms of pixel degree, and for pixels with a level below the binarization threshold, a logic ``1'' level (white) is output, and for pixels with a level below the binarization m value, a logic level of ``1'' is output. The pixels (two of them output a logic "0" level (black)). The output of the comparator 4 is sent to the outside from the terminal 2 as a 21-digitalized output.

ある画素に対するコンパレータ4の出力レベルは、その
直後に到来する主走査クロックの立上がり時点でFF6
のQ出力°に現れる。つまり、FF6は1画素時間分だ
け2値化出力を遅延させて出力する。換言すれば、これ
からコンパレータ4で2値化しようとする画素(注目画
素)の直前の画素に対する2値化出力レベルがFF6の
Q出力に、またその反転レベルがQ出力に現れる。
The output level of comparator 4 for a certain pixel is determined by FF6 at the rising edge of the main scanning clock that arrives immediately after that.
Appears at the Q output °. That is, FF6 delays the binarized output by one pixel time and outputs it. In other words, the binarization output level for the pixel immediately before the pixel (target pixel) to be binarized by the comparator 4 appears at the Q output of the FF 6, and its inverted level appears at the Q output.

F p 6のQ出力が論理゛0″レベルのとき、すなわ
ら、注目画素の直前画素の2値化出力が゛1″レベル(
白)のとき、FET5は開いた状態(ソース、ドレイン
間が高インピーダンスの状態)にある。したがって、増
幅器3の出力電圧Vpを抵抗Rが、2値化閾値としてコ
ンパレータ4に入力サレる。逆に、F’F6のQ出力が
論理“1”レベルのとき、すなわら、注目画素の直前の
画素に対する2値化出力が“0″レベル(黒)のとき、
FET5が閉じる(ソース、ドレイン間が十分に低イン
ピーダンスの状態となる)。したがって、増幅器出力電
圧VPを抵抗R1,R2で分圧した電圧VTL二■P2 1’tl+R2カ’ 2値化閾値としてコンパレータ4
に入力される。
When the Q output of F p 6 is at the logic "0" level, that is, the binarized output of the pixel immediately before the pixel of interest is at the "1" level (
(white), the FET 5 is in an open state (high impedance between the source and drain). Therefore, the resistor R inputs the output voltage Vp of the amplifier 3 to the comparator 4 as a binarization threshold. Conversely, when the Q output of F'F6 is at the logic "1" level, that is, when the binarized output for the pixel immediately before the pixel of interest is at the "0" level (black),
FET5 is closed (the impedance between the source and drain is sufficiently low). Therefore, the voltage VTL2 which is obtained by dividing the amplifier output voltage VP by the resistors R1 and R2 is P21'tl+R2'.
is input.

説明するまでもなく 、 Vpが一定とするとVTR>
VTLの関係がある。すなわち、注目画素の直前画素の
2値化出力が°′l″レベル(白)ならば、2イ直化閾
値がビデオ信号の白レベル側(高レベル側)へ7フトさ
れ、その2−値化出力が” o ”レベル(黒)ならば
、2値化閾値がビデオ信号の黒レベル側(低レベル側)
へ771・される。
Needless to explain, if Vp is constant, VTR>
There is a VTL relationship. In other words, if the binarized output of the pixel immediately before the pixel of interest is °'l'' level (white), the binarized threshold is shifted by 7 to the white level side (high level side) of the video signal, and the 2-value If the conversion output is "o" level (black), the binarization threshold is on the black level side (low level side) of the video signal.
771.

第2図に、本実施例におけるビデオ信号、2値化閾値、
2値化出力、FF6のQ出力の関係を示す。この図は、
背景が白で細線の文字原稿を読み取り走査した時を示し
ている。同図から明らかなように、細い線、および線と
線の間の狭い間隙が21直仕出力に正しく反映する。し
たがって、2値化出力から解像度よく画像を再生できる
FIG. 2 shows the video signal, binarization threshold, and
The relationship between the binarized output and the Q output of FF6 is shown. This diagram is
This shows a case where a text document with thin lines on a white background is read and scanned. As is clear from the figure, thin lines and narrow gaps between the lines are correctly reflected in the 21 direct delivery force. Therefore, images can be reproduced with high resolution from the binarized output.

本発明の他の一実施例を第3図(:示す。なお、第1図
と同等部分は同符号を付しで示しである。
Another embodiment of the present invention is shown in FIG. 3. Note that parts equivalent to those in FIG.

前記実施例の構成では、十疋査クロックが高速の場合、
FET5の遅延による2値化閾値の切替えの遅れが問題
となることがある。そこで不実施例は、P E ’I’
 5のようなスイッチ素子を用いず、抵抗R,1とR2
の接続点に得られる白レベル側の2値化閾値VTHによ
ってビデオ信号を2値化するコンパレータ11と、抵抗
R2とR3の接続点に得られる黒レベル側の2値化閾値
VTLによってビデオ信号を2値化するコンパレータ1
2とを設けろ。
In the configuration of the embodiment, when the clock is high-speed,
A delay in switching the binarization threshold due to a delay in the FET 5 may become a problem. Therefore, the non-implemented example is P E 'I'
Without using a switch element like 5, resistors R, 1 and R2
The comparator 11 binarizes the video signal using the white level side binarization threshold VTH obtained at the connection point of , and the video signal is binarized by the black level side binarization threshold VTL obtained at the connection point of resistors R2 and R3. Comparator 1 for binarization
Set up 2.

そして、注目画素の直前画素の2値化出力が1”レベル
(白)か″0″″レベル(黒)かによって、コンパレー
タ11,12の一方の出力を選択して端子2に送出する
ことじより、間接的に2値化閾値を切り替える。この切
替えはANDゲート13 、14とORゲート15、お
よびFF6によって行なわれる。
Then, depending on whether the binary output of the pixel immediately before the pixel of interest is 1" level (white) or "0" level (black), one of the outputs of comparators 11 and 12 is selected and sent to terminal 2. Therefore, the binarization threshold value is indirectly switched. This switching is performed by AND gates 13 and 14, OR gate 15, and FF6.

すなわち、注目画素の直前の画素の2値化出力が” 1
 ”レベル(白)であると、注目画素の入力時点でF1
1’6のQ出力が゛1″ルベル、Q出力が“0”レベル
であるから、A、 N Dゲート13およびORゲート
15を通じて2値化閾値VTRのコンパレータ11の出
力が選択され、端子2(=送出されると同時にFF6に
人力される。この2値化出力が゛1″レベル(白)であ
ればFF6の状態は変化しないから、次の注目画素につ
いてもコンパレータ11の出力が2値化出力として選択
される。逆に2値化出力が゛0′″レベル(黒)であれ
ば、次の注目画素の時点ではFF6のQ出力、Q出力が
反転し、ANDゲート14およびORゲート15を通じ
て2値化閾値VTLのコンパレータ12の出力が選択さ
れ、端子2に送出されると同時にFF6に人力される。
In other words, the binarized output of the pixel immediately before the pixel of interest is "1"
” level (white), F1 is activated at the time of input of the pixel of interest.
Since the Q output of 1'6 is the "1" level and the Q output is the "0" level, the output of the comparator 11 of the binarization threshold VTR is selected through the A, ND gate 13 and the OR gate 15, and the output of the comparator 11 of the binarization threshold VTR is selected. (= At the same time as it is sent out, it is manually input to FF6. If this binary output is at the "1" level (white), the state of FF6 does not change, so the output of the comparator 11 for the next pixel of interest will also be binary. On the other hand, if the binarized output is at the ``0'' level (black), the Q output of FF6 is inverted at the next pixel of interest, and the AND gate 14 and OR gate 15, the output of the comparator 12 of the binarization threshold VTL is selected and sent to the terminal 2, and simultaneously inputted to the FF6.

このように本実施例は、コンパレータ11 、12の出
力選択(二よって2値化閾値の切替えを行なう。
In this way, in this embodiment, the output selection of the comparators 11 and 12 is used to switch the binarization threshold.

この2値化閾値の切替えは、前実施例のようなスイッチ
素子によって2値化閾値を切り替えるよりも、はるかに
高速に行なうことができる。したがって本実施例は、主
走査クロックが高速の場合に有利な構成である。
This switching of the binarization threshold can be performed much faster than switching the binarization threshold using a switch element as in the previous embodiment. Therefore, this embodiment has an advantageous configuration when the main scanning clock is high speed.

なお、以」二の各実施例はいずれもアナログのビデオ信
号をそのまま21回化する構成であるが、ビデオ信号を
多値ディジタル化してから2値化してもよい。この場合
、2値化を行なうコンパレータはディジタル・コンパレ
ータとし、また2値化閾値をディジタル量として与えれ
ばよい。また、前記の各実施例(−おいては、2値化閾
埴をビデオ信号のピーク値に追従させて変化させている
が、これは本発明の本質的な要素ではない。
In each of the following two embodiments, an analog video signal is converted into 21 times as is, but the video signal may be converted into a multi-level digital signal and then converted into a binary signal. In this case, the comparator that performs the binarization may be a digital comparator, and the binarization threshold may be provided as a digital quantity. Further, in each of the above embodiments (-), the binarization threshold is changed to follow the peak value of the video signal, but this is not an essential element of the present invention.

以りに詳述した如く、本発明によれば、複雑な装置構成
とすることなくMTF’の悪いビデオ信号を解像度良く
2値化することができ、その効果は顕著である。
As described in detail above, according to the present invention, a video signal with poor MTF' can be binarized with good resolution without using a complicated device configuration, and the effect is remarkable.

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

第1図は本発明の一実施例を示す回路図、第2図は同実
施例の各部信号の波形図、第3図は本発明の他の一実施
例を示す回路図である。 1・・・ビデオ信号入力端子、2・・・21直化出力端
子、3・・・増幅器、4,11.12・・・コンパレー
タ、5・・・電界効果トランジスタ、6・・・フリップ
70ツブ、7・・・主走査クロック入力端子。
FIG. 1 is a circuit diagram showing one embodiment of the present invention, FIG. 2 is a waveform diagram of various signals of the same embodiment, and FIG. 3 is a circuit diagram showing another embodiment of the present invention. 1... Video signal input terminal, 2... 21 direct output terminal, 3... Amplifier, 4, 11.12... Comparator, 5... Field effect transistor, 6... Flip 70 tube , 7... Main scanning clock input terminal.

Claims (1)

【特許請求の範囲】 (11ビデオ信号を画素嚇位で2値化閾値とレベル比較
すること(二より2値化する2値化方式において、2値
化すべき画素(注目画素)の直前の画素の2値化出力レ
ベルが白レベルか黒レベルかによって、前記21に化閾
値を変化させる手段を有することを特徴とする2値化方
式。 (2)前記手段は、前記注目画素の直前の画素の2値化
出力レベルが白レベルのとき、前記の2値化閾値を前記
ビデオ信号の白レベル側(ニシフトし、前記注目画素の
直前の画素の21回化出力が黒レベルのとき、前記21
区化量値を前記ビデオ信号の黒レベル側にシフトするこ
とを特徴とする特許請求の範囲第1項記載の2値化方式
[Claims] (Level comparison of 11 video signals with a binarization threshold at pixel threat level (in a binarization method that binarizes from two, the pixel immediately before the pixel to be binarized (the pixel of interest) A binarization method characterized by having means for changing the threshold value to 21 depending on whether the binarization output level of the target pixel is a white level or a black level. When the binarization output level of the pixel of interest is the white level, the binarization threshold is shifted to the white level side of the video signal.
2. The binarization method according to claim 1, wherein the partitioning amount value is shifted toward the black level side of the video signal.
JP57056211A 1982-04-05 1982-04-05 Binary-encoding system Pending JPS58173975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57056211A JPS58173975A (en) 1982-04-05 1982-04-05 Binary-encoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57056211A JPS58173975A (en) 1982-04-05 1982-04-05 Binary-encoding system

Publications (1)

Publication Number Publication Date
JPS58173975A true JPS58173975A (en) 1983-10-12

Family

ID=13020769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57056211A Pending JPS58173975A (en) 1982-04-05 1982-04-05 Binary-encoding system

Country Status (1)

Country Link
JP (1) JPS58173975A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02126771A (en) * 1988-11-07 1990-05-15 Aisin Seiki Co Ltd Picture information binarization method and its device
GB2245449A (en) * 1990-04-24 1992-01-02 Ricoh Kk Image area discriminator
JP2018078754A (en) * 2016-11-10 2018-05-17 ローム株式会社 Wireless power transmission device, control method thereof, and power transmission control circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02126771A (en) * 1988-11-07 1990-05-15 Aisin Seiki Co Ltd Picture information binarization method and its device
GB2245449A (en) * 1990-04-24 1992-01-02 Ricoh Kk Image area discriminator
GB2245449B (en) * 1990-04-24 1994-07-27 Ricoh Kk Image area discriminating device
US5351138A (en) * 1990-04-24 1994-09-27 Ricoh Company, Ltd. Image area discriminating device
US5408339A (en) * 1990-04-24 1995-04-18 Ricoh Company, Ltd. Image area discriminating device
JP2018078754A (en) * 2016-11-10 2018-05-17 ローム株式会社 Wireless power transmission device, control method thereof, and power transmission control circuit

Similar Documents

Publication Publication Date Title
US4283742A (en) Solid-state imaging apparatus with fixed pattern noise reduction
US5619261A (en) Pixel artifact/blemish filter for use in CCD video camera
US5781312A (en) Image input method and apparatus
JPH0357674B2 (en)
JPH0846746A (en) Method and system for digitizing a plurality of pixel charges stored in charge-coupled device
US5166811A (en) Image data processing apparatus
US4841376A (en) Shading correcting method enabling prevention of effect of noise and apparatus therefor
JPS58173975A (en) Binary-encoding system
JPS6339142B2 (en)
US5506411A (en) Optical reader with improved response to change in reflected signal
JPS6093878A (en) Picture reader
JPS5821979B2 (en) Image signal halftone processing method
JPH04271667A (en) Reading system for color information
JPS5873280A (en) Signal binary coding processor
JPS58179061A (en) Binary coding device
JP2629025B2 (en) Signal processing circuit
JP3340086B2 (en) Image processing method and image processing apparatus
JPS5894273A (en) Contrast correcting circuit
JP2675079B2 (en) Binarization processing circuit
KR890016459A (en) Image processing system
JPH01258557A (en) Original reader
JPS6123893Y2 (en)
JPS60100879A (en) Binary system
JPH02260868A (en) Picture reader
JPH0583558A (en) Two-color original reader