JP2821614B2 - Image transmission apparatus and image transmission method - Google Patents

Image transmission apparatus and image transmission method

Info

Publication number
JP2821614B2
JP2821614B2 JP8274389A JP8274389A JP2821614B2 JP 2821614 B2 JP2821614 B2 JP 2821614B2 JP 8274389 A JP8274389 A JP 8274389A JP 8274389 A JP8274389 A JP 8274389A JP 2821614 B2 JP2821614 B2 JP 2821614B2
Authority
JP
Japan
Prior art keywords
signal
microcomputer
processing circuit
memory
signal processing
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 - Fee Related
Application number
JP8274389A
Other languages
Japanese (ja)
Other versions
JPH02260989A (en
Inventor
秀樹 小柳
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP8274389A priority Critical patent/JP2821614B2/en
Publication of JPH02260989A publication Critical patent/JPH02260989A/en
Application granted granted Critical
Publication of JP2821614B2 publication Critical patent/JP2821614B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像信号をブロック符号化して伝送するよ
うにした画像伝送装置及び画像伝送方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image transmission apparatus and an image transmission method for transmitting an image signal by block encoding.

〔従来の技術〕[Conventional technology]

以下に、第5図を参照して、従来の静止画伝送装置に
ついて説明する。(1)はマイクロコンピュータで、CP
U(中央処理装置)(2)、ROM(3)及びRAM(4)か
ら構成される。(5)は、CPU(2)のバス(データバ
ス、アドレスバス、制御バス等から成る)である。この
マイクロコンピュータ(1)は、この静止画伝送装置に
の各部を制御する。(13)は伝送線路で、無線又は有線
が可能であるが、有線伝送線路の場合は、ISDN(インテ
グレイテッド・サービシーズ・デジタル・ネットワー
ク)、高速デジタル回線、アナログ電話回線、DDX(デ
ジタル・データ・エクスチェンジ網(これにはDDXCと、
DDXPの2種類がある)、専用回線等が可能である。
Hereinafter, a conventional still image transmission device will be described with reference to FIG. (1) is a microcomputer, CP
U (central processing unit) (2), ROM (3) and RAM (4). (5) is a bus (consisting of a data bus, an address bus, a control bus, etc.) of the CPU (2). The microcomputer (1) controls each unit of the still image transmission device. (13) is a transmission line, which can be wireless or wired. In the case of a wired transmission line, ISDN (Integrated Services Digital Network), high-speed digital line, analog telephone line, DDX (Digital Data Exchange network (this includes DDXC,
DDXP) and dedicated lines.

(12)は、この伝送線路(13)とバス(5)との間に
接続された、その伝送線路(13)の静止画信号のプロト
コル及び伝送速度に応じた信号処理を行う通信処理回路
及びインターフェースで、その通信処理は、送信のため
の符号化、変調等及び受信のための復号化、復調等の夫
々の送信処理及び受信処理を意味する。
(12) a communication processing circuit connected between the transmission line (13) and the bus (5) for performing signal processing according to the protocol and transmission speed of the still image signal of the transmission line (13); In the interface, the communication processing means transmission processing and reception processing such as encoding and modulation for transmission and decoding and demodulation for reception, respectively.

(6)はフレームメモリ(ビデオメモリ)で、そのデ
ジタル映像信号入出力端子及び制御信号入力端子が、バ
ス(5)に接続され、そのデジタル映像信号入力端子が
A/D変換器(10)の出力端子に接続され、そのデジタル
映像信号出力端子がD/A変換器(7)の入力端子に接続
されると共に、その別の制御信号入力端子が表示タイミ
ング制御回路(11)の出力端子に接続される。そして、
このビデオメモリ(6)は、マイクロコンピュータ
(1)によって、その書き込み及び読み出しが制御され
る。尚、このビデオメモリ(6)は、水平及び垂直アド
レスカウンタ、メモリコントローラ等を含んでいる。
(6) is a frame memory (video memory) whose digital video signal input / output terminal and control signal input terminal are connected to the bus (5), and whose digital video signal input terminal is
The digital video signal output terminal is connected to the input terminal of the D / A converter (7) while the other control signal input terminal is connected to the output terminal of the A / D converter (10). Connected to output terminal of circuit (11). And
The writing and reading of the video memory (6) are controlled by the microcomputer (1). The video memory (6) includes a horizontal and vertical address counter, a memory controller, and the like.

(9)アナログ映像信号の入力端子で、この入力端子
(9)からの映像信号(ビデオカメラ、VTR等からの映
像信号)がA/D変換器(10)に供給されてデジタル映像
信号に変換された後、ビデオメモリ(6)に供給されて
書き込まれる。
(9) An analog video signal input terminal. The video signal (video signal from a video camera, VTR, etc.) from this input terminal (9) is supplied to an A / D converter (10) and converted into a digital video signal. After that, it is supplied to the video memory (6) and written.

(14)は通信用メモリ、即ち、送信及び受信用のバッ
ファメモリである。この通信用メモリ(14)も、マイク
ロコンピュータ(1)によって、その書き込み及び読み
出しが制御される。尚、この通信用メモリ(14)は、水
平及び垂直アドレスカウンタ等を含んでいる。
(14) is a communication memory, that is, a buffer memory for transmission and reception. The writing and reading of the communication memory (14) are also controlled by the microcomputer (1). The communication memory (14) includes horizontal and vertical address counters and the like.

(15)はデジタル信号処理回路(DSP)で、高速の信
号処理が可能であり、外部RAM(16)及び内部RAM(17)
を備えており、これもマイクロコンピュータ(1)によ
って制御される。
(15) is a digital signal processing circuit (DSP) capable of high-speed signal processing, and has an external RAM (16) and an internal RAM (17)
Which is also controlled by the microcomputer (1).

入力端子(9)に供給されたアナログ映像信号は、A/
D変換器(10)に供給されて、デジタル映像信号に変換
された後、ビデオメモリ(6)に供給されて、静止画の
画像データとして書き込まれる。そして、このビデオメ
モリ(6)に記憶されている静止画信号が、マイクロコ
ンピュータ(1)及びデジタル信号処理回路(15)によ
って、ブロック符号化、即ち、離散コサイン変換等の直
交変換及びそれに続く圧縮符号化、即ち、ハフマン符号
化等の可変長符号化)を行い、通信用メモリ(14)に対
する書き込み及び読み出しを経て、通信処理回路及びイ
ンターフェース(12)に供給されて送信処理された後、
伝送線路(13)を通じて、他の静止画像送信装置伝送さ
れる。
The analog video signal supplied to the input terminal (9) is
After being supplied to a D converter (10) and converted into a digital video signal, it is supplied to a video memory (6) and written as still image data. The still image signal stored in the video memory (6) is subjected to block coding, that is, orthogonal transform such as discrete cosine transform and subsequent compression by the microcomputer (1) and the digital signal processing circuit (15). Encoding, that is, variable-length encoding such as Huffman encoding), and after writing to and reading from the communication memory (14), is supplied to the communication processing circuit and the interface (12), and is subjected to transmission processing.
Another still image transmitting device is transmitted through the transmission line (13).

又、他の静止画伝送装置から、伝送線路(13)を通じ
て、通信処理回路及びインターフェース(12)に供給さ
れた伝送信号は、ここで受信処理され、得られた直交変
換及び圧縮符号化されたデジタル映像信号は、通信用メ
モリ(14)に書き込まれ、ここでマイクロコンピュータ
(1)及びデジタル信号処理回路(15)によって、ブロ
ック復号化、即ち、伸長復号化及びこれに続く直交逆変
換を行った後、得られた各ブロック信号をビデオメモリ
(6)に書き込んで、静止画信号を形成する。そして、
このビデオメモリ(6)から読み出されたデジタル映像
信号は、D/A変換器(7)に供給されてアナログ映像信
号に変換された後、陰極線管を備えたモニタ受像機
(8)に供給されて、その陰極線管の管面上に静止画と
して映出される。
The transmission signal supplied from another still image transmission device to the communication processing circuit and the interface (12) through the transmission line (13) is received and processed here, and the obtained orthogonal transform and compression encoding are performed. The digital video signal is written in the communication memory (14), where the microcomputer (1) and the digital signal processing circuit (15) perform block decoding, that is, decompression decoding and subsequent orthogonal inverse transformation. After that, each obtained block signal is written to the video memory (6) to form a still image signal. And
The digital video signal read from the video memory (6) is supplied to a D / A converter (7), converted into an analog video signal, and then supplied to a monitor receiver (8) having a cathode ray tube. Then, the image is projected as a still image on the surface of the cathode ray tube.

次に、第6図を参照して、IEEE TRANSACTIONS ON COM
MUNICATION(アイ・イー・イー・イー・トランザクショ
ン・オン・コミュニケイション),VOL.COM−32,NO.3,MA
RCH 1984のP.225〜P.232等に開示されているアダプティ
ブ・離散コサイン変換(ADCT)による符号化を、上述し
た第5図の静止画伝送装置に適用した場合について説明
する。
Next, referring to FIG. 6, the IEEE TRANSACTIONS ON COM
MUNICATION (IEE Transaction on Communication), VOL.COM-32, NO.3, MA
A case will be described in which the encoding by the adaptive discrete cosine transform (ADCT) disclosed in P.225 to P.232 of RCH 1984 is applied to the still image transmission apparatus shown in FIG.

第6図Aに示す如く、ビデオメモリ(フレームメモリ
(6)に記憶されている、1フレーム分のデジタル映像
信号(ここでは、説明の簡単のため、映像信号はモノク
ローム映像信号とする)768行480列の行列を構成する76
8×480個の8ビットの画素信号を、マイクロコンピュー
タ(1)によって、第6図Bに示す如く、8行8列の行
列を構成する8×8個の互いに隣接する画素信号から成
るブロック信号に夫々分割すると共に、ブロック信号毎
に読み出して、デジタル信号処理回路(15)の外部RAM
(16)に書き込む。
As shown in FIG. 6A, a video memory (a digital video signal for one frame stored in the frame memory (6) (here, the video signal is a monochrome video signal for simplicity of description), 768 rows Create a 480-column matrix76
As shown in FIG. 6B, a block signal composed of 8 × 8 adjacent pixel signals forming an 8 × 8 matrix as shown in FIG. 6B by the microcomputer (1) using 8 × 480 8-bit pixel signals. And read it out for each block signal, and read the external RAM of the digital signal processing circuit (15).
Write to (16).

そして、この外部RAM(16)に書き込まれた各ブロッ
ク信号を、このデジタル信号処理回路(15)によって、
2次元離散コサイン変換(2次元DCT)する。これの一
般化したものを、以下に、数式によって示す。
Then, each block signal written in the external RAM (16) is converted by the digital signal processing circuit (15).
Performs two-dimensional discrete cosine transform (two-dimensional DCT). A generalized version of this is shown below by mathematical expressions.

j,k(但し、j,kは、j,k=0,1,2,3,・・・・・,N−
1)のシークエンスf(j,k)の2次元離散コサイン変
換F(u,v)は次式のように表される。
j, k (where j, k is j, k = 0,1,2,3, ..., N-
The two-dimensional discrete cosine transform F (u, v) of the sequence f (j, k) of 1) is expressed by the following equation.

しかして、外部RAM(16)に記憶されていた8行8列
の行列を構成する8×8個の画素信号が、2次元離散コ
サイン変換されて得られた8行8列の行列を構成する8
×8個の係数信号(夫々、例えば、12ビットに丸められ
る)は、第6図Cに示すように、左上隅部に直流の係数
(DC)(8×8個の画素信号の平均値)信号が来、これ
から水平及び垂直方向に遠ざかるに従って、低から高の
周波数の係数信号が分布することに成る。
Thus, the 8 × 8 pixel signals forming the matrix of 8 rows and 8 columns stored in the external RAM (16) form the matrix of 8 rows and 8 columns obtained by two-dimensional discrete cosine transform. 8
As shown in FIG. 6C, a × 8 coefficient signal (each rounded to, for example, 12 bits) has a DC coefficient (DC) (an average value of 8 × 8 pixel signals) in the upper left corner. As the signal arrives and moves away from it in the horizontal and vertical directions, a low to high frequency coefficient signal will be distributed.

そして、マイクロコンピュータ(1)によって、外部
RAM(16)に記憶されている8行8列の行列を構成する
8×8個の係数信号を、予め選定されている8行8列の
量子化行列を構成する量子化除数の対応するもので割算
することによって量子化を行い、その商が8ビットで表
されるように丸める。これによって得られた8行8列の
行列を構成する8×8個の量子化係数信号を第6図Dに
示すが、その左上隅の量子化された直流の係数信号(D
C)から遠ざかるにつれて、係数が0と成る係数信号が
頻出し、多い場合には全量子化係数信号の2/3にも達す
る。
And, by the microcomputer (1),
The 8 × 8 coefficient signals constituting the matrix of 8 rows and 8 columns stored in the RAM (16) are converted into the corresponding ones of the quantization divisors constituting the quantization matrix of 8 rows and 8 columns selected in advance. Quantization is performed, and the quotient is rounded so as to be represented by 8 bits. FIG. 6D shows the 8 × 8 quantized coefficient signals constituting the matrix of 8 rows and 8 columns obtained in this manner, and the quantized DC coefficient signal (D
As the distance from C) increases, coefficient signals having a coefficient of 0 frequently appear, and in many cases, reach 2/3 of all quantized coefficient signals.

そして、第6図Dに示す8×8個の量子化係数信号
を、マイクロコンピュータ(1)によって、左上隅の直
流係数信号を除いて(含めるも可)、第6図Eに示すよ
うにジグザグ走査した後、圧縮符号可した後、第5図の
通信用メモリ(14)に書き込む。
Then, the microcomputer (1) removes (or may include) the DC coefficient signal at the upper left corner of the 8 × 8 quantized coefficient signals shown in FIG. 6D and zigzags as shown in FIG. 6E. After the scanning, the compression code is enabled, and the result is written into the communication memory (14) in FIG.

尚、ADCTにより符号化されたデジタル映像信号のAIDC
T(アダプティブ・逆離散コサイン変換)についての詳
細な説明は省略するが、簡単に説明すれば、通信用メモ
リ(14)に記憶されているADCTにより符号化されたデジ
タル映像信号を、マイクロコンピュータ(1)によっ
て、伸長復号化し、それを逆ジグザグ走査すると共に、
それを逆量子化し、デジタル信号処理回路(15)によっ
て、それを2次元逆コサイン変換してブロック信号を
得、そのブロック信号を、マイクロコンピュータ(1)
によって、ビデオメモリ(6)に書き込み、これを繰り
返すことにより、静止画信号が形成される。
The AIDC of the digital video signal encoded by ADCT
Although a detailed description of T (adaptive / inverse discrete cosine transform) is omitted, in brief, a digital video signal encoded by the ADCT stored in the communication memory (14) is converted to a microcomputer ( According to 1), it is decompressed and decoded, and it is subjected to inverse zigzag scanning, and
It is inversely quantized, two-dimensional inverse cosine transformed by a digital signal processing circuit (15) to obtain a block signal, and the block signal is converted to a microcomputer (1).
Thus, a still image signal is formed by writing to the video memory (6) and repeating this.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

かかる従来の静止画伝送装置では、マイクロコンピュ
ータが、フレームメモリに記憶されている静止画信号
を、ブロック信号に分割すると共に、ブロック信号毎に
出力し、デジタル信号処理回路が、そのブロック信号を
ブロック符号化して後、伝送するので、マイクロコンピ
ュータでヘッダ信号を形成し、デジタル信号処理回路で
形成した各ブロック符号化を、ヘッダ信号をと共に伝送
するようにした場合、ヘッダ信号及び各ブロック符号化
信号夫々の間の連続性が不確実に成ったり、デジタル信
号処理回路における静止画信号のブロック信号毎のブロ
ック符号化が、不確実に行われたり、効率が悪く成った
りする虞がある。
In such a conventional still image transmission device, a microcomputer divides a still image signal stored in a frame memory into block signals and outputs each block signal, and a digital signal processing circuit blocks the block signal. After encoding and transmitting, the header signal is formed by the microcomputer, and each block encoding formed by the digital signal processing circuit is transmitted together with the header signal. There is a possibility that the continuity between them may be uncertain, or the block coding of the still image signal for each block signal in the digital signal processing circuit may be performed uncertainly or the efficiency may be reduced.

かかる点に鑑み、本発明は、マイクロコンピュータに
よって、画像メモリに記憶された画像データに関連する
ヘッダ情報を形成すると共に、画像メモリに記憶された
画像データをブロックに分割し、デジタル信号処理回路
によって、そのブロックに分割された画像データをブロ
ック単位で符号化して得られたブロック符号化信号を伝
送するようにした画像伝送装置及び画像伝送方法におい
て、ヘッダ情報及びブロック符号化信号夫々の間の連続
性を確実にすると共に、デジタル信号処理回路における
画像データのブロック符号化を確実且つ効率良く行わせ
ることのできるものを提案しようとするものである。
In view of the foregoing, the present invention provides a microcomputer that forms header information related to image data stored in an image memory, divides the image data stored in the image memory into blocks, and uses a digital signal processing circuit. In the image transmission apparatus and the image transmission method for transmitting a block coded signal obtained by coding the image data divided into the blocks in units of blocks, the continuity between the header information and the block coded signal is Another object of the present invention is to propose a device that can ensure the performance and can reliably and efficiently perform block coding of image data in a digital signal processing circuit.

〔課題を解決するための手段〕[Means for solving the problem]

本発明による画像伝送装置は、少なくとも1フレーム
の画像データを記憶する画像メモリと、画像メモリに記
憶された画像データに関連するヘッダ情報を形成すると
共に、画像メモリに記憶さた画像データを所定数の画像
データからなるブロックに分割して、ブロック毎に画素
データを出力するマイクロコンピュータと、マイクロコ
ンピュータから供給される画素データをブロック単位で
圧縮符号化するデジタル信号処理回路とを有し、マイク
ロコンピュータの制御の下で、デジタル信号処理回路に
よって得られた圧縮符号化データをその圧縮符号化デー
タに対応するヘッダ情報と共に伝送するようにした画像
伝送装置であって、マイクロコンピュータは、ヘッダ情
報の終端部を示す位置情報をデジタル信号処理回路に伝
送し、デジタル信号処理回路は、ヘッダ情報に対応する
圧縮符号化データの終端部を示す位置情報をマイクロコ
ンピュータに伝送するようにしたことを特徴とするもの
である。
An image transmission apparatus according to the present invention forms an image memory storing at least one frame of image data, forms header information related to the image data stored in the image memory, and stores a predetermined number of image data stored in the image memory. A microcomputer that divides the image data into blocks of image data and outputs pixel data for each block, and a digital signal processing circuit that compresses and encodes the pixel data supplied from the microcomputer in block units. An image transmission device that transmits compressed and encoded data obtained by a digital signal processing circuit together with header information corresponding to the compressed and encoded data under control of the digital signal processing circuit. The position information indicating the part is transmitted to the digital signal processing circuit, Management circuit is characterized in that so as to transmit position information indicating the end of the encoded data corresponding to the header information to the microcomputer.

〔作用〕[Action]

かかる本発明画像伝送装置によれば、マイクロコンピ
ュータによって、少なくとも1フレームの画像データを
記憶する画像メモリに記憶された画像データに関連する
ヘッダ情報を形成すると共に、画像メモリに記憶された
画像データを所定数の画像データからなるブロックに分
割して、ブロック毎に画素データを出力し、デジタル信
号処理回路によって、マイクロコンピュータから供給さ
れる画素データをブロック単位で圧縮符号化し、マイク
ロコンピュータの制御の下で、デジタル信号処理回路に
よって得られた圧縮符号化データをその圧縮符号化デー
タに等するヘッダ情報と共に伝送する。そして、マイク
ロコンピュータは、ヘッダ情報の終端部を示す位置情報
をデジタル信号処理回路に伝送し、デジタル信号処理回
路は、ヘッダ情報に対応する圧縮符号化データの終端部
を示す位置情報をマイクロコンピュータに伝送する。
According to the image transmission apparatus of the present invention, the microcomputer forms the header information related to the image data stored in the image memory that stores at least one frame of image data, and converts the image data stored in the image memory. The image data is divided into blocks each consisting of a predetermined number of image data, pixel data is output for each block, and pixel data supplied from the microcomputer is compression-encoded in block units by a digital signal processing circuit. Then, the compressed encoded data obtained by the digital signal processing circuit is transmitted together with header information equivalent to the compressed encoded data. Then, the microcomputer transmits the position information indicating the end of the header information to the digital signal processing circuit, and the digital signal processing circuit sends the position information indicating the end of the compression-encoded data corresponding to the header information to the microcomputer. Transmit.

〔実施例〕〔Example〕

以下に、図面を参照して、本発明による静止画伝送装
置の実施例を説明するが、その全体の構成は第5図につ
いて説明した従来の静止画伝送装置と同様なので、重複
説明はこれを省略する。
Hereinafter, an embodiment of a still image transmission device according to the present invention will be described with reference to the drawings, but the overall configuration is the same as that of the conventional still image transmission device described with reference to FIG. Omitted.

上述の通信用メモリ(14)は、送信時及び受信時に、
後述するデジタル輝度信号及び2つのデジタル色差信号
の各フレーム毎のヘッダ信号及びそれに続く圧縮符号化
を一時的に記憶するためのメモリであるので、その容量
の最小値は、通信速度に依存し、通常の電話回線を利用
した通信のように通信速度が低い場合には、デジタル映
像信号の1フレーム分より遥かに少ない容量で良い。
又、通信用メモリ(14)の容量を例えば1乃至数フレー
ムと大きくして、大量のデジタル映像信号を蓄積してお
くようにしても良いことは勿論である。
The above-mentioned communication memory (14) is used for transmission and reception.
Since it is a memory for temporarily storing a header signal for each frame of a digital luminance signal and two digital chrominance signals, which will be described later, and the subsequent compression encoding, the minimum value of the capacity depends on the communication speed, When the communication speed is low as in the communication using a normal telephone line, the capacity may be much smaller than one frame of the digital video signal.
Further, it is a matter of course that the capacity of the communication memory (14) may be increased to, for example, one to several frames to store a large amount of digital video signals.

次に、マイクロコンピュータ(1)及びデジタル信号
処理回路(15)によるADCTによる符号化(圧縮)及びAI
DCTによる復号化(伸長)を、主として第5図を参照し
て説明する。
Next, encoding (compression) by the ADCT by the microcomputer (1) and the digital signal processing circuit (15) and AI
The decoding (expansion) by DCT will be described mainly with reference to FIG.

マイクロコンピュータ(1)〔そのCPU(2)〕は、
デジタル信号処理回路(15)の符号処理及び復号化処理
の各当初に、デジタル信号処理回路(15)をリセット状
態にして、デジタル信号処理回路(15)の外部メモリ
(16)の符号化用及び復号化用メモリバンクに、夫々符
号化用及び復号化用プログラム並びに符号化用呼び復号
化用の量子化行列、ハフマンコード表、ジグザグ走査ポ
インタの各データ等をロードする。
The microcomputer (1) [its CPU (2)]
At the beginning of each of the encoding process and the decoding process of the digital signal processing circuit (15), the digital signal processing circuit (15) is reset so that the external memory (16) of the digital signal processing circuit (15) is used for encoding and The decoding memory bank is loaded with the encoding and decoding programs, the quantization matrix for encoding call decoding, the Huffman code table, zigzag scanning pointer data, and the like.

又、マイクロコンピュータ(1)の制御によって、ビ
デオメモリ(6)に記憶されている1フレーム分のデジ
タル輝度信号(夫々が8ビットの768×480個の画素信号
から成る)、1フレーム分のデジタル赤色差信号(夫々
が8ビットの384×480個の画素信号から成る)及び1フ
レーム分のデジタル青色差信号(夫々が8ビットの384
×480個の画素信号から成る)が、夫々デジタル輝度信
号、デジタル赤色差信号及びデジタル青色差信号毎に、
夫々ブロック信号に分割されると共に、ブロック信号毎
に出力されて、夫々外部RAM(15)に書き込まれる際、
途中の符号化用及び復号化用の量子化行列、ハフマンコ
ード表及びジグザグ走査ポインタの各データの交換の際
並びにブロック信号毎の符号化及び復号化の終了時点に
おいても、デジタル信号処理回路(15)はリセット状態
にされる。
Also, under the control of the microcomputer (1), a digital luminance signal for one frame (each consisting of 768 × 480 pixel signals of 8 bits) stored in the video memory (6) and a digital luminance signal for one frame A red difference signal (each consisting of 384 × 480 pixel signals of 8 bits) and a digital blue difference signal of one frame (each of 384 × 384 pixel signals)
× 480 pixel signals), for each of the digital luminance signal, digital red difference signal and digital blue difference signal,
When divided into block signals and output for each block signal and written to the external RAM (15),
The digital signal processing circuit (15) is also used at the time of data exchange between the quantization matrix for encoding and decoding, the Huffman code table, and the zigzag scanning pointer on the way, and at the end of encoding and decoding for each block signal. ) Is reset.

先ず、ADCTによる符号化について、主とし第1図を参
照して説明する。ここでは、輝度信号の符号化について
説明し、2種類の色差信号の個別の符号化の説明はこれ
と同様なので、その説明を省略する。
First, encoding by ADCT will be mainly described with reference to FIG. Here, the encoding of the luminance signal will be described, and the description of the individual encoding of the two types of chrominance signals will be the same as that described above, so the description thereof will be omitted.

マイクロコンピュータ(1)〔そのCPU(2)〕によ
って、第2図に示す如く、予め、フレームのブロック
数、輝度信号、色差信号(又は色信号)の種類等を示す
ヘッダ信号を作って、通信用メモリ(6)に書き込んで
置くと共に、デジタル信号処理回路(15)に伝送して、
第1図に示す如く、デジタル信号処理回路(15)の内部
メモリ(17)の符号化用メモリバンク(以下、同じ)に
設けたワードポインタ用メモリ部WP及びビットポインタ
用メモリ部BPに、そのヘッダ信号のビット長さを、ワー
ド数(ワードポインタ)及びビット数(ビットポイン
タ)で表したものを、初期値として書き込んで置くと共
に、第2図に示す如く、その後、デジタル信号処理回路
(15)で符号化信号が得られる毎に、メモリ部WP、BPの
内容を、前回までの各積算値に加算すると共に、その積
算値(ワードポインタ)で、メモリ部WP、BPを更新する
ようにする。この場合のワードとビットの関係は、後述
する画素信号のワードとビットとの関係、即ち、1ワー
ド=8ビットとは無関係で、例えば、1ワード=16ビッ
トしても良いが、ここでは簡単のため、1ワード=8ビ
ットとして置く。この場合、ワード数はワード0、ワー
ド1、ワード2、・・・と変化し、ビット数は0、1、
2、・・、7と変化する。
As shown in FIG. 2, the microcomputer (1) [its CPU (2)] generates a header signal indicating the number of blocks of a frame, the type of a luminance signal, the type of a color difference signal (or a color signal), and performs communication in advance. And write it to the digital memory (6) and transmit it to the digital signal processing circuit (15).
As shown in FIG. 1, a word pointer memory unit WP and a bit pointer memory unit BP provided in an encoding memory bank (hereinafter the same) of an internal memory (17) of a digital signal processing circuit (15) have The bit length of the header signal represented by the number of words (word pointer) and the number of bits (bit pointer) is written as an initial value, and as shown in FIG. 2, a digital signal processing circuit (15 ), Each time an encoded signal is obtained, the contents of the memory units WP and BP are added to each integrated value up to the previous time, and the memory units WP and BP are updated with the integrated value (word pointer). I do. In this case, the relationship between the word and the bit is not related to the relationship between the word and the bit of the pixel signal described later, that is, 1 word = 8 bits. For example, 1 word = 16 bits may be used. Therefore, one word is set as 8 bits. In this case, the number of words changes to word 0, word 1, word 2,...
It changes to 2, ..., 7.

そして、後述するように、デジタル信号処理回路(1
5)によって、ブロック信号が2次元離散コサイン変換
乃至ハフマン符号化によって得られた符号化信号は、マ
イクロコンピュータ(1)の制御によって、上記のヘッ
ダ信号に順次連続するように通信用メモリ(14)に書き
込まれる。
Then, as described later, the digital signal processing circuit (1
According to 5), the coded signal obtained by the two-dimensional discrete cosine transform or Huffman coding of the block signal is controlled by the microcomputer (1) so that the communication memory (14) can be successively connected to the header signal. Is written to.

この場合、メモリ部WP、ビットBPに夫々記憶されてい
るヘッダ信号のビット長のワード数(ワードポインタ)
及びビット数(ビットポインタ)が記憶されているか
ら、それが例えばワード5、ビット3であれば、それが
ヘッダ信号の終端部のワード数(ワードポインタ)及び
ビット数(ビットポインタ)を表すことに成る。従っ
て、デジタル信号処理回路(15)では、それに続く最初
の符号化信号の始端部は、ワード5、ビット4(夫々を
ワードポインタ、ビットポインタとして上述のメモリ部
WP、BPに記憶させていると共に、マイクロコンピュータ
(1)に伝送しても良い)であることが分かる。そし
て、その最初の符号化信号の終端部(厳密には、ブロッ
クの終端を示す信号の終端部)がワード8、ビット6で
あるとすれば、これが、デジタル信号処理回路(15)か
らマイクロコンピュータ(1)に伝送され、デジタル信
号処理回路(15)では、同様に、それに続く符号化信号
の始端部は、ワード8、ビット7(夫々をワードポイン
タ、ビットポインタとして上述のメモリ部WP、BPに記憶
させると共に、マイクロコンピュータ(1)に伝送して
も良い)であることが分かる。以下に、これを繰り返す
ことに成る。
In this case, the number of words (word pointer) of the bit length of the header signal stored in the memory unit WP and the bit BP, respectively.
And the number of bits (bit pointer) are stored, so that if they are, for example, word 5 and bit 3, they represent the number of words (word pointer) and the number of bits (bit pointer) at the end of the header signal. It becomes. Therefore, in the digital signal processing circuit (15), the beginnings of the first coded signal that follows are word 5 and bit 4 (the above-mentioned memory unit is used as a word pointer and a bit pointer, respectively).
WP and BP, and may be transmitted to the microcomputer (1)). If the end of the first coded signal (strictly, the end of the signal indicating the end of the block) is word 8 and bit 6, this is sent from the digital signal processing circuit (15) to the microcomputer. Similarly, in the digital signal processing circuit (15), the beginning of the coded signal that follows is the word 8 and bit 7 (the above-mentioned memory units WP and BP are used as a word pointer and a bit pointer, respectively). And may be transmitted to the microcomputer (1)). This will be repeated below.

