JPS6053981B2 - Facsimile signal quantization method - Google Patents

Facsimile signal quantization method

Info

Publication number
JPS6053981B2
JPS6053981B2 JP54154565A JP15456579A JPS6053981B2 JP S6053981 B2 JPS6053981 B2 JP S6053981B2 JP 54154565 A JP54154565 A JP 54154565A JP 15456579 A JP15456579 A JP 15456579A JP S6053981 B2 JPS6053981 B2 JP S6053981B2
Authority
JP
Japan
Prior art keywords
pixel
value
black
signal
quantization
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
JP54154565A
Other languages
Japanese (ja)
Other versions
JPS5676684A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP54154565A priority Critical patent/JPS6053981B2/en
Publication of JPS5676684A publication Critical patent/JPS5676684A/en
Publication of JPS6053981B2 publication Critical patent/JPS6053981B2/en
Expired 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/41Bandwidth or redundancy reduction

Landscapes

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

Description

【発明の詳細な説明】 本発明はファクシミリ信号の量子化方法に関する。[Detailed description of the invention] The present invention relates to a method for quantizing facsimile signals.

一般にディジタルファクシミリにおいては、画素信号
を一個の閾値を用いて’゛白’’及び゛゛黒’’に量子
化し、その量子化信号に対して、圧縮処理を行なつてい
る。
Generally, in a digital facsimile, a pixel signal is quantized into ``white'' and ``black'' using a single threshold value, and compression processing is performed on the quantized signal.

かかる量子化方法の場合、文字や図形の境界付近の処理
が画一的になり、そのために量子化された2値の’’白
’’’’黒’’パターンが圧縮処理に向かない、即ち圧
縮効果が低いパターンとなる事が生する。これを改善す
る方法の一つとして、量子化されたパターンの一部を変
更して圧縮率を向上させる手法「信号変換」(例えば通
信学会論文誌Vo160−A)No、、21977年2
月)が提案されているが、画質の点で今一歩の改善が必
要である。 本発明はこの信号変換の考え方を発展させ
、高品質の画質、高い圧縮率を得られる量子化方法を提
供するものである。
In the case of such a quantization method, processing near the boundaries of characters and figures becomes uniform, and as a result, the quantized binary ``white'' and ``black'' patterns are not suitable for compression processing. This results in a pattern with low compression effect. One method to improve this is "signal conversion," a method that improves the compression rate by changing a part of the quantized pattern (e.g. Journal of the Communication Society Vol. 160-A) No. 21977.
) has been proposed, but further improvement is needed in terms of image quality. The present invention develops this idea of signal conversion and provides a quantization method that can obtain high image quality and high compression rate.

そして本発明方法は、ファクシミリ信号の各画素に対
し、多階調量子化を行い次いで、該多階調量子化信号が
一定値以上の画素を’’白’’、一定値以下の画素を’
゛黒’’に2値量子化し、それ以外の中間の階調の画素
に対しては、2値の予測値と一致するよう’’白’’又
は“’黒’’に2値量子化するようにしたことを特徴と
するものであり、更に2値量子化をすべき中間の階調の
画素に、続く次の画素の値が’゛白’’又は’’黒’’
であり該中間の階調の画素の予測値とは異るとき、該中
間の階調の画素の2値量子化をより近い方の値にするこ
とを特徴とするものである。
The method of the present invention performs multi-tone quantization on each pixel of a facsimile signal, and then, the multi-tone quantized signal indicates that pixels having a value above a certain value are ``white'' and pixels below a certain value are ``white''.
Binary quantization is performed to "black", and for other intermediate gradation pixels, binary quantization is performed to "white" or "black" to match the binary predicted value. It is characterized by the fact that the value of the next pixel is ``white'' or ``black'' after the intermediate gradation pixel that should be subjected to binary quantization.
When the predicted value of the pixel of the intermediate gradation differs from the predicted value of the pixel of the intermediate gradation, the binary quantization of the pixel of the intermediate gradation is performed to a value closer to the predicted value.

以下図面に従い本発明を詳細に説明する。 The present invention will be described in detail below with reference to the drawings.

第1図が本発明方法の1実施例である。 ここでは圧
縮方式の一例として二次元予測を考えるが、本発明はか
かる方式に適用が限定されるものではない。
FIG. 1 shows one embodiment of the method of the present invention. Although two-dimensional prediction will be considered here as an example of a compression method, the present invention is not limited in application to such a method.

