JPH08205175A - Image information processor - Google Patents

Image information processor

Info

Publication number
JPH08205175A
JPH08205175A JP1468195A JP1468195A JPH08205175A JP H08205175 A JPH08205175 A JP H08205175A JP 1468195 A JP1468195 A JP 1468195A JP 1468195 A JP1468195 A JP 1468195A JP H08205175 A JPH08205175 A JP H08205175A
Authority
JP
Japan
Prior art keywords
image
frame
processing
information
signal
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
JP1468195A
Other languages
Japanese (ja)
Other versions
JP3591025B2 (en
Inventor
Atsushi Hasebe
淳 長谷部
Satoshi Yonetani
聡 米谷
Norio Ebihara
規郎 海老原
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 JP01468195A priority Critical patent/JP3591025B2/en
Publication of JPH08205175A publication Critical patent/JPH08205175A/en
Application granted granted Critical
Publication of JP3591025B2 publication Critical patent/JP3591025B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Studio Circuits (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE: To smoothly switch compressed images which are processed by inter- frame compression. CONSTITUTION: A matrix switcher 1 selectively inputs plural compressed images, puts P frames into one frame in a GOP, and modifies prediction data of a B frame. A decoder 2 expands the compressed images so as to restore the image to the original image. An input buffer memory 3 converts the image signal into component signals and converts a transfer rate. An image processing part 3 performs various image information processes for the image signal. An encoder 5 compresses the image processed signal. An output buffer memory part 6 converts the transfer rate of sent data as the compressed image processed signal. A control part 7 controls the respective processes of the matrix switcher 1, decoder 2, input buffer memory part 3, image processing part 3, encoder 5, and output buffer memory 6.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、映像信号の合成、変
形、色変換等の処理を行う画像情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image information processing apparatus for performing processing such as image signal synthesis, transformation and color conversion.

【0002】[0002]

【従来の技術】画像情報処理装置は、多数の入力画像信
号から複数の画像信号を選択しながら、画像の合成や色
変換や幾何変換等の画像処理を行っていた。例えば、上
記画像情報処理装置は、2つの系統の画像信号を切り替
え手段であるスイッチャを用いて、指定されたフレーム
で切り替えながら合成していた。
2. Description of the Related Art Image information processing apparatuses perform image processing such as image synthesis, color conversion, and geometric conversion while selecting a plurality of image signals from a large number of input image signals. For example, the image information processing apparatus synthesizes the image signals of the two systems while switching at a designated frame by using a switcher that is a switching unit.

【0003】この画像情報処理装置は、図17に示すよ
うに、標準フォーマットの画像信号である複合(以下、
コンポジットといい、図中、Compositeと記す。)信
号、Y/C信号、コンポーネント(図中、Componentと
記す。)信号をスイッチャ141を介して受け取る。こ
の画像情報処理装置では、上記画像処理をコンポーネン
ト信号に施すようにしている。このため、コンポーネン
ト信号でないY/C信号、コンポジット信号を、スイッ
チャ141以降でコンポーネント信号に変換する必要が
ある。
This image information processing apparatus, as shown in FIG. 17, is a composite (hereinafter
It is called composite, and is written as Composite in the figure. ) Signal, Y / C signal, and component (indicated as Component in the figure) signal via the switcher 141. In this image information processing apparatus, the above image processing is applied to the component signal. Therefore, it is necessary to convert the Y / C signal and the composite signal, which are not the component signals, into the component signals after the switcher 141.

【0004】先ず、コンポジット信号は、Y/C分離回
路142でY、C信号に分離された後、デコーダ143
で、コンポーネント信号であるY、R−Y、B−Y信号
に変換される。Y/C信号は、デコーダ143で、コン
ポーネント信号に変換される。デコーダ143の出力で
あるコンポーネント信号は、A/D変換回路144に供
給される。A/D変換回路144は、書き込みクロック
生成回路145のクロックに基づいて上記コンポーネン
ト信号をディジタル信号に変換する。このディジタルコ
ンポーネント信号は、フレームシンクロナイザ146に
供給される。
First, the composite signal is separated into Y and C signals by the Y / C separation circuit 142, and then the decoder 143.
Then, it is converted into Y, RY, and BY signals which are component signals. The Y / C signal is converted into a component signal by the decoder 143. The component signal output from the decoder 143 is supplied to the A / D conversion circuit 144. The A / D conversion circuit 144 converts the component signal into a digital signal based on the clock of the write clock generation circuit 145. This digital component signal is supplied to the frame synchronizer 146.

【0005】フレームシンクロナイザ146は、スイッ
チャ141が上記標準フォーマットの映像信号から生成
した外部クロック(図中、EXT keyと記す。)信号に基
づいて、上記ディジタルコンポーネント信号を内部のフ
レームメモリ内に書き込むと共に、読みだして、後述す
るディジタルマルチエフェクト(Digital Multi Effec
t、以下DMEという。)処理に適する信号にするた
め、そのフレーム位置やカラーサブキャリアの位相等を
調整する。このフレームシンクロナイザ146の出力で
あるディジタルコンポーネント信号は、スイッチャ14
7に供給される。
The frame synchronizer 146 writes the digital component signal in an internal frame memory on the basis of an external clock (referred to as EXT key in the drawing) signal generated by the switcher 141 from the video signal in the standard format. , Read it out, and use the Digital Multi Effec
t, hereinafter referred to as DME. ) Adjust the frame position, color subcarrier phase, etc. to obtain a signal suitable for processing. The digital component signal output from the frame synchronizer 146 is supplied to the switcher 14
7 is supplied.

【0006】Y/C分離回路148、デコーダ149、
A/D変換回路150、書き込みクロック生成回路15
1及びフレームシンクロナイザ152も上述したと同様
の処理をスイッチャ141を介したもう一方の系の標準
フォーマットの映像信号に施す。そして、フレームシン
クロナイザ152の出力であるディジタルコンポーネン
ト信号もスイッチャ147に供給される。このスイッチ
ャ147には、カラー背景信号、カラーバー信号及びグ
リッド信号等のテストパターン信号を発生するテストパ
ターン信号発生回路153からY、R−Y、B−Yのデ
ィジタルコンポーネント信号も供給される。
A Y / C separation circuit 148, a decoder 149,
A / D conversion circuit 150, write clock generation circuit 15
The 1 and frame synchronizer 152 also perform the same processing as described above on the video signal of the standard format of the other system via the switcher 141. The digital component signal output from the frame synchronizer 152 is also supplied to the switcher 147. The switcher 147 is also supplied with Y, RY, and BY digital component signals from a test pattern signal generation circuit 153 that generates test pattern signals such as a color background signal, a color bar signal, and a grid signal.

【0007】スイッチャ147を介したディジタルコン
ポーネント信号は、2次元可変ローパスフィルタ(LP
F)154に供給される。この2次元可変LPF154
は、ディジタルコンポーネント信号にエリアシングを発
生させないように、該ディジタルコンポーネント信号の
高域成分を除去する。高域成分が除去されたディジタル
コンポーネント信号は、フィールドメモリ155に供給
される。このフィールドメモリ155には、システムコ
ントローラ157から書き込み及び読み出しアドレスが
DME処理部158を介して供給される。このDME処
理部158は、システムコントローラ157の指示に従
って、上記画像の合成や色変換や幾何変換等の画像処理
をディジタルコンポーネント信号に施す。このため、シ
ステムコントローラ157は、DME処理部158に所
望のDME処理に必要とされるデータを供給する。
The digital component signal passed through the switcher 147 is a two-dimensional variable low-pass filter (LP).
F) is supplied to 154. This two-dimensional variable LPF 154
Removes high frequency components of the digital component signal so as not to cause aliasing in the digital component signal. The digital component signal from which the high frequency component has been removed is supplied to the field memory 155. Write and read addresses are supplied to the field memory 155 from the system controller 157 via the DME processing unit 158. The DME processing unit 158 performs image processing such as image synthesis, color conversion, and geometric conversion on the digital component signal according to an instruction from the system controller 157. Therefore, the system controller 157 supplies the DME processing unit 158 with the data required for the desired DME processing.

【0008】そして、DME処理部158は、システム
コントローラ157から供給されるアドレス及びデータ
に従って、2次元可変LPF154を介したディジタル
コンポーネント信号に、フィールドメモリ155を用い
て、上記画像情報処理を施す。ここで、上記ディジタル
コンポーネント信号に、例えば変形処理を施す場合、フ
ィールドメモリ155から読み出される信号には、ピク
セルの抜けが発生する。このため、フィールドメモリ1
55から読み出された信号は、補間処理回路156に供
給され、所定の補間処理が施される。補間処理回路15
6の出力信号であるDME処理信号は、データ混合回路
159に供給される。このデータ混合回路159には、
システムコントローラ157から、DME処理回路15
8に供給されるのと同じアドレスとデータも供給されて
おり、上記DME処理信号と混合される。このデータ混
合回路159の出力信号である混合出力信号は、合成回
路161に供給される。この合成回路161には、フィ
ールド遅延回路160で遅延された上記ディジタルコン
ポーネント信号も供給されており、上記混合出力信号に
合成される。この合成回路161の合成出力が画像情報
処理が施された信号であり、D/A変換回路162でア
ナログ信号に変換され、アナログのコンポジット信号、
Y/C信号及びコンポーネント信号の形で出力される。
Then, the DME processing unit 158 uses the field memory 155 to perform the above image information processing on the digital component signal via the two-dimensional variable LPF 154 according to the address and data supplied from the system controller 157. Here, when the digital component signal is subjected to, for example, a modification process, a pixel missing occurs in the signal read from the field memory 155. Therefore, the field memory 1
The signal read from 55 is supplied to the interpolation processing circuit 156 and subjected to predetermined interpolation processing. Interpolation processing circuit 15
The DME processed signal which is the output signal of No. 6 is supplied to the data mixing circuit 159. In this data mixing circuit 159,
From the system controller 157 to the DME processing circuit 15
The same addresses and data that are supplied to 8 are also supplied and mixed with the DME processed signal. The mixed output signal which is the output signal of the data mixing circuit 159 is supplied to the combining circuit 161. The digital component signal delayed by the field delay circuit 160 is also supplied to the synthesis circuit 161, and is synthesized with the mixed output signal. The combined output of the combining circuit 161 is a signal subjected to image information processing, converted into an analog signal by the D / A conversion circuit 162, and an analog composite signal,
It is output in the form of Y / C signals and component signals.

【0009】[0009]

【発明が解決しようとする課題】ところで、図17に示
したような従来の画像情報処理装置は、入出力信号を標
準のコンポジット信号、Y/C信号、コンポーネント信
号に限定していた。標準の映像信号から外れるような、
解像度の異なる画像や、転送レートの異なる画像や、画
像サイズの異なる画像を扱えなかった。また、同じ画像
信号でも、例えばHDTV方式とNTSC方式のように
方式が異なると、同じ装置で処理ができなくなった。す
なわち、従来の画像情報処理装置では、解像度に依存し
ないようないわゆるフリーフォーマットの画像信号や、
転送レートに依存しないような画像信号や、画像サイズ
に依存しないようないわゆるスケラーブルフォーマット
の画像信号や、方式の異なる画像信号を取り扱うことが
できなかった。また、当然ながら、圧縮画像が扱えなか
ったので、フレーム間圧縮処理をしたような圧縮画像の
切り替えがスムーズに行えなかった。
By the way, in the conventional image information processing apparatus as shown in FIG. 17, input / output signals are limited to standard composite signals, Y / C signals, and component signals. Such as deviating from the standard video signal,
Images with different resolutions, images with different transfer rates, or images with different image sizes could not be handled. Further, even with the same image signal, if the systems are different, such as the HDTV system and the NTSC system, the same device cannot process. That is, in the conventional image information processing device, a so-called free format image signal that does not depend on resolution,
An image signal that does not depend on the transfer rate, a so-called scalable format image signal that does not depend on the image size, and an image signal of a different system cannot be handled. In addition, as a matter of course, since compressed images cannot be handled, it is not possible to smoothly switch between compressed images as if they were compressed between frames.

【0010】本発明は、上記実情に鑑みてなされたもの
であり、解像度に依存しないようないわゆるフリーフォ
マットの画像信号や、転送レートに依存しないような画
像信号や、画像サイズに依存しないようないわゆるスケ
ーラブルフォーマットの画像信号や、方式の異なる画像
信号にも種々の画像処理を施すことができ、またフレー
ム間圧縮処理が施されたような圧縮画像のスイッチング
をスムーズに行える画像情報処理装置の提供を目的とす
る。
The present invention has been made in view of the above circumstances, and is a so-called free format image signal that does not depend on resolution, an image signal that does not depend on transfer rate, or an image signal that does not depend on image size. Provided is an image information processing apparatus capable of performing various kinds of image processing even on so-called scalable format image signals and image signals of different systems, and capable of smoothly switching compressed images that have been subjected to interframe compression processing. With the goal.

【0011】[0011]

【課題を解決するための手段】本発明に係る画像情報処
理装置は、フレーム間圧縮処理が施された複数の圧縮画
像を選択的に取り込むと共に、所定のフレーム数単位で
フレーム間順方向予測符号化画像をフレーム内符号化画
像化し、かつ双方向予測符号化画像の予測データの変更
を行う選択手段と、上記選択手段で選択された圧縮画像
信号を伸張する伸張手段と、上記伸張手段から出力され
た画像信号を入出力する第1の入出力手段と、上記第1
の入出力手段から出力された画像信号に種々の画像処理
を施して画像処理信号を出力する画像処理手段と、上記
画像処理手段から出力された画像処理信号を圧縮し圧縮
画像処理信号を出力する圧縮手段と、上記圧縮手段から
出力された上記圧縮画像処理信号を入出力する第2の入
出力手段と、上記選択手段の選択処理、上記伸張手段の
伸張処理、上記第1の入出力手段の入出力処理、上記画
像処理手段の画像処理、上記圧縮手段の圧縮処理、上記
第2の入出力手段の入出力処理を制御する制御手段とを
有することにより上記課題を解決する。
An image information processing apparatus according to the present invention selectively captures a plurality of compressed images subjected to interframe compression processing, and also interframe forward prediction code in units of a predetermined number of frames. Selective means for converting the encoded image into an intra-coded image and changing the prediction data of the bidirectional predictive encoded image, decompressing means for decompressing the compressed image signal selected by the selecting means, and output from the decompressing means A first input / output unit for inputting / outputting the generated image signal;
Image processing means for subjecting the image signal output from the input / output means to various image processing to output an image processing signal, and an image processing signal output from the image processing means to output a compressed image processing signal. A compression unit, a second input / output unit for inputting / outputting the compressed image processing signal output from the compression unit, a selection process of the selection unit, a decompression process of the decompression unit, and a first I / O unit of the decompression unit. The above problem is solved by having an input / output process, an image process of the image processing unit, a compression process of the compression unit, and a control unit for controlling the input / output process of the second input / output unit.

【0012】この場合、上記選択手段は、上記制御手段
の制御により、上記双方向予測符号化画像の予測データ
の変更に伴う情報量増加を抑える。また、上記伸張手段
は、上記入力された圧縮画像信号から、圧縮/非圧縮状
態識別情報、圧縮方式情報、水平・垂直方向の画素数に
応じる画像サイズ情報、処理領域を決定する処理画面サ
イズ情報、画像方式情報、入出力信号レート情報からな
る属性情報を読み出し、上記制御手段に供給する。
In this case, the selecting means suppresses an increase in the amount of information due to the change of the prediction data of the bidirectional predictive-coded image under the control of the control means. Further, the decompression means, based on the input compressed image signal, compressed / non-compressed state identification information, compression method information, image size information according to the number of pixels in the horizontal and vertical directions, and processing screen size information for determining a processing area. , Attribute information including image format information and input / output signal rate information is read out and supplied to the control means.

【0013】また、上記第1の入出力手段は、上記画像
信号の方式を変換する方式変換部と、上記画像信号の画
像サイズとは無関係で、かつ十分な容量を持つ記憶部と
を有して成る。また、上記第2の入出力手段は、上記画
像信号の画像サイズとは無関係で、かつ十分な容量を持
つ記憶部を有して成る。
Further, the first input / output means has a format conversion section for converting the format of the image signal, and a storage section having a sufficient capacity, regardless of the image size of the image signal. Consists of The second input / output unit has a storage unit having a sufficient capacity, which is independent of the image size of the image signal.

【0014】また、上記圧縮手段は、上記画像信号の方
式を変換する方式変換部を有して成る。
Further, the compression means has a system conversion section for converting the system of the image signal.

【0015】[0015]

【作用】本発明に係る画像情報処理装置は、選択手段が
フレーム間圧縮処理が施された複数の圧縮画像を選択的
に取り込むと共に、所定のフレーム数単位でフレーム間
順方向予測符号化画像をフレーム内符号化画像化し、か
つ双方向予測符号化画像の予測データの変更を行うの
で、フレーム間圧縮処理が施された圧縮画像の切り替え
をスムーズに行える。また、上記伸張手段が入力圧縮画
像信号を伸張して画像信号を出力し、上記第1の入出力
手段が上記制御手段の制御により上記画像信号を入出力
し、上記画像処理手段が上記画像信号に種々の画像処理
を施して画像処理信号を出力し、上記圧縮手段が上記画
像処理信号を圧縮し、上記第2の入出力手段が上記圧縮
画像処理信号を入出力するので、解像度に依存しないよ
うないわゆるフリーフォマットの画像信号や、転送レー
トに依存しないような画像信号や、画像サイズに依存し
ないようないわゆるスケーラブルフォーマットの画像信
号や、方式の異なる画像信号にも種々の画像処理を施す
ことができる。
In the image information processing apparatus according to the present invention, the selecting means selectively fetches a plurality of compressed images subjected to the interframe compression processing, and at the same time, outputs the interframe forward prediction coded image in a predetermined number of frames. Since the intra-frame coded image is formed and the prediction data of the bidirectional predictive-coded image is changed, the compressed image subjected to the inter-frame compression process can be smoothly switched. Further, the expansion means expands the input compressed image signal to output an image signal, the first input / output means inputs / outputs the image signal under the control of the control means, and the image processing means outputs the image signal. Is subjected to various image processing to output an image processing signal, the compression means compresses the image processing signal, and the second input / output means inputs and outputs the compressed image processing signal, so that it does not depend on the resolution. Applying various image processing to such so-called free format image signals, image signals that do not depend on transfer rate, image signals of so-called scalable format that does not depend on image size, and image signals of different methods. You can