さて、第3図に示す如く、マイクロコンピュータ
(1)の制御の下に、ビデオメモリ(6)から、1フレ
ーム分の静止画デジタル輝度信号〔768行480列の行列を
構成する768×480個の画素(8ビット)から成る〕を、
8行8列の行列を構成する8×8個の隣接画素信号から
成るブロック信号に分割すると共に、ブロック信号毎に
出力させて、デジタル処理回路(15)の外部RAM(16)
のメモリ部DSPFBに書き込む。そして、このメモリ部DSP
FBに書き込まれたブロック信号を、このデジタル信号処
理回路(15)で、以下に説明するように信号処理する。
As shown in FIG. 3, under the control of the microcomputer (1), a still picture digital luminance signal for one frame [768.times.480 pixels forming a matrix of 768 rows and 480 columns] is obtained from the video memory (6). Pixel (8 bits)]
An external RAM (16) of the digital processing circuit (15) divides the signal into block signals composed of 8 × 8 adjacent pixel signals forming an 8 × 8 matrix and outputs the block signals for each block signal.
To the memory section DSPFB. And this memory part DSP
The block signal written in the FB is subjected to signal processing by the digital signal processing circuit (15) as described below.

先ず、外部RAM(16)のメモリ部DSPFBに記憶されてい
る8行8列の行列を構成する8×8個の画素信号から成
るブロック信号を、次のような2段階の1次源離散コサ
イン変換によって、2次元離散コサイン変換(2次元DC
T)する。
First, a block signal composed of 8 × 8 pixel signals constituting a matrix of 8 rows and 8 columns stored in a memory section DSPFB of the external RAM (16) is converted into a two-stage primary source discrete cosine as follows. By transform, two-dimensional discrete cosine transform (two-dimensional DC
T)

