JPS6031388B2 - Color facsimile signal encoding method - Google Patents

Color facsimile signal encoding method

Info

Publication number
JPS6031388B2
JPS6031388B2 JP54046020A JP4602079A JPS6031388B2 JP S6031388 B2 JPS6031388 B2 JP S6031388B2 JP 54046020 A JP54046020 A JP 54046020A JP 4602079 A JP4602079 A JP 4602079A JP S6031388 B2 JPS6031388 B2 JP S6031388B2
Authority
JP
Japan
Prior art keywords
run length
color
code
black
white
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
JP54046020A
Other languages
Japanese (ja)
Other versions
JPS55138973A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP54046020A priority Critical patent/JPS6031388B2/en
Publication of JPS55138973A publication Critical patent/JPS55138973A/en
Publication of JPS6031388B2 publication Critical patent/JPS6031388B2/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/46Colour picture communication systems
    • H04N1/64Systems for the transmission or the storage of the colour picture signal; Details therefor, e.g. coding or decoding means therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Image Communication Systems (AREA)

Description

【発明の詳細な説明】 この発明は、例えば赤、黒、白等の3色を対象とするカ
ラーファクシミリ信号を能率よく符号化する方法に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for efficiently encoding color facsimile signals for three colors such as red, black, and white.

白黒2値のフアクシミIJ■lこついて能率よく符号化
する方式としては白、黒の継続長(以下ランレングスと
いう)に着目したラソレングス形冗長度抑圧符号化方式
、さらには二次元の相関をも積極的に利用した二次元逐
次処理形冗長度抑圧符号化方式がよく知られている。
As a method for efficiently encoding black-and-white binary facsimile IJ■l, there is a laser-length type redundancy suppression encoding method that focuses on the continuous length of white and black (hereinafter referred to as run length), and also a two-dimensional correlation method. A two-dimensional sequential redundancy reduction coding method that has been actively utilized is well known.

カラーを含んだ原稿を対象とする符号化方式については
、カラーテレビジョン信号における色度成分、輝度成分
に分離して高能率に符号化する方法などが応用できる。
As for the encoding method for originals containing color, a method of separating color television signals into chromaticity components and luminance components and encoding them with high efficiency can be applied.

このような多色あるいは自然色を含んだ原稿の他に、近
年、事務用文書で伝票等にみられる赤の罫線、あるいは
朱筆による訂正文の挿入、朱印等赤、黒、白の3色の原
稿を簡易にかつ能率よく符号化するための技術の要請が
高まっている。以下、この発明で扱う3色に関しては、
例えば各赤、黒、白の輝度レベルについて中間レベルを
含まない1つのレベルだけに量子化されているものと仮
定する。このような3色の符号器を実現するためには、
通常の白黒2値の冗長度抑圧符号器の他に赤のランレン
グスを冗長度抑圧する符号器を追加することによって3
色の符号器を構成することが考えられる。
In addition to manuscripts containing such multicolored or natural colors, in recent years, office documents such as red ruled lines, which can be seen on slips, corrections written in vermilion, and red stamps, etc., have been created using three colors of red, black, and white. There is an increasing demand for technology for encoding manuscripts simply and efficiently. Below, regarding the three colors handled in this invention,
For example, assume that each red, black, and white luminance level is quantized to only one level without intermediate levels. In order to realize such a three-color encoder,
By adding an encoder that suppresses the redundancy of the red run length in addition to the normal black and white binary redundancy suppression encoder,
It is conceivable to configure a color encoder.