【0016】[0016]

【実施例】以下、本発明に係る画像情報処理装置の実施
例について図面を参照しながら説明する。この実施例
は、静止画像から動画像までの広範囲の画像の生成、色
変換、合成、編集等の画像情報処理を行う画像情報処理
装置であり、例えばフレーム間圧縮処理が施された圧縮
画像信号を取り扱うことができる。フレーム間圧縮処理
が施された画像としては、MPEG(Moving Picture C
oding Experts Group、蓄積用動画像符号化の検討組
織)で標準化されたような符号化方法で圧縮された画像
がある。また、上記画像情報処理装置は、JPEG(Jo
int PhotographicCoding Experts Group、カラー静止画
像符号化の検討組織)で標準化された符号化方法で圧縮
された画像も取り扱うことができる。
Embodiments of an image information processing apparatus according to the present invention will be described below with reference to the drawings. This embodiment is an image information processing apparatus that performs image information processing such as generation of a wide range of images from still images to moving images, color conversion, composition, editing, etc., for example, a compressed image signal subjected to interframe compression processing. Can handle. An image that has undergone interframe compression processing is an MPEG (Moving Picture C
There is an image compressed by a coding method as standardized by the oding Experts Group, a study organization for video coding for storage). In addition, the image information processing apparatus described above uses JPEG (Jo
Int PhotographicCoding Experts Group, a study organization for color still image coding) can handle images compressed by standardized coding methods.

【0017】先ず、本実施例の構成について説明する前
に、MPEGにより標準化された画像圧縮処理について
説明しておく。この画像圧縮処理により圧縮された画像
には、フレーム符号化画像であるI(Intra)ピクチ
ャ、フレーム間順方向予測符号化画像であるP(Predic
tive)ピクチャ、双方向予測符号化画像であるB(Bidi
rectional Predictive)ピクチャの3種類がある。以下
では、説明の簡略化のために、これらIピクチャ、Pピ
クチャ及びBピクチャを、Iフレーム、Pフレーム及び
Bフレームとして説明する。すなわち、Iフレームはフ
レーム内圧縮されたフレーム、Pフレームは前のIフレ
ームの予測情報を用い圧縮されたフレーム、Bフレーム
は前後のフレームであるIフレームとPフレームの予測
情報を用い圧縮されたフレームである。圧縮画像は、こ
れらのフレームの集合からなるグループオブピクチャ
(Group of Pictures、以下GOPという。)と呼ばれ
る圧縮単位からなる。GOPは、一つのIフレームを有
し、例えば、“IBBPBBPBBPBBPBB”のよ
うに15フレームからなる。
First, before describing the structure of the present embodiment, the image compression processing standardized by MPEG will be described. The image compressed by this image compression processing includes an I (Intra) picture that is a frame encoded image and a P (Predic) that is an inter-frame forward prediction encoded image.
(Tive) picture, B (Bidi) which is a bidirectional predictive coded image.
rectional Predictive) There are three types of pictures. In the following, for simplification of description, these I picture, P picture, and B picture will be described as I frame, P frame, and B frame. That is, the I frame is a frame that has been intra-frame compressed, the P frame has been compressed using the prediction information of the previous I frame, and the B frame has been compressed using the prediction information of the previous and subsequent I and P frames. It is a frame. The compressed image is composed of a compression unit called a group of pictures (hereinafter, referred to as GOP) composed of a set of these frames. The GOP has one I frame, and is composed of 15 frames, such as "IBBPBBPBBPBBPBB".

【0018】そして、上記画像情報処理装置は、図1に
示すように、例えばVTRやデータレコーダのような複
数の外部入力装置から供給される複数の上記圧縮画像を
選択的に取り込むと共に、上記GOP内でPフレームを
Iフレーム化し、かつBフレームの予測データの変更を
行うマトリックススイッチャ1と、上記圧縮画像を元の
画像に復元するように伸張するデコーダ2と、デコーダ
2で伸張された画像信号をY、R−Y、G−Y又はR、
G、Bのコンポーネント信号に変換すると共に、上記画
像信号の転送レートを変換する機能を有する入力バッフ
ァメモリ部3と、入力バッファメモリ部3の出力信号で
ある画像信号に色変換や変形や縮小や幾何変換等の各種
画像情報処理を施す機能を有する画像処理部4と、画像
処理部4の出力信号である画像処理信号を圧縮する機能
を有するエンコーダ5と、エンコーダ5の圧縮画像処理
信号である送り出しデータの転送レートを変換する機能
を有する出力バッファメモリ部6と、マトリックススイ
ッチャ1、デコーダ2、入力バッファメモリ部3、画像
処理部4、エンコーダ5及び出力バッファメモリ部6の
各処理を制御する制御部7とを有している。また、この
画像情報処理装置には、処理パラメータや処理制御デー
タを外部から与える手段であるキーボード8と、処理結
果や入力画像を表示するモニター9が接続されている。
Then, as shown in FIG. 1, the image information processing apparatus selectively fetches the plurality of compressed images supplied from a plurality of external input devices such as a VTR and a data recorder and, at the same time, the GOP. A matrix switcher 1 for converting P frames into I frames and changing prediction data of B frames, a decoder 2 for expanding the compressed image to restore the original image, and an image signal expanded by the decoder 2. Is Y, R-Y, G-Y or R,
An input buffer memory unit 3 having a function of converting the G and B component signals and converting the transfer rate of the image signal, and color conversion, transformation, reduction, or the like to an image signal which is an output signal of the input buffer memory unit 3. An image processing unit 4 having a function of performing various kinds of image information processing such as geometric transformation, an encoder 5 having a function of compressing an image processing signal which is an output signal of the image processing unit 4, and a compressed image processing signal of the encoder 5. The output buffer memory unit 6 having a function of converting the transfer rate of the output data, the matrix switcher 1, the decoder 2, the input buffer memory unit 3, the image processing unit 4, the encoder 5, and the output buffer memory unit 6 are controlled. It has a control unit 7. Further, the image information processing apparatus is connected with a keyboard 8 which is a means for externally supplying processing parameters and processing control data, and a monitor 9 for displaying processing results and input images.

【0019】マトリックススイッチャ1は、図2に示す
ように、クロスポイントスイッチ10と、GOP再構成
部11及び12と、合成部13とからなる。クロスポイ
ントスイッチ10は、上記複数の外部入力装置からの複
数の圧縮画像を入力し、制御部7の指示でその内の例え
ば2系統を選択する。GOP再構成部11及び12は、
例えば一方の連続画像をあるGOPの途中で切り、他方
の画像と接続する際に、途中から切られた一方の画像の
不完全なGOPを完全なGOPに再構成する。合成部1
3は、GOP再構成部11及び12で再構成された2つ
のGOP画像を接続する。
As shown in FIG. 2, the matrix switcher 1 comprises a cross point switch 10, GOP reconstruction units 11 and 12, and a synthesis unit 13. The crosspoint switch 10 inputs a plurality of compressed images from the plurality of external input devices, and selects, for example, two of them from an instruction from the control unit 7. The GOP reconstruction units 11 and 12 are
For example, when one continuous image is cut in the middle of a certain GOP and is connected to the other image, the incomplete GOP of the one image cut from the middle is reconstructed into a complete GOP. Synthesis part 1
3 connects the two GOP images reconstructed by the GOP reconstruction units 11 and 12.

【0020】GOP再構成部11及び12は、図3に示
すように、入力側バッファメモリ14と、可変長符号復
号器15と、逆量子化器16と、加算器17と、バッフ
ァメモリ18と、量子化器19と、前向き補償回路20
と、後ろ向き補償回路21と、フレームメモリ22と、
フレームメモリ23と、ワークメモリ24と、予測デー
タ修正回路25と、符号化器26と、GOP組立回路2
7と、ワークメモリ/出力側バッファメモリ28とから
構成される。
As shown in FIG. 3, the GOP reconstruction units 11 and 12 include an input side buffer memory 14, a variable length code decoder 15, an inverse quantizer 16, an adder 17, and a buffer memory 18. , Quantizer 19 and forward compensation circuit 20
A backward compensation circuit 21, a frame memory 22,
The frame memory 23, the work memory 24, the prediction data correction circuit 25, the encoder 26, and the GOP assembly circuit 2
7 and a work memory / output side buffer memory 28.

【0021】入力側バッファメモリ14は、後段の処理
に必要な圧縮画像のデータを一時的に蓄える。可変長符
号復号器15は、可変長符号化されている上記圧縮画像
データを復号する。逆量子化器16は、可変長符号復号
器15で復号された画像データに量子化テーブルの逆数
を掛け周波数領域の値に戻す。前向き補償回路20は、
フレームメモリ22から時間の流れと同じ方向である前
向き方向の逆量子化された画像データを取り出して画像
を再構成する。後ろ向き補償回路21は、フレームメモ
リ23から時間の流れと逆方向である後ろ向き方向の逆
量子化された画像データを取り出して画像を再構成す
る。加算器17は、前向き補償回路20及び後ろ向き補
償回路23から出力された再構成画像データと逆量子化
器16の処理結果である画像データとを加算する。バッ
ファメモリ18は、後段の処理で必要な例えば1GOP
分のデータを一時的に蓄える。量子化器19は、バッフ
ァメモリ18から取り出した上記加算画像データに、量
子化テーブルの係数で各離散的コサイン変換値を掛ける
処理を行うと共に、最終的なGOP総データ量を、予め
決められたある一定値(基準データ量)以内に収める処
理も行う。予測データ修正回路25は、Bフレームの圧
縮画像データを、前向き、及び後ろ向き予測データを追
加/削除し修正する。ワークメモリ24は、予測データ
修正回路25が予測したBフレーム圧縮画像データに修
正処理を施すためのワークメモリである。符号化器26
は、量子化したデータをハフマン符号とランレングス符
号に変換する。GOP組立回路27は、基準データ量超
えの判定、復号、再量子化、ハフマン・テーブル更新、
符号化などの機能を有し、予測データ修正回路25で修
正された符号化データと、修正する必要のない他のデー
タとから新しいGOPを再構成し、組み立てる。ワーク
メモリ/出力側バッファメモリ28は、GOP組立回路
27の組立処理を行うワークエリアの機能と、あるまと
まった結果が得られ出力されるまで処理結果データを蓄
えるメモリの機能を有する。
The input side buffer memory 14 temporarily stores the data of the compressed image necessary for the subsequent processing. The variable length code decoder 15 decodes the compressed image data which has been variable length coded. The inverse quantizer 16 multiplies the image data decoded by the variable length code decoder 15 by the reciprocal of the quantization table and returns the value in the frequency domain. The forward compensation circuit 20 is
The image is reconstructed by taking out the dequantized image data in the forward direction, which is the same direction as the flow of time, from the frame memory 22. The backward compensating circuit 21 takes out the inversely quantized image data in the backward direction, which is the reverse direction of the flow of time, from the frame memory 23 and reconstructs the image. The adder 17 adds the reconstructed image data output from the forward compensation circuit 20 and the backward compensation circuit 23 and the image data that is the processing result of the inverse quantizer 16. The buffer memory 18 is, for example, 1 GOP necessary for the subsequent processing.
Temporarily stores minute data. The quantizer 19 multiplies the added image data extracted from the buffer memory 18 by each discrete cosine transform value with the coefficient of the quantization table, and determines the final GOP total data amount in advance. It also performs processing to keep it within a certain fixed value (reference data amount). The prediction data correction circuit 25 corrects the B frame compressed image data by adding / deleting forward and backward prediction data. The work memory 24 is a work memory for performing correction processing on the B frame compressed image data predicted by the prediction data correction circuit 25. Encoder 26
Converts the quantized data into Huffman code and run length code. The GOP assembling circuit 27 determines whether the reference data amount is exceeded, decoding, requantization, Huffman table updating,
A new GOP is reconstructed and assembled from coded data that has a function such as coding and that has been modified by the prediction data modification circuit 25 and other data that does not need to be modified. The work memory / output side buffer memory 28 has a function of a work area for assembling the GOP assembling circuit 27 and a function of a memory for storing the processing result data until a certain collective result is obtained and output.

【0022】次に、上述したように構成されたマトリッ
クススイッチャ1の動作について説明する。図2に示し
たクロスポイントスイッチ10は、複数の外部入力装置
より供給される複数の圧縮画像データから、制御部7の
指示に従い、例えば2つの圧縮画像データを選択する。
フレーム間圧縮をした圧縮画像データを扱う場合、クロ
スポイントスイッチ10は選択の切り替えを切り替えフ
レームを含むGOPの最後で行う。正確なフレーム切り
替えは、後段のGOP再構成部11及び12で行われ
る。ここで、二つの画像を切り替え、一つの連続画像に
する場合、既に選択されている画像を既存画像、新たに
選択される画像を新画像と呼ぶことにする。既存画像
は、GOP再構成部11又は12を通り、合成部13を
通り、出力される。切り替え前では、GOP再構成処理
や合成処理は必要ないため既存画像はこれらを単に通過
するだけである。
Next, the operation of the matrix switcher 1 configured as described above will be described. The cross point switch 10 shown in FIG. 2 selects, for example, two pieces of compressed image data from a plurality of pieces of compressed image data supplied from a plurality of external input devices according to an instruction from the control unit 7.
When handling compressed image data that has undergone interframe compression, the crosspoint switch 10 switches the selection at the end of the GOP including the switching frame. Accurate frame switching is performed by the GOP reconstruction units 11 and 12 in the subsequent stage. Here, when two images are switched to form one continuous image, an image already selected is called an existing image and a newly selected image is called a new image. The existing image is output through the GOP reconstructing unit 11 or 12 and the combining unit 13. Before the switching, the GOP reconstruction processing and the synthesis processing are not necessary, so that the existing image simply passes through these.

【0023】切り替え指示がくると、新画像は既存画像
が供給されていない方のGOP再構成部11又は12に
入力され、それぞれ指定されたフレームで切り替えられ
るよう、既存画像は指定フレームで終る新たなGOP
に、また、新画像は指定フレームで始まる新たなGOP
に再構成される。合成部13はそれぞれの画像をGOP
単位で接続し一つの連続画像にする。
When a switching instruction comes, the new image is input to the GOP reconstructing unit 11 or 12 to which the existing image is not supplied, and the existing image ends in the designated frame so that the switching is performed in the designated frame. Na GOP
In addition, the new image is a new GOP that starts at the specified frame.
Reconfigured into. The synthesizing unit 13 GOPs each image.
Connect in units to make one continuous image.

【0024】ここで、GOP再構成部11及び12の動
作の詳細を、図3乃至図10を参照しながら説明する。
図3において、入力側バッファメモリ14、可変長符号
復号器15、逆量子化器16、加算器17、バッファメ
モリ18及び量子化器19からなる系と、閉ループを構
成する加算器17、フレームメモリ23、フレームメモ
リ22、前向き補償回路20及び後ろ向き補償回路21
とからなる系とは、PフレームからIフレームを生成す
るパスである。後述するように、新たにIフレームを作
る場合は前向き補償回路20だけを、また、Bフレーム
の予測情報を修正するためにPフレームをIフレーム化
する場合は前向き補償回路20と後ろ向き補償回路21
の両方を用いる。
Details of the operations of the GOP reconstruction units 11 and 12 will be described with reference to FIGS. 3 to 10.
In FIG. 3, a system including an input side buffer memory 14, a variable length code decoder 15, an inverse quantizer 16, an adder 17, a buffer memory 18 and a quantizer 19, and an adder 17 and a frame memory forming a closed loop. 23, frame memory 22, forward compensation circuit 20, and backward compensation circuit 21
The system consisting of and is a path for generating an I frame from a P frame. As will be described later, only the forward compensating circuit 20 is used when a new I frame is created, and the forward compensating circuit 20 and the backward compensating circuit 21 are used when converting a P frame into an I frame to correct the prediction information of the B frame.
Both are used.

【0025】PフレームからIフレームを生成するに
は、前のIフレームを使いPフレームをIフレーム化す
ればよい。このPフレームのIフレーム化と後述のBフ
レームの予測情報修正について説明する。一つのGOP
は、一つのIフレームを有し、例えば、“IBBPBB
PBBPBBPBB”のように15フレームからなるこ
とについては上述した。このGOPのフレーム列の符号
化順序は図4の(A)に示すようになり、入力順序は図
4の(B)に示すようになる。入力順序は、“BBIB
BPBBPBBPBBP”であるが、符号化順序は、I
が先頭に来るようにIとPを前にずらし、“IBBPB
BPBBPBBPBB”となる。
To generate an I frame from a P frame, the previous I frame may be used to convert the P frame into an I frame. The conversion of the P frame into an I frame and the prediction information correction of the B frame described later will be described. One GOP
Has one I frame, for example "IBBPBB
PBBPBBPBB ″ is composed of 15 frames as described above. The coding sequence of the frame sequence of this GOP is as shown in FIG. 4A, and the input sequence is as shown in FIG. 4B. The input order is "BBIB
BPBBPBBPBBP ", but the encoding order is I
Shift I and P forward so that "" is at the top, and then "IBBPB
BPBBPBBPBB ″.

