Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0149072B2 - - Google Patents
[go: Go Back, main page]

JPH0149072B2 - - Google Patents

Info

Publication number
JPH0149072B2
JPH0149072B2 JP57168509A JP16850982A JPH0149072B2 JP H0149072 B2 JPH0149072 B2 JP H0149072B2 JP 57168509 A JP57168509 A JP 57168509A JP 16850982 A JP16850982 A JP 16850982A JP H0149072 B2 JPH0149072 B2 JP H0149072B2
Authority
JP
Japan
Prior art keywords
circuit
image signal
change
memory
change point
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
JP57168509A
Other languages
Japanese (ja)
Other versions
JPS5958971A (en
Inventor
Kozo Nakamura
Yasuyuki Kojima
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP16850982A priority Critical patent/JPS5958971A/en
Publication of JPS5958971A publication Critical patent/JPS5958971A/en
Publication of JPH0149072B2 publication Critical patent/JPH0149072B2/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)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はフアクシミリ画像符号化回路に係り、
特にModified Huffman符号のようなランレング
ス符号化処理をするのに好適な符号化回路に関す
る。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a facsimile image encoding circuit,
In particular, the present invention relates to an encoding circuit suitable for performing run-length encoding processing such as a modified Huffman code.

〔従来技術〕[Prior art]

従来のフアクシミリ画像符号化回路は、デイジ
タル画像信号の1ビツトを1ワードとして記憶す
るメモリを持ち、このメモリからシリアルに画像
信号を読み出し、白画素から黒画素あるいは黒画
素から白画素へ変化する点(以下変化点と呼ぶ)
を見つけ出し、以前の変化点から現在の変化点ま
での画素数(ランレングス)をカウンタで求め、
その値を符号化するランレングス符号化処理を行
つていた。このような方法によるランレングス符
号化処理では、従来より更に高速に符号化処理す
るには、高速にメモリから画像信号を読み出す必
要が生じ、このため高価な高速動作形のメモリが
必要となつた。このような欠点を解消する手段と
して、複数ビツトを1ワードとして記憶するメモ
リを用い、このメモリからワード単位で画像信号
の複数ビツトをパラレルに読み出し、これをシリ
アルデータに変換して変化点を見つける方法が考
えられる。例えば、1ワードを8ビツトとする
と、1ワードが1ビツトの場合に比べて1ビツト
当り8倍の速度で読み出すことができる。しか
し、上記のようにして変化点を見つける方法で
は、パラレルデータをシリアルデータに変換する
回路及び変化点を見つける回路及びランレングス
をカウントする回路はメモリから画像信号をワー
ド単位で読み出す速度に比べ8倍の高速動作が要
求され、高速動作形の回路要素が必要である。
A conventional facsimile image encoding circuit has a memory that stores one bit of a digital image signal as one word, reads out the image signal serially from this memory, and changes from a white pixel to a black pixel or from a black pixel to a white pixel. (hereinafter referred to as the change point)
Find out the number of pixels (run length) from the previous change point to the current change point using a counter,
A run-length encoding process was performed to encode the value. In run-length encoding processing using this method, in order to perform encoding processing faster than conventional methods, it is necessary to read out image signals from memory at high speed, which requires expensive high-speed memory. . As a means to overcome these drawbacks, a memory that stores multiple bits as one word is used, and multiple bits of the image signal are read out in parallel in word units from this memory, and this is converted into serial data to find the change point. There are possible ways. For example, if one word is made up of 8 bits, each bit can be read eight times faster than when one word is made up of one bit. However, in the method of finding the change point as described above, the circuit for converting parallel data into serial data, the circuit for finding the change point, and the circuit for counting the run length are 8 times faster than reading the image signal from memory in words. Double high-speed operation is required, and high-speed operation type circuit elements are required.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、フアクシミリ等のデイジタル
画像信号を比較的低速動作形の回路要素を用いて
も高速に符号化処理できる符号化回路を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an encoding circuit that can encode digital image signals such as facsimile signals at high speed even when using circuit elements that operate at relatively low speeds.

〔発明の概要〕[Summary of the invention]