しかし、この方法では赤信号用の冗長度抑圧符号器が必
要となるため装置構成が複雑となる欠点があった。しか
し、3色を含む文書類を対象としたファクシミリ信号を
符号化する場合は、上記より簡易な方法で符号化できる
可能性があり、また、既知の技術である白黒2値符号器
(復号器の場合も同じ)との共用性をはかる方が経済的
に有利である。
However, this method requires a redundancy suppression encoder for red signals, which has the disadvantage of complicating the device configuration. However, when encoding a facsimile signal for documents containing three colors, there is a possibility that it can be encoded using a simpler method than the one described above. (The same applies to the case of

この発明は、上述の点にかんがみなされたもので、例え
ば赤、黒、白等3色を含んだ文書類を対象とし、既存の
白黒2値ファクシミリ信号冗長度抑圧符号器に若干の機
能を付加することによって簡易に符号器を構成すること
を特徴とし、その目的は3色を含む文書類を対象とした
ファクシミリ信号を能率よくかつ簡易に符号化しうる符
号器(復号器)を実現することにある。
This invention was made in consideration of the above points, and is intended for documents containing three colors such as red, black, and white, and adds some functions to the existing black and white binary facsimile signal redundancy suppression encoder. The purpose of the present invention is to realize an encoder (decoder) that can efficiently and easily encode facsimile signals for documents containing three colors. be.

以下この発明について説明する。第1図は白黒2値信号
を対象とした冗長度抑圧符号の代表例として、モデフア
ィド・ハフマン(Modified日叫fman)符号
表を示す。
This invention will be explained below. FIG. 1 shows a Modified Huffman code table as a typical example of redundancy suppression codes for black and white binary signals.

第1図に示すように、白のランレングスと黒のランレン
グスとは統計的性質が異なるため、通常2種類のランレ
ングス符号表が用いられる。第2図はこの発明の一実施
例を示すブロック図であって、第1色として白、第2色
として黒、第3色として赤を対象とした場合を例にとっ
て説明する。
As shown in FIG. 1, since the white run length and the black run length have different statistical properties, two types of run length code tables are usually used. FIG. 2 is a block diagram showing an embodiment of the present invention, and the explanation will be given by taking as an example the case where the first color is white, the second color is black, and the third color is red.

第2図において、1は送信側、0は受信側、mは伝送路
である。また、1は送信側インタフェイス回路、2はラ
ンレングスカウンタ、3は送信用黒ランレングス、白ラ
ンレングスの切換回路、4は悪ランレングス用符号発生
器、5は白ランレングス用符号発生器、6は受信用黒ラ
ンレングス、白ランレングスの切換回路、7は黒ランレ
ングス用復号回路、8は白ランレングス用復号回路、9
は受信側ィンタフヱィス回路である。また、一点鎖綾部
は赤信号を符号化するための付加回路で、10は現在符
号化しようとするランレングスのための赤、黒、白の状
態識別回路、11は既に符号化済で直前のランレングス
のための赤、黒、白の状態を表示する表示回路、12は
前記状態識別回路10、表示回路11のランレングス状
態に対応して切襖回路3を制御するための論理回路、1
3は赤信号のランレングスのフラグ符号検出回路、14
は前記黒ランレングス用復号回路7あるいは白ランレン
グス用復号回路8を選択するための論理回路である。以
下、第2図を用いてこの発明の動作を説明する。
In FIG. 2, 1 is the transmitting side, 0 is the receiving side, and m is the transmission path. In addition, 1 is a transmission side interface circuit, 2 is a run length counter, 3 is a switching circuit for black run length and white run length for transmission, 4 is a code generator for bad run length, and 5 is a code generator for white run length. , 6 is a switching circuit for black run length and white run length for reception, 7 is a decoding circuit for black run length, 8 is a decoding circuit for white run length, 9
is the receiving side interface circuit. In addition, the one-dot chain twill part is an additional circuit for encoding the red signal, 10 is a red, black, and white state identification circuit for the run length that is currently being encoded, and 11 is a circuit that identifies the red, black, and white states for the run length that has already been encoded. A display circuit for displaying red, black, and white states for run length; 12 is a logic circuit for controlling the sliding door circuit 3 in accordance with the run length state of the state identification circuit 10 and display circuit 11;
3 is a red light run length flag sign detection circuit; 14;
is a logic circuit for selecting the black run length decoding circuit 7 or the white run length decoding circuit 8. The operation of this invention will be explained below with reference to FIG.

白黒2値の符号化の場合は、白のランレングスと黒のラ
ンレングスは必ず交互に出現するという規則に従って、
切襖回路3は交互に切り換わり、黒ランレングス用符号
発生器4、白ランレングス用符号発生器5よりそれぞれ
白ランレングス、黒ランレングスに対応して、第1図に
対応した符号が伝送路皿こ送出される。第1図に示した
ように白ランレングスと黒ランレングスの統計的性質が
異なるため、白ランレングス用、黒ランレングス用と別
々の符号表を用いるのが普通である。また、受信側ロの
復号器では前記符号化と逆の動作を行う。ところで、赤
信号のランレングスを符号化する場合は、送信側1にお
いて、赤信号であることを表示するフラグ符号を送出し
、そのランレングスを符号化し送出すればよい。
In the case of black and white binary encoding, according to the rule that white run lengths and black run lengths always appear alternately,
The switching circuit 3 switches alternately, and the code generator 4 for black run length and the code generator 5 for white run length transmit the codes corresponding to FIG. 1 corresponding to the white run length and black run length, respectively. The road plate is sent out. As shown in FIG. 1, since the statistical properties of white run length and black run length are different, it is common to use separate code tables for white run length and black run length. Furthermore, the decoder on the receiving side performs an operation opposite to the encoding described above. By the way, in the case of encoding the run length of a red light, the transmitting side 1 may send out a flag code indicating that it is a red light, and then encode and send the run length.

フラグ符号としては、白、黒ランレングス用符号には決
して表われない符号であること、すなわち固有パターン
であることが必要である。
The flag code needs to be a code that never appears in the white and black run length codes, that is, it needs to be a unique pattern.

一方、フラグ符号長はできるだけ短い方が高能率符号化
のために望ましい。
On the other hand, it is desirable for the flag code length to be as short as possible for high efficiency encoding.

この条件を満す一実施例として第1図における黒ランレ
ングス“0”のRLB(0)符号(000110111
)は現実には使用しないので、ここでは赤であることを
表示するフラグ符号としてこれを用いる場合について説
明する。
As an example that satisfies this condition, the RLB(0) code (000110111
) is not actually used, so here we will explain the case where it is used as a flag code to indicate that it is red.

なお、赤信号のランレングスを符号化する際、既存の黒
、白ランレングス用符号発生器およびその復号器を共有
させれば全体の装置構成は非常に簡単となる。
Incidentally, when encoding the run length of a red light, the overall device configuration can be extremely simplified if the existing code generators for black and white run lengths and their decoders are shared.

そこで、この発明では赤のランレングスのための特別な
ランレングス符号表を用いないで、黒、白用の2種類の
ランレングス符号表を用いて赤のランレングス符号化を
行うものである。白ランレングス、黒ランレングスだけ
を符号化する場合、前述したように交互に切換えればよ
いという規則を利用できる。
Therefore, in the present invention, red run-length encoding is performed using two types of run-length code tables for black and white, without using a special run-length code table for red run-lengths. When only the white run length and the black run length are encoded, the above-mentioned rule of switching alternately can be used.

しかし、赤ランレングスを符号化する場合、復号器にお
いては赤のランレングスが黒のランレングスで符号化さ
れたか、白のランレングスで符号化されたかを知る必要
があるため、現在符号化しようとするランレングス、そ
の前にすでに符号化した赤、黒、白のランレングスの3
つの状態のいずれであるかを知る必要がある。第3図に
ランレングスの履歴状態と伝送符号を示す。
However, when encoding a red run length, the decoder needs to know whether the red run length was encoded with a black run length or with a white run length, so 3 run lengths, the red, black, and white run lengths already encoded before that.
It is necessary to know which of the two states it is in. FIG. 3 shows the history state of run lengths and transmission codes.

第2図の切換回路3は、第3図に示した規則に従って黒
ランレングス用「あるいは白ランレングス用符号発生器
4,5を選択するように制御する。受信側0の復号器に
おいては、黒ランレングス用、白ランレングス用のいず
れの符号発生が行われたかを知るためには、黒、白ラン
レングスのし、ずれを使って赤のランレングスを符号化
したかを識別するための制御符号1ビットを追加する必
要がある。
The switching circuit 3 in FIG. 2 controls to select the code generators 4 and 5 for black run length or white run length according to the rules shown in FIG. 3. In the decoder on the receiving side 0, In order to know whether code generation was performed for black run length or white run length, it is necessary to use the difference between the black and white run lengths to identify whether the red run length was encoded. It is necessary to add 1 bit of control code.

ここでは、白ランレングスの符号を用いた場合を“0”
、黒ランレングスの符号を用いた場合を“1”としてい
る。もちろんこの逆でもよい。従って、伝送路mに送出
される符号ビットとしては、第3図に示すように、悪ラ
ンレングス、白ランレングスの場合はそのま)ランレン
グス長を表示する符号、赤ランレングスの場合には赤ラ
ンレングスであることを示すフラグ符号RLB(0)と
赤ランレングスを黒ランレングス用または白ランレング
ス用のいずれを用いたかを示す符号およびそのランレン
グス長を表示する符号を送出する。
Here, the case where the white run length code is used is “0”.
, the case where the black run length code is used is set to "1". Of course, the reverse is also possible. Therefore, as shown in Fig. 3, the code bits sent to the transmission path m are a code indicating the run length (in the case of a bad run length or a white run length), and a code indicating the run length in the case of a red run length. A flag code RLB(0) indicating that the red run length is used, a code indicating whether the red run length is used for the black run length or the white run length, and a code indicating the run length are transmitted.