即ち、メモリ部DSPFBの第1行の8個の画素信号を、
内部をRAM(17)のメモリ部FPに移し、この8個の画素
信号を、1次元離散コサイン変換〔DCT(1)〕した
後、得られた8個の係数信号を、内部メモリ(17)のメ
モリ部QEの第1行に移す。同様に、メモリ部DSPFBの第
2行〜第8行の各8個の画素信号を、順次メモリ部FPに
移して夫々1次元離散コサイン変換〔DCT(1)〕した
後、得られた各8個の係数信号を、夫々メモリ部QEの第
2〜第8行に順次移す。
That is, the eight pixel signals in the first row of the memory unit DSPFB are
After moving the inside to the memory unit FP of the RAM (17) and performing one-dimensional discrete cosine transform [DCT (1)] on the eight pixel signals, the obtained eight coefficient signals are stored in the internal memory (17). To the first row of the memory section QE. Similarly, the eight pixel signals in the second to eighth rows of the memory unit DSPFB are sequentially transferred to the memory unit FP and subjected to one-dimensional discrete cosine transform [DCT (1)]. The coefficient signals are sequentially transferred to the second to eighth rows of the memory unit QE, respectively.

次に、このメモリ部QEに記憶されている8行8列の行
列を構成する8×8個の係数信号(例えば、10ビットに
丸められている)の行と列とを置換した後、上述と同様
に、第1行〜第8行の8個の係数信号を、順次メモリ部
FPに移して夫々1次元離散コサイン変換〔DCT(2)〕
する。
Next, after replacing the rows and columns of the 8 × 8 coefficient signals (for example, rounded to 10 bits) constituting the matrix of 8 rows and 8 columns stored in the memory section QE, Similarly, the eight coefficient signals in the first to eighth rows are sequentially stored in the memory unit.
Transfer to FP and one-dimensional discrete cosine transform [DCT (2)]
I do.