本発明は、メモリに記憶された画像信号を順次
読み出し、この画像信号が白画素から黒画素へ変
化する変化点および黒画素から白画素へ変化する
変化点を検出することにより、各変化点間の連続
した白または黒画素数を算出してこれを符号化す
る符号化回路において、複数ビツトを1ワードと
するワード単位で画像信号をパラレルに読み出せ
るメモリと、このメモリから読み出す画像信号の
ワードアドレスを発生するワードアドレス発生回
路と、メモリから読み出された画像信号の白と黒
とを反転させる反転回路と、前記メモリから読み
出された画像信号またはその反転した画像信号を
選択する選択回路と、選択された画像信号を一時
記憶する一時記憶回路と、この一時記憶回路から
パラレル出力されるワード単位の画像信号内の変
化点を検出し、変化点存在信号とワード内の変化
位置信号とを出力する変化位置検出回路と、該ワ
ード内の変化位置信号と該ワードのワードアドレ
スとからなる変化位置を記憶する変化点記憶回路
と、変化点存在信号に応答して前記一時記憶回路
に記憶された画像信号を反転すると共に前記変化
点をなくする回路と、変化点記憶回路に記憶され
た一つ前の変化位置と変化位置検出回路とワード
アドレス発生回路とから出力される変化位置から
変化位置間の画素数を算出する算出回路と、前記
各回路の動作タイミングを制御するコントローラ
とを備えたことを特徴とするものである。
The present invention sequentially reads image signals stored in a memory and detects change points where the image signal changes from a white pixel to a black pixel and a change point where the image signal changes from a black pixel to a white pixel. In an encoding circuit that calculates and encodes the number of consecutive white or black pixels of A word address generation circuit that generates an address, an inversion circuit that inverts the white and black of the image signal read from the memory, and a selection circuit that selects the image signal read from the memory or its inverted image signal. , a temporary storage circuit that temporarily stores the selected image signal, and detects a change point in the word-based image signal outputted in parallel from the temporary storage circuit, and detects a change point presence signal and a change position signal within the word. a change position detection circuit that outputs a change position signal, a change point storage circuit that stores a change position consisting of a change position signal in the word and a word address of the word, and a change point storage circuit that stores the change position in the temporary storage circuit in response to a change point presence signal. A circuit that inverts the image signal and eliminates the change point, and detects a change from the previous change position stored in the change point storage circuit, a change position detection circuit, and a change position output from the word address generation circuit. The present invention is characterized in that it includes a calculation circuit that calculates the number of pixels between positions, and a controller that controls the operation timing of each of the circuits.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を図面を用いて説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

第1図は、フアクシミリ装置に用いられている
ランレングス符号の代表的な符号である国際規格
のModified Huffman Code(以下MH符号と呼
ぶ)の場合の符号化回路のうちで代表的な処理を
つかさどる部分のブロツク図である。MH符号を
用いたフアクシミリ装置が多数市販されており、
また特開昭55−37003号公報や特開昭55−63171号
公報に詳しく説明されているので、ここでは簡単
に処理の流れを説明するのにとどめる。フアクシ
ミリ読取装置等によつて原稿を走査して得たシリ
アルなデイジタル画像信号aは一旦RAM
(Randam Access Memory)等から成るメモリ
200に記憶された後、変化点を検出する回路3
00に読み出される。変化点検出器300はメモ
リ200からデイジタル画像信号bを読み出し変
化点の位置情報信号cをランレングス算出回路4
00に出力する。ランレングス算出回路400
は、変化点の位置情報信号cよりランレングスを
求めランレングス信号dを出力する。そしてMH
符号を記憶したテーブル500を用いてランレン
グス信号dをMH符号信号eに変換する。第1図
ではこれらを制御するコントローラ(多くの場
合、マイクロコンピユータ等で構成される)は省
略している。
Figure 1 shows a typical process in the encoding circuit for the international standard Modified Huffman Code (hereinafter referred to as MH code), which is a typical run-length code used in facsimile equipment. FIG. There are many facsimile devices on the market that use the MH code.
Since this process is explained in detail in Japanese Patent Application Laid-open No. 55-37003 and Japanese Patent Application Laid-open No. 55-63171, only a brief explanation of the processing flow will be given here. The serial digital image signal a obtained by scanning the original with a facsimile reader etc. is temporarily stored in the RAM.
A circuit 3 that detects a change point after being stored in a memory 200 consisting of a random access memory (Random Access Memory), etc.
Reads out as 00. The change point detector 300 reads the digital image signal b from the memory 200 and converts the position information signal c of the change point into the run length calculation circuit 4.
Output to 00. Run length calculation circuit 400
calculates the run length from the position information signal c at the change point and outputs the run length signal d. And M.H.
Run length signal d is converted into MH code signal e using table 500 storing codes. In FIG. 1, a controller (often composed of a microcomputer or the like) that controls these is omitted.

