JPS59131267A - Encoder - Google Patents

Encoder

Info

Publication number
JPS59131267A
JPS59131267A JP536483A JP536483A JPS59131267A JP S59131267 A JPS59131267 A JP S59131267A JP 536483 A JP536483 A JP 536483A JP 536483 A JP536483 A JP 536483A JP S59131267 A JPS59131267 A JP S59131267A
Authority
JP
Japan
Prior art keywords
counter
output
level
code
goes
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.)
Granted
Application number
JP536483A
Other languages
Japanese (ja)
Other versions
JPH054876B2 (en
Inventor
Eiichi Adachi
安達 栄一
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 JP536483A priority Critical patent/JPS59131267A/en
Publication of JPS59131267A publication Critical patent/JPS59131267A/en
Publication of JPH054876B2 publication Critical patent/JPH054876B2/ja
Granted 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)

Abstract

PURPOSE:To attain processing of MH code conversion by reading MC and TC from the MH code table based on an output of the 1st counter and outputting MC(2560) having a numeric equivalent to an output value of the 2nd counter. CONSTITUTION:While white run or black run continues, a signal S1 is at H level and it causes a counter 1a to be enabled and a pulse signal CP is counted. When this count is repeated for 2560 times, an output terminal of the 10th bit and the 12th bit of the counter 1 goes to H level and a carry output terminal CY of a counter 1b goes also to H level, then an output of an AND circuit 3 goes to H level during one clock period. Thus, a counter 2 is enabled and the counter operation is executed, and then an output of an NOR circuit 5 goes to L level, it causes the counters 1a, 1b and 1c to be reset and the count of the counter 1 starts again from ''0''. Then, the MC (makeup code) and the TC (terminating code) are read from the counter.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、ファクシミリ装置の符号化装rjit//c
関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a facsimile machine encoding system rjit//c
related.

〔従来技術〕[Prior art]

CCITT (国際電信電話諮問委員会)でその伝送制
御手順等が定められたG3ファクシミ’)装置は、画像
伝送時間を短縮するために、送信原稿上の画像を光電変
換して得た画素信号(すなわち伝送情報)を符号化して
データ圧縮している。
The G3 facsimile (G3 facsimile) device, whose transmission control procedures have been determined by the CCITT (International Telegraph and Telephone Consultative Committee), uses pixel signals ( In other words, the transmission information) is encoded and data compressed.

符号化の方法としては、いわゆるM H(Modifi
edHuffman )符号化方式とい′う1次元符号
化方式が標準の符号化方式として採用されている。この
符号化方式では、0〜63までの各々のランレングス(
l走査線上に発生する白および黒のラン長)に対応した
ターミネイティングコード(以下TCという)、および
64〜2560までの64毎のランレングスに対応した
メークアップコード(以下MCという)からなるMH符
号表をあらかじめ定めている。そして、実際のランレン
グスをカウンタ(ランレングスカウンタ)で測定してそ
の測定値に基づいたTCおよびMCをMH符号表から読
み出し、このTCとMCを組合せて符号を形成している
The encoding method is so-called M H (Modify
A one-dimensional encoding method called edHuffman ) encoding method has been adopted as a standard encoding method. In this encoding method, each run length from 0 to 63 (
The MH consists of a terminating code (hereinafter referred to as TC) corresponding to the white and black run lengths generated on the l scanning line, and a makeup code (hereinafter referred to as MC) corresponding to every 64 run length from 64 to 2560. A code table is predetermined. Then, the actual run length is measured by a counter (run length counter), the TC and MC based on the measured value are read out from the MH code table, and the TC and MC are combined to form a code.

上記したTCとMCの単純な組合せによって2623ま
でのランレングスを表現できるが、それを越えるランレ
ングス例えば3007.5219  のランレングスは
次のようにして表現することができる。
Although run lengths up to 2623 can be expressed by the simple combination of TC and MC described above, run lengths exceeding this, for example, run lengths of 3007.5219, can be expressed as follows.

3007→MC(2560)、MC(384)、TC(
63)5219→MC(2560)l MG(2ケlo
)、前c(gtF)。
3007 → MC (2560), MC (384), TC (
63)5219→MC(2560)l MG(2kelo
), prec(gtF).

TO(3ケ) ただし、MC(A)はランビンゲスAのMCをあられし
、T C(A)はランレングスAのTCをあられす。
TO (3 pieces) However, MC (A) is used for the MC of Lambinges A, and TC (A) is used for the TC of run length A.

このように2623を越えるランレングスを、2560
を単位にして表わす場合、従来はランレングスを256
0で実際に割って商と剰余項を算出し、その商の数だけ
のMC(2560)を発生するとともに剰余項なあられ
すMCとTCをM)l符号表から読み出し、これらのM
CおよびTCを組み合わせていた。
In this way, the run length exceeding 2623 is changed to 2560
Conventionally, the run length is expressed as 256 units.
Calculate the quotient and remainder term by actually dividing by 0, generate as many MC(2560) as the quotient, read the remainder terms MC and TC from the code table, and calculate these M
It was a combination of C and TC.