【0026】マトリックススイッチャ1に入力された上
記圧縮画像データのGOPは、可変長符号復号器15で
図4の(A)に示すような符号化順序を解かれ、図4の
(B)に示すような入力順序とされている。図5にこの
入力順序とされたGOPの“IBBP”部分を取り出し
て示す。もちろん、各フレームは、左から入力順序で配
列され、符号化を解かれた周波数領域のスペクトル値で
ある。
The GOP of the compressed image data input to the matrix switcher 1 is resolved in the variable-length code decoder 15 from the encoding order shown in FIG. 4 (A), and then shown in FIG. 4 (B). The input order is as follows. FIG. 5 shows the "IBBP" portion of the GOP that has been input in this order. Of course, each frame is a spectrum value in the frequency domain that is arranged in the input order from the left and is unencoded.

【0027】IフレームFIのスペクトル値を、予測ベ
クトルを持つPフレームFPのブロックのスペクトル値
に加算する。ここで、ブロックは、8×8の64画素分
のスペクトル値から成る。動きベクトルである上記予測
ベクトルは、IフレームFIのあるブロックがPフレー
ムFPのあるブロックとある誤差内で同じであるという
対応関係を示し、IフレームFIからそのブロックを持
って来ることにより、対応するPフレームFPのブロッ
クが再生できる。この操作を全ブロックについて行う
と、PフレームをIフレーム化できる。可変長符号復号
器15、ワークメモリ24及び予測データ修正回路25
からなる系は、前向き予測情報の埋め込み、又は、後ろ
向き予測情報の埋め込み等、BフレームFB1及びFB2
修正を行う。前向きと後ろ向き両方の予測情報がある場
合、どちらか一方のみにする。この操作は予測データ修
正回路25で行われる。BフレームFB1及びFB2の修正
は、上述のIフレーム化した後のフレームFP’の情報
を用いて行う。これは、Iフレーム化したフレーム
P’を捨てる前に、Bフレーム再生に必要な情報をB
フレームFB1及びFB2に移すために必要である。具体的
には、ベクトル情報に基づきIフレーム化したフレーム
P’からスペクトル値を移動し、フレーム間の依存関
係をなくす処理を行う。このように、PフレームFP
Iフレーム化には、二つの目的がある。一つは、Bフレ
ームFB1及びFB2の予測情報修正のため捨てるPフレー
ムFPをIフレーム化することと、もう一つはIフレー
ムFIを捨てるためにPフレームFPから新たなIフレー
ムFP’を作ることである。また、IフレームFIからB
フレームFB1及びFB2に予測ブロックのスペクトル値を
供給しているのは、伸張の際の操作である。ここでは、
フレームの圧縮情報を予測情報としている。Pフレーム
やBフレームの予測情報には、動きベクトルを用いて差
分化してから量子化した情報と、動きベクトルを用いな
い情報の2つがある。BフレームFB1及びFB2の予測情
報修正はIフレームFIあるいはPフレームFPを捨てる
時に必要になる。IフレームFIやPフレームFPには動
きベクトルを求めた元データ(動きベクトルを用いない
情報)があるので、これをBフレームFB1及びFB2に埋
め込む必要がある。これが、動きベクトルを用い差分化
してから量子化した情報を、動きベクトルを用いない情
報に修正する理由である。Pフレームに元データがある
とは限らず、最悪の場合、Iフレームまでさかのぼるこ
とも有り得る。このようにして、GOP再構成部11及
び12は、PフレームのIフレーム化とBフレームの予
測情報修正を行っている。
The spectrum value of the I frame F I is added to the spectrum value of the block of the P frame F P having the prediction vector. Here, the block consists of 8 × 8 spectral values for 64 pixels. The above-mentioned prediction vector, which is a motion vector, indicates a correspondence relationship that a certain block of the I frame F I is the same as a certain block of the P frame F P within a certain error, and brings the block from the I frame F I. Thus, the block of the corresponding P frame F P can be reproduced. If this operation is performed for all blocks, P frames can be converted into I frames. Variable-length code decoder 15, work memory 24, and prediction data correction circuit 25
The system consisting of B corrects the B frames F B1 and F B2 by embedding the forward prediction information or the backward prediction information. If there is both forward and backward prediction information, specify only one of them. This operation is performed by the prediction data correction circuit 25. The correction of the B frames F B1 and F B2 is performed using the information of the frame F P ′ after the above I frame conversion. This is because the information necessary for B frame reproduction is discarded before discarding the frame F P ′ converted into an I frame.
Required to move to frames F B1 and F B2 . Specifically, the spectrum value is moved from the frame F P ′ converted into an I-frame based on the vector information, and the process of eliminating the inter-frame dependency relationship is performed. Thus, the conversion of the P frame F P into the I frame has two purposes. One is to convert the discarded P frame F P into an I frame to correct the prediction information of the B frames F B1 and F B2 , and the other is to discard the I frame F I from the P frame F P to generate a new I frame. To make the frame F P '. Also, I frame F I to B
It is the decompression operation that supplies the spectral values of the prediction block to the frames F B1 and F B2 . here,
The compression information of the frame is used as the prediction information. There are two types of prediction information for P-frames and B-frames: information that is differentiated using motion vectors and then quantized, and information that does not use motion vectors. Modification of the prediction information of the B frames F B1 and F B2 is necessary when discarding the I frame F I or the P frame F P. Since the I frame F I and the P frame F P have original data for which a motion vector is obtained (information that does not use a motion vector), it is necessary to embed this in the B frames F B1 and F B2 . This is the reason why the information quantized after the differential using the motion vector is corrected to the information not using the motion vector. Original data does not always exist in the P frame, and in the worst case, it is possible to trace back to the I frame. In this way, the GOP reconstruction units 11 and 12 convert the P frame into the I frame and correct the prediction information of the B frame.

【0028】そして、このGOP再構成部11及び12
は、符号化順序が“IBBPBBPBBPBBPBB”
であるようなGOPのフレーム列を切り替え位置の違い
によって図6及び7に示すように再構成する。なお、こ
こではGOP再構成部11が上記既存画像を図6のよう
に、GOP再構成部12が上記新画像を図7のように再
構成する。また、例えば、GOP再構成部11及び12
は、Pフレームがなく、IフレームとBフレームだけか
ら構成されている“IBBBIBBBIBBBIBB
B”であるようなGOPのフレーム列を切り替え位置の
違いによって図8及び9に示すように再構成する。な
お、ここではGOP再構成部11が上記既存画像を図8
のように、GOP再構成部12が上記新画像を図9のよ
うに再構成する。
Then, the GOP reconstruction units 11 and 12
Has an encoding order of "IBBPBBPBBPBBPBB"
The GOP frame sequence such as is reconstructed as shown in FIGS. 6 and 7 according to the difference in switching position. Here, the GOP reconstructing unit 11 reconstructs the existing image as shown in FIG. 6, and the GOP reconstructing unit 12 reconstructs the new image as shown in FIG. Also, for example, the GOP reconstruction units 11 and 12
Is an "IBBBIBBBIBBBIBBB" that is composed of only I and B frames without P frames.
The frame sequence of GOP such as B ″ is reconstructed as shown in FIGS. 8 and 9 according to the difference in switching position. Here, the GOP reconstructing unit 11 reconstructs the existing image shown in FIG.
As described above, the GOP reconstruction unit 12 reconstructs the new image as shown in FIG.

【0029】図6及び7に示したGOP再構成処理の例
では、既存画像のPフレームを捨て、Bフレームに後ろ
向き予測情報を加える処理と、新画像のPフレームをI
フレームにし、Bフレームに前向き予測情報を加える処
理をする。上記既存画像の処理では、前のIフレームか
ら次のPフレームをIフレーム化し、これを順次繰り返
し対象のPフレームをIフレーム化し、これを用いてB
フレームの予測情報を修正する。また、上記新画像の処
理では、前のIフレームから対象のPフレームをIフレ
ーム化し、前のIフレームの情報を用いBフレームの予
測情報を修正する。
In the example of the GOP reconstruction processing shown in FIGS. 6 and 7, the P frame of the existing image is discarded, the backward prediction information is added to the B frame, and the P frame of the new image is I.
A process of adding forward prediction information to the B frame is performed. In the processing of the existing image, the P frame from the previous I frame to the next P frame is converted to an I frame, and the P frame to be a target is repeated sequentially to form an I frame.
Modify frame prediction information. In the processing of the new image, the target P frame is converted into an I frame from the previous I frame, and the prediction information of the B frame is corrected using the information of the previous I frame.

【0030】また、図8及び9に示したGOP再構成処
理の例では、Pフレームが存在しないので、Pフレーム
からIフレームを作る必要がないが、Bフレームの修正
のためPフレームからIフレームを生成するパスでIフ
レームをワークメモリ24に持って来る。これらの処理
が施された処理フレームデータは、ワークメモリ24か
ら符号化器26に供給されてハフマン符号とランレング
ス符号に変換されてから、ワークメモリ/出力側バッフ
ァメモリ28に入る。ワークメモリ/出力側バッファメ
モリ28には、入力側バッファメモリ14の出力も供給
される。この入力側バッファメモリ14から直接供給さ
れるデータは、GOPの再構成において、処理する必要
のない未処理フレームデータである。ワークメモリ/出
力側バッファメモリ28の出力データは、GOP組立回
路27に入る。このGOP組立回路27は、上記処理フ
レームデータと上記未処理フレームデータを組合せ、新
たなGOPを作る。ここで、不要となったフレーム情報
が捨てられる。あるいは入力側バッファメモリ14の出
力で選択的に捨てることもできる。
Further, in the example of the GOP reconstruction processing shown in FIGS. 8 and 9, since there is no P frame, it is not necessary to create an I frame from a P frame. Bring the I-frame to the work memory 24 in the pass that produces The processed frame data that has been subjected to these processes is supplied from the work memory 24 to the encoder 26 and converted into the Huffman code and the run length code, and then enters the work memory / output side buffer memory 28. The output of the input side buffer memory 14 is also supplied to the work memory / output side buffer memory 28. The data directly supplied from the input side buffer memory 14 is unprocessed frame data that does not need to be processed in the GOP reconstruction. The output data of the work memory / output side buffer memory 28 enters the GOP assembling circuit 27. The GOP assembling circuit 27 combines the processed frame data and the unprocessed frame data to create a new GOP. Here, the unnecessary frame information is discarded. Alternatively, it can be selectively discarded by the output of the input side buffer memory 14.

【0031】以下、GOP再構成部11及び12が行う
上記図6及び7、上記図8及び9の二つの例について詳
しく説明する。図6の(A)は、上記既存画像のGOP
の入力順序フレーム列の後半部分f,d,h,i,g,
k,l,j,n,o,mと、切り替え位置S1,S2,S
3,S4,S5,S6,S7,S8を示す。ここで、d,g,
j,mは、Pフレームであり、f,h,i,k,l,
n,oはBフレームである。また、各切り替え位置
1,S2,S3,S4,S5,S6,S7,S8での切り替え
は、制御部7により指示される。図6の(B)乃至図6
の(I)には、切り替え位置S1,S2,S3,S4
5,S6,S7,S8が指示された場合のGOP再構成部
11で行われる再構成処理の様子を示す。ここで、GO
Pの基本的な符号化順序は、Bフレームであるh,iを
符号化するにはPフレームであるgフレームが既に分か
っていなければならないので、h,iよりもgを早く符
号化するため、Pフレームであるgを前のPフレームの
位置に移動した順序となる。Pフレームのj,mも同様
である。
Thereafter, the GOP reconstruction units 11 and 12 carry out.
Details of the two examples of FIGS. 6 and 7 and FIGS.
I will explain it. FIG. 6A shows the GOP of the existing image.
Latter half of the input sequence frame sequence f, d, h, i, g,
k, l, j, n, o, m and switching position S1, S2, S
3, SFour, SFive, S6, S7, S8Is shown. Where d, g,
j and m are P frames, and f, h, i, k, l,
n and o are B frames. Also, each switching position
S1, S2, S3, SFour, SFive, S6, S7, S8Switching in
Is instructed by the control unit 7. 6B through 6 of FIG.
(I), the switching position S1, S2, S3, SFour,
S Five, S6, S7, S8GOP reconstructing unit when
11 shows a state of the reconstruction processing performed in 11. Where GO
The basic encoding order of P is h, i which is B frame
Is g frame which is P frame already known for encoding?
Since g must be set, g must be marked earlier than h and i.
In order to encode the P frame, g, which is a P frame, of the previous P frame
It is the order of movement to the position. Same for j and m of P frame
Is.

【0032】制御部7からの指示により図6の(A)の
ように切り替え位置S1が示されると、GOP再構成部
11では特に、上記基本的な符号化順序を変更すること
なく、図6の(B)に示すように、GOP単位での切り
替えを行う。上記切り替え位置S2が示されると、GO
P再構成部11は図6の(C)に示すように、上記基本
的な符号化順序とされたフレーム列のBフレームである
n,oにPフレームであるmの後ろ向き予測情報を加
え、修正n’,o’としてから該mを捨てる。後ろ向き
予測情報を加えるのは、Bフレームのnとoに実際のブ
ロック画像情報を加えることによって、nとoからmに
よって与えられたベクトル情報を削除するためである。
Pフレームのブロック画像情報は、IフレームとPフレ
ームとの差分値を、あるいはPフレームの値を離散的コ
サイン変換したものである。IフレームとPフレームの
差分値を離散的コサイン変換する場合は、GOP内に以
前のIフレームとPフレームから対象のPフレームであ
るmの画像を再構成する必要がある。つまり、GOP内
の前からBフレームの予測情報付加に必要なPフレーム
までのすべてをIフレームから一時的にIフレーム化す
る。
When the switching position S 1 is indicated by the instruction from the control unit 7 as shown in FIG. 6A, the GOP reconstructing unit 11 does not particularly change the basic coding order and As shown in FIG. 6B, switching is performed in GOP units. When the switching position S 2 is indicated, GO
As shown in FIG. 6C, the P reconstructing unit 11 adds backward prediction information of m that is a P frame to n and o that are B frames of the frame sequence in the above basic encoding order, Discard the m after making the correction n ', o'. The backward prediction information is added in order to delete the vector information given by m from n and o by adding the actual block image information to n and o of the B frame.
The block image information of the P frame is obtained by performing a discrete cosine transform on the difference value between the I frame and the P frame or the value of the P frame. When performing the discrete cosine transform of the difference value between the I frame and the P frame, it is necessary to reconstruct the image of m which is the target P frame from the previous I frame and the P frame in the GOP. That is, everything from the front of the GOP to the P frame required for adding the prediction information of the B frame is temporarily converted from the I frame to the I frame.

【0033】上記切り替え位置S3が示されると、GO
P再構成部11は図6の(D)に示すように、上記基本
的な符号化順序とされたフレーム列のBフレームである
nにPフレームであるmの後ろ向き予測情報を加え、
n’に修正してから、o’とmを捨てる。上記切り替え
位置S4が示されると、GOP再構成部11は図6の
(E)に示すように、上記基本的な符号化順序とされた
フレーム列の、n,m,oを捨てる。
When the switching position S 3 is indicated, GO
As shown in FIG. 6D, the P reconstructing unit 11 adds backward prediction information of m that is a P frame to n that is a B frame of a frame sequence in the above basic encoding order,
After correcting to n ', discard o'and m. When the switching position S 4 is indicated, the GOP reconstructing unit 11 discards n, m, and o of the frame sequence in the basic encoding order, as shown in (E) of FIG.

【0034】上記切り替え位置S5が示されると、GO
P再構成部11は図6の(F)に示すように、上記基本
的な符号化順序とされたフレーム列のBフレームである
k,lにPフレームであるjの後向き予測を加え、修正
k’,l’としてから、j,n,o,mを捨てる。上記
切り替え位置S6が示されると、GOP再構成部11は
図6の(G)に示すように、上記基本的な符号化順序と
されたフレーム列のBフレームであるkにPフレームで
あるjの後向き予測を加え、修正k’としてから、l,
j,n,o,mを捨てる。
When the switching position S 5 is indicated, GO
As shown in FIG. 6 (F), the P reconstructing unit 11 adds backward prediction of j, which is a P frame, to k and l, which are B frames of the frame sequence in the basic coding order, and corrects them. After setting k ', l', j, n, o, m are discarded. When the switching position S 6 is indicated, the GOP reconstructing unit 11 is, as shown in FIG. 6G, a P frame in k which is a B frame in the frame sequence in the basic encoding order. add the backward prediction of j to give a modified k ′, then l,
Discard j, n, o, and m.

【0035】上記切り替え位置S7が示されると、GO
P再構成部11は図6の(H)に示すように、上記基本
的な符号化順序とされたフレーム列のk,l,j,n,
m,oを捨てる。上記切り替え位置S8が示されると、
GOP再構成部11は図6の(I)に示すように、上記
基本的な符号化順序とされたフレーム列のBフレームで
あるh,iにPフレームであるgの後向き予測情報を加
え、修正h’、i’としてからg,k,l,j,n,
m,oを捨てる。
When the switching position S 7 is indicated, GO
As shown in (H) of FIG. 6, the P reconstructing unit 11 uses k, 1, j, n, and k of the frame sequence in the basic coding order.
Discard m and o. When the switching position S 8 is shown,
As shown in (I) of FIG. 6, the GOP reconstruction unit 11 adds backward prediction information of g that is a P frame to h and i that are B frames of a frame sequence in the above basic encoding order, After modifying h ′, i ′, g, k, l, j, n,
Discard m and o.