第2図は、本発明による変化点検出回路300
を詳しく説明するためのものである。以下の実施
例では1バイト(8ビツト)を1ワードとする例
で説明する。
FIG. 2 shows a change point detection circuit 300 according to the present invention.
This is to explain in detail. In the following embodiment, one byte (8 bits) will be explained as one word.

メモリ200は、例えば(株)日立製作所製のIC
(Integrated Circuit)メモリ(HM6116)のよう
な1バイト(8ビツト)を1ワードとするメモリ
で構成される。バイトアドレス発生回路310
は、(株)日立製作所製IC(HD6844)のような
DMAC(Direct Memory Access Controller)
で構成され、DMA要求信号pにより、メモリの
特定のバイトアドレス信号gと読み出し信号fを
メモリ200に与えてメモリ200から1バイト
単位でデイジタル画像信号bを読み出し、更にラ
ツチパルスqを出力する。今、白画素を「0」、
黒画素を「1」とすると、画像信号bの変化点検
出が「1」から「0」への変化点かあるいは
「0」から「1」への変化点かによつて、デイジ
タル画像信号bをそのまま選択するかあるいはこ
れを反転回路320で反転した反転画像信号hを
選択するかを、選択信号sと選択回路340によ
つて制御され、これによつて選択された選択回路
340を通過した画像信号iは後で説明するマス
ク回路350を経由した後に変形画像信号jとし
てラツチ回路360に記憶される。またラツチ回
路360から出力される画像信号kは反転回路3
30によつて反転画像信号lとして選択回路34
0に入力され、変化点存在信号Oが出力されたと
きに選択される。変化位置検出回路370は、例
えばテキサスインスツルメント社製IC
(SN74LS148)のようなもので構成され、ラツチ
回路360から出力される変化画像信号kに
「0」があるか否か、すなわち変化点が存在した
か否かを示す変化点存在信号Oと、下位ビツトか
ら見て初めて「0」が現れた位置、すなわち変化
点のビツトアドレスmを出力する。メモリ200
から読み出した1バイトのデイジタル画像信号に
変化点が存在するまで、すなわち変化点存在信号
Oが出力されるまで、メモリのバイトアドレス信
号gをインクリメントしながら上記一連の動作が
繰り返えされる。マスク回路350は、変化点存
在信号Oが出力されていない場合は何もしない
が、変化点存在信号Oが出力されると「0」ビツ
ト目からビツトアドレスmで示される変化点ま
で、あるいは(m−1)ビツトまでを強制的に
「1」にぬりかえることによつて既に検出済みの
変化点をなくするものである。
The memory 200 is, for example, an IC manufactured by Hitachi, Ltd.
(Integrated Circuit) memory (HM6116), where 1 byte (8 bits) constitutes 1 word. Byte address generation circuit 310
is an IC (HD6844) made by Hitachi, Ltd.
DMAC (Direct Memory Access Controller)
In response to a DMA request signal p, a specific byte address signal g and a read signal f of the memory are given to the memory 200, a digital image signal b is read out from the memory 200 in units of bytes, and a latch pulse q is output. Now, set the white pixel to “0”,
Assuming that a black pixel is "1", the digital image signal b depends on whether the change point of the image signal b is detected from "1" to "0" or from "0" to "1". The selection signal s and the selection circuit 340 control whether to select the image signal h as it is or to select the inverted image signal h obtained by inverting it by the inversion circuit 320. The image signal i passes through a mask circuit 350, which will be described later, and is then stored in a latch circuit 360 as a modified image signal j. Further, the image signal k output from the latch circuit 360 is transmitted to the inverting circuit 3.
30 as the inverted image signal l by the selection circuit 34
0 and is selected when the change point presence signal O is output. The change position detection circuit 370 is, for example, an IC manufactured by Texas Instruments.
(SN74LS148), and a change point presence signal O indicating whether or not there is "0" in the change image signal k output from the latch circuit 360, that is, whether or not a change point exists; The bit address m of the position where "0" appears for the first time as viewed from the lower bits, that is, the point of change, is output. memory 200
The above series of operations is repeated while incrementing the byte address signal g of the memory until a changing point exists in the 1-byte digital image signal read from the 1-byte digital image signal, that is, until a changing point presence signal O is output. The mask circuit 350 does nothing when the change point presence signal O is not output, but when the change point presence signal O is output, it moves from the "0" bit to the change point indicated by the bit address m, or ( By forcibly recoloring up to the m-1) bit to "1", the already detected change point is eliminated.