したがって従来、符号化装置はランレングスが2623
を越えるか否かを判別する処理およびランレングスを2
560で割算する処理等を必要としたので符号化処理が
複雑になるという不都合を生じていた。
Therefore, conventionally, the encoding device has a run length of 2623
The processing to determine whether or not the run length exceeds 2
Since a process such as division by 560 is required, the encoding process becomes complicated.

〔目的〕〔the purpose〕

本発明は、上記した不都合を解消し、符号化処理力4単
な符号化装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned disadvantages and to provide an encoding device with an encoding processing power of 4.

〔構成〕〔composition〕

以下添付図面を参照しながら、本発明の実施例を詳細に
説明する。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

図は、本発明の一実施例に係るランレングスカウンタを
示している。この実施例では、2560まで計数するカ
ウンタと、2560ごとにインクリメントされるカウン
タとを組み合わせている。
The figure shows a run length counter according to an embodiment of the invention. This embodiment combines a counter that counts up to 2560 and a counter that is incremented every 2560.

同図において、1は4ビットカウンタla、lbおよび
1cをカスケード接続して形成したカウンタ、2は4ビ
ツトのカウンタ、3はアンド回路、4はインバータおよ
び5はノア回路であり、上記したカウンタlの出力端b
l””’b12およびカウンタ2の出力端b13〜bl
llは図示しない符号化装置の制御部に接続されている
In the figure, 1 is a counter formed by cascading 4-bit counters la, lb, and 1c, 2 is a 4-bit counter, 3 is an AND circuit, 4 is an inverter, and 5 is a NOR circuit. output end b
l""'b12 and output terminals b13 to bl of counter 2
11 is connected to a control section of an encoding device (not shown).

信号S1は、図示しないスキャナから出力されるラン信
号である。パルスイ=−qcpは、ラン信号Sxの持続
時間すなわちラン長を計数するためのクロック・セルス
であり、その1周期はラン信号の1ランの長さに相当す
る。また信号S2はリセット信号である。
The signal S1 is a run signal output from a scanner (not shown). Pulse = -qcp is a clock cell for counting the duration of the run signal Sx, that is, the run length, and one period thereof corresponds to the length of one run of the run signal. Further, the signal S2 is a reset signal.

以上の構成で、白ランあるいは黒ランが続く間4g号S
、が論理レベルrI(Jとなシ、これによってカウンタ
1aがイネ−グルとなり、)ぐルス信号CPをカウント
する。このカウント動作が2+2(2560)回くり返
された時点でカウンタ1の10ビツト目(blo )お
よび12ビツト目(bl−)の出力端子が論理レベルr
HJとな9、同時にカウンタlbのキャリ出力端CYの
論理レベルもrHJとなるのでアンド回路3の出力が1
クロック周期の間論理レベル「H」となる。これにより
、カウンタ2がイネーブルとなシ、カウント動作を実行
し、それと同時にノア回路5の出力が論理レベルrIL
Jに立ち下がるのでカウンタ1m+1bおよび1cがリ
セットされて、再びカウンタlの計数が「0」から開始
される。
With the above configuration, while the white run or black run continues, the 4g issue
, is at the logic level rI (J), which enables the counter 1a to count the signal CP. When this counting operation is repeated 2+2 (2560) times, the output terminals of the 10th bit (blo) and 12th bit (bl-) of counter 1 reach the logic level r.
At the same time, the logic level of the carry output terminal CY of the counter lb becomes rHJ, so the output of the AND circuit 3 becomes 1.
It is at logic level "H" during the clock period. As a result, the counter 2 is enabled and performs a counting operation, and at the same time, the output of the NOR circuit 5 reaches the logic level rIL.
Since the counters 1m+1b and 1c are reset, the counter 1 starts counting from "0" again.

シタがって、カウンタ1の12ビツトの出力はO〜25
59tでをと9、カウンタ2の出力は2560の倍数を
あられすことになる。そこで、カウンタ1の出力に基づ
いてMH符号表からMCおよびTCを読み出すとともに
カウンタ2の出力値に相当する数のMC(2560)を
出力することでMH符号変換を実現でき、ランレングス
が2560を越えたさいのM H符号変換処理に割算処
理等の複雑な処理を必要としない。
Therefore, the 12-bit output of counter 1 is O~25.
At 59t, the output of counter 2 will be a multiple of 2560. Therefore, MH code conversion can be realized by reading MC and TC from the MH code table based on the output of counter 1 and outputting the number of MCs (2560) corresponding to the output value of counter 2, and the run length becomes 2560. Complex processing such as division processing is not required for the M H code conversion processing when exceeding the M H code.