【0036】図7の(A)は、上記新画像のGOPの入
力順序フレーム列の前半部分b,c,a,e、f,d,
h,i,g,kと、切り替え位置s1,s2,s3,s4
5,s6,s7,s8を示す。ここで、aはIフレームで
あり、d,g,jはPフレームであり、b,c,e,
f,h,i,kはBフレームである。また、各切り替え
位置s1,s2,s3,s4,s5,s6,s7,s8での切り
替えは、制御部7により指示される。図7の(B)乃至
図7の(I)には、切り替え位置s1,s2,s 3,s4
5,s6,s7,s8の場合のGOP再構成部12で行わ
れる再構成処理の様子を示す。また、GOPの基本的な
符号化順序は、Iフレームであるaが先頭になるよう
に、該aとPフレームであるd,g,jを前のI又はP
フレームの位置に移動した順序となる。
FIG. 7A shows the GOP input of the new image.
The first half b, c, a, e, f, d of the force sequence frame sequence
h, i, g, k and switching position s1, S2, S3, SFour,
sFive, S6, S7, S8Is shown. Where a is an I frame
Yes, d, g, j are P frames, b, c, e,
f, h, i and k are B frames. Also, each switch
Position s1, S2, S3, SFour, SFive, S6, S7, S8Cut in
The replacement is instructed by the control unit 7. 7B to 7B
In FIG. 7 (I), the switching position s1, S2, S 3, SFour,
sFive, S6, S7, S8In the case of GOP reconstruction unit 12
The following is a description of the reconstruction process. Also, the basic GOP
The encoding order is such that a, which is an I frame, comes first.
The a and P frames d, g, and j into the previous I or P
The order is to move to the frame position.

【0037】制御部7からの指示により、図7の(A)
のように切り替え位置s1が示されると、GOP再構成
部12では特に、上記符号化順序を変更することなく、
GOP単位での切り替えを行う。上記切り替え位置s2
が示されると、GOP再構成部12は図7の(C)に示
すように、上記基本的な符号化順序とされたフレーム列
のBフレームであるbを捨てる。
In response to an instruction from the control unit 7, (A) of FIG.
When the switching position s 1 is indicated by, the GOP reconstructing unit 12 does not particularly change the encoding order,
Switching is performed in GOP units. The switching position s 2
Is displayed, the GOP reconstructing unit 12 discards b, which is the B frame of the frame sequence in the basic encoding order, as shown in FIG. 7C.

【0038】上記切り替え位置s3が示されると、GO
P再構成部12は図7の(D)に示すように、上記基本
的な符号化順序とされたフレーム列のBフレームである
b,cを捨てる。上記切り替え位置s4が示されると、
GOP再構成部12は図7の(E)に示すように、上記
基本的な符号化順序とされたフレーム列のPフレームで
あるdをIフレーム化し、BフレームであるeとfにI
フレームであるaの前向き予測情報を加え、修正e’,
f’としてから、a,b,cを捨てる。前向き予測情報
を加えるのは、Bフレームのeとfに実際のブロック画
像情報を加えることによって、eとfからaによって与
えられたベクトル情報を削除するためである。
When the switching position s 3 is indicated, GO
As shown in FIG. 7D, the P reconstructing unit 12 discards b and c, which are B frames of the frame sequence in the basic coding order. When the switching position s 4 is shown,
As shown in FIG. 7E, the GOP reconstructing unit 12 converts the P frame d of the frame sequence in the basic encoding order into an I frame, and the B frames e and f into an I frame.
The forward prediction information of the frame a is added, and the correction e ′,
After setting f ', a, b, and c are discarded. The reason for adding the forward prediction information is to add the actual block image information to e and f of the B frame to delete the vector information given by a from e and f.

【0039】上記切り替え位置s5が示されると、GO
P再構成部12は図7の(F)に示すように、上記基本
的な符号化順序とされたフレーム列のPフレームである
dをIフレーム化し、BフレームであるfにIフレーム
であるaの前向き予測情報を加え、修正f’としてか
ら、a,b,c,eを捨てる。上記切り替え位置s6
示されると、GOP再構成部12は図7の(G)に示す
ように、上記基本的な符号化順序とされたフレーム列の
PフレームであるdをIフレーム化し、a,b,c,
e,fを捨てる。
When the switching position s 5 is indicated, GO
As shown in (F) of FIG. 7, the P reconstructing unit 12 converts d, which is a P frame of a frame sequence in the basic coding order, into an I frame, and f, which is a B frame, is an I frame. The forward prediction information of a is added to make a correction f ′, and then a, b, c, and e are discarded. When the switching position s 6 is indicated, the GOP reconstruction unit 12 converts the P frame d of the frame sequence in the basic encoding order into an I frame, as shown in FIG. a, b, c,
Discard e and f.

【0040】上記切り替え位置s7が示されると、GO
P再構成部12は図7の(H)に示すように、上記基本
的な符号化順序とされたフレーム列のPフレームである
gをIフレーム化し、hとiにdの前向き予測情報を加
え、修正h’,i’としてから、a,b,c,d,e,
fを捨てる。上記切り替え位置s8が示されると、GO
P再構成部12は図7の(I)に示すように、上記基本
的な符号化順序とされたフレーム列のPフレームである
gをIフレーム化し、iにdの前向き予測情報を加え、
修正i’としてから、a,b,c,d,e,f,hを捨
てる。
When the switching position s 7 is indicated, GO
As shown in (H) of FIG. 7, the P reconstructing unit 12 converts g, which is a P frame of the frame sequence in the basic coding order, into an I frame, and sets h and i to the forward prediction information of d. In addition, after modifying h ', i', a, b, c, d, e,
Discard f. When the switching position s 8 is shown, GO
As shown in (I) of FIG. 7, the P reconstructing unit 12 converts g, which is a P frame of the frame sequence in the above basic coding order, into an I frame, adds the forward prediction information of d to i,
After the correction i ′, a, b, c, d, e, f, h are discarded.

【0041】このように、GOP再構成部11及び12
は、既存画像及び新画像をそれぞれ独立に再構成する。
そして、合成部13は、それぞれの画像をGOP単位で
接続し、一つの連続画像にする。図8の(A)は、上記
既存画像のGOPの入力順序フレーム列の後半部分h,
e,j,k,l,i,o,p,q,mと、切り替え位置
1,S2,S3,S4,S 5,S6,S7,S8を示す。ここ
で、e,i,mはIフレームであり、h,j,k,l,
o,p,qはBフレームである。また、各切り替え位置
1,S2,S3,S4,S5,S6,S7,S8での切り替え
は、制御部7の指示により示される。図8の(B)乃至
図8の(I)には、切り替え位置S1,S2,S3,S4
5,S6,S7,S8の場合のGOP再構成部11で行わ
れるGOP再構成の様子を示す。ここで、GOPの基本
的な符号化順序は、Iフレームであるe,i,mを前の
Iフレームの位置に移動した順序となる。
In this way, the GOP reconstruction units 11 and 12 are
Reconstructs an existing image and a new image independently.
Then, the synthesizing unit 13 processes each image in GOP units.
Connect them into one continuous image. FIG. 8A shows the above.
The latter half h of the GOP input sequence frame sequence of the existing image,
e, j, k, l, i, o, p, q, m, and switching position
S1, S2, S3, SFour, S Five, S6, S7, S8Is shown. here
Where e, i, m are I frames, and h, j, k, l,
o, p, and q are B frames. Also, each switching position
S1, S2, S3, SFour, SFive, S6, S7, S8Switching in
Is indicated by an instruction from the control unit 7. 8B to 8B
The switching position S is shown in FIG.1, S2, S3, SFour,
SFive, S6, S7, S8In the case of GOP reconstruction unit 11
7 shows a state of GOP reconstruction performed. Here, the basics of GOP
Encoding order is such that the I frame e, i, m
It is the order of moving to the position of the I frame.

【0042】制御部7の指示により図8の(A)のよう
に切り替え位置S1が示されると、GOP再構成部11
では特に、上記基本的な符号化順序を変更することな
く、図8の(B)に示すように、GOP単位での切り替
えを行う。上記切り替え位置S2が示されると、GOP
再構成部11は、図8の(C)に示すように、上記基本
的な符号化順序とされたフレーム列のBフレームである
o,p,qにIフレームであるmの後ろ向き予測情報を
加え、修正o’,p’,q’としてからmを捨てる。
When the switching position S 1 is indicated by the instruction from the control unit 7 as shown in FIG. 8A, the GOP reconstruction unit 11
In particular, as shown in FIG. 8B, switching is performed in GOP units without changing the basic coding order. When the switching position S 2 is shown, the GOP
As shown in (C) of FIG. 8, the reconstructing unit 11 sets backward prediction information of m, which is an I frame, to o, p, and q which are B frames of the frame sequence in the above basic encoding order. In addition, m is discarded after the modification is made o ', p', q '.

【0043】上記切り替え位置S3が示されると、GO
P再構成部11は、図8の(D)に示すように、上記基
本的な符号化順序とされたフレーム列のBフレームであ
るo,pにIフレームであるmの後ろ向き予測情報を加
え、修正o’,p’としてからm,qを捨てる。上記切
り替え位置S4が示されると、GOP再構成部11は、
図8の(E)に示すように、上記基本的な符号化順序と
されたフレーム列のBフレームであるoにIフレームで
あるmの後ろ向き予測情報を加え、修正o’としてから
m、p,qを捨てる。
When the switching position S 3 is indicated, GO
As shown in (D) of FIG. 8, the P reconstructing unit 11 adds backward prediction information of m that is an I frame to o and p that are B frames of a frame sequence in the above basic encoding order. , Correction o ′, p ′, and then discard m, q. When the switching position S 4 is indicated, the GOP reconstruction unit 11
As shown in (E) of FIG. 8, backward prediction information of m, which is an I frame, is added to o, which is a B frame of a frame sequence in the above basic encoding order, and m, p , Q are discarded.

【0044】上記切り替え位置S5が示されると、GO
P再構成部11は、図8の(F)に示すように、上記基
本的な符号化順序とされたフレーム列のo,p,q,m
を捨てる。上記切り替え位置S6が示されると、GOP
再構成部11は、図8の(G)に示すように、上記基本
的な符号化順序とされたフレーム列のBフレームである
j,k,lにIフレームであるiの後ろ向き予測情報を
加え、修正j’,k’,l’としてから、i,o,p,
q,mを捨てる。
When the switching position S 5 is indicated, GO
As shown in (F) of FIG. 8, the P reconstructing unit 11 uses o, p, q, and m of the frame sequence in the basic coding order.
Throw away. When the switching position S 6 is shown, the GOP
As shown in (G) of FIG. 8, the reconstructing unit 11 provides backward prediction information of i that is an I frame to j, k, and l that are B frames of a frame sequence in the above basic encoding order. In addition, after modifying j ′, k ′, l ′, i, o, p,
Discard q and m.

【0045】上記切り替え位置S7が示されると、GO
P再構成部11は、図8の(H)に示すように、上記基
本的な符号化順序とされたフレーム列のBフレームであ
るj,k,にIフレームであるiの後ろ向き予測情報を
加え、修正j’,k’としてから、l,i,o,p,
q,mを捨てる。上記切り替え位置S8が示されると、
GOP再構成部11は、図8の(I)に示すように、上
記基本的な符号化順序とされたフレーム列のBフレーム
であるjにIフレームであるiの後ろ向き予測情報を加
え、修正jとしてから、k,l,i,o,p,q,mを
捨てる。図9の(A)は、上記新画像のGOPの入力順
序フレーム列の前半部分b,c,d,a,f,g,h,
e,j,kと、切り替え位置s1,s2,s3,s4
5,s6,s7,s8を示す。ここで、a,eはIフレー
ムであり、b,c,d,f,g,h,j,kはBフレー
ムである。また、各切り替え位置s1,s2,s3,s4
5,s6,s7,s8での切り替えは、制御部7により指
示される。図9の(B)乃至図9の(I)には、切り替
え位置s1,s2,s3,s4,s5,s6,s 7,s8の場合
のGOP再構成部12で行われるGOP再構成処理の様
子を示す。また、GOPの基本的な符号化順序は、Iフ
レームであるa,e,iを前のIフレームの位置に移動
した順序となる。
The switching position S7Is indicated, GO
As shown in (H) of FIG.
It is a B frame of a frame sequence in which the main encoding order is set.
The backward prediction information of the I frame i is set to j, k
In addition, after the correction j ', k', l, i, o, p,
Discard q and m. The switching position S8Is indicated,
The GOP reconstructing unit 11, as shown in (I) of FIG.
B-frame of frame sequence in basic encoding order
The backward prediction information of I frame i is added to j
Eh, the correction j, then k, l, i, o, p, q, m
throw away. FIG. 9A shows the GOP input order of the new image.
The first half b, c, d, a, f, g, h of the frame sequence
e, j, k and switching position s1, S2, S3, SFour,
sFive, S6, S7, S8Is shown. Where a and e are I-frames
B, c, d, f, g, h, j, k are B frames
It is. Also, each switching position s1, S2, S3, SFour,
sFive, S6, S7, S8To switch between, use the control unit 7
Is shown. 9B to 9I, the switching is performed.
Position s1, S2, S3, SFour, SFive, S6, S 7, S8in the case of
Like the GOP reconstruction processing performed by the GOP reconstruction unit 12 of
Indicates a child. Also, the basic encoding order of GOP is
Move the frames a, e, i to the position of the previous I frame
The order will be.

【0046】制御部7の指示により、図9の(A)のよ
うに切り替え位置s1が示されると、GOP再構成部1
2では特に、上記符号化順序を変更することなく、GO
P単位での切り替えを行う。上記切り替え位置s2が示
されると、GOP再構成部12は図9の(C)に示すよ
うに、上記基本的な符号化順序とされたフレーム列のB
フレームであるbを捨てる。
When the switching position s 1 is indicated by the instruction from the control unit 7 as shown in FIG. 9A, the GOP reconstruction unit 1
In particular, in the case of 2, the GO is changed without changing the encoding order.
Switching is performed in P units. When the switching position s 2 is indicated, the GOP reconstructing unit 12 indicates, as shown in FIG. 9C, B of the frame sequence in the basic encoding order.
Discard the frame b.

【0047】上記切り替え位置s3が示されると、GO
P再構成部12は図9の(D)に示すように、上記基本
的な符号化順序とされたフレーム列のBフレームである
b,cを捨てる。上記切り替え位置s4が示されると、
GOP再構成部12は図9の(E)に示すように、上記
基本的な符号化順序とされたフレーム列のBフレームで
あるb,c,dを捨てる。
When the switching position s 3 is indicated, GO
As shown in FIG. 9D, the P reconstructing unit 12 discards b and c which are B frames of the frame sequence in the above basic encoding order. When the switching position s 4 is shown,
As shown in FIG. 9E, the GOP reconstructing unit 12 discards b, c, and d which are B frames of the frame sequence in the above basic encoding order.

【0048】上記切り替え位置s5が示されると、GO
P再構成部12は図9の(F)に示すように、上記基本
的な符号化順序とされたフレーム列のBフレームである
f,g,hにaの前向き予測情報を加え、修正f’,
g’,h’としてから、b,c,d,aを捨てる。上記
切り替え位置s6が示されると、GOP再構成部12は
図9の(G)に示すように、上記基本的な符号化順序と
されたフレーム列のBフレームであるg,hにIフレー
ムであるaの前向き予測情報を加え、修正g’,h’と
してから、b,c,d,a,fを捨てる。
When the switching position s 5 is indicated, GO
As shown in (F) of FIG. 9, the P reconstructing unit 12 adds the forward prediction information of a to f, g, and h which are B frames of the frame sequence in the above basic encoding order, and modifies f. ',
After setting g'and h ', b, c, d, and a are discarded. When the switching position s 6 is indicated, the GOP reconstructing unit 12 indicates, as shown in (G) of FIG. 9, an I frame in g and h which are B frames of the frame sequence in the basic encoding order. Then, the forward prediction information of a is added to make corrections g ′ and h ′, and then b, c, d, a, and f are discarded.

【0049】上記切り替え位置s7が示されると、GO
P再構成部12は図9の(H)に示すように、上記基本
的な符号化順序とされたフレーム列のBフレームである
hにIフレームであるaの前向き予測情報を加え、修正
h’としてから、b,c,d,a,f,gを捨てる。上
記切り替え位置s8が示されると、GOP再構成部12
は図9の(I)に示すように、上記基本的な符号化順序
とされたフレーム列のb,c,d,a,f,g,hを捨
てる。
When the switching position s 7 is shown, GO
As shown in (H) of FIG. 9, the P reconstructing unit 12 adds the forward prediction information of the I frame a to the h which is the B frame of the frame sequence in the above basic encoding order, and the modified h Then, b, c, d, a, f, g are discarded. When the switching position s 8 is shown, the GOP reconstruction unit 12
Discards b, c, d, a, f, g, and h of the frame sequence in the above basic encoding order as shown in FIG.

【0050】このように、GOP再構成部11及び12
は、既存画像及び新画像をそれぞれ独立に再構成する。
そして、合成部13は、それぞれの画像をGOP単位で
接続し、一つの連続画像にする。ここで、GOP再構成
部11及び12で行われるGOP組替えに伴いGOPの
総データ量が予め決められたデータ総量である基準デー
タ量を超える場合が生じる。この場合は、GOP組立部
27は、上記処理フレームデータと上記未処理フレーム
データからなる総データ量を基準データ量以内に収める
ためのデータ圧縮処理を行う。このGOP組立部27の
データ圧縮処理を図10のフローチャートを参照しなが
ら説明する。
In this way, the GOP reconstruction units 11 and 12 are
Reconstructs an existing image and a new image independently.
Then, the synthesizing unit 13 connects the images in GOP units to form one continuous image. Here, there is a case in which the total amount of GOP data exceeds the reference amount of data, which is a predetermined total amount of data, due to the GOP rearrangement performed by the GOP reconstruction units 11 and 12. In this case, the GOP assembling unit 27 performs a data compression process for keeping the total data amount of the processed frame data and the unprocessed frame data within the reference data amount. The data compression processing of the GOP assembling unit 27 will be described with reference to the flowchart of FIG.