なお、上記実施例では白ランレン・グス、黒ランレング
スのいずれかに交互に切換えて符号化したが、フラグ符
号および制御符号により赤を他の白、黒と区別できるの
で、必ずしも切換えずに黒ランレングス用符号発生器4
、白ランレングス用符号発生器5のいずれかをそのま)
引続き使用してもよい。
Note that in the above embodiment, the code was encoded by switching alternately between white run length and black run length, but since red can be distinguished from other white and black by flag codes and control codes, black run length is not necessarily switched. Run length code generator 4
, white run length code generator 5)
You may continue to use it.

あるいは一方のみを使用するようにしてもよい。また、
上記実施例では、第1色、第2色、第3色として白、黒
、赤の3色について説明したが、この発明は上記3色に
限らず任意の3色についての符号化にも適用できること
はもちろんである。
Alternatively, only one may be used. Also,
In the above embodiment, the three colors white, black, and red were described as the first, second, and third colors, but the present invention is applicable not only to the above three colors but also to encoding of any three colors. Of course it is possible.

さらに、この発明の符号化方法は全く逆の順序にすれば
復号化方法となる。すなわち、第1色、第2色に対して
は第1色、第2色のランレングスをそれぞれ復号化し、
第3色に対しては第3色であることを示すフラグ符号を
復号化し、かつ第1色、第2色のいづれのランレングス
符号で符号化したかを示す制御符号を検出するとともに
、そのランレングスを復号化すればよい。以上説明した
ようにこの発明によるカラーファクシミリ信号符号化方
法は、カラーのための特別の符号器・復号器を用いるこ
となく、第1色、第2色用冗長度抑圧符号器に若干の付
加回路を追加するのみで、能率よく、しかも簡易に構成
できる利点がある。
Furthermore, the encoding method of the present invention becomes a decoding method if the order is completely reversed. That is, for the first color and the second color, the run lengths of the first color and the second color are respectively decoded,
For the third color, a flag code indicating that it is the third color is decoded, and a control code indicating whether the run length code of the first color or the second color is encoded is detected. All you have to do is decode the run length. As explained above, the color facsimile signal encoding method according to the present invention does not require the use of a special encoder/decoder for color, and only requires some additional circuitry in the redundancy suppression encoder for the first and second colors. It has the advantage of being able to be configured efficiently and simply by simply adding .

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