また、この実施例では、カウンタ1の7〜12ビツトの
出力がMCを形成するさいのデータを、1〜6ビツトの
出力がTCを形成するさいのデータをそれぞれあられし
ているから、MH符号変換処理をさらに容易にすること
ができる。
Furthermore, in this embodiment, since the outputs of 7 to 12 bits of counter 1 are used to form the MC, and the outputs of 1 to 6 bits are used to form the TC, the MH code is The conversion process can be further facilitated.

〔効果〕〔effect〕

以上説明したように、本発明によれば符号化装置におけ
る符号変換処理を非常に簡素にすることができる。
As described above, according to the present invention, code conversion processing in an encoding device can be extremely simplified.

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

図は、本発明の実施例に係るランレングスカウンタの一
実施例を示すグロック図である。 1.2・・・カウンタ、3・・・アンド回路、4・・・
インパーク、5・・・ノア回路。
The figure is a glock diagram showing one embodiment of a run length counter according to an embodiment of the present invention. 1.2... Counter, 3... AND circuit, 4...
Impark, 5...Noah circuit.

Claims (1)

【特許請求の範囲】[Claims] ファクシミリ装置の符号化装置において、原稿の白画素
または黒画素が主走査方向に連続する長さを計数するラ
ンレングスカウンタをfilのカウンタおよびこの第1
のカウンタの計数値が2560になると歩進される第2
のカウンタから構成するとともにこの第2のカウンノが
歩進する毎に上記第1のカウンタをリセットすることを
特徴とした符号化装置。
In the encoding device of the facsimile machine, a run length counter that counts the length of consecutive white pixels or black pixels of a document in the main scanning direction is used as a counter of fil and a run length counter of this first one.
The second counter is incremented when the count value of the counter reaches 2560.
1. An encoding device comprising a counter, and resetting the first counter each time the second counter increments.
JP536483A 1983-01-18 1983-01-18 Encoder Granted JPS59131267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP536483A JPS59131267A (en) 1983-01-18 1983-01-18 Encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP536483A JPS59131267A (en) 1983-01-18 1983-01-18 Encoder

Publications (2)

Publication Number Publication Date
JPS59131267A true JPS59131267A (en) 1984-07-28
JPH054876B2 JPH054876B2 (en) 1993-01-21

Family

ID=11609105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP536483A Granted JPS59131267A (en) 1983-01-18 1983-01-18 Encoder

Country Status (1)

Country Link
JP (1) JPS59131267A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6440967U (en) * 1987-09-04 1989-03-10
JP2007326643A (en) * 2006-01-27 2007-12-20 Max Co Ltd Gas cartridge
US8025182B2 (en) 2006-01-27 2011-09-27 Max Co., Ltd. Gas cartridge
US8157130B2 (en) 2006-01-27 2012-04-17 Max Co., Ltd. Gas cartridge

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5413731A (en) * 1977-06-30 1979-02-01 Cit Alcatel Facsimile transmitter
JPS56129478A (en) * 1980-03-14 1981-10-09 Nec Corp Coder for facsimile

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5413731A (en) * 1977-06-30 1979-02-01 Cit Alcatel Facsimile transmitter
JPS56129478A (en) * 1980-03-14 1981-10-09 Nec Corp Coder for facsimile

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6440967U (en) * 1987-09-04 1989-03-10
JP2007326643A (en) * 2006-01-27 2007-12-20 Max Co Ltd Gas cartridge
US7681758B2 (en) 2006-01-27 2010-03-23 Max Co., Ltd. Gas cartridge
US8025182B2 (en) 2006-01-27 2011-09-27 Max Co., Ltd. Gas cartridge
US8157130B2 (en) 2006-01-27 2012-04-17 Max Co., Ltd. Gas cartridge

Also Published As

Publication number Publication date
JPH054876B2 (en) 1993-01-21

Similar Documents

Publication Publication Date Title
US4101934A (en) Coding system
JPH0783427B2 (en) Image transmission method
JPS6338913B2 (en)
JPS59131267A (en) Encoder
JPH04241576A (en) Image encoder
EP0034187B1 (en) Compressed data restoring system
JPH04274675A (en) Run length coding method and device
US5444832A (en) Pixel density converter
JPS60213172A (en) Encoding processor
JPS60253372A (en) Picture signal coding system
JPS6228113Y2 (en)
US5452092A (en) Changing pixel detector for coding of image data
JPH0834545B2 (en) Image data coding device
JPH0767140B2 (en) Equipment
KR960010380Y1 (en) Block start signal generating circuit
JP4053285B2 (en) Facsimile modem apparatus and facsimile apparatus
JPS59156073A (en) Data decoding device
JPS60261254A (en) Encoding circuit
JP3101985B2 (en) Facsimile machine
JPS6118266A (en) Modified huffman coding and decoding device
JP2995740B2 (en) Facsimile image density converter
JPS614371A (en) Picture image converting circuit
JPS62164317A (en) Coding system
JPS60194671A (en) Run length encoding device
JPS5885669A (en) Controlling system of sub-scanning speed in picture signal processor