二次元予測とは、一走査線前と現走査線の情報を用い
て、入力信号を予測し、予測一致であれば、’’o’’
出力、不一致であれば“’1’’出力を出し、この出力
系列を例えばランレングス符号化して送信の対象とする
ものである。
Two-dimensional prediction is to predict the input signal using the information of the previous scanning line and the current scanning line, and if the prediction matches, ``o''
If there is no match, a "1" output is output, and this output sequence is run-length coded and sent.

第1図において、読取られた書画信号は1の量子化器に
入力される。
In FIG. 1, a read picture signal is input to one quantizer.

量子化器1は入力信号に対し多階調量子化を行うもので
あり、今簡単のため、4階調に入力信号を量子化するも
のと考える。従つて、“白゛レベルを゜゛1r1黒レベ
ルを゜゛00゛に対応づけると符号゜゜1σ゛,゜“叶
゛は中間の階調の信号レベルに対応するが、これらぱ“
白゛となるべきか゜゜黒゛となるべきかが不確定な領域
の信号レベルである。
The quantizer 1 performs multi-gradation quantization on an input signal, and for the sake of simplicity, it is assumed that the input signal is quantized into four gradations. Therefore, if we associate the white level with ゜゛1r1 and the black level with ゜゛00゛, the signs ゜゜1σ゛ and ゜゛ correspond to the signal levels of intermediate gradations, but these
This is the signal level in an area where it is uncertain whether it should be white or black.

記憶回路3,4は各々2ビットの信号を記憶する回路で
あり、例えば2段のフリップフロップで構成される。記
憶回路4に2値量子化すべき画素に対する4階調量子化
信号が2ビットの形で記憶される時記憶回路3には、次
に続く画素に対する同様の量子化信号が記憶されている
ことになる。5は符号パターン゜゜11″,゛0σ゛の
量子化符号を検出する回路である。
The memory circuits 3 and 4 are circuits that each store a 2-bit signal, and are composed of, for example, two stages of flip-flops. When the 4-gradation quantized signal for a pixel to be binary quantized is stored in the storage circuit 4 in 2-bit form, the storage circuit 3 also stores a similar quantized signal for the next pixel. Become. 5 is a circuit for detecting the quantized code of the code pattern ゜゜11'', ゛0σ゛.

記憶回路4に記憶された符号パターンが“゜1r゛゜゜
00゛である時は、各々最も゜゜白゛及び“゜黒゛に近
い値の信号であることを意味している。
When the code pattern stored in the memory circuit 4 is "゜1r゛゜゜00゛," it means that the signal has a value closest to "゜゜white" and "゜black."

従つてこの時は検出回路5から信号が出力し0Rゲート
6を介してアンドゲート7を開き、記憶回路4に蓄積さ
れた最上位桁ビット即ち最重要ビット(MSB)の信号
が0Rゲート8を介し1ラインメモリ9に入力される。
Therefore, at this time, a signal is output from the detection circuit 5 to open the AND gate 7 via the 0R gate 6, and the signal of the most significant bit (MSB) stored in the memory circuit 4 is output to the 0R gate 8. The signal is input to the 1-line memory 9 via the 1-line memory 9.

即ちMSBが゛1゛の時は“゜白゛の2値量子化信号と
、“゜0゛の時は“゜黒゛の2値量子化信号と対応する
。1ラインメモリ9は、シフトレジスタから構成され、
左側から信号が入力すると順次右へシフトして、一走査
線分の画素の値を記憶するものである。
That is, when the MSB is ``1'', it corresponds to a binary quantized signal of ``white'', and when it is ``0'', it corresponds to a binary quantized signal of ``black''. It consists of
When a signal is input from the left side, it is sequentially shifted to the right and the pixel values for one scanning line are stored.

第2図は二次元予測を説明する図であつてL1は前走査
線てあつてL。
FIG. 2 is a diagram explaining two-dimensional prediction, and L1 is the previous scanning line.

は現在2値量子化されるべき対象される画素5の存在す
る走査線である。画素4は同一走査線上直前の画素であ
る。従つて、第1図における1ラインメモリ9の状態は
、画素5が0Rゲート8から出力されるタイミングのと
きにおいて、第1図1ラインメモリ9に図示した数字の
ごとくである。
is the scanning line in which the target pixel 5 to be subjected to binary quantization currently exists. Pixel 4 is the immediately preceding pixel on the same scanning line. Therefore, the state of the 1-line memory 9 in FIG. 1 is as shown in the numbers shown in the 1-line memory 9 in FIG. 1 at the timing when the pixel 5 is output from the 0R gate 8.