第6図は、第2図のマスク回路350及びラツ
チ回路360及び変化位置検出回路370を更に
詳細に記述したものである。マスク回路350を
参照符号351で示したテキサスインスツルメン
ト社製のIC(SN74LS138)とゲート回路352で
構成し、ラツチ回路360を同社製のIC
(SN74LS373)、変化位置検出回路370を同社
製のIC(SN74LS148)で構成した例である。
FIG. 6 describes the mask circuit 350, latch circuit 360, and change position detection circuit 370 of FIG. 2 in more detail. The mask circuit 350 is composed of an IC (SN74LS138) made by Texas Instruments, indicated by the reference numeral 351, and a gate circuit 352, and the latch circuit 360 is made up of an IC made by Texas Instruments.
(SN74LS373) is an example in which the change position detection circuit 370 is configured with an IC manufactured by the same company (SN74LS148).

これら一連の動作を、メモリ200の内容が第
3図に示すような場合を例として第4図のタイム
チヤートを参照して説明する。メモリ200内の
信号は、若いバイトアドレスにあるものほど原稿
の1ライン内の左側の画素の画像信号で、各バイ
ト内ではビツトアドレスの若い信号ほど左側の画
素の画像信号とする。第4図の区間I〜Vは、説
明のために便宜上つけたものである。区間Iでは
初期値としてバイトアドレスgおよびランレング
スdの算出開始点nが「0」であるとする。ま
た、初めは画像信号bの「1」から「0」への変
化点を検出するものとし、選択信号sは「0」と
する。まず、バイトアドレス発生回路310は、
バイトアドレスgとして0番地を出力し、読み出
し信号fを出力して画像信号bをメモリ200か
ら画像信号bを読み出し、ラツチパルスqを出力
してラツチ回路360に画像信号jをラツチさせ
る。第3図より0番地の画像信号は7ビツト目か
ら順に「11111111」であるため、ラツチ回路36
0から出力される画像信号kは「11111111」とな
る(第4図では、これを16進数で表している)。
この画像信号kに「0」が存在しないため、変化
点存在信号Oは「0」のままである。区間で
は、バイトアドレスgが1番地の内容を区間Iと
同様にして読み出し、ラツチ回路360にラツチ
する。このときラツチ回路360から出力される
画像信号kは「00000111」となり、下位ビツトか
ら見て初めて「0」となつたビツトアドレス
「3」がビツトアドレスmに出力され、かつ変化
点存在信号Oが「1」となる。差分回路420
は、バイトアドレスgが「1」でビツトアドレス
mが「3」であることからAポートに「11」が入
力され、Bポートには始点nの「0」が入力され
るため、その差「11」をランレングスdとして出
力する。コントローラ600は、変化点存在信号
Oより変化点があつたことを知り、ランレングス
dを入力して所定の符号化処理を行う。また、区
間にて選択信号sを反転させ、ラツチパルスr
とuを出力する。ラツチパルスuによつてラツチ
回路410には「11」がラツチされ、差分回路4
20のBポートに入力される始点nは「11」とな
る。区間でラツチ回路360にラツチされる画
像信号jは、変化点存在信号Oが「1」であるた
め反転回路330及びマスク回路350を経由し
てきた画像信号である。区間での信号
「00000111」は反転回路330によつて
「11111000」となり、更にマスク回路350によ
つてビツトアドレスmで示される3ビツト目まで
を「1」にぬりかえられ「11111111」となりこれ
がラツチ回路360にラツチされ画像信号kとな
る。これによつて変化位置検出回路370から出
力される変化点存在信号Oは「0」となる。区間
は、画像信号が「0」から「1」へ変化する点
を検出するモードである。選択信号sは「1」と
なつているため、区間で読み出された2番地の
バイトアドレスの画像信号bは、反転回路320
を経由してラツチ回路360にラツチされる。2
番地の画像信号bは「00000000」であるから、ラ
ツチ回路360にラツチされ、出力される画像信
号kは「11111111」となり、変化点存在信号Oは
「0」のままである。区間Vではバイトアドレス
が3番地の画像信号「11100000」が読み出され、
反転したものが選択されてラツチ回路360にラ
ツチされるので画像信号kは「00011111」なる。
よつて変化点存在信号Oが「1」となり、ビツト
アドレスmは「5」となる。バイトアドレスgが
「3」でバイトアドレスmが「5」であるから、
差分回路420のAポートは「29」となる。また
Bポートは始点nとして「11」となつているた
め、その差「18」がランレングスdとして出力さ
れる。以下同様に、上記の動作をくり返すことに
より、ランレングスを得る。
These series of operations will be explained with reference to the time chart of FIG. 4, taking as an example the case where the contents of the memory 200 are as shown in FIG. As for the signals in the memory 200, the smaller the byte address, the more the image signal is for the left pixel within one line of the document, and within each byte, the smaller the bit address, the more the signal is the image signal for the left pixel. Sections IV to V in FIG. 4 are provided for convenience of explanation. In section I, the calculation starting point n of byte address g and run length d is assumed to be "0" as an initial value. Further, initially, it is assumed that a change point of the image signal b from "1" to "0" is detected, and the selection signal s is "0". First, the byte address generation circuit 310
Address 0 is output as the byte address g, a read signal f is output to read the image signal b from the memory 200, and a latch pulse q is output to cause the latch circuit 360 to latch the image signal j. From FIG. 3, the image signal at address 0 is "11111111" starting from the 7th bit, so the latch circuit 36
The image signal k outputted from 0 becomes "11111111" (this is expressed in hexadecimal notation in FIG. 4).
Since "0" does not exist in this image signal k, the change point presence signal O remains "0". In the section, the contents of byte address g at 1 are read out in the same way as in section I, and latched in the latch circuit 360. At this time, the image signal k output from the latch circuit 360 becomes "00000111", the bit address "3" which becomes "0" for the first time from the lower bit is output to the bit address m, and the change point existence signal O is output. It becomes "1". Differential circuit 420
Since the byte address g is "1" and the bit address m is "3", "11" is input to the A port, and "0" of the starting point n is input to the B port, so the difference is "11'' is output as the run length d. The controller 600 knows that a change point has occurred from the change point presence signal O, inputs the run length d, and performs a predetermined encoding process. In addition, the selection signal s is inverted in the interval, and the latch pulse r
and u are output. "11" is latched in the latch circuit 410 by the latch pulse u, and the difference circuit 4
The starting point n input to the B port of No. 20 is "11". The image signal j latched by the latch circuit 360 in the section is an image signal that has passed through the inversion circuit 330 and the mask circuit 350 because the change point presence signal O is "1". The signal "00000111" in the section becomes "11111000" by the inverting circuit 330, and then the mask circuit 350 recolors up to the third bit indicated by the bit address m to "1", resulting in "11111111", which is then latched. It is latched in circuit 360 and becomes image signal k. As a result, the change point presence signal O output from the change position detection circuit 370 becomes "0". The section is a mode for detecting the point where the image signal changes from "0" to "1". Since the selection signal s is "1", the image signal b at the byte address of address 2 read in the section is sent to the inverting circuit 320.
The signal is latched by the latch circuit 360 via the latch circuit 360. 2
Since the image signal b at the address is "00000000", the image signal k latched by the latch circuit 360 and outputted is "11111111", and the change point existence signal O remains "0". In section V, the image signal "11100000" with byte address 3 is read out,
Since the inverted one is selected and latched by the latch circuit 360, the image signal k becomes "00011111".
Therefore, the change point presence signal O becomes "1" and the bit address m becomes "5". Since byte address g is "3" and byte address m is "5",
The A port of the differential circuit 420 is "29". Also, since the starting point n of the B port is "11", the difference "18" is output as the run length d. Similarly, the run length is obtained by repeating the above operation.

