JPS6365271B2 - - Google Patents
Info
- Publication number
- JPS6365271B2 JPS6365271B2 JP9883082A JP9883082A JPS6365271B2 JP S6365271 B2 JPS6365271 B2 JP S6365271B2 JP 9883082 A JP9883082 A JP 9883082A JP 9883082 A JP9883082 A JP 9883082A JP S6365271 B2 JPS6365271 B2 JP S6365271B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- scanning line
- image signals
- pixels
- blocks
- 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
Links
- 230000001629 suppression Effects 0.000 claims description 4
- 238000001514 detection method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/41—Bandwidth or redundancy reduction
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
Description
【発明の詳細な説明】
(1) 発明の属する分野の説明
本発明は、フアクシミリ2次元冗長度抑圧符
号・復号器に適用するラインメモリ回路の改良に
関するものである。DETAILED DESCRIPTION OF THE INVENTION (1) Description of the field to which the invention pertains The present invention relates to an improvement in a line memory circuit applied to a facsimile two-dimensional redundancy suppressing code/decoder.
(2) 従来の技術の説明
従来、フアクシミリ2次元冗長度抑圧符号・復
号器、例えば国際電信電話諮問委員会(CCITT)
に於て電話網用フアクシミリに対して、標準化さ
れているモデイフアイドリード(Modified
Read、略してMR)符号化方式の符号・復号器
のラインメモリ回路は、少なくとも符号化を行つ
ている現走査線の1走査線分の画信号を蓄積可能
な容量を有するメモリ#1と、1走査線前に符号
化された参照走査線の1走査線分の画信号を蓄積
可能な容量を有するメモリ#2とを具備し、さら
に画信号を連続的に入力する為に1走査線分の画
信号を蓄積可能な容量を有するメモリ#3とを具
備し、これらを順次メモリ#1→メモリ#2、メ
モリ#2→メモリ#3、メモリ#3→メモリ#1
と切替えて使用する構成となつていた。このため
に、例えば1走査線の1728画素とすると合計5184
画素のメモリを必要とした。この構成のラインメ
モリを用いて符号又は復号器をLSI化する場合、
メモリに論理回路換算でおよそ3Kgateを必要と
し、符号又は復号化の処理を行う論理回路に必要
な約12Kgateの約25%に達し、1チツプのLSI上
にメモリと論理回路とを同時に具備させるのは困
難であつた。そのため仮に符号又は復号の論理回
路をLSI化したとしても、メモリを別チツプの
LSIで構成することとなり符号器又は復号器全体
としては複数のチツプを必要とする欠点があつ
た。また、符号又は復号の論理回路LSIの端子と
して、メモリとの接続を可能とするアドレス及び
データバスを1728画素の場合およそ18端子必要と
し、LSIの端子構成が複雑となる欠点があつた。(2) Description of conventional technology Conventionally, facsimile two-dimensional redundancy suppression code/decoder, such as Consultative Committee for International Telegraph and Telephone (CCITT)
Modified leads are standardized for telephone network facsimile systems in
The line memory circuit of the encoder/decoder using the Read (abbreviated as MR) encoding method includes a memory #1 having a capacity capable of storing image signals for at least one scanning line of the current scanning line being encoded; The memory #2 has a capacity capable of storing image signals for one scanning line of the reference scanning line encoded one scanning line before, and also has a capacity for storing image signals for one scanning line in order to continuously input image signals. memory #3 having a capacity capable of storing image signals of
It was designed to be used by switching between the two. For this reason, for example, if one scanning line has 1728 pixels, the total number of pixels is 5184.
Required pixel memory. When converting a code or decoder into an LSI using a line memory with this configuration,
The memory requires approximately 3Kgates in terms of logic circuits, which is approximately 25% of the approximately 12Kgates required for logic circuits that perform encoding or decoding processing, and it is difficult to simultaneously provide memory and logic circuits on one LSI chip. was difficult. Therefore, even if the encoding or decoding logic circuit is made into an LSI, the memory will be placed on a separate chip.
Since it was constructed using LSI, the encoder or decoder as a whole had the disadvantage of requiring multiple chips. In addition, as terminals for the logic circuit LSI for encoding or decoding, approximately 18 terminals are required for an address and data bus that can be connected to memory in the case of 1728 pixels, which has the disadvantage of complicating the terminal configuration of the LSI.
(3) 発明の目的
本発明はこれらの欠点を解決するため、1走査
線分の画信号を蓄積可能な容量を有するメモリa
と、1画素又は数画素からなるブロツクの1又は
複数ブロツク分を蓄積可能な容量を有するメモリ
bだけを用いてラインメモリ回路を構成するよう
にしたもので、1走査線1728画素の場合、論理回
路換算で約1Kgateと、論理回路の約8%程度を
費やすだけでラインメモリ回路を実現できるよう
にすることを目的としている。(3) Purpose of the Invention In order to solve these drawbacks, the present invention provides a memory a having a capacity capable of storing image signals for one scanning line.
A line memory circuit is constructed using only memory b, which has a capacity to store one or more blocks of one pixel or several blocks.In the case of one scanning line of 1728 pixels, the logic The aim is to make it possible to realize a line memory circuit by using approximately 1Kgate in circuit terms, which is approximately 8% of the logic circuit.
以下図面について詳細に説明する。 The drawings will be explained in detail below.
(4) 発明の構成および作用の説明
第1図はMR符号器に用いた本発明の実施例で
あつて、1は1走査線分の画信号を蓄積可能な容
量を有するメモリa、2は4画素を1ブロツクと
した1ブロツク分の画信号を蓄積可能なメモリ
b、3はメモリaおよびメモリbのブロツクを示
すアドレスポインタ、4aはMR符号器、5aは
入力画信号を4画素ずつ直並列変換して入力する
シフトレジスタ、6は画信号クロツク4クロツク
毎の割込を表示するカウンタ、7は画信号入力の
可・不可を示すラツチ、8はメモリb用アドレス
レジスタ、9はメモリa用書込アドレスレジス
タ、10はメモリa用読出アドレスレジスタ、1
1は変化点アドレスa0レジスタ、12は変化点ア
ドレスa1レジスタ、13は変化点アドレスa2レジ
スタ、14は変化点アドレスb1レジスタ、15は
変化点アドレスb2レジスタ、16はメモリ(a)1と
メモリ(b)2とメモリのアドレスポインタ3とMR
符号器4aとシフトレジスタ5aとを結ぶデータ
バス、17はメモリのアドレスポインタ3への書
込制御線、18はメモリaやメモリbへのアドレ
スバス、19はメモリaやメモリbへの書込制御
線、20はメモリaやメモリbへの読出制御線、
21は割込制御線、22は出力線、23aは入力
画信号、24は画信号クロツク、25aは画信号
入力可表示線である。(4) Description of structure and operation of the invention FIG. 1 shows an embodiment of the invention used in an MR encoder, in which 1 is a memory a having a capacity capable of storing image signals for one scanning line, and 2 is a memory a having a capacity capable of storing image signals for one scanning line. Memory b is capable of storing image signals for one block of four pixels, 3 is an address pointer indicating blocks of memory a and memory b, 4a is an MR encoder, and 5a is a memory that directly stores the input image signal four pixels at a time. Shift register for parallel conversion and input; 6 is a counter that displays an interrupt every 4 clocks of the image signal; 7 is a latch that indicates whether image signal input is possible; 8 is an address register for memory b; 9 is a memory a 10 is a read address register for memory a, 1
1 is the change point address a 0 register, 12 is the change point address a 1 register, 13 is the change point address a 2 register, 14 is the change point address b 1 register, 15 is the change point address b 2 register, 16 is the memory (a )1 and memory (b)2 and memory address pointer 3 and MR
A data bus connects the encoder 4a and the shift register 5a, 17 is a write control line to the memory address pointer 3, 18 is an address bus to memory a and memory b, and 19 is a write control line to memory a and memory b. Control line 20 is a read control line to memory a and memory b,
21 is an interrupt control line, 22 is an output line, 23a is an input image signal, 24 is an image signal clock, and 25a is an image signal input enable display line.
第2図は第1図の実施例における画信号のメモ
リへの書込み・読出しのための説明図であつて、
1走査線の画素数が28画素、7ブロツクの場合を
示している。30は参照走査線、31は現走査
線、32aはメモリ(b)2に蓄積されるブロツクで
ある。 FIG. 2 is an explanatory diagram for writing and reading image signals into and from memory in the embodiment of FIG.
This shows the case where the number of pixels in one scanning line is 28 pixels and 7 blocks. 30 is a reference scanning line, 31 is a current scanning line, and 32a is a block stored in the memory (b) 2.
第1図の実施例の動作を第2図に従つて説明す
る。 The operation of the embodiment shown in FIG. 1 will be explained with reference to FIG.
画信号1走査線の符号化が行われる前には、す
でに参照走査線全画素30が、メモリ(a)1に蓄積
されている。ページの開始時には、メモリ(a)1に
は全白が蓄積されている。また、MR符号器4a
は、メモリa用書込アドレスレジスタ9、メモリ
a用読出アドレスレジスタ10を第1ブロツクに
セツトする。 Before one scanning line of the image signal is encoded, all the pixels 30 of the reference scanning line have already been stored in the memory (a) 1. At the start of a page, all white is stored in memory (a) 1. In addition, the MR encoder 4a
sets the memory a write address register 9 and the memory a read address register 10 in the first block.
各ステツプとも、画信号の入力は画信号クロツ
ク24をカウンタ6で1/4分周して、割込制御線
21によりMR符号器4aに割込をかけることに
より行う。MR符号器4aは、入力画信号23a
より入力されブロツク毎に直並列変換されてシフ
トレジスタ5aに蓄積された1ブロツク分の画信
号をメモリa用書込アドレスレジスタ9の示すメ
モリ(a)1のブロツクに書込む。またMR符号器4
aは、メモリa用書込アドレスレジスタ9、メモ
リa用読出アドレスレジスタ(a)10aの示すブロ
ツクを比較して、メモリa用書込アドレスレジス
タ9の示すブロツクが、メモリa用読出アドレス
レジスタ(a)10aの示すブロツクを越えないよう
に検査する。メモリa用書込アドレスレジスタ9
の示すブロツクがメモリa用読出アドレスレジス
タ(a)10aの示すブロツクを越える直前に、MR
符号器4aは、出力線22を介してラツチ7によ
り、画信号入力可表示線25aを不可とする。1
度不可表示を行つたラツチ7は、メモリa用読出
アドレスレジスタ10aのブロツクaを増加する
際に可表示にもどされる。画信号入力可表示線2
5aが不可を示している間は、画信号クロツク2
4が停止され画信号は入力されない。 In each step, the image signal is input by dividing the image signal clock 24 into 1/4 by the counter 6 and interrupting the MR encoder 4a via the interrupt control line 21. The MR encoder 4a receives an input image signal 23a
One block's worth of image signals inputted from the block, serial-parallel converted for each block, and stored in the shift register 5a are written into the block of memory (a) 1 indicated by the write address register 9 for memory a. Also, MR encoder 4
A compares the block indicated by the memory a write address register 9 and the memory a read address register (a) 10a, and determines whether the block indicated by the memory a write address register 9 is the memory a read address register (a). a) Inspect to ensure that the block indicated by 10a is not exceeded. Write address register 9 for memory a
Immediately before the block indicated by exceeds the block indicated by the memory a read address register (a) 10a, the MR
The encoder 4a uses the latch 7 via the output line 22 to disable the image signal input/display line 25a. 1
The latch 7, which displayed the disabled display, is returned to the enabled display when the block a of the read address register 10a for the memory a is incremented. Image signal input possible display line 2
While 5a indicates disable, the image signal clock 2
4 is stopped and no image signal is input.
(ステツプ1)
MR符号器4aは1走査線の符号化を開始する
と、参照走査線30の変化点アドレスb1、b2の検
出をまず行う。それにはメモリa用読出アドレス
レジスタ(a)10aの内容を、メモリのアドレスポ
インタ3への書込制御線17を用いて、メモリの
アドレスポインタ3へ出力する。Raはブロツク
1を示しておりアドレスバス18によりメモリ(a)
1へ出力される。(Step 1) When the MR encoder 4a starts encoding one scanning line, it first detects change point addresses b 1 and b 2 of the reference scanning line 30. To do this, the contents of the memory a read address register (a) 10a are output to the memory address pointer 3 using the write control line 17 to the memory address pointer 3. Ra indicates block 1, which is connected to memory (a) by address bus 18.
Output to 1.
次にMR符号器4aは、メモリaの読出制御線
20を用いて、メモリ(a)1のブロツク1より、デ
ータバス16を介してMR符号器4aへ1ブロツ
ク分の画素を入力する。 Next, the MR encoder 4a inputs one block worth of pixels from block 1 of the memory (a) 1 to the MR encoder 4a via the data bus 16 using the read control line 20 of the memory a.
MR符号器4aは、ブロツク1中の変化点を検
査する。 The MR encoder 4a examines the change points in block 1.
第2図の場合は、参照走査線30のブロツク1
には変化点は無い。MR符号器4aはメモリa用
読出アドレスレジスタ(a)10aの内容を1増加
し、ブロツク2を示す。MR符号器4aはブロツ
ク1の場合と同様に、ブロツク2を入力してブロ
ツク2中の変化点を検査する。このようにしてブ
ロツク内の変化点が検出されるまでくり返す。第
2図の場合、ブロツク3内の画素11、12に変化点
が検出され、変化点アドレスb1レジスタ14、変
化点アドレスb2レジスタ15に画素11、12のアド
レスが蓄積される。変化点検出が終つたときMR
符号器4aはb2を検出したブロツク、つまり最後
に検出したブロツク3をメモリ(b)2aに書込む。 In the case of FIG. 2, block 1 of the reference scanning line 30
There is no change point. The MR encoder 4a increments the contents of the memory a read address register (a) 10a by 1 and indicates block 2. As in the case of block 1, MR encoder 4a receives block 2 as input and checks the change point in block 2. This process is repeated until a change point within the block is detected. In the case of FIG. 2, changing points are detected in pixels 11 and 12 in block 3, and the addresses of pixels 11 and 12 are stored in changing point address b 1 register 14 and changing point address b 2 register 15. MR when change point detection is completed
The encoder 4a writes the block in which b2 was detected, that is, the last detected block 3, into the memory (b) 2a.
MR符号器4aは、次に現ラインの変化点アド
レスa1、a2の検出を行う。参照走査線30のブロ
ツク3までの読出しがすでに終了しているので、
メモリ(a)1のブロツク1〜ブロツク3までの領域
には前述した割込みによる画信号入力により現走
査線31のブロツク1〜3までが入力される。 The MR encoder 4a then detects the change point addresses a 1 and a 2 of the current line. Since reading up to block 3 of reference scanning line 30 has already been completed,
Blocks 1 to 3 of the current scanning line 31 are input to the area of blocks 1 to 3 of the memory (a) 1 by the image signal input by the above-mentioned interruption.
MR符号器4aは、メモリa用読出アドレスレ
ジスタ(b)10bを用いて、参照ラインに行つたと
同様にブロツク毎に変化点を検出していく。第2
図の場合、ブロツク1の画素3およびブロツク3
の画素10に変化点が検出され、変化点アドレスa1
レジスタ12、変化点アドレスa2レジスタ13に
画素3、10のアドレスが蓄積される。変化点アド
レスa0は画素0である。変化点アドレス
a0a1a2b1b2が求まつたのでMR符号化が可能であ
る。この場合|a1b1|>3a1<b2なので水平モー
ド|a0a1|、|a1a2|で符号化する。 The MR encoder 4a uses the memory a read address register (b) 10b to detect a change point for each block in the same way as for the reference line. Second
In the case of the figure, pixel 3 of block 1 and block 3
A change point is detected at pixel 10, and the change point address a 1
The addresses of pixels 3 and 10 are stored in register 12 and change point address a2 register 13. The change point address a 0 is pixel 0. Change point address
Since a 0 a 1 a 2 b 1 b 2 has been found, MR encoding is possible. In this case, |a 1 b 1 | > 3a 1 < b 2 , so encoding is performed in horizontal mode |a 0 a 1 |, |a 1 a 2 |.
(ステツプ2)
MR符号器4aは、1つのモードの符号化が終
了すると、ふたたび、参照走査線30の変化点ア
ドレスb1、b2の検出を行う。これは前に符号化さ
れたモードに従い行われる。水平モードの符号化
の場合は、a2<b1となるまで、b1、b2を1組とし
て検出する。第2図の場合、すでにa2<b1である
ので、参照走査線30の変化点検出は行われな
い。(Step 2) When the encoding of one mode is completed, the MR encoder 4a detects the change point addresses b 1 and b 2 of the reference scanning line 30 again. This is done according to the previously encoded mode. In the case of horizontal mode encoding, b 1 and b 2 are detected as a pair until a 2 <b 1 . In the case of FIG. 2, since a 2 <b 1 already holds, no change point detection of the reference scanning line 30 is performed.
MR符号器4aは、次に現走査線31の変化点
検出を行う。 The MR encoder 4a then detects a change point in the current scanning line 31.
第2図の場合、メモリa用読出アドレスレジス
タ(b)10bに従いブロツク3が読出されるが、a0
以外の変化点は検出されない。しかしメモリa用
読出アドレスレジスタ(a)10aにより参照走査線
のブロツク3までしか読出されていないので、メ
モリa用読出アドレスレジスタ(b)10bに従つた
現走査線の読出しはブロツク3までとする。この
場合、b2<a1であることが変化点アドレスa1を検
出しなくても判別出来、パスモードで符号化でき
る。 In the case of FIG. 2, block 3 is read out according to the read address register (b) 10b for memory a, but a 0
No other change points are detected. However, since only up to block 3 of the reference scanning line has been read by the memory a read address register (a) 10a, the current scanning line is read up to block 3 according to the memory a read address register (b) 10b. . In this case, it can be determined that b 2 <a 1 without detecting the change point address a 1 , and it can be encoded in pass mode.
(ステツプ3)
MR符号器4aはパスモードでの符号化の後は
b1、b2を1組として参照走査線のブロツク4、5
を検査し、変化画素15、17を検出し、変化点アド
レスb1、b2を各レジスタに蓄積する。次にブロツ
ク5を上限として、現ラインの変化点検出を行
い、変化画素14、17を検出し、変化点アドレス
a1、a2を各レジスタに蓄積する。この場合|a1b1
|≦3であるので垂直モードとして符号化する。(Step 3) After encoding in pass mode, the MR encoder 4a
Blocks 4 and 5 of reference scanning lines with b 1 and b 2 as one set
is inspected, change pixels 15 and 17 are detected, and change point addresses b 1 and b 2 are stored in each register. Next, change points of the current line are detected using block 5 as the upper limit, change pixels 14 and 17 are detected, and the change point address is
Accumulate a 1 and a 2 in each register. In this case | a 1 b 1
Since |≦3, it is encoded as vertical mode.
(ステツプ4)
MR符号器4aは垂直モードで符号化した後、
参照走査線の変化点検出は、前ステツプのb2をb1
として、b2のみの検出を行う。第2図の場合、ブ
ロツク6までを検査して、変化点アドレスb1、b2
が各レジスタに蓄積される。(Step 4) After the MR encoder 4a encodes in vertical mode,
To detect the change point of the reference scanning line, change b 2 from the previous step to b 1
, only b 2 is detected. In the case of Fig. 2, up to block 6 is inspected and the change point addresses b 1 and b 2 are
is accumulated in each register.
また現走査線の変化点検出も垂直モードで符号
化した後は、前ステツプのa2をa1としてa2のみの
検出を行う。この場合、|a1b1|=0であり垂直
モードで符号化される。 Furthermore, after the change point detection of the current scanning line is also encoded in the vertical mode, only a2 is detected by setting a2 of the previous step to a1 . In this case, |a 1 b 1 |=0 and is encoded in vertical mode.
(ステツプ5)
(ステツプ4)と同様に変化点b1b2、a1a2を検
出できて、|a1b1|≦3であり垂直モードで符号
化する。(Step 5) Similar to (Step 4), the changing points b 1 b 2 and a 1 a 2 can be detected, and |a 1 b 1 |≦3, so they are encoded in the vertical mode.
(ステツプ6)
(ステツプ4)と同様に変化点b1b2、a1a2を検
出できる。ただしこの場合、第29画素を仮想変化
点とする。この場合|a0a1||a1a2|が水平モー
ドで符号化される。現走査線の最終画素が符号化
されたので、1走査線の符号化が終了する。(Step 6) Similar to (Step 4), changing points b 1 b 2 and a 1 a 2 can be detected. However, in this case, the 29th pixel is set as the virtual change point. In this case, |a 0 a 1 | |a 1 a 2 | is encoded in horizontal mode. Since the last pixel of the current scan line has been encoded, the encoding of one scan line is completed.
このとき、メモリ(a)1には第2図の現走査線3
1のブロツク1〜7が蓄積されており次の走査線
の符号化の際の参照走査線として用いることがで
きる。 At this time, the current scanning line 3 in FIG. 2 is stored in memory (a) 1.
1 blocks 1 to 7 are stored and can be used as reference scan lines when encoding the next scan line.
このように動作するので、1走査線分の画信号
を蓄積可能な容量を有するメモリ(a)1と、4画素
からなる1ブロツクを蓄積可能な容量を存するメ
モリ(b)2だけを用いて、MR符号器のラインメモ
リ回路を構成することができる。 Because it operates in this way, only memory (a) 1, which has a capacity to store image signals for one scanning line, and memory (b) 2, which has a capacity to store one block of four pixels, are used. , the line memory circuit of the MR encoder can be configured.
本実施例では1ブロツクは4画素としたが、こ
れは任意の画素数とすることができる。またメモ
リ(b)2は1ブロツクとしたが1ブロツク以上あれ
ば本実施例と同様な動作が可能であることは明ら
かである。 Although one block has four pixels in this embodiment, it can be any number of pixels. Furthermore, although the memory (b) 2 is made to have one block, it is clear that the same operation as in this embodiment is possible if it has one or more blocks.
第3図は、MR符号器に用いた本発明の実施例
であつて、構成は第1図のMR符号器のラインメ
モリ回路とほぼ同じである。4bがMR復号器、
23bが出力画信号である。 FIG. 3 shows an embodiment of the present invention used in an MR encoder, and the configuration is almost the same as the line memory circuit of the MR encoder shown in FIG. 4b is the MR decoder,
23b is an output image signal.
第4図は、第3図の実施例における画信号のメ
モリへの書込み・読出しの説明図であつて、第2
図で符号化された走査線の復号化を示している。 FIG. 4 is an explanatory diagram of writing and reading of image signals into and from memory in the embodiment of FIG.
The figure shows the decoding of encoded scan lines.
第3図の実施例の動作を第4図に従つて説明す
る。 The operation of the embodiment shown in FIG. 3 will be explained with reference to FIG.
画信号1走査線の符号化が行われる前には、す
でに参照走査線全画素30が、メモリ(a)1に蓄積
されている。ページの開始時には、メモリ(a)1に
は全白が蓄積されている。また、MR復号器4b
は、メモリa用書込アドレスレジスタ9、メモリ
a用読出アドレスレジスタ10を第1ブロツクに
セツトする。 Before one scanning line of the image signal is encoded, all the pixels 30 of the reference scanning line have already been stored in the memory (a) 1. At the start of a page, all white is stored in memory (a) 1. In addition, the MR decoder 4b
sets the memory a write address register 9 and the memory a read address register 10 in the first block.
各ステツプとも画信号の出力は、画信号クロツ
ク24を、カウンタ6で1/4分周して、割込制御
線21により、MR復号器4bに割込をかけるこ
とにより行う。MR復号器4bは、ブロツク毎に
画信号を出力し、シフトレジスタ5bに出力す
る。シフトレジスタ5bに蓄積された画信号は、
画信号クロツク24に同期して出力される。第1
図のMR符号器の場合と異なり、1走査線の画信
号の出力は、メモリ(a)1の書込・読出アドレスに
関係なく出力できる。しかし、MR復号器4b
が、復号した画信号を、メモリ(a)1に書き込む場
合には、メモリa用書込アドレスレジスタ9、メ
モリa用読出アドレスレジスタ(a)10aの示すブ
ロツクを比較して、メモリa用書込アドレスレジ
スタ9の示すブロツクが、メモリa用読出アドレ
スレジスタ(a)10aの示すブロツクを越えないよ
うにすることにより、メモリ(a)1への書込の可・
不可を判別する。 In each step, the image signal is output by dividing the image signal clock 24 into 1/4 by the counter 6 and interrupting the MR decoder 4b via the interrupt control line 21. The MR decoder 4b outputs an image signal for each block and outputs it to the shift register 5b. The image signal accumulated in the shift register 5b is
It is output in synchronization with the image signal clock 24. 1st
Unlike the case of the MR encoder shown in the figure, the image signal of one scanning line can be output regardless of the write/read address of the memory (a) 1. However, MR decoder 4b
However, when writing the decoded image signal to the memory (a) 1, the block indicated by the write address register 9 for memory a and the read address register (a) 10a for memory a are compared, and the block indicated by the memory a write address register 9 is compared. Writing to memory (a) 1 is possible by preventing the block indicated by the write address register 9 from exceeding the block indicated by the read address register (a) 10a for memory a.
Determine whether or not it is possible.
(ステツプ1)
MR復号器4bは、1走査線の復号化を開始す
ると、参照走査線30の変化点アドレスb1、b2の
検出をまず行う。それにはメモリa用読出アドレ
スレジスタ(a)10aの内容を、メモリのアドレス
ポインタ3への書込制御線17を用いて、メモリ
のアドレスポインタ3へ出力する。Raはブロツ
ク1を示しており、アドレスバス18により、メ
モリ(a)1へ出力される。(Step 1) When the MR decoder 4b starts decoding one scanning line, it first detects the change point addresses b 1 and b 2 of the reference scanning line 30. To do this, the contents of the memory a read address register (a) 10a are output to the memory address pointer 3 using the write control line 17 to the memory address pointer 3. Ra indicates block 1, which is output to memory (a) 1 via address bus 18.
次にMR復号器4bは、メモリaの読出制御線
20を用いて、メモリ(a)1のブロツク1より、デ
ータバス16を介してMR復号器4bへ1ブロツ
ク分の画素を入力する。 Next, the MR decoder 4b inputs one block worth of pixels from block 1 of the memory (a) 1 to the MR decoder 4b via the data bus 16 using the read control line 20 of the memory a.
MR復号器4bは、ブロツク1中の変化点を検
査する。 MR decoder 4b examines the change points in block 1.
第4図の場合は、参照走査線30のブロツク1
には変化点は無い。MR復号器4bは、メモリa
用読出アドレスレジスタ(a)10aの内容を1増加
し、ブロツク2を示す。MR復号器4bはブロツ
ク1の場合と同様に、ブロツク2を入力してブロ
ツク2中の変化点を検査する。このようにして、
ブロツク内の変化点が検出されるまでくり返す。
第4図の場合、ブロツク3内の画素11、12に変化
点が検出され、変化点アドレスb1レジスタ14、
変化点アドレスb2レジスタ15に、画素11、12の
アドレスが蓄積される。 In the case of FIG. 4, block 1 of the reference scanning line 30
There is no change point. The MR decoder 4b has a memory a
The contents of the read address register (a) 10a are incremented by 1 to indicate block 2. As in the case of block 1, MR decoder 4b inputs block 2 and examines the change point in block 2. In this way,
Repeat until a change point within the block is detected.
In the case of FIG. 4, a change point is detected at pixels 11 and 12 in block 3, and the change point address b1 register 14,
The addresses of pixels 11 and 12 are stored in the change point address b2 register 15.
MR復号器4bは、次に現走査線の変化点アド
レスa1、a2の作成を行う。参照走査線のブロツク
3までが前述の割込により出力された後に現走査
線を書み込む。これは前述のとおり、メモリa用
書込アドレスレジスタ9とメモリa用読出アドレ
スレジスタ10aとを比較することにより行われ
る。 The MR decoder 4b then creates change point addresses a 1 and a 2 for the current scanning line. The current scan line is written after blocks up to block 3 of the reference scan line have been output by the aforementioned interrupt. As described above, this is done by comparing the memory a write address register 9 and the memory a read address register 10a.
MR復号器4bは、復号化モードH(2.7)によ
り、変化点a0を基準としてa1、a2により確定した
a2までの画素データを出力する。この場合、最後
のブロツク3は一時、メモリ(b)2に蓄積され、1
ブロツク完成後、メモリ(a)1に蓄積される。以後
最後のブロツクの扱いは常に同じである。 The MR decoder 4b uses the decoding mode H (2.7) to determine the change point a 1 and a 2 using the change point a 0 as a reference.
Outputs pixel data up to a 2 . In this case, the last block 3 is temporarily stored in memory (b) 2, and 1
After the block is completed, it is stored in memory (a)1. From then on, the last block is always treated the same way.
(ステツプ2)
MR復号器4bは、1つのモードの復号化が終
了すると、ふたたび、参照走査線30の変化点ア
ドレスb1、b2の検出を行う。これは前に復号化さ
れたモードに従い行われる、水平モードの復号化
の場合は、a2<b1となるまでb1、b2を1組として
検出する。第4図の場合、すでにa2<b1であるの
で、参照走査線30の変化点検出は行われない。(Step 2) When the decoding of one mode is completed, the MR decoder 4b detects the change point addresses b 1 and b 2 of the reference scanning line 30 again. This is done according to the previously decoded mode. In the case of horizontal mode decoding, b 1 and b 2 are detected as a pair until a 2 <b 1 . In the case of FIG. 4, since a 2 <b 1 already holds, no change point detection of the reference scanning line 30 is performed.
MR復号器4bは、次に現走査線の変化点アド
レスa1、a2の作成を行う。この場合、次はパスモ
ードPであり、a1、a2は作成されず、出力もされ
ない。 The MR decoder 4b then creates change point addresses a 1 and a 2 for the current scanning line. In this case, the next path mode is P, and a 1 and a 2 are not created or output.
(ステツプ3)
MR復号器4bはパスモードでの符号化の後
は、b1、b2を1組として参照走査線のブロツク
4、5を検査し、変化画素15、17を検出し、変化
点アドレスb1、b2を各レジスタに蓄積する。次の
復号は、垂直モードV(−1)であり、b1を基に
1画素左のa1が作成され、メモリ(a)1に蓄積され
る。(Step 3) After encoding in pass mode, the MR decoder 4b inspects blocks 4 and 5 of the reference scanning line using b 1 and b 2 as one set, detects changed pixels 15 and 17, and detects changed pixels. Store point addresses b 1 and b 2 in each register. The next decoding is in vertical mode V(-1), and a1 , which is one pixel to the left, is created based on b1 and stored in the memory (a)1.
(ステツプ4)
MR復号器4bは垂直モードで復号化した後、
参照走査線の変化点の検出は、前ステツプのb2を
b1としてb2のみの検出を行う。(Step 4) After the MR decoder 4b decodes in vertical mode,
To detect the change point of the reference scanning line, use b2 in the previous step.
Only b 2 is detected as b 1 .
このステツプの復号は垂直モードV(0)であ
り、b1を基に直下の画素にa1が作成され、メモリ
(a)1に蓄積される。 The decoding in this step is in vertical mode V(0), and a1 is created in the pixel immediately below based on b1 , and the memory
(a) Accumulated in 1.
(ステツプ5)
(ステツプ4)と同様にV(−2)が復号化さ
れる。(Step 5) Similarly to (Step 4), V(-2) is decoded.
(ステツプ6)
(ステツプ1)と同様にH(1.9)が復号化され
る。これにより1走査線の復号化が終了する。こ
のとき、メモリ(a)1には第4図の現走査線31の
ブロツク1〜7が蓄積されており、前述の割込に
よる出力が行われると同時に、次の走査線の復号
化の際の参照走査線として用いることができる。(Step 6) Similarly to (Step 1), H(1.9) is decoded. This completes the decoding of one scanning line. At this time, blocks 1 to 7 of the current scanning line 31 in FIG. can be used as a reference scanning line.
このように動作するので、1走査線分の画信号
を蓄積可能な容量を有するメモリ(a)1と、4画素
からなる1ブロツクを蓄積可能な容量を有するメ
モリ(b)2だけを用いて、MR復号器のラインメモ
リ回路を構成することができる。 Since it operates in this way, only memory (a) 1, which has a capacity to store image signals for one scanning line, and memory (b) 2, which has a capacity to store one block of four pixels, are used. , can configure the line memory circuit of the MR decoder.
本実施例でも第1図の実施例と同様に、1ブロ
ツクの画素数、および、メモリbのブロツク数は
任意とできる。 In this embodiment, as in the embodiment shown in FIG. 1, the number of pixels in one block and the number of blocks in memory b can be arbitrary.
また両実施例においては、走査線の開始・終了
をセンサや記録部とやりとりして、走査線をすす
める論理回路についてはふれていないが、これは
従来のものと同様のもので実現できるので省略し
てある。 Furthermore, in both embodiments, there is no mention of a logic circuit that communicates the start and end of a scanning line with the sensor and the recording unit to advance the scanning line, but this is omitted because it can be realized using the same conventional circuit. It has been done.
また、第1図の符号器の実施例では、メモリb
はメモリaよりの画信号読取時に、第3図の復号
器の実施例では、メモリbはメモリaへの画信号
書込時に使用しているが、逆の動作、つまり符号
器で画信号書込時にメモリbを使用し、復号器で
画信号読取時にメモリbを使用することも可能で
あることはいうまでもない。 Also, in the encoder embodiment of FIG.
In the embodiment of the decoder shown in FIG. 3, memory b is used when reading the image signal from memory a, but the operation is reversed, that is, when the encoder writes the image signal. It goes without saying that it is also possible to use memory b when reading the image signal and use memory b when reading the image signal with the decoder.
(5) 効果の説明
以上説明したように本発明によれば、1走査線
分の画信号を蓄積可能な容量を有するメモリa
と、1画素又は数画素からなるブロツクの1又は
複数ブロツク分の蓄積可能な容量を有するメモリ
bだけを用いて、フアクシミリ2次元冗長度抑圧
符号器および復号器のラインメモリを構成でき、
少ないメモリ容量でラインメモリ回路を構成で
き、特に、1チツプのLSI上にラインメモリ回路
を含めた2次元冗長度抑圧符号器・復号器を構成
する場合、有効である。(5) Explanation of Effects As explained above, according to the present invention, a memory a having a capacity capable of storing image signals for one scanning line is used.
and the line memory of the facsimile two-dimensional redundancy suppression encoder and decoder can be constructed using only the memory b which has a storage capacity for one or more blocks each consisting of one pixel or several pixels;
It is possible to configure a line memory circuit with a small memory capacity, and is particularly effective when constructing a two-dimensional redundancy suppression encoder/decoder including a line memory circuit on a single LSI chip.
第1図はMR符号器に用いた本発明の実施例、
第2図は第1図の実施例における画信号のメモリ
への書込み・読出しの説明図、第3図はMR復号
器に用いた本発明の実施例、第4図は第3図の実
施例における画信号のメモリへの書込み・読出し
の説明図を示す。
図中、1はメモリa、2はメモリb、3はメモ
リのアドレスポインタ、4aはMR符号器、4b
はMR復号器、5はシフトレジスタ、6はカウン
タ、7はラツチ、8はメモリb用アドレスレジス
タ、9はメモリa用書込アドレスレジスタ、10
aはメモリa用読出アドレスレジスタ、10bは
メモリa用読出アドレスレジスタ、11は変化点
アドレスa0レジスタ、12は変化点アドレスa1レ
ジスタ、13は変化点アドレスa2レジスタ、14
は変化点アドレスb1レジスタ、15は変化点アド
レスb2レジスタ。
Figure 1 shows an embodiment of the present invention used in an MR encoder.
FIG. 2 is an explanatory diagram of writing and reading image signals into and from memory in the embodiment of FIG. 1, FIG. 3 is an embodiment of the present invention used in an MR decoder, and FIG. 4 is an example of the embodiment of FIG. 3. FIG. 6 is an explanatory diagram of writing and reading image signals into and from memory in FIG. In the figure, 1 is memory a, 2 is memory b, 3 is the memory address pointer, 4a is the MR encoder, and 4b
is an MR decoder, 5 is a shift register, 6 is a counter, 7 is a latch, 8 is an address register for memory b, 9 is a write address register for memory a, 10
a is a read address register for memory a, 10b is a read address register for memory a, 11 is a change point address a 0 register, 12 is a change point address a 1 register, 13 is a change point address a 2 register, 14
is the change point address b 1 register, and 15 is the change point address b 2 register.
Claims (1)
るメモリaと、前記メモリaに画信号を1画素又
は数画素からなるブロツク単位で書込む手段と、
前記メモリaより画信号を1画素又は数画素から
なるブロツク単位で読出す手段と、前記メモリa
に書込まれた1走査線の画信号のうち前記読出す
手段により読出されていない画信号を蓄積した前
記メモリaの領域に前記書込む手段により画信号
を書込まないように前記メモリaへの書込の可・
不可を表示する手段と、最近に前記メモリaより
読出した1画素又は数画素からなるブロツクの1
又は複数ブロツク分を蓄積可能な容量を有するメ
モリbと、前記メモリbに画信号を1画素又は数
画素からなるブロツク単位で書込む手段と、前記
メモリbより画信号を1画素又は数画素からなる
ブロツク単位で読出す手段と、前記メモリaから
の内容にもとづいて現走査線上の画素と現走査線
よりも以前の走査線である参照走査線上の画素と
を利用して符号化あるいは復号化を行う符号変換
器とを具備してなることを特徴とするフアクシミ
リ2次元冗長度抑圧符号・復号器用ラインメモリ
回路。 2 1走査線分の画信号を蓄積可能な容量を有す
るメモリaと、前記メモリaに画信号を1画素又
は数画素からなるブロツク単位で書込む手段と、
前記メモリaより画信号を1画素又は数画素から
なるブロツク単位で読出す手段と、前記メモリa
に書込まれた1走査線の画信号のうち前記読出す
手段により読出されていない画信号を蓄積した前
記メモリaの領域に前記書込む手段により画信号
を書込まないように前記メモリaへの書込の可・
不可を表示する手段と、次に前記メモリaへ書込
む1画素又は数画素からなるブロツクの1又は複
数ブロツク分を蓄積可能な容量を有するメモリb
と、前記メモリbに画信号を1画素又は数画素か
らなるブロツク単位で書込む手段と、前記メモリ
bより画信号を1画素又は数画素からなるブロツ
ク単位で読出す手段と、前記メモリaからの内容
にもとづいて現走査線上の画素と現走査線よりも
以前の走査線である参照走査線上の画素とを利用
して符号化あるいは復号化を行う符号変換器とを
具備してなることを特徴とするフアクシミリ2次
元冗長度抑圧符号・復号器用ラインメモリ回路。[Scope of Claims] 1. A memory a having a capacity capable of storing image signals for one scanning line, and means for writing image signals into the memory a in units of blocks each consisting of one pixel or several pixels;
means for reading out image signals from the memory a in units of one pixel or blocks each consisting of several pixels;
to the memory a so that the writing means does not write image signals to an area of the memory a in which image signals that have not been read out by the reading means out of the image signals of one scanning line written in the memory a are stored; It is possible to write
a block of one or more pixels recently read out from the memory a;
Alternatively, a memory b having a capacity capable of storing a plurality of blocks, a means for writing an image signal into the memory b in units of blocks each consisting of one pixel or several pixels, and a means for writing the image signal from the memory b from one pixel or several pixels. and encoding or decoding using means for reading in blocks, and pixels on the current scanning line and pixels on a reference scanning line, which is a scanning line earlier than the current scanning line, based on the contents from the memory a. A line memory circuit for a facsimile two-dimensional redundancy suppressing code/decoder, comprising a code converter for performing the following steps. 2. A memory a having a capacity capable of storing image signals for one scanning line, and means for writing image signals into the memory a in units of blocks each consisting of one pixel or several pixels;
means for reading out image signals from the memory a in units of one pixel or blocks each consisting of several pixels;
to the memory a so that the writing means does not write image signals to an area of the memory a in which image signals that have not been read out by the reading means out of the image signals of one scanning line written in the memory a are stored; It is possible to write
a memory b having a capacity capable of storing one or more blocks of one or more pixels to be written to the memory a next;
means for writing image signals into the memory b in units of one pixel or blocks each consisting of several pixels; means for reading out image signals from the memory b in units of one pixel or blocks each consisting of several pixels; and a code converter that performs encoding or decoding using pixels on the current scanning line and pixels on a reference scanning line, which is a scanning line earlier than the current scanning line, based on the contents of the scanning line. Line memory circuit for facsimile two-dimensional redundancy suppression code/decoder.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9883082A JPS58215868A (en) | 1982-06-09 | 1982-06-09 | Line memory circuit for encode-decoder of facsimile for suppressing two dimensional redundancy |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9883082A JPS58215868A (en) | 1982-06-09 | 1982-06-09 | Line memory circuit for encode-decoder of facsimile for suppressing two dimensional redundancy |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58215868A JPS58215868A (en) | 1983-12-15 |
| JPS6365271B2 true JPS6365271B2 (en) | 1988-12-15 |
Family
ID=14230200
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9883082A Granted JPS58215868A (en) | 1982-06-09 | 1982-06-09 | Line memory circuit for encode-decoder of facsimile for suppressing two dimensional redundancy |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58215868A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02138691U (en) * | 1989-04-18 | 1990-11-20 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5958971A (en) * | 1982-09-29 | 1984-04-04 | Hitachi Ltd | Coding circuit |
-
1982
- 1982-06-09 JP JP9883082A patent/JPS58215868A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02138691U (en) * | 1989-04-18 | 1990-11-20 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58215868A (en) | 1983-12-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7254283B1 (en) | Image processor processing image data in parallel with a plurality of processors | |
| CA1291822C (en) | Method and apparatus for processing an image signal | |
| US5305111A (en) | Run length encoding method and system | |
| JPS6365271B2 (en) | ||
| JPS60140979A (en) | Parallel processor for encoding and decoding of picture signal | |
| JPH07327116A (en) | Image input output controller | |
| US6744476B1 (en) | Imaging apparatus having video memory function | |
| JP3646839B2 (en) | Digital oscilloscope | |
| KR100223050B1 (en) | Variable length encoder of header information for mpeg-2 image compression | |
| JPH0149072B2 (en) | ||
| JP2651517B2 (en) | Image processing method | |
| JPS63196984A (en) | Image data transfer circuit | |
| JPH0520450A (en) | Image processing device | |
| KR100328376B1 (en) | Display control circuit | |
| JPS60162287A (en) | Access processor for image memory | |
| JPH01126687A (en) | Display memory control circuit | |
| JPS61251275A (en) | Processing circuit for picture signal | |
| JPH05128327A (en) | IC card | |
| JPS6058628B2 (en) | Facsimile signal encoding method | |
| JPH07182514A (en) | Histogram construction circuit | |
| JPS596671A (en) | Line memory circuit for two-dimensional redundancy suppressing encoder of facsimile | |
| JPH0728987A (en) | Video signal processor | |
| JP2000276900A (en) | Storage device | |
| JPH02126773A (en) | Mr encoder | |
| JPH11113021A (en) | Use method for frame memory and frame memory read circuit |