10は予測器であり、前走査線の画素1,2,3(第2
図参照)と前画素4を入力し、画素5に対する予測値を
作り出すものであり1ラインメモリ9に入力された2値
量子化値(1又は0)の値から、画素5の予測値を1又
は0と予測するものである。
10 is a predictor, which predicts pixels 1, 2, and 3 (second
The predicted value for pixel 5 is created by inputting the previous pixel 4 (see figure) and the previous pixel 4. From the binary quantized value (1 or 0) input to the 1-line memory 9, the predicted value for pixel 5 is Or it is predicted to be 0.

かかる予測値の作成の規則は自由に与えられるが、書画
の一般的性質から例えば第3図に示すような予測パター
ンが考えられる。第3図a〜pの各々はそれぞれ第2図
と対応している。例えば、第3図aに示すように前走線
の画素1,2,3が全て“白゛、前画素4も゜゜白゛で
ある時は、゜゜白゛と予測し、出力線11に論理“゜1
゛を出力する。又第3図fのように前走査線中画素1,
3が゜“白゛、2が“黒゛、前画素が゜“黒゛であれば
、画素5を“黒゛と予測し、論理′408を出力する。
同様にして予測器10からは、全ての画素について予測
値が“゜白゛のときは論理゛゜1゛が、゜゜黒゛のとき
は“゜0゛が出力線11に出力される。12は排他的論
理和回路であり、二人力の論理が異るとき“1゛を入力
する。
Although rules for creating such predicted values can be freely given, a predicted pattern as shown in FIG. 3, for example, can be considered from the general characteristics of calligraphy and strokes. Each of FIGS. 3a to 3p corresponds to FIG. 2, respectively. For example, as shown in FIG. “゜1
Output ゛. Also, as shown in FIG. 3f, pixel 1,
If 3 is "white", 2 is "black", and the previous pixel is "black", pixel 5 is predicted to be "black" and logic '408 is output.
Similarly, the predictor 10 outputs the logic ``1'' to the output line 11 when the predicted value is ``white'' for all pixels, and ``0'' when the predicted value is ``black''. 12 is an exclusive OR circuit which inputs "1" when the two logics are different.

今検出回路5から゜゜11゛、“゜00゛の検出出力が
あると、0Rゲート8から論理“1゛又ぱ“0゛が出力
されるからこれらが予測値と回路12で比較され、予測
値と不一致のときは論理゜゜1゛が回路12から出力さ
れる。
Now, if there are detection outputs of ゜゜11゛ and "゜00゛" from the detection circuit 5, the logic "1" or "0" is output from the 0R gate 8, so these are compared with the predicted value in the circuit 12, and the predicted value is When the value does not match, the logic ゜゜1゛ is outputted from the circuit 12.

一方画素値が゜“11゛、“゜00゛以外の時は、原則
的には2ビットフリップフロップの記憶回路4のMSB
ではなく、子測器10出力が、最終2値量子化として1
ラインメモリ9に入力される。
On the other hand, when the pixel value is other than ゜11゛ or ゜00゛, the MSB of the memory circuit 4 of the 2-bit flip-flop is used as a general rule.
Instead, the output of the child measuring device 10 is 1 as the final binary quantization.
It is input to the line memory 9.

即ち゜“1丁゛,゜゜00゛以外の時は0Rゲート6か
ら出力されず、予測器10の出力がアンドゲート13、
0Rゲート8を介して1ラインメモリ9に入力される。
更にこの時当然に最終2値量子化されたものと、予測器
10からの予測値とは一致するものであるから、回路1
2から一致を示すべく論理“0゛が出力される。従つて
かかる“11゛,・“゜00゛以外の時は、必ず予測が
一致し、圧縮率の向上がはかられることになる。但し、
特定のパターンに対しては例外を設け、このパターンが
現われた場合には例外検出回路14により記憶回路4の
MSBが最終2値量子化値jとして1ラインメモリ9に
入力するよう動作する。
That is, when the value is other than ゜"1 block゛, ゜゜00゛, there is no output from the 0R gate 6, and the output of the predictor 10 is output from the AND gate 13,
It is input to the 1-line memory 9 via the 0R gate 8.
Furthermore, since the final binary quantization and the predicted value from the predictor 10 match, the circuit 1
A logic "0" is output from 2 to indicate a match. Therefore, at times other than "11", . . . "00", the predictions always match, and the compression ratio is improved. however,
An exception is made for a specific pattern, and when this pattern appears, the exception detection circuit 14 operates to input the MSB of the storage circuit 4 to the one-line memory 9 as the final binary quantized value j.

これにより画素の向上が得られる。2段のフリップフロ
ップによる記憶回路3はこのために設けられたものであ
る。
This results in a pixel improvement. A memory circuit 3 consisting of two stages of flip-flops is provided for this purpose.

即ち第4図aに示すように画素5の多階調量子化値が゜
“0r゛(101−001<111−011であるため
゜“黒゛により近い値である。
That is, as shown in FIG. 4a, since the multi-gradation quantization value of pixel 5 is ゜"0r゛"(101-001<111-011), it is a value closer to ゜"black".

)であるとき゜゛白゛とした方が子測値と一致するが、
次に続く画素6が゜“00゛即ち゜゜黒゛゜である場合
、いづれ次の信号で予測の不一致が生ずる。従つてこの
場合には、より近い方の黒信号“゜1゛に2値量子化す
る。つまり例えば下表のような特定パターンが検出され
た時、下の表の如く2値量子化する。このようにするこ
とにより、第4図bのように、゜゜にじみ゛Aが生じて
いる場合にぱ゜白゛に量子化しシャープな角を得ると同
時に圧縮率を上げ、第4図cのように“黒゛の斜線部B
の場合は前述した従来手法の1信号変換ョの場合と異な
つて、確実に保存できる。従来の方法ではかかる処理は
不可能てあつた。このように、2ビットに多階調量子化
を行い“00゛,“11゛の如く、明確に黒白の判定の
可能な画素に対しては黒゜゜0゛、白゜゜1゛の2値量
子化信号に変換する。
), ゜゛white゛ matches the child measurement value, but
If the next pixel 6 is ゜゜00゛, that is, ゜゜black゛゛, a prediction mismatch will eventually occur in the next signal.Therefore, in this case, binary quantization is applied to the closer black signal ゜1゛. do. That is, for example, when a specific pattern as shown in the table below is detected, it is binary quantized as shown in the table below. By doing this, when ゜゜bleeding゛A occurs, as shown in Fig. 4b, it is quantized to white, obtaining sharp corners, and at the same time increasing the compression ratio, as shown in Fig. 4c. The “black” shaded area B
In this case, unlike the case of single signal conversion in the conventional method described above, data can be saved reliably. Such processing has been impossible with conventional methods. In this way, multi-gradation quantization is performed on 2 bits, and for pixels that can be clearly determined as black or white, such as "00゛," signal.