第5図は、コントローラ600の動作の流れを
示すフローチヤートである。本フローチヤートは
1走査線ごとに起動がかけられる。処理1000
にて、変化点検出回路300及びランレングス算
出回路400のイニシヤライズを行う。すなわ
ち、バイトアドレス発生回路310に、メモリ2
00のスタートアドレスを設定し、起動をかけ、
ラツチ回路410をクリアし、選択信号sを
「0」とする。処理2000では、変化点存在信
号Oを監視し、変化点の有無を判定する。変化点
が存在した場合、処理3000に進み、ランレン
グスdを入力する。処理4000では、ランレン
グスdをもとに、MH符号のテーブルを参照して
ランレングスdをMH符号に変換する。処理50
00では、1走査線分の全ての処理が終了したか
否かを判定する。これは、システムによつて1走
査線に存在する画像信号の画素数がある値に固定
されているため、たとえばランレングスの合計が
1走査線分の画素数と一致するか否かで判定でき
る。1走査線分の全ての処理が終了していない場
合は、処理6000に進む。処理6000では、
選択信号sを反転させ、ラツチ回路410及び3
60にラツチパルスu及びrを出力して、処理2
000に戻る。
FIG. 5 is a flowchart showing the flow of operations of the controller 600. This flowchart is activated for each scanning line. Processing 1000
At this point, the change point detection circuit 300 and run length calculation circuit 400 are initialized. That is, byte address generation circuit 310 has memory 2
Set the start address of 00, start it,
The latch circuit 410 is cleared and the selection signal s is set to "0". In process 2000, the change point presence signal O is monitored and the presence or absence of a change point is determined. If a change point exists, the process advances to step 3000 and inputs the run length d. In process 4000, the run length d is converted into an MH code by referring to the MH code table based on the run length d. Processing 50
At 00, it is determined whether all processing for one scanning line has been completed. This is because the number of pixels of the image signal that exists in one scanning line is fixed to a certain value by the system, so it can be determined by, for example, whether the sum of the run lengths matches the number of pixels for one scanning line. . If all processing for one scanning line has not been completed, the process advances to processing 6000. In processing 6000,
The selection signal s is inverted and the latch circuits 410 and 3
Output latch pulses u and r to 60, and process 2
Return to 000.

