JPS5957576A - Picture data compressing circuit - Google Patents

Picture data compressing circuit

Info

Publication number
JPS5957576A
JPS5957576A JP57144105A JP14410582A JPS5957576A JP S5957576 A JPS5957576 A JP S5957576A JP 57144105 A JP57144105 A JP 57144105A JP 14410582 A JP14410582 A JP 14410582A JP S5957576 A JPS5957576 A JP S5957576A
Authority
JP
Japan
Prior art keywords
bit
code
variable length
circuit
shift
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP57144105A
Other languages
Japanese (ja)
Other versions
JPS6341272B2 (en
Inventor
Yoshiyuki Okada
佳之 岡田
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 JP57144105A priority Critical patent/JPS5957576A/en
Publication of JPS5957576A publication Critical patent/JPS5957576A/en
Publication of JPS6341272B2 publication Critical patent/JPS6341272B2/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

Abstract

PURPOSE:To process a picture having many changing picture elements, by providing some circuits to a variable length coding circuit in a data compressing circuit and providing a function of 2-bit and 1-bit shift so as to decrease the processing time. CONSTITUTION:Mode information of a black-and-white changing picture element discriminated at a mode detecting circuit is inputted as an address for an ROM 31 for variable length code storage and an ROM 22 for code bit length storage. The variable length code is read from the ROM 31 to a signal line 33 and the bit length of the variable length code is outputted from the ROM 22. Further, the variable length code from the signal line 33 is inputted to a shift register 35 through a multiplexer 34. Moreover, a data transfer enable signal 39 from a mode detecting ciruit is inputted to a variable code forming control circuit 40, which controls a counter 37, an FF38, the multiplexer 34, and shift registers 35, 41 and the like. Then, the multiplexer 34 and the registers 35, 41 form a parallel/serial conversion circuit having 1-bit or 2-bit shift function to reduce the processing time.

Description

【発明の詳細な説明】 Fil  発明の技術分野 本発明は、1lfii高速フアクシミリ(例えば1秒F
、AX)等の画像人力装崩に係り特に可変長符号のビッ
ト長のS長い場合に高速処即できる画像データ圧縮回路
に関するつ (2)従来技術と問題点 従来の画像データ圧縮回路内の可変長符号では、各符号
ビット長に応じて、1ビツトずつシフトしながら圧縮デ
ータ?作成する。
DETAILED DESCRIPTION OF THE INVENTION FIELD OF THE INVENTION The present invention relates to a 1lfii high speed facsimile (e.g. 1 second
, AX), etc., and relates to an image data compression circuit that can perform high-speed processing especially when the bit length of a variable length code is S long. (2) Prior art and problems For long codes, the compressed data is shifted one bit at a time according to the bit length of each code. create.

上記の考えt基に設計された従来の可変長符号化回路の
一例を第1図に示す。
An example of a conventional variable length encoding circuit designed based on the above idea is shown in FIG.

第1図に3いて英綴で示す矢印はデータの流れt表わし
、破線で示す矢印は制御信号葡表わす。それぞれの信号
は可変長符号化回路の前段にあるモード検出回路から出
力されている。
In FIG. 1, the arrow 3 shown in English letters represents the flow of data, and the arrow shown with a broken line represents the control signal. Each signal is output from a mode detection circuit located before the variable length encoding circuit.

11は可変長符号化回路几OM、12は符号ビット長格
納ROM、t3は可変符号作成制御回路、16.23は
シフトレジスタ、IFI、24はカウンタ、26はラッ
チ、10 、1 rl 、 15 、17 、19 、
20 。
11 is a variable length encoding circuit OM, 12 is a code bit length storage ROM, t3 is a variable code creation control circuit, 16.23 is a shift register, IFI, 24 is a counter, 26 is a latch, 10, 1 rl, 15, 17, 19,
20.

21.22は信号線である。21 and 22 are signal lines.

制御信号10は、参照走査線と符号化走査線の白黒変化
画素を検出し、その変化画素の状態?判定するモード検
出回路から出力ちれる。この場合モディファイドリード
(Mlり方式ではパス、垂直。
The control signal 10 detects black and white change pixels on the reference scanning line and the encoded scan line, and determines the state of the change pixel. The output from the mode detection circuit for determination is broken. In this case, modified read (pass, vertical in Ml method).

水平(白、黒ランレングス?含む)モードが制御信号1
0にa′まれる。そこでますMR方式における符号化方
法定記2図(al 、 (blによって説明する。
Horizontal (including white and black run length?) mode is control signal 1
0 a'. Therefore, the encoding method specification in the MR system will be explained using Figure 2 (al, (bl).

第2図(hl 、 (1)lに45いて斜線部は黒画素
、空白は白画素て〃1す、上側13s参照走査組(1)
l、)、下側が符号化走査緑(CI、)である。バス、
垂直、水平の各モードは、CL上の白、熱の変化画素の
PL上の白、黒の変化画素に対する相対位置によって決
まる。ゴーずεB2図fa)音用いてバスモードから説
明する。aoはCI、上の参照または起点変化画素、a
lはCL上でa。より右にある最初の変化画素、bIは
P L、上でa(、より右にあI) a、と反対の色r
持つ最初の変化画素、b2はPL上です、より右にある
最初の変化画素である。CL上のa、が検出されるfi
lJにbI、b2力3ともに検出嘔れた時はバスモード
と在る。
Figure 2 (hl, (1) 45 in l, the shaded area is black pixels, the blank area is white pixel 1, upper 13s reference scanning group (1)
l, ), and the lower side is coded scan green (CI, ). bus,
The vertical and horizontal modes are determined by the relative positions of white and heat change pixels on CL with respect to white and black change pixels on PL. Gozu εB2 Figure fa) Let's start with the bass mode using sound. ao is CI, the reference or origin change pixel above, a
l is a on CL. The first change pixel further to the right, bI is P L, above a (, further right AI) a, and the opposite color r
The first pixel of change, b2, is on the PL, and is the first pixel of change further to the right. a on CL is detected fi
When both bI and b2 force 3 are detected in lJ, it is in bus mode.

第2図(1))において同一ね号は同意のもの企嚢わす
In Figure 2 (1)), identical numbers are intended to indicate agreement.