そして、゜“叶゛,゜“10゛の如く不確定な画素に対
しては、これを“11゛,゜゜00゛検出回路にて検出
し予測器10にて判定した予測値を2値量子化信号とす
る。また、白黒のどちらに量子化しても圧縮率に影響の
ない場合(例えば上記表の特定パターンは検出された場
合)は、“゜10゛は白゜“11゛,“O丁゛は黒“゜
00゛のようにより確からしい値に2値量子化する。
Then, for uncertain pixels such as ゛゛゛,゜゜゜゛10゛, this is detected by the ``11゛,゜゜00゛ detection circuit, and the predicted value determined by the predictor 10 is converted into a binary quantum In addition, if quantization to either black or white has no effect on the compression rate (for example, when the specific pattern in the table above is detected), "゜10゛ is white,""11゛,"O D is binary quantized to a more probable value such as black "゜00゛."

以上詳説したように中間階調の値に対しては不確定領域
として、予測値と一致する値に2値量子化するようにし
たため第1図排他的論理和回路12から得られる一致、
不一致論理信号系列の一致の回数が増加し、これをラン
レンプス符号化等により圧縮して伝送することにより、
本発明による高能率・高品質のファクシミリ量子化信号
を伝送することができる。
As explained in detail above, since intermediate gradation values are treated as uncertain areas and binary quantized into values that match the predicted values, the coincidence obtained from the exclusive OR circuit 12 in FIG.
The number of matches of non-matching logic signal sequences increases, and by compressing and transmitting it using run-remps encoding, etc.
According to the present invention, it is possible to transmit a facsimile quantized signal with high efficiency and high quality.

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