以上の説明から明らかなように、ランレングス
符号化処理のために、メモリ200から読み出す
画像信号bは、1バイト(8ビツト)単位である
ので、少ないメモリアクセス回数で多量の画像信
号bを読み出すことができ、高速で符号化処理す
る場合であつても比較的低速動作形のメモリを使
用できる。また変化点検出も1バイト単位でパラ
レルデータ処理によつて行なわれるので、多量の
画像信号bを比較的少ない動作回数で処理するこ
とができ、このための回路要素も比較的低速動作
形のもので足りる。例えば、ランレングスが
「256」である場合に、従来のように1ビツト単位
で処理するとメモリアクセス回数は256回、変化
点検出回路動作回数も256回となるが、本実施例
のよう1バイト単位で処理すれば、メモリアクセ
ス回数は32回ですむ。また、変化点検出回路の動
作回数は変化点数がN個の場合は(32+N)回で
すむ。これは同一量の画像信号を同一時間内に処
理する場合に要求される回路要素の動作速度が最
小1/8で良いこと、同一動作速度の回路要素であ
れば最大8倍の処理速度が得られることを意味す
る。
As is clear from the above explanation, since the image signal b is read out from the memory 200 in units of 1 byte (8 bits) for run-length encoding processing, a large amount of image signal b can be read out with a small number of memory accesses. Therefore, even when performing high-speed encoding processing, a relatively low-speed operating memory can be used. In addition, since change point detection is also performed by parallel data processing in 1-byte units, a large amount of image signal b can be processed with a relatively small number of operations, and the circuit elements for this are also relatively slow-operating types. That's enough. For example, if the run length is "256" and the process is performed in units of 1 bit as in the conventional method, the number of memory accesses will be 256 and the number of times the change point detection circuit will operate will be 256. If it is processed in units, the number of memory accesses is only 32. Further, the number of operations of the change point detection circuit is only (32+N) times when the number of change points is N. This means that when processing the same amount of image signals in the same amount of time, the operating speed of the circuit elements required is at least 1/8, and if the circuit elements have the same operating speed, the processing speed can be up to 8 times faster. means to be