【0051】先ず、GOP組立部27は、ステップST
1に示すように、ワークメモリ/出力側バッファメモリ
28に格納されている処理対象のGOPの総データ量を
算出する。そして、算出したGOPの総データ量が予め
決められた基準データ量以下か否かをステップST2で
判定する。ここで、基準データ量は、GOPを構成する
フレーム数により変わる。上記GOPの総データ量が上
記基準データ以下である場合、GOP組立回路27は、
ステップST3に進み、上記GOPの総データをワーク
メモリ/出力側バッファメモリ28から読み出して、後
段の合成部13に供給する。このステップST3の処理
が完了すればGOP組立部27のデータ圧縮処理は終了
する。
First, the GOP assembling section 27 operates in step ST.
As shown in FIG. 1, the total data amount of the processing target GOP stored in the work memory / output side buffer memory 28 is calculated. Then, it is determined in step ST2 whether or not the calculated total data amount of GOP is equal to or smaller than a predetermined reference data amount. Here, the reference data amount changes depending on the number of frames forming the GOP. When the total data amount of the GOP is less than or equal to the reference data, the GOP assembly circuit 27
In step ST3, the total data of the GOP is read from the work memory / output side buffer memory 28 and supplied to the synthesizing unit 13 in the subsequent stage. When the process of step ST3 is completed, the data compression process of the GOP assembling unit 27 ends.

【0052】しかし、ステップST2でGOPの総デー
タ量が基準データ量よりも大きいと判断すると、GOP
組立回路27は、ステップST4に進み、ワークメモリ
/出力側バッファメモリ28からGOPの総データを読
み出した後、ステップST5に示すように、該読みだし
たGOPの総データを可変長符号復号器で復号化する。
そして、GOP組立回路27は、復号化したGOPの総
データのデータ量が基準データ量以下になるように、ス
テップST6で再度量子化を行いデータ量を修正する。
その後、GOP組立回路27は、上記データ量が修正さ
れたGOPデータをステップST7で符号化し、ワーク
メモリ/出力側バッファメモリ28に戻してから、ステ
ップST8に示すように、該再量子化されたGOPデー
タをワークメモリ/出力側バッファメモリ28から読み
出す。
However, if it is determined in step ST2 that the total data amount of GOP is larger than the reference data amount, GOP
The assembling circuit 27 proceeds to step ST4 to read the total GOP data from the work memory / output side buffer memory 28, and then, as shown in step ST5, the read total GOP data is processed by the variable length code decoder. Decrypt.
Then, the GOP assembling circuit 27 quantizes again in step ST6 to correct the data amount so that the total data amount of the decoded GOP becomes equal to or smaller than the reference data amount.
After that, the GOP assembling circuit 27 encodes the GOP data whose data amount has been corrected in step ST7, returns it to the work memory / output side buffer memory 28, and then requantizes it as shown in step ST8. The GOP data is read from the work memory / output side buffer memory 28.

【0053】ステップST8で読み出されたGOPデー
タは、ステップST1に戻り総データ量が算出される。
その後は、ステップST2で該データ量が基準データ以
下か否かの判断を受け、YESが判断されれば、ステッ
プST3で合成部13に供給される。NOが判断されれ
ば、ステップST4からステップST8の処理を繰り返
す。
For the GOP data read in step ST8, the total data amount is calculated by returning to step ST1.
After that, in step ST2, it is determined whether or not the data amount is equal to or smaller than the reference data, and if YES is determined, the data is supplied to the combining unit 13 in step ST3. If NO is determined, the processes of steps ST4 to ST8 are repeated.

【0054】ここで、ステップST6で行われる再量子
化は、量子化器19で用いた量子化テーブルの各係数に
重み係数を掛けることにより、割当ビット数を減らす。
この再量子化は、Iフレーム、Pフレーム及びBフレー
ムの全てに対して行う。上記重み係数は、基準データ量
を総データ量で割り算した値に定数を掛けたものを用い
る。定数は、符号化する際に基準データ量を超えないよ
うに定める。
Here, the requantization performed in step ST6 reduces the number of allocated bits by multiplying each coefficient of the quantization table used in the quantizer 19 by a weighting coefficient.
This requantization is performed on all I frames, P frames, and B frames. As the weight coefficient, a value obtained by dividing the reference data amount by the total data amount is multiplied by a constant. The constant is set so that it does not exceed the reference data amount when encoding.

【0055】GOP総データ量を基準データ量以内に収
めるには、さらに符号化器26のハフマンテーブルの更
新機能を用意し、符号化する際の基準データ超えが生じ
ないようにする処置をとってもよい。このようにして、
マトリックススイッチャ1は、フレーム間圧縮処理をし
た圧縮画像の切り替えを、指定したフレームで正確に行
える。また、切り替え後の圧縮画像は、伸張処理に影響
を及ぼさない。また、切り替え後のGOPのフレーム構
成が同じである必要はない。また、切り替え画像のGO
Pの位相は一致する必要はない。切り替え合成後の画像
のGOP情報量の増加を抑えられる。また、画像の伸張
を不要として、カット編集を行える。
In order to keep the total GOP data amount within the reference data amount, a Huffman table updating function of the encoder 26 may be further prepared to take measures to prevent the reference data from being exceeded when encoding. . In this way,
The matrix switcher 1 can accurately switch a compressed image that has been subjected to interframe compression processing in a designated frame. Further, the compressed image after switching does not affect the decompression process. Further, it is not necessary that the GOP frame configurations after switching are the same. In addition, GO of the switching image
The phases of P need not match. It is possible to suppress an increase in the GOP information amount of the image after the switching composition. In addition, cut editing can be performed without the need for image expansion.

【0056】次に、本実施例の画像情報処理装置は、上
述したマトリックススイッチャ1によって上述したよう
に接続された上記圧縮画像データを図1に示したデコー
ダ2により、元の画像に復元する。また、デコーダ2
は、圧縮画像を元の画像に復元する機能の他、入力信号
から画像信号と音声信号とそれらの属性情報を分離する
機能と、制御部7との通信機能も備えている。
Next, the image information processing apparatus of this embodiment restores the compressed image data connected as described above by the matrix switcher 1 to the original image by the decoder 2 shown in FIG. Also, the decoder 2
In addition to the function of restoring the compressed image to the original image, has a function of separating the image signal, the audio signal, and their attribute information from the input signal, and a function of communicating with the control unit 7.

【0057】ここで、属性情報とは信号の性質や特徴を
示す情報で、例えば画像信号の場合、圧縮/非圧縮状態
識別情報、圧縮方式情報、水平・垂直方向の画素数に応
じる画像サイズ情報、処理領域を指定する処理画面サイ
ズ情報、例えばNTSC、PAL、RGB等の画像方式
情報、入出力信号レート情報等がある。この属性情報
は、制御部7経由でデコーダ2に与えることもできる。
Here, the attribute information is information indicating the characteristics and characteristics of the signal. For example, in the case of an image signal, compressed / non-compressed state identification information, compression method information, and image size information according to the number of pixels in the horizontal and vertical directions. There is processing screen size information that specifies a processing area, for example, image system information such as NTSC, PAL, RGB, and input / output signal rate information. This attribute information can also be given to the decoder 2 via the control unit 7.

【0058】具体的に、デコーダ2は、制御部7の指示
に従い伸張方法を換えながら外部入力装置からの圧縮画
像信号を伸張する。属性情報の圧縮/非圧縮状態識別情
報で非圧縮状態とされた伸張する必要のない画像には圧
縮処理を施さないで、バイパスする。このデコーダ2
は、図11に示すように、例えばハフマン復号化等の復
号化を行う復号器31と、IDCT回路32と、逆ブロ
ック化回路33からなり、上記JPEGで標準化された
符号化方法によって圧縮された画像をデコードするJP
EG用デコーダ30と、バッファメモリ41と、可変長
符号復号器42と、逆量子化器43と、IDCT回路4
4と、加算器45と、前向き補償回路46と、前向き+
後向き補償回路47と、後ろ向き補償回路48と、フレ
ームメモリ49と、フレームメモリ50とからなり、上
記MPEGで標準化された符号化方法で圧縮された画像
をデコードするMPEG用デコーダ40とを有して構成
される。
Specifically, the decoder 2 expands the compressed image signal from the external input device while changing the expansion method according to the instruction of the control unit 7. An image which is not compressed by the compressed / uncompressed state identification information of the attribute information and which does not need to be expanded is not compressed but bypassed. This decoder 2
11, is composed of a decoder 31 for performing decoding such as Huffman decoding, an IDCT circuit 32, and a deblocking circuit 33, and is compressed by the encoding method standardized by JPEG. JP for decoding images
EG decoder 30, buffer memory 41, variable length code decoder 42, inverse quantizer 43, IDCT circuit 4
4, adder 45, forward compensation circuit 46, forward +
A backward compensating circuit 47, a backward compensating circuit 48, a frame memory 49, and a frame memory 50, and an MPEG decoder 40 for decoding an image compressed by the above-described MPEG standardized encoding method. Composed.

【0059】JPEG用デコーダ30とMPEG用デコ
ーダ40の入力側には、どちらのデコーダにデータを通
すかを選択するデコーダ選択器34が設けられている。
また、このJPEG用デコーダ30とMPEG用デコー
ダ40の出力側には、出力選択器35が設けられてい
る。JPEG用デコーダ30の復号器31は、例えばハ
フマン符号化されたデータを復号化する。IDCT回路
32は、上記復号化データに離散的コサイン逆変換処理
を施す。逆ブロック化回路33は、ブロック化されてい
たデータを元に戻し一枚の画像にする。
On the input side of the JPEG decoder 30 and the MPEG decoder 40, there is provided a decoder selector 34 for selecting which decoder the data is passed through.
An output selector 35 is provided on the output side of the JPEG decoder 30 and the MPEG decoder 40. The decoder 31 of the JPEG decoder 30 decodes, for example, Huffman-encoded data. The IDCT circuit 32 performs a discrete cosine inverse transform process on the decoded data. The deblocking circuit 33 restores the blocked data to an original image.

【0060】MPEG用デコーダ40のバッファメモリ
41は、後段のデコード処理に必要なデータを一時的に
蓄える。可変長符号復号器42は、可変長で符号化され
たデータを復号化する。逆量子化器43は、可変長符号
復号器42の出力データに量子化数を掛け周波数領域の
値に戻す。IDCT回路44は、逆量子化器43の出力
データに離散的コサイン逆変換処理を施す。前向き補償
回路46は、フレームメモリ49から時間の流れと同じ
方向である前向き方向の画像情報を取り出して画像を再
構成する。後ろ向き補償回路48は、フレームメモリ5
0から時間の流れと逆方向である後ろ向き方向の画像情
報を取り出して画像を再構成する。前向き+後ろ向き補
償回路47は、フレームメモリ49とフレームメモリ5
0から上記両方向の画像情報を取り出して画像を再構成
する。加算器45は、前向き補償回路46、前向き+後
ろ向き補償回路47及び後ろ向き補償回路48から出力
された再構成画像とIDCT回路44の処理結果の画像
を加算する。このデコーダ2の伸張処理は、例えば8×
8画素ブロック単位であるような任意の大きさの画像も
受け入れられるようにパラメトリックになっており、属
性情報の画像サイズ情報に従い指定された大きさの画像
を伸張できる。例えば8×8画素ブロックで端数のでる
画像の場合は、ダミーデータを付加し端数のでない大き
さにして処理する。
The buffer memory 41 of the MPEG decoder 40 temporarily stores the data necessary for the subsequent decoding process. The variable length code decoder 42 decodes the data encoded with the variable length. The inverse quantizer 43 multiplies the output data of the variable length code decoder 42 by the quantization number and returns it to the value in the frequency domain. The IDCT circuit 44 subjects the output data of the inverse quantizer 43 to discrete cosine inverse transform processing. The forward compensation circuit 46 retrieves image information in the forward direction, which is the same direction as the flow of time, from the frame memory 49 and reconstructs an image. The backward compensation circuit 48 is used in the frame memory 5
The image information is reconstructed by extracting the image information in the backward direction, which is the reverse direction of the flow of time from 0. The forward / backward compensation circuit 47 includes a frame memory 49 and a frame memory 5.
The image information in both directions is taken out from 0 to reconstruct the image. The adder 45 adds the reconstructed image output from the forward compensation circuit 46, the forward + backward compensation circuit 47, and the backward compensation circuit 48 and the image of the processing result of the IDCT circuit 44. The expansion process of the decoder 2 is, for example, 8 ×
It is parametric so that an image of any size such as an 8-pixel block unit can be accepted, and an image of a size specified according to the image size information of the attribute information can be expanded. For example, in the case of an image with a fraction of 8 × 8 pixel blocks, dummy data is added to make the size non-fractional.

【0061】次に、入力バッファメモリ部3は、上記画
像信号を例えばコンポーネント信号に変換すると共に上
記画像信号の転送レートを変換する機能の他、制御部6
との通信機能も備える。入力バッファメモリ部3は、図
12に示すように、方式変換エンコーダ51と、レート
変換機能付バッファメモリ52とから構成される。方式
変換エンコーダ51は、デコーダ2で伸張されたコンポ
ジット信号や、Y/C信号を本装置の内部処理で取り扱
われるY、R−Y、G−Y又はR、G、B等のコンポー
ネント信号に変換する。この方式変換は、制御部7から
与えられる属性情報の画像サイズ情報と画像方式情報に
従い処理される。ただし、単なるフレームの切り換えの
場合等には、コンポジット信号、Y/C信号のままでも
よいので、コンポーネント信号への変換は不要となる。
Next, the input buffer memory unit 3 has a function of converting the image signal into, for example, a component signal and converting the transfer rate of the image signal, and the control unit 6 as well.
It also has a communication function with. As shown in FIG. 12, the input buffer memory unit 3 includes a system conversion encoder 51 and a buffer memory 52 with a rate conversion function. The system conversion encoder 51 converts the composite signal expanded by the decoder 2 or the Y / C signal into a component signal such as Y, RY, GY or R, G, B which is handled by the internal processing of the present apparatus. To do. This system conversion is processed according to the image size information and the image system information of the attribute information given from the control unit 7. However, in the case of simple frame switching or the like, the composite signal or the Y / C signal may be used as it is, and conversion to the component signal is not necessary.

【0062】また、レート変換機能付バッファメモリ5
2は、上記画像信号の画像サイズとは無関係で、かつ十
分な容量を持っている。レート変換機能付バッファメモ
リ52への書き込みは、該バッファメモリ52への入力
のレートで行い、読み出しは内部の処理レートで行う。
上記バッファメモリ52への入力のレートは、方式変換
エンコーダ51の出力レートである。書き込みレートに
対して読み出しレートが速い場合は、読み出しの途中で
待ち状態が入る。レート変換機能付バッファメモリ52
は、2枚のメモリから成り、一方が書き込みメモリの
時、もう一方は読み出しメモリになる。読み出し/書き
込みの役割は交互に入れ替わる。すなわち、レート変換
機能付バッファメモリ52は、ダブルバッファメモリ構
造をとる。二つのメモリのそれぞれは、独立に働くアド
レス生成器を持つ。入力レートは制御部7から与えられ
る属性情報の画像入出力レート情報に従いそれぞれのメ
モリにあるアドレス生成器がアドレスを生成する。アド
レス生成ブロックの大きさとブロックアドレスの間隔を
調整することによりさまざまなレートの入力を処理系の
内部レートに変換できる。なお、本実施例では、画像デ
ータをブロックで扱うので、上記レートは時間の平均レ
ートである。
Further, the buffer memory 5 with rate conversion function
2 has a sufficient capacity regardless of the image size of the image signal. Writing to the buffer memory with rate conversion function 52 is performed at the rate of input to the buffer memory 52, and reading is performed at the internal processing rate.
The rate of input to the buffer memory 52 is the output rate of the format conversion encoder 51. If the read rate is faster than the write rate, a wait state is entered during the read. Buffer memory 52 with rate conversion function
Consists of two memories, one of which is a write memory and the other of which is a read memory. The roles of read / write alternate. That is, the buffer memory with rate conversion function 52 has a double buffer memory structure. Each of the two memories has an address generator that works independently. The input rate is generated by the address generator in each memory according to the image input / output rate information of the attribute information given from the control unit 7. By adjusting the size of the address generation block and the block address interval, inputs of various rates can be converted into the internal rate of the processing system. In this embodiment, since the image data is handled in blocks, the above rate is an average rate over time.

【0063】画像処理部4は、画像の生成や合成やペイ
ントや特殊効果等の画像処理を行う機能の他、制御部7
との通信機能も備えている。この画像処理部4は、図1
3に示すように、色変換回路53と、可変タップ低域フ
ィルタ54と、画像メモリ55と、補間フィルタ56
と、合成回路57と、アドレス生成器58と、画像処理
制御部59とから構成される。
The image processing unit 4 has a function of performing image processing such as image generation and composition, painting, special effects, and the like, as well as the control unit 7.
It also has a communication function with. This image processing unit 4 is shown in FIG.
3, the color conversion circuit 53, the variable tap low-pass filter 54, the image memory 55, and the interpolation filter 56.
And a combination circuit 57, an address generator 58, and an image processing controller 59.