このようにして、外部RAM(16)のメモリ部DSPFBに記
憶されていた8×8個の画素信号の、2次元離散コサイ
ン変換されて得られた8×8個の係数信号(例えば、12
ビットに丸められている)は、第6図Cに示したと同様
に、左上隅部に直流の係数信号(8×8個の係数信号の
平均値の信号)(DC)が来、これから水平及び垂直方向
に遠ざかるに従って、低から高の周波数の係数の信号が
分布することに成る。
In this way, the 8 × 8 pixel signals stored in the memory unit DSPFB of the external RAM (16) are subjected to two-dimensional discrete cosine transform to obtain 8 × 8 coefficient signals (for example, 12 × 8).
As shown in FIG. 6C, a DC coefficient signal (signal of an average value of 8 × 8 coefficient signals) (DC) comes to the upper left corner in the same manner as shown in FIG. As the distance increases in the vertical direction, a signal having a coefficient of low to high frequency will be distributed.

そして、2回目の1次元離散コサイン変換〔DCT
(2)〕において、メモリ部FPに記憶されている各行毎
の8個の係数信号を、外部RAM(16)のメモリ部QTABLE
に記憶されている8行8列の量子化行列の対応する各行
の対応する列の量子化除数で割算した後、8行8例の量
子化行列の対応する値で割算することによって、量子化
を行い(ここでは、その商が8ビットで表されるように
丸められる)、メモリ部QEに各行毎に順次書き込まれ
る。このメモリ部QEに記憶されている8行8列の行列を
構成する8×8個の量子化係数信号は、その左上隅に量
子化直流係数信号が位置し、この左上隅から遠い部分に
は、係数が0の係数信号が多く(例えば、全体の2/3
も)分布している。
Then, the second one-dimensional discrete cosine transform [DCT
In (2)], the eight coefficient signals for each row stored in the memory unit FP are stored in the memory unit QTABLE of the external RAM (16).
, By dividing by the quantization divisor of the corresponding column of each row of the 8-row, 8-column quantization matrix, and then dividing by the corresponding value of the 8-row, 8-example quantization matrix, Quantization is performed (here, the quotient is rounded so as to be represented by 8 bits), and is sequentially written to the memory unit QE for each row. The 8 × 8 quantized coefficient signals forming the matrix of 8 rows and 8 columns stored in the memory section QE have a quantized DC coefficient signal at the upper left corner, and a portion far from the upper left corner has , Many coefficient signals with coefficient 0 (for example, 2/3
Also) distributed.