〔発明の効果〕〔Effect of the invention〕

以上のように本発明によれば、メモリからの画
像信号がバイト単位で読み出され、変化点検出も
パラレル信号処理によつて行なわれるので、比較
的低速動作形の安価なメモリとその他の回路要素
によつて高速な符号化処理を実現できる効果があ
る。
As described above, according to the present invention, the image signal from the memory is read out in byte units, and the change point detection is also performed by parallel signal processing. This has the effect of realizing high-speed encoding processing depending on the element.

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

第1図は、符号化処理を行う回路の中心部分の
ブロツク図、第2図は本発明による変化点検出回
路の詳細ブロツク図、第3図はメモリ記憶データ
割付図、第4図は動作タイムチヤート、第5図は
コントローラのフローチヤート、第6図は第2図
の一部詳細図である。 200……メモリ、310……バイトアドレス
発生回路、320,330……反転回路、340
……選択回路、350……マスク回路、360…
…ラツチ回路、370……変化位置検出回路、4
10……ラツチ回路、420……差分回路、60
0……コントローラ。
Figure 1 is a block diagram of the central part of the circuit that performs encoding processing, Figure 2 is a detailed block diagram of the change point detection circuit according to the present invention, Figure 3 is a memory storage data allocation diagram, and Figure 4 is the operating time. 5 is a flowchart of the controller, and FIG. 6 is a partially detailed diagram of FIG. 2. 200...Memory, 310...Byte address generation circuit, 320, 330...Inversion circuit, 340
...Selection circuit, 350...Mask circuit, 360...
... Latch circuit, 370 ... Change position detection circuit, 4
10... Latch circuit, 420... Differential circuit, 60
0...Controller.

Claims (1)