【0064】色変換回路53は、画像処理制御部59の
指示に従い画像の各画素の色を変える。一般に、各色は
R、G、BあるいはY、R−Y、B−Yの3色からな
り、その混合比を変えることにより色変換される。可変
タップ低域通過フィルタ54は、縮小処理に先だってア
ンチエリアシング処理を行うための低域通過フィルタ機
能を備える。この可変タップ低域通過フィルタ54は、
画像処理制御部59の指示に従い、タップ係数を変えら
れるので、縮小の程度に応じ、作用する低域範囲を変え
られる。また、上記低域通過フィルタ機能は、特殊効果
の一つであるデフォーカスと呼ばれるぼかし処理にも用
いられる。画像メモリ55は、幾何学変換と呼ばれる座
標変換を行うためのワーキングメモリである。変換のた
めのアドレスは、アドレス生成器58で生成される。補
間フィルタ56は、座標変換により生じた空の画素を周
囲の画素値を用い穴埋めするための補間機能を有する。
合成回路57は、複数の処理画像を合成する。アドレス
生成器58は、画像メモリ55上の画像を幾何学変換す
るためのアドレスを生成する。画像処理制御部59は、
色変換回路53、可変タップ低域通過フィルタ54、ア
ドレス生成器58、補間フィルタ56、合成回路57に
制御信号を出し処理を指示する。この画像処理制御部5
9には、制御部7からの制御信号が供給されている。
The color conversion circuit 53 changes the color of each pixel of the image according to the instruction of the image processing control section 59. Generally, each color is composed of three colors of R, G, B or Y, RY, BY, and color conversion is performed by changing the mixture ratio. The variable tap low-pass filter 54 has a low-pass filter function for performing anti-aliasing processing prior to reduction processing. This variable tap low pass filter 54
Since the tap coefficient can be changed in accordance with the instruction from the image processing control unit 59, the low frequency range to be operated can be changed according to the degree of reduction. The low-pass filter function is also used for blurring processing called defocus, which is one of the special effects. The image memory 55 is a working memory for performing coordinate transformation called geometric transformation. The address for conversion is generated by the address generator 58. The interpolation filter 56 has an interpolation function for filling empty pixels generated by coordinate conversion with surrounding pixel values.
The synthesizing circuit 57 synthesizes a plurality of processed images. The address generator 58 generates an address for geometrically transforming the image on the image memory 55. The image processing controller 59
A control signal is issued to the color conversion circuit 53, the variable tap low-pass filter 54, the address generator 58, the interpolation filter 56, and the synthesizing circuit 57 to instruct the processing. This image processing control unit 5
A control signal from the control unit 7 is supplied to 9.

【0065】ここで、画像の処理範囲や画像をメモリに
しまう領域は、制御部7から伝えられる属性情報の処理
画面サイズ情報と画像サイズ情報に従ったパラメータに
より設定される。これにより任意のサイズの画像を任意
の処理画面サイズで処理できる。エンコーダ5は、上記
画像信号を圧縮する機能の他、画像方式変換機能と、制
御部7との通信機能も備えている。ここで、エンコーダ
5は、制御部7の指示に従い圧縮方法を変えながら画像
を圧縮するが、圧縮する必要のない画像はバイパスす
る。また、エンコーダ5は、上記画像方式変換機能によ
り、上述したコンポーネントによる画像方式を制御部7
から供給される属性情報の画像方式情報に従った出力画
像方式に変換する。この変換も制御部7からの属性情報
の画像サイズ情報に従い処理されるので任意の画像を扱
うことができる。属性情報の伝達は、制御部7との通信
機能を用いて行われる。
Here, the processing range of the image and the area where the image is stored in the memory are set by the parameters according to the processing screen size information of the attribute information transmitted from the control unit 7 and the image size information. As a result, an image of any size can be processed with any processing screen size. The encoder 5 has an image format conversion function and a communication function with the control unit 7, in addition to the function of compressing the image signal. Here, the encoder 5 compresses the image while changing the compression method according to the instruction of the control unit 7, but bypasses the image that does not need to be compressed. In addition, the encoder 5 uses the image format conversion function to control the image format of the component described above by the control unit 7.
The output image format is converted according to the image format information of the attribute information supplied from the. Since this conversion is also processed according to the image size information of the attribute information from the control unit 7, any image can be handled. The transmission of the attribute information is performed using the communication function with the control unit 7.

【0066】このエンコーダ5は、図14に示すよう
に、デコーダ2と同様に、JPEG用エンコーダ60
と、MPEG用エンコーダ70の2系統から構成され
る。これら2系統は、エンコーダ選択器36で分かれ、
出力選択器37で一緒になる。また、エンコーダ選択器
36の前には、上記画像方式変換機能を実行する方式変
換デコーダ38を備えている。
This encoder 5, as shown in FIG. 14, is similar to the decoder 2 in that it has a JPEG encoder 60.
And an MPEG encoder 70. These two systems are separated by the encoder selector 36,
Together with the output selector 37. Further, in front of the encoder selector 36, there is provided a system conversion decoder 38 for executing the above-mentioned image system conversion function.

【0067】JPEG用エンコーダ60は、ブロック化
回路61と、DCT回路62と、量子化器63と、ハフ
マン符号化器64と、ランレングス符号化器65と、マ
ルチプレックス回路66とからなる。一方、MPEG用
エンコーダ70は、バッファメモリ71と、DCT回路
72と、量子化器73と、ハフマン符号化器74と、バ
ッファメモリ75と、動きベクトル検出回路76と、前
向き予測回路77と、後ろ向き予測回路78と、フレー
ムメモリ79と、フレームメモリ80と、逆量子化器8
1と、IDCT回路82とからなる。
The JPEG encoder 60 comprises a blocking circuit 61, a DCT circuit 62, a quantizer 63, a Huffman encoder 64, a run length encoder 65, and a multiplex circuit 66. On the other hand, the MPEG encoder 70 includes a buffer memory 71, a DCT circuit 72, a quantizer 73, a Huffman encoder 74, a buffer memory 75, a motion vector detection circuit 76, a forward prediction circuit 77, and a backward direction. Prediction circuit 78, frame memory 79, frame memory 80, and inverse quantizer 8
1 and an IDCT circuit 82.

【0068】これら2つのエンコーダ60又は70の選
択は、エンコーダ選択器36が制御部7から供給される
属性情報の圧縮方式情報に従って行う。JPEG用エン
コーダ60のブロック化回路61は、一枚の画像を小さ
なブロック、例えば8×8画素からなるブロックに分割
する。DCT回路62は、例えば8×8画素からなる各
ブロックに離散的コサイン変換処理を施す。量子化器6
3は、各ブロック毎の64個の画素データのパワーを量
子化係数で割り、量子化する。ハフマン符号化器64
は、量子化器63の出力である例えば64個のスペクト
ルの内の直流成分をハフマン符号にする。ランレングス
符号化器65は、量子化した残りの交流成分をランレン
グス符号にする。マルチプレックス回路66は、ハフマ
ン符号化されたデータとランレングス符号化されたデー
タを選択合成する。
The selection of these two encoders 60 or 70 is performed by the encoder selector 36 according to the compression method information of the attribute information supplied from the control section 7. The blocking circuit 61 of the JPEG encoder 60 divides one image into small blocks, for example, blocks each including 8 × 8 pixels. The DCT circuit 62 performs a discrete cosine transform process on each block including, for example, 8 × 8 pixels. Quantizer 6
In step 3, the power of 64 pixel data for each block is divided by a quantization coefficient and quantized. Huffman encoder 64
Is a Huffman code for the DC component of, for example, 64 spectrums output from the quantizer 63. The run length encoder 65 converts the remaining quantized AC components into run length codes. The multiplex circuit 66 selectively combines the Huffman coded data and the run length coded data.

【0069】MPEG用エンコーダ70のバッファメモ
リ71は、エンコード処理で必要とされるデータを一時
的に蓄える。一般には、1GOP分のデータを蓄える。
DCT回路72は、上記DCT回路62と同様、離散的
コサイン変換処理を行う。量子化器73は、量子化数で
各離散的コサイン変換値を割る処理をする。ハフマン符
号化器74は、量子化したデータをハフマン符号にす
る。バッファメモリ75は、所定のまとまった結果が得
られ、出力されるまで、処理結果データを蓄える。動き
ベクトル検出回路76は、参照フレームと呼ばれる基準
の画像のブロック(一般には16×16画素から成る)
が、別の画像のどの位置に移動したか、すなわち移動ベ
クトルを求める。前向き予測回路77は、フレームメモ
リ80から時間的に以前の画像から求めたベクトルに対
応するブロックを抜き出す。後ろ向き予測回路78は、
フレームメモリ79から時間的に以後の画像から求めた
ベクトルに対応するブロックを抜き出す。逆量子化器8
1は、BフレームやPフレームに相当する符号化フレー
ムを作るために、量子化器73での量子化を解く。ID
CT回路82は、同じくDCT回路72での離散的コサ
イン変換処理を解くため、離散的コサイン逆変換処理を
行う。フレームメモリ79とフレームメモリ80は、逆
量子化器81とIDCT回路82で再生された画像を、
それぞれ、前向き予測回路77と後ろ向き予測回路78
で行われる予測処理のために蓄える。バッファメモリ7
1とDCT回路72の間に設けられた減算器83には、
切り換えスイッチ84の選択片aが接続されている。切
り換えスイッチ84の被選択端子bには“0”が供給さ
れ、被選択端子cには前向き予測回路77の出力が供給
され、被選択端子eには後ろ向き予測回路78の出力が
供給される。また、被選択端子dには前向き予測回路7
7の出力と後ろ向き予測回路78の出力を加算する加算
器85の加算出力が供給される。したがって、減算器8
3は、バッファメモリ71の出力から、切り換えスイッ
チ84で切り換えられた上記被選択端子b、c、d又は
eの出力を減算する。すなわち、減算器83は、符号化
されるフレームから、予測できなかった場合は“0”
を、前向き予測のみの場合は前向き予測値(抜き出され
たブロック値)を、前向きと後ろ向きの予測がある場合
は2つの合成値を、後ろ向き予測値のみの場合は後ろ向
き予測値を引く。加算器85は、前向きと後ろ向きの予
測値を加算合成する。加算器86は、前後の予測フレー
ムの平均で予測フレームを作り予測する方式の場合、選
択片a、被選択端子b及びcを持つ切り換えスイッチ8
7と共に用いられ、フレーム加算を行う。
The buffer memory 71 of the MPEG encoder 70 temporarily stores the data required for the encoding process. Generally, one GOP worth of data is stored.
The DCT circuit 72, like the DCT circuit 62, performs a discrete cosine transform process. The quantizer 73 divides each discrete cosine transform value by the quantization number. The Huffman encoder 74 converts the quantized data into Huffman code. The buffer memory 75 stores the processing result data until a predetermined aggregated result is obtained and output. The motion vector detection circuit 76 is a block of a standard image called a reference frame (generally composed of 16 × 16 pixels).
, To which position in another image, that is, a movement vector is obtained. The forward prediction circuit 77 extracts from the frame memory 80 a block corresponding to a vector obtained from a temporally previous image. The backward prediction circuit 78
A block corresponding to a vector obtained from a temporally subsequent image is extracted from the frame memory 79. Inverse quantizer 8
1 cancels the quantization in the quantizer 73 to create a coded frame corresponding to a B frame or a P frame. ID
The CT circuit 82 also performs the discrete cosine inverse transform process in order to solve the discrete cosine transform process in the DCT circuit 72. The frame memories 79 and 80 store the images reproduced by the inverse quantizer 81 and the IDCT circuit 82,
Forward prediction circuit 77 and backward prediction circuit 78, respectively.
Save for the prediction process performed in. Buffer memory 7
1 and the DCT circuit 72, the subtractor 83 provided between
The selection piece a of the changeover switch 84 is connected. "0" is supplied to the selected terminal b of the changeover switch 84, the output of the forward prediction circuit 77 is supplied to the selected terminal c, and the output of the backward prediction circuit 78 is supplied to the selected terminal e. The forward prediction circuit 7 is connected to the selected terminal d.
The addition output of the adder 85 for adding the output of 7 and the output of the backward prediction circuit 78 is supplied. Therefore, the subtractor 8
3 subtracts the output of the selected terminal b, c, d or e switched by the selector switch 84 from the output of the buffer memory 71. That is, the subtractor 83 outputs “0” when it cannot predict from the frame to be encoded.
The forward prediction value (extracted block value) is subtracted in the case of forward prediction only, two combined values are subtracted when there are forward and backward predictions, and the backward prediction value is subtracted in the case of only backward prediction value. The adder 85 adds and combines the forward and backward predicted values. In the case where the adder 86 makes a prediction frame based on the average of preceding and following prediction frames and makes a prediction, the changeover switch 8 having the selected piece a and the selected terminals b and c
Used together with 7 to perform frame addition.

【0070】出力バッファメモリ部6は、エンコーダ5
からの送り出しデータの転送レートを変換する機能の
他、制御部7との通信機能を備える。この出力バッファ
メモリ部6は、図15に示すように、レート変換機能付
バッファメモリ89で構成される。レート変換機能付バ
ッファメモリ89は、圧縮した画像あるいは出力画像を
レート調整のため一旦蓄える。このレート変換機能付バ
ッファメモリ89は、上記入力バッファメモリ部3のレ
ート変換機能付バッファメモリ52と同様に、上記画像
信号の画像サイズとは無関係で、かつ十分な容量を持
ち、ダブルバッファメモリ方式であり、それぞれのメモ
リは独立に動作するアドレス生成器を持つ。入力レート
は、制御部7から与えられる属性情報の画像サイズ情報
と画像入出力レート情報に従いそれぞれのメモリにある
アドレス生成器がアドレスを生成する。アドレス生成ブ
ロックの大きさとブロックアドレスの間隔を調整するこ
とにより処理系の内部レートをさまざまなレートの出力
レートに変換できる。すなわち、この出力バッファメモ
リ部5でも任意のレート変換を行える。
The output buffer memory unit 6 includes an encoder 5
In addition to the function of converting the transfer rate of the data sent from the device, the communication function with the control unit 7 is provided. The output buffer memory unit 6 is composed of a buffer memory 89 with a rate conversion function, as shown in FIG. The buffer memory with rate conversion function 89 temporarily stores the compressed image or output image for rate adjustment. The buffer memory with rate conversion function 89 is, like the buffer memory with rate conversion function 52 of the input buffer memory unit 3, irrelevant to the image size of the image signal and has a sufficient capacity, and is a double buffer memory system. And each memory has an address generator that operates independently. As for the input rate, the address generator in each memory generates an address according to the image size information and the image input / output rate information of the attribute information given from the control unit 7. By adjusting the size of the address generation block and the block address interval, the internal rate of the processing system can be converted into various output rates. That is, the output buffer memory unit 5 can also perform arbitrary rate conversion.

【0071】制御部7は、マトリックススイッチャ1、
デコーダ2、入力バッファメモリ部3、画像処理部4、
エンコーダ5、出力バッファメモリ部6の各処理を制御
する機能を有する。以上のように構成された画像情報処
理装置の動作を以下に説明する。マトリックススイッチ
ャ1で上述したように、取り込まれ、切り換え選択され
た圧縮画像信号は、データの先頭に、圧縮/非圧縮状態
識別情報、圧縮方式情報、水平・垂直方向の画素数に応
じる画像サイズ情報、処理領域を決定する処理画面サイ
ズ情報、例えばNTSC、PAL、RGB等の画像方式
情報、入出力信号レート情報等の属性情報が入ったヘッ
ダ情報を持つ。
The control unit 7 includes the matrix switcher 1,
Decoder 2, input buffer memory unit 3, image processing unit 4,
It has a function of controlling each processing of the encoder 5 and the output buffer memory unit 6. The operation of the image information processing apparatus configured as above will be described below. As described above in the matrix switcher 1, the compressed image signal fetched and selected for switching includes the compressed / non-compressed state identification information, the compression method information, and the image size information according to the number of pixels in the horizontal and vertical directions at the beginning of the data It has header information including processing screen size information for determining a processing area, image system information such as NTSC, PAL, RGB, and attribute information such as input / output signal rate information.

【0072】デコーダ2は、上記ヘッダ情報を読み、制
御部7に上記画像属性情報を送る。制御部7は、上記属
性情報から、圧縮/非圧縮識別情報、圧縮方式情報、画
像サイズ情報をデコーダ2に再び送る。デコーダ2は、
制御部7から上記属性情報を受け取らないで、デコーダ
2自身が読み取った上記属性情報をそのまま使うことも
変更することもできる。また、上記属性情報は、キーボ
ード8から与えることもできる。制御部7は、上記属性
情報の画像サイズ情報、画像方式情報、画像入出力レー
ト情報を入力バッファメモリ部3に供給する。また、制
御部7は、上記属性情報の画像サイズ情報、処理画面サ
イズ情報を画像処理部4に供給する。また、制御部7
は、上記属性情報の圧縮/非圧縮状態識別情報、圧縮方
式情報、画像サイズ情報、画像方式情報をエンコーダ5
に供給する。また、制御部7は、上記属性情報の画像サ
イズ情報、画像入出力レート情報を出力バッファメモリ
部6に供給する。
The decoder 2 reads the header information and sends the image attribute information to the control unit 7. The control unit 7 sends the compressed / non-compressed identification information, the compression method information, and the image size information to the decoder 2 again from the attribute information. The decoder 2
The attribute information read by the decoder 2 itself may be used or changed without receiving the attribute information from the control unit 7. The attribute information can also be given from the keyboard 8. The control unit 7 supplies the image size information, the image method information, and the image input / output rate information of the attribute information to the input buffer memory unit 3. Further, the control unit 7 supplies the image size information and the processing screen size information of the attribute information to the image processing unit 4. In addition, the control unit 7
The encoder 5 encodes the compressed / non-compressed state identification information of the attribute information, compression method information, image size information, and image method information.
Supply to. Further, the control unit 7 supplies the image size information and the image input / output rate information of the attribute information to the output buffer memory unit 6.