尚、このメモリ部QTABLEの量子化行列は、輝度信号並
びに赤及び青色左信号の別、ビデオメモリ(6)に記憶
されている1フレーム分の静止画デジタル映像信号の画
像の内容の如何、これより抽出されたブロック信号の画
像の内容の如何等によって、マイクロコンピュータ
(1)によって、書き換えるようにする。
The quantization matrix of the memory section QTABLE is used to determine whether the luminance signal and the red and blue left signals are different, and the content of the image of the still image digital video signal for one frame stored in the video memory (6). The microcomputer (1) rewrites the image according to the content of the image of the extracted block signal.

メモリ部QEに記憶されている8×8個の2次元離散コ
サイン変換及び量子化された係数信号の内、その左上隅
の量子化直流係数信号は、そのままハフマン符号化して
も良いが、圧縮率を稼ぐために、初期値を例えば係数が
0の係数信号として外部メモリ部(16)のメモリ部PRED
Cに記憶して置き、あるブロック信号の量子化係数信号
からその直前のブロック信号の量子化係数信号を減算し
て得た差の量子化係数信号を、外部RAM(16)のメモリ
部DCHUFFに記憶されているハフマンコード表に従ってハ
フマン符号化した後、外部RAM(16)のメモリ部DSPHBに
書き込む。
Of the 8 × 8 two-dimensional discrete cosine transform and quantized coefficient signals stored in the memory unit QE, the quantized DC coefficient signal at the upper left corner thereof may be directly subjected to Huffman coding. In order to earn the PRED, the initial value is set as a coefficient signal with a coefficient of 0, for example, in the memory unit PRED of the external memory unit (16).
C, and the difference quantization coefficient signal obtained by subtracting the quantization coefficient signal of the immediately preceding block signal from the quantization coefficient signal of a certain block signal is stored in the memory unit DCHUFF of the external RAM (16). After Huffman coding according to the stored Huffman code table, the data is written to the memory section DSPHB of the external RAM (16).

又、メモリ部QEに記憶されている量子化直流係数信号
を除く、行列を構成する8×8−1個の交流量子化係数
信号の内右下部分には、0が多く分布しているので、後
述する0のラン長を長くすることによって、圧縮率を稼
ぐために、行列を構成する8×8−1個の量子化係数信
号外部RAM(16)のメモリ部ZTABLEに記憶されているジ
グザグ走査ポインタに基づいて、行列を構成する8×8
−1個の量子化係数信号をジグザグ走査して得た係数信
号の0のラン長及びそれに続く0でない係数の組を、外
部RAM(16)のメモリ部ACHUFFに記憶されている8行8
列の行例を構成するAC用ハフマンコード表に基づいてハ
フマン符号化(エントロピーコーディング)した後、そ
の各符号化信号を、上述の量子化直流係数信号に続け
て、順次にメモリ部DSPHBに書き込む。
Except for the quantized DC coefficient signal stored in the memory unit QE, since many 0s are distributed in the lower right part of the 8 × 8-1 AC quantized coefficient signals forming the matrix, The zigzag stored in the memory unit ZTABLE of the 8 × 8-1 quantized coefficient signal external RAM (16) forming the matrix is used to increase the compression ratio by increasing the run length of 0 to be described later. 8 × 8 forming a matrix based on the scanning pointer
A run length of 0 of the coefficient signal obtained by zigzag scanning of one quantized coefficient signal and a subsequent set of non-zero coefficients are stored in a memory unit ACHUFF of the external RAM (16) in 8 rows 8
After Huffman coding (entropy coding) based on the Huffman code table for ACs constituting a row example of a column, each coded signal is sequentially written to the memory unit DSPHB following the above-described quantized DC coefficient signal. .

このように、ジグザグ走査して得た係数信号の0のラ
ン長及び0でない係数の組をハフマン符号化する場合、
0のラン長及び0でない係数を各別のハフマンコード表
に基づいてハフマン符号化(2つの1次元コーディン
グ)しても良く、又は、0のラン長及び0でない係数
を、縦横の軸に採って統計表を作り、この統計表を1つ
のハフマンコード表に基づいてハフマン符号化(2次元
コーディング)を行っても良い。
Thus, when a set of a run length of 0 and a non-zero coefficient of a coefficient signal obtained by zigzag scanning is Huffman-coded,
A run length of 0 and non-zero coefficients may be Huffman coded (two one-dimensional codings) based on separate Huffman code tables, or a run length of 0 and non-zero coefficients may be taken on the vertical and horizontal axes. A Huffman coding (two-dimensional coding) may be performed based on one Huffman code table.

尚、このハフマンコード表は、輝度信号及び色差信号
の別、ビデオメモリ(6)に記憶されている1フレーム
分の静止画デジタル映像信号の画像の内容の如何、これ
より抽出されたブロック信号のの画像の内容に如何等に
よって、マイクロコンピュータ(1)からのデータによ
って、書き換えるようにする。
The Huffman code table indicates whether the image content of the still image digital video signal for one frame stored in the video memory (6) is different from the luminance signal and the color difference signal, and the block signal extracted therefrom. Is rewritten by the data from the microcomputer (1) in any manner.

又、そのメモリ部DSPHBに書き込まれた、各ブロック
信号毎の符号化信号の最後には、その終端を示す信号を
そのメモリ部DSPHBに書き込むものとする。
At the end of the coded signal for each block signal written in the memory section DSPHB, a signal indicating the end is written to the memory section DSPHB.

そして、このブロック信号毎の符号化信号のビット長
を、ワード数(1ワードは8ビット)及びビット数で表
し、ヘッダ信号長さ、即ちそのワード数及びビット数に
順次加算して、ブロック信号毎の符号化毎のワード積算
値(ワードポインタ)及びビット積算値(ビットポイン
タ)、即ち、ブロック信号毎の符号化信号の終端部のワ
ード数及びビット数を、その符号化が終了する毎に、メ
モリ部WP及びBPに、更新して書き込むと共に、マイクロ
コンピュータ(1)に伝送する。
The bit length of the coded signal for each block signal is represented by the number of words (one word is 8 bits) and the number of bits, and is sequentially added to the header signal length, that is, the number of words and the number of bits. The word integrated value (word pointer) and bit integrated value (bit pointer) for each encoding, that is, the number of words and the number of bits at the end of the encoded signal for each block signal are calculated every time the encoding is completed. , And updated and written in the memory units WP and BP, and transmitted to the microcomputer (1).

マイクロコンピュータ(1)は、このブロック信号毎
の符号化信号の終端部のワード数及びビット数によっ
て、デジタル信号処理回路(15)を制御して符号化処理
を続行させるか、その符号化処理を終了させて、次のフ
レームのヘッダ信号の作成を行うかの判断を行う。
The microcomputer (1) controls the digital signal processing circuit (15) to continue the encoding process according to the number of words and the number of bits at the end of the encoded signal for each block signal, or performs the encoding process. After ending the process, it is determined whether to create a header signal for the next frame.