ここでCL上の液化lT!]l累”I++”Iの距離a
oa+(4画素)ぢよびal、a2間の距VIIta+
 12(L 1画素)で符号化すると、水平モードII
(4,11)となるりMR方式ではPL上の変化画素す
、、b、との相対位置でCLJ:全符号化するので、こ
の場合a、。
Here, liquefied IT on CL! ] l cumulative "I++" I distance a
Distance VIIta+ between oa+ (4 pixels) and al, a2
12 (L 1 pixel), horizontal mode II
(4, 11).In the MR method, CLJ: is fully encoded at the relative position to the changed pixels S, , b on PL, so in this case, a.

b、の距離a、 b、とb2+ a2の距V+’f= 
”2 、l)2 テ符号化すると垂直モードV(a、 
b、 ) + ”(a2bt )となる。ただし垂直モ
ードは距離a、 b、及びa=b2が13画素以内の場
合でそれ以上は水平モードになる0 以上のようにして検出されム:バス、垂直、水平モード
に対応した制御信号lOは、可変長符号格納用1もOM
IIと符号ビット長格納用1tOM 12のアドレスに
入力される。
Distance of b, a, b, and b2+ Distance of a2 V+'f=
”2, l) 2 te encoding, the vertical mode V(a,
b. Control signal lO corresponding to vertical and horizontal modes is also OM for variable length code storage.
II and the address of 1tOM 12 for storing the code bit length.

そして制御信号10に対応した可変長符号およびその符
号ビy1・長が各々几OMII、12よυ出力嘔れる。
Then, the variable length code corresponding to the control signal 10 and the length of the code y1 are outputted as OMII and 12, respectively.

まず、可変長符号作成制御回路13では、前段のモード
検出回路からのデータ転送可能(言い換えれば符号化可
能)信号14に従って、KX>111.12のアクセス
時間全持ち、可変長符号(信号115)’eシフトレジ
スタ16に、符号ビット長(信号扉17)tカウンタ1
8tC1g+−ドするよう指令する(制御イざ号19,
20)。矢にカウンタ18にロードされた符号ビット長
が0になる(倍号鞭21監視)才で、カウンター8をカ
ウントダウンされる。
First, the variable length code creation control circuit 13 generates a variable length code (signal 115) that has a full access time of KX>111.12, in accordance with the data transfer possible (in other words, encoding possible) signal 14 from the mode detection circuit at the previous stage. 'e Shift register 16, sign bit length (signal door 17) t counter 1
8tC1g+- command (control error number 19,
20). When the code bit length loaded into the counter 18 becomes 0 (monitored by the multiplier 21), the counter 8 is counted down.

そしてそのカウントダウン数分だけシフトレジスタ】6
孕シフトすることにより、直列可変長符号が出力される
(信号線22)。芒らにシフトレジスタ23は、シフト
レジスター6と連動して、その出力(信号線22)取り
込みシフトする。そしてカウンタ24がある値に達する
毎に(例えば8ビツトパラレル転送を行なう場合、8と
いう値が対応する)、シフ1−レジスタ23からの並列
の可変長符号データ(信号線25)をラッチ26にロー
し ドレ、次段との並列データ転送ヶ行なう。
And shift register for the countdown number】6
By performing the shift, a serial variable length code is output (signal line 22). The shift register 23 works in conjunction with the shift register 6 to take in its output (signal line 22) and shift it. Then, each time the counter 24 reaches a certain value (for example, when performing 8-bit parallel transfer, a value of 8 corresponds), the parallel variable length code data (signal line 25) from the shift 1 register 23 is sent to the latch 26. Performs loading/draining and parallel data transfer with the next stage.

次に第3図に示すような階段状の模様全符号化する場合
全第4図、第5図によって説明する。第3図1dl)X
2図と同様の溝成で画像データの一部金示すものである
。第4図は画像データ圧縮回路全3部構成で示したもの
である。1.3.5は画像データ圧縮回路のバイブライ
ン処理のためのレジスタ、2はモード検出回路であり、
第1図で述べたモード検出回路と同じである。4は可変
長符号用110M回路であり、第1図における可変長符
号格納用1.UM及び符号ビット長格納IiLOMに対
応する。6はoJ変長符号化回路であり、第1図1にお
けるシフトレジスク、カウンクおよび可変長符号作成制
御回路に対応する部分である。第5図は、第4図の3つ
の回路の動作タイミング金表わす図であp1第5図[a
lは基本クロック、第5図[blにモード検出回路、第
5図iclは可変長符号用ROM回路、第5図(diは
可変長符号化回路の動作タイミング葡衣ゎしでいる。ま
た第5図(al 、 ib) 、 tc! 、 (di
において時間軸は等しく、’I + ’2 + ’Rも
同時刻てあシ、斜線で示した部分は内部クリアするザイ
クルである。
Next, the case of encoding the entire stepped pattern as shown in FIG. 3 will be explained with reference to FIGS. 4 and 5. Figure 3 1dl)X
A portion of the image data is shown using the same groove structure as in Figure 2. FIG. 4 shows a three-part configuration of the image data compression circuit. 1.3.5 is a register for vibe line processing of the image data compression circuit, 2 is a mode detection circuit,
This is the same as the mode detection circuit described in FIG. 4 is a 110M circuit for variable length codes, and 1.4 for storing variable length codes in FIG. Corresponds to UM and code bit length storage IiLOM. Reference numeral 6 denotes an oJ variable-length encoding circuit, which corresponds to the shift register, count, and variable-length code creation control circuit in FIG. FIG. 5 is a diagram showing the operation timing of the three circuits in FIG.
l is the basic clock, FIG. 5 [BL is the mode detection circuit, FIG. Figure 5 (al, ib), tc!, (di
, the time axes are the same, 'I + '2 + 'R are also at the same time, and the shaded part is a cycle to be cleared internally.

第5fblの時刻t、においてモード検出回路2が第3
図のCL上の最初の変化画素2 V u (3)と判定
し、内部クリア(斜線で示すパルス)と同時に可変長符
号ROM回路4にVR(3)と判定しfこ制御信号全出
力する。嘔らに第5図tc+の時刻t、で可変長符号R
OM回路4は、モード検出回路2の制御信号全入力式れ
Vn(3)に対応する可変長符号と可変長符号ビy ’
r長?可変長符号化回路6に出力する。第5図fblの
次の4ザイクル目の時刻t!でモード検出回路2は再び
変化画素孕Vn(3)と判定し、可変長符号ILOM回
路4も前述と同様の動作をする。時刻t1ては承略しK
が、ここで第5図[dlの時刻t、可変長符号化回路6
は可変長符号ROM回?64の信号孕入力され、Jビン
1・ずつシフトする。Vn(3)の符号が7ビツトとす
ると、全ビソトンフ1゛するのに7サイクルする実際に
は内部クリアする時間とデータ転送可能かどうか全判断
する時間が必要なため9ザイクル金要する。モード検出
回路2は次の変化画素を4ザイクル後に判定−rるが、
パイプライン処理を行っているため、第5図t13+ 
、 tdlK示すように4サイクル待たされることにガ
る。
At time t of the fifth fbl, the mode detection circuit 2 detects the third
The first changed pixel 2 on CL in the figure is determined to be V u (3), and at the same time as the internal clear (pulse indicated by diagonal lines), it is determined to be VR (3) to the variable length code ROM circuit 4, and the full f control signal is output. . Moreover, at time t in FIG. 5 tc+, the variable length code R
The OM circuit 4 receives a variable length code corresponding to the control signal full input type Vn(3) of the mode detection circuit 2 and a variable length code Biy'.
r length? It is output to the variable length encoding circuit 6. Time t of the fourth cycle following FIG. 5 fbl! Then, the mode detection circuit 2 again determines that the changed pixel is pregnant Vn(3), and the variable length code ILOM circuit 4 operates in the same manner as described above. I apologize for the time t1.
However, here, as shown in FIG.
Is it variable length code ROM times? 64 signals are input and shifted by J bin 1. Assuming that the code of Vn(3) is 7 bits, it takes 7 cycles to complete the entire bisoton 1. In reality, it takes 9 cycles because it requires time for internal clearing and time to fully determine whether data transfer is possible. The mode detection circuit 2 determines the next changed pixel after 4 cycles, but
Because pipeline processing is performed, t13+ in Figure 5
, I ended up having to wait 4 cycles as shown in tdlK.

以上、従来の可変長符号化回路では、1ビνトずつデー
タ全シフトする1ごめ、特に符号ビット長が長い場合、
符号作成に時間かかの)り前段のモード検出回路とのデ
ータ転送を遅らせる。その結果、画像データ圧縮回路全
体の処理が遅くなるという欠点を有していた。
As mentioned above, in the conventional variable length encoding circuit, the entire data is shifted one bit at a time, especially when the code bit length is long.
It takes time to create the code, and data transfer with the mode detection circuit in the previous stage is delayed. As a result, there is a drawback that the processing of the entire image data compression circuit becomes slow.

(3)発明の目的 本発明の目的は上記従来の欠点に鑑み画像データ圧縮回
路内の可変長符号化回路に3いて、符号データを2ビッ
ト何と1ピノl−4XJの2通りてシフトすることによ
り、可変長符号化回路の処理時間7短かくシ、効率の良
い高速処理が行なえる画像データ圧縮回路を提供するこ
とにある。
(3) Object of the Invention In view of the above-mentioned conventional drawbacks, the object of the present invention is to shift code data by 2 bits in two ways, 1 pino l-4XJ, in a variable length coding circuit in an image data compression circuit. Therefore, it is an object of the present invention to provide an image data compression circuit that can perform efficient high-speed processing while reducing the processing time of a variable length encoding circuit by seven points.

(4)  発明の構成 モしてCの発明の目的は、画f象データ圧縮のための可
変長符号が貫き込まれたり変長符号格納用ILOMと該
可変長符号格納用IL OMから読み出したデータ盆1
ビットあるいは2ピツ(・シフトする機能を有する並列
−直列変換回路と該並列−直列変換回路のシフト数を前
記符号ビット長格納用1tOMから読み出した符号ビッ
ト長に従って制御するカウンタ金儲えたことを特徴とす
る画像データ圧縮回路金提供することで達成される。
(4) Structure of the Invention The purpose of the invention C is to provide a system in which a variable length code for image data compression is penetrated or read from an ILOM for storing variable length codes and an ILOM for storing variable length codes. Data tray 1
A parallel-to-serial conversion circuit having a bit or two-bit (shifting) function and a counter for controlling the number of shifts of the parallel-to-serial conversion circuit in accordance with the code bit length read from the code bit length storage 1tOM. This is achieved by providing an image data compression circuit.

(5)  発明の実施例 以下本発明の一爽施例i図面により詳述する。(5) Examples of the invention EMBODIMENT OF THE INVENTION Hereinafter, an exemplary embodiment of the present invention will be explained in detail with reference to the drawings.

第6図は本発明による可変長符号化回路の一災流例であ
る。i6図に3いて、31は可変長符号格納用1%OM
、32は符号ビット長格納用ROM 。
FIG. 6 is an example of a disaster in the variable length encoding circuit according to the present invention. 3 in the i6 diagram, 31 is 1% OM for variable length code storage
, 32 is a ROM for storing code bit length.

34はマルチプレクサ、35.41はシフトレジスタ、
37.42はカウンタ、38.43はフィリッグフロν
プ、40は可変長符号作成制御回路、44はラッチ、3
0,33.36−1.36−2.39は信号組である。
34 is a multiplexer, 35.41 is a shift register,
37.42 is the counter, 38.43 is the fill flow ν
40 is a variable length code creation control circuit, 44 is a latch, 3
0,33.36-1.36-2.39 is a signal set.

ここでマルチプレクサ34とシフトレジスタ35.41
は特許請求の範囲記載の並列−直列変換回路に和尚する
。また実線と破線は第1図と同様の意味を持ち、信号は
ともに可変長符号化回路の前段にあるモード検出回路か
ら出力されてGする。
Here multiplexer 34 and shift register 35.41
This applies to the parallel-to-serial conversion circuit described in the claims. Further, the solid line and the broken line have the same meaning as in FIG. 1, and both signals are outputted from the mode detection circuit in the preceding stage of the variable length encoding circuit.

まず前段のモード検出回路で判定されへ二白黒変化画素
のモード(バス、垂直、水平)情報?、可変長符号格納
用几0M31および符号ビット長格納用tLOffl、
+ 32のアドレスとして入力する(信号線3())。
First, the mode detection circuit in the previous stage determines the mode (bus, vertical, horizontal) information of the two black and white changing pixels. , variable length code storage box 0M31 and code bit length storage tLOffl,
+32 address (signal line 3()).

前記モーIJ情報に対応して刊01’vi3Lからは可
変長符号(信号線33)、ROM :+2からは、可変
長符号のビット長が出力される(信号組34)。但し信
号線33に(は4不束(4ビツト・)として記述しでい
るがこれは後の回路動作説明を簡単にする為であって、
実際にMIt符号では28不程度になる。信号組33は
マルチプレクサ34を通して7フトレジスク35に入力
される。なおマルチプレクサ34F、1:信 ビツトシフトのデータとt切換える役目奮する。
Corresponding to the MoIJ information, a variable length code (signal line 33) is output from the publication 01'vi3L, and the bit length of the variable length code is output from the ROM:+2 (signal set 34). However, the signal line 33 is described as 4 bits (4 bits), but this is to simplify the explanation of the circuit operation later.
In fact, the MIt code is of the order of 28. The signal set 33 is input to a 7-foot resistor 35 through a multiplexer 34. Incidentally, multiplexer 34F, 1: plays a role of switching the input bit shift data and t.

例えば4ビットのデータ″0 1 1 Q ”が可変長
符号格納用几O M 3 1によってマルチプレクサ3
4のA (fillに人力てれ、そこからシフトレジス
タ35に出力てれる。マルチプレクサ34のIA,2A
に入力芒れた“0 ” 、 ” 1”はそのまま2ビッ
ト同時シフトレジスタ41に出力される。マルチプレク
サ34の3A,4Aに入力された1″ m O+lにL
シフトレジスタ35から再びマルチプレクサ34のlT
3,213に出力され、嘔らにそこから2ビット同時に
シフトレジスタ35に出力逼れる。以上のようにして、
2ビツトずつンフ1〜する。
For example, 4-bit data "0 1 1 Q" is sent to the multiplexer 3 by the variable length code storage box OM31.
A of 4 (fill manually and output from there to the shift register 35. IA, 2A of the multiplexer 34
The input “0” and “1” are directly output to the 2-bit simultaneous shift register 41. 1″ m input to 3A and 4A of multiplexer 34 L to O+l
lT of the multiplexer 34 from the shift register 35 again.
3, 213, and from there two bits are simultaneously output to the shift register 35. As above,
Count 1 to 2 bits at a time.

ま7″l:信号組36は36−1と36−2に分かれ、
信号組3(i−11−1:、2進数で表わした符号ビッ
ト長の最下位より2番目以上の上位ビット、丁なわぢ2
ビットシフト 力される。信号線36−2は同じ符号ビット長の最下位
ビットすなわぢ奇数が偶I!1.を表わすビットであり
、フリノプフDツブ(以下F Fと記−r)38に入力
てれる。
7″l: The signal group 36 is divided into 36-1 and 36-2,
Signal set 3 (i-11-1: the second or higher bit from the lowest bit of the code bit length expressed in binary number, digit number 2
Bit shift is applied. The signal line 36-2 is connected to the least significant bit of the same code bit length, that is, the odd number is even I! 1. This is a bit representing FF, and is input to the Flinopf D bit (hereinafter referred to as FF) 38.

次にモード検出回路からのデータ転送可能信号39孕受
けて、可変長符号作成制御回路4oからシフトレジスタ
35に可変長符号全、符号ビット長をカウンタ37およ
びli’l”3Bにロードする指令金量す。さCロード
されたカウンタ37の出方から2ビットシフトする回数
、Fl”38の出力から偶数奇数(これによって7フト
する最後のビットが2ビツトシフトで送られるか、1ビ
ツトシフトで送られる力1がわかる。)全知p1カウン
タ378よびFF3Bの出力が0になるまでカウン+ク
ウン式ぜながらンフトレジスタ35.41i2ビットシ
フト又けlビットシフトさせる。なお2ビツトシフトの
場合は、シフトレジスタのロード機能?使う。
Next, upon receiving the data transfer enable signal 39 from the mode detection circuit, a command is sent from the variable length code creation control circuit 4o to the shift register 35 to load the entire variable length code and the code bit length into the counter 37 and li'l'' 3B. Calculate the number of times to shift 2 bits from the output of C loaded counter 37, even or odd from the output of Fl" 38 (this will cause the last bit shifted by 7 to be sent by a 2-bit shift or by a 1-bit shift. (The output of the omniscient p1 counter 378 and FF3B becomes 0.) The count + counter type zero shift register 35.41i2-bit shift and l-bit shift are performed. In addition, in the case of 2-bit shift, is there a shift register load function? use.

例えばシフトレジスタ35の出力3,4はマルチプレク
サ34を通して1.2に入力されシフトレジスタ41に
ロードすることで1サイクルで2ビツトシフトの機能勿
果たす。但しマルチプレクサ34は可変長符号?)LO
M31より7フトレジスタ35にロードする以外は 1
3(i号(2ビy l・シフトの為の信号)全選択して
いる。
For example, outputs 3 and 4 of the shift register 35 are input to 1 and 2 through the multiplexer 34 and loaded into the shift register 41, thereby performing a 2-bit shift function in one cycle. However, is the multiplexer 34 a variable length code? )LO
1 except loading from M31 to 7ft register 35
3 (No. i (signal for 2-bit shift) is fully selected.

まだシフトレジスタ411−i画像データ圧縮回路の後
段(ψ11オばF A. Xでは送信バッファメモリ又
は転送制御部)とデータ転送を効不よくする為に直列−
並列変換すZ1役目を果たす。カウンタ42およびFF
43でシフトレジスタ41のシフト数全力つノトし、シ
フトレジスタ41にデータが満たされた場合、ラノ千4
4にシフトレジスタ41の並列出力がロードされる。な
お、カウンタ42gよびFF4 3はカウンタ37ぢよ
びF”F’38と同様に2ビツトシフト数と1ビツトR
kカウントする役割ケする。
The shift register 411-i is connected in series with the subsequent stage of the image data compression circuit (the transmission buffer memory or transfer control unit in ψ11 and FA.X) to make data transfer ineffective.
Plays the role of parallel converter Z1. Counter 42 and FF
43, the number of shifts in the shift register 41 is fully turned on, and when the shift register 41 is filled with data, the number of shifts in the shift register 41 is
4 is loaded with the parallel outputs of the shift register 41. Note that the counter 42g and FF43, like the counters 37 and F"F'38, have a 2-bit shift number and a 1-bit R
The role is to count k.

享て纂5図の、ぶうに4ビy)並列転送するとき問題と
なるが、シフトレジスタ4 1 0) 2’iでデータ
グ15 j[qまり、次に2ビントンフトの指令ができ
た場合でI)る。
In Figure 5, there is a problem when performing parallel transfer, but if the shift register 4 1 0) 2'i becomes data tag 15 j[q, and then a 2 bintonft command is made I).

すなわち本実雄側のように7ビツトの符号長の場合では
、1度目の4ビット並列転送した後シフトレジスタ41
(/.)3’,4’にシフトレジスタ35から2ビツト
シフトでれて次のデータが送られる。
In other words, in the case of a code length of 7 bits as in the case of Motosanio, after the first 4-bit parallel transfer, the shift register 41
(/.) 3', 4' are shifted by 2 bits from the shift register 35 and the next data is sent.

残る1ビツトはシフトレジスタ35から41にlビ・ソ
トシフトゴれるので、結局1′にデータが欠けた状態と
なる。ここで2bロシフトの指令がくると、2′にある
データがはみ出してしまう。そこでカウンタ42および
■゛甲43の値がn−1(n:パラレル転送ピント数、
この場合n=4)すなわち3でしかも次に2ビ,トシフ
トする場合、強制的に1ビツトシフトに切換える。従っ
てカウンタ37およびF.F38?−t2ビットシフト
の途中でも1ピツ1゛シフトができるように適当な桁下
げ機能力S付いている。
The remaining 1 bit is shifted from shift register 35 to 41, resulting in a state in which data is missing in 1'. If a command to shift 2b comes here, the data in 2' will protrude. Therefore, the values of the counter 42 and ■゛A 43 are n-1 (n: parallel transfer focus number,
In this case, if n=4), that is, 3, and the next 2-bit shift is to be performed, the shift is forcibly switched to 1-bit shift. Therefore, counter 37 and F. F38? -t2 Appropriate carry down function S is provided so that a 1-pitch 1' shift can be performed even in the middle of a bit shift.

以上、−ヒ記可変長符号化回路?用いて第3図の画像デ
ータ全処理した場合の画像データ圧縮回路の動作タイミ
ング?第7図に示す、なお画像データ用縮回路は従来回
路(第4図)と同様モード検出回路2,符号用11,O
M回路4,可変長符号化回路6の3回路で得成し,デー
タ転送にはバイブ−フ・イン処理?用いている。また第
7図((J)が6サイクルである点百二除いて、・T7
図の証味す,乙ところは第5図と同じである第7図(山
より、本発明ては垂tri七−ドVR(3)r6サイク
ルで処理してぢり、第51のように従来回路の9す・f
クルと11Cべて3サイクル処理が速くなっている。
Above, - variable length encoding circuit? What is the operation timing of the image data compression circuit when all the image data shown in Fig. 3 is processed using The reduced circuit for image data shown in FIG. 7 is the same as the conventional circuit (FIG. 4): mode detection circuit 2, code 11,
Achieved by three circuits: M circuit 4 and variable length encoding circuit 6, and uses by-buf-in processing for data transfer. I am using it. Also, in Figure 7 (except for the point that (J) is 6 cycles, ・T7
As a proof of the figure, Figure 7 is the same as Figure 5. 9s/f of conventional circuit
3 cycle processing is faster for both Kur and 11C.

また本発明は垂直モードだけでなく、水平モードの長い
Mil.(モディフーrイドハフマノ)シンレンクス符
号の品速処(j[iにも同様の効果がある。
Furthermore, the present invention is applicable not only to the vertical mode but also to the long Mil. (Modifier) The quality of the synlenx code (j[i has a similar effect.

(7)発明の効果 本発明によれば、画像データ圧縮回路内の可変長符号化
回路に2いて若干の回路?付加し2ビツトと1ビyトシ
フトの機能?もたせることで処理時間?短縮することが
できるので、符号ビット長の長いものに対応する変化画
素の多い画像(言い換えれば圧縮比の悪い榎雑な画像)
に対しで特に高速処理できる効果力Sある。
(7) Effects of the Invention According to the present invention, there are two or more circuits in the variable length encoding circuit in the image data compression circuit. Additional 2-bit and 1-bit shift functions? Processing time by letting it last? Since it can be shortened, images with many changing pixels corresponding to long code bit lengths (in other words, rough images with poor compression ratio)
It is particularly effective for high-speed processing.

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

@1寵は、従来の可変長符号化回路vil−説明するだ
めの図、第2図はM几方式による符号化全説明するため
の図、第3図は従来回路2よび本発明回路を説明するた
めに用いた1画像パターンで3ドツト4σの市松模様、
第4図は画像データ圧縮回路の3回路m成奮示すもの、
第5図は従来の可変長符号化回路を用いた場合の画像デ
ータ圧縮回路(3つの回路〕の動作タイミンク渣説明す
るための図、第6図は本発明による可変長符号回路を説
明するための図、第7図は本発明による可変長符号化回
路ケ用いたδきの画像データ圧縮回路の動作タイミング
金子す。 図において11.31は可変長符号格納用1”LOMl
l 2 、32は符号ビット長格納用几OM、38.4
3はフィリノプフOyプそして並列−直列変換回路?宿
成する、16,23,35.41はシフトレジスタ、1
8,21,37,42けカウンタ、34はマルチプレク
サである。
@1 is a diagram of a conventional variable length encoding circuit vil--it is not necessary to explain it, Figure 2 is a diagram for explaining the entire encoding by the M method, and Figure 3 is a diagram explaining conventional circuit 2 and the circuit of the present invention. A 3-dot 4σ checkered pattern was used in one image pattern
Figure 4 shows the success of the three circuits of the image data compression circuit.
FIG. 5 is a diagram for explaining the operation timing of the image data compression circuit (three circuits) when a conventional variable length encoding circuit is used, and FIG. 6 is a diagram for explaining the variable length encoding circuit according to the present invention. Figure 7 shows the operation timing of the δ image data compression circuit using the variable length encoding circuit according to the present invention.
l 2 , 32 is code bit length storage OM, 38.4
3 is a Filinopf Oypu and parallel-to-serial conversion circuit? 16, 23, 35. 41 is a shift register, 1
8, 21, 37, and 42 counters, and 34 is a multiplexer.

Claims (1)

【特許請求の範囲】[Claims] 画像データ圧縮のための可変長符号力5貫き込まれた可
変長符号格納用ROMと該可変長符号のビット長が省き
込まれた符号ビット長格納用η、OMと該可変長符号格
納用11. OMから読み出し1−データを1ビツトあ
るいは2ピツトシフトする機能を有する並列−直列変換
回路と該並列−直列変換回路のシフト数音前記符号ビ・
ト長格納用r(、OMから読み出した符号ピリド長に従
って制御するカウンタを備えたことでl特徴とする画像
デー々用縮回路。
Variable length code power for image data compression 5 ROM for storing variable length code penetrated, η for storing code bit length in which the bit length of the variable length code is omitted, OM, and 11 for storing the variable length code .. A parallel-to-serial converter circuit having a function of shifting 1-bit data read from OM by 1 bit or 2 bits, and a shift number tone of the parallel-to-serial converter circuit;
This image data reduction circuit is characterized by being equipped with a counter for storing the code period length and controlled according to the code period length read from the OM.
JP57144105A 1982-08-20 1982-08-20 Picture data compressing circuit Granted JPS5957576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57144105A JPS5957576A (en) 1982-08-20 1982-08-20 Picture data compressing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57144105A JPS5957576A (en) 1982-08-20 1982-08-20 Picture data compressing circuit

Publications (2)

Publication Number Publication Date
JPS5957576A true JPS5957576A (en) 1984-04-03
JPS6341272B2 JPS6341272B2 (en) 1988-08-16

Family

ID=15354297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57144105A Granted JPS5957576A (en) 1982-08-20 1982-08-20 Picture data compressing circuit

Country Status (1)

Country Link
JP (1) JPS5957576A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07177040A (en) * 1993-12-20 1995-07-14 Nec Corp Variable length encoder
US5532949A (en) * 1993-12-28 1996-07-02 Nec Corporation Barrel shifter

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4302775A (en) * 1978-12-15 1981-11-24 Compression Labs, Inc. Digital video compression system and methods utilizing scene adaptive coding with rate buffer feedback

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4302775A (en) * 1978-12-15 1981-11-24 Compression Labs, Inc. Digital video compression system and methods utilizing scene adaptive coding with rate buffer feedback

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07177040A (en) * 1993-12-20 1995-07-14 Nec Corp Variable length encoder
US5572334A (en) * 1993-12-20 1996-11-05 Nec Corporation Variable-length coding device
US5532949A (en) * 1993-12-28 1996-07-02 Nec Corporation Barrel shifter

Also Published As

Publication number Publication date
JPS6341272B2 (en) 1988-08-16

Similar Documents

Publication Publication Date Title
US4486784A (en) Image compression systems
JPH0269075A (en) Picture information coder/decoder
JPS59178077A (en) Method for compressing data of binary picture
US4955061A (en) Method and apparatus for processing an image signal
US4058674A (en) Graphic information compression method and system
JPS5957576A (en) Picture data compressing circuit
US7733396B2 (en) Process and system for processing signals arranged in a bayer pattern
JPS6329472B2 (en)
JP3209396B2 (en) Image data compression method and apparatus
US5905821A (en) Compression/expansion circuit having transfer means and storage means with address management of the storage means
US5680529A (en) Image reduction conversion method
JP2942282B2 (en) Digital image processing equipment
JP2798025B2 (en) Video coding method and apparatus
JPH07170410A (en) Color image data compression method
JP2760519B2 (en) Image communication terminal device
JP3227237B2 (en) Encoding device
US5894568A (en) Apparatus and method for computing a difference in a digital processing system
CA1042553A (en) Apparatus for data compression encoding and decoding
JPS5964969A (en) Coded signal decoding device
JP2517051B2 (en) Data transfer control device
JP2877244B2 (en) Encoding device
JPS59156073A (en) Data decoding device
JPH0125266B2 (en)
JPS6386084A (en) Multilevel image encoding system
JPH02238517A (en) Picture data conversion circuit