【0073】上記制御部7から切り換えの指示がマトリ
ックススイッチャ1に供給されると、マトリックススイ
ッチャ1は、上述したように、GOPの単位で圧縮画像
データを切り替える。デコーダ2は、制御部7からの属
性情報に従い、伸張処理が不要な信号をそのまま入力バ
ッファメモリ部3に出力する一方、伸張処理が必要な信
号には選択情報に従い選択した伸張処理を施す。伸張処
理は、画像サイズ情報に従い処理する範囲を決める。こ
れによりデコーダ2は、任意の大きさの画像を伸張でき
る。
When a switching instruction is supplied from the control section 7 to the matrix switcher 1, the matrix switcher 1 switches the compressed image data in units of GOP as described above. According to the attribute information from the control unit 7, the decoder 2 outputs the signal that does not need the decompression process to the input buffer memory unit 3 as it is, while performing the decompression process selected according to the selection information on the signal that requires the decompression process. The decompression process determines the processing range according to the image size information. This allows the decoder 2 to expand an image of any size.

【0074】入力バッファメモリ部3は、制御部7から
の画像方式情報に従い方式変換エンコーダ51を使っ
て、コンポジット信号又はY/C信号の上記画像信号を
内部処理に適したコンポーネント信号に方式変換する。
この方式変換処理の際、制御部7からの画像サイズ情報
に従い処理範囲を決める。これによりこの入力バッファ
メモリ部3での方式変換処理も、任意の大きさの画像に
対して有効になる。コンポーネント信号は、内部処理レ
ートに変換されるためレート変換機能付バッファメモリ
52に入力レートで書き込まれ、改めて内部レートで読
み出される。このレート変換機能付バッファメモリ52
は、上述したように画像サイズとは無関係で、かつ十分
な容量を持ち、ダブルバッファ構造とされ、それぞれ独
立のアドレス生成器があり、異なるブロックレートで読
み書きされる。アドレス生成器で生成するアドレス領域
は制御部7からの画像サイズ情報に従い決定されるの
で、この入力バッファメモリ部3での転送レートの変換
は、任意の大きさの画像に対しても有効となる。
The input buffer memory section 3 uses the format conversion encoder 51 in accordance with the image format information from the control section 7 to format-convert the composite image signal or Y / C signal image signal into a component signal suitable for internal processing. .
At the time of this system conversion processing, the processing range is determined according to the image size information from the control unit 7. As a result, the system conversion process in the input buffer memory unit 3 is also effective for images of arbitrary size. Since the component signal is converted to the internal processing rate, it is written in the buffer memory with rate conversion function 52 at the input rate and is read again at the internal rate. This buffer memory 52 with a rate conversion function
As described above, irrespective of the image size, has a sufficient capacity, has a double buffer structure, has independent address generators, and reads and writes at different block rates. Since the address area generated by the address generator is determined according to the image size information from the control unit 7, the conversion of the transfer rate in the input buffer memory unit 3 is effective even for an image of an arbitrary size. .

【0075】画像処理部4は、制御部7からの画像サイ
ズ情報に従い、任意の大きさの画像をしまう画像メモリ
55の領域を指定して確保したり読み書きするアドレス
範囲を決める。これにより画像処理部4は、任意の大き
さの画像に画像処理を施すことができる。また、制御部
7からの処理画面サイズ情報に従い画像処理範囲を決め
る。これにより画像処理部4は、指定した範囲の処理だ
けに処理系リソースを使うことができ、従来結果に反映
されなかった処理に使われた無駄な処理系リソースを他
の処理に有効利用できるようになった。
According to the image size information from the control unit 7, the image processing unit 4 designates and secures an area of the image memory 55 in which an image of an arbitrary size is stored and determines an address range for reading and writing. This allows the image processing unit 4 to perform image processing on an image of any size. Further, the image processing range is determined according to the processing screen size information from the control unit 7. As a result, the image processing unit 4 can use the processing system resources only for the processing in the specified range, and can effectively use the unnecessary processing system resources used for the processing not reflected in the result in other processing. Became.

【0076】ここで、この画像処理部4の画像処理につ
いて説明する。入力バッファメモリ部3の出力である画
像信号は、画像処理部4に供給される。画像処理部4に
入った上記画像信号には、制御部7の指示に従った各種
画像処理が施される。画像処理部4には、図13に示し
たように、この画像処理部4内の制御を行う画像処理制
御部59がある。画素や複数画素ブロック単位の色変換
は、画像処理制御部59の指示に従い色変換回路53で
行われる。色変換が必要ない場合、色変換回路53は画
像処理制御部59の指示で上記画像信号をバイパスす
る。色変換回路53を介した画像信号は、可変タップ低
域フィルタ54に供給され、後述する後段の回路で行わ
れる変形や縮小に備えて、高域の信号が除去される。こ
の高域の信号の除去処理は、変形や縮小処理に伴い周波
数的に高域信号が低域信号にエリアシング等の悪影響を
及ぼすのを防ぐために必要である。どの程度、高域信号
を除去するかは、画像処理制御部59が変形や縮小の程
度に依存して、除去する高域幅を指示することによって
行われる。帯域制限する必要がない場合、画像処理制御
部59の指示でこの処理機能は、バイパスされる。可変
タップ低域フィルタ54を介した画像信号は、画像メモ
リ55に供給される。この画像メモリ55は、2次元及
び3次元幾何変換を行うためのワーキングメモリであ
る。幾何変換を行うアドレス生成は、アドレス生成器5
8で行われ、画像メモリ55に供給される。アドレス生
成器58でどのようなアドレスを生成するかは、画像処
理制御部59が指示する。この指示は、モデリングデー
タと変換則データで行うのが一般的である。画像メモリ
55から読み出されたデータ群は、一般にラスターデー
タとしては不完全で画素の抜けがたくさん存在する。こ
の抜けを周囲の画素を用い埋める補間処理を補間フィル
タ56で行う。画像処理制御部59が補間の精度を指示
する。補間方法には、最近傍法、線形補間法、3次補間
法などがあり、後者ほど精度の高い補間値が得られる。
抜けを補間で埋めたラスター信号は、合成回路57に供
給される。この合成回路57は、複数の処理画像を2次
元あるいは3次元的に合成する。合成の際の奥行き情報
等の制御信号は、画像処理制御部59が供給する。合成
の最終段で画像は2次元画像にされ、モニター9に表示
される。
Here, the image processing of the image processing unit 4 will be described. The image signal output from the input buffer memory unit 3 is supplied to the image processing unit 4. The image signal that has entered the image processing unit 4 is subjected to various image processes in accordance with instructions from the control unit 7. As shown in FIG. 13, the image processing unit 4 includes an image processing control unit 59 that controls the image processing unit 4. Color conversion in units of pixels or blocks of a plurality of pixels is performed by the color conversion circuit 53 according to an instruction from the image processing control unit 59. When color conversion is not necessary, the color conversion circuit 53 bypasses the image signal according to an instruction from the image processing control unit 59. The image signal that has passed through the color conversion circuit 53 is supplied to the variable tap low-pass filter 54, and the high-frequency signal is removed in preparation for the deformation or reduction performed by the circuit in the subsequent stage described later. The process of removing the high-frequency signal is necessary to prevent the high-frequency signal from adversely affecting the low-frequency signal in terms of frequency, such as aliasing due to the deformation or reduction process. How much the high frequency signal is removed is determined by the image processing control unit 59 by instructing the high frequency band to be removed depending on the degree of deformation or reduction. If it is not necessary to limit the band, this processing function is bypassed by an instruction from the image processing control unit 59. The image signal that has passed through the variable tap low-pass filter 54 is supplied to the image memory 55. The image memory 55 is a working memory for performing two-dimensional and three-dimensional geometric conversion. The address generator 5 performs the geometric conversion.
8 and is supplied to the image memory 55. The image processing control unit 59 indicates what kind of address is generated by the address generator 58. This instruction is generally given by modeling data and conversion rule data. The data group read from the image memory 55 is generally incomplete as raster data and has many missing pixels. An interpolation filter 56 performs an interpolation process of filling this gap using surrounding pixels. The image processing control unit 59 instructs the accuracy of interpolation. As the interpolation method, there are a nearest neighbor method, a linear interpolation method, a cubic interpolation method, and the like, and the latter gives a more accurate interpolation value.
The raster signal in which the gaps are filled with the interpolation is supplied to the synthesizing circuit 57. The synthesizing circuit 57 synthesizes a plurality of processed images two-dimensionally or three-dimensionally. The image processing control unit 59 supplies a control signal such as depth information at the time of composition. At the final stage of composition, the image is converted into a two-dimensional image and displayed on the monitor 9.

【0077】また、上記2次元画像は、エンコーダ5に
供給され、方式変換され圧縮される。コンポーネント信
号からの方式変換は、制御部7から供給される属性情報
の画像方式情報に従い決められる。圧縮するか否かや圧
縮方式は制御部7から供給される属性情報の圧縮/非圧
縮状態識別情報及び圧縮方式情報に従い決められる。方
式変換処理と圧縮処理が必要でない場合は処理されない
で出力バッファメモリ部6に送られる。方式変換処理と
圧縮処理の際、制御部7からの画像サイズ情報に従い指
定された画像範囲の処理が行われる。これによりエンコ
ーダ5でも任意の大きさの画像を取り扱える。
Further, the two-dimensional image is supplied to the encoder 5, and the format is converted and compressed. The format conversion from the component signal is determined according to the image format information of the attribute information supplied from the control unit 7. Whether to compress or not and the compression method are determined according to the compression / non-compression state identification information and the compression method information of the attribute information supplied from the control unit 7. If the format conversion processing and the compression processing are not required, they are not processed and sent to the output buffer memory unit 6. At the time of the format conversion processing and the compression processing, the processing of the image range designated according to the image size information from the control unit 7 is performed. As a result, the encoder 5 can handle an image of any size.

【0078】エンコーダ5の出力は、出力バッファメモ
リ部6に入る。出力バッファメモリ部6は、入力バッフ
ァメモリ部3のレート変換機能付バッファメモリ52と
同様の、画像サイズとは無関係で、かつ十分な容量を持
ち、ダブルバッファ構造とされ、それぞれ独立のアドレ
ス生成器があり、異なるブロックレートで読み書きされ
るレート変換機能付バッファメモリ89を備えているの
で、送り出しデータのレート変換を行える。アドレス生
成器で生成するアドレス領域は制御部7からの画像サイ
ズ情報に従い決定されるので、この出力バッファメモリ
部6でも任意の大きさの画像のレートを変換することが
できる。
The output of the encoder 5 enters the output buffer memory section 6. The output buffer memory unit 6 has the same capacity as the buffer memory 52 with the rate conversion function of the input buffer memory unit 3 regardless of the image size, has a sufficient capacity, has a double buffer structure, and has an independent address generator. Since there is a buffer memory 89 with a rate conversion function for reading and writing at different block rates, the rate conversion of the sending data can be performed. Since the address area generated by the address generator is determined according to the image size information from the control unit 7, the output buffer memory unit 6 can also convert the rate of an image having an arbitrary size.

【0079】以上のように、本実施例の画像情報処理装
置は、解像度、転送レート、画像サイズに依存しない画
像の入出力や処理を可能とすると共に、フレーム間圧縮
処理をしたような圧縮画像の切り替えをスムーズに正確
に行える。特に、上述したマトリックススイッチャ1を
備えることにより、切り替え後の圧縮画像は、伸張処理
に影響を及ぼさない。また、切り替え後のGOPのフレ
ーム構成が同じである必要はない。また、切り替え画像
のGOPの位相は一致する必要はない。切り替え合成後
の画像のGOP情報量の増加を抑えられる。また、画像
の伸張を不要として、カット編集を行える。
As described above, the image information processing apparatus according to the present embodiment enables input / output and processing of an image independent of the resolution, transfer rate, and image size, and at the same time, a compressed image obtained by interframe compression processing. Can be switched smoothly and accurately. In particular, by including the matrix switcher 1 described above, the compressed image after switching does not affect the decompression process. Further, it is not necessary that the GOP frame configurations after switching are the same. Further, the GOP phases of the switching images do not have to match. It is possible to suppress an increase in the GOP information amount of the image after the switching composition. In addition, cut editing can be performed without the need for image expansion.

【0080】次に、本発明に係る画像情報処理装置の実
施例の変形例を図16を参照しながら説明する。この変
形例は、ハード処理部100と、ソフト処理部110
と、入出力制御部120と、データ記憶部130とから
成る。この変形例は、処理をハード処理部100とソフ
ト処理部110に分けることにより、装置の全体処理の
柔軟性と拡張性を高めている。ハード処理部100は、
主としてフィルタ等機械的処理やソフト処理で負荷が大
きい処理を行う。ソフト処理部110はインテリジェン
トな処理や拡張性に富む処理を行う。
Next, a modification of the embodiment of the image information processing apparatus according to the present invention will be described with reference to FIG. In this modification, the hardware processing unit 100 and the software processing unit 110 are included.
And an input / output control unit 120 and a data storage unit 130. In this modified example, the processing is divided into a hardware processing unit 100 and a software processing unit 110, so that the flexibility and expandability of the entire processing of the device are enhanced. The hardware processing unit 100 is
Mainly performs mechanical processing such as filtering and software processing, which has a heavy load. The software processing unit 110 performs intelligent processing and processing with high expandability.

【0081】ハード処理部100は、上記図1を用いて
説明した上記実施例の画像情報処理装置とほぼ同様の構
成である。すなわち、二つの外部入力装置101及び1
02から供給される複数の圧縮画像は、マトリックスス
イッチャ1で切り換えられて、デコーダ2に供給され、
該デコーダ2で伸張される。このデコーダ2で、伸張さ
れた画像信号は、入力バッファメモリ部3に供給され
る。入力バッファメモリ部3を介した信号は、色変換器
53、可変タップ低域フィルタ54、フレームメモリ5
5、補間フィルタ56、合成回路57及びアドレス生成
器58で構成される画像処理部4に供給される。これら
各部は、ソフト処理の際、ハードの各機能を、ソフトか
ら利用できるハードモジュールとしてできるように、ロ
ーカルバス103で接続されている。画像処理部4で画
像処理された画像信号は、エンコーダ5、出力バッファ
メモリ部6を介して外部出力装置104に出力される。
ここで、上記各部は、ハードモジュール制御部105で
制御される。
The hardware processing unit 100 has substantially the same configuration as the image information processing apparatus of the above-described embodiment described with reference to FIG. That is, the two external input devices 101 and 1
The plurality of compressed images supplied from 02 are switched by the matrix switcher 1 and supplied to the decoder 2.
It is expanded by the decoder 2. The image signal expanded by the decoder 2 is supplied to the input buffer memory unit 3. The signals passed through the input buffer memory unit 3 are the color converter 53, the variable tap low-pass filter 54, and the frame memory 5.
5, the interpolation filter 56, the synthesizing circuit 57, and the address generator 58. These units are connected by a local bus 103 so that each function of hardware can be used as a hardware module that can be used by software during software processing. The image signal image-processed by the image processing unit 4 is output to the external output device 104 via the encoder 5 and the output buffer memory unit 6.
Here, each unit described above is controlled by the hardware module control unit 105.

【0082】ソフト処理部110は、CPU111、キ
ャッシュメモリ112、主メモリ113、CPUバス1
14、メモリバス制御部115から成る。メモリバス制
御部115は、ローカルバス103と、ハードモジュー
ル制御部105に接続されており、ローカルバス103
に画像データを、ハードモジュール制御部105に制御
信号を伝送している。メモリバス制御部115は、ペリ
フェラルバス116経由でグラフィックモニタ制御部1
21と、メディア制御部122と、スイッチャ制御部1
23と、スモールコンピュータシステムインターフェー
ス(以下SCSIという。)アダプタ124と、操作パ
ネル125とに接続されている。グラフィックモニタ制
御部121は、ビデオメモリを内蔵しており、グラフィ
ックモニタ126の表示制御を該ビデオメモリを用いて
行う。メディア制御部122は、例えばVTRやデータ
レコーダのような外部入力装置101及び102や、例
えばVTRやデータレコーダのような外部出力装置10
4の画像情報入出力タイミングを制御する。スイッチャ
制御部123は、マトリックススイッチャ70を制御す
る。SCSIアダプタ124は、SCSIバス127で
結ばれた光磁気ディスク(図中、MOと記す。)装置1
31、CD−ROM132、ハードディスク装置(図
中、HDDと記す。)133等のデータ記憶装置のイン
ターフェースである。操作パネル125は、画像情報の
処理や入出力を指示するのに用いられる。
The software processing section 110 includes a CPU 111, a cache memory 112, a main memory 113 and a CPU bus 1.
14 and a memory bus control unit 115. The memory bus control unit 115 is connected to the local bus 103 and the hardware module control unit 105.
Image data and a control signal to the hardware module controller 105. The memory bus control unit 115 is connected to the graphic monitor control unit 1 via the peripheral bus 116.
21, a media control unit 122, and a switcher control unit 1
23, a small computer system interface (hereinafter referred to as SCSI) adapter 124, and an operation panel 125. The graphic monitor control unit 121 has a built-in video memory and controls the display of the graphic monitor 126 using the video memory. The media control unit 122 includes external input devices 101 and 102 such as VTRs and data recorders, and external output devices 10 such as VTRs and data recorders.
4 controls the image information input / output timing. The switcher controller 123 controls the matrix switcher 70. The SCSI adapter 124 is a magneto-optical disk (indicated as MO in the figure) device 1 connected by a SCSI bus 127.
31, a CD-ROM 132, a hard disk device (referred to as HDD in the drawing) 133, and the like as an interface of a data storage device. The operation panel 125 is used to instruct processing and input / output of image information.