そして、ビデオメモリ(6)に記憶されている1フレ
ーム分のデジタル輝度信号を構成する768×480個の画素
信号から、各ブロック信号を順次抽出し、そのブロック
信号毎に、上述したように2次元離散コサイン変換、量
子化、ジグザグ走査及びハフマン符号化を行って得た、
ブロック信号毎の符号化信号を、マイクロコンピュータ
(1)の制御の下に、メモリ部DSPHBから通信用メモリ
(14))へ、第2図のヘッダ信号に続けて順次に詰めて
書き込まれる如く転送する。
Then, each block signal is sequentially extracted from the 768 × 480 pixel signals constituting the digital luminance signal for one frame stored in the video memory (6), and for each block signal, 2 Obtained by performing dimensional discrete cosine transform, quantization, zigzag scanning and Huffman coding,
The coded signal for each block signal is transferred from the memory unit DSPHB to the communication memory (14) under the control of the microcomputer (1) so as to be sequentially packed and written following the header signal of FIG. I do.

次に、AIDCTによる復号化について説明する。ここで
は、復号化について説明し、2種類の符号化されている
色差信号の個別の復号化の説明はこれと同様なので、そ
の説明を省略する。
Next, decoding by AIDCT will be described. Here, the decoding will be described, and the description of the individual decoding of the two types of coded chrominance signals is the same as that described above, so the description thereof will be omitted.

第3図に示す如く、マイクロコンピュータ(1)の制
御の下に、通信用メモリ(14)に記憶されている圧縮符
号化されているデジタル輝度信号を、ヘッダ信号の後か
ら順次、外部RAM(16)の復号用メモリバンク(以下、
同じ)のメモリ部DSPHBに書き込むようにする。このメ
モリ部DSPHBはリング状メモリで、その容量は例えば、
ブロック信号毎の符号化信号の最大ビット長の所定整数
倍に設定するが、その容量は、伝送線路(13)における
通信速度や伸長復号化時間等を考慮して決定される。
As shown in FIG. 3, under the control of the microcomputer (1), the compression-coded digital luminance signals stored in the communication memory (14) are sequentially transferred from the external RAM ( 16) Decoding memory bank (hereinafter referred to as
The same is written in the memory section DSPHB. This memory section DSPHB is a ring-shaped memory, and its capacity is, for example,
The capacity is set to a predetermined integer multiple of the maximum bit length of the coded signal for each block signal, and the capacity is determined in consideration of the communication speed in the transmission line (13), the decompression decoding time, and the like.

このリング状メモリ部DSPHBに関連して、ワードポイ
ンタ用メモリ部WP及びビットポインタ用メモリ部BPK
を、外部RAM(16)に設ける。
In connection with this ring-shaped memory unit DSPHB, a memory unit WP for word pointer and a memory unit BPK for bit pointer
Is provided in the external RAM (16).

マイクロコンピュータ(1)は、1フレーム分の圧縮
符号化デジタル輝度信号に対し、そのヘッダ信号のビッ
ト長のワード数(=8ビット)及びビット数、即ち、そ
の終端部のワード数及びビット数(ここでは、例えばワ
ード5とする)及びそれに続く最初のブロック信号毎の
符号化信号の終端部のワード数及びビット数(ここで
は、例えばワード8とする)、それに続く2番目、3番
目、・・・・・のブロック信号毎の符号化信号の終端部
のワード数及びビット数を記憶している。
The microcomputer (1) applies the number of words (= 8 bits) and the number of bits of the bit length of the header signal to the compression-coded digital luminance signal for one frame, that is, the number of words and the number of bits at the end thereof ( Here, for example, word 5) and the number of words and bits (here, for example, word 8) at the end of the encoded signal for each of the first block signals that follow, and the second, third,. .. Stores the number of words and the number of bits at the end of the encoded signal for each block signal of.

第4図を参照するに、ヘッダ信号の終端部がワード5
だとすると、マイクロコンピュータ(1)は、リング状
メモリ部DSPHBに書き込まれる符号化信号の始端部は、
ワード6であることをポインタP1で表す(第4図A)。
Referring to FIG. 4, the end of the header signal is word 5
If this is the case, the microcomputer (1) calculates the start end of the encoded signal written in the ring-shaped memory unit DSPHB as:
Indicating that the word 6 in the pointer P 1 (Fig. 4 A).

リング状メモリ部DSPHBの容量を仮に8ワード(=64
ビット)とすると、そのリング状メモリ部DSPHBには、
最初のブロック信号の符号化信号の始端部ワード6から
始まって、ワード13までのブロック符号化信号が書き込
まれると共に、その書き始めがワード6であることを、
ポインタP2で表すと共に、次に復号化するブロック信号
毎の符号化信号の始端部はワード6であることを、ポイ
ンタP3で表し、夫々のポインタP1、P2の内容は、メモリ
部WP及びメモリ部BP内の、ここではメモリ部WPに書き込
まれる(第4図B)。このときポインタP1は変化しない
(第4図C)。
Assume that the capacity of the ring memory DSPHB is 8 words (= 64
Bit), the ring memory DSPHB has
Starting from word 6 at the beginning of the coded signal of the first block signal, the block coded signal up to word 13 is written, and the start of writing is word 6.
Together represented by the pointer P 2, then that beginning of a coded signal for each block signal decoding is the word 6, expressed as the pointer P 3, the contents of the pointer P 1, P 2 each, the memory unit The data is written in the memory section WP in the WP and the memory section BP (FIG. 4B). At this time the pointer P 1 is not changed (Fig. 4 C).

ワード6〜8のブロック符号化信号の復号化が終了す
ると、次に復号化するブロック信号毎の符号化信号の始
端部はワード9であることを、ポインタP3で表し、これ
がメモリ部WPにポインタP3の内容と置換されるように書
き込まれるが、ポインタP2は変化しない(第4図D)。
このとき、マイクロコンピュータ(1)は、リング状メ
モリ部DSPHBに書き込まれる符号化信号の始端部は、ワ
ード9であることをポインタP1が表す(第4図E)。
When the decoding of the block coded signal word 6-8 is completed, the next thing beginning of a coded signal for each block signal decoding is word 9 represents a pointer P 3, which is in the memory section WP Although written to be replaced with the contents of the pointer P 3, the pointer P 2 is not changed (Fig. 4 D).
At this time, the microcomputer (1), the beginning of the coded signal to be written into the ring-shaped memory unit DSPHB represents that the word 9 pointer P 1 (Fig. 4 E).

そして、マイクロコンピュータ(1)は、リング状メ
モリ部DSPHBに書き込まれている符号化信号のワード6
〜8の代わりに、通信用メモリ(14)からのワード14、
15、16を、ワード13に続くように、リング状メモリ部DS
PHBに書き込むと共に、その書き始めがワード9である
ことを、ポインタP2で表すと共に、これがメモリ部WPに
ポインタP2の内容と置換されるように書き込まれるが、
ポインタP3は変化しない(第4図F)。
Then, the microcomputer (1) reads the word 6 of the encoded signal written in the ring-shaped memory unit DSPHB.
Instead of ~ 8, word 14, from communication memory (14),
15 and 16 are added to the ring-shaped memory section DS so as to follow the word 13.
It is written in PHB, that the writing start is the word 9, together represented by the pointer P 2, but which is written to be replaced with the contents of the pointer P 2 in the memory section WP,
Pointer P 3 does not change (Fig. 4 F).

第3図に戻って、デジタル信号処理回路(15)におけ
る信号処理について説明するに、このリング状メモリ部
DSPHBに記憶されているブロック信号毎の符号化信号の
量子化直流係数信号の差のハフマン符号化信号を、外部
RAM(16)のメモリ部DCHUFFに記憶されているDC用ハフ
マンコード表(符号化時のDC用ハフマンコード表の逆変
換コード表)に従って、ハフマン復号化した後、メモリ
部PREDCに記憶されている量子化直流係数信号の初期値
(0)の係数信号を考慮して、そのブロック信号毎の符
号化信号の量子化直流係数信号を得、これを外部メモリ
(16)のメモリ部QTABLEに記憶されている量子化行列
(符号化時の量子化行列に対応する)を構成する逆量子
化乗数(符号化時の量子化除数と同じ)を掛けて逆量子
化した後、内部メモリ(17)のメモリ部QEの左上隅に書
き込むようにする。
Returning to FIG. 3, the signal processing in the digital signal processing circuit (15) will be described.
The Huffman coded signal of the difference between the quantized DC coefficient signal of the coded signal for each block signal stored in DSPHB is
After Huffman decoding according to the DC Huffman code table (inverse code table of the DC Huffman code table at the time of encoding) stored in the memory unit DCHUFF of the RAM (16), the data is stored in the memory unit PREDC. In consideration of the coefficient signal of the initial value (0) of the quantized DC coefficient signal, a quantized DC coefficient signal of an encoded signal for each block signal is obtained, and this is stored in the memory section QTABLE of the external memory (16). After inverse quantization is performed by multiplying the quantization matrix (corresponding to the quantization matrix at the time of encoding) by the inverse quantization multiplier (same as the quantization divisor at the time of encoding), the internal memory (17) Write it to the upper left corner of the memory section QE.

リング状メモリ部DSPHBに記憶されているブロック信
号毎の符号化信号(量子化直流係数信号の差のハフマン
符号化信号を除く)を、外部RAM(16)のメモリ部ACHUF
Fに記憶されているAC用ハフマンコード表(符号化時のA
C用ハフマンコード表の逆変換コード表)に従って、ハ
フマン復号化する。
The coded signal (excluding the Huffman coded signal of the difference between the quantized DC coefficient signals) for each block signal stored in the ring-shaped memory unit DSPHB is stored in the memory unit ACHUF of the external RAM (16).
Huffman code table for AC stored in F (A
Huffman decoding is performed according to the inverse conversion code table of the Huffman code table for C).

又、外部RAM(16)のメモリ部QTABLEに記憶されてい
る量子化行列を構成する各量子化乗数を、外部RAM(1
6)のメモリ部ZTABLEに記憶されているジグザグ走査ポ
インタによって、ジグザグ走査して得た各量子化乗数
を、ブロック信号毎の符号化信号のハフマン復号化信号
に掛算し、更に、これを外部RAM(16)のメモリ部ZTABL
Eに記憶されているジグザグ走査ポインタによって、ジ
グザグ走査した後、内部RAM(17)のメモリ部QEに、8
行8列の行列(但し、左上隅を除く)を構成するように
行方向に書き込む。
Further, each quantization multiplier constituting the quantization matrix stored in the memory section QTABLE of the external RAM (16) is stored in the external RAM (1).
6) Multiply each quantization multiplier obtained by zigzag scanning by the zigzag scanning pointer stored in the memory unit ZTABLE with the Huffman decoded signal of the coded signal for each block signal, and further multiply this by the external RAM. (16) Memory section ZTABL
After the zigzag scanning is performed by the zigzag scanning pointer stored in E, 8 is stored in the memory section QE of the internal RAM (17).
Writing is performed in the row direction so as to form a matrix of 8 rows (excluding the upper left corner).