第1図は黒白用に用いられるモデフアィド・ハフマン符
号の白および黒ランレングス用の符号表を示す図、第2
図はこの発明の一実施例を示すブロック図、第3図はラ
ンレングスの履歴状態と伝送符号を示す図である。 図中、1は送信側、川ま受信側、mは伝送路、1は送信
側インタフヱイス回路、2はランレングスカゥンタ、3
,6は功換回路、4は黒ランレングス用符号発生器、5
は白ランレングス用符号発生器、7は黒ランレングス用
復号回路、8は白ランレングス用復号回路、9は受信側
ィンタフェィス回路、10は状態識別回路、11は表示
回路、12,14は論理回路、13はフラグ符号検出回
路である。 第1図 ターミネイティ>グコード メークアップ〕ード EOLはライン同額符号を表わす。 第2図 第3図 ここで:RL8(い,RLW(1)は舞ラン.白ヲンの
女さ11こ対応する符号。 :RLB【0)林母号漆別めためめ固有符号てここでは
馬ヲン界の友ミ0の符ぢを用いろ。
Figure 1 shows the code table for white and black run lengths of the modified Huffman code used for black and white, and Figure 2
The figure is a block diagram showing an embodiment of the present invention, and FIG. 3 is a diagram showing the history state of run lengths and transmission codes. In the figure, 1 is the transmitting side, the receiving side, m is the transmission path, 1 is the transmitting side interface circuit, 2 is the run length counter, 3
, 6 is a conversion circuit, 4 is a code generator for black run length, 5 is a code generator for black run length.
1 is a code generator for white run length, 7 is a decoding circuit for black run length, 8 is a decoding circuit for white run length, 9 is a receiving side interface circuit, 10 is a status identification circuit, 11 is a display circuit, 12 and 14 are logic The circuit 13 is a flag code detection circuit. FIG. 1 Termination>G Code Makeup] The code EOL represents the line equivalence code. Figure 2 Figure 3 Where: RL8 (I, RLW (1) is Mairan. The code corresponding to Hakuon's woman 11. : RLB [0) Hayashi mogo Urushibetsu mememe unique code is here. Use the sign of Mi 0, a friend of the horse world.

Claims (1)

【特許請求の範囲】[Claims] 1 第1色、第2色、第3色の3色を対象としたフアク
シミリ信号の冗長度抑圧符号化方法において、3種の色
の識別とそのランレングスを計数する手段を有し、前記
第1色と第2色に対するランレングスの符号化のための
ランレングス用符号発生器を2種類具備し、前記第1色
、第2色の信号に対しては第1色、第2色のランレング
スをそれぞれのランレングス用符号発生器に基づいて符
号化し、前記第3色の信号に対しては第3色であること
を示す固有のフラグ符号および第3色のランレングスを
前記第1色、第2色いずれのランレングス符号を符号化
したかを示す1ビツトの制御符号さらに、前記第3色の
ランレングスを前記で決定された色のランレングス用符
号発生器に基づいた符号とで伝送符号を構成することを
特徴とするカラーフアクシミリ信号符号化方法。
1 A redundancy reduction coding method for a facsimile signal targeting three colors, a first color, a second color, and a third color, comprising means for identifying three types of colors and counting their run lengths; Two types of run length code generators are provided for encoding the run lengths for the first color and the second color. a unique flag code indicating that the signal is a third color and a run length of the third color is encoded based on a run length code generator for each of the third color signals; , a 1-bit control code indicating which run length code of the second color is encoded; and a 1-bit control code indicating which run length code of the second color is encoded; A color facsimile signal encoding method characterized by configuring a transmission code.
JP54046020A 1979-04-17 1979-04-17 Color facsimile signal encoding method Expired JPS6031388B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54046020A JPS6031388B2 (en) 1979-04-17 1979-04-17 Color facsimile signal encoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54046020A JPS6031388B2 (en) 1979-04-17 1979-04-17 Color facsimile signal encoding method

Publications (2)

Publication Number Publication Date
JPS55138973A JPS55138973A (en) 1980-10-30
JPS6031388B2 true JPS6031388B2 (en) 1985-07-22

Family

ID=12735358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54046020A Expired JPS6031388B2 (en) 1979-04-17 1979-04-17 Color facsimile signal encoding method

Country Status (1)

Country Link
JP (1) JPS6031388B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS574661A (en) * 1980-06-10 1982-01-11 Ricoh Co Ltd Digital compression transmitting method of color picture information
JPS57119567A (en) * 1981-01-19 1982-07-26 Ricoh Co Ltd Tricolor encoding system
US5276509A (en) * 1988-03-11 1994-01-04 Brother Kogyo Kabushiki Kaisha Multi-color facsimile apparatus having different data preparation and transmission modes and data preparations and transmission method practiced by the apparatus

Also Published As

Publication number Publication date
JPS55138973A (en) 1980-10-30

Similar Documents

Publication Publication Date Title
JPS587109B2 (en) Fukushima Shingo no Jiyouhou Hen Kagaso Address Fugoukahoushiki
JPS6031388B2 (en) Color facsimile signal encoding method
JPH04270564A (en) Serial picture data compression system having color information
US20020181769A1 (en) Image encoding apparatus and image decoding apparatus
JP2618944B2 (en) Coding method of color image information
JPS59135975A (en) Coding and decoding system of color signal
JP3515526B2 (en) Coding method of control information in a communication system
JPH0134421B2 (en)
JPS62120792A (en) Blocking entropy encoding system
KR0148152B1 (en) Adaptive variable length coding/decoding method and apparatus of image data
JPS6382062A (en) Facsimile coding system
JPH047871B2 (en)
JPS6436267A (en) Facsimile transmitter
JP3330308B2 (en) Color image information encoding processing method
JPH09135357A (en) Decoder for color image signal
JPS6298919A (en) Redundancy suppression coding system
JPH044673A (en) Encoding system for picture data
JPS6281880A (en) Data compression system
JPS62128659A (en) Communication support device for color copy
JPS6298920A (en) Redundancy suppression coding system
JPS6096963A (en) Color picture signal coding system
JPH0246068A (en) Picture data compressing system and facsimile equipment applying same
JPH04270563A (en) Data compression system in picture processor
JPS5875389A (en) Coding device
JPS6352513B2 (en)