JPS6338152B2 - - Google Patents

Info

Publication number
JPS6338152B2
JPS6338152B2 JP56187423A JP18742381A JPS6338152B2 JP S6338152 B2 JPS6338152 B2 JP S6338152B2 JP 56187423 A JP56187423 A JP 56187423A JP 18742381 A JP18742381 A JP 18742381A JP S6338152 B2 JPS6338152 B2 JP S6338152B2
Authority
JP
Japan
Prior art keywords
image signal
change point
encoding
code
buffer memory
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
JP56187423A
Other languages
Japanese (ja)
Other versions
JPS5888971A (en
Inventor
Satoshi Ogawa
Yoshio Iizuka
Shigeo Matsunaga
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 JP56187423A priority Critical patent/JPS5888971A/en
Publication of JPS5888971A publication Critical patent/JPS5888971A/en
Publication of JPS6338152B2 publication Critical patent/JPS6338152B2/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

Description

【発明の詳細な説明】 (1) 発明の技術分野 本発明はモデイフアイドハフマン(MH)方式
またはモデイフアイドリード(MR)方式により
画信号を圧縮して符号化する方式に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a method for compressing and encoding an image signal using a modified Huffman (MH) method or a modified read (MR) method.

(2) 従来技術 従来、フアクシミリの符号化における圧縮方式
としてCCITT勧告T.4で規定されるモデイフアイ
ドハフマン(MH)方式またはモデイフアイドリ
ード(MR)方式が多用されている。第1図はそ
の1例であり、読取り回路1からのシリアル画信
号を1ライン分画信号バツフアメモリ2に記憶し
た後、MH方式では画信号バツフアメモリ2から
符号化ラインを読出し、変化点検出回路3で白、
黒の変化点の検出を行ない、それをマイクロプロ
セツサ(MPU)4に通知する。この間に水平カ
ウンタ等の制御回路5によりランレングス数を作
成し、符号用ROMテーブル6のアドレスとして
与え、その出力をP/S変換回路7およびMPU
4により有効ビツト長のMHコードにし並列/直
列変換を行つた後にMH符号が順次符号バツフア
メモリ8に書込まれる。
(2) Prior Art Conventionally, the Modified Huffman (MH) method or the Modified Read (MR) method specified in CCITT Recommendation T.4 has been frequently used as a compression method for facsimile encoding. FIG. 1 shows one example of this. After storing the serial image signal from the reading circuit 1 in the one-line divided signal buffer memory 2, in the MH method, the encoded line is read out from the image signal buffer memory 2, and the change point detection circuit 3 In white,
A black change point is detected and the microprocessor (MPU) 4 is notified of it. During this time, a run length number is created by the control circuit 5 such as a horizontal counter, given as an address to the code ROM table 6, and the output is sent to the P/S conversion circuit 7 and the MPU.
4, the MH code is converted into an effective bit length MH code, and after parallel/serial conversion is performed, the MH code is sequentially written into the code buffer memory 8.

またMH方式と同様にモデイフアイドリード
(MR)方式により圧縮された画信号が作成され
ている。MR方式では、画信号バツフアメモリ2
から参照ラインおよび符号化ラインの画信号を同
時に読出し、これを変化点検出回路3で変化点の
検出を行ない、それをMPU4に通知する。この間
に水平、垂直のカウンタ等の制御回路5で変化点
の状態を検出し、MRの各符号化モードを作成
し、それを符号用ROMテーブル6のアドレスと
して与え、出力をP/S変換回路7およびMPU
4で有効ビツト長のMRコードにし並列/直列変
換した後に順次符号バツフアメモリ8に書込まれ
る。さらにライン同期信号、フイル信号MPU4
より制御回路5を通して符号化ROMテーブル6
に与えられ、同様にP/S変換の後に符号バツフ
アメモリ8に書込まれる。
Also, like the MH method, a compressed image signal is created using the modified read (MR) method. In the MR method, image signal buffer memory 2
The image signals of the reference line and the encoded line are simultaneously read out from the MPU 4, the change point detection circuit 3 detects the change point, and notifies the MPU 4 of the change point. During this time, the control circuit 5 such as horizontal and vertical counters detects the state of the change point, creates each MR encoding mode, gives it as the address of the encoding ROM table 6, and sends the output to the P/S conversion circuit. 7 and MPU
4, the code is converted into an MR code with an effective bit length, subjected to parallel/serial conversion, and then sequentially written into the code buffer memory 8. Furthermore, line synchronization signal, fill signal MPU4
encoded ROM table 6 through control circuit 5
and similarly written to the code buffer memory 8 after P/S conversion.

このように、従来の方式は画信号の情報量には
無関係に1ライン分のシリアル画信号を記憶、読
出しを行ない、さらに符号化データをシリアルに
符号バツフアメモリに書込むことにより、処理速
度が遅くなり、高速処理には不適当である。ま
た、従来の方式ではMH、MRの各コードを符号
化する手段はハードウエアで構成され、複雑とな
るとともに、これらの符号化方式が固定ハード構
成となり汎用性がないという欠点がある。
In this way, the conventional method stores and reads one line of serial image signals regardless of the amount of information in the image signal, and further writes encoded data serially to the code buffer memory, resulting in a slow processing speed. Therefore, it is unsuitable for high-speed processing. In addition, in the conventional system, the means for encoding each of the MH and MR codes is constituted by hardware and is complicated, and these encoding systems have a fixed hardware configuration and are not versatile.

(3) 発明の目的 本発明は上述の欠点を除去するもので、MH方
式またはMR方式により画信号を圧縮して符号化
する方式を用い、簡単なハード構成で汎用性を有
しかつ高速符号化に適した画信号符号化方式を提
供することである。
(3) Purpose of the Invention The present invention eliminates the above-mentioned drawbacks, and uses a method of compressing and encoding image signals using the MH method or MR method, and provides versatile and high-speed encoding with a simple hardware configuration. The purpose of the present invention is to provide an image signal encoding method suitable for

(4) 発明の構成 前記目的を達成するため、本発明の画信号符号
化方式はモデイフアイドハフマン(MH)方式ま
たはモデイフアイドリード(MR)方式による符
号化テーブルを有し画信号を圧縮して符号化する
方式において、1ラインの画信号の変化点位置を
検出し、該変化点位置を絶対アドレスとして記憶
する手段を具え、演算処理により前記MH方式ま
たはMR方式の符号化テーブルの該当コードに変
換することにより符号化データを得ることを特徴
とするものである。
(4) Structure of the Invention In order to achieve the above object, the image signal encoding method of the present invention has an encoding table based on the modified Huffman (MH) method or the modified read (MR) method and compresses the image signal. In the coding method, the method includes means for detecting the position of a change point in one line of image signal and storing the position of the change point as an absolute address, and performing arithmetic processing to determine the corresponding position in the encoding table of the MH method or MR method. It is characterized in that encoded data is obtained by converting it into a code.

(5) 発明の実施例 第2図は本発明の実施例の構成説明図である。
同図では第1図と同じ機能を有する構成部分は第
1図と挿入順序が異なつても同一番号を付して示
した。
(5) Embodiment of the invention FIG. 2 is an explanatory diagram of the configuration of an embodiment of the invention.
In this figure, components having the same functions as those in FIG. 1 are labeled with the same numbers even if the order of insertion is different from that in FIG. 1.

同図で読取り回路1からのシリアル画信号を直
接変化点検出回路3に入力して白、黒の変化点を
検出し、それに対応した変化点位置カウンタ10
のカウント値を絶対アドレスとして画信号バツフ
アメモリ2に記憶する。絶対アドレスとはたとえ
ば1〜2048の連続値で画信号の変化点が1ライン
上のどの位置であるかを示している。
In the figure, the serial image signal from the reading circuit 1 is directly input to the change point detection circuit 3 to detect the change points of white and black, and the corresponding change point position counter 10
The count value is stored in the image signal buffer memory 2 as an absolute address. The absolute address is a continuous value from 1 to 2048, for example, and indicates the position on one line at which the change point of the image signal is located.

また、画信号バツフアメモリ2のアドレスの移
動は変化点の存在と同時に、画信号の白、黒の変
化を表わす。
Further, the movement of the address of the image signal buffer memory 2 indicates the existence of a change point and the change between white and black of the image signal.

第3図a,bは実施例要部の動作波形図であ
る。同図aに示す1ラインに対し、変化点検出
回路3と変化点位置カウンタ10に与えるクロツ
ク(CLK)を同図aで示すと、同図aの読
取り画信号の変化点として同図aの変化点パル
スが検出され、これに対応し変化点位置カウンタ
10からのカウント値すなわち絶対アドレスが画
信号バツフアメモリ2に送られる。同図bはこの
場合の画信号バツフアメモリ2に記憶された符号
化ラインの1例を示す。MH方式の時は、画信号
バツフアメモリ2に記憶されている符号化ライン
を読出し、MPU4で符号化ラインの絶対アドレ
スを演算処理により、第4図に示すように白
(W)、黒(B)のランレングス数に変換し、MH
の符号およびビツト長が記憶されている符号化
ROMテーブル6のアドレスとして出力する。フ
アクシミリの符号化では、先頭は常に白ランレン
グスで始まり、次の変化点は黒ランレングスであ
る。従つて、冗長度を含んだ符号化ROMテーブ
ル6からの出力をMPU4で有効なビツト長の
MH符号に変換して符号化を行ない、並列出力を
符号バツフアメモリ8に順次つめて書込む。以上
の動作を1ラインの符号化ラインについて行つた
後、順次次の符号化ラインの符号化に移る。
FIGS. 3a and 3b are operational waveform diagrams of the main parts of the embodiment. When the clock (CLK) applied to the change point detection circuit 3 and the change point position counter 10 for one line shown in figure a is shown in figure a, the change point of the read image signal in figure a is determined as the change point in figure a. A change point pulse is detected, and in response to this, the count value from the change point position counter 10, that is, the absolute address, is sent to the image signal buffer memory 2. FIG. 2b shows an example of the encoded lines stored in the image signal buffer memory 2 in this case. When using the MH method, the encoded line stored in the image signal buffer memory 2 is read out, and the MPU 4 performs arithmetic processing on the absolute address of the encoded line to create white (W) and black (B) as shown in FIG. Convert to the number of run lengths of MH
encoding in which the code and bit length of
Output as the address of ROM table 6. In facsimile encoding, the beginning always starts with a white run length, and the next change point is a black run length. Therefore, the output from the encoded ROM table 6, which includes redundancy, is converted into an effective bit length by the MPU 4.
It is converted into MH code and encoded, and the parallel outputs are sequentially packed and written into the code buffer memory 8. After performing the above operations for one encoded line, the process moves on to encoding the next encoded line in sequence.

また、ライン同期信号、フイル信号はMPU4
からの指示で符号化ROMテーブル6より与えら
れ、MH符号と同様に取扱う。符号バツフアメモ
リ8の出力はP/S変換回路7により並列/直列
変換されて符号データが出力される。
In addition, the line synchronization signal and fill signal are MPU4
It is given from the encoded ROM table 6 according to instructions from the MH code, and is handled in the same way as the MH code. The output of the code buffer memory 8 is subjected to parallel/serial conversion by the P/S conversion circuit 7, and code data is output.

MR方式の時は、画信号バツフアメモリ2から
絶対アドレス形式で変化点が記憶されている第5
図aの1行前の参照ラインと同図bの現在の符号
化ラインを読出し、MPU4で符号化ラインを参
照ラインを基に演算処理し、符号化ROMテーブ
ル6のアドレスとして与えることにより、図に数
例を示すようなMR符号を得る。
When using the MR method, the 5th point where the change point is stored in absolute address format from the image signal buffer memory 2
The previous reference line in Figure a and the current encoded line in Figure b are read out, the MPU 4 performs arithmetic processing on the encoded line based on the reference line, and provides it as an address in the encoding ROM table 6. We obtain MR codes as shown in some examples.

MR符号は、符号化ラインの参照ラインに対す
る相対符号表示としてV(0)〔真下に移す〕、P〔と
び越し〕、VL(1)〔左に1ビツトずらす〕、VR(1)〔右
に1ビツトずらす〕、H〔4ビツト以上ずらす〕…
等で示される。
The MR code is expressed as a relative sign of the encoded line with respect to the reference line: V (0) [move directly below], P [skip], V L(1) [shift 1 bit to the left], V R(1) [ Shift 1 bit to the right], H [shift 4 bits or more]...
etc.

(6) 発明の効果 以上説明したように、本発明によれば、必要な
変化点情報のみを絶対アドレス形式で記憶するた
め、1ライン分のシリアル画信号の記憶、読出し
が不要となる。さらに、符号化データを順次並列
出力として符号バツフアメモリに記憶させるため
高速符号化が可能となる。また、MH、MRの符
号化が変化点検出と白または黒のランレングス数
の演算処理によりアドレスを作るというソフト構
成が主体となるため、固定ハード構成が不要とな
り、全体のハード構成が不要となる。そのため、
同一ハード構成でソフト処理の変更により他の符
号化はもとより、復号化、さらにはMPUから画
信号バツフアメモリのアクセスが可能となるた
め、符号化、復号化以外の用途への拡大が期待で
きる。
(6) Effects of the Invention As explained above, according to the present invention, only necessary change point information is stored in absolute address format, so it is not necessary to store and read out one line's worth of serial image signals. Furthermore, since the encoded data is sequentially output in parallel and stored in the code buffer memory, high-speed encoding becomes possible. In addition, since MH and MR encoding is mainly based on a software configuration that creates addresses by detecting change points and calculating the number of white or black run lengths, a fixed hardware configuration is not required, and the entire hardware configuration is not required. Become. Therefore,
With the same hardware configuration, by changing the software processing, it is possible to perform not only other encoding but also decoding, and even access the image signal buffer memory from the MPU, so it is expected to expand into applications other than encoding and decoding.

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

第1図は従来例の構成説明図、第2図は本発明
の実施例の構成説明図、第3図a,bは実施例の
要部の動作説明図、第4図、第5図a,bは実施
例の要部の他の動作説明図であり、図中、1は読
取り回路、2は画信号バツフアメモリ、3は変化
点検出回路、4はマイクロプロセツサ(MPU)、
6は符号化ROMテーブル、7はP/S変換回
路、8は符号バツフアメモリ、10は変化点位置
カウンタを示す。
Fig. 1 is an explanatory diagram of the configuration of the conventional example, Fig. 2 is an explanatory diagram of the configuration of the embodiment of the present invention, Figs. 3a and b are explanatory diagrams of the operation of the main parts of the embodiment, Figs. , b are other operation explanatory diagrams of the main parts of the embodiment, in which 1 is a reading circuit, 2 is an image signal buffer memory, 3 is a change point detection circuit, 4 is a microprocessor (MPU),
Reference numeral 6 indicates an encoding ROM table, 7 a P/S conversion circuit, 8 a code buffer memory, and 10 a change point position counter.

Claims (1)

【特許請求の範囲】[Claims] 1 モデイフアイドハフマン(MH)方式または
モデイフアイドリード(MR)方式による符号化
テーブルを有し画信号を圧縮して符号化する方式
において、1ラインの画信号の変化点位置を検出
し、該変化点位置を絶対アドレスとして記憶する
手段を具え、演算処理により前記MH方式または
MR方式の符号化テーブルの該当コードに変換す
ることにより符号化データを得ることを特徴とす
る画信号符号化方式。
1. In a method that compresses and encodes an image signal by having an encoding table based on the Modified Huffman (MH) method or the Modified Read (MR) method, detecting the position of a change point in the image signal of one line, It is equipped with a means for storing the change point position as an absolute address, and the above-mentioned MH method or
An image signal encoding method characterized in that encoded data is obtained by converting to a corresponding code in an MR method encoding table.
JP56187423A 1981-11-21 1981-11-21 Encoding system for picture signal Granted JPS5888971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56187423A JPS5888971A (en) 1981-11-21 1981-11-21 Encoding system for picture signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56187423A JPS5888971A (en) 1981-11-21 1981-11-21 Encoding system for picture signal

Publications (2)

Publication Number Publication Date
JPS5888971A JPS5888971A (en) 1983-05-27
JPS6338152B2 true JPS6338152B2 (en) 1988-07-28

Family

ID=16205782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56187423A Granted JPS5888971A (en) 1981-11-21 1981-11-21 Encoding system for picture signal

Country Status (1)

Country Link
JP (1) JPS5888971A (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58168388A (en) * 1982-03-29 1983-10-04 Nec Corp Encoding circuit of facsimile
JPS60119175A (en) * 1983-11-30 1985-06-26 Fuji Xerox Co Ltd Compressing and decoding device of binary picture information
JPS60119176A (en) * 1983-11-30 1985-06-26 Fuji Xerox Co Ltd Compressing and encoding device of binary picture information
JPS60149262A (en) * 1984-01-17 1985-08-06 Mitsubishi Electric Corp Picture signal coding device
JPS61107875A (en) * 1984-10-30 1986-05-26 Toshiba Corp Coding system
JPS61123268A (en) * 1984-11-19 1986-06-11 Canon Inc Facsimile
JPS62219770A (en) * 1986-03-19 1987-09-28 Matsushita Graphic Commun Syst Inc Facsimile equipment
JP2877236B2 (en) * 1991-01-31 1999-03-31 松下電送 株式会社 Encoding device

Also Published As

Publication number Publication date
JPS5888971A (en) 1983-05-27

Similar Documents

Publication Publication Date Title
JPS6338152B2 (en)
KR910010886A (en) High efficiency encoder
CA1291822C (en) Method and apparatus for processing an image signal
JPS6326588B2 (en)
JPH088647B2 (en) Run-length coding method and apparatus
JPS60253372A (en) Picture signal coding system
JPS646589B2 (en)
JPS6341270B2 (en)
JPS6342471B2 (en)
JPS6339187B2 (en)
JPS6333350B2 (en)
JP2595900B2 (en) Change point coordinate detection device for binary image data
JPS6342472B2 (en)
JPS5883473A (en) Picture signal encoding system
JPS5923514B2 (en) Two-dimensional sequential encoding method
JPH0149072B2 (en)
JPS6132867B2 (en)
JPS61256868A (en) Data processing system
JPS61251275A (en) Processing circuit for picture signal
JPH07255053A (en) Zigzag scanning circuit
JPS60236369A (en) Picture signal coding system
JPS60169276A (en) Data compressing system
JPS5941632B2 (en) 2-dimensional sequential encoding method
JPH04149787A (en) Image data converter
JPS63131779A (en) Facsimile encoding and decoding device