【0083】ソフトから利用できるハードモジュールを
実現する方法は、CPU111で実行中のプログラムか
らサブルーチンライブラリがコールされると、そのサブ
ルーチンライブラリがソフトライブラリの場合は、リン
ク時に決定された対応するプログラムアドレスにジャン
プし実行される。また、サブルーチンライブラリがハー
ドライブラリの場合も、リンク時に決定されたハードモ
ジュールに対応するアドレスにジャンプする。ハードモ
ジュールに対応するアドレスには、ハードモジュールに
必要なデータを送り、実行を起動し、実行終了を確認し
ソフトウェアのメインプログラムに実行を戻す手続きが
格納されている。例えば、ハードモジュールとして可変
タップ低域フィルタ34がコールされた場合、CPU1
11の指示で主メモリ113からデータがメモリバス制
御部115とローカルバス103経由で可変タップ低域
フィルタ34に送られる。次に、CPU111は、メモ
リバス制御部115とローカルバス103経由で可変タ
ップ低域フィルタ34に実行を指示する。CPU111
は、実行終了を確認し、処理済みデータを、ローカルバ
ス103と、メモリバス制御部115経由え主メモリ1
13に回収する。そして、メインプログラムに戻り、次
のステップの実行に移る。
A method of realizing a hardware module that can be used from software is such that when a subroutine library is called from a program being executed by the CPU 111, if the subroutine library is a software library, the program address corresponding to the subroutine library is determined. It jumps and is executed. Also, when the subroutine library is a hard library, the address jumps to the address corresponding to the hard module determined at the time of linking. The address corresponding to the hard module stores the procedure of sending necessary data to the hard module, starting the execution, confirming the end of the execution, and returning the execution to the main program of the software. For example, when the variable tap low-pass filter 34 is called as a hardware module, the CPU 1
According to the instruction of 11, data is sent from the main memory 113 to the variable tap low-pass filter 34 via the memory bus control unit 115 and the local bus 103. Next, the CPU 111 instructs the variable tap low-pass filter 34 to execute via the memory bus control unit 115 and the local bus 103. CPU111
Confirms the end of execution and sends the processed data to the main bus 1 via the local bus 103 and the memory bus control unit 115.
Collect at 13. Then, the process returns to the main program to execute the next step.

【0084】以上のように、図16に示した変形例であ
る画像情報処理装置は、装置の全体処理の柔軟性と拡張
性を高めながら、静止画像から動画像までの広範囲の画
像や、解像度に依存しないフリーフォーマット画像や、
転送レートや画像サイズの異なるスケーラブル・フォー
マット画像に生成、色変換、合成、編集等の画像処理を
施すことができる。また、フレーム間圧縮処理をしたよ
うな圧縮画像の切り替えをスムーズに正確に行える。
As described above, the image information processing apparatus which is the modified example shown in FIG. 16 enhances the flexibility and expandability of the entire processing of the apparatus, and also a wide range of images from still images to moving images and resolutions. Free format images that do not depend on
Image processing such as generation, color conversion, composition, and editing can be performed on scalable format images having different transfer rates and image sizes. In addition, it is possible to smoothly and accurately switch compressed images that have been subjected to inter-frame compression processing.

【0085】なお、他の変形例としては、CPU111
とキャッシュメモリ112からなるユニットを複数用い
てCPUバス114に接続するような装置が考えられ
る。このため、この他の変形例は、負荷が重いときに、
並列処理を行うことにより、負荷を軽減できる。
As another modified example, the CPU 111
An apparatus is conceivable in which a plurality of units including the cache memory 112 and a plurality of units are connected to the CPU bus 114. Therefore, in this other modification, when the load is heavy,
The load can be reduced by performing parallel processing.

【0086】[0086]

【発明の効果】以上の説明から明らかなように、本発明
に係る画像情報処理装置によれば、選択手段がフレーム
間圧縮処理が施された複数の圧縮画像を選択的に取り込
むと共に、所定のフレーム数単位でフレーム間順方向予
測符号化画像をフレーム内符号化画像化し、かつ双方向
予測符号化画像の予測データの変更を行うので、フレー
ム間圧縮処理が施されたような圧縮画像のスイッチング
をスムーズに行える。また、また、静止画像から動画像
までの広範囲の画像や、解像度に依存しないフリーフォ
ーマット画像や、転送レートに依存しない画像や、画像
サイズに依存しないスケーラブルフォーマット画像に色
変換、合成、編集等の画像処理を施すことができる。
As is apparent from the above description, according to the image information processing apparatus of the present invention, the selecting means selectively fetches a plurality of compressed images subjected to inter-frame compression processing, and a predetermined Since the inter-frame forward prediction coded image is converted into the intra-frame coded image in the unit of the number of frames and the prediction data of the bidirectional predictive coded image is changed, the switching of the compressed image as if the inter-frame compression process was performed Can be done smoothly. In addition, a wide range of images from still images to moving images, free format images that do not depend on resolution, images that do not depend on transfer rate, scalable format images that do not depend on image size, such as color conversion, composition, editing, etc. Image processing can be performed.

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

【図1】本発明の実施例の画像情報処理装置の概略的な
構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an image information processing apparatus according to an embodiment of the present invention.

【図2】図1に示した上記画像情報処理装置のマトリッ
クススイッチャの詳細な構成を示すブロック図である。
FIG. 2 is a block diagram showing a detailed configuration of a matrix switcher of the image information processing apparatus shown in FIG.

【図3】図2に示したマトリックススイッチャのGOP
再構成部の詳細な構成を示すブロック図である。
FIG. 3 is a GOP of the matrix switcher shown in FIG.
It is a block diagram which shows the detailed structure of a reconstruction part.

【図4】GOPの符号化順序と入力順序を示す図であ
る。
FIG. 4 is a diagram showing a GOP encoding order and an input order.

【図5】図4に示したGOPの入力順序の“IBBP”
部分の拡大図である。
5 is an input sequence "IBBP" of the GOP shown in FIG.
It is an enlarged view of a part.

【図6】符号化順序が“IBBPBBPBBPBBPB
B”であるGOPのフレーム列に対するマトリックスス
イッチャのGOP再構成部の動作を説明するための図で
ある。
[Fig. 6] An encoding order is "IBBPBBPBBPBBPB.
It is a figure for demonstrating operation | movement of the GOP reconstruction part of the matrix switcher with respect to the frame sequence of GOP which is B ".

【図7】符号化順序が“IBBPBBPBBPBBPB
B”であるGOPのフレーム列に対するマトリックスス
イッチャのGOP再構成部の動作を説明するための図で
ある。
[Fig. 7] An encoding order is "IBBPBBPBBPBBPB.
It is a figure for demonstrating operation | movement of the GOP reconstruction part of the matrix switcher with respect to the frame sequence of GOP which is B ".

【図8】符号化順序が“IBBBIBBBIBBBIB
BB”であるGOPのフレーム列に対するマトリックス
スイッチャのGOP再構成部の動作を説明するための図
である。
[Fig. 8] An encoding order is "IBBBIBBBIBBBIBB.
It is a figure for demonstrating operation | movement of the GOP reconstruction part of the matrix switcher with respect to the frame sequence of GOP which is BB ".

【図9】符号化順序が“IBBBIBBBIBBBIB
BB”であるGOPのフレーム列に対するマトリックス
スイッチャのGOP再構成部の動作を説明するための図
である。
[Fig. 9] Fig. 9 is an encoding order "IBBBIBBBIBBBIBB.
It is a figure for demonstrating operation | movement of the GOP reconstruction part of the matrix switcher with respect to the frame sequence of GOP which is BB ".

【図10】GOP再構成部のデータ圧縮処理を説明する
ための図である。
FIG. 10 is a diagram for explaining a data compression process of a GOP reconstruction unit.

【図11】図1に示した上記画像情報処理装置のデコー
ダの詳細な構成を示すブロック図である。
11 is a block diagram showing a detailed configuration of a decoder of the image information processing apparatus shown in FIG.

【図12】図1に示した上記画像情報処理装置の入力バ
ッファメモリの詳細な構成を示すブロック図である。
12 is a block diagram showing a detailed configuration of an input buffer memory of the image information processing apparatus shown in FIG.

【図13】図1に示した上記画像情報処理装置の画像処
理部の詳細な構成を示すブロック図である。
13 is a block diagram showing a detailed configuration of an image processing unit of the image information processing apparatus shown in FIG.

【図14】図1に示した上記画像情報処理装置のエンコ
ーダの詳細な構成を示すブロック図である。
FIG. 14 is a block diagram showing a detailed configuration of an encoder of the image information processing apparatus shown in FIG.

【図15】図1に示した上記画像情報処理装置の出力バ
ッファメモリの詳細な構成を示すブロック図である。
15 is a block diagram showing a detailed configuration of an output buffer memory of the image information processing apparatus shown in FIG.

【図16】本発明の他の実施例の画像情報処理装置の詳
細な構成を示すブロック図である。
FIG. 16 is a block diagram showing a detailed configuration of an image information processing apparatus according to another embodiment of the present invention.

【図17】従来の画像情報処理装置の構成を示すブロッ
ク図である。
FIG. 17 is a block diagram showing a configuration of a conventional image information processing device.

【符号の説明】[Explanation of symbols]

1 マトリックススイッチャ 2 デコーダ 3 入力バッファメモリ部 4 画像処理部 5 エンコーダ 6 出力バッファメモリ部 7 制御部 1 matrix switcher 2 decoder 3 input buffer memory unit 4 image processing unit 5 encoder 6 output buffer memory unit 7 control unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 フレーム間圧縮処理が施された複数の圧
縮画像を選択的に取り込むと共に、所定のフレーム数単
位でフレーム間順方向予測符号化画像をフレーム内符号
化画像化し、かつ双方向予測符号化画像の予測データの
変更を行う選択手段と、 上記選択手段で選択された圧縮画像信号を伸張する伸張
手段と、 上記伸張手段から出力された画像信号を入出力する第1
の入出力手段と、 上記第1の入出力手段から出力された画像信号に種々の
画像処理を施して画像処理信号を出力する画像処理手段
と、 上記画像処理手段から出力された画像処理信号を圧縮し
圧縮画像処理信号を出力する圧縮手段と、 上記圧縮手段から出力された上記圧縮画像処理信号を入
出力する第2の入出力手段と、 上記選択手段の選択処理、上記伸張手段の伸張処理、上
記第1の入出力手段の入出力処理、上記画像処理手段の
画像処理、上記圧縮手段の圧縮処理、上記第2の入出力
手段の入出力処理を制御する制御手段とを有することを
特徴とする画像情報処理装置。
1. A plurality of compressed images subjected to inter-frame compression processing are selectively captured, and inter-frame forward predictive encoded images are converted into intra-frame encoded images in a predetermined number of frames, and bidirectional prediction is performed. Selecting means for changing the prediction data of the coded image, decompressing means for expanding the compressed image signal selected by the selecting means, and first inputting / outputting the image signal output from the expanding means
And an image processing unit for performing various kinds of image processing on the image signal output from the first input / output unit to output an image processing signal, and an image processing signal output from the image processing unit. Compressing means for compressing and outputting a compressed image processing signal, second input / output means for inputting / outputting the compressed image processing signal output from the compressing means, selection processing of the selecting means, decompression processing of the decompressing means A control means for controlling the input / output processing of the first input / output means, the image processing of the image processing means, the compression processing of the compression means, and the input / output processing of the second input / output means. Image information processing device.
【請求項2】 上記選択手段は、上記双方向予測符号化
画像の予測データの変更に伴う情報量増加を抑えること
を特徴とする請求項1記載の画像情報処理装置。
2. The image information processing apparatus according to claim 1, wherein the selecting means suppresses an increase in the amount of information due to a change in the prediction data of the bidirectional predictive encoded image.
【請求項3】 上記伸張手段は、上記入力された圧縮画
像信号から、圧縮/非圧縮状態識別情報、圧縮方式情
報、水平・垂直方向の画素数に応じる画像サイズ情報、
処理領域を決定する処理画面サイズ情報、画像方式情
報、入出力信号レート情報からなる属性情報を読み出
し、上記制御手段に供給することを特徴とする請求項1
記載の画像情報処理装置。
3. The decompression means, based on the input compressed image signal, compressed / non-compressed state identification information, compression method information, image size information according to the number of pixels in the horizontal and vertical directions,
The attribute information including processing screen size information, image method information, and input / output signal rate information for determining a processing area is read out and supplied to the control means.
The image information processing device described.
【請求項4】 上記第1の入出力手段は、上記画像信号
の方式を変換する方式変換部と、上記画像信号の画像サ
イズとは無関係で、かつ十分な容量を持つ記憶部とを有
して成ることを特徴とする請求項1記載の画像情報処理
装置。
4. The first input / output unit has a system conversion unit that converts the system of the image signal, and a storage unit that is independent of the image size of the image signal and has a sufficient capacity. The image information processing apparatus according to claim 1, wherein the image information processing apparatus comprises:
【請求項5】 上記第2の入出力手段は、上記画像信号
の画像サイズとは無関係で、かつ十分な容量を持つ記憶
部を有して成ることを特徴とする請求項1記載の画像情
報処理装置。
5. The image information according to claim 1, wherein the second input / output unit has a storage unit having a sufficient capacity, which is independent of the image size of the image signal. Processing equipment.
【請求項6】 上記圧縮手段は、上記画像信号の方式を
変換する方式変換部を有して成ることを特徴とする請求
項1記載の画像情報処理装置。
6. The image information processing apparatus according to claim 1, wherein the compression means includes a system conversion unit that converts a system of the image signal.
JP01468195A 1995-01-31 1995-01-31 Image information processing device Expired - Fee Related JP3591025B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01468195A JP3591025B2 (en) 1995-01-31 1995-01-31 Image information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01468195A JP3591025B2 (en) 1995-01-31 1995-01-31 Image information processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004190246A Division JP3979403B2 (en) 2004-06-28 2004-06-28 Image information processing apparatus and image information processing method

Publications (2)

Publication Number Publication Date
JPH08205175A true JPH08205175A (en) 1996-08-09
JP3591025B2 JP3591025B2 (en) 2004-11-17

Family

ID=11867964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01468195A Expired - Fee Related JP3591025B2 (en) 1995-01-31 1995-01-31 Image information processing device

Country Status (1)

Country Link
JP (1) JP3591025B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002058024A (en) * 2000-06-02 2002-02-22 Sony Corp Information processor, information processing method and recording medium
JP2002281463A (en) * 2000-06-02 2002-09-27 Sony Corp Device and method for encoding image, device and method for decoding image and recording medium
US7356189B2 (en) 2003-05-28 2008-04-08 Seiko Epson Corporation Moving image compression device and imaging device using the same
US7373001B2 (en) 2003-05-28 2008-05-13 Seiko Epson Corporation Compressed moving image decompression device and image display device using the same
WO2008146892A1 (en) * 2007-05-29 2008-12-04 Nec Corporation Moving image converting apparatus, moving image converting method, and moving image converting program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002058024A (en) * 2000-06-02 2002-02-22 Sony Corp Information processor, information processing method and recording medium
JP2002281463A (en) * 2000-06-02 2002-09-27 Sony Corp Device and method for encoding image, device and method for decoding image and recording medium
JP4724919B2 (en) * 2000-06-02 2011-07-13 ソニー株式会社 Recording apparatus and recording method, reproducing apparatus and reproducing method, and recording medium
US7356189B2 (en) 2003-05-28 2008-04-08 Seiko Epson Corporation Moving image compression device and imaging device using the same
US7373001B2 (en) 2003-05-28 2008-05-13 Seiko Epson Corporation Compressed moving image decompression device and image display device using the same
WO2008146892A1 (en) * 2007-05-29 2008-12-04 Nec Corporation Moving image converting apparatus, moving image converting method, and moving image converting program
JP5365805B2 (en) * 2007-05-29 2013-12-11 日本電気株式会社 Moving picture conversion apparatus, moving picture conversion method, and moving picture conversion program
US8811481B2 (en) 2007-05-29 2014-08-19 Nec Corporation Moving picture transcoding apparatus, moving picture transcoding method, and moving picture transcoding program

Also Published As

Publication number Publication date
JP3591025B2 (en) 2004-11-17

Similar Documents

Publication Publication Date Title
JP5257447B2 (en) Shutter time compensation
JP3901287B2 (en) Video signal conversion apparatus, video signal conversion method, and video providing system
US6483875B1 (en) Picture signal processing apparatus
JP4332246B2 (en) Image processing apparatus, method, and recording medium
KR100192696B1 (en) Method and apparatus for reproducing picture data
JPH09182085A (en) Image encoding device, image decoding device, image encoding method, image decoding method, image transmitting method and recording medium
JP3979403B2 (en) Image information processing apparatus and image information processing method
JP3591025B2 (en) Image information processing device
JP2001024919A (en) Device, system and method for processing image, image recording and reproducing device with integrated camera and storage medium
WO2010007719A1 (en) Image encoding apparatus, image encoding method, image decoding apparatus, and image decoding method
JP2004200760A (en) Image processing method and apparatus
JP4422629B2 (en) Moving picture encoding apparatus, decoding apparatus, moving picture recording apparatus, and moving picture reproduction apparatus
JPH05153550A (en) Recorder and reproducing device for video signal
JPH1175198A (en) Image signal compressor and method and storage medium
JP3398138B2 (en) Image processing apparatus and image processing method
JPH08205026A (en) Image information processor
JPH11146396A (en) Moving image compression coding/decoding method, moving image compression coder/decoder, moving image coding transmission method/system, and recording medium for moving image compression coding/decoding program
JPH08242446A (en) Image processing method and image processor
JP2009278473A (en) Image processing device, imaging apparatus mounting the same, and image reproducing device
JP4526529B2 (en) Video signal converter using hierarchical images
WO2023181546A1 (en) Image encoding device, image decoding device, image encoding method, and image decoding method
JPH11146397A (en) Moving image compression coding/decoding method, moving image compression coder/decoder, moving image coding transmission method/system, and recording medium for moving image compression coding/decoding program
JP3147636B2 (en) Video data arranging method and its encoding device and decoding device
JP2001112002A (en) Digital moving picture decoder capable of image size conversion
JP2000217111A (en) Image size convertible digital dynamic image decoder and program recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040628

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040803

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040816

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080903

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090903

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100903

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100903

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110903

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120903

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees