JPH04180359A - Encoding method for facsimile equipment - Google Patents
Encoding method for facsimile equipmentInfo
- Publication number
- JPH04180359A JPH04180359A JP2309197A JP30919790A JPH04180359A JP H04180359 A JPH04180359 A JP H04180359A JP 2309197 A JP2309197 A JP 2309197A JP 30919790 A JP30919790 A JP 30919790A JP H04180359 A JPH04180359 A JP H04180359A
- Authority
- JP
- Japan
- Prior art keywords
- bit
- code data
- contents
- data
- bits
- 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
Links
- 238000000034 method Methods 0.000 title claims description 16
- 230000001629 suppression Effects 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 abstract description 9
- 235000021170 buffet Nutrition 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
皮呈上勿■且光互
本発明はファクシミリ装置の符号化方法に関するもので
ある。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an encoding method for a facsimile machine.
従来少肢血
ファクシミリ装置の画信号を符号化して得られる可変符
号長の符号データを送信するシステムは従来から知られ
ている。このシステムにおいては、1個の符号データの
送信が終了したことを画信号処理部に知らせるために、
2進数の符号長データと符号データとを符号化テーブル
に記憶しておき、符号長データをダウンカウンタからな
る符号長カウンタに格納し、符号データをシフトレジス
タからなる符号レジスタに格納して、符号レジスタから
符号データを1ビット送信する毎に符号長カウンタの符
号長データをカウントダウンし、符号長カウンタの内容
が零になったときに画信号処理部に送信終了を知らせて
いた。2. Description of the Related Art Systems for transmitting variable code length code data obtained by coding image signals of conventional small limb facsimile devices have been known. In this system, in order to notify the image signal processing unit that the transmission of one piece of code data has been completed,
Binary code length data and code data are stored in an encoding table, the code length data is stored in a code length counter consisting of a down counter, and the code data is stored in a code register consisting of a shift register. Each time one bit of code data is transmitted from the register, the code length data of the code length counter is counted down, and when the content of the code length counter becomes zero, the end of transmission is notified to the image signal processing section.
(”° しよ゛と る量
しかしながら、従来の可変符号長送信システムでは、シ
フトレジスタからなる符号レジスタとは別にダウンカウ
ンタからなる符号長カウンタが必要であり、ダウンカウ
ンタはシフトレジスタと比較して回路構成が複雑である
ので、製作コストやチップ面積の増大を招いていた。However, in conventional variable code length transmission systems, a code length counter consisting of a down counter is required in addition to a code register consisting of a shift register, and the down counter is smaller than the shift register. Since the circuit configuration is complicated, the manufacturing cost and chip area increase.
本発明はかかる事情に鑑みて成されたものであり、実施
に際してダウンカウンタの不要なファクシミリ装置の符
号化方法を提供することを目的とする。The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide an encoding method for a facsimile machine that does not require a down counter when implemented.
i ° るための
本発明は、画信号を冗長度抑圧方式により符号化して送
信するファクシミリ装置の符号化方法において、任意ビ
ット数の有意部分を有する所定ビット数の符号データと
、この符号データと同じビット数であり符号データの有
意部分に対応する各ビットの内容が符号データと逆の2
値情報でかつその他の各ビットの内容が符号データと同
じ2値情報である参照データとを、符号データテーブル
からテーブルアドレス信号により読み出して所定ビット
数の第1および第2のシフトレジスタに各別に格納し、
これらシフトレジスタの内容を1ビットずつシフトさせ
て、両シフトレジスタの最下位ビットの内容を比較し、
両者が一致すれば符号データの有意部分の最終ビットの
内容が前記第1のシフトレジスタから送り出されたと判
断することを特徴としている。The present invention provides an encoding method for a facsimile machine that encodes an image signal using a redundancy suppression method and transmits the encoded image signal. 2 with the same number of bits and the content of each bit corresponding to the significant part of the coded data is the opposite of the coded data.
The reference data, which is value information and the content of each other bit is the same binary information as the code data, is read out from the code data table using the table address signal and stored separately in the first and second shift registers each having a predetermined number of bits. store,
Shift the contents of these shift registers one bit at a time and compare the contents of the least significant bit of both shift registers,
If the two match, it is determined that the content of the last bit of the significant part of the code data has been sent out from the first shift register.
立−一部
本発明にあっては、第1および第2のシフトレジスタの
内容をシフトさせることにより、第1および第2のシフ
トレジスタの最下位ビットから符号データおよび参照デ
ータが各々1ビットずつ送り出される。参照データは、
符号データと同じビット数であり、符号データの有意部
分に対応する各ビットの内容が符号データと逆の2値情
報で、その他の各ビットの内容が符号データと同じ2値
情報である。このため、符号データの有意部分が第1の
シフトレジスタから送り出されるまでは、両シフトレジ
スタの最下位ピントの内容は一致せず、符号データの有
意部分が第1のシフトレジスタから送り出されることに
より、両シフトレジスタの最下位ビットの内容が一致す
る。よって、両シフトレジスタの最下位ビットの内容を
比較することにより、符号データの送信終了を検知でき
ることとなる。In the present invention, by shifting the contents of the first and second shift registers, the code data and the reference data are shifted one bit each from the least significant bit of the first and second shift registers. Sent out. The reference data is
It has the same number of bits as the code data, the content of each bit corresponding to the significant part of the code data is binary information opposite to the code data, and the content of each other bit is the same binary information as the code data. Therefore, the contents of the lowest focus of both shift registers do not match until the significant part of the code data is sent out from the first shift register. , the contents of the least significant bits of both shift registers match. Therefore, by comparing the contents of the least significant bits of both shift registers, it is possible to detect the end of transmission of code data.
裏−1−■
以下、本発明の一実施例を第1図〜第3図に基づいて説
明する。Back-1-■ Hereinafter, one embodiment of the present invention will be described based on FIGS. 1 to 3.
第1図は本発明の一実施例における符号化方法の実施に
用いたファクシミリ装置の要部構成図で、マイクロコン
ピュータのCPU等からなる主制御装置1には、原稿を
読み取って画信号を作出する読み取り部2や、プログラ
ム等を記憶するROM3や、データ等を記憶するRAM
4等が接続されている。ROM3の一部には、任意ピン
ト数の有意部分を有する所定ビット数の符号データと、
この符号データと同じビット数であり符号データの有意
部分に対応する各ビットの内容が符号データと逆の2値
情報でかつその他の各ビットの内容が符号データと同じ
2値情報である参照データとを、交互に必要数記憶して
いる符号データテーブル5が構成されている。読み取り
部2には、画信号に対して符号化に必要な所定の処理を
施しかつその処理結果に応じてテーブルアドレス信号を
出力する画信号処理手段6等が設置されている。主制御
装置1は、画信号処理手段6からのテーブルアドレス信
号により符号データテーブル5から読み出された符号デ
ータおよび参照データを一時記憶しかつ記憶内容を所定
のタイミングで1ビ7トずつシフトさせる所定ビット数
の第1および第2のシフトレジスタ7.8等を有してい
る。FIG. 1 is a block diagram of the main parts of a facsimile machine used to implement the encoding method in an embodiment of the present invention. A reading section 2 for storing data, a ROM 3 for storing programs, etc., and a RAM for storing data, etc.
4th grade is connected. A part of the ROM 3 includes code data of a predetermined number of bits having a significant part of an arbitrary number of focuses;
Reference data that has the same number of bits as this code data, the content of each bit corresponding to the significant part of the code data is binary information opposite to the code data, and the content of each other bit is the same binary information as the code data. A code data table 5 is configured in which a necessary number of the following are stored alternately. The reading section 2 is equipped with an image signal processing means 6 and the like that performs predetermined processing necessary for encoding the image signal and outputs a table address signal according to the processing result. The main controller 1 temporarily stores the code data and reference data read out from the code data table 5 based on the table address signal from the image signal processing means 6, and shifts the stored contents by 1 bit at a predetermined timing. It has first and second shift registers 7.8 and the like having a predetermined number of bits.
符号データテーブル5には、第2図(A)のように例え
ば12ビットの符号データと参照データとが交互に所要
数格納されている。参照データは、符号データと同じ1
2ビットであり、符号データの有意部分に対応する各ビ
ー/ )の内容が符号データと逆の2値情報で、その他
の各ビットの内容が符号データと同じ2値情報である。In the code data table 5, for example, a required number of 12-bit code data and reference data are alternately stored as shown in FIG. 2(A). The reference data is 1, which is the same as the code data.
The content of each bit (B/ ) corresponding to the significant part of the code data is binary information opposite to the code data, and the content of each other bit is the same binary information as the code data.
この例では符号データの有意部分がrl 10111J
で6ビットであるので、参照データは前半の6ビットが
ro OOO00Jで、後半の6ビットが[00100
0」である。これらのデータが読み出されると、第1の
シフトレジスタ7には第2図(B)のようにroooo
oollolllJが格納され、第2のシフトレジスタ
8にはrooooooo。In this example, the significant part of the code data is rl 10111J
Since the reference data is 6 bits, the first 6 bits are ro OOO00J and the latter 6 bits are [00100
0". When these data are read out, the first shift register 7 has roooo as shown in FIG. 2(B).
oollollJ is stored, and the second shift register 8 stores rooooooo.
1000Jが格納される。1000J is stored.
次に動作を説明する。読み取り部2からの画信号は、画
信号処理手段6により白黒ランレングスの計算等の所定
の処理が施され、その内容に応じて画信号処理手段6か
らテーブルアドレス信号が出力される。これにより符号
データテーブル5から例えば第2図(A)に記したよう
な符号データが読み出され、第2図(B)のように第1
のシフトレジスタ7に格納されると共に、符号データの
次の番地に格納されている参照データが読み出され、第
2のシフトレジスタ8に格納される。主制御装置1は、
所定のタイミングで第1および第2のシフトレジスタ7
.8の内容を1ビットずつ下位桁側にシフトさせ、第1
のシフトレジスタ7の最下位ピッ)7aから送り出され
た情報を図外の送信用のバッファに格納すると共に、第
1のシフトレジスタフの最下位ビット7aの内容と第2
のシフトレジスタ8の最下位ビット8aの内容とを比較
する。すなわち6回のシフトにより、第1のシフトレジ
スタ7の最下位ビット7aから符号データの有意部分の
最終ビットの「1」が送り出され、第1のシフトレジス
タ7の最下位ビット7aの内容と第2のシフトレジスタ
8の最下位ビット8aの内容とが共に「0」で一致する
。これにより主制御装置1は、1個の符号データの有意
部分の送信が終了したと判断し、画信号処理手段6を制
御して、次の符号データおよび参照データを符号データ
テーブル5から読み出させ、第1および第2のシフトレ
ジスタ7.8に各別に格納する。Next, the operation will be explained. The image signal from the reading section 2 is subjected to predetermined processing such as black and white run length calculation by the image signal processing means 6, and a table address signal is output from the image signal processing means 6 according to the content. As a result, the code data as shown in FIG. 2(A), for example, is read out from the code data table 5, and the first code data as shown in FIG. 2(B) is read out.
The reference data stored in the address next to the code data is read out and stored in the second shift register 8. The main controller 1 is
The first and second shift registers 7 at predetermined timing.
.. Shift the contents of 8 bit by bit to the lower digit side, and
The information sent from the least significant bit 7a of the first shift register 7 is stored in a transmission buffer (not shown), and the contents of the least significant bit 7a of the first shift register 7 and the second
The contents of the least significant bit 8a of the shift register 8 are compared. That is, by shifting six times, the last bit "1" of the significant part of the code data is sent from the least significant bit 7a of the first shift register 7, and the contents of the least significant bit 7a of the first shift register 7 and the The contents of the least significant bit 8a of the second shift register 8 are both "0" and match. As a result, the main controller 1 determines that the transmission of the significant part of one piece of code data has been completed, and controls the image signal processing means 6 to read out the next code data and reference data from the code data table 5. and stored separately in the first and second shift registers 7.8.
以下同様の手順により、順次符号データの有意部分が送
信される。Thereafter, the significant portions of the encoded data are sequentially transmitted using the same procedure.
以上の動作を実現するための主制御装置1の動作の概略
を第3図のフローチャートを参照しながら説明する。先
ずステップ1で読み取り部2からの画信号に対応したラ
ンレングスデータすなわちテーブルアドレス信号を画信
号処理手段6から出力させ、図外のAレジスタに格納す
る。次にステップ2に進んで、Aレジスタの内容をアド
レスとする符号データテーブル5の内容を読み出し、第
1のシフトレジスタ7に格納する。次にステップ3に進
んで、Aレジスタの内容に1を加算した値をアドレスと
する符号データテーブル5の内容を読み出し、第2のシ
フトレジスタ8に格納する。An outline of the operation of the main control device 1 for realizing the above operation will be explained with reference to the flowchart of FIG. 3. First, in step 1, run length data corresponding to the image signal from the reading section 2, ie, a table address signal, is outputted from the image signal processing means 6 and stored in an A register (not shown). Next, proceeding to step 2, the contents of the code data table 5 whose address is the contents of the A register are read out and stored in the first shift register 7. Next, proceeding to step 3, the contents of the code data table 5 whose address is the value obtained by adding 1 to the contents of the A register are read out and stored in the second shift register 8.
次にステップ4に進んで、第1のシフトレジスタ7の各
ビットの内容と第2のシフトレジスタ8の各ビットの内
容との論理和を演算し、結果を図外のZレジスタに格納
する。なお、Zレジスタは1ビット以上であればよい。Next, the process proceeds to step 4, where the contents of each bit of the first shift register 7 and the contents of each bit of the second shift register 8 are logically summed, and the result is stored in a Z register (not shown). Note that the Z register only needs to have one bit or more.
次にステップ5に進んで、Zレジスタの最下位ビットの
内容が「0」か否かを判断し、「0」でなければステッ
プ6に進んで、第1のシフトレジスタ7の最下位ビ・ノ
ド7aの内容をバッファに書き込む0次にステ・ノブ7
に進んで、第1および第2のシフトレジスタ7゜8の内
容を下位桁側に1ビットシフトさせ、ステップ4に戻る
。ステップ5において、2レジスタの最下位ビットの内
容が「0」であれば、ステップ1に戻る。Next, the process proceeds to step 5, where it is determined whether or not the content of the least significant bit of the Z register is "0". If not, the process proceeds to step 6, where the content of the least significant bit of the first shift register 7 is determined. Write the contents of node 7a to the buffer 0th step knob 7
Then, the contents of the first and second shift registers 7.8 are shifted by 1 bit to the lower digits, and the process returns to step 4. In step 5, if the content of the least significant bit of register 2 is "0", the process returns to step 1.
このように、符号データの有意部分に対応する各ビット
の内容が符号データと逆の2値情報で、その他の各ビッ
トの内容が符号データと同じ2値情報である参照データ
を用いたので、第1および第2のシフトレジスタ7.8
の内容を1ビットずつ下位桁側にシフトさせるだけで、
符号データの有意部分のパラレル−シリアル変換を行う
ことができると同時に、符号データの存意部分の終了を
判断できる。したがってシフトレジスタよりも構成が複
雑なダウンカウンタが不要であり、製作コストの低減お
よびチップの小型化を図ることができる。In this way, since we used reference data in which the content of each bit corresponding to the significant part of the code data is binary information opposite to the code data, and the content of each other bit is the same binary information as the code data, First and second shift registers 7.8
Simply shift the contents of 1 bit at a time to the lower digits,
Parallel-to-serial conversion can be performed on the significant part of the coded data, and at the same time, the end of the significant part of the coded data can be determined. Therefore, there is no need for a down counter whose structure is more complicated than that of a shift register, and it is possible to reduce manufacturing costs and miniaturize the chip.
発1R裏九果
以上説明したように本発明によれば、任意ビット数の有
意部分を有する所定ビット数の符号データと、この符号
データと同じビット数であり符号データの有意部分に対
応する各ビットの内容が符号データと逆の2値情報でか
つその他の各ビットの内容が符号データと同じ2値情報
である参照デ−タとを、符号データテーブルからテーブ
ルアドレス信号により読み出して所定ビット数の第1お
よび第2のシフトレジスタに各別に格納し、これらシフ
トレジスタの内容を1ビットずつシフトさせて、両シフ
トレジスタの最下位ビットの内容を比較し、両者が一致
すれば符号データの有意部分の最終ビットの内容が前記
第1のシフトレジスタから送り出されたと判断するので
、第1および第2のシフトレジスタの内容を1ビットず
つ下位桁側にシフトさせるだけで、符号データの有意部
分のパラレル−シリアル変換を行うことができると同時
に、符号データの有意部分の終了を判断できる。したが
ってシフトレジスタよりも構成が複雑なダウンカウンタ
が不要であり、製作コストの低減およびチップの小型化
を図ることができるという優れた効果を奏する。As described above, according to the present invention, code data of a predetermined number of bits having a significant part of an arbitrary number of bits, and each code data having the same number of bits as this code data and corresponding to the significant part of the code data The reference data whose bit contents are binary information opposite to the code data and the contents of other bits are the same binary information as the code data is read out from the code data table using a table address signal, and a predetermined number of bits are read out. The contents of these shift registers are shifted one bit at a time, and the contents of the least significant bits of both shift registers are compared. If they match, the sign data is significant. Since it is determined that the contents of the last bit of the part have been sent out from the first shift register, the contents of the first and second shift registers are simply shifted one bit at a time to the lower digit side. Parallel-to-serial conversion can be performed, and at the same time, it is possible to determine the end of the significant portion of code data. Therefore, there is no need for a down counter whose structure is more complicated than that of a shift register, and excellent effects are achieved in that manufacturing costs can be reduced and chips can be made smaller.
第1図は本発明の一実施例における符号化方法の実施に
用いたファクシミリ装置の要部構成図、第2図は符号デ
ータテーブルおよびシフトレジスタに格納されるデータ
の説明図、第3図は主制御装置の動作の概略を説明する
フローチャートである。
5−符号データテーブル、7−第1のシフトレジスタ、
8・・・第2のシフトレジスタ。
特許出願人 : 村田機械株式会社
第1図
第2図(A)FIG. 1 is a block diagram of the main parts of a facsimile machine used to implement the encoding method in an embodiment of the present invention, FIG. 2 is an explanatory diagram of the code data table and data stored in the shift register, and FIG. 3 is a flowchart illustrating an outline of the operation of the main control device. 5-code data table; 7-first shift register;
8...Second shift register. Patent applicant: Murata Machinery Co., Ltd. Figure 1 Figure 2 (A)
Claims (1)
るファクシミリ装置の符号化方法において、任意ビット
数の有意部分を有する所定ビット数の符号データと、こ
の符号データと同じビット数であり符号データの有意部
分に対応する各ビットの内容が符号データと逆の2値情
報でかつその他の各ビットの内容が符号データと同じ2
値情報である参照データとを、符号データテーブルから
テーブルアドレス信号により読み出して所定ビット数の
第1および第2のシフトレジスタに各別に格納し、これ
らシフトレジスタの内容を1ビットずつシフトさせて、
両シフトレジスタの最下位ビットの内容を比較し、両者
が一致すれば符号データの有意部分の最終ビットの内容
が前記第1のシフトレジスタから送り出されたと判断す
ることを特徴とするファクシミリ装置の符号化方法。(1) In the encoding method of a facsimile machine that encodes and transmits an image signal using a redundancy suppression method, code data of a predetermined number of bits having a significant part of an arbitrary number of bits and a code having the same number of bits as this code data The content of each bit corresponding to the significant part of the data is binary information opposite to the coded data, and the content of each other bit is the same as the coded data.
Reference data, which is value information, is read from the code data table using a table address signal and stored separately in first and second shift registers each having a predetermined number of bits, and the contents of these shift registers are shifted one bit at a time.
A code for a facsimile machine, characterized in that the contents of the least significant bits of both shift registers are compared, and if they match, it is determined that the contents of the last bit of the significant part of the code data has been sent out from the first shift register. method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2309197A JPH04180359A (en) | 1990-11-14 | 1990-11-14 | Encoding method for facsimile equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2309197A JPH04180359A (en) | 1990-11-14 | 1990-11-14 | Encoding method for facsimile equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04180359A true JPH04180359A (en) | 1992-06-26 |
Family
ID=17990098
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2309197A Pending JPH04180359A (en) | 1990-11-14 | 1990-11-14 | Encoding method for facsimile equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04180359A (en) |
-
1990
- 1990-11-14 JP JP2309197A patent/JPH04180359A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4776025A (en) | Neighbor image processing exclusive memory | |
US5751233A (en) | Decoding apparatus and method therefor | |
JPS60502080A (en) | Facsimile machine for run length coding | |
JPS632370B2 (en) | ||
EA200201010A1 (en) | ELECTION DATA COMPRESSION FOR DIGITAL MESSAGE INFORMATION | |
US5408476A (en) | One bit error correction method having actual data reproduction function | |
JPH05145770A (en) | Encoding/decoding device | |
JPH04180359A (en) | Encoding method for facsimile equipment | |
US5093831A (en) | Fast calculation circuit for cyclic redundancy check code | |
EP0283847A3 (en) | Apparatus for selecting a reference line for image data compression | |
JPH0255987B2 (en) | ||
JPS5673974A (en) | Compression system of picture data | |
EP0499225B1 (en) | Variable-length code decoding device | |
JPH07177040A (en) | Variable length encoder | |
US4739504A (en) | IC chip error detecting and correcting method | |
JPH04176264A (en) | Coding method for facsimile equipment | |
JPS586345B2 (en) | Fukugo Kasouchi | |
JPH04176263A (en) | Variable code length transmitting system for facsimile equipment | |
JP3138342B2 (en) | Variable length code decoding device | |
JPS5894274A (en) | Picture signal encoding system | |
KR880012030A (en) | Data receiver | |
JPS6291081A (en) | Facsimile encoder | |
JPS63299412A (en) | Sequential decoder | |
JPH04215377A (en) | Encoding method for facsimile device | |
SU873435A1 (en) | Device for receiving descrete data |