【特許請求の範囲】[Claims] 1 メモリに記憶された画像信号を順次読み出
し、この画像信号が白画素から黒画素へ変化する
変化点および黒画素から白画素へ変化する変化点
を検出することにより、各変化点間の連続した白
または黒画素数を算出してこれを符号化する符号
化回路において、複数ビツトを1ワードとするワ
ード単位で画像信号をパラレルに読み出せるメモ
リと、このメモリから読み出す画像信号のワード
アドレスを発生するワードアドレス発生回路と、
メモリから読み出された画像信号の白と黒とを反
転させる反転回路と、前記メモリから読み出され
た画像信号またはその反転した画像信号を選択す
る選択回路と、選択された画像信号を一時記憶す
る一時記憶回路と、この一時記憶回路からパラレ
ル出力されるワード単位の画像信号内の変化点を
検出し、変化点存在信号とワード内の変化位置信
号とを出力する変化位置検出回路と、該ワード内
の変化位置信号と該ワードのワードアドレスとか
らなる変化位置を記憶する変化点記憶回路と、変
化点存在信号に応答して前記一時記憶回路に記憶
された画像信号を反転すると共に前記変化点をな
くする回路と、変化点記憶回路に記憶された一つ
前の変化位置と変化位置検出回路とワードアドレ
ス発生回路とから出力される変化位置から変化位
置間の画素数を算出する算出回路と、前記各回路
の動作タイミングを制御するコントローラとを備
えたことを特徴とする符号化回路。
1. By sequentially reading out the image signals stored in the memory and detecting the change points where the image signals change from white pixels to black pixels and from black pixels to white pixels, the continuous change points between each change point are detected. In the encoding circuit that calculates the number of white or black pixels and encodes it, a memory that can read out the image signal in parallel in word units, each word consisting of multiple bits, and a word address for the image signal read out from this memory are generated. a word address generation circuit,
an inversion circuit that inverts the white and black of the image signal read from the memory; a selection circuit that selects the image signal read from the memory or the inverted image signal; and a temporary storage for the selected image signal. a temporary storage circuit for detecting a change point in an image signal in units of words outputted in parallel from the temporary storage circuit, and a change position detection circuit for outputting a change point presence signal and a change position signal within the word; a change point memory circuit that stores a change position consisting of a change position signal in a word and a word address of the word; and a change point memory circuit that inverts the image signal stored in the temporary storage circuit in response to a change point presence signal and stores the change point. A calculation circuit that calculates the number of pixels between the change positions from the previous change position stored in the change point storage circuit, the change position detection circuit, and the word address generation circuit. and a controller that controls the operation timing of each of the circuits.
JP16850982A 1982-09-29 1982-09-29 Coding circuit Granted JPS5958971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16850982A JPS5958971A (en) 1982-09-29 1982-09-29 Coding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16850982A JPS5958971A (en) 1982-09-29 1982-09-29 Coding circuit

Publications (2)

Publication Number Publication Date
JPS5958971A JPS5958971A (en) 1984-04-04
JPH0149072B2 true JPH0149072B2 (en) 1989-10-23

Family

ID=15869364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16850982A Granted JPS5958971A (en) 1982-09-29 1982-09-29 Coding circuit

Country Status (1)

Country Link
JP (1) JPS5958971A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4542413A (en) * 1983-08-19 1985-09-17 Advanced Micro Devices, Inc. Facsimile device for run length coding
JPS61181274A (en) * 1985-02-07 1986-08-13 Hitachi Ltd Changing point detecting circuit
JP2877236B2 (en) * 1991-01-31 1999-03-31 松下電送 株式会社 Encoding device
JP3904370B2 (en) 2000-04-12 2007-04-11 富士通株式会社 Data compression processing method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58215868A (en) * 1982-06-09 1983-12-15 Nippon Telegr & Teleph Corp <Ntt> Line memory circuit for encode-decoder of facsimile for suppressing two dimensional redundancy

Also Published As

Publication number Publication date
JPS5958971A (en) 1984-04-04

Similar Documents

Publication Publication Date Title
US5287193A (en) Parallel processing architecture of run-length codes
US4647908A (en) Codeword decoding
JPH04199981A (en) Prompt processing type one-dimensional coder
US4955061A (en) Method and apparatus for processing an image signal
US5345316A (en) Image data encoding/decoding apparatus for concurrent processing of multiple image data streams
US5305111A (en) Run length encoding method and system
JPH0149072B2 (en)
US4121258A (en) Method for coding facsimile signal
JPS6338152B2 (en)
JPS6362151B2 (en)
JPS646589B2 (en)
JPS6339187B2 (en)
JPS6341276B2 (en)
JP2795023B2 (en) Encoding device
JPH0427754B2 (en)
JP3142911B2 (en) Processing method of encoding / decoding device
JP2556160B2 (en) Compression code decompression device
JPS6132867B2 (en)
JPS61284178A (en) One-dimensional code decoding circuit
JPS6141466B2 (en)
JPS6077576A (en) Change point detecting circuit
JPS59156073A (en) Data decoding device
JPS61176286A (en) Image communication device
JPS585551B2 (en) Gazousingoufugoukadensouhoushiki
JPH0125266B2 (en)