そして、内部RAM(17)のメモリ部QEに記憶されてい
る8×8個の係数信号を、2段階の1次元逆離散コサイ
ン変換によって、2次元逆離散コサイン変換(2次元ID
CT)する。
Then, the 8 × 8 coefficient signals stored in the memory unit QE of the internal RAM (17) are subjected to two-dimensional inverse discrete cosine transform (two-dimensional ID
CT).

即ち、メモリ部QEの第1行の8個の係数信号を、内部
RAM(17)のメモリ部FPに移し、この8個の係数信号
を、1次元逆離散コサイン変換〔IDCT(1)〕した後、
得られた8個の係数信号を、内部メモリ(17)のメモリ
部QEの第1行に移す。同様に、メモリ部QEの第2行〜第
8行の各8個の係数信号を、1次元逆離散コサイン変換
〔IDCT(1)〕した後、得られた各8個の係数信号を、
メモリ部QEの第2〜第8行に順次移す。
That is, the eight coefficient signals in the first row of the memory section QE are internally stored.
After moving to the memory unit FP of the RAM (17) and subjecting the eight coefficient signals to one-dimensional inverse discrete cosine transform [IDCT (1)],
The obtained eight coefficient signals are transferred to the first row of the memory section QE of the internal memory (17). Similarly, after performing eight-dimensional inverse discrete cosine transform [IDCT (1)] on each of the eight coefficient signals in the second to eighth rows of the memory unit QE, the obtained eight coefficient signals are
The process sequentially moves to the second to eighth rows of the memory unit QE.

次に、このメモリ部QEに記憶されている8×8個の係
数信号(例えば、10ビットに丸められている)の行と列
とを変換した後、上述と同様に各行の8個の係数信号
を、メモリ部FPに移して夫々1次元逆離散コサイン変換
〔IDCT(2)〕した後、外部メモリ(16)のメモリ部DS
PFBの各行に移す。
Next, after converting the rows and columns of the 8 × 8 coefficient signals (for example, rounded to 10 bits) stored in the memory unit QE, the eight coefficients of each row are converted in the same manner as described above. After the signals are transferred to the memory unit FP and subjected to one-dimensional inverse discrete cosine transform [IDCT (2)], the memory unit DS of the external memory (16) is used.
Move to each line of PFB.

かくして、外部RAM(16)のメモリ部DSPFBには、8行
8列の行列を構成する隣接画素信号から成るブロック信
号が得られることに成る。
Thus, a block signal composed of adjacent pixel signals forming a matrix of 8 rows and 8 columns is obtained in the memory section DSPFB of the external RAM (16).

かかる静止画伝送装置によれば、マイクロコンピュー
タ(1)及びデジタル信号処理回路(15)を用いて、直
交変換及び圧縮符号化して後、伝送するようにした静止
画伝送装置において、静止画信号のブロック信号毎の直
交変換及び圧縮符号化のための信号処理のマイクロコン
ピュータ(1)に対する負担が軽減されると共に、その
信号処理の速度が高く成る。
According to such a still image transmission device, a still image transmission device that performs orthogonal transform and compression encoding using a microcomputer (1) and a digital signal processing circuit (15) and then transmits the image is used to transmit a still image signal. The load on the microcomputer (1) for signal processing for orthogonal transform and compression coding for each block signal is reduced, and the speed of the signal processing is increased.

かかる静止画伝送装置によれば、マイクロコンピュー
タ(1)が、ヘッダ信号を発生すると共に、フレームメ
モリ(6)に記憶されている静止画信号を、ブロック信
号に分割し、且つ、ブロック信号毎に出力し、デジタル
信号処理回路(15)が、そのブロック信号をブロック符
号化して後、伝送するようにした静止画伝送装置におい
て、ヘッダ信号及び各ブロック符号化信号夫々の間の連
続性を確実にすると共に、デジタル信号処理回路におけ
る静止画信号のブロック信号毎のブロック符号化を、確
実且つ効率良く行わせることのできるものを得ることが
できる。
According to such a still image transmission device, the microcomputer (1) generates a header signal, divides the still image signal stored in the frame memory (6) into block signals, and generates a block signal for each block signal. The digital signal processing circuit (15) performs block coding on the block signal, and then transmits the block signal. In the still image transmitting apparatus, the continuity between the header signal and each of the block coded signals is reliably ensured. At the same time, it is possible to obtain a block which can reliably and efficiently perform the block coding of the still image signal for each block signal in the digital signal processing circuit.

〔発明の効果〕〔The invention's effect〕

第1の本発明によれば、少なくとも1フレームの画像
データを記憶する画像メモリと、画像メモリに記憶され
た画像データに関連するヘッダを情報を形成すると共
に、画像メモリに記憶された画像データを所定数の画像
データからなるブロックに分割して、ブロック毎に画素
データを出力するマイクロコンピュータと、マイクロコ
ンピュータから供給される画素データをブロック単位で
圧縮符号化するデジタル信号処理回路とを有し、マイク
ロコンピュータの制御の下で、デジタル信号処理回路に
よって得られた圧縮符号化データをその圧縮符号化デー
タに対応するヘッダ情報と共に伝送するようにした画像
伝送装置であって、マイクロコンピュータは、ヘッダ情
報の終端部を示す位置情報をデジタル信号処理回路に伝
送し、デジタル信号処理回路は、ヘッダ情報に対応する
圧縮符号化データの終端部を示す位置情報をマイクロコ
ンピュータに伝送するようにしたので、ヘッダ情報及び
ブロック符号化信号夫々の間の連続性を確実とすると共
に、デジタル信号処理回路における画像データのブロッ
ク符号化を確実且つ効率良く行わせることのできる映像
伝送装置を得ることができる。
According to the first invention, an image memory for storing at least one frame of image data, a header associated with the image data stored in the image memory are formed with information, and the image data stored in the image memory is stored in the image memory. Divided into blocks of a predetermined number of image data, a microcomputer that outputs pixel data for each block, and a digital signal processing circuit that compression-encodes pixel data supplied from the microcomputer in block units, An image transmission device configured to transmit, under control of a microcomputer, compressed and encoded data obtained by a digital signal processing circuit together with header information corresponding to the compressed and encoded data, wherein the microcomputer includes header information. The position information indicating the end of the signal is transmitted to the digital signal processing circuit, and the digital signal processing is performed. The circuit transmits position information indicating the end of the compressed coded data corresponding to the header information to the microcomputer, so that continuity between each of the header information and the block coded signal is ensured, and the digital A video transmission device capable of reliably and efficiently performing block coding of image data in a signal processing circuit can be obtained.