第1図は本発明方法の一実施例ブロック図。 第2図、第3図は二次元予測のための予測パターン。第
4図は、本発明効果説明のための図を示す。図において
、2は多階調量子化器、10は予測器、12は排他的論
理和、3,4は記憶回路、9.は1ラインメモリ、5は
、゜゜1r,゜゜00゛パターン検出回路。
FIG. 1 is a block diagram of an embodiment of the method of the present invention. Figures 2 and 3 show prediction patterns for two-dimensional prediction. FIG. 4 shows a diagram for explaining the effects of the present invention. In the figure, 2 is a multi-gradation quantizer, 10 is a predictor, 12 is an exclusive OR, 3 and 4 are storage circuits, and 9. is a 1-line memory, and 5 is a ゜゜1r, ゜゜00゛ pattern detection circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 ファクシミリ信号の各画素に対し、多階調量子化を
行い、次いで該多階調量子化信号が一定値以上の画素及
び一定値以下の画素を“白”又は“黒”に2値量子化し
、それ以外の中間の階調の画素に対しては、2値の予測
値と一致するよう“白”又は“黒”に2値量子化すると
ともに、2値量子化をすべき中間の階調の画素に続く次
の画素の値が“白”又は“黒”であり、該中間の階調の
画素の予測値とは異なる際には、該中間の階調の画素の
2値量子化を該予測値と該次の画素の値とのうちより近
い方の値にすることを特徴とするファクシミリ信号量子
化方法。
1 Multi-gradation quantization is performed on each pixel of the facsimile signal, and then pixels whose multi-gradation quantization signal is above a certain value and pixels below a certain value are binary quantized into "white" or "black". , for other intermediate gradation pixels, binary quantization is performed to "white" or "black" to match the binary predicted value, and the intermediate gradation to which binary quantization should be performed is When the value of the next pixel following the pixel is "white" or "black" and is different from the predicted value of the pixel of the intermediate gradation, perform binary quantization of the pixel of the intermediate gradation. A facsimile signal quantization method characterized in that the predicted value and the value of the next pixel are set to a value that is closer to each other.
JP54154565A 1979-11-29 1979-11-29 Facsimile signal quantization method Expired JPS6053981B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54154565A JPS6053981B2 (en) 1979-11-29 1979-11-29 Facsimile signal quantization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54154565A JPS6053981B2 (en) 1979-11-29 1979-11-29 Facsimile signal quantization method

Publications (2)

Publication Number Publication Date
JPS5676684A JPS5676684A (en) 1981-06-24
JPS6053981B2 true JPS6053981B2 (en) 1985-11-28

Family

ID=15587011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54154565A Expired JPS6053981B2 (en) 1979-11-29 1979-11-29 Facsimile signal quantization method

Country Status (1)

Country Link
JP (1) JPS6053981B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4558370A (en) * 1983-11-21 1985-12-10 International Business Machines Corporation Image processing method for graphics images

Also Published As

Publication number Publication date
JPS5676684A (en) 1981-06-24

Similar Documents

Publication Publication Date Title
JP2794281B2 (en) Code decoding processor for dither signal
US4369463A (en) Gray scale image data compression with code words a function of image history
US4454546A (en) Band compression device for shaded image
JPH0777418B2 (en) Image processing device
EP0613290B1 (en) Method and apparatus for binary image data compression
US4366507A (en) Shaded picture signal processing system and method
KR0123790B1 (en) Image encoding method and image encoding/decoding method
JP2000125111A (en) Picture compression method, picture restoration method, picture compression device, picture reader, picture compression program storage medium and picture restoration program storage medium
JPS6053981B2 (en) Facsimile signal quantization method
JPH0698157A (en) Halftone image forming device
JPS63305672A (en) Block encoding system for multi-valued image
JP2634793B2 (en) Color image signal encoding device
JPS63190473A (en) Method and apparatus for compressing quantity of information on multi-gradation picture data
JP2952007B2 (en) Image coding device
JP2713298B2 (en) Color image signal decoding device
JP2598410B2 (en) Encoding device
JP2872334B2 (en) Color image encoding device
JPH03187573A (en) Pseudo half tone picture encoding system
JPH046954A (en) Picture prediction coding system
JPS6358425B2 (en)
JPS6174455A (en) Coding control system of binary picture signal
JP3732329B2 (en) Pseudo halftone image encoding apparatus and encoding method
JP2584826B2 (en) Image data processing device
JPH0113673B2 (en)
JPS6226226B2 (en)