又、第2の本発明によれば、マイクロコンピュータに
よって、少なくとも1フレームの画像データを記憶する
画像メモリに記憶された画像データに関連するヘッダ情
報を形成すると共に、画像メモリに記憶された画像デー
タを所定数の画素データからなるブロックに分割して、
ブロック毎に画素データを出力し、マイクロコンピュー
タから供給される画素データをデジタル信号処理回路に
よってブロック単位で圧縮符号化し、マイクロコンピュ
ータの制御の下で、デジタル信号処理回路によって得ら
れた圧縮符号化データをその圧縮符号化データに対応す
るヘッダ情報と共に転送するようにしたた画像伝送方法
であって、マイクロコンピュータによって、ヘッダ情報
の終端部を示す位置情報をデジタル信号処理回路に伝送
し、デジタル信号処理回路によって、ヘッダ情報に対応
する圧縮符号化データの終端部を示す位置情報をマイク
ロコンピュータに伝送するようにしたので、ヘッダ情報
及びブロック符号化信号夫々の間の連続性を確実にする
と共に、デジタル信号処理回路における画像データのブ
ロック符号化を確実且つ効率良く行わせることのできる
映像伝送方法を得ることができる。
According to the second aspect of the present invention, the microcomputer forms header information related to the image data stored in the image memory for storing at least one frame of image data, and also stores the image data stored in the image memory. Is divided into blocks consisting of a predetermined number of pixel data,
Pixel data is output for each block, and the pixel data supplied from the microcomputer is compression-encoded in block units by a digital signal processing circuit, and the compression-encoded data obtained by the digital signal processing circuit under the control of the microcomputer Is transmitted together with header information corresponding to the compression-encoded data, wherein the microcomputer transmits position information indicating the end portion of the header information to a digital signal processing circuit, and performs digital signal processing. The circuit transmits position information indicating the end of the compressed and coded data corresponding to the header information to the microcomputer, so that continuity between the header information and the block coded signal is ensured, and the digital Ensure block coding of image data in the signal processing circuit. And image transmitting method capable of efficiently performed can be obtained.

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

第1図は本発明の実施例の符号化の説明図、第2図は符
号化時のビット及びワードポインタの説明図、第3図は
実施例の復号化の説明図、第4図は復号化時のビット及
びワードポインタの説明図、第5図は従来の静止画伝送
装置を示すブロック線図、第6図は従来の符号化の説明
図である。 (1)はマイクロコンピュータ、(2)はCPU、(6)
はビデオメモリ、(14)は通信用メモリ、(15)はデジ
タル信号処理回路、(16)は外部RAM、(17)は内部RAM
である。
FIG. 1 is an explanatory diagram of encoding in an embodiment of the present invention, FIG. 2 is an explanatory diagram of bit and word pointers at the time of encoding, FIG. 3 is an explanatory diagram of decoding in the embodiment, and FIG. FIG. 5 is a block diagram showing a conventional still image transmission apparatus, and FIG. 6 is an explanatory diagram of conventional encoding. (1) microcomputer, (2) CPU, (6)
Is video memory, (14) is communication memory, (15) is a digital signal processing circuit, (16) is external RAM, (17) is internal RAM
It is.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】少なくとも1フレームの画像データを記憶
する画像メモリと、 前記画像メモリに記憶された画像データに関連するヘッ
ダ情報を形成すると共に、前記画像メモリに記憶された
画像データを所定数の画像データからなるブロックに分
割して、ブロック毎に画素データを出力するマイクロコ
ンピュータと、 前記マイクロコンピュータから供給される画素データを
ブロック単位で圧縮符号化するデジタル信号処理回路と
を有し、 前記マイクロコンピュータの制御の下で、前記デジタル
信号処理回路によって得られた圧縮符号化データをその
圧縮符号化データに対応するヘッダ情報と共に伝送する
ようにした画像伝送装置であって、 前記マイクロコンピュータは、前記ヘッダ情報の終端部
を示す位置情報を前記デジタル信号処理回路に伝送し、 前記デジタル信号処理回路は、前記ヘッダ情報に対応す
る圧縮符号化データの終端部を示す位置情報を前記マイ
クロコンピュータに伝送するようにしたことを特徴とす
る画像伝送装置。
An image memory for storing at least one frame of image data; a header information associated with the image data stored in the image memory; and a predetermined number of image data stored in the image memory. A microcomputer configured to divide the image data into blocks and output pixel data for each block; and a digital signal processing circuit that compresses and encodes the pixel data supplied from the microcomputer in block units. An image transmission device configured to transmit, under control of a computer, compression-encoded data obtained by the digital signal processing circuit together with header information corresponding to the compression-encoded data, wherein the microcomputer includes: The position information indicating the end of the header information is sent to the digital signal processing circuit. An image transmission apparatus, wherein the digital signal processing circuit transmits position information indicating the end of compressed and encoded data corresponding to the header information to the microcomputer.
【請求項2】マイクロコンピュータによって、少なくと
も1フレームの画像データを記憶する画像メモリに記憶
された画像データに関連するヘッダ情報を形成すると共
に、前記画像メモリに記憶された画像データを所定数の
画素データからなるブロックに分割して、ブロック毎に
画素データを出力し、 前記マイクロコンピュータから供給される画素データを
デジタル信号処理回路によってブロック単位で圧縮符号
化し、 前記マイクロコンピュータの制御の下で、前記デジタル
信号処理回路によって得られた圧縮符号化データをその
圧縮符号化データに対応するヘッダ情報と共に伝送する
ようにしたた画像伝送方法であって、 前記マイクロコンピュータによって、前記ヘッダ情報の
終端部を示す位置情報を前記デジタル信号処理回路に伝
送し、 前記デジタル信号処理回路によって、前記ヘッダ情報に
対応する圧縮符号化データの終端部を示す位置情報を前
記マイクロコンピュータに伝送するようにしたことを特
徴とする画像伝送方法。
2. A method according to claim 1, wherein the microcomputer forms header information relating to the image data stored in the image memory storing at least one frame of image data, and converts the image data stored in the image memory into a predetermined number of pixels. Divided into blocks of data, output pixel data for each block, compress and encode pixel data supplied from the microcomputer by a digital signal processing circuit in block units, under the control of the microcomputer, An image transmission method for transmitting compressed encoded data obtained by a digital signal processing circuit together with header information corresponding to the compressed encoded data, wherein the microcomputer indicates a termination portion of the header information. Transmitting the position information to the digital signal processing circuit; Image transmission method characterized in that said by the digital signal processing circuit, and the position information indicating the end of the encoded data corresponding to the header information to be transmitted to the microcomputer.
JP8274389A 1989-03-31 1989-03-31 Image transmission apparatus and image transmission method Expired - Fee Related JP2821614B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8274389A JP2821614B2 (en) 1989-03-31 1989-03-31 Image transmission apparatus and image transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8274389A JP2821614B2 (en) 1989-03-31 1989-03-31 Image transmission apparatus and image transmission method

Publications (2)

Publication Number Publication Date
JPH02260989A JPH02260989A (en) 1990-10-23
JP2821614B2 true JP2821614B2 (en) 1998-11-05

Family

ID=13782903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8274389A Expired - Fee Related JP2821614B2 (en) 1989-03-31 1989-03-31 Image transmission apparatus and image transmission method

Country Status (1)

Country Link
JP (1) JP2821614B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100604225B1 (en) * 2004-10-02 2006-07-28 세원텔레텍 주식회사 Ideal impedance transformer for rf band

Also Published As

Publication number Publication date
JPH02260989A (en) 1990-10-23

Similar Documents

Publication Publication Date Title
CN1137584C (en) Image element processor for memory management system using recompression
JP3447771B2 (en) Image data encoding method and restoration method and apparatus
JP4365957B2 (en) Image processing method and apparatus and storage medium
US5761345A (en) Image processing apparatus suitable for multistage compression
CN111726634A (en) High-resolution video image compression transmission method and system based on FPGA
JPH1118087A (en) Device and method for converting image data
JP3202433B2 (en) Quantization device, inverse quantization device, image processing device, quantization method, inverse quantization method, and image processing method
JP2011234363A (en) Image processing system and method
US6427029B1 (en) Image signal processing method and device, and storage medium
JP3105906B2 (en) Image processing device
JP2821614B2 (en) Image transmission apparatus and image transmission method
JPH07143488A (en) Method and device for decoding image data
JP3222554B2 (en) Image processing apparatus and method
JPH06189140A (en) Image compression device
JP2841453B2 (en) Image transmitting apparatus, image transmitting method, image decoding apparatus, and image receiving method
JP2958970B2 (en) Image transmission apparatus and image transmission method
US20020176630A1 (en) Image data processing method
JP2841452B2 (en) Image transmission apparatus and image transmission method
JP3260925B2 (en) Image processing device
JPH0879537A (en) Picture information encoding processor and picture information communication equipment
JPH0984011A (en) Moving image coding system converter
TWI484829B (en) System and method for processing image
JP2993212B2 (en) How to combine images
KR0160616B1 (en) Digital image compressing method and device
JP2841643B2 (en) Image processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees