WO1998044741A1 - Dynamic image data encoder, dynamic image data decoder and method therefor - Google Patents

Dynamic image data encoder, dynamic image data decoder and method therefor Download PDF

Info

Publication number
WO1998044741A1
WO1998044741A1 PCT/JP1998/001407 JP9801407W WO9844741A1 WO 1998044741 A1 WO1998044741 A1 WO 1998044741A1 JP 9801407 W JP9801407 W JP 9801407W WO 9844741 A1 WO9844741 A1 WO 9844741A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
block
image data
encoding
encoded
Prior art date
Application number
PCT/JP1998/001407
Other languages
French (fr)
Japanese (ja)
Inventor
Hiroyuki Akutsu
Original Assignee
Dome Inc.
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 Dome Inc. filed Critical Dome Inc.
Priority to AU65192/98A priority Critical patent/AU6519298A/en
Publication of WO1998044741A1 publication Critical patent/WO1998044741A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/507Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction using conditional replenishment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/008Vector quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/94Vector quantisation

Definitions

  • Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data
  • the given encoding target image data is divided into a plurality of block data, and a block corresponding to the block data constituting the encoding target image data and the encoding reference image data.
  • Target block determining means for determining the target block based on the difference evaluation with the block data,
  • a moving picture data decoding apparatus includes the following:
  • Encoding reference image data storage means for conveniently storing image data for one screen composed of a plurality of pixels as encoding reference image data
  • the unencoded block data and its block ID are present in the given data, the unencoded block data is replaced with the block ID of the block ID.
  • next frame image data generating means for generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
  • the image data to be encoded is -Block data other than the target block of the data is transmitted together with the block ID.
  • the moving picture data encoding method according to the present invention comprises the following:
  • the given image data to be encoded is divided into a plurality of blocks, and the block data corresponding to the image data to be encoded and the corresponding block of the encoding reference image data.
  • the target block is determined based on the difference evaluation from
  • Image data for one screen composed of a plurality of pixels is stored as encoding reference image data
  • the method for decoding moving picture data according to the present invention includes the following:
  • Image data for one screen composed of a plurality of pixels is stored as encoding reference image data
  • a storage medium storing computer-readable data for reproducing a moving image, wherein the data includes the following encoded data and pixel data:
  • For the determined target block use the candidate data to encode and transmit.
  • the given image data to be encoded is divided into a plurality of block data, and block data constituting the image data to be encoded and block data corresponding to the encoding reference image data. Determine the target block based on the difference evaluation,
  • the encoding is performed. If the number of blocks to be encoded is smaller than a predetermined number, the encoding target image data is processed. -Output block data other than the target block of data.
  • the storage medium according to the present invention which generates the image data of the next frame as the image data of the client ID, processes a computer provided with an input device, a control device, a display device, and a storage device as follows.
  • a recording medium in which a program that functions as a device for performing recording is provided and has the following:
  • FIG. 8 is a diagram showing block data for one screen.
  • FIG. 10 is an overall flowchart of the moving picture data encoding device 100.
  • FIG. 13 is a diagram showing the data structure of the codebook storage unit 73 after the data in the additional codebook storage unit 77 is read.
  • the CPU 23 controls each unit via a pass line 29 in accordance with a control program stored in the hard disk 26.
  • the codebook storage unit 73 will be described with reference to FIG.
  • the codebook storage unit 73 has an original storage unit 41 and a block-specific code storage unit 42.
  • the original storage unit 41 stores the originally determined coded data in association with the index number.
  • the partial rewriting unit 75 enters an operation start mode when an operation start signal is given.
  • the partial rewriting unit 75 stores the block configuration data of the corresponding block number from the additional codebook storage unit 77.
  • One night is read and overwritten in the block-specific code storage section 42 of the codebook storage section 73.
  • the given block number is the block number “0 0”
  • the block numbers stored in the history numbers 0 to 3 of the block number “0 0” are used.
  • the additional code block storage unit 77 stores the block data to be encoded even if the block data to be encoded is provided, unless a write instruction is given from the additional processing unit 79. There is no.
  • the CPU 23 initializes the comparison buffer 27a (step ST1 in FIG. 7), and determines whether or not the encoding target image data has been input (step ST1). 3). If the encoding target image data is not input, the processing ends.
  • CPU 23 determines whether or not it is the first image (the first frame) (step ST 7). In this case, since the image is not the first image, the process proceeds to step ST9, and the image data stored in the frame buffer 27b is divided into block images (step ST 9). This division processing is the same as that in step ST30 of FIG. 10, and therefore the description thereof is omitted.
  • the CPU 23 initializes the block number h to be subjected to additional processing (step ST11 in FIG. 7). Then, the CPU 23 reads the h-th block data, and reads the h-th block data of the comparison buffer 26a and the h-th block data of the frame buffer 26b. Find the difference evaluation with the block data of the second.
  • the absolute value of the next difference data of the first pixel is obtained. This is obtained for 16 pixels, and all are summed. This total value is the difference evaluation of the block data.
  • CPU 23 transmits only the encoded block data (step ST 27).
  • the coded block data is only the block data to be coded in step ST21, and therefore, unlike the first frame, As for the frame, only the pixel data corresponding to the block in the different part is compressed and transmitted together with the block ID.
  • the former when there are fast-moving and slow-moving objects on the screen, the former is transmitted in each frame, whereas the latter is transmitted in each frame.
  • the data is transmitted for the first time when the difference evaluation value in each block data becomes large when it moves by a certain distance. In other words, for such slow-moving objects, there is a high possibility that the evaluation value will be small, so that the transfer is performed only when the amount of movement has increased to a certain extent. Become.
  • one that moves fast and one that moves slowly are on one screen. Even if the block does not stop, the block corresponding to the one that moves slowly as described below may be the target of transmission.
  • the distribution data shown in Fig. 12A is for a case where the object does not move very much, and the block-by-block difference evaluation has a block-by-block difference evaluation larger than "16". Ok It shows that there is almost no distribution.
  • the distribution data shown in Fig. 12B is for the case where the object seems to move greatly, and the difference evaluation for each block is from "0" to "255", and the total number of blocks is also shown. Moderately stray.
  • the movement tendency of the moving object can be known only by referring to the parameters. For example, if the coefficient i in the Gaussian distribution does not change much, it is judged that the change is small, and if the coefficient a changes, it is determined that the object has moved greatly. It is good.
  • step ST31 If the CPU 23 determines in step ST31 that there is a transfer margin, it outputs an operation start signal to the encoding circuit 32 (FIG. 11: step ST33). As a result, the additional processing unit 79 and the partial rewriting unit 75 shown in FIG. 4 enter the operation start mode.
  • the CFU 23 outputs the ⁇ ⁇ th data to be encoded, together with its block number, to the encoding circuit 32 (step ST35).
  • the encoding circuit 32 reads the additional block data stored in the additional codebook storage section 77 by the partial rewriting section 75 as described above. Then, rewrite the block-specific code storage section 42 of the codebook storage section 73.
  • the block configuration data is all empty as shown in Fig. 6, so — Encoding process is performed by the encoding processing unit 71 in the same way as the state shown in FIG.
  • the additional processing unit 79 determines whether or not the original block data to be encoded matches 100%. In the case of a mismatch.
  • the additional processing section 79 gives a write instruction to the additional codebook storage section 77.
  • the block data to be encoded is stored in the block number and the block number. Is also memorized. For example, if the block number “0 0” and the block configuration data “0 0 0 1 0... 0 j” are given, as shown in FIG. 13, the block number “0 0” , The history number “0”, and the block configuration data “0 0 0 1 0... 0” are stored.
  • the additional processing section 79 outputs the block number to be encoded—even with the write instruction, and adds the block number and the history number to the additional code. Output as coded data.
  • the additional encoded data and the block data to be encoded are transmitted via the transmission control unit 31. Note that a discriminator or the like for discriminating that this is an original image data may be added to the transmission gap and then transmitted.
  • the CPU 23 determines whether or not the block is the final block (step ST37). If the block is not the final block, the block number i for the block to be determined is linked. Comment
  • the codebook storage unit 73 shown in FIG. 4 stores the block number and the history number as the index number.
  • the block configuration data to which is added is read out from the additional codebook storage unit 77 every time the block is switched and rewritten.
  • Such a process is repeated at predetermined time intervals until the final block, and when the final block is reached, in step ST37. Proceeding to step ST41, block number i for decision processing is initialized. As a result, the processing for the 0th block is performed.
  • Video data decoding device 2 0 0
  • the coded data buffer 27c stores the received coded block data.
  • the comparison buffer 26a is not required.
  • Frame buffer 26b Indicates the decoded image data for one screen.
  • the frame buffer 26b is sequentially rewritten by sequentially decoded block data as described later.
  • the CPU 23 initializes the block number h for additional processing (step ST53), and outputs the received data to the decoding circuit 34 (step ST53). ST 55).
  • the decoding circuit 34 determines whether the received data is data to which original image data has been added, performs decoding, and decodes the decoded data. Output. For the first frame, since the coded block data obtained by coding all the blocks is transmitted, usually, the original image data is not added. Accordingly, the decryption processing unit 82 performs decryption using the candidate data stored in the codebook storage unit 73.
  • original image data may be added to the second and subsequent frames.
  • the decoding circuit 34 stores the coded data and its original image data for each block number. As a result, the same candidate data as the transmitting side is added to the receiving side. In addition, at the time of decryption, candidate data added according to the block number is read out and decrypted. Processing is performed.
  • the CPU 23 determines whether or not there is a transfer margin (step ST71). If there is no transfer margin, the interrupt processing ends. On the other hand, if there is a transfer margin, the data of all the history numbers of the i-th block is retrieved from the additional codebook storage unit 77 shown in FIG. 6 (step ST). 7 3). Then, it determines whether there is a match (step ST75), and if there is a match, transmits the block number and the history number. Transmission is performed via the control unit 31 (step ST77). If there is no match, the CPU 23 assigns a new history number to the original data, and transmits the block number and the history number via the transmission control unit 31. The trie number is added to the original image block data and transmitted (step ST79). Further, the block number and the history number of the original data are written in the i-th additional codebook storage unit (step ST81).
  • step ST97 If it is determined in step ST97 that the data is standard encoded data (if it is not a block number or history number), the codebook storage unit 73 is searched to decode the data. And updates the frame buffer (step ST98).
  • the operator may use a pointing device such as a mouse to specify a specific area, and may preferentially generate additional block data for blocks in that area. .
  • a pointing device such as a mouse
  • the processing of the CPU 23 may be such that it is determined whether or not the specific area has been specified in the determination of the step ST31 in FIG. 11. .
  • the interrupt processing is performed every 1/60 second.
  • the present invention is not limited to every predetermined time as described above. For example, each time the encoding of the differential block of each frame is completed, or each time the encoding of the differential blocks of several frames is completed, Good.
  • the KM order extraction is performed from the highest evaluation value. Therefore, when the evaluation value as a whole is large and when the evaluation value is small as an overall tendency, even if the blocks have the same evaluation value, they are relative evaluations. Some blocks are not sent. On the other hand, when the whole moves automatically as a whole, it is possible to transmit only the part that has moved the most. On the other hand, if the whole does not move much, the fine movement will be transmitted.
  • the above threshold value is not limited to a fixed value, but may be varied according to the distribution of the difference evaluation value of the block data.
  • the transmission target of a certain frame is different from that of the previous frame when there is little movement as a whole and when there is considerable movement as a whole. Change the number of blocks. As a result, useless data transfer can be prevented, and transmission corresponding to the characteristics of the image data to be encoded can be performed.
  • the transmission state may be detected, and the threshold value may be changed based on the difference evaluation and the detection result. For example, when there are many errors during transmission, the threshold value may be changed. In order to reduce the number of blocks to be transmitted, the threshold may be increased. This makes it possible to flexibly cope with the case where the transmission state fluctuates.
  • the present invention when the number of moving blocks is reduced, a transfer margin is generated, so that the image quality of a stationary portion is dynamically improved. Therefore, the present invention can be applied to, for example, a television telephone, a television conference system, and the like.
  • digital image data has been described as being obtained.
  • analog still image data is sampled for such digital image data. Thereby, it is obtained.
  • the same processing as described above may be performed for each of the YUV signals (the luminance signal Y and the hue signal UV).
  • RGB red, green, blue
  • YIQ luminance signal Y and hue signal IQ
  • this is realized by software using CPU 23.
  • some or all of them may be realized by hardware such as a logic circuit.
  • encoding and decoding are performed by a code book. Therefore, by realizing this encoding and decoding processing with one chip, devices that require data compression, for example, such as TV telephones and digital video, etc. Simply by embedding the chip in the device: 3 ⁇ 4 Fast and accurate data compression is possible.
  • the image data to be encoded is a block other than the target block. Send the data with its block ID. Therefore, the image quality of blocks other than the target block can be the same as the current image. In other words, it is possible to provide a moving image data encoding device or a method for improving the image quality of a stationary part.
  • the additional block data generating means sequentially generates the additional block data based on a predetermined rule. Therefore, the additional block data can be generated based on a predetermined rule.
  • the moving image data encoding device or method according to the present invention when the number of blocks to be encoded is smaller than a predetermined number, the block other than the above-described target block of the image data to be encoded is used. Outputs the block data of. Therefore, it is possible to provide a moving picture data encoding apparatus and an encoding method capable of improving the image quality of a still part.
  • the additional block data generating means encodes the output block data and outputs the encoded block data together with the block ID. Therefore, additional encoded data that matches the block of the still part of the image data to be encoded can be transmitted. As a result, image data for more stationary parts can be transmitted.
  • the additional block data generating means determines the number of blocks to be encoded by the encoding means based on a difference evaluation between the block data. It is determined that the number is smaller than the number, and block data other than the target block of the image data to be encoded is output. Therefore, the image quality of the still part can be improved.
  • the image data of the next frame is generated by using the unencoded block data as the image data of the block ID. Therefore, the next frame image data can be generated based on the received data including the unencoded block data. As a result, the image quality of the still part can be improved.
  • the moving picture data decoding apparatus for the block data provided to the next frame image data generating means by the determination means, additional coded data obtained by coding the block data and The additional block data storing means for storing the additional block data stored in the additional block data pathological means when the additional encoded data is provided. Then decrypt it. Therefore, the next frame image data can be generated even when data including the additional encoded data is received.
  • the additional block data pathological means is classified and stored for each block ID, and the decryption means is based on this classification.
  • the above encoding is performed. Therefore, the range in which the decoding process is performed can be performed for each block, so that encoding can be performed quickly.
  • the additional block data storage means is provided when the number of stored additional block data for each block ID exceeds a predetermined number. Deletes the oldest additional block data. Therefore, the range in which the match is determined can be set for each block, so that encoding can be performed quickly.
  • the moving picture data decoding device and the moving picture data decoding method according to the present invention when the unencoded block data and its block ID exist in the given data, The block data that is not encoded is given as the image data of the block ID. Therefore, even when block data that is not encoded is included, the next frame image data can be generated. As a result, the image quality of the still part can be improved.
  • the block data provided to the next frame image data generating means by the determining means is additionally coded data obtained by coding the block data.
  • an additional block data storage unit for storing the additional block data stored in the additional block data storage unit when the additional encoded data is provided. To decrypt. Therefore, the next frame image data can be generated from the data including the additional encoded data.
  • Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data.
  • the image data to be encoded is divided into a plurality of block data, and the block data constituting the image data to be encoded and the block data corresponding to the encoding reference image data.
  • Target block determining means for determining the target block based on the difference evaluation of
  • Image data for one screen composed of a plurality of pixels is stored as coding reference image data.
  • the given image data to be encoded is divided into a plurality of block data, and the block data corresponding to the block data constituting the image data to be encoded and the encoding reference image data.
  • Target block determining means for determining the target block based on the difference evaluation with the block data, a 3) Block data composed of a plurality of block configuration data and a code corresponding to the block data as candidate data, and a plurality of block data recording means for convenient use.
  • a video data decryption device comprising:
  • decoding means for decoding the encoded block data Given an encoded block data obtained by encoding the block data and its block ID, decoding means for decoding the encoded block data;
  • Encoding unit In the embodiment, the encoding unit 71 corresponds to the encoding unit.
  • Transmission means In the embodiment, the transmission control unit 31 shown in FIG. 3 corresponds to this.
  • ⁇ Receiving means ⁇ In the embodiment, the transmission control unit 31 shown in FIG. 15 is applicable.
  • C Additional block data generating means: In the embodiment, the CPU 23 shown in FIG. The processing in steps ST31 to ST35 corresponds to this.
  • Step ST 57 corresponds to the processing.
  • Additional codebook useful unit 77 corresponds to this.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

A method of encoding dynamic image data based upon the vector quantization, which can improve the quality of still images. A CPU (23) divides image data that are to be encoded into a plurality of block data, and determines the blocks to be encoded based upon the evaluated difference between the block data constituting the image data to be encoded and the corresponding block data of reference image data to be encoded. An encoder circuit (32) encodes the determined blocks to be encoded by using candidate data. The CPU (23) judges whether there is a margin in the transfer of data. When it is judged that there still remains a margin, the block data of image data to be encoded other than the blocks to be encoded are transmitted together with the block ID from the transfer control unit (31).

Description

明細書 動画データ 符号化装置、 動画データ復号化装置および これ ら の方法  Description Moving picture data encoding apparatus, moving picture data decoding apparatus, and methods thereof
[技術分野]  [Technical field]
こ の発明は、 動画データ 符号化復号化装置に関 し、 特に、 画質向上に関する。  The present invention relates to a moving image data encoding / decoding device, and more particularly to an improvement in image quality.
[背景技術 ]  [Background Art]
今日、 動画データ の符号化方法と して、 M C ( o r t i o n C o mp e n s a t i o n )法が注目 さ れて いる。 M C 法と は、 キー フ レ一ム については、 そのま ま 1 フ レーム分送信 し、 次のフ レーム はそのキーフ レーム と異なる 部分のみをデータ転送する という 方法である。 こ の M C 法を用い る こ と によ り、 前フ レーム の差分データだけを伝 送でき、 これよ り、 高 い圧縮率が得 られる。  Attention has been paid to the MC (or ti io n C o mp e n s a t i o n) method today as a moving image data encoding method. The MC method is a method in which a key frame is transmitted as it is for one frame, and in the next frame, only a portion different from the key frame is transmitted. By using this MC method, only the difference data of the previous frame can be transmitted, and a high compression ratio can be obtained.
しか し、 こ のよ う な伝送方法 にお いては以下のよ う な問題点があっ た。 - 受信側 で表示 された画像を人間の 目で参照した場合に、 動いている 部分につ いて は画質 がそれほどよ く な く て も気にはな ら ない。 これに対 し静止部分については、 符号 化の際の歪によ る画質の劣化が顕著に現われる。  However, such a transmission method has the following problems. -When the image displayed on the receiving side is viewed by the human eye, the moving part does not matter even if the image quality is not so good. On the other hand, in the stationary part, the image quality is significantly degraded due to distortion during encoding.
特に、 ベク トル量子化を用 いてデータ圧縮を行なっ た場合には、 コ ー ド ブッ ク の数の制限によ る 歪がよ り 問題 となる。  In particular, when data compression is performed using vector quantization, distortion due to the limitation of the number of codebooks becomes more problematic.
[発明の開示]  [Disclosure of the Invention]
こ の発明は、 上記問題を解決 し、 ベク トル量子化を用 いた動画データ の圧縮方 法にお いて、 静止部分の画質を 向上させる こ と を 目 的とする。  An object of the present invention is to solve the above problem and improve the image quality of a still part in a method of compressing moving image data using vector quantization.
こ の発明にかかる動画データ の符号化装置は以下を備えて いる :  The video data encoding apparatus according to the present invention includes the following:
複数の画素にて構成される一画面分の画像データ を符号化基準画像デー タ と し て記憶する符号化基準画像デー タ記憶手段、  Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data;
符号化対象の画像データ を複数のブロ ッ クデ一夕 に分割 し、 前記符号化対象の 画像データ を構成する プロ ッ ク データ と、 前記符号化基準画像データ の対応プロ ッ クデータ との差分評価に基づいて、 対象プロ ッ ク を決定する対象ブロ ッ ク決定 手段、  The image data to be encoded is divided into a plurality of blocks, and the difference between block data constituting the image data to be encoded and block data corresponding to the encoding reference image data is evaluated. Target block determining means for determining the target block based on the
複数のプロ ッ ク構成データか ら構成される ブロ ッ クデータおよ びこれに対応す る 符号を候補データ と して、 複数記憶する プロ ッ ク データ 記 ¾手段、 前記決定された対象ブロ ッ ク につ いて、 前記ブロ ッ ク データ記憶手段に記億さ れた侯補データ を用 いて、 符号化する 符号化手段、 Block data recording means for storing a plurality of block data composed of a plurality of block configuration data and a code corresponding thereto as candidate data, Coding means for coding the determined target block using candidate data stored in the block data storage means;
前記符号化デー タ を送信する 送信手段、  Transmitting means for transmitting the encoded data;
前記送信手段のデータ転送余裕度に余裕あ り と判断した場合には、 前記符号 化対象の画像データ の前記対象ブロ ッ ク 以外の ブロ ッ ク デー タ をその ブロ ッ ク I D と と も に前記送信手段に与え る追加ブ口 ッ ク データ生成手段、  If it is determined that the data transfer margin of the transmission means has a margin, block data other than the target block of the image data to be encoded is written together with the block ID of the image data. Additional block data generation means given to the transmission means,
を備え、  With
前記送信手段は、 与え られたブロ ッ ク I D と と も に前記追加ブ ϋ ッ クデータ を 送信する。  The transmitting means transmits the additional block data together with the given block ID.
こ の発明にかか る動画データ の符号化装置は以下を備えている :  The video data encoding apparatus according to the present invention includes the following:
複数の画素にて構成される一画面分の画像データ を符号化基準画像データ と し て記憶する 符号化基準画像デー タ記憶手段、  Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data;
与え られた符号化対象の画像データ を複数の プロ ッ ク データ に分割 し、 前記符 号化対象の画像データ を構成す るブロ ッ ク デ一夕 と、 前記符号化基準画像データ の対応ブロ ッ ク データ との差分評価に基づいて、 対象プロ ッ ク を決定する対象ブ ロ ッ ク 決定手段、  The given encoding target image data is divided into a plurality of block data, and a block corresponding to the block data constituting the encoding target image data and the encoding reference image data. Target block determining means for determining the target block based on the difference evaluation with the block data,
複数のブロ ッ ク構成デー タか ら構成さ れる ブロ ッ ク データおよ びこれに対応す る 符号を候補データ と して、 複数記憶する プロ ッ ク データ 記憶手段、  Block data storage means for storing a plurality of block data composed of a plurality of block configuration data and codes corresponding thereto as candidate data,
前記決定された対象プロ ッ ク について、 前記プロ ッ クデータ記憶手段に記憶さ れた候補データ を用いて、 符号化する 符号化手段、  Coding means for coding the determined target block using candidate data stored in the block data storage means;
前記符号化手段が符号化する ブロ ッ ク数が所定数よ り 少ない場合には、 前記符 号化対象の画像データ の前記対象ブロ ッ ク以外のブロ ッ ク データ を出力する追加 ブロ ッ クデータ 生成手段。  When the number of blocks to be encoded by the encoding means is smaller than a predetermined number, additional block data generation for outputting block data other than the target block of the image data to be encoded is performed. means.
この発明にかかる動画データ の復号化装置は以下を備えて いる :  A moving picture data decoding apparatus according to the present invention includes the following:
伝送されたデータ を受信する受信手段、  Receiving means for receiving the transmitted data;
複数の画素にて構成される一画面分の画像データ を 符号化基準画像データ と し て記慷する 符号化基準画像データ記憶手段、  Encoding reference image data storage means for conveniently storing image data for one screen composed of a plurality of pixels as encoding reference image data;
前記受信 したデータ を復号化する復号化手段、  Decoding means for decoding the received data;
前記符号化基準画像データおよび前記復号化されたプロ ッ クデータ に基づき、 前記基準画像データ の次の フ レーム の画像デー タ を生成する次フ レーム画像デ— タ 生成手段、 Based on the encoded reference image data and the decoded block data, A next frame image data generating means for generating image data of a frame next to the reference image data;
前記受信 したデータ 中に、 前記符号化されていないブ α ッ クデータ およ びその ブ ロ ッ ク I D が存在する場合に は、 こ の符号化されていないブロ ッ ク データ を当 該プロ ッ ク I D の画像デー タ と して前記次フ レーム画像データ生成手段に与える 判断手段。  If the unencoded block data and its block ID are present in the received data, the unencoded block data is replaced with the block ID. Determining means for giving the next frame image data generating means as the image data of the next frame.
こ の発明にかかる動画データ の復号化装置は以下を備えて いる :  The moving picture data decoding apparatus according to the present invention includes the following:
複数の画素にて構成される一画面分の画像データ を符号化基準画像データ と し て記憶する符号化基準画像データ記憶手段、  Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data;
ブロ ッ クデータ を符号化 した 符号化ブロ ッ ク データおよびそのブロ ッ ク I Dが 与え ら れる と、 こ の符号化プロ ッ ク デ一夕 を復号化する復号化手段、  Given encoded block data obtained by encoding the block data and its block ID, decoding means for decoding the encoded block data,
前記符号化基準画像データお よび前記復号化されたブ ϋ ッ クデ一夕 に ·基づき、 前記基準画像データ の次の フ レーム の画像デー タ を生成する次フ レーム画像デー 夕 生成手段、  A next frame image data generating means for generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
与え られたデータ 中 に、 前記符号化されていないブロ ッ ク デー タおよびそのブ ロ ッ ク I Dが存在する場合には、 こ の符号化されて いな いブロ ッ クデータ を当該 ブロ ッ ク I D の画像データ と して前記次フ レーム画像データ 生成手段に与える判 断手段。  If the unencoded block data and its block ID are present in the given data, the unencoded block data is replaced with the block ID of the block ID. Judging means given to the next frame image data generating means as image data.
この発明にかか る動画データ の送受信システムは以下を備えて いる :  The video data transmitting / receiving system according to the present invention includes the following:
A ) 以下を備えた動画データの 符号化装置、 A) a video data encoding device comprising:
a l )複数の画素に て構成さ れる一画面分の画像データ を符号化基準画像データ と して記憶する 符号化基準画像データ 記憶手段、  a l) Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data.
a 2 )符号化対象の画像データ を複数の プロ ッ クデータ に分割 し、 前記符号化対象 の画像データ を構成す る ブ ロ ッ クデータ と、 前記符号化基準画像デー タ の対応ブ 口 ッ ク データ と の差分評価 に基づいて、 対象ブロ ッ ク を决定する 対象ブ□ ッ ク决 定手段、  a 2) The image data to be encoded is divided into a plurality of block data, and block data constituting the image data to be encoded and block data corresponding to the encoding reference image data. A target block determining means for determining a target block based on a difference evaluation between the target block and
a 3 )複数のブロ ッ ク構成データ か ら稱成さ れる ブロ ッ クデ一夕およびこ れに対応 する 符号を候補データ と して、 複数記憶するブ Π1 ッ ク データ 記憶手段、  a 3) Block data storage means for storing a plurality of block data composed of a plurality of block configuration data and a code corresponding to the block data as candidate data,
a 4 )前記決定された対象ブロ ッ ク につ いて、 前記ブロ ッ ク データ記憶手段に記憶 された侯補データ を用 いて、 符号化する 符号化手段、 a4) The determined target block is stored in the block data storage unit. Encoding means using the obtained candidate data,
a5)前記符号化データ を送信する送信手段、  a5) transmitting means for transmitting the encoded data,
a6)前記送信手段のデータ耘送余裕度 に余裕あ り と判断 した場合には、 前記符号 化対象の画像データ の前記対象ブロ ッ ク以外の ブロ ッ クデータ をその プロ ッ ク I D と と も に前記送信手段に与え る追加ブコ ッ ク データ生成手段、  a6) If it is determined that there is a margin in the data transmission margin of the transmitting means, block data other than the target block of the image data to be encoded is written together with the block ID. Means for generating additional block data to be provided to the transmitting means;
を備え、  With
a7)前記送信手段は、 与え られたブロ ッ ク I D と と も に前記追加ブロ ッ クデータ を送信する、  a7) The transmitting means transmits the additional block data together with the given block ID.
B ) 以下を備えた動画データの復号化装置、  B) a video data decoding device comprising:
bl)伝送さ れたデータ を受信する受信手段、  bl) receiving means for receiving the transmitted data,
t)2)複数の画素にて構成さ れる一画面分の画像データ を符号化基準画像データ と して記惊する符号化基準画像データ記惊手段、  t) 2) encoding reference image data recording means for recording image data for one screen composed of a plurality of pixels as encoding reference image data;
b3)前記受信 したデータ を復号化する 復号化手段、  b3) decoding means for decoding the received data,
b4)前記符号化基準画像データおよび前記復号化されたブロ ッ クデータ に基づき、 前記基準画像データ の次の フ レーム の画像データ を生成する 次フ レーム画像デ一 タ 生成手段、  b4) next frame image data generating means for generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
b5)前記受信 したデー タ 中 に、 前記符号化されていないプロ ッ ク デー およびそ のブロ ッ ク I Dが存在する 場合には、 こ の符号化さ れていないブロ ッ ク データ を 当 ¾ブロ ッ ク I D の画像データ と して前記次フ レーム画像デ一夕 生成手段に与え る判断手段。  b5) If the unencoded block data and its block ID are present in the received data, the unencoded block data is deleted from the received data. Determining means for giving the next frame image data generating means as the image data of the lock ID;
こ の発明にかか る動画データ の符号化復号化シス テムは以下を備えてい る。  A video data encoding / decoding system according to the present invention includes the following.
A ) 以下を備えた動画データ の符号化装置、  A) A video data encoding device comprising:
al)複数の画素にて構成される一画面分の画像データ を符号化基準画像データ と し て記憶する 符号化基準画像デ一夕 記憶手段、  al) Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data.
a2)与え ら れた符号化対象の画像デ一 タ を複数のプロ ッ ク デ一夕 に分割 し、 前記 符号化対象の画像データ を構成する プロ ッ ク データ と、 前記符号化基準画像デー 夕 の対応ブ!^ ッ ク デー タ と の差分評価に基づいて、 対象ブ α ッ ク を決定す る対象 ブロ ッ ク決定手段、  a2) The given encoding target image data is divided into a plurality of block data, and the block data constituting the encoding target image data and the encoding reference image data are divided. Correspondence b! Target block determining means for determining the target block based on the difference evaluation with the block data;
a3)複数のプロ ッ ク構成データか ら構成さ れる プロ ッ クデータおよびこ れに対応 する 符号を候補データ と して、 複数記 ¾するブ ロ ッ クデータ 記憶手段、 a 4 )前記決定された対象ブロ ッ ク につ いて、 前記プロ ッ ク データ記憶手段に記愴 さ れた候補データ を用 いて、 符号化する 符号化手段、 a3) Block data composed of multiple block configuration data and corresponding Block data storage means for storing a plurality of codes as candidate data, a 4) candidate data pathologically stored in the block data storage means for the determined target block; Encoding means using
a 5 >前記符号化手段が符号化する プロ ッ ク 数が所定数よ り 少ない場合には、 前記 符号化対象の画像データの前記対象ブロ ッ ク以外の ブロ ッ ク データ を出力する追 加プロ ッ クデータ 生成手段、  a5> If the number of blocks to be encoded by the encoding means is smaller than a predetermined number, an additional processor for outputting block data other than the target block of the image data to be encoded. Data generation means,
B ) 以下を備えた動画データ の復号化装置、 B) A video data decoding device comprising:
b l )複数の画素にて構成さ れる一画面分の画像データ を符号化基準画像データ と して記憶する 符号化基準画像データ記憶手段 >  b l) Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data>
b 2 )ブロ ッ ク デ一タ を 符号化 した 符号化ブ ^ ッ クデー タおよびそのブロ ッ ク [ D が与え られる と、 こ の符号化ブ ロ ッ クデ一夕 を復号化する復号化手段、  b 2) Encoded block data obtained by encoding block data and its block [D, given a decoding means for decoding the encoded block data ,
b 3 )前記符号化基準画像データおよび前記復号化されたブロ ッ ク データ に基づき、 前記基準画像データ の次の フ レーム の画像デー タ を生成する次フ レーム.画像デ一 タ 生成手段、  b3) a next frame for generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data; image data generation means;
b 4)与え られたデータ 中に、 前記符号化さ れていないブロ ッ クデータおよびその ブロ ッ ク I D が存在する場合に は、 この符号化 されていないブロ ッ ク データ を当 該ブロ ッ ク I D の画像データ と して前記次フ レーム 画像データ生成手段 こ 与える 判断手段。  b 4) If the unencoded block data and its block ID exist in the given data, the unencoded block data is replaced with the block ID. The next frame image data generating means as the image data of the present invention.
こ の発明にかかる動画データ の符号化方法は以下を備えて いる :  The video data encoding method according to the present invention includes the following:
複数の画素にて構成される一画面分の画像データ を符号化基準画像データ と し て記憶しておき、  Image data for one screen composed of a plurality of pixels is stored as encoding reference image data, and
与え られた符号化対象の画像データ を複数のプロ ッ クデータ に分割 し、 符号化 対象の画像データ を構成するプ ロ ッ クデ一タ と、 前記符号化基準画像データ の対 応ブロ ッ クデータ との差分評価 に基づいて、 対象ブ a ッ ク を決定 し、  The given encoding target image data is divided into a plurality of block data, and block data constituting the encoding target image data, and corresponding block data of the encoding reference image data. The target book is determined based on the difference evaluation of
複数のブロ ッ ク構成データか ら構成さ れる ブロ ッ クデータおよびこれに対応す る 符号を候補データ と して複数記憶しておき、  A plurality of block data composed of a plurality of block configuration data and a code corresponding to the block data are stored as candidate data, and are stored.
前記決定さ れた対象ブロ ッ ク につ いて、 前記候補データ を用 いて、 符号化 して、 送信する、  Using the candidate data, encoding and transmitting the determined target block;
前記送信のデータ転送余裕度 に余裕があ る場合には、 前記符号化対象の画像デ —タ の前記対象ブロ ッ ク以外の ブロ ッ クデータ をその ブロ ッ ク I D と と も に送信 する。 If there is room in the transmission data transfer margin, the image data to be encoded is -Block data other than the target block of the data is transmitted together with the block ID.
この発明にかかる動画データ の符号化方法は以下を備えている :  The moving picture data encoding method according to the present invention comprises the following:
複数の画素にて構成される一画面分の画像データ を符号化基準画像データ と し て記憶しておき、  Image data for one screen composed of a plurality of pixels is stored as encoding reference image data, and
与え られた符号化対象の画像データ を複数の プロ ッ ク デ一夕 に分割 し、 符号化 対象の画像データ を構成するブ ロ ッ クデータ と、 前記符号化基準画像デー タの対 応ブロ ッ クデ一夕 との差分評価 に基づいて、 対象ブロ ッ ク を決定 し、  The given image data to be encoded is divided into a plurality of blocks, and the block data corresponding to the image data to be encoded and the corresponding block of the encoding reference image data. The target block is determined based on the difference evaluation from
複数のプロ ッ ク構成デー タか ら構成されるブロ ッ クデータ およびこ れに対応す る 符号を候補データ と して複数記憶しておき、  Block data composed of a plurality of block configuration data and a plurality of codes corresponding to the block data are stored as candidate data.
前記決定された対象ブロ ッ ク につ いて、 前記候補デ一夕 を用 いて、 符号化する, 符号化する プロ ッ ク数が所定数よ り 少な い場合には、 前記符号化対象の画像デ —夕 の前記対象プロ ッ ク以外の プロ ッ クデータ を出力する。  For the determined target block, if the number of blocks to be coded and coded using the candidate data is less than a predetermined number, the image data to be coded is coded. — Output block data other than the target block in the evening.
こ の発明にかかる動画デ一タ 復号化の方法は以下を備えている :  The video data decoding method according to the present invention includes the following:
複数の画素にて構成される一画面分の画像データ を符号化基準画像データ と し て記憶しておき、  Image data for one screen composed of a plurality of pixels is stored as encoding reference image data, and
前記伝送さ れた符号化データ を受信し、 これを復号化 し、  Receiving the transmitted encoded data, decoding it,
前記符号化基準画像データお よび前記復号化 されたプロ ッ ク データ に基づき、 前記基準画像データ の次の フ レーム の画像デー タ を生成する、  Generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
前記受信 したデータ 中に、 前記符号化されて いないブロ ッ ク データ およ びその ブロ ッ ク I D が存在する場合に は、 この符号化 されていない ブロ ッ ク デー タ を当 該ブロ ッ ク I D の画像データ と して前記次のフ レームの画像データ を生成する。  If the unencoded block data and its block ID are present in the received data, the unencoded block data is replaced with the block ID of the block ID. The image data of the next frame is generated as image data.
こ の発明にかかる動画データ復号化の方法は以下 を備えて いる :  The method for decoding moving picture data according to the present invention includes the following:
複数の画素にて構成される一画面分の画像データ を符号化基準画像デー 夕 と し て記憶しておき、  Image data for one screen composed of a plurality of pixels is stored as encoding reference image data, and
ブロ ッ クデータ を符号化 した符号化ブロ ッ ク データおよびその ブロ ッ ク I Dが 与え ら れる と、 こ の符号化プロ ッ ク データ を復号化 し、  Given coded block data obtained by coding the block data and its block ID, the coded block data is decoded,
前記符号化基準画像データおよび前記復号化 されたプロ ッ ク データ に基づき、 前記基準..画像デ一 タ の次の フ レーム の画像デー タ を 生成する、 与え られたデータ 中 に、 前記符号化さ れていないブロ ッ ク データおよびそのブ ロ ッ ク I Dが存在する 場合 には、 こ の符号化さ れていな い ブロ ッ クデータ を当該 ブロ ッ ク I D の画像データ と し て前記次の フ レーム の画像データ を生成す る。 この発明にかかる 記憶媒体は以下を備えてい る : Generating, based on the encoded reference image data and the decoded block data, the reference .. image data of a frame next to the image data; If the unencoded block data and its block ID are present in the given data, the unencoded block data is replaced with the block ID. The image data of the next frame is generated as the image data of the next frame. A storage medium according to the present invention comprises:
コ ン ピュータ 可読の動画再生用のデータ を記惊した記憶媒体であっ て、 前記デ —タ は、 以下の符号化データお よび画素データ を含む、  A storage medium storing computer-readable data for reproducing a moving image, wherein the data includes the following encoded data and pixel data:
1 )各フ レームデータ をブロ ッ ク毎に分割 してベク トル量子化を行なっ た符号化 データ で且つ、 基準フ レーム に対 し て動きがあ る ブロ ッ ク をべク トル量子化 して 得 られた符号化データ.  1) Each frame data is divided into blocks, and the quantized data obtained by performing vector quantization, and blocks that have motion with respect to the reference frame are subjected to vector quantization. The encoded data obtained.
2 ) さ ら に、 前記基準 フ レーム に対 して動きがある領域のブロ ッ ク以外の ブロ ッ ク の画素データ。  2) Further, pixel data of blocks other than the block in the area where there is movement with respect to the reference frame.
こ の発明にかかる 記憶媒体は入 力装置、 制御装置、 表示装置および記憶装置を備 えたコ ンピュータ を以下の処理 を行 う 装置 と し て機能させる プロ グラ ムを記憶さ せた記檨媒体で以下を備えてい る : A storage medium according to the present invention is a storage medium storing a program that causes a computer including an input device, a control device, a display device, and a storage device to function as a device that performs the following processing. It has the following:
複数の画素にて構成される一画面分の画像データ を符号化基準画像デ一 夕 と し て記惊しておき、  One screen of image data composed of a plurality of pixels is recorded as an encoding reference image data, and
与え られた符号化対象の画像データ を複数の プロ ッ ク デー タ に分割 し、 符号化 対象の画像データ を構成するプ ロ ッ クデータ と、 前記符号化基準画像デー タの対 応 ブ α ッ ク デー タ と の 差分評価 に基づい て、 対象ブ ロ ッ ク を 決定 し、  The given image data to be encoded is divided into a plurality of block data, and the block data constituting the image data to be encoded and the corresponding block of the encoding reference image data The target block is determined based on the difference evaluation with the data,
複数の プロ ッ ク構成デ一タか ら構成されるブ ロ ッ クデータ およびこれに対応す る 符号を候補データ と して複数記憶 しておき、  Block data consisting of a plurality of block configuration data and a plurality of codes corresponding to the block data are stored as candidate data.
前記決定された対象ブロ ッ ク につ いて、 前記侯補デ一夕 を用 いて、 符号化 して、 送信する、  For the determined target block, use the candidate data to encode and transmit.
前記送信のデータ転送余裕度 に余裕がある場合に は、 前記符号化対象の画像デ —夕の前記対象ブロ ッ ク 以外の ブロ ッ ク データ をそ のブロ ッ ク I D と と も に送信 する。  If there is room in the transmission data transfer margin, the image data to be encoded is transmitted together with the block ID other than the target block in the evening.
こ の発明にかかる記慷媒体は入力 装 Β、 制御装置、 表示装置および記憶装 gを 備えたコ ンピュータ を以下の処理を行う 装置と して機能させる プロ グラム を記憶 させた記憶媒体で以下を備えて いる : 複数の画素 にて構成される一画面分の画像データ を 符号化基準画像デ一タ と し て記憶しておき、 A useful medium according to the present invention is a storage medium storing a program that causes a computer including an input device, a control device, a display device, and a storage device g to function as a device that performs the following processing. Have: Image data of one screen composed of a plurality of pixels is stored as encoding reference image data, and
与え られた符号化対象の画像データ を複数の プロ ッ ク デー タ に分割 し、 符号化 対象の画像データ を構成する ブ ロ ッ クデータ と、 前記符号化基準画像データの対 応ブロ ッ クデータ との差分評価 に基づいて、 対象プ ロ ッ ク を決定 し、  The given image data to be encoded is divided into a plurality of block data, and block data constituting the image data to be encoded and block data corresponding to the encoding reference image data. Determine the target block based on the difference evaluation,
複数のプロ ッ ク構成データか ら構成される ブロ ッ クデータ およびこ れに対応す る 符号を候補データ と して複数記俊しておき、  Block data composed of a plurality of block configuration data and a code corresponding to the block data are stored as a plurality of candidate data,
前記决定さ れた対象ブロ ッ ク につ いて、 前記候補デー タ を用いて、 符号化する、 符号化する ブ α ッ ク 数が所定数よ り 少ない場合に は、 前記符号化対象の画像デ —タ の前記対象プロ ッ ク以外の プロ ッ クデータ を出力する。  For the determined target block, using the candidate data, the encoding is performed. If the number of blocks to be encoded is smaller than a predetermined number, the encoding target image data is processed. -Output block data other than the target block of data.
こ の発明にかかる記憶媒体は入力装置、 制御装置、 表示装置および記憶装置を 備えた コ ン ピュータ を以下の処理を行う 装置と して機能させる プロ グラム を記馅 させた記憶媒体で以下を備えて いる :  A storage medium according to the present invention is a storage medium that stores a program that causes a computer including an input device, a control device, a display device, and a storage device to function as a device that performs the following processing. ing :
複数の画素にて構成される一画面分の画像データ を符号化基準画像デー タ と し て記憶しておき、  Image data for one screen composed of a plurality of pixels is stored as encoding reference image data, and
前記伝送された符号化データ を受信 し、 これを復号化 し、  Receiving the transmitted encoded data, decoding it,
前記符号化基準画像データお よび前記復号化 されたブロ ッ ク データ に基づき、 前記基準画像データ の次の フ レーム の画像デー タ を生成する、  Generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
前記受信したデータ 中に、 前記籽号化されて いな いブロ ッ ク データおよ びその ブロ ッ ク I D が存在する場合に は、 この符号化 されていな いブロ ッ ク デー タ を当 該ブロ ッ ク I D の画像データ と して前記次の フ レームの画像データ を生成する、 こ の発明にかか る記憶媒体は入力装置、 制御装置、 表示装置および記憶装置を 備えた コ ンピュータ を以下の処理を行う 装置と して機能させる プロ グラム を記焙 させた記惊媒体で以下を備えて いる :  If the non-encoded block data and its block ID are present in the received data, the unencoded block data is added to the received block data. The storage medium according to the present invention, which generates the image data of the next frame as the image data of the client ID, processes a computer provided with an input device, a control device, a display device, and a storage device as follows. A recording medium in which a program that functions as a device for performing recording is provided and has the following:
複数の画素にて構成される一画面分の画像データ を符号化基準画像デー タ と し て記憶しておき、  One screen of image data composed of a plurality of pixels is stored as encoding reference image data, and
ブロ ッ クデータ を符号化 した符兮化ブロ ッ ク デー タ およびそのブロ ッ ク I り が 与え ら れる と、 こ の符号化ブロ ッ ク データ を復号化 し、  Given encoded block data obtained by encoding block data and its block I, the encoded block data is decoded,
前記符号化基準画像データおよび前記復号化 されたブロ ッ ク データ に基づき、 前記基準画像データ の次の フ レーム の画像データ を生成する、 Based on the coded reference image data and the decoded block data, Generating image data of a frame next to the reference image data;
与え られたデータ 中 に、 前記 符号化されていないプロ ッ ク データおょぴそのブ ロ ッ ク I Dが存在する 場合には、 こ の符号化さ れていないブロ ッ クデータ を当該 ブロ ッ ク I D の画像データ と し て前記次の フ レーム の画像データ を生成する、 こ の発明の特徴、 他の 目 的、 用途、 効果等は、 実施例および図面を参酌する こ と によ り 明 ら かになる であ ろ う。  If the unencoded block data and its block ID are present in the given data, the unencoded block data is replaced with the block ID. The characteristics, other objects, uses, effects, and the like of the present invention for generating the image data of the next frame as the image data of the above will be apparent by referring to the embodiment and the drawings. It will be.
[図面の簡単な説明 ]  [Brief description of drawings]
図 1 は動画データ 符号化装置 1 0 0 の機能ブ ロ ッ ク 図であ る。  FIG. 1 is a functional block diagram of the moving image data encoding device 100.
図 2 は動画データ復号化装置 2 0 0 の機能ブロ ッ ク図であ る。  FIG. 2 is a functional block diagram of the moving picture data decoding apparatus 200.
図 3 は動画データ 符号化装置 1 0 0 のハー ド ウ ェ ア構成を示す図である。  FIG. 3 is a diagram showing a hardware configuration of the moving image data encoding device 100.
図 4 は符号化回路 3 2 の詳細 を示す図である。  FIG. 4 is a diagram showing details of the encoding circuit 32.
図 5 はコ一 ド ブッ ク 記憶部のデータ構造を示す図であ る。  FIG. 5 is a diagram showing the data structure of the codebook storage unit.
図 6 は追加コー ド ブ ッ ク記憶部のデータ構造を示す図であ る。  FIG. 6 shows the data structure of the additional codebook storage unit.
図 7 は動画データ 符号化装置 1 0 0 の全体の フ ローチヤ一ト である。  FIG. 7 is an overall flowchart of the moving picture data encoding device 100.
図 8 は 1 画面分における ブ ^ ッ ク データ を示す図である。  FIG. 8 is a diagram showing block data for one screen.
図 9 は各ブロ ッ ク の差分評価の一例を示す図であ る。  Fig. 9 is a diagram showing an example of the difference evaluation of each block.
図 1 0 は動画データ 符号化装置 1 0 0 の全体のフ ローチヤ 一 ト である。  FIG. 10 is an overall flowchart of the moving picture data encoding device 100.
図 1 1 は割込み処理のフ ローチャ ー ト である。  Figure 11 is a flowchart of the interrupt processing.
図 1 2 は転送余裕があるか否かを判断するための ヒス ト グラムであ る。  Figure 12 is a histogram for determining whether there is room for transfer.
図 1 3 は追加コ ー ド ブッ ク記憶部 7 7 のデー タ を読み出 し た後のコー ド ブッ ク 記惊部 7 3 のデータ構造を示す図である。  FIG. 13 is a diagram showing the data structure of the codebook storage unit 73 after the data in the additional codebook storage unit 77 is read.
図 1 4 はコ 一 ド ブッ ク 記億部のデータ構造を示す図である。  Figure 14 is a diagram showing the data structure of the codebook storage unit.
図 1 5 は動画データ復号化装置 2 0 0 のハー ド ウ ェア構成を示す図であ る。 図 1 6 は復号化回路 3 4 の構成を示す図であ る。  FIG. 15 is a diagram showing a hardware configuration of the moving picture data decoding device 200. FIG. 16 is a diagram showing the configuration of the decoding circuit 34.
図 1 7 は復号化処理の フ ローチヤ一ト である。  Figure 17 is a flowchart of the decryption process.
図 1 8 は符号化回路 3 2 をソ フ ト ウ ェアで実現 し た場合の フ ロ ーチャ ー トであ る。  FIG. 18 is a flowchart in a case where the encoding circuit 32 is realized by software.
図 1 9 は復号化回路 3 4 をソ フ ト ウ エ アで実現し た場合の フ ローチヤ一トであ る。 [発明を実施する為の最良の形態] Fig. 19 is a flow chart when the decoding circuit 34 is realized by software. [Best mode for carrying out the invention]
「 目次 J  "Table of Contents J
1. 全体の機能ブロ ッ ク 図  1. Overall function block diagram
1-1)動画データ 符号化装置 1 0 0 の機能ブロ ッ ク 図  1-1) Functional block diagram of video data encoder 100
1- 2)動画デ一夕復号化装置 2 0 0 の機能ブロ ッ ク 図  1-2) Functional block diagram of video decoder 200
2. 動画データ 符号化装置 1 0 0  2. Video data encoder 1 0 0
2 - 1)ハー ド ウ ェ ア構成  2-1) Hardware configuration
2-2) 符号化回路 3 2  2-2) Encoding circuit 3 2
2- 3) フ ローチヤ一 ト  2-3) Flow chart
2- 3-1)伝送処理  2- 3-1) Transmission processing
2- 3-2)割込み処理  2- 3-2) Interrupt processing
3. 動画データ復号化装置 2 0 0  3. Video data decoding device 200
3- 1)八一 ド ウ エア構成  3- 1) Eighty-one air configuration
3-2)復号化回路 3 4  3-2) Decryption circuit 3 4
3-3) フ ローチヤ 一 ト  3-3) Flow chart
4. 他の実施形態  4. Other embodiments
4 - 1) 符号化回路 3 2 を ソ フ ト ウ エア で実現 した場合  4-1) When the coding circuit 3 2 is realized by software
4 - 2)復号化回路 3 4 を ソ フ ト ウ エアで実現した場合  4-2) When the decryption circuit 3 4 is realized by software
4-3)その他の実施形態  4-3) Other embodiments
4-3- 1)静止部分ブロ ッ ク について  4-3- 1) Stationary block
4 - 3- 2)静止部分ブロ ッ ク 以外について  4-3-2) Other than stationary part block
4- 3- 3)その他  4- 3- 3) Other
4-4)用語の定義 本発明の一実施形態について、 図面を用 いて説明する。  4-4) Definition of Terms One embodiment of the present invention will be described with reference to the drawings.
1. 全体のブロ ッ ク 図 1. Overall block diagram
1 - 1)動画データ 符号化装置 1 0 0 の機能ブロ ッ ク 図  1-1) Functional block diagram of video data encoder 100
図 1 に動画データ 符号化装置 1 0 0 の機能ブ ロ ッ ク 図を示す。 符号化対象画像 データ 記憶手段 1 0 3 は、 符号化対象の画像データ を記憶する。 符号化基準画像 データ 記慷手段 1 0 5 は、 複数の画素にて構成される一画面分の画像データ を符 号化基準画像データ と して記憧する。 Figure 1 shows a functional block diagram of the video data encoding device 100. The encoding target image data storage means 103 stores the encoding target image data. Encoding reference image The data storage means 105 stores image data for one screen composed of a plurality of pixels as encoding reference image data.
対象ブロ ッ ク决定手段 1 0 7 は、 符号化対象の圃像デ一タ を複数の プロ ッ クデ — 夕 に分割 し、 前記符号化対象の画像データ を構成する ブロ ッ ク デー タ と、 前記 符号化基準画像データ の対応ブ ロ ッ クデータ と の差分評価に基づいて、 対象ブロ ッ ク を决定する。 ブロ ッ ク デー タ記憶手段 1 1 3 は、 筏数の ブロ ッ ク 構成データ か ら構成される プロ ッ クデータ およびこれに対応する符号を候補デ一夕 と して、 複数記燎する。  The target block determination means 107 divides the field image data to be encoded into a plurality of block data, and comprises block data constituting the image data to be encoded. A target block is determined based on a difference evaluation between the encoded reference image data and the corresponding block data. The block data storage means 113 stores a plurality of block data composed of block configuration data of the number of rafts and codes corresponding thereto as candidate data.
符号化手段 1 1 1 は、 前記決定さ れた対象ブ ロ ッ ク について、 前記ブロ ッ クデ —タ 記憶手段に記憶さ れた候補データ を用 いて、 符号化する。 送信手段 1 1 5 は、 前記符号化データ を送信する。 書換え手段 1 1 7 は、 符号化基準画面デ一 夕のブ ロ ッ ク デ―タ を、 前記伝送対象ブロ ッ ク データ を用 いて書換える。 これに よ り、 送信 したブロ ッ ク に関 してだけ、 符号化基準画像データが更新される。  The encoding unit 1111 encodes the determined target block using the candidate data stored in the block data storage unit. The transmitting means 115 transmits the encoded data. The rewriting means 117 rewrites the block data of the encoding reference screen data using the block data to be transmitted. As a result, the coded reference image data is updated only for the transmitted block.
追加ブロ ッ クデータ 生成手段 1 2 1 は、 前記決定された対象ブロ ッ ク数 に基づ いて、 送信手段 1 1 5 のデータ転送余裕度に余裕があるか否か判断する。 転送余 裕度に余裕あ り と判断 した場合 には、 前記符号化対象の画像データ の前記対象ブ ロ ッ ク 以外のブロ ッ ク データ をその ブロ ッ ク I D と と も に送信手段 1 1 5 に与え る。 送信手段 1 1 5 は、 与え ら れたブロ ッ ク I D と と も に前記追加ブロ ッ クデ一 夕 を送信する。  The additional block data generating means 122 determines whether there is enough data transfer margin of the transmitting means 115 based on the determined number of target blocks. If it is determined that there is enough transfer margin, the block data other than the target block of the image data to be encoded is transmitted together with the block ID of the block data. To give. The transmitting means 115 transmits the additional block data together with the given block ID.
また、 追加ブロ ッ ク データ生成手段 1 2 1 は、 送信手段 1 1 5 に与えた追加ブ ロ ッ ク データ につ いて、 これを 符号化した追加符号化データ と と も に各ブ ロ ッ ク I D ごと に分類し て記憶してお り、 さ ら に、 前記既に記憶し た追加ブロ ッ クデー 夕 と 同 じ ブロ ッ ク データ については、 こ の分類 に基づいて前記対象ブロ ッ ク以外 のブロ ッ ク について、 差分評価が小 さなブロ ッ クか ら優先的 に前記追加ブ ロ ッ ク データ を生成する。 追加符号化デー タ はそのブ ロ ッ ク I D と と も に, 送信手段 1 1 5 に与え ら れ、 送信 さ れる。  In addition, the additional block data generating means 121 generates each block of the additional block data provided to the transmitting means 115 together with the additional encoded data obtained by encoding the additional block data. Each block is classified and stored for each ID, and for the same block data as the already stored additional block data, the blocks other than the target block are based on this classification. For the blocks, the additional block data is preferentially generated from the blocks having a small difference evaluation. The additional encoded data is supplied to the transmitting means 115 together with the block ID and transmitted.
なお、 追加ブロ ッ ク デ一タ生成手段 1 2 1 は、 記 憶される 各ブ ロ ッ ク I D ごと の追加ブロ ッ クデータが予め決め ら れた数を越えた場合には、 記憶した頓番を記 憶しておき、 一番古い追加ブロ ッ ク データ を削除し て、 その領域に新たな追加ブ 口 ッ ク データ を記憶させる。 When the additional block data for each block ID exceeds a predetermined number, the additional block data generation means 121 stores the stored block number. The oldest additional block data is deleted and a new additional block is stored in that area. Remembers oral data.
また、 追加ブロ ッ ク データ生成手段 1 2 1 は、 送信手段 1 1 5 における伝送状 態を検知 して、 前記データ転送余裕度に余裕あ り と判断する よ う に しても よい。  Further, the additional block data generating means 122 may detect the transmission state of the transmitting means 115 and determine that the data transfer margin is sufficient.
また、 操作者によっ て指定さ れた特定領域のプロ ッ ク につ いて追加プロ ッ ク デ —タ を優先的に生成する よ う に して もょ レ  In addition, additional block data may be preferentially generated for blocks in a specific area specified by the operator.
1 - 2 )動画データ復号化装置 2 0 0 の機能ブロ ッ ク 図  1-2) Functional block diagram of video data decoding device 200
図 2 に示す動画データ復号化装置 2 0 0 は、 動画データ符号化装置 1 0 0 か ら 伝送された符号化データ を受信 して これを復号化す る装置であ る。  The moving image data decoding device 200 shown in FIG. 2 is a device that receives the encoded data transmitted from the moving image data encoding device 100 and decodes it.
受信手段 2 0 1 は、 伝送されたデータ を受信する。 符号化基準画像デー タ記憶 手段 2 0 5 は、 複数の画素にて構成 される一画面分の画像データ を符号化基準画 像データ と して記憶する。 復号化手段 2 1 2 は、 前記受信 し たデータ を復号化す る。 次 フ レーム画像データ生成手段 2 0 7 は、 前記 符号化基準画像データ および 前記復号化されたブロ ッ クデータ に基づき、 前記基準画像データ の次のフ レーム の画像データ を生成する。 判断手段 2 0 3 は、 前記受信 したデータ 中に、 前記符 号化さ れていないブロ ッ ク デー タお よびそのブ ロ ッ ク I Dが存在する場合 には、 こ の符号化さ れていな いブロ ッ クデータ を当該ブロ ッ ク I D の画像データ と して 次フ レーム画像データ生成手段 2 0 7 に与える。  The receiving means 201 receives the transmitted data. The encoding reference image data storage means 205 stores image data for one screen composed of a plurality of pixels as encoding reference image data. The decoding means 2 12 decodes the received data. The next frame image data generating means 207 generates image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data. If the unencoded block data and its block ID are present in the received data, the judging means 203 does not encode the unencoded block data. The next block image data is given to the next frame image data generating means 207 as the image data of the block ID.
追加ブロ ッ クデータ記億手段 2 2 3 は、 判断手段 2 0 3 が前記次フ レーム画像 データ 生成手段に与えたブロ ッ クデータ について、 これを符号化 した追加符号化 データ と と も に各ブロ ッ ク I D ごと に分類して記馇する。 復号化手段 2 1 2 は、 追加符号化データ が与え られる と、 この分類に基づいて追加ブロ ッ ク データ記憶 手段 2 2 3 に記憶した追加ブロ ッ ク データ によ っ て復号化する。  The additional block data storage means 223 outputs the block data provided by the determination means 203 to the next frame image data generation means together with the additional encoded data obtained by encoding the block data. Classify and record by ID. When the additional coded data is given, the decoding means 211 decodes the additional block data stored in the additional block data storage means 223 based on the classification.
追加ブ α ッ クデータ記憶手段 2 2 3 は、 記憶される各ブロ ッ ク I D ごと の追加 ブ ロ ッ ク データが予め決め られた数 を越えた場合に は、 記憶し た順番を記憶して お き、 一番古 い追加ブロ ッ クデータ を削除 して、 そ の領域に新たな追加ブ ロ ッ ク データ を記憶させる。  The additional block data storage means 222 stores the order of storage when the number of additional block data stored for each block ID exceeds a predetermined number. Then, the oldest additional block data is deleted and the new additional block data is stored in that area.
書換え手段 2 0 9 は、 前記符号化基準画面データ のブロ ッ ク データ を、 前記伝 送対象ブ□ ッ クデータ を用 いて書換える。  The rewriting means 209 rewrites the block data of the encoding reference screen data using the block data to be transmitted.
2 . 動画デー タ 符号化装置 1 0 0 2-1)ハー ド ウ エ ア構成 2. Video data encoder 1 0 0 2-1) Hardware configuration
図 3 に、 図 1 に示す動画デー タ 符号化装置 1 1 0 を C P Uを用 いて実現 したハ 一 ド ウ エア構成の一例 を示す。  FIG. 3 shows an example of a hardware configuration in which the moving picture data encoding device 110 shown in FIG. 1 is realized using a CPU.
動画データ 符号化装置 2 1 は、 C P U 2 3、 メモ リ 2 7、 ゾヽ一 ドディ ス ク 2 6、 C R T 3 0、 F D D 2 5、 キ一ポ一 ド 2 8、 伝送制御部 3 2 およびパス ライ ン 2 9 を備えている。  The video data encoding device 21 includes a CPU 23, a memory 27, a zone disk 26, a CRT 30, a FDD 25, a keypad 28, a transmission control unit 32, and a path. Line 29 is provided.
C P U 2 3 は、 ハー ドディ ス ク 2 6 に記憶さ れた制御プロ グラ ムに したがいパ ス ライ ン 2 9 を介 して、 各部を制御する。  The CPU 23 controls each unit via a pass line 29 in accordance with a control program stored in the hard disk 26.
こ の制御プロ グラム は、 F D D 2 5 を介して、 プロ グラ ムが記憶さ れた フ レキ シブルディ ス ク カゝ ら 読み出 されてハ一 ド.ディ ス ク 2 6 にイ ンス トールされたもの である。 なお、 フ レキ シブルディ ス ク以外に、 C D — R O M、 I Cカー ド 等のプ ロ グラ ムを実体的に一体化 した コ ン ピュータ可読の記憶媒体か ら、 ハー卞 デイ ス ク にイ ンス トールさせるよ う に して もよ い。 さ ら に、 通信回線を用いてダゥ ンロ 一 ドする よ う に して もよ レ 。  This control program is read out from the flexible disk card in which the program is stored via the FDD 25 and installed on the hard disk 26. It is. In addition to the flexible disk, a computer-readable storage medium, such as a CD-ROM or an IC card, which physically integrates a program, is installed on the Herbyon disk. You can do it. In addition, the download may be performed using a communication line.
本実施形態にお いては、 プロ グラ ム を フ レキ シブルディ ス ク か らハー ド ディ ス ク 2 6 にイ ンス ト ールさせる こ と に よ り、 フ レキシブルディ ス ク に記憶さ せたプ ロ グラ ム を間接的に コ ン ピュー タ に実行させる よ う に して い る。 しか し、 これに 限定さ れる こ とな く、 フ レキシ ブルディ ス ク に 記憶させたプロ グラム を F D D 2 5 か ら 直接的に実行するよ う に して もよ い。 なお、 コ ン ピュータ によ って、 実行 可能なプロ グラム と しては、 そのま まのイ ンス トールするだけで直接実行可能な も のはも ち ろん、 一旦他の形態等に変換が必要なも の (例え ば、 データ圧縮され ている ものを、 解凍する等) 、 さ ら には、 他の モジュール部分 と組合して実行可 能な も の も含む。  In this embodiment, the program stored in the flexible disk is installed by installing the program from the flexible disk to the hard disk 26. The program is indirectly executed by the computer. However, without being limited to this, the program stored in the flexible disk may be directly executed from FDD 25. The executable programs that can be executed by the computer are not only those that can be directly executed by simply installing them as they are, but also those that can be converted into other forms once. Necessary items (for example, decompressing data that has been compressed, etc.), and those that can be executed in combination with other module parts are also included.
メ モ リ 2 7 は、 比較ゾ、' ッ フ ァ 2 6 a , フ レー ムノ ツ フ ァ 2 6 b、 符号化データ バ ッ フ ァ 2 7 c を有する。 比較バ ッ フ ァ 2 6 a は、 後述する 符合化基準画像が記 惊される。 フ レームバ ッ フ ァ 2 6 b は、 符合化対象の 1 画面分の画像デー タが記 慷される。 符号化データバッ フ ァ 2 7 c は、 符合化 されたブロ ッ クデ一夕 を記憶 す る。 メ モ リ 2 7 には、 その他の演算結果等が一時記憶される。 C R T 3 0 には、 符号化前の動画データ等が表示され る。 伝送制御部 3 2 は、 有線または無線でデ — 夕 を送受信する。 The memory 27 has a comparison buffer, a buffer 26a, a frame notch buffer 26b, and an encoded data buffer 27c. In the comparison buffer 26a, an encoded reference image described later is written. The frame buffer 26b is useful for image data of one screen to be encoded. The encoded data buffer 27c stores the encoded block data. The other operation results and the like are temporarily stored in the memory 27. On the CRT 30, moving image data before encoding and the like are displayed. The transmission control unit 32 is a wired or wireless — Send and receive evenings.
2 - 2 )符号化回路 3 2  2-2) Encoding circuit 3 2
符号化回路 3 2 につ いて、 図 4 を用いて説明する。 符号化回路 3 2 は符号化処 理部 7 1、 コー ド ブッ ク記憶部 7 3、 一部書換部 7 5、 追加コー ドブ ッ ク 記憶部 7 7、 および追加処理部 7 9 を有 してレゝる。  The encoding circuit 32 will be described with reference to FIG. The encoding circuit 32 has an encoding processing section 71, a codebook storage section 73, a partial rewriting section 75, an additional codebook storage section 77, and an additional processing section 79. Reply
符号化処理部 7 1 は、 符号化対象のブロ ッ ク データが与え られる と > コ ー ドブ ッ ク記憶部 7 3 に記憶されたデータ に基づいて、 最 も一致するブロ ッ クデータの イ ンデッ ク ス番号に符号化を行な う。 こ の方法 につ いては、 従来のベク ト ル量子 化 と 同 じであ る。 そ し て、 標準符号化データ と して出力する。 なお、 後述するよ う に、 コー ド ブ ッ ク記憶部 7 3 には 1 0 2 8 種類の候補デ一夕が記憧されてお り、 図 4 に示すよ う に、 符号化処理部 7 1 は、 この 1 0 2 8 種類の候補データ にパラ レルに接続さ れてお り、 一度の処理で最も近い候補データ に 符号化を行な う こ と ができ る。  When the block data to be encoded is given, the encoding processing unit 71 performs indexing of the most matching block data based on the data stored in the codebook storage unit 73. Encodes the service number. This method is the same as the conventional vector quantization. Then, it is output as standard encoded data. As will be described later, the codebook storage unit 73 stores 128 kinds of candidate data, and as shown in FIG. 1 is connected in parallel to these 128 types of candidate data, and can encode the closest candidate data in a single process.
コー ド ブッ ク記憶部 7 3 につ いて、 図 5 を用 いて説明する。 コ ー ド ブッ ク記憶 部 7 3 は、 オ リ ジナル記惊部 4 1 およびブロ ッ ク別コー ド記憶部 4 2 を有 してい る。 オ リ ジナル記憶部 4 1 には、 元々定め られた符号化データ がそのイ ンデッ ク ス番号 と対応 して記憶される。  The codebook storage unit 73 will be described with reference to FIG. The codebook storage unit 73 has an original storage unit 41 and a block-specific code storage unit 42. The original storage unit 41 stores the originally determined coded data in association with the index number.
つぎに、 ブロ ッ ク別コー ド記 燎部 4 2 に書き込まれるデータ について説明する。 ブロ ッ ク別コ ー ド 記億部 4 2 に は、 一部書換部 7 5 によ っ て、 以下の様に して、 追加コ ー ドブ ッ ク 記憶部 7 7 に記憶されたデー タがブ口 ッ ク 毎に頫次書き換え ら れる。  Next, the data written to the block-specific code section 42 will be described. The data stored in the additional codebook storage unit 77 by the partial rewriting unit 75 as follows is stored in the block-by-block code storage unit 42 as follows. Primary rewrite for each block.
追加コー ド ブッ ク 記憶部 7 7 は、 図 6 に示すよ う に、 ブロ ッ ク番号毎に 4 つの ブロ ッ ク構成データ ( ヒ ス ト リ 番号 0 ~ 3 ) が記憶可能であ る。  As shown in FIG. 6, the additional codebook storage unit 77 can store four block configuration data (history numbers 0 to 3) for each block number.
一部書換部 7 5 は、 動作開始信号が与え られる と、 動作開始モー ド とな る。 一 部書換部 7 5 は、 動作開始モー ド にて、 ブロ ッ ク番号が与え ら れる と, 追加コ 一 ド ブッ ク 記憶部 7 7 か ら、 該当する ブロ ッ ク番号の ブロ ッ ク構成デ一夕 を読み出 し、 コ ー ドブッ ク 記憶部 7 3 のブロ ッ ク 別コー ド記憶部 4 2 に上書きする。 例え ば、 与え られたブ ロ ッ ク番号がブロ ッ ク 番号 「 0 0 」 である 場合には、 ブ ロ ッ ク 番号 「 0 0 」 の ヒ ス ト リ 番号 0 〜 3 に記憶されてい る ブロ ッ ク データ を読み出 し、 コ ー ド ブッ ク 記愴部 7 3 の ブロ ッ ク別 コ ー ド記憶部 4 2 に上書きする。 追加コー ド ブッ ク記憶部 7 7 へのデータ記慷手法につ いて説明する。 符号化処 理部 7 1 は、 コー ドブ ッ ク 記慷部 7 3 のオ リ ジナル記憶部 4 1 およびブロ ッ ク別 コ ー ド 記燎部 4 2 を参照して、 与え られた符号化参照データ が最も近いィ ンデッ ク ス番号を検索する。 そ し て、 これがイ ンデッ クス番号 0 〜 1 0 1 9 までのイ ン デッ ク ス番号に該当する場合に は、 標準符号化データ と して出力する。 ま た、 符 号化処理部 7 1 は、 追加処理部 7 9 に完全一致するイ ンデッ クス番号のブロ ッ ク 構成データがあ るか ど う か を判断 し、 一致する 場合には一致信号を追加処理部 7 9 に与え、 不一致の場合には不一致信号を与え る。 The partial rewriting unit 75 enters an operation start mode when an operation start signal is given. When a block number is given in the operation start mode, the partial rewriting unit 75 stores the block configuration data of the corresponding block number from the additional codebook storage unit 77. One night is read and overwritten in the block-specific code storage section 42 of the codebook storage section 73. For example, if the given block number is the block number “0 0”, the block numbers stored in the history numbers 0 to 3 of the block number “0 0” are used. Read the data, Codebook Overwrites the block-specific code storage section 42 of the pathological section 73. The following describes a convenient method for storing data in the additional codebook storage unit 77. The encoding processing unit 71 refers to the original storage unit 41 of the codebook useful unit 73 and the block-specific code storage unit 42 and provides a given encoding reference. Search for the index number with the closest data. If this corresponds to an index number from index numbers 0 to 109, it is output as standard encoded data. Also, the encoding processing unit 71 determines whether or not there is block configuration data of the index number that completely matches the additional processing unit 79, and if they match, it outputs a match signal. This signal is supplied to the additional processing unit 79, and if they do not match, a mismatch signal is given.
追加処理部 7 9 は、 動作開始信号が与え られる と、 動作開始モー ド とな る。 動 作開始モー ド にお いて不一致信号が与え られる と、 追加処理部 7 9 は、 追加コ一 ド ブッ ク記憶部 7 7 に対 し書き込み命令を行な う。 追加コ ー ド ブッ ク記億部 7 7 は書き込み命令が与え られる と、 その符号化対象ブロ ッ ク データ を追加コ ー ドブ ッ ク記慷部 7 7 に記億する。  When an operation start signal is given, additional processing section 79 enters an operation start mode. When a mismatch signal is given in the operation start mode, the additional processing unit 79 issues a write instruction to the additional codebook storage unit 77. When a write command is given to the additional codebook storage unit 77, the block data to be encoded is stored in the additional codebook useful unit 77.
すなわち、 符号化回路 3 2 は、 動作開始信号が与え られて いな い場合に は、 通 常のコー ドブッ ク 記憶部 7 3 の う ち のオ リ ジナル記憶部 4 1 か ら 読み出 し たプロ ッ ク構成データ の う ち、 一番マ ッ チ ングする も のを 符号化 して出力する。 一方、 動作開始信号が与え ら れる と、 追加 コ ー ド ブッ ク記憶部 7 7 は、 符号化対象プロ ッ クデ一タをブロ ッ ク番号毎に、 空 いている ヒ ス ト リ 番号に対応させて記憶する。 例えば、 ブロ ッ ク番号 「 0 0 」 のブ ロ ッ ク につ いて、 ヒス ドリ 番号 0 , 1 につ い て既に記憶されてい る 場合には、 ヒ ス ト リ 番号 2 に追加記憶される。  That is, when the operation start signal is not supplied, the encoding circuit 32 reads the program read from the original storage unit 41 of the ordinary codebook storage unit 73. Encode and output the one that matches the most of the block configuration data. On the other hand, when an operation start signal is given, the additional codebook storage unit 77 stores the block data to be encoded for each block number in correspondence with an available history number. Let me remember. For example, if the block with the block number “00” is already stored with the history numbers 0 and 1, it is additionally stored with the history number 2.
なお、 ヒス ト リ 番号 3 まですでに記憶されて いる 場合には、 一番古い ヒ ス ト リ 番号 0 のデータ が削除され、 そ こ に新し く 記憶する 追加コー ド ブ ッ ク が記憶され る。  If history number 3 has already been stored, the oldest data of history number 0 is deleted, and an additional code book to be newly stored is stored there. .
なお、 追加コー ド ブッ ク記憶部 7 7 は、 追加処理部 7 9 か ら 書き込み命令が与 え られな い限 り、 符号化対象ブロ ッ クデータが与え られても、 こ れが記憶される こ と はな い。  The additional code block storage unit 77 stores the block data to be encoded even if the block data to be encoded is provided, unless a write instruction is given from the additional processing unit 79. There is no.
また、 一部書換部 7 5 も 同様に動作開始信号が与え ら れて初めて、 追加コー ド ブッ ク 記僚部 7 7 の該当箇所を読み出 し てコー ドブ ッ ク 記燎部 7 3 に記愴する。 したがっ て、 符号化回路 3 2 は、 動作開始信号が与え ら れる か否かで、 そ の状態 が切換え られる こ と となる。 追加処理部 7 9 は、 符号化処理部 7 1 か ら不一致の デー タ が与え ら れる と, 符号化対象ブロ ッ クデータ をそのま ま出力する と と もに、 追加符号化データ が出力さ れる。 これによ り、 ある ブロ ッ ク につ いて 1 0 0 %— 致 して いない場合には、 そのブロ ッ ク のオ リ ジナルの画像データおよ びその符号 化データ (追加符号化データ) が符号化回路 3 2か ら 出力 さ れる。 Similarly, only when the operation start signal is given to the partial rewriting section 75, the relevant portion of the additional codebook clerk section 77 is read out and written to the codebook storage section 73. Be pathetic. Therefore, the state of the encoding circuit 32 is switched depending on whether or not the operation start signal is given. When the non-coincidence data is given from the encoding processing unit 71, the additional processing unit 79 outputs the block data to be encoded as it is, and outputs the additional encoded data. . As a result, if 100% of a block does not match, the original image data of the block and its encoded data (additional encoded data) are encoded. It is output from the conversion circuit 32.
2-3) フ ローチヤ一ト  2-3) Flow chart
2-3-1)伝送処理  2-3-1) Transmission processing
つぎに、 動画データ 符号化装置 1 0 0 の全体 フ ローチヤ一 ト について図 7 を用 いて、 説明する。  Next, an overall flow chart of the moving picture data encoding apparatus 100 will be described with reference to FIG.
まず、 C P U 2 3 は、 比較バ ッ フ ァ 2 7 a を初期化 し (図 7 ス テッ プ S T 1 ) 、 符号化対象画像データ が入力さ れたか否かを判断する (ス テ ッ プ S T 3 ) 。 符号 化対象画像データ が入力 されな い場合には、 処理を終了する。  First, the CPU 23 initializes the comparison buffer 27a (step ST1 in FIG. 7), and determines whether or not the encoding target image data has been input (step ST1). 3). If the encoding target image data is not input, the processing ends.
伝送制御部 3 1 を介して符号化対象画像データが入力された場合には、 C P U 2 3 は、 この符合化対象画燥データ をメ モ リ 2 7 の フ レームノ ツ フ ァ 2 7 b に記 憶し (ステッ プ S T 5 ) 、 決定処理対象ブロ ッ ク番号 i を初期化する (ス テッ プ S T 6 ) 。  When the encoding target image data is input via the transmission control unit 31, the CPU 23 writes the encoding target image data in the frame note buffer 27 b of the memory 27. Remembering (step ST5), the block number i to be determined is initialized (step ST6).
つぎに、 C P U 2 3 は、 最初の画像 ( 1 フ レーム 目) であ るか否かを判断する (ステ ッ プ S T 7 ) 。 こ の場合、 最初の画像である ので、 図 1 0 ステッ プ S T 3 0 に進み、 ブロ ッ ク データ に分割を行な う。 本実施形態にお いては、 図 8 に示す よ う に 1 画面分の画像データ を、 4 X 4 の 1 6 個の画素を構成する プロ ッ クデー タ に分割 した。  Next, CPU 23 determines whether or not it is the first image (the first frame) (step ST 7). In this case, since it is the first image, the process proceeds to step ST30 in FIG. 10 to divide the data into block data. In the present embodiment, as shown in FIG. 8, image data for one screen is divided into block data constituting 4 × 4 16 pixels.
つぎに、 ブロ ッ ク データ の符号化処理を行な う (ステ ッ プ S T 3 1 ) 。 この場 合、 最初の画像であ る ので、 全ブロ ッ ク データ につ いて、 符号化を行なう。 本実 施形態においては、 かかる符合化処理は、 図 5 に示すコー ド ブッ ク記憧部に記憶 された コー ド ブッ ク を用 いて図 4 に示す符号化処理部 7 1 によ っ てべク ト ル量子 化を行な う こ と によ り 行なった。  Next, the block data is encoded (step ST31). In this case, since this is the first image, encoding is performed on all block data. In the present embodiment, such encoding processing is performed by the encoding processing unit 71 shown in FIG. 4 using the codebook stored in the codebook storage unit shown in FIG. This was done by performing vector quantization.
つぎに, C P U 2 3 は、 フ レーム ノ ツ フ ァ 2 7 b に記憶さ れて いる第 1 フ レー ム 目の画像デ一タ を比較バッ フ ァ 2 7 a に上書きをする (図 7 ステッ プ S T 3 3 ) 。 これによ り, こ の第 1 フ レーム の画像データが、 比蛟バ ッ フ ァ 2 7 a に記憶され る。 Next, the CPU 23 overwrites the image data of the first frame stored in the frame notch 27b with the comparison buffer 27a (see FIG. 7). Step ST33). Thus, the image data of the first frame is stored in the buffer 27a.
また、 C P U 2 3 は, 符号化データノ、'ッ フ ァ 2 7 c に記憶した符号化データ を、 対応する ブロ ッ ク I D と と もに、 伝送制御部 3 2 を介 して送信を行な う (ステツ プ S T 2 7 ) 。 こ のよ う に して第 1 フ レームの画像デ一夕 が、 デ一夕 圧縮された 状態で送信される。  Also, the CPU 23 transmits the encoded data stored in the buffer 27c together with the corresponding block ID via the transmission control unit 32. (Step ST27). Thus, the image data of the first frame is transmitted in a compressed state.
つぎに、 第 2 フ レームの画像データが与え ら れた場合につ いて説明する。 C P U 2 3 は、 符号化対象画像デー タが入力されたか否かを判断 している (図 7 ステ ッ プ S T 3 ) 。 第 2 フ レームの画像データが入力さ れる と, 当該フ レーム の画像 データ を フ レームノ ツ フ ァ 2 7 b に記憶し (ス テッ プ S T 5 ) 、 決定処理対象ブ ロ ッ ク番号 i を初期化する (ス テッ プ S T 6 ) 。  Next, the case where the image data of the second frame is provided will be described. CPU 23 determines whether or not encoding target image data has been input (step ST 3 in FIG. 7). When the image data of the second frame is input, the image data of the frame is stored in the frame notch 27b (step ST5), and the block number i to be determined is initialized. (Step ST 6).
つぎに、 C P U 2 3 は、 最初の画像 ( 1 フ レーム 目) であ るか否かを-判断する (ステ ッ プ S T 7 ) 。 こ の場合、 最初の画像ではないので、 ステ ッ プ S T 9 に進 み、 当該フ レームノヽ' ッ フ ァ 2 7 b に記憶されている画像データをブロ ッ ク デ一夕 に分割する (ステッ プ S T 9 ) 。 かかる分割処理につ いては、 図 1 0 ステ ッ プ S T 3 0 と同様である ので説明は省略する。  Next, CPU 23 determines whether or not it is the first image (the first frame) (step ST 7). In this case, since the image is not the first image, the process proceeds to step ST9, and the image data stored in the frame buffer 27b is divided into block images (step ST 9). This division processing is the same as that in step ST30 of FIG. 10, and therefore the description thereof is omitted.
つぎに、 C P U 2 3 は、 追加処理対象ブロ ッ ク番号 h を初期化する (図 7 ステ ッ プ S T 1 1 ) 。 そ して、 C P U 2 3 は、 h番 目 のブロ ッ ク データ を読み出 して、 比較バ ッ フ ァ 2 6 a の h番目 の ブロ ッ ク データ と、 フ レームバッ フ ァ 2 6 b の h 番 目 の ブロ ッ クデータ との差分評価を求める。  Next, the CPU 23 initializes the block number h to be subjected to additional processing (step ST11 in FIG. 7). Then, the CPU 23 reads the h-th block data, and reads the h-th block data of the comparison buffer 26a and the h-th block data of the frame buffer 26b. Find the difference evaluation with the block data of the second.
こ の場合は、 追加処理対象ブ □ ッ ク番号 h = 0 である ので、 0 番目 のブロ ッ ク データ について, 比較バッ フ ァ 2 7 a に記憶さ れている第 1 フ レームの画像デ一 夕 の う ち、 フ レームノ、' ッ フ ァ 2 6 b の対応する ブロ ッ ク デー タ と の差分評価を演 算する。  In this case, since the block number h = 0 to be subjected to the additional processing, the image data of the first frame stored in the comparison buffer 27a for the 0th block data. In the evening, the difference between the frame data and the corresponding block data in the buffer 26b is calculated.
こ の差分評価は、 各対応画素毎の 濃度を比較する こ と によ っ て行なわれる。 具 体的には、 まず、 0 番 目 のブロ ッ ク デ一夕 の第 0 画素につ いて、 その差分データ の絶対値を求める。 例えば、 比蛟バ ッ フ ァ 2 6 a に記憶された 0 番目 のブ □ ッ ク データ の第 0 画素の濃度が 「 D 0 a」 で、 フ レームバッ フ ァ 2 6 b に記憶された 0 番目 の ブ ロ ッ クデータ の第 0 画素の 濃度が 「 D 0 b」 で ある 場合には、 0 番目 のブ ロ ッ ク データ の第 0 画素について、 その差分データ の絶対値は、 A B S ( This difference evaluation is performed by comparing the density of each corresponding pixel. Specifically, first, for the 0th pixel of the 0th block data, the absolute value of the difference data is obtained. For example, the density of the 0th pixel of the 0th block data stored in the relative buffer 26a is “D0a”, and the 0th pixel stored in the frame buffer 26b is “0”. If the density of the 0th pixel of the block data is “D0b”, the 0th block For the 0th pixel of the lock data, the absolute value of the difference data is ABS (
D 0 a- D 0 b) で表さ れる。 なお、 ABS O は、 () 内の絶対値を求める 演算を表 す。  D0a-D0b). Note that ABS O indicates an operation to find the absolute value in parentheses.
同様に して、 つぎの第 1 画素の差分データ の絶対値を求める。 これを 1 6 個の 画素について求め、 すべて を総計する。 こ の総計値が当該ブロ ッ クデータ の差分 評価と なる。  Similarly, the absolute value of the next difference data of the first pixel is obtained. This is obtained for 16 pixels, and all are summed. This total value is the difference evaluation of the block data.
つぎに、 C P U 2 3 は、 全ブ ロ ッ ク データ について、 差分評価の演算を終了 し たか否かを判断する (ステ ッ プ S T 1 5 ) 。 こ の場合は、 0 番目 のブロ ッ クデー 夕 につ いてのみ、 評価値の演算が行なっ ただけであ るので、 追加処理対象ブロ ッ ク番号 h をイ ンク リ メ ン ト し ( ステ ッ プ S T 1 7 ) 、 ステ ッ プ S T 1 3 か ら ステ ッ プ S T 1 5 の処理を繰 り 返す。 ス テッ プ S T 1 5 にて全ブロ ッ クデータ の差分 評価が求めたと判断し た場合に は、 図 1 0 ステ ッ プ S T 2 1 に進み、 符号化する ブ ロ ッ ク 番号を決定する。 例えば、 図 9 に示すよ う にブロ ッ ク A Q 0の評価値が 「 0 」 、 ブロ ッ ク A 01の評価値が 「 0」 、 ブロ ッ ク A02の評価が 「 1 0」 、 プロ ッ ク A 03の評価が 「 2 0 」 · · · である場合に、 以下のよ う に して符号化するブ Π ッ ク番号が決定される。  Next, the CPU 23 determines whether or not the difference evaluation operation has been completed for all the block data (step ST15). In this case, since the evaluation value has been calculated only for the 0th block day, the block number h to be added is incremented (step ST 17), and repeats the processing from step ST 13 to step ST 15. If it is determined in step ST15 that the difference evaluation of all block data has been obtained, the process proceeds to step ST21 of FIG. 10 to determine the block number to be encoded. For example, as shown in Fig. 9, the evaluation value of block AQ0 is "0", the evaluation value of block A01 is "0", the evaluation value of block A02 is "10", and the If the evaluation of A03 is “20”, the block number to be encoded is determined as follows.
C P U 2 3 は、 ブロ ッ ク デー タの う ち大きな評価値を有する ブロ ッ ク を、 所定 の数だけ傾次抽出する。 こ の実施形態にお いて は、 全ブロ ッ ク の う ち評価値の大 きな も のから 5 0 ブロ ッ ク を選択するよ う に し た。 図 9 に示すブロ ッ ク番号 A 03、 ブ ロ ッ ク 番号 A 13、 ブロ ッ ク番号 A i3が一番大 き く、 ブロ ッ ク番号 Α Πがその次 に大き い場合には、 符号化する ブロ ッ ク デ一夕 の 5 0 個の う ち の 4個のブ ロ ッ ク データ と して決定 さ れる。  The CPU 23 gradiently extracts a predetermined number of blocks having a large evaluation value from the block data. In this embodiment, 50 blocks are selected from all blocks having the largest evaluation value. If the block number A03, block number A13, and block number Ai3 shown in Fig. 9 are the largest, and the block number Α Π is the next largest, then encode The block data to be determined is determined as four block data out of the 50 blocks in one night.
C P U 2 3 は、 当 該符号化す る対象と して決定 したブロ ッ ク データ につ いて、 符号化処理を行な う (ステッ プ S T 2 3 ) 。 かかる 符号化処理は、 ステッ プ S T 3 1 で説明 したの と 同様である ので説明は省略する。  The CPU 23 performs an encoding process on the block data determined to be encoded (step ST23). Such an encoding process is the same as that described in step ST31, and a description thereof will be omitted.
つぎに、 C P U 2 3 は、 ステ ッ プ S T 2 1 に て符号化対象と して決定 し たブロ ッ ク データ に対応する 画素のみ、 比較バッ フ ァ 2 7 a に記憶されてい る画像デー 夕 が更新される (ステ ッ プ S T 2 5 ) 。 この場合、 全ブロ ッ ク データ の う ち 5 0 ブロ ッ ク デ一夕 を符合化対象と してので、 全ブ ロ ッ クデータ の う ち、 5 0 ブロ ッ ク デ一夕 に対応する画素のみ、 比較バッ フ ァ 2 7 a に記億さ れて いる 画像データ が更新 される。 Next, the CPU 23 determines only the pixels corresponding to the block data determined as the encoding target in step ST21 and stores the image data stored in the comparison buffer 27a. Is updated (step ST25). In this case, since 50 blocks of all block data are to be encoded, 50 blocks of all block data are to be encoded. The image data stored in the comparison buffer 27a is updated only for the pixel corresponding to the first night.
つぎに、 C P U 2 3 は、 符号化 したブロ ッ ク データのみ送信する (ステ ッ プ S T 2 7 ) 。 こ の場合は、 符号化 したブロ ッ クデータ は、 ステ ッ プ S T 2 1 にて符 号化対象となっ たブロ ッ クデー タ のみであるので、 第 1 フ レ ーム 目 と異な り、 第 2 フ レームにつ いては異なる部分のブロ ッ ク に対応する画素データのみがデータ 圧縮さ れて, そのブロ ッ ク I D と と もに、 送信される こ と となる。  Next, CPU 23 transmits only the encoded block data (step ST 27). In this case, the coded block data is only the block data to be coded in step ST21, and therefore, unlike the first frame, As for the frame, only the pixel data corresponding to the block in the different part is compressed and transmitted together with the block ID.
以下、 第 3 フ レーム、 第 4 フ レーム ' · ' についても、 同様に、 その時の比較 バ ッ フ ァ 2 6 a の画像 と異なる 部分のブ□ ッ ク に対応する画像データ のみが、 デ —夕圧縮されてそのブ ロ ッ ク I D と と も に、 送信さ れる。 そ して, つ ぎの フ レ一 ム のために比較バ ッ フ ァ 2 6 a には伝送さ れた ブロ ッ ク に属する画素 に対応する 画素のみが、 更新さ れる こ と と なる。 - こ のよ う に、 本実施形態にお いては、 第 1 フ レーム と異な る ブ ロ ッ クデータが すべて送信さ れる のではな く、 評価値の高い も のの一定の範囲のブロ ッ ク につい てのみ、 データ 符号化およびデータ 転送が行なわれる。  Hereinafter, similarly, for the third frame and the fourth frame '·', only the image data corresponding to the block different from the image of the comparison buffer 26a at that time is de- It is compressed and transmitted with its block ID. Then, for the next frame, only the pixels corresponding to the pixels belonging to the transmitted block are updated in the comparison buffer 26a. -As described above, in the present embodiment, not all block data different from the first frame are transmitted, but a certain range of blocks having a higher evaluation value. Only for, data encoding and data transfer are performed.
したがって、 画面上に速 く 移動する物体とゆ つ く り と移動する物体があ る場合 に、 前者につ いては各フ レ一ム にて送信される のに対して、 後者については、 あ る程度の距離、 動いた場合に、 各ブロ ッ クデータ における差分評価値が大 き く な つ て、 初めてデータ が送信される。 すなわち、 このよ う な動きが遅い もの につい ては、 評価値が小さ く なる可能性が大き いの で、 あ る程度移動量が大き く なつ た 場合に のみ、 転送がな される こ と と なる。  Therefore, when there are fast-moving and slow-moving objects on the screen, the former is transmitted in each frame, whereas the latter is transmitted in each frame. The data is transmitted for the first time when the difference evaluation value in each block data becomes large when it moves by a certain distance. In other words, for such slow-moving objects, there is a high possibility that the evaluation value will be small, so that the transfer is performed only when the amount of movement has increased to a certain extent. Become.
こ のよ う に変化の遅い物体については何フ レーム分か遅れて、 は じめて画像デ 一 夕 と して移動する よ う に伝送が行なわれる。  Such slow-changing objects are transmitted such that they move as image data for the first time with a delay of several frames.
こ のよ う に、 速 く 移動する も の に ついては、 ブロ ッ ク データ の評価値が大き く なる。 これに対し て、 遅 く 移動する ものについては、 何フ レーム分かデー タが移 動せず、 同 じデータ が続く ので評価値が小さ く なる。 従っ て、 速 く 動 く も の と、 ゆ つ く り 動く ものが 1 つの画面上に ある場合に は、 速 く 動 く も のが停止 し た場合 に符号化対象のブロ ッ ク と して送信がなされる。  As described above, the evaluation value of the block data for a moving object that moves quickly is large. On the other hand, for those that move slowly, the data does not move for some frames, and the same data continues, so the evaluation value decreases. Therefore, if a fast-moving object and a slow-moving object are on one screen, if the fast-moving object stops, it will be a block to be encoded. A transmission is made.
なお、 速く 動く もの と、 ゆっ く り 動く ものが 1 つ の画面上に あ り、 速 く 勳く も のが停止 しな い場合であっ ても、 以下の様に して、 ゆ っ く り と移動する も のに該 当する ブロ ッ ク が伝送対象 とな る こ と も あ る。 In addition, one that moves fast and one that moves slowly are on one screen. Even if the block does not stop, the block corresponding to the one that moves slowly as described below may be the target of transmission.
本実施形態にお いては、 比蛟バッ フ ァ 2 6 a の符合化基準画像データ は、 符合 化 し て伝送 した画素のみが更新 され、 フ レームゾ、'ッ フ ァ 2 6 b に記憧された 1 フ レーム分の画素データ がすべて伝送されるわけではない。 すなわち、 比較バッ フ ァ 2 6 a には、 その前のフ レー ムの画像データ が記惊される のではな く、 結果的 に伝送 した こ と となる画像デー タが記憶さ れる こ と となる。 この様な状況 におい ては、 移動速度が遅く、 ほんの少しずつ しか移動していない画像データであ り、 他に移動速度の速い物体が存在する 場合であつ ても、 移動速度の遅い部分 につい ては、 比較バ ッ フ ァ 2 6 a が書き換え られない こ と となる。 しか し、 前記差分評 価値は、 比較バ ッ フ ァ 2 6 a のデータ と フ レームバ ッ フ ァ 2 6 b のデータ とを比 ベて求め られる。 こ のよ う に、 比較バッ フ ァ 2 6 a が書き換え ら れな レ こ と との 関係で、 移動速度が遅 く て も、 符号化対象のブ ロ ッ ク と して决定される こ と もあ る。  In the present embodiment, the encoded reference image data of the comparative buffer 26a is updated only for the pixels that have been encoded and transmitted, and is stored in the frame buffer and the buffer 26b. Not all pixel data for one frame is transmitted. In other words, the comparison buffer 26a does not record the image data of the previous frame, but stores the image data that is to be transmitted as a result. Become. In such a situation, the image data has a slow moving speed and moves only little by little, and even if there are other fast moving objects, the moving speed is low. Means that the comparison buffer 26a cannot be rewritten. However, the difference evaluation is obtained by comparing the data of the comparison buffer 26a and the data of the frame buffer 26b. In this way, because the comparison buffer 26a is not rewritten, even if the moving speed is slow, it is determined to be a block to be encoded. There is also.
これによ り、 動画データのう ち、 人間がよ く 認識する動き、 すなわち、 大き く 速く 動 く 部分につ いて伝送され、 移動の向きが入れ替わ り、 いわゆるち ら ち ら動 く 物体についてはあま り 伝送さ れな い こ と とな る。 また、 遅 く 移動する も のが速 く 移動する もの と 同 じ画面に存在す る場合であ っ て も、 あ る程度以上動けば、 移 動物体 と して伝送処理がなされる。  As a result, of the video data, movements that are well recognized by humans, that is, the parts that move large and fast, are transmitted and the direction of movement is switched, so-called flickering objects. Are not transmitted much. In addition, even if the moving object is moving slowly, the moving process is performed as a moving object even if the moving object is present on the same screen as the moving object.
2 - 3 - 2 )割込み処理  2-3-2) Interrupt processing
つぎに、 割込み処理につ いて説明する。 C P U 2 3 は、 所定時間 ごと に、 転送 余裕があ るか否かを判断する (図 1 1 ステッ プ S T 3 1 ) 。 本実施形態において は、 前記所定時間 を 1 6 0 秒と し た。 転送余裕がない場合には、 当 該割込み処 理を終了する。  Next, the interrupt processing will be described. The CPU 23 determines, at predetermined time intervals, whether or not there is a transfer margin (step ST31 in FIG. 11). In the present embodiment, the predetermined time is set to 160 seconds. If there is no transfer margin, the interrupt processing ends.
本実施形態においては、 図 1 2 に示すよ う にブロ ッ ク別差分評価 ごとにブロ ッ ク 総数の ヒス ト グラム を作成し、 その分布特性に基づいて、 物体があ ま り 動かな い場合には、 転送余裕であ る と判断する よ う に した。  In the present embodiment, as shown in FIG. 12, a histogram of the total number of blocks is created for each block difference evaluation, and based on the distribution characteristics, the object does not move much. First, it was decided that there was room for transfer.
なお、 図 1 2 A に示す分布データ は、 物体があま り 動かないよ う な場合であ り、 ブロ ッ ク別差分評価が 「 1 6 」 よ り も大きなブロ ッ ク別差分評価を持つブロ ッ ク がほ と んどない、 と い う分布を示 してい る。 一方、 図 1 2 B に示す分布データは 物体が大き く 動 く よ う な場合であ り、 ブロ ッ ク 別差分評価が 「 0 」 カゝ ら 「 2 5 5 」 にその ブロ ッ ク 総数も適度にち ら ばっ て い る。 Note that the distribution data shown in Fig. 12A is for a case where the object does not move very much, and the block-by-block difference evaluation has a block-by-block difference evaluation larger than "16". Ok It shows that there is almost no distribution. On the other hand, the distribution data shown in Fig. 12B is for the case where the object seems to move greatly, and the difference evaluation for each block is from "0" to "255", and the total number of blocks is also shown. Moderately stray.
こ のよ う に して得 られた分布データ は、 動き傾向 に応 じてその分布特性が異な る。 し たがっ て、 分析すべき移動物体の分布パ ター ンを複数記憶しておき、 いず れのパ 夕一ン に 当てはまるか否か判断する こ と によ り、 分布特性を推定す る こ と ができ る。  The distribution data obtained in this way has different distribution characteristics depending on the movement tendency. Therefore, the distribution characteristics are estimated by storing a plurality of distribution patterns of the moving object to be analyzed and determining whether or not the pattern is applicable to any one of the patterns. Can be done.
なお、 この分布データ を時系列で参照する こ とによっ て、 分布データの傾向が 変わっ た場合には物体の動き傾向が変化 したと判断する こ と もできる。  By referring to this distribution data in a time series, when the tendency of the distribution data changes, it can be determined that the movement tendency of the object has changed.
なお、 上記実施形態においては、 ブロ ッ ク別差分評価 ごと に ヒ ス ト グラ ムを作 成 した。 し力ゝ し、 これに限定さ れず、 各ブロ ッ ク評価値につ いてそのブロ ッ ク総 数を 縦軸に し、 ブロ ッ ク別差分評価を横軸に し た折れ線グラ フ を作成 し、. このグ ラ フ を表す演算式を分布データ と し て記憶する よ う に して もよ い。 例えば、 ガウ ス分布に近似の分布データが得 られた場合には、 Y 二 E a x Z E d xで表すこ とがで き る。 また, ガウ ス分布以外に二項分布の演算式の係数と してその係数を記馇す る よ う に して もよ い。  In the above embodiment, a histogram is created for each block-based difference evaluation. However, the present invention is not limited to this, and for each block evaluation value, a line graph is created with the total number of blocks on the vertical axis and the difference evaluation for each block on the horizontal axis. An arithmetic expression representing this graph may be stored as distribution data. For example, when distribution data approximate to the Gaussian distribution is obtained, it can be represented by Y2EaxZEdx. In addition to the Gaussian distribution, the coefficient may be described as a coefficient of an arithmetic expression of a binomial distribution.
こ のよ う に、 演算式の係数に よ っ て、 分布特性を記憶する こ と によ って、 パラ メ ータ を参照する だけで、 移動物体の動き傾向 を知る こ とができる。 例え ば、 ガ ウ ス分布において係数 ; i があま り変わ らないう ちは、 変化が小さ いもの と判新し、 係数 a が変わっ た場合にはこれを物体を大き く 動いたと判断 して もよ レ 。  In this way, by storing the distribution characteristics according to the coefficients of the arithmetic expression, the movement tendency of the moving object can be known only by referring to the parameters. For example, if the coefficient i in the Gaussian distribution does not change much, it is judged that the change is small, and if the coefficient a changes, it is determined that the object has moved greatly. It is good.
C P U 2 3 は、 ステ ッ プ S T 3 1 にて転送余裕有 り と判断 した場合は、 符号化 回路 3 2 へ動作開始信号を出力する (図 1 1 ス テッ プ S T 3 3 ) 。 これに よ り、 図 4 に示す追加処理部 7 9 およ び一部書換部 7 5 が動作開始モー ド となる。  If the CPU 23 determines in step ST31 that there is a transfer margin, it outputs an operation start signal to the encoding circuit 32 (FIG. 11: step ST33). As a result, the additional processing unit 79 and the partial rewriting unit 75 shown in FIG. 4 enter the operation start mode.
つぎに、 C F U 2 3 は、 符号化回路 3 2 へ、 〖 番 目 の符号化対象データ をその ブロ ッ ク番号と と も に出力する (ス テッ プ S T 3 5 ) 。 これによ り、 符号化回路 3 2 は既に説明 し たよ う に、 一部書換部 7 5 が追加 コー ド ブ ッ ク 記憶部 7 7 に記 憶された迫加ブ Π ッ ク データ を読み出 し, コー ドブ ッ ク 記憶部 7 3 のブロ ッ ク別 コ ー ド 記憶部 4 2 を書きかえる。  Next, the CFU 23 outputs the 対 象 th data to be encoded, together with its block number, to the encoding circuit 32 (step ST35). As a result, the encoding circuit 32 reads the additional block data stored in the additional codebook storage section 77 by the partial rewriting section 75 as described above. Then, rewrite the block-specific code storage section 42 of the codebook storage section 73.
初期状態では、 図 6 に示すよ う に ブロ ッ ク構成データ が全て空であるので、 コ — ド ブ ッ ク記億部 7 3 は、 図 5 に示す状態 と同 じ伏態で符号化処理部 7 1 によつ て符号化処理が行なわれる。 In the initial state, the block configuration data is all empty as shown in Fig. 6, so — Encoding process is performed by the encoding processing unit 71 in the same way as the state shown in FIG.
また、 追加処理部 7 9 は、 オ リ ジナルの符号化対象ブロ ッ クデータ と 1 0 0 % 一致するかど う かを判断する。 不一致の場合には. 追加処理部 7 9 は、 追加コー ド ブッ ク記憶部 7 7 に書き込み命令を与える。  Further, the additional processing unit 79 determines whether or not the original block data to be encoded matches 100%. In the case of a mismatch. The additional processing section 79 gives a write instruction to the additional codebook storage section 77.
追加コ一 ド ブッ ク記憶部 7 7 には、 該当する 符号化対象ブロ ッ クデータ とブロ ッ ク番号が与え ら れて いる ので、 当 該符号化対象ブロ ッ クデータ がそのブロ ッ ク 番号 と と も に記憶される。 例え ば、 ブロ ッ ク番号 「 0 0 」 、 ブロ ッ ク構成データ 「 0 0 0 1 0. . . 0 j が与え られた場合、 図 1 3 に示すよ う に、 ブロ ッ ク番号 「 0 0 」 、 ヒ ス ト リ 番号 「 0 」 、 ブロ ッ ク 構成データ 「 0 0 0 1 0. . . 0 」 が 記憶さ れる。  Since the corresponding block data to be encoded and the block number are given to the additional code block storage unit 77, the block data to be encoded is stored in the block number and the block number. Is also memorized. For example, if the block number “0 0” and the block configuration data “0 0 0 1 0... 0 j” are given, as shown in FIG. 13, the block number “0 0” , The history number “0”, and the block configuration data “0 0 0 1 0... 0” are stored.
さ ら に、 追加処理部 7 9 はこ の書き込み命令 と と も に、 符号化対象ブロ ッ クデ —夕 を出力する と と も に、 その ブロ ッ ク番号お よびヒス ト リ 番号を追加符号化デ —タ と して出力する。 この追加 符号化データお よび符号化対象ブロ ッ クデータ は、 伝送制御部 3 1 を介 して送信さ れる。 なお、 送信の隙には、 オ リ ジナルの画像デ 一夕 である こ とが判別でき る判別子等を付加 し て送信する よ う にすればよ い。 つぎに、 C P U 2 3 は、 最終ブロ ッ ク か否か を判断 し (ス テッ プ S T 3 7 ) 、 最終ブ ロ ッ ク でない場合には、 決定処理対象ブ ロ ッ ク番号 i をィ ンク リ メ ン ト し In addition, the additional processing section 79 outputs the block number to be encoded—even with the write instruction, and adds the block number and the history number to the additional code. Output as coded data. The additional encoded data and the block data to be encoded are transmitted via the transmission control unit 31. Note that a discriminator or the like for discriminating that this is an original image data may be added to the transmission gap and then transmitted. Next, the CPU 23 determines whether or not the block is the final block (step ST37). If the block is not the final block, the block number i for the block to be determined is linked. Comment
(ステ ッ プ S T 3 9 ) 、 動作開始信号の出力を 中止する (ス テッ プ S T 4 3 ) 。 そ して、 割込み処理が終了する。 (Step ST39), the output of the operation start signal is stopped (Step ST43). Then, the interrupt processing ends.
かか る割込み処理は、 所定期 間経過後、 定期的に行なわれる。 そ して、 現在、 転送余裕があ る場合に は、 決定処理対象ブロ ッ ク番号 i がイ ンク リ メ ン ト されて い る ので、 つ ぎのブロ ッ ク につ いてオ リ ジナルの画像データ を送るか否か を判断 する。  Such interrupt processing is performed periodically after a predetermined period has elapsed. If there is a transfer margin at present, since the block number i to be determined has been incremented, the original image data is obtained for the next block. Judge whether or not to send.
こ の よ う な割込み処理が行なわれる こ とによ り、 図 4 に示すコ ー ド ブッ ク記憶 部 7 3 には、 イ ンデッ ク ス番号 と し てブロ ッ ク 番号およびヒ ス ト リ 番号が付与さ れたブロ ッ ク構成データが、 ブロ ッ クが切替わ る毎に迫加コ ー ド ブッ ク記憶部 7 7 か ら読み出され、 書換え られる こ と となる。 こ の よ う な処理を最終ブロ ッ ク ま で所定時間毎に繰返 し、 最終ブ ロ ッ ク になっ た場合には、 ス テ ッ プ S T 3 7 にて ス テッ プ S T 4 1 に進み、 決定処理対象ブロ ッ ク番号 i を初期化する。 こ れによ り、 0 番目 のブロ ッ ク につ いての処理が行なわれる。 By performing such an interrupt process, the codebook storage unit 73 shown in FIG. 4 stores the block number and the history number as the index number. The block configuration data to which is added is read out from the additional codebook storage unit 77 every time the block is switched and rewritten. Such a process is repeated at predetermined time intervals until the final block, and when the final block is reached, in step ST37. Proceeding to step ST41, block number i for decision processing is initialized. As a result, the processing for the 0th block is performed.
なお、 一度送信されたブ ロ ッ ク構成データ については、 イ ンデ ッ ク ス番号と し てのブロ ッ ク番号およ びヒ ス ト リ 番号が付与さ れる。 したがっ て、 2 度目以降の 画像データ の伝送につ いては、 前記ィ ンデッ ク ス番号を送信する だけでよ い。 すなわち、 図 4 に示すブ ロ ッ ク別コー ド記焙部 4 2 には、 追加 コー ド ブッ ク記 憶部 7 7 の該当 ブロ ッ ク番号のデータが読み出される こ と となる ので、 も し静止 データ である場合には、 符号化処理部 7 1 は 1 0 0 % の一致度と の結果を出力す る。 し たがっ て、 追加処理部 7 9 は追加コー ド ブッ ク 記憶部 7 7 に書き込み命令 を与えず、 ま た、 符号化対象ブロ ッ ク デ一夕 も出 力 し な い。 追加符号化データ Γ 0 0 - 0 J を出力するだけである。 なお、 追加符号化データ 「 0 0 — 0 」 とは, ブロ ッ ク番号 「 0 0 」 、 ヒ ス ト リ 番号 「 0 」 と して追加コ一 ドブッ ク 記燎部 7 7 に記億されてい る ブ口 ッ ク構成データ を意味する。  The block configuration data transmitted once is assigned a block number and a history number as an index number. Therefore, for the transmission of image data for the second and subsequent times, it is only necessary to transmit the index number. That is, the data of the corresponding block number of the additional codebook storage unit 77 is read out to the block-by-block code storage unit 42 shown in FIG. 4. If the data is still data, the encoding processing unit 71 outputs a result of 100% coincidence. Therefore, the additional processing unit 79 does not give a write instruction to the additional codebook storage unit 77, and does not output the block data to be encoded. It only outputs additional coded data Γ 0 0-0 J. The additional encoded data “0 0 — 0” is stored in the additional codebook storage section 77 as the block number “00” and the history number “0”. Means block configuration data.
こ のよ う に、 静止部分につい ては一度オ リ ジナルの画像データ を送信す る際、 ブロ ッ ク番号 とその ヒ ス ト リ 番号を記憶して、 これを付加 して送信 してい るので, 2 回 目 以降はブ Π ッ ク 番号 と ヒ ス ト リ 番号を送信す るだけで、 オ リ ジナルの画像 デ一夕 を送信す る必要がな く な る。 これによ り、 画質を向上 させる と と も にデー タ圧縮率の高い伝送方法を実現する こ とができ る。  In this way, when the original image data is transmitted once for the stationary part, the block number and its history number are stored and added, and then transmitted. , From the second time on, only the block number and history number need to be sent, eliminating the need to send the original image data. As a result, it is possible to improve the image quality and to realize a transmission method with a high data compression rate.
また、 本実施形態においては、 追加コー ドブ ッ ク 記憶部 7 7 に、 各プロ ッ ク毎 に、 4 つのブロ ッ ク構成データ を記憶するよ う に している が、 メ モ リ 領域 に余裕 があ る 場合には、 これを多めに設ける こ と によ り、 オ リ ジナルの画像デー タその も のを送る回数を減 ら すこ とができ る。  Further, in the present embodiment, four block configuration data are stored in the additional codebook storage unit 77 for each block, but there is a margin in the memory area. If there is, by providing more, it is possible to reduce the number of times of sending the original image data itself.
3 . 動画データ復号化装置 2 0 0 3. Video data decoding device 2 0 0
3 - ハー ド ウェ ア構成  3-Hardware configuration
つぎに、 復号化装置 2 0 0 に つい て説明する。 動画データ復号化装置 2 0 0 の ハー ド ウエア構成につ いては、 動画データ 符号化装置 1 0 0 と ほ ぼ同様であ り、 符号化回路 3 2 の代わ り に復号化回路 3 4 が設 けら れている。  Next, the decoding device 200 will be described. The hardware configuration of the moving picture data decoding apparatus 200 is almost the same as that of the moving picture data coding apparatus 100, and a decoding circuit 34 is provided instead of the coding circuit 32. It has been criticized.
なお、 符号化データバッ フ ァ 2 7 c は、 受信 した 符合化さ れた ブロ ッ ク データ が記憶さ れる。 比較バッ フ ァ 2 6 a は、 不要で ある。 フ レームバ ッ フ ァ 2 6 b に は、 復号化さ れた 1 画面分の画像デ一夕 が記懂される。 フ レームバ ッ フ ァ 2 6 b は、 後述する よ う に順次復号化 されたブロ ッ ク デ一 タ によ っ て順次、 書換え られ る。 The coded data buffer 27c stores the received coded block data. The comparison buffer 26a is not required. Frame buffer 26b Indicates the decoded image data for one screen. The frame buffer 26b is sequentially rewritten by sequentially decoded block data as described later.
3 - 2 )復号化回路 3 4  3-2) Decoding circuit 3 4
復号化回路 3 4 の復号化構成について図 1 6 を用 いて説明する。 復号化回路 3 4 は、 コー ド ブッ ク 記憶部 7 3、 一部書換部 7 5、 追加コ ー ド ブ ッ ク記憶部 7 7 、 追加処理部 7 9、 受信データ判断部 8 0、 およ び復号化処理部 8 2 を有し ている。 コ ー ド ブッ ク 記愴部 7 3 , —部書換部 7 5、 追加コ 一 ド ブ ッ ク 記憶部 7 7、 追加 処理部 7 9 につ いては、 ほぽ同様の処理が行なわれる。  The decoding configuration of the decoding circuit 34 will be described with reference to FIG. The decoding circuit 34 includes a codebook storage unit 73, a partial rewriting unit 75, an additional codebook storage unit 77, an additional processing unit 79, a reception data determination unit 80, and And a decryption processing unit 82. The codebook storage section 73, the section rewriting section 75, the additional codebook storage section 77, and the additional processing section 79 perform almost the same processing.
受信データ判断部 8 0 は、 オ リ ジナルの画像データが付加されたデータ である か否か を判断する。 これは、 例 えば、 送信の際 に付加された判別子が存在するか 否かを判断するよ う にすればよ い。 .  The reception data judgment unit 80 judges whether or not the original image data is added data. This can be done, for example, by determining whether or not a discriminator added at the time of transmission exists. .
オ リ ジナルの画像データが付加されている場合には、 受信データ判断部 8 0 は 追加処理部 7 9 および一部書換部 7 5 に対し動作開始信号を与え る。 これによ り、 追加処理部 7 9 および一部書換部 7 5 は、 動作開始信号によ っ て動作開始モー ド となる。 動作開始モー ド におい ては、 追加処理部 7 9 は、 追加コ ー ド ブッ ク記憶 部 7 7 に与え られてい る符号化デ一 タおよびそのオ リ ジナル画像データを、 プロ ッ ク番号 ごと に追加コ ー ド ブッ ク記 憶部 7 7 に記憶させる。 こ の処理によ り、 動 画データ復号化装置 2 0 0 に、 動画デ一夕符号化装置 1 0 0 と 同 じ候補データが 追加さ れる。 また、 一部書換部 7 5 は、 与え ら れたブロ ッ ク番号 に基づいて、 動 画データ 符号化装阖 1 0 0 と同様に、 追加コー ドブッ ク 記憶部 7 7 に記憧されて い る 該当 ブロ ッ ク番号のデータ を読み出 し、 コ ー ド ブッ ク記憶部 7 3 のブ α ッ ク 別 コー ド記憶部 4 2 に書き込み を行な う。  When the original image data is added, the reception data judgment unit 80 gives an operation start signal to the additional processing unit 79 and the partial rewriting unit 75. Thus, the additional processing unit 79 and the partial rewriting unit 75 enter the operation start mode in response to the operation start signal. In the operation start mode, the additional processing unit 79 stores the coded data and its original image data provided to the additional codebook storage unit 77 for each block number. Store it in the additional codebook storage unit 7 7. By this processing, the same candidate data as in the moving picture data encoding apparatus 100 is added to the moving picture data decoding apparatus 200. In addition, the partial rewriting unit 75 is attracted to the additional codebook storage unit 77 as in the video data encoding device 100 based on the given block number. The data of the corresponding block number is read and written to the block-specific code storage section 42 of the codebook storage section 73.
復号化処理部 8 2 は, コー ド ブッ ク記憶部 7 3 のオ リ ジナル記憶部 4 1 に記憶 されたイ ンデッ ク ス番号のデータ に ついては、 その まま復号化を行ない、 ブロ ッ ク別コ ー ド記憶部 4 2 の領域に一部書換部 7 5 か ら 書き込まれたデータ に 関 して も 同様に、 該当する ブロ ッ ク構成デ一夕 を出力する。  The decoding processing section 82 decodes the data of the index number stored in the original storage section 41 of the codebook storage section 73 as it is, and performs block-by-block coding. Similarly, for the data written from the partial rewrite unit 75 to the area of the memory unit 42, the corresponding block configuration data is output.
オ リ ジナルの画像データが付加さ れていない 場合には、 通常 と同様に、 復号化 処理を行な う。 すなわち、 受信デー タ は、 復号化処理部 8 2 に与え られ、 復号化 処理部 8 2 は, コ ー ド ブッ ク記慷部 7 3 に記憶されて いる コ ー ド ブッ ク に基づき、 与え ら れた符号化デ一タ を復号化 し、 復号化 したデータ を出力する。 If the original image data is not added, the decoding process is performed as usual. That is, the received data is provided to the decryption processing unit 82, The processing unit 82 decodes the given encoded data based on the codebook stored in the codebook useful unit 73 and outputs the decoded data. .
なお、 本実施形態においては、 オ リ ジナルの画像データ を受信 した場合には、 一旦追加コー ド ブッ ク 記愴部 7 7 に記憶させ、 これを コー ド ブッ ク記憶部 7 3 に ブロ ッ ク番号毎に読み出 して不句号化する よ う に したが、 オ リ ジナル画像データ がある 場合には、 直接出力する よ う に して もよ い。  In this embodiment, when the original image data is received, the original image data is temporarily stored in the additional codebook storage unit 77, and this is stored in the codebook storage unit 73. The data is read out for each number and punctuated, but if there is original image data, it may be output directly.
■ 3— 3 ) フ ロ一チヤ 一 ト  ■ 3— 3) Flow chart
つぎに、 動画データ 復号化装置 2 0 0 において、 受信 し たデータ の処理につい て、 図 1 7 のフ ローチャー ト を用いて説明する。 こ の場合は、 先程の図 8 に示す 各フ レームのデー タが送ら れて く る もの とする。  Next, the processing of the received data in the moving picture data decoding apparatus 200 will be described using the flowchart of FIG. In this case, it is assumed that the data of each frame shown in FIG. 8 is sent.
動画データ復号化装置 2 0 0 は、 電源オン伏態にて、 メ モ リ 2 7 は初期化され、 ブロ ッ クデータ を受信可能状態 (受信待機状態) となる。  When the power of the moving picture data decoding device 200 is turned on, the memory 27 is initialized and the block data can be received (waiting for reception).
動画データ復号化装置 2 0 0 の C P U 2 3 は、 受信データ があ るか否か判断す る (図 1 7 ステッ プ S T 5 1 ) 。 受信データがあるか否かは、 符号化デ一 夕バッ フ ァ 2 7 c に符号化後ブロ ッ ク データが記憶さ れたか否かで判断すればよ い。 受 信デー タがない場合は処理を終了する。  The CPU 23 of the video data decoding device 200 determines whether or not there is received data (step ST51 in FIG. 17). Whether or not there is received data may be determined based on whether or not block data after encoding is stored in the encoded data buffer 27c. If there is no reception data, the process ends.
受信データがあ る場合には、 C P U 2 3 は、 追加処理対象ブロ ッ ク 番号 h を初 期化 し (ステ ッ プ S T 5 3 ) 、 受信データ を復号化回路 3 4 へ出力する (ステツ プ S T 5 5 ) 。  If there is received data, the CPU 23 initializes the block number h for additional processing (step ST53), and outputs the received data to the decoding circuit 34 (step ST53). ST 55).
復号化回路 3 4 は、 既に説明 したよ う に、 受信データがオ リ ジナルの画像デー 夕が付加されたデータ であるか否かを判断 し、 復号化を行ない、 復号化 し たデー タ を出力する。 第 1 フ レーム については、 全ブ ロ ッ ク を符号化 した符号化ブロ ッ ク データが送信さ れる ので、 通常、 オ リ ジナルの画像データ が付加されて いない。 したがっ て、 復号化処理部 8 2 は、 コ ー ド ブッ ク記憶部 7 3 に記憶された侯補デ 一夕 を用 いて復号化を行な う。  As described above, the decoding circuit 34 determines whether the received data is data to which original image data has been added, performs decoding, and decodes the decoded data. Output. For the first frame, since the coded block data obtained by coding all the blocks is transmitted, usually, the original image data is not added. Accordingly, the decryption processing unit 82 performs decryption using the candidate data stored in the codebook storage unit 73.
C P U 2 3 は、 復号化さ れたデー タ によって フ レームバ ッ フ ァ 2 7 b を更新す る (ス テッ プ S T 5 7 ) 。 .  CPU 23 updates frame buffer 27 b with the decrypted data (step ST 57). .
C P U 2 3 は、 全ブロ ッ ク に ついて、 復号化が終了 したか否か判断 し (ステツ プ S T 5 9 ) 、 終了 し ていない場合 には、 追加処理対象ブロ ッ ク 番号 h を イ ンク リ メ ン ト し (ステ ッ プ S T 6 1 ) 、 ステッ プ S T 5 5 〜ステ ッ プ S T 5 9 の処理 を操返す。 The CPU 23 determines whether or not the decryption has been completed for all the blocks (step ST59). If the decryption has not been completed, the CPU 23 links the block number h for additional processing. The increment is made (step ST61), and the processing of steps ST55 to ST59 is repeated.
ステ ッ プ S T 5 9 にて、 全ブロ ッ ク につ いて、 復号化が終了 し た場合には、 C R T 3 0 へ出力する (ステ ッ プ S T 6 3 ) 。  In step ST59, when the decoding has been completed for all the blocks, the block is output to CRT30 (step ST63).
このよ う に して第 1 番目 のフ レーム につ いては、 すべてのブロ ッ ク のデータが 圧縮して送信されてい るので、 これの復号化が行なわれ、 フ レームバ ッ フ ァ に復 号化されたデータが記憶さ れ、 これが C R T 3 0へ出力 される。  In this way, for the first frame, since the data of all blocks has been compressed and transmitted, it is decoded and decoded into the frame buffer. The converted data is stored and output to the CRT 30.
つぎに、 第 2 フ レームにつ いて説明する。 第 2 フ レーム以降の フ レーム につい ては、 第 1 フ レームと異な る ブロ ッ クであ り、 かつ差分評価の高いブロ ッ クだけ が送信されている。 したがっ て、 当 該フ レーム の 1 つ前の フ レームの画像 と合成 する必要があ る。 かかる合成は、 以下の様に し て行なわれる。 符号化デ一タパッ フ ァ 2 7 C に記憶したデータ を、 既に説明 した復号化手法によ り、 復号 ·化する。 そ して、 図 1 7 ス テッ プ S T 5 7 にて説明 したよう に して、 フ レームノ ツ フ ァの データ を更新する。 なお、 第 1 フ レーム においては、 送信さ れた符号化データが 全プロ ッ クであっ たので、 全てのプロ ッ ク につ いて更新がなされた。 しカゝ し、 以 下の フ レームでは前の フ レーム と異なる プロ ッ クであ り、 かつ差分評価の高いブ ロ ッ ク だけが送信さ れてい るの で、 そのブロ ッ ク I Dで示すブロ ッ ク に対応する フ レームバッ フ ァ のデータ だけが更新される (ステ ッ プ S T 1 5 1 ) 。 そ して、 更新さ れない部分につ いては、 フ レームゾ、' ッ フ ァ 2 6 b の内容がその まま C R T 3 0 へ出力される。  Next, the second frame will be described. For the second and subsequent frames, only the blocks that are different from the first frame and that have a high differential evaluation are transmitted. Therefore, it must be combined with the image of the frame immediately before the frame in question. Such synthesis is performed as follows. The data stored in the coded data buffer 27C is decoded and decoded by the decoding method described above. Then, as described in FIG. 17 step ST57, the data of the frame notifier is updated. In the first frame, the coded data transmitted was all blocks, so all blocks were updated. However, since the following frames are different from the previous frames and only the blocks with a high differential evaluation are transmitted, they are indicated by their block IDs. Only the data of the frame buffer corresponding to the block is updated (step ST151). Then, for the portion that is not updated, the contents of Frame 26 and Buffer 26b are output to CRT30 as they are.
こ のよ う に、 第 2 フ レーム以降の フ レームでは、 前の フ レーム と異なる 部分だ けを更新 して、 当 該フ レーム と して、 C R T 3 0 に出力する こ と によ り、 動画デ —タ を表示する こ とができる。 これによ り、 動画データ 符号化装置 1 0 0 で符号 化された動画データ を受信 し、 確実に復号化する こ とができ る。  In this way, in the frames after the second frame, only the part different from the previous frame is updated, and the frame is output to the CRT 30 as the relevant frame. Video data can be displayed. As a result, the moving image data encoded by the moving image data encoding device 100 can be received and reliably decoded.
さ ら に、 第 2 フ レーム以降の フ レーム については、 オ リ ジナルの画像データが 付加さ れている場合がある。 こ の場合には、 既に説明 したよ う に、 復号化回路 3 4 は、 符号化データおよびその オ リ ジナル画像データ を、 プロ ッ ク番号 ご とに記 憶する。 これによ り、 受信側に送信側と同 じ候補データが追加さ れる。 ま た、 復 号化の際には、 ブロ ッ ク番号に応じ て追加された侯補データ を読み出 し、 復号化 処理が行なわれる。 Furthermore, original image data may be added to the second and subsequent frames. In this case, as described above, the decoding circuit 34 stores the coded data and its original image data for each block number. As a result, the same candidate data as the transmitting side is added to the receiving side. In addition, at the time of decryption, candidate data added according to the block number is read out and decrypted. Processing is performed.
このよ う に して、 符号化デー タ に各ブロ ッ ク のオ リ ジナルの画像データ を含む デ一タ カゝ ら、 画像データ を復号化す る こ とがで きる。  In this manner, the image data can be decoded from the data including the original image data of each block in the encoded data.
4. その他の実施形態 4. Other embodiments
4 - 1) 符号化回路 3 2 を ソ フ ト ウ ェア で実現 した場合  4-1) When the coding circuit 32 is implemented by software
上記実施形態においては、 符号化回路 3 2 をハー ド ウ ェア を用 いて実現 した場 合につ いて説明 し たが、 ソ フ ト ウ ェ アによっ て これを実現 し て もよ い。 こ の場合 の フ ロ ーチャ ー ト につ いて, 図 1 8 を用 いて説明する。 なお, こ の場合、 コー ド ブ ッ ク 記憶部およ び追加コ 一 ド ブッ ク記憶部に ついては、 ノヽー ドディ ス ク 2 6 に 記憶さ せ、 必要に応 じてメ モ リ 2 7 に読み出すよ う にすればよ レ^  In the above embodiment, the description has been given of the case where the encoding circuit 32 is realized using hardware, but this may be realized by software. The flowchart in this case is described with reference to Fig. 18. In this case, the codebook storage unit and the additional codebook storage unit are stored in the node disk 26, and are stored in the memory 27 as necessary. I should read it out ^
まず、 C P U 2 3 は, 転送余裕があるかどう かを判断する (ステッ プ S T 7 1 ) 。 転送余裕がな い場合には、 割込み処理を終了す る。 一方、 転送余裕がある 場合に は、 図 6 に示す追加コ ー ド ブッ ク記憶部 7 7 の う ち、 i 番目 のブロ ッ ク の全ヒス ト リ 番号のデータ を検索する (ステ ッ プ S T 7 3 ) 。 そ して、 一致する も のがあ る か ど う かを判断 し (ステッ プ S T 7 5 ) 、 一致す る ものがあ る 場合には、 その ブロ ッ ク番号と ヒ ス ト リ 番号を伝送制御部 3 1 を介 して送信する (ステッ プ S T 7 7 ) 。 一致する ものがない場合に は、 C P U 2 3 は、 そのオ リ ジナルデータ に 新たな ヒ ス ト リ 番号を付与 して、 伝送制御部 3 1 を介して、 ブロ ッ ク番号およ び ヒ ス ト リ 番号をオ リ ジナル画像ブロ ッ ク データ に付加 して、 送信する (ス テッ プ S T 7 9 ) 。 さ ら に、 i 番目 の追加コー ドブッ ク記憶部へ当 該オ リ ジナルデータ の、 ブロ ッ ク番号およびヒ ス ト リ 番号を書き込む (ステッ プ S T 8 1 ) 。  First, the CPU 23 determines whether or not there is a transfer margin (step ST71). If there is no transfer margin, the interrupt processing ends. On the other hand, if there is a transfer margin, the data of all the history numbers of the i-th block is retrieved from the additional codebook storage unit 77 shown in FIG. 6 (step ST). 7 3). Then, it determines whether there is a match (step ST75), and if there is a match, transmits the block number and the history number. Transmission is performed via the control unit 31 (step ST77). If there is no match, the CPU 23 assigns a new history number to the original data, and transmits the block number and the history number via the transmission control unit 31. The trie number is added to the original image block data and transmitted (step ST79). Further, the block number and the history number of the original data are written in the i-th additional codebook storage unit (step ST81).
C P U 2 3 は、 最終ブロ ッ ク か否かを判断し (ス テッ プ S T 8 3 ) 、 最終プロ ッ クでない場合に は、 決定処理対象ブロ ッ ク番号 i をイ ンク リ メ ン トする (ス テ ッ プ S T 8 7 ) 。 一方、 最終ブ ロ ッ クである場合に は、 決定処理対象ブロ ッ ク番 号 i を初期化する (ス テッ プ S T 8 5 ) 。 かか る処理については、 第 1 実施形態 と 同様である。  The CPU 23 determines whether or not the block is the final block (step ST83), and if it is not the final block, increments the block number i to be determined (step ST83). Step ST87). On the other hand, if it is the last block, the block number i for the decision processing is initialized (step ST85). This process is the same as in the first embodiment.
このよ う に、 ソ フ ト ウ ェアで符号化回路 3 2 を実現する場合に は、 図 6 に示す 追加コ ー ド ブッ ク 記憶部 7 7 の該当する ブロ ッ ク のデータ を、 図 5 に示すブロ ッ ク 別コ 一 ド記憶部 4 2 に新たに読み出す こ とな く、 検索対象範囲 と して決定する よ う にすればよ い。 As described above, when the encoding circuit 32 is realized by software, the data of the corresponding block in the additional codebook storage unit 77 shown in FIG. Determined as a search target range without newly reading out to the block-specific code storage unit 42 shown in You can do it.
4 - 2)復号化回路 3 4 を ソ フ ト ウ エア で実現 した場合  4-2) When the decryption circuit 3 4 is realized by software
復号化回路 3 4 をソ フ ト ウ ェ アで実現 した場合の フ ローチ ヤ一 ト を図 丄 9 に示 す。  Fig. 9 shows a flowchart in the case where the decoding circuit 34 is realized by software.
C P U 2 3 は、 受信デー タがあるか ど う かを判断 し (ステ ッ プ S T 9 1 ) 、 受 信データがない場合には終了す る。 受信データ があ る場合には追加処理対象プロ ッ ク番号 h を初期化 し (ス テッ プ S T 9 3 ) 、 つぎに送 られてきた符号化データ (標準符号化データ または追加符号化データ) に、 画像デ一夕が付加されている か どう かを判断する (ステ ッ プ S T 9 5 ) 。  CPU 23 determines whether there is received data (step ST91), and terminates if there is no received data. If there is received data, the block number h for additional processing is initialized (step ST933), and the next encoded data (standard encoded data or additional encoded data) Then, it is determined whether or not the image data is added (step ST95).
画像データ が付加さ れて いる と判断 した場合には、 該当 ブロ ッ ク番号およびヒ ス ト リ 番号を追加処理部 7 9 に 記憶する (ステ ッ プ S T 1 0 1 ) 。 つぎに、 付加 された画像データ にて該当 プロ ッ ク の フ レームバヅ フ ァ を更新する (ステッ プ S T 1 0 3 ) 。 これによ り、 当該ブロ ッ ク についてオ リ ジナルの画像データ を表示 する こ とができる。 その後、 全てのブロ ッ ク に ついて処理が終了 したかど う かを 判断 し、 表示装置へ出力す る (ステ ッ プ S T 1 0 9 ) 。  If it is determined that image data has been added, the corresponding block number and history number are stored in the additional processing section 79 (step ST101). Next, the frame buffer of the corresponding block is updated with the added image data (step ST103). Thereby, the original image data can be displayed for the block. Thereafter, it is determined whether or not the processing has been completed for all the blocks, and output to the display device (step ST109).
—方、 ステ ッ プ S T 9 5 にて、 画像データが付加されていない と判断し た場合 に は、 受信データ がブロ ッ ク番号およびヒ ス ト リ番号であ る 力 または標準符号 化データであ るかを判断する (ステ ッ プ S 丁 9 7 ) 。 標準符号化データでない と 判断 した場合 (ブロ ッ ク番号お よびヒス ト リ 番号である場合) に は、 追加コー ド ブ ッ ク 記憶部 7 7 を検索し、 復号化処理を行な い、 フ レームノ ッ フ ァ を更新する (ステ ッ プ S T 9 9 ) 。 これによ り、 当該ブロ ッ ク についてオリ ジナルの画像デ —夕 にてフ レームパ ッ フ ァ を更新す る こ とができる。  On the other hand, if it is determined in step ST95 that the image data is not added, the received data is a block number and a history number, or a standard encoded data. Judge whether there is (Step S-c97). When it is determined that the data is not standard encoded data (when the data is a block number and a history number), the additional codebook storage unit 77 is searched, and the decoding process is performed. Update the frame buffer (step ST99). As a result, the original image data for the block can be updated in the evening.
ステ ッ プ S T 9 7 にて、 標準符号化データである と判断 した場合 (ブロ ッ ク番 号およびヒス ト リ 番号でない場合) には、 コー ドブッ ク 記憶部 7 3 を検索 して復 号化 し、 フ レームバ ッ フ ァ を更新す る (ステッ プ S T 9 8 ) 。  If it is determined in step ST97 that the data is standard encoded data (if it is not a block number or history number), the codebook storage unit 73 is searched to decode the data. And updates the frame buffer (step ST98).
C P U 2 3 は、 全てのブロ ッ ク に ついて終了 したか否かを判断 し (ステ ッ プ S 丁 1 0 5 ) 、 終了 し て いない場合に は追加処理対象ブロ ッ ク番号 h をイ ン ク リ メ ン ト し、 ステ ッ プ S T 9 5 以下の処理を繰返す。  The CPU 23 determines whether or not all blocks have been completed (step S 105), and if not completed, adds the block number h for additional processing. Then, repeat the processing from step ST95.
—方、 全てのブロ ッ ク について処理を終了 し た場合には、 表示装置へ出 力する (ステ ッ プ S T 1 0 9 ) 。 そ して、 受信データ がな い場合に は終了する。 -When processing is completed for all blocks, output to the display device (Step ST109). If there is no received data, the process ends.
このよ う に して、 符号化デー タ に各ブロ ッ ク のオ リ ジナルの画像データ を含む データ か ら、 画像デー タ を復号化する こ とができる。  In this way, the image data can be decoded from the data that includes the original image data of each block in the encoded data.
なお、 上記実施形態 にお いては、 符号化回路 3 2 および復号化回路 3 4 を完全 に ソ フ ト ウ エアで実現 した場合につ いて説明 し たが、 一部をハー ド ウ エアで構成 するよ う に して も よい。  In the above embodiment, the description has been given of the case where the encoding circuit 32 and the decoding circuit 34 are completely realized by software, but a part is configured by hardware. You may do so.
4 - 3 )その他の実施形態 4-3) Other embodiments
4 - 3 - 1 )静止部分ブロ ッ ク について 4-3-1) About the stationary block
上記実施形態においては、 静止部分のブロ ッ ク について、 送信側にて、 追加コ 一ド プッ ク記惊部へ当 該オ リ ジナルデータ の画素データ、 ブロ ッ ク番号およびヒ ス ト リ 番号を書き込む と と も に, ブロ ッ ク番号およ びヒス ト リ 番号をオリ ジナル 画像ブロ ッ ク データ に付加 して送信するよ う に して いる。 こ れによ り、 · 2 度めか ら は、 画素データ を送信する必要がなく なる。 しか し、 これに限定さ れず、 送信 側だけで、 追加コー ド ブッ ク記憶部へ当 該オ リ ジナルデータ およびブロ ッ ク番号 を書き込み、 当 該オ リ ジナルデータ のブロ ッ ク 番号だけを送信するよ う に し、 も し、 ブロ ッ ク に対応する追加コ ー ド ブッ ク 記憶部に記億されてい るの と 1 0 0 % 一致する画素データ である場合 には、 そのプロ ッ ク については送信 しない よ う に して も よ レ^ こ の場合は、 追加符号化データ と してブ α ッ ク 番号のみを記憶する だけでよ い。 さ ら に、 この場合、 受信側には追加コ ー ド ブッ ク 記憶部は不要とな る。 これによ り、 前の フ レームか ら変化 しない場合には、 データ転送量を減 らす こ とができる。  In the above-described embodiment, for the block in the stationary portion, the transmission side adds the pixel data of the original data, the block number, and the history number to the additional codebook storage section. At the time of writing, the block number and history number are added to the original image block data and transmitted. This eliminates the need to send pixel data from the second time. However, the present invention is not limited to this.Only the transmitting side writes the original data and the block number in the additional code block storage unit, and transmits only the block number of the original data. If the pixel data is 100% identical to the one stored in the additional codebook storage unit corresponding to the block, the block In this case, it is sufficient to store only the block number as additional encoded data. Further, in this case, the receiving side does not need an additional codebook storage unit. This can reduce the amount of data transfer if there is no change from the previous frame.
ただ、 各ブ□ ッ ク におけるブ ロ ッ クデータの 履歴を記憶し てお く こ と によ り、 以下の様な メ リ ッ ト がある。 第 1 に、 一般に、 C C Dで撮像 した画像デー タ につ いては、 静止部分であ っ て もバ ッ ク ノ イ ズによ り前 フ レーム の画像データ と後フ レーム の画像データ がずれる場合がある。 このバッ ク ノ イ ズにつ いてはほんの少 し のズ レであ るので、 前記履歴のいずれかに該当す る こ とが考え られる。 第 2 に、 あ る ブロ ッ ク の画像が、 ある画像 (例えば、 真 白) か ら別の画像 (例えばと、 真 黒) とな り、 再度前記ある画面 (真 白) となる よ う な場合に は、 一度、 あ る画像 (真白) のオ リ ジナル画像ブロ ッ ク データ につ いて ヒス ト リ 番号を付加 し て送信 し てお けば、 再度同 じ ある 画像 (真白) となっ た場合に、 オ リ ジナル画像ブ口 ッ ク デー タ を送信する必要はな く なる。 However, storing the history of block data in each block has the following advantages. First, in general, image data captured by a CCD is displaced by the back-up noise even if it is a stationary part due to back noise. There is. Since this back noise is only a small deviation, it is considered that the back noise corresponds to any of the above histories. Second, an image of a certain block is changed from one image (for example, pure white) to another image (for example, pure black), and then becomes the above-mentioned screen (white) again. In this case, once a history number is added to the original image block data of a certain image (blank) and transmitted. This eliminates the need to send the original image block data when the same image (white) is obtained again.
また、 上記実施形態 にお いては、 追加コー ド ブッ ク 記憶部に記憶さ れて いるの と 1 0 0 % —致 しない画素デー タのブロ ッ ク については、 全て割込み処理にて. 画桊データ を送信する よ う に したが、 所定の し きい値を越え る場合のみ、 すなわ ち、 あ る ブロ ッ ク につ いてオリ ジナルの画像データ を符号化 した場合の歪みが大 き い場合のみ、 これを送信する よ う に して もょ レ また、 こ の し きい値について は、 伝送状態を検知 し、 変動さ せる よ う に して もよ い。 例えば, 送信中に、 エラ 一が多いよ う な場合については、 送信データ ¾を減 らすため に、 しき い値を上げ ればよ い。 これによ り、 伝送伏態が変動 したよ うな場合につ いて も、 これに柔軟 に対応する こ とができる。  Also, in the above embodiment, 100% that is stored in the additional codebook storage unit—blocks of non-matching pixel data are all processed by interrupt processing. Data is transmitted, but only when the threshold value is exceeded, that is, when the original image data for a certain block is significantly distorted. Only this may be transmitted, and the threshold value may be detected by detecting the transmission status and fluctuated. For example, if there are many errors during transmission, the threshold may be increased to reduce transmission data ¾. This makes it possible to flexibly cope with a case where the transmission state fluctuates.
また、 静止ブロ ッ ク につ いて、 前記歪みが大きい ものか ら傾番に送信 ·するよ う に して もよ い。  Further, the stationary blocks may be transmitted in descending order starting from the one with the largest distortion.
また、 動いてい るブロ ッ ク で ある と判断されたブロ ッ ク 力、 ら離れる ほど、 人間 の 目 に は画質の低下が気になる ので、 こ のよ う に離れたプロ ッ ク か ら順番に送信 する よ う に して も よ い。  In addition, the further away from the block power that is determined to be a moving block, the more the human eyes are concerned about the deterioration of image quality. You may send it to.
上記実施形態においては、 ブ ロ ッ ク ごと に 4 種類のブロ ッ ク構成データ を分類 して記億する よ う に し た。 これによ り、 符号化の候補データ の範囲を限定する こ とができる。 しか し、 これに限定さ れず、 ブロ ッ ク ごと に分類せず、 共通の符号 化候補データ と して記憶する よ う に して もよ い。  In the above embodiment, four types of block configuration data are classified and stored for each block. This makes it possible to limit the range of encoding candidate data. However, the present invention is not limited to this, and the data may be stored as common coding candidate data without classifying each block.
また、 上記実施形態にお いて は、 符号化ブロ ッ ク 数に基づいてデー タ転送余裕 度に余裕あ り と判断するよ う に したが、 伝送制御部 3 1 にお ける伝送状態 を検知 して、 判斬するよ う に して もよ レ^  Further, in the above embodiment, the data transfer margin is determined to be marginal based on the number of coding blocks, but the transmission state in the transmission control unit 31 is detected. You can even judge it.
また、 操作者がマウ ス等のポイ ンティ ングデバイ ス を用 いて、 特定領域を指定 し、 その領域のブロ ッ ク について、 追加ブロ ッ クデータ を優先的に生成す るよ う に して も よ い。 こ れによ り、 操作者が精密な画像伝送を望む領域を伝送す る こ と ができ る。 こ の場合の C P U 2 3 の処理 と して は、 図 1 1 ス テッ プ S T 3 1 の判 断にて、 前記特定領域の指定があ つ たか否かを判断する よ う にすればよ い。  In addition, the operator may use a pointing device such as a mouse to specify a specific area, and may preferentially generate additional block data for blocks in that area. . As a result, it is possible to transmit an area where the operator desires precise image transmission. In this case, the processing of the CPU 23 may be such that it is determined whether or not the specific area has been specified in the determination of the step ST31 in FIG. 11. .
また、 上記実施形態において は、 割込み処理 を 1 / 6 0 秒毎に行なったが、 こ のよ う な任意所定時間毎に限定されず, 例えば各フ レーム の差分プロ ッ ク を符号 化が終了する度、 または、 数フ レー ム の差分ブロ ッ ク を符号化が終了する都度で もよ い。 In the above embodiment, the interrupt processing is performed every 1/60 second. However, the present invention is not limited to every predetermined time as described above. For example, each time the encoding of the differential block of each frame is completed, or each time the encoding of the differential blocks of several frames is completed, Good.
4 - 3 - 2 )静止部分プロ ッ ク 以外について  4-3-2) Other than the stationary part block
上記実施形態においては評価値の高いブロ ッ ク を上位何個、 と決定 して、 符号 化を行なう よ う に した。 こ れに よつ て、 常に一定の数のブロ ッ ク数のデータ を符 号化対象ブロ ッ ク と し て送信す る こ とができる ので、 移動物体の大きさ、 速さ、 その数等に関係な く、 単位時間 当た り に送信できる ブロ ッ ク の数を一定に保つ こ とができる。 従っ て伝送速度が限 ら れてい るよ う な場合につ いては重要なデータ 部分のみを送信する こ と もでき る。 しか し これに限定されず、 評価値が 「 0 」 で ないブロ ッ ク については、 全ブ ロ ッ ク送信する よ う に して も よ い。  In the above-described embodiment, the number of blocks having a high evaluation value is determined as the number of high-order blocks, and coding is performed. As a result, data of a fixed number of blocks can always be transmitted as blocks to be encoded, so that the size, speed, number of moving objects, etc. Irrespective of this, the number of blocks that can be transmitted per unit time can be kept constant. Therefore, when the transmission speed is limited, only the important data part can be transmitted. However, the present invention is not limited to this. For blocks having an evaluation value other than “0”, all blocks may be transmitted.
なお、 上記実施形態にお いて は、 評価値を髙 いものか ら KM次抽出するよ う にし ている。 したがっ て、 全体 と し ての評価値が大 きい場合と、 全体の傾向と して評 価値が小さ い場合には、 同 じ評価値を持つ ブロ ッ ク であっ て も、 相対評価 となる ので送信されないプロ ッ ク が発生する。 逆に 自 動的に全体と して大き く 移動した よ う な場合につ いては、 その中 でも特に、 大き く 動いた部分のみ送信する こ とが でき る。 一方全体 と してあま り 動かな く なっ た場合には、 その細かな移動を送信 される こ と となる。  Note that, in the above embodiment, the KM order extraction is performed from the highest evaluation value. Therefore, when the evaluation value as a whole is large and when the evaluation value is small as an overall tendency, even if the blocks have the same evaluation value, they are relative evaluations. Some blocks are not sent. On the other hand, when the whole moves automatically as a whole, it is possible to transmit only the part that has moved the most. On the other hand, if the whole does not move much, the fine movement will be transmitted.
また、 伝送する ブ n ッ ク数で限定するのではな く、 当該フ レームにおける、 一 番大きな差分評価のブロ ッ ク の何% の値を持つ ブロ ッ ク まで送信する とい う よ う に決定するよ う に して もよ し  Also, instead of limiting the number of blocks to be transmitted, the decision is made to transmit the block that has the value of what percentage of the largest differential evaluation block in the frame. You can do it
なお、 上記実施形態にお いて は、 5 0 個のブ ロ ッ ク につ いて、 差分評価値の大 きなブロ ッ ク か ら順次油出 して、 5 0 個で抽出作業を中止する よ う に して いる。 も し、 5 0 番 目 の差分評価値を有す る ブロ ッ ク が 2 以上あ る場合には、 5 0 個 と い う 制限を遒守 して、 当該 5 0 番目 の差分評価値を有する ブロ ッ ク の う ち、 いず れかを抽出する よ う にすればよ い。 こ の場合、 例え ば、 ブロ ッ ク I D の小 さ い も の を優先的に抽出する よ う に し ても よ い。 また、 5 0 番目 の差分評価値を有する プ D ッ ク が非常!こた く さ んある場合は、 当該 5 0 番 目 の差分評価値を有す るプロ ッ ク の抽出を中止 し、 4 9 個のブロ ッ ク について符号化を行な う よ う にすればよ い。 すなわち、 同 じ差分評価を有する ブロ ッ ク が前記 し きい値に またがる場合に は、 その う ち抽出する ブロ ッ ク と抽出さ れないブロ ッ ク とのノ ラ ンス を考えるよ う にすればよ い。 In the above embodiment, for 50 blocks, the oil is drained sequentially from the block having the larger difference evaluation value, and the extraction operation is stopped at 50 blocks. I'm doing it. If there are two or more blocks that have the 50th difference evaluation value, the block with the 50th difference evaluation value is satisfied and the 50th difference evaluation value is satisfied. You may want to extract one of the blocks. In this case, for example, the one with the smallest block ID may be preferentially extracted. Also, the D Duck with the 50th difference evaluation value is very! In many cases, the extraction of the block having the 50th difference evaluation value should be stopped, and coding should be performed for 49 blocks. Yo No. In other words, if blocks having the same difference evaluation straddle the threshold, the balance between the blocks to be extracted and the blocks not to be extracted should be considered. Good.
また、 上記 し きい値につ いては、 固定値ではな く、 ブロ ッ クデータ の差分評価 値の分布に応 じて変動でき るよ う に して も よい。 例えば、 あ る フ レームについて は、 その前の フ レーム と比べて、 全体と して移動があ ま り 無いよ う な場合と、 全 体と してかな り 移動がある 場合とで、 伝送対象のブロ ッ ク 数を変更する。 これに よ り、 無駄なデータ転送を 防止 し、 符号化する画像データ の特性によ り対応した 伝送が可能となる。  Further, the above threshold value is not limited to a fixed value, but may be varied according to the distribution of the difference evaluation value of the block data. For example, the transmission target of a certain frame is different from that of the previous frame when there is little movement as a whole and when there is considerable movement as a whole. Change the number of blocks. As a result, useless data transfer can be prevented, and transmission corresponding to the characteristics of the image data to be encoded can be performed.
こ のよ う に、 各ブロ ッ ク の差分評価値の分布に応 じて変動させる場合には、 分 布状態を簡易 に把握する為に、 ヒス ト グラ ムを作成すればよ い。 この場合、 ある 範囲に属する差分評価値を有す る ブロ ッ ク がい く つ存在する かで、 ヒ ス ト グラム を作成すればよ い。 例えば、 各画素の濃度が 0 〜 2 5 5 段階有 り、 1 のブロ ッ ク が 1 6 画素か ら構成さ れて いる 場合、 差分評価値の範囲 と しては、 0 〜 4 0 9 6 ( 2 5 5 * 1 6 ) とな る。 これを、 3 2 の範囲 に分けて、 差分評価値 0 〜 : L 2 7 を第 1 範囲、 差分評価値 1 2 8 〜 2 5 5 を第 2 範囲、 . . . とい う よ う に、 分類 すればよ い。 かかる ヒ ス ト グラ ムの分布を解析する こ と によ り、 差分評価値の分 布を得る こ とができ る。  In this way, in the case of varying according to the distribution of the difference evaluation value of each block, a histogram may be created in order to easily grasp the distribution state. In this case, a histogram may be created based on how many blocks having difference evaluation values belonging to a certain range exist. For example, if the density of each pixel has 0 to 255 levels and the block of 1 is composed of 16 pixels, the range of the difference evaluation value is 0 to 4 096 (2 5 5 * 1 6). This is divided into the range of 32, and the difference evaluation values 0 to: L27 are classified into the first range, the difference evaluation values 128 to 255 are classified into the second range, and so on. do it. By analyzing the distribution of the histogram, it is possible to obtain a distribution of the difference evaluation values.
なお、 かかる ヒ ス ト グラムを作成 した場合に は、 各ブロ ッ ク の差分評価値を範 囲で分類してい る ので、 しきい値である 5 0 個 めの差分評価値を有するブ ロ ッ ク が複数存在する場合が多く なる。 しかし、 この場合も、 前記 し き い値 にま たがる 同 じ差分評価を有する ブロ ッ ク が複数あ る場合 と同様に処理すればよ い。  When such a histogram is created, the difference evaluation value of each block is categorized in a range, so that the block having the difference evaluation value of the 50th threshold value is used. There are many cases where there are multiple tasks. However, in this case as well, processing may be performed in the same way as when there are a plurality of blocks having the same difference evaluation according to the threshold value.
また、 伝送状態を検知 し、 差分評価及びこ の検知結果に基づいて, しき い値を 変動さ せるよ う に して もよ し 例え ば、 送信中 に、 エラーが多いよ う な場合につ いては, 送信する ブロ ッ ク数を減 ら すために、 しき い値を上げればよ い。 これに よ り、 伝送状態が変動 したよ う な場合について も, これに柔軟に対応する こ とが できる。  Also, the transmission state may be detected, and the threshold value may be changed based on the difference evaluation and the detection result. For example, when there are many errors during transmission, the threshold value may be changed. In order to reduce the number of blocks to be transmitted, the threshold may be increased. This makes it possible to flexibly cope with the case where the transmission state fluctuates.
また、 上記 し き い値について は、 これをオペ レータが自 由 に選択できる よ う に してお いてもよい。 例えば、 精密モー ド指定の場合、 又は速度優先の場合等を切 替え られる よ う に しておいても よレ^ すなわち精密モー ド の場合には、 その しき い値を低く、 速度優先の場合にはその しき い値を上げる よ う にすればよ い。 Further, the above threshold value may be made freely selectable by the operator. For example, if the precision mode is specified, or if speed The threshold can be lowered in the case of precision mode, and the threshold can be raised in the case of speed priority.
また、 伝送路を複数使用可能な場合には、 全体と して大き く 動 いている よ うな 場合には、 複数用 いて、 あ ま り 動いていな い場合に は、 1 つだけ使用する よ う に、 伝送路の数を変更する こ と によ り、 伝送条件を変更して もよ レ 。  Also, if multiple transmission lines are available, use a large number as a whole, use multiple transmission lines, and use only one if they do not work well. In addition, the transmission conditions may be changed by changing the number of transmission paths.
また、 上記実施形態にお いては、 差分評価の大き い ものを符号化対象のブロ ッ ク と して決定する よ う に している。 し力 し、 その送信順序についてさ ら に大きな ものか ら送る よ う に しても よ い。 これによ り、 重要なデータ につ いては、 必ず送 信する こ と ができ る。 し たがっ て、 例え ば、 送信中 にパ ン ド 幅が変化 し た場合 (狭く なつ た場合) 、 また、 受信側が、 マルチタス ク処理を行なっ ている 場合に、 さ ほど重要でない (差分評価が小さ い) ブロ ッ ク については、 結果的に無視され て も、 それほど問題が生じ ない。 なお、 逆に、 パン ド幅が広 く なつ た場合には、 差分評価の小さ なブロ ッ ク を も 送信する よ う にすればよ い。  Further, in the above embodiment, a block having a large difference evaluation is determined as a block to be coded. Alternatively, the order of transmission may be larger, starting with the largest one. This ensures that important data can be transmitted. Therefore, for example, when the band width changes during transmission (when the band width becomes narrower), or when the receiver performs multi-task processing, it is not so important (difference evaluation is small). B) Blocks do not cause much problem even if they are ignored as a result. Conversely, if the band width becomes wider, a block with a small difference evaluation may be transmitted.
また、 上記実施形態にお いて は、 伝送対象とする ものをすベて符号化し て、 伝 送する よ う に して いる。 すなわ ち伝送化 しない もの につ いては符号化を行なわな いよ う に してい る。 しか し、 すべて符号化を行なっ た後、 評価値の大きな ものの み、 伝送対象とする よ う に して もよ い。 また、 符号化処理後に差分評価を求めて 伝送対象とするか否かを決定するよ う に しても よい。  Further, in the above embodiment, all the transmission targets are encoded and transmitted. That is, encoding is not performed for those that are not to be transmitted. However, after all coding, only those having a large evaluation value may be transmitted. Further, after the encoding process, a difference evaluation may be obtained to determine whether or not to perform transmission.
また、 上記実施形態において は、 差分評価は、 比較バッ フ ァ と対応する フ レー ムバ ッ フ ァ の各画素の差分の絶対値を合計する こ と によ り、 求めた。 しか し、 こ れに限定されず、 差分がある総画素数をそのブ ロ ッ ク にお ける差分評価と して演 算する よ う に して もよ い。  Further, in the above embodiment, the difference evaluation is obtained by summing the absolute values of the differences between the pixels of the frame buffer corresponding to the comparison buffer. However, the present invention is not limited to this, and the total number of pixels having a difference may be calculated as the difference evaluation in the block.
4 - 3 - 3 )その他 4-3-3) Other
また、 上記実施形態において は、 1 ブロ ッ ク を 4 X 4 の 1 6 画素か ら構成 した が、 これに限定さ れる こ とな く、 例 えば 8 X 8 等、 任意の画素数 とする こ とがで さる。  In the above embodiment, one block is composed of 4 × 4 16 pixels. However, the present invention is not limited to this, and an arbitrary number of pixels such as 8 × 8 may be used. And the monkey.
なお、 上 SH実施形態において は、 データ を伝送する もの と して説明 したが、 記 憶媒体に記憶する 場合に、 デー タ を圧縮 して記憶さ せる装鑽 と して適応す る こ と もでき る。 こ の場合は、 伝送制御部か ら伝送す るのではな く、 直接符号化 したブ ロ ヅ ク データ を記燎媒体に記憶する よ う にすればよ い。 また、 基準フ レーム以外 については、 各フ レーム ごとに所定容量を特定 してお く よ う に し ても よい。 In the above-described SH embodiment, the description has been made assuming that data is transmitted. However, when data is stored in a storage medium, it may be adapted as a method of compressing and storing data. it can. In this case, instead of transmitting from the transmission control unit, directly encoded blocks are not transmitted. The lock data may be stored in a storage medium. In addition, for a frame other than the reference frame, a predetermined capacity may be specified for each frame.
本発明にかかる動画データ符号化装置または復号化装置は、 動 いて いる ブロ ッ ク が少な く なる と、 転送余裕が生ずる ので、 静止部分の画質がダイ ナ ミ ッ ク に向 上する。 したがっ て、 例え ば、 テレ ビ電話、 テ レ ビ会議システム等に適用する こ とができる。  In the moving image data encoding device or the decoding device according to the present invention, when the number of moving blocks is reduced, a transfer margin is generated, so that the image quality of a stationary portion is dynamically improved. Therefore, the present invention can be applied to, for example, a television telephone, a television conference system, and the like.
なお、 上記各実施形態におい ては、 ディ ジタ ル画像データ が得 られてい る もの と して説明 したが、 かかる ディ ジタ ル画像データ につ いては、 例えば、 アナロ グ 静止画像データ を標本化する こ と によ り、 得 ら れる。  In the above embodiments, digital image data has been described as being obtained. For example, analog still image data is sampled for such digital image data. Thereby, it is obtained.
また、 こ のディ ジタ ル画像データ がカ ラー 画像で あ る 場合には、 Y U V信号 (輝度信号 Yおよび色相信号 U V ) それぞれについて、 前記 と同様の処理をすれ ばよ い。  If the digital image data is a color image, the same processing as described above may be performed for each of the YUV signals (the luminance signal Y and the hue signal UV).
なお、 Y U V信号ではな く、 R G B (赤、 緑、 青) 信号または、 Y I Q (輝度 信号 Y および色相信号 I Q ) な どで もよ い。  Instead of the YUV signal, an RGB (red, green, blue) signal or a YIQ (luminance signal Y and hue signal IQ) may be used.
また, 人間の視覚は明暗で与え ら れた形状の細部に対 しては鋭く、 敏感 に反応 するが、 色彩の細部に対する反応は鈍い こ とが知 ら れてい る。 したがって、 この 実施形態にお いては、 色相信号 U、 V につ いて は、 解像度を輝度信号 Yの 1 2 と した。 これによ り、 よ り デー タ の圧縮度を高 く す る こ とができ る。  It is also known that human vision reacts sharply and sensitively to details of a given shape in light and dark, but responds slowly to details of color. Therefore, in this embodiment, the resolution of the hue signals U and V is set to 12 of the luminance signal Y. As a result, the degree of data compression can be increased.
上記各実施形態にお いては、 圧縮 したデータ を伝送する場合について説明 した が、 そのま ま、 データ 蓄積する 場合に も も ち ろ ん適用できる。  In each of the above embodiments, the case where compressed data is transmitted has been described. However, the present invention can be applied to the case where data is stored as it is.
また、 上記各実施形態においては、 前記各機能を実現する為に、 C P U 2 3 を 用 レ ソ フ ト ウ ェ ア によっ て こ れを実現 してい る。 しか し、 その一部も し く は全 てを、 ロ ジッ ク 回路等のハー ド ウェ アによって実現 して もよ い。 特に、 上記実施 形態にお いては、 コ ー ドブ ッ ク によ っ て、 符合化及び復号化する。 したがって、 こ の符合化及び復号化処理を、 1 のチッ プによ っ て実現する こ と によ り、 デ一タ 圧縮が必要な機器、 例 えば、 テ レ ビ電話、 デジ タル ビデオ等の機器にチッ プを埋 め込むだけで、 ;¾速かつ精度の高い データ圧縮が可能とな る。  Further, in each of the above embodiments, in order to realize the above-described functions, this is realized by software using CPU 23. However, some or all of them may be realized by hardware such as a logic circuit. In particular, in the above embodiment, encoding and decoding are performed by a code book. Therefore, by realizing this encoding and decoding processing with one chip, devices that require data compression, for example, such as TV telephones and digital video, etc. Simply by embedding the chip in the device: ¾ Fast and accurate data compression is possible.
上記においては、 本発明を好 ま し い実施形態 と して説明 したが、 各用語 は、 眼 定のため に用 いたのではな く、 説明 のために用 いた ものであ っ て、 本発明 の範囲 および精神を逸脱する こ とな く、 添付のク レームの範囲において、 変更す る こ と ができ る ものである。 In the above description, the present invention has been described as a preferred embodiment. However, each term is used for explanation, not for identification, and Range And may be changed without departing from the spirit and scope of the appended claims.
本発明にかかる動画データ符号化装 eまたはその方法にお いては、 前記送信の データ転送余裕度に余裕がある 場合には、 前記符号化対象の画像データ の前記対 象ブロ ッ ク以外のブロ ッ クデー タ をそのブロ ッ ク I D と と も に送信する。 したが つ て、 前記対象ブロ ッ ク以外の プロ ッ ク の画質 を現画像 と 同 じ も の とする こ とが でき る。 すなわち, 静止部分の画質 を向上させた動画データ 符号化装置ま たはそ の方法を提供する こ とができる。  In the moving picture data encoding device e or the method thereof according to the present invention, if there is a margin in the data transfer margin of the transmission, the image data to be encoded is a block other than the target block. Send the data with its block ID. Therefore, the image quality of blocks other than the target block can be the same as the current image. In other words, it is possible to provide a moving image data encoding device or a method for improving the image quality of a stationary part.
本発明にかかる動画データ 符号化装置におい ては、 前記追加ブロ ッ クデータ生 成手段は、 前記送信手段に与え た追加ブロ ッ ク データ につ いて、 これを符号化 し た追加符号化データ と とも に記憶し てお り、 前記既に記憶した追加ブロ ッ クデ一 夕 と 同 じ ブロ ッ ク データ については、 前記対象ブロ ッ ク 以外のブロ ッ クデータ を 符号化 して、 そのブロ ッ ク I D と と もに追加符号化デ一タ を前記送信手段 に与え、 前記送信手段は前記ブロ ッ ク I Dお よびその追加符号化データ を送信する。 した がっ て、 符号化対象の画像データ の静止部分の プロ ッ ク と一致 した追加符号化デ —タ を送信する こ とができる。 これによ り、 静止部分のブロ ッ ク データ を 符号化 し て送信する こ とができる。  In the moving picture data encoding device according to the present invention, the additional block data generating means includes the additional block data provided to the transmitting means, together with the additional encoded data obtained by encoding the additional block data. For the same block data as the already stored additional block data, the block data other than the target block is encoded, and its block ID and At the same time, additional encoded data is given to the transmitting means, and the transmitting means transmits the block ID and the additional encoded data. Therefore, it is possible to transmit additional encoded data that matches the block of the still part of the image data to be encoded. As a result, the block data of the stationary part can be encoded and transmitted.
本発明にかかる動画データ 符号化装 Sにおい ては、 前記追加ブロ ッ クデータ生 成手段は、 各ブロ ッ ク I D ごと に分類して記僚してお り、 こ の分類に基づいて前 記符号化を行なう。 し たがっ て、 一致判断を行なう 範囲を ブロ ッ ク毎にで きる の で、 迅速に符号化をする こ とができ る。  In the moving picture data encoding device S according to the present invention, the additional block data generating means categorizes and clerks for each block ID, and performs the encoding based on the classification. Perform Therefore, the range in which a match is determined can be set for each block, so that encoding can be performed quickly.
本発明 にかかる 動画データ符号化装置においては、 前記追加ブロ ッ クデータ生 成手段は、 記憶さ れる各プロ ッ ク I D ごとの追加プロ ッ クデータ が予め決め られ た数を越えた場合には、 一番古 い追加ブロ ッ ク データ につ いては、 これを 削除す る。 したがっ て、 記憶容量を増やす こ とな く、 比較的一致する可能性の髙 ぃ追加 ブロ ッ ク データ を保持する こ と がで きる。  In the moving picture data encoding device according to the present invention, the additional block data generating means may be configured to execute the additional block data when the number of stored additional block data for each block ID exceeds a predetermined number. Delete the oldest additional block data. Therefore, it is possible to retain additional block data of a relatively matching possibility without increasing the storage capacity.
本発明にかかる動画データ符号化装置におい ては、 前記追加プロ ッ クデータ生 成手段は、 前記決定された対象ブロ ッ ク数に基づいて、 前記データ転送余裕度に 余裕あ り と判断する。 すなわち、 送信対象デー タ量に応 じて前記データ転送余裕 度の判断を行なう こ とができる。 In the moving picture data encoding device according to the present invention, the additional block data generating means determines that the data transfer margin is sufficient based on the determined number of target blocks. In other words, according to the amount of data to be transmitted, the data transfer margin You can judge the degree.
本発明にかかる 動画データ符号化装 Sにおいては、 前記追加ブ ロ ッ クデータ生 成手段は、 伝送状態を検知 して、 前記データ転送余裕度に余裕あ り と判断する。 したがって、 伝送伏態の変化に応じた判断を行な う こ とができる。  In the moving picture data encoding device S according to the present invention, the additional block data generating means detects a transmission state and determines that the data transfer margin is sufficient. Therefore, it is possible to make a judgment according to the change in the transmission state.
本発明にかかる動画デー タ符号化装 eにおいては、 前記追加ブ α ッ クデータ生 成手段は、 前記追加ブ ロ ッ クデータ を所定の規則に基づいて順次生成する。 した がって、 所定の規則に基づいて、 前記追加ブロ ッ ク データ を生成でき る。  In the moving picture data encoding device e according to the present invention, the additional block data generating means sequentially generates the additional block data based on a predetermined rule. Therefore, the additional block data can be generated based on a predetermined rule.
本発明にかか る動画デー タ符号化装置においては、 前記所定の規則は、 前記差 分評価が小さ なブロ ッ クか ら優先的に前記追加ブロ ッ クデータ を生成する。 した がって、 静止度の高いブロ ッ ク の画質を優先的に向上させる こ と ができる。  In the moving picture data encoding device according to the present invention, the predetermined rule preferentially generates the additional block data from a block having a small differential evaluation. Therefore, the image quality of blocks with high stillness can be preferentially improved.
本発明にかかる動画データ符号化装置においては、 前記所定の規則は、 指定さ れた特定領域のブロ ッ ク について優先的に生成する。 したがって、 前記特定領域 の画質を向上させる こ とができ る。  In the moving picture data encoding device according to the present invention, the predetermined rule preferentially generates a block of a specified specific area. Therefore, the image quality of the specific area can be improved.
本発明にかかる動画データ 符号化装置においては, 前記指定は、 操作者によつ て行なわれる。 したがって、 操作者が望む領域の画質を向上させる こ とができる。 本発明にかかる動画データ符号化装置においては、 前記書換え手段は、 前記符 号化基準画面データの ブロ ッ ク データ を、 前記伝送対象プロ ッ ク データ を用 いて 書換え る。 したがっ て、 前記伝送対象ブロ ッ ク データ に対応する 部分を害換えた 符号化基準画像データ が得 られる。  In the moving picture data encoding device according to the present invention, the designation is performed by an operator. Therefore, the image quality of the region desired by the operator can be improved. In the moving picture data encoding device according to the present invention, the rewriting means rewrites the block data of the encoding reference screen data using the transmission target block data. Accordingly, encoded reference image data in which a portion corresponding to the block data to be transmitted is replaced is obtained.
本発明にかかる動画データ符号化装置またはその方法にお いては、 前記符号化 する ブロ ッ ク数が所定数よ り 少ない場合には、 前記符号化対象の画像データの前 記対象プロ ッ ク以外のブロ ッ ク データ を出力す る。 したがっ て、 静止部分の画質 を向上する こ とができ る動画デ一夕 符号化装置、 符号化方法を提供する こ とがで き る。  In the moving image data encoding device or method according to the present invention, when the number of blocks to be encoded is smaller than a predetermined number, the block other than the above-described target block of the image data to be encoded is used. Outputs the block data of. Therefore, it is possible to provide a moving picture data encoding apparatus and an encoding method capable of improving the image quality of a still part.
本発明にかかる動画データ 符号化装置においては、 前記追加ブ ロ ッ クデータ生 成手段は, 前記出力する ブロ ッ クデータ を符号化して、 その ブロ ッ ク I D と と も に出力する。 したがっ て、 符号化対象の画像データ の静止部分の ブ 13 ッ ク と一致 した追加符号化データ を送信す る こ とができる。 こ れによ り, よ り 多 く の静止部 分の画像データ を送信する こ と がで きる。 本発明にかかる動画データ符号化装置においては、 前記追加ブ ロ ッ クデータ生 成手段は、 前記各ブロ ッ ク データの差分評価に基づいて、 前記符号化手段が符号 化する ブロ ッ ク数が所定数よ り 少な い と判断し、 前記符号化対象の画像データの 前記対象ブロ ッ ク 以外のブロ ッ クデータ を出力する。 したがっ て、 静止部分の画 質を向上する こ とがで きる。 In the moving picture data encoding device according to the present invention, the additional block data generating means encodes the output block data and outputs the encoded block data together with the block ID. Therefore, additional encoded data that matches the block of the still part of the image data to be encoded can be transmitted. As a result, image data for more stationary parts can be transmitted. In the moving picture data encoding device according to the present invention, the additional block data generating means determines the number of blocks to be encoded by the encoding means based on a difference evaluation between the block data. It is determined that the number is smaller than the number, and block data other than the target block of the image data to be encoded is output. Therefore, the image quality of the still part can be improved.
本発明にかかる動画データ復号化装置またはその方法にお いては、 前記受信 し たデータ 中 に、 前記符号化 されていないブロ ッ ク データおよ びそのブロ ッ ク I D が存在する場合には、 こ の 符号化さ れていない ブロ ッ クデータ を 当該ブロ ッ ク I D の画像データ と して前記次の フ レームの画像データ を生成する。 したがっ て、 符号化されていな いブロ ッ クデ一夕 を含む受信データ に基づいて、 次フ レーム画 像デ一タ を生成する こ とができ る。 これによ り、 静止部分の画質 を向上さ せる こ とができる。 ·  In the moving picture data decoding apparatus or method according to the present invention, when the unencoded block data and its block ID are present in the received data, The image data of the next frame is generated by using the unencoded block data as the image data of the block ID. Therefore, the next frame image data can be generated based on the received data including the unencoded block data. As a result, the image quality of the still part can be improved. ·
本発明にかかる動画データ復号化装置においては、 前記判断手段が前記次フ レ —ム画像デ一夕生成手段に与え たブ ロ ッ ク データ について、 これを符号化 した追 加符号化データ と と も に記憶す る追加ブロ ッ ク データ記燎手段を備え、 前記復号 化手段は、 追加符号化データが与え られる と、 前記追加ブロ ッ ク デ一タ記愴手段 に記憶した追加ブロ ッ クデータ によ っ て復号化する。 したがっ て、 追加符号化デ ータ を含むデータ を受信 した場合で も、 次フ レーム画像データ を生成する こ とが できる。  In the moving picture data decoding apparatus according to the present invention, for the block data provided to the next frame image data generating means by the determination means, additional coded data obtained by coding the block data and The additional block data storing means for storing the additional block data stored in the additional block data pathological means when the additional encoded data is provided. Then decrypt it. Therefore, the next frame image data can be generated even when data including the additional encoded data is received.
本発明にかかる動画データ復号化装置におい ては、 前記追加ブロ ッ クデータ記 愴手段は、 各ブロ ッ ク I D ごと に分類 して記憶 してお り、 前記復号化手段 は、 こ の分類に基づいて前記符号化を行な う。 したがっ て、 復号化処理を行な う 範囲を ブロ ッ ク毎にでき る ので、 迅速に符号化をする こ とができ る。  In the moving picture data decoding apparatus according to the present invention, the additional block data pathological means is classified and stored for each block ID, and the decryption means is based on this classification. The above encoding is performed. Therefore, the range in which the decoding process is performed can be performed for each block, so that encoding can be performed quickly.
本発明にかかる動画データ復号化装置にお いては、 前記追加ブロ ッ クデータ記 憶手段は、 記憶される各ブロ ッ ク I D ごとの追加ブロ ッ ク データ が予め決め られ た数を越えた場合に は、 一番古 い追加ブロ ッ ク データ につ いては、 これを 削除す る。 したがっ て、 一致判断を行なう 範囲をブロ ッ ク 毎にでき る ので、 迅速 に符号 化 をする こ とができる。  In the moving picture data decoding apparatus according to the present invention, the additional block data storage means is provided when the number of stored additional block data for each block ID exceeds a predetermined number. Deletes the oldest additional block data. Therefore, the range in which the match is determined can be set for each block, so that encoding can be performed quickly.
本発明にかかる動画データ復号化装置においては、 前記書換え手段は、 前記符 号化基準画面デ一夕のプロ ッ ク データ を、 前記伝送対象プロ ッ ク データ を用いて 書換え る。 したがっ て、 前記伝送対象ブロ ッ ク データ に対応する 部分を書換えた 符号化基準圃像データ が得 られる。 In the moving picture data decoding device according to the present invention, the rewriting means may include the code The block data of the decoding reference screen is rewritten using the transmission target block data. Accordingly, encoded reference field image data in which a portion corresponding to the transmission target block data is rewritten is obtained.
本発明にかかる動画データ復号化装置、 動画データ復号化方法 にお いては、 与 え られたデータ 中 に、 前記符号化されていないブロ ッ クデータおよびそのブロ ッ ク I D が存在する場合には、 こ の符号化されていないブロ ッ クデ一夕 を当 該プロ ッ ク I D の画像データ と して与える。 したがっ て、 符号化されて いな いブ ロ ッ ク デ一タ を含む場合でも、 次 フ レーム 画像データ を生成する こ とができ る。 これに よ り、 静止部分の画質を向上さ せる こ とができ る。  In the moving picture data decoding device and the moving picture data decoding method according to the present invention, when the unencoded block data and its block ID exist in the given data, The block data that is not encoded is given as the image data of the block ID. Therefore, even when block data that is not encoded is included, the next frame image data can be generated. As a result, the image quality of the still part can be improved.
本発明にかか る動画デー タ復号化装置においては、 前記判断手段が前記次フ レ —ム画像デ一夕 生成手段に与え たブロ ッ ク データ について、 これを符号化 した追 加符号化データ と と も に記億す る追加プロ ッ ク データ記憶手段を備え、 ·前記復号 化手段は、 追加符号化データが与え られる と、 前記追加ブロ ッ ク データ記憶手段 に記憶した追加ブ 0 ッ クデータ によ って復号化する。 したがって、 追加符号化デ 一夕 を含むデータ から、 次 フ レーム画像データ を生成する こ とができ る。  In the moving picture data decoding apparatus according to the present invention, the block data provided to the next frame image data generating means by the determining means is additionally coded data obtained by coding the block data. And an additional block data storage unit for storing the additional block data stored in the additional block data storage unit when the additional encoded data is provided. To decrypt. Therefore, the next frame image data can be generated from the data including the additional encoded data.
本発明にかかる動画データ送受信シス テムにおいては、 以下を備えた動画デ一 夕 の送受信シス テムである :  A moving image data transmitting / receiving system according to the present invention is a moving image data transmitting / receiving system having the following:
A ) 以下を備えた動画データの 符号化装置、 A) a video data encoding device comprising:
a l )複数の画素にて構成さ れる一画面分の画像データ を符号化基準画像データ と して記憶する 符号化基準画像データ 記憶手段、  a l) Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data.
a 2 )符号化対象の画像デー タ を複数の ブロ ッ ク データ に分割 し、 前記符号化対象 の画像データ を構成するブロ ッ クデータ と、 前記符号化基準画像データの対応ブ 口 ッ ク データ との差分評価に基づいて, 対象ブ ロ ッ ク を決定する対象ブ口 ッ ク決 定手段、  a2) The image data to be encoded is divided into a plurality of block data, and the block data constituting the image data to be encoded and the block data corresponding to the encoding reference image data. Target block determining means for determining the target block based on the difference evaluation of
a 3 )複数のブロ ッ ク構成データか ら構成さ れる ブロ ッ クデータおよびこれに対応 する 符号を侯補データ と して、 複数記憶する ブ ロ ッ クデータ 記惊手段、  a 3) Block data recording means for storing a plurality of block data composed of a plurality of block configuration data and a code corresponding thereto as candidate data,
a 4 )前記決定された対象ブ ロ ッ ク につ いて、 前記ブロ ッ ク デ一タ 記慷手段に記憶 さ れた候補データ を用 いて、 符号化する 符号化手段、  a4) coding means for coding the determined target block using candidate data stored in the block data recording means;
a 5 )前記符号化データ を送信する送信手段、 a 6 )前記送信手段のデータ転送余裕度に余裕あ り と判断 した場合に は、 前記符号 化対象の画像データの 前記対象プロ ッ ク 以外の プロ ッ クデ一夕 をそのプロ ッ ク I D と と も に前記送信手段に与える追加プロ ッ ク デ一夕 生成手段、 a5) transmitting means for transmitting the encoded data, a6) If it is determined that the data transfer margin of the transmission means is marginal, a block ID other than the target block of the image data to be encoded is set as the block ID. An additional block data generating means to be given to the transmitting means,
を備え、  With
a 7 )前記送信手段は、 与え ら れた ブロ ッ ク I D と と も に前記追加ブ□ ッ クデータ を送信する、  a7) The transmitting means transmits the additional block data together with the given block ID.
B ) 以下を備えた動画データの復号化装置、  B) a video data decoding device comprising:
b 伝送されたデータ を受信する受信手段、  b receiving means for receiving the transmitted data,
b 2 )複数の画素にて構成される一画面分の画像データ を符号化基準画像データ と して記憶する符号化基準画像データ 記憶手段、  b2) Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data,
1) 3 )前記受信 したデー タ を復号化する復号化手段、 1) 3) decoding means for decoding the received data,
4 )前記符号化基準画像データおよび前記復号化されたブ ロ ッ ク データ に基づき、 前記基準画像データの次の フ レーム の画像データ を生成する次フ レーム画像デ一 タ 生成手段、  4) Next frame image data generating means for generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data,
b 5 )前記受信 したデー タ 中 に、 前記符号化されていな いブロ ッ ク データおよ びそ の ブロ ッ ク I D が存在する 場合には、 こ の符号化されていな いブロ ッ クデータ を 当 該ブロ ッ ク I D の画像データ と し て前記次フ レーム画像デ一タ 生成手段 に え る判断手段。  b5) If the unencoded block data and its block ID are present in the received data, the unencoded block data is applied. A judging means for giving the next frame image data generating means as the image data of the block ID;
したがっ て、 静止部分の画質 を向上させた動画データ を送受信でき る動画デ一 タ 符号化復号化システムを提供する こ とができ る。  Therefore, it is possible to provide a moving picture data encoding / decoding system capable of transmitting and receiving moving picture data in which the image quality of a stationary portion is improved.
本発明にかかる動画データ 符号化復号化シス テム にお いては、 以下を備えた動 画データの送受信システムであ る :  A video data encoding / decoding system according to the present invention is a video data transmission / reception system including the following:
A ) 以下を備えた動画データ の 符号化装置、 A) A video data encoding device comprising:
a l )複数の画素にて構成さ れる一画面分の画像データ を符号化基準画像データ と して記憶する 符号化基準画像データ 記憧手段、  a l) Image data for one screen composed of a plurality of pixels is stored as coding reference image data.
a 2 )与え られた符号化対象の画像デー タ を複数のプロ ッ ク データ に分割 し、 前記 符号化対象の画像データ を構成する プロ ッ クデータ と、 前記符号化基準画像デー 夕 の対応ブロ ッ ク データ との差分評価に基づいて、 対象プロ ッ ク を決定す る対象 ブ ロ ッ ク 決定手段、 a 3 )複数のブ 0 ッ ク構成データか ら構成さ れるブロ ッ ク データおよびこ れに対応 する 符号を候補データ と して、 複数記 ¾するブロ ッ ク デ一タ 記慷手段、 a2) The given image data to be encoded is divided into a plurality of block data, and the block data corresponding to the block data constituting the image data to be encoded and the encoding reference image data. Target block determining means for determining the target block based on the difference evaluation with the block data, a 3) Block data composed of a plurality of block configuration data and a code corresponding to the block data as candidate data, and a plurality of block data recording means for convenient use.
a 4 )前記決定された対象プロ ッ ク につ いて、 前記プロ ッ ク データ記憶手段に記慷 さ れた候補デ一タ を用 いて、 符号化する 符号化手段、  a4) coding means for coding the determined target block using candidate data useful in the block data storage means;
a 5 )前記符号化手段が符号化する プロ ッ ク 数が所定数よ り 少ない場合に は、 前記 符号化対象の画像データの前記対象ブロ ッ ク以外のブロ ッ ク データ を出力する追 加ブロ ッ ク データ 生成手段、  a5) If the number of blocks to be encoded by the encoding means is smaller than a predetermined number, an additional block for outputting block data other than the target block of the image data to be encoded. Data generation means,
B ) 以下を備えた動画デー タ の復号化装置、 B) A video data decryption device comprising:
b l )複数の画素にて構成さ れる一画面分の画像デ一夕 を符号化基準画像データ と して記憶する 符号化基準画像データ 記憶手段、  b l) Encoding reference image data storage means for storing the image data for one screen composed of a plurality of pixels as encoding reference image data.
b 2 )ブロ ッ ク データ を 符号化 した符号化ブロ ッ ク デ一 夕およ びそのプロ ッ ク I D が与え られる と、 この符号化ブロ ッ クデータ を復号化する復号化手段、 ·  b2) Given an encoded block data obtained by encoding the block data and its block ID, decoding means for decoding the encoded block data;
1) 3 )前記符号化基準画像データおよび前記復号化されたプロ ッ クデータ に基づき、 前記基準画像データの次の フ レーム の画像データ を生成する 次フ レーム画像デー 夕 生成手段、  1) 3) Next frame image data generating means for generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data,
b 4)与え られたデータ 中に、 前記符号化さ れていないプロ ッ クデ一夕およびその ブロ ッ ク I D が存在する場合に は、 この符号化 されていないブロ ッ ク デー タ を当 該ブロ ッ ク I D の画像データ と して前記次フ レーム画像データ生成手段に 与える 判断手段。  b4) If the unencoded block data and its block ID are present in the given data, the unencoded block data is used as the data. Judgment means given to the next frame image data generation means as the image data of the block ID.
したがっ て、 静止部分の画質 を向上させた動画データ 符号化復号化シス テムを 提供する こ とができる。  Therefore, it is possible to provide a moving image data encoding / decoding system in which the image quality of a still part is improved.
本発明にかかる記憶媒体にお いては、 前記データ は、 1 )各フ レームデー タ をブ □ ッ ク每に分割 してべ ク トル量子化 を行なっ た 符号化データ で且つ、 基準 フ レー ム に対 して動きがある プロ ッ ク をべク ト ル量子化 して得 ら れた符号化デー タおよ び 2 )前記基準フ レーム に対 して動きがあ る領域のブロ ッ ク 以外の ブロ ッ ク の画素 データ を含む。 し たがっ て、 動きがある ブロ ッ ク以外につ いては、 画像データそ れ自体を記憶する こ とができる。 こ れによ り、 動画データ を再生 した場合に、 動 きがあ る ブロ ッ ク 以外のブロ ッ クの 画質を向上させる こ とができ る。  In the storage medium according to the present invention, the data is: 1) coded data obtained by dividing each frame data into blocks and performing vector quantization, and is used as a reference frame. Coded data obtained by vector quantization of a block having motion on the other hand, and 2) blocks other than blocks in an area having motion on the reference frame. Includes block pixel data. Therefore, except for blocks having motion, the image data itself can be stored. This makes it possible to improve the image quality of blocks other than the moving block when the moving image data is reproduced.
本発明にかかる 記馅媒体にお いて は、 前記画素データ には、 各ブロ ッ ク 毎に、 ブ ロ ッ ク番号および前記ブ ロ ッ ク の画素データ をべク トル量子化する ための追加 符号化データが付加さ れて いる。 したがっ て、 再度同 じ ブロ ッ ク につ いて、 デ タ を記億する の に、 記憶領域を 小さ く する こ と ができる。 In the recording medium according to the present invention, the pixel data includes, for each block, A block number and additional encoded data for vector quantization of the pixel data of the block are added. Therefore, it is possible to reduce the storage area for storing data again for the same block.
本発明にかかる記憶媒体にお いては、 前記符号化データ と前記画素データ との 総量は各フ レーム ごと に所定のデー タ総量であ る。 したがっ て、 所定の記憶領域 の範囲内にて、 画質を向上 させ る こ とができる。  In the storage medium according to the present invention, the total amount of the encoded data and the pixel data is a predetermined total data amount for each frame. Therefore, the image quality can be improved within the range of the predetermined storage area.
4-4)用語の定義 4-4) Definition of terms
以下に本明細書で用 いた用語の意義および実施形態との関係について説明する。 「符号化基準画像デ一タ 記恡手段」 : 実施形態にお いては、 図 3 に示す比較パ ッ フ ァ 2 7 a が該当する。  The meaning of the terms used in this specification and the relationship with the embodiments will be described below. “Encoding reference image data recording means”: In the embodiment, the comparison buffer 27 a shown in FIG. 3 corresponds to this.
「符号化手段」 : 実施形態に おいては、 符号化処理部 7 1 が該当す る。  “Encoding unit”: In the embodiment, the encoding unit 71 corresponds to the encoding unit.
Γ書換え手段」 : 実施形態に おいては、 C P U 2 3 の図 1 0 ス テッ プ S T 2 5 の処理に該当する。  “Rewriting means”: In the embodiment, this corresponds to the processing of step S 25 of FIG. 10 of CPU 23.
Γブロ ッ ク構成データ j : ブロ ッ ク デ一タ を構成するデータ を いい、 実施形態 においては、 1 6 のブロ ッ ク構成データ によっ て、 1 のブ 13 ッ ク データ を表すよ う に した。  ΓBlock configuration data j: Data constituting block data. In the embodiment, 16 block configuration data is used to represent 1 block data. did.
Γ対象ブロ ッ ク 決定手段」 : 実施形態においては、 C P U 2 3 の図 1 0 ステツ プ S T 2 1 の処理が該当する。  “Target block determination means”: In the embodiment, the processing of step S 21 of FIG. 10 of CPU 23 corresponds to this.
Γブロ ッ ク データ記憶手段」 : 実施形態にお いては、 コー ド ブッ ク 記憶部 7 3 が該当する。  “Block data storage means”: In the embodiment, the codebook storage unit 73 is applicable.
「送信手段」 : 実施形態にお いては、 図 3 に示す伝送制御部 3 1 が該当する。 Γ受信手段」 : 実施形態にお いては、 図 1 5 に示す伝送制御部 3 1 が該当する c 「追加ブロ ッ ク データ生成手段」 : 実施形態 にお いては、 C P U 2 3 の 図 1 1 ス テ ッ プ S T 3 1 〜 3 5 の処理が該当する。 “Transmitting means”: In the embodiment, the transmission control unit 31 shown in FIG. 3 corresponds to this. {Receiving means}: In the embodiment, the transmission control unit 31 shown in FIG. 15 is applicable. C “Additional block data generating means”: In the embodiment, the CPU 23 shown in FIG. The processing in steps ST31 to ST35 corresponds to this.
「復号化手段」 : 実施形態においては、 復号化処理部 8 2 が該当する。  "Decoding means": In the embodiment, the decoding processing unit 82 corresponds.
「次フ レーム画像データ 生成手段」 : 実施形態においては、 1; 2 3 の図 1 "Next frame image data generating means": In the embodiment, 1;
7 ステ ッ プ S T 5 7 の処理が該当す る。 7 Step ST 57 corresponds to the processing.
Γ判断手段」 : 実施形態にお いて は、 受信データ 判断部 8 0 ま たは、 C P U 2 {Judgment means}: In the embodiment, the received data judgment unit 80 or CPU 2
3 の図 1 9 ステッ プ S T 1 0 1 の処理が該当する。 This corresponds to the processing in step ST101 of Fig. 19 in Fig. 3.
Γ追加ブロ ッ ク デー タ記惊手段 J : 実施形態にお いては、 追加 コー ドブ ッ ク記 慷部 7 7 が該当する。 {Additional block data recording means J: In the embodiment, the additional codebook useful unit 77 corresponds to this.

Claims

請求の範囲 The scope of the claims
1 . 以下を備えた動画データの 符号化装 S : 1. Video data encoding device S with:
複数の画素にて構成 される一画面分の画像データ を符号化基準画像データ と し て記憶する 符号化基準画像データ記憶手段、  Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data;
符号化対象の画像デ一夕 を複数のプロ ッ ク データ に分割 し、 前記符号化対象の 画像データ を構成する プロ ッ ク データ と、 前記符号化基準画像データ の対応プロ ッ クデータ との差分評価に基づいて、 対象ブロ ッ ク を決定する対象ブロ ッ ク決定 手段、  The image data to be encoded is divided into a plurality of block data, and the difference between the block data constituting the image data to be encoded and the corresponding block data of the encoding reference image data is evaluated. Target block determining means for determining the target block based on the
複数のブロ ッ ク構成データか ら構成さ れるブ α ッ ク データ およびこれに対応す る 符号を候補デ一夕 と して、 複数記憶する プロ ッ ク データ記憶手段、  Block data storage means for storing a plurality of block data composed of a plurality of block configuration data and codes corresponding thereto as candidate data;
前記決定された対象プロ ッ ク につ いて、 前記プロ ッ ク デ一夕記愴手段に記憶さ れた候補データ を用 いて、 符号化する符号化手段、  Coding means for coding the determined target block using candidate data stored in the block data storage means;
前記符号化データ を送信する送信手段、  Transmitting means for transmitting the encoded data;
前記送信手段のデータ転送余裕度に余裕あ り と判新 した場合には、 前記符号 化対象の画像データ の前記対象ブロ ッ ク 以外の ブロ ッ ク データ をそのブロ ッ ク I D と と も に前記送信手段に与え る追加ブロ ッ ク データ生成手段、  If it is determined that the data transfer margin of the transmitting means is sufficient, the block data other than the target block of the image data to be encoded is written together with the block ID. Additional block data generation means given to the transmission means,
を備え、  With
前記送信手段は、 与え られたブロ ッ ク I D と と も に前記追加ブ ロ ッ クデータ を 送信する。  The transmitting means transmits the additional block data together with the given block ID.
2 . 2.
請求項 1 の動画データの符号化装置にお いて、  In the video data encoding device according to claim 1,
前記追加プロ ッ ク データ生成手段は, 前記送信手段に与えた追加ブロ ッ クデー 夕 につ いて、 これを符号化 した追加符号化デー タ と と も に記憶してお り、 さ ら に, 前記既に記憶した追加ブロ ッ ク デー タ と同 じブ ロ ッ ク データ につ いては、 前記対 象ブロ ッ ク以外の ブロ ッ ク デー タ を 符号化 して、 そのブロ ッ ク I D と とも に追加 符号化デ一夕 を前記送信手段に与え、  The additional block data generating means stores the additional block data provided to the transmitting means together with the encoded additional coded data, and further stores the additional block data. For the same block data as the already stored additional block data, the block data other than the target block is encoded and added together with the block ID. Providing encoded data to the transmitting means,
前記送信手段は前記ブロ ッ ク I D およびその追加符号化データ を送信す る もの c C as the transmission unit that sends the block ID and the additional encoded data
3 . 3.
請求項 2 の動画デー タの符号化装置にお いて、  In the moving picture data encoding apparatus according to claim 2,
前記追加ブロ ッ クデータ生成手段は、 各ブロ ッ ク I D ごと に分類 し て記憶して お り、 こ の分類に基づいて前記符号化を行なう もの。  The additional block data generating means stores the data by classifying each block ID, and performs the encoding based on the classification.
4 . Four .
請求項 3 の動画データ の符号化装置にお いて、  In the moving picture data encoding apparatus according to claim 3,
前記追加ブロ ッ クデータ 生成手段は、 記憶さ れる各ブロ ッ ク I D ごとの追加プ ロ ッ ク データが予め決め ら れた数を越えた場合には、 一番古い追加ブロ ッ クデー 夕 につ いては, こ れを 削除する もの。  The additional block data generating means, when the additional block data stored for each block ID exceeds a predetermined number, determines the oldest additional block data. Is to delete this.
5 . Five .
請求項 1 〜請求項 4 のいずれかの動画データ の符号化装置において、 前記追加ブロ ッ ク データ 生成手段は、 前記決定された対象ブロ ッ ク 数に基づい て、 前記データ転送余裕度に余裕あ り と判断する もの。  5. The video data encoding device according to claim 1, wherein the additional block data generating unit has a margin for the data transfer margin based on the determined number of target blocks. 6. What you judge.
6 . 6.
請求項 1 〜請求項 4 のいずれかの動画データ の符号化装置にお いて、 前記追加ブロ ッ ク データ生成手段は、 伝送状態を検知 して、 前記データ 転送余 裕度に余裕あ り と判断する もの。  In the moving picture data encoding apparatus according to any one of claims 1 to 4, the additional block data generating means detects a transmission state and determines that the data transfer margin is sufficient. What to do.
7 . 7.
請求項 1 〜請求項 6 のいずれかの動画データ の符号化装置にお いて、 前記追加ブロ ッ クデータ生成手段は、 前記追加ブロ ッ ク デー タ を所定の規則に 基づいて順次生成する もの。  7. The moving picture data encoding apparatus according to claim 1, wherein said additional block data generating means sequentially generates said additional block data based on a predetermined rule.
8 . 8.
請求項 7 の動画デー タ の符号化装 Bにおいて、 前記所定の規則は、 前記差分評 価が小さなブロ ッ クか ら優先的に前記追加ブロ ッ ク データ を生成する もの。 8. The moving image data encoding device B according to claim 7, wherein the predetermined rule is the difference evaluation. The block that generates the additional block data preferentially from blocks with low value.
9 . 9.
請求項 7 の動画デー タの符号化装置にお いて、 前記所定の規則は、 指定された 特定領域のプロ ッ ク について優先的に生成する もの。  8. The video data encoding device according to claim 7, wherein the predetermined rule preferentially generates a block of a specified specific area.
1 0 . Ten .
請求項 9 の動画データの 符号化装置にお いて、 前記指定は、 操作者によ って行 なわれる も の。  10. The moving picture data encoding device according to claim 9, wherein the designation is performed by an operator.
1 1 . 1 1.
請求項 1 〜 1 0 の いずれかの動画データ の符号化装置にお いて、 前記 ·符号化基 準画面データ のブロ ッ クデータ を、 前記伝送対象ブロ ッ ク データ を用 いて書換え る書換え手段を備えたもの。  The moving picture data encoding apparatus according to any one of claims 1 to 10, further comprising: rewriting means for rewriting the block data of the encoding reference screen data using the transmission target block data. Things.
1 2 . 以下を備えた動画データ の符号化装置 : 1 2. Video data encoding device with:
複数の画素にて構成される一画面分の画像データ を符号化基準画像データ と し て記憶する符号化基準画像デー タ記憶手段、  Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data;
与え られた符号化対象の画像デー タ を複数の ブロ ッ ク データ に分割 し、 前記符 号化対象の画像データ を構成す る プロ ッ ク デー タ と、 前記符号化基準画像データ の対応ブロ ッ ク データ との差分評価に基づいて、 対象ブロ ッ ク を決定する 対象ブ ロ ッ ク 决定手段、  The given coding target image data is divided into a plurality of block data, and the corresponding block data of the block data constituting the coding target image data and the coding reference image data. Target block determining means for determining the target block based on the difference evaluation with the block data,
複数のブロ ッ ク構成データか ら構成される ブロ ッ クデータ およびこれに対応す る 符号を侯補データ と して、 複数記憶する ブロ ッ ク データ記 ¾手段、  Block data recording means for storing a plurality of block data composed of a plurality of block configuration data and codes corresponding thereto as candidate data,
前記决定された対象プロ ッ ク につ いて、 前記 プロ ッ ク データ 記燈手段に 記使さ れた侯補データ を用 いて、 符号化す る 符号化手段、  Coding means for coding the determined target block by using candidate data used in the block data writing means;
前記符号化手段が符号化する プロ ッ ク 数が所定数よ り 少な い場合には、 前記符 号化対象の画像データ の前記対象ブ ロ ッ ク以外のブロ ッ ク データ を出力する追加 ブロ ッ ク データ生成手段。 When the number of blocks to be encoded by the encoding means is smaller than a predetermined number, an additional block for outputting block data of the image data to be encoded other than the target block. Data generation means.
1 3 . 13 .
請求項 1 2 の動画データ の符号化装置において、 前記追加ブロ ッ クデー タ生成 手段は、 前記出力する ブロ ッ ク デー タ を符号化 して、 そのブロ ッ ク I D と と もに 出力する もの。  13. The moving image data encoding device according to claim 12, wherein said additional block data generating means encodes said output block data and outputs the encoded block data together with said block ID.
1 4 . 14 .
請求項 1 2 または請求項 1 3 の動画データの 符号化装置にお いて、 前記追加ブ ロ ッ ク データ生成手段は, 前記各ブ ロ ッ クデー タ の差分評価に基づいて, 前記符 号化手段が符号化する ブロ ッ ク 数が所定数よ り 少な いと判断する もの。  13. The moving image data encoding device according to claim 12 or claim 13, wherein the additional block data generating unit is configured to execute the encoding unit based on a difference evaluation of each of the block data. Those that judge that the number of blocks to be encoded is less than the specified number.
1 5 . 以下を備えた動画データ の復号化装置 : 1 5. Video data decoding device with:
伝送さ れたデータ を受信する 受信手段、  Receiving means for receiving the transmitted data,
複数の画素にて構成される一画面分の画像デ一タ を符号化基準画像デー タ と し て記憶する符号化基準画像デー タ記憶手段、  Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data;
前記受信 したデータ を復号化する復号化手段、  Decoding means for decoding the received data;
前記符号化基準画像データおよび前記復号化されたブロ ッ クデータ に夢づき、 前記基準画像データの次の フ レーム の画像データ を生成する次フ レ一ム画像デー タ生成手段、  A next frame image data generating means for dreaming on the encoded reference image data and the decoded block data and generating image data of a frame next to the reference image data;
前記受信 したデータ 中に、 前記符号化されて いな いブロ ッ ク データおよ びその ブロ ッ ク I D が存在する場合に は、 この符号化 されていないブロ ッ クデー タ を当 該ブロ ッ ク I D の画像データ と して前記次フ レーム画像データ 生成手段に与える 判断手段。  If the unencoded block data and its block ID are present in the received data, the unencoded block data is replaced with the block ID of the block ID. Judging means given to the next frame image data generating means as image data.
1 6 . 1 6.
請求項 1 5 の動画データ の復号化装置において、  The moving picture data decoding device according to claim 15,
前記判断手段が前記次フ レー ム画像データ生成手段に与えたブロ ッ クデータ に つ いて, これを符号化 した追加符号化データ と と も に記憶する追加ブロ ッ クデー タ記憶手段を備え、 前記復号化手段は、 追加符号化データ が与え られる と、 前記追加プロ ッ クデ一 タ 記憧手段に記憶した追加ブロ ッ ク データ によ っ て復号化する も の。 An additional block data storage unit that stores the block data given by the determination unit to the next frame image data generation unit together with the additional encoded data obtained by encoding the block data; The decoding means, when given the additional encoded data, decodes the data using the additional block data stored in the additional block data storage means.
1 7 . 1 7.
請求項 1 6 の動画データ の復号化装置において、 前記追加ブロ ッ ク データ記 手段は、 各ブロ ッ ク I D ご と に分類 して記憶してお り、 前記復号化手段は、 この 分類に基づいて前記符号化を行なう もの。  17. The moving picture data decoding device according to claim 16, wherein said additional block data recording means is classified and stored for each block ID, and said decoding means is configured to store said block data based on said classification. Performing the above-mentioned encoding.
1 8 . 1 8.
請求項 1 7 の動画データ の復号化装置において、 前記追加ブロ ッ ク データ記憶 手段は、 記億さ れる各ブロ ッ ク I D ご と の追加ブ α ッ ク データが予め決め られた 数を越えた場合に は、 一番古い追加ブロ ッ ク データ については、 これを削除する もの。  18. The moving picture data decoding apparatus according to claim 17, wherein said additional block data storage means stores a predetermined number of additional block data for each block ID to be stored. If so, delete the oldest additional block data.
1 9 . 1 9.
請求項 1 5 〜請求項 1 8 のいずれかの動画デ一夕 の復号化装置にお いて. 前記 符号化基準画面データ のブ ロ ッ クデータ を、 前記伝送対象ブロ ッ クデータ を用 い て書換える書換え手段を備えた もの。  The video decoding apparatus according to any one of claims 15 to 18, wherein the block data of the encoding reference screen data is rewritten using the block data to be transmitted. Those with rewriting means.
2 0 . 2 0.
以下を備えた動画データ の復号化装置 :  Video data decoding device with:
複数の画素にて構成される一画面分の画像データ を符号化基準画像デー タ と し て記憶する符号化基準画像デー タ記愴手段、  Encoding reference image data pathological means for storing image data for one screen composed of a plurality of pixels as encoding reference image data;
ブロ ッ クデータ を符号化 した 符号化ブロ ッ ク データおよびそのブロ ッ ク I が 与え ら れる と、 こ の符号化プロ ッ ク データ を復号化する復号化手段、  Given encoded block data obtained by encoding block data and its block I, decoding means for decoding the encoded block data,
前記符号化基準画像データお よび前記復号化 されたプロ ッ ク データ に基づき、 前記基準画像データ の次の フ レーム の画像データ を生成する次フ レーム画像デー タ 生成手段、  A next frame image data generating means for generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
与え ら れたデータ 中 に、 前記 符号化されてい ない ブロ ッ ク データおよびそのブ ロ ッ ク I Dが存在する 場合には、 こ の符号化さ れて いないブロ ッ クデータ を当該 プロ ッ ク I D の画像データ と し て前記次フ レーム画像データ 生成手段 に与える判 断手段。 In the given data, the non-encoded block data and its block When there is a lock ID, a judging means for giving the unencoded block data as the image data of the block ID to the next frame image data generating means.
2 1 . twenty one .
請求項 2 0 の動画データ の復号化装 fiにおいて、  In the video data decoding device fi according to claim 20,
前記判断手段が前記次フ レーム画像データ生成手段に与えたプロ ッ クデータ に つ いて、 これを符号化 した追加符号化デ一タ と と も に記憧する追加ブロ ッ クデー タ 記憶手段を備え、  Additional block data storage means for storing the block data given to the next frame image data generation means by the determination means together with additional encoded data obtained by encoding the block data,
前記復号化手段は、 追加符号化データが与え られる と、 前記追加ブロ ッ クデ一 夕記憶手段に記憶した追加ブロ ッ ク データ によ っ て復号化する も の。  The decoding means, when given the additional encoded data, decodes the data using the additional block data stored in the additional block data storage means.
2 2 . twenty two .
以下 を備えた動画データ の送受信シス テム :  Video data transmission and reception system with:
A ) 以下を備えた動画データの 符号化装 ¾ , A) video data encoding device with:
a l )複数の画素にて構成さ れる一画面分の画像データ を符号化基準画像データ と して記憶する 符号化基準画像データ 記憶手段、  a l) Encoding reference image data storage means for storing image data for one screen composed of a plurality of pixels as encoding reference image data.
a 2 )符号化対象の画像デー タ を複数の プロ ッ クデータ に分割 し、 前記符号化対象 の画像データ を構成するブロ ッ クデータ と、 前記符号化基準画像データの対応ブ ロ ッ ク データ との差分評価に基づい て、 対象ブロ ッ ク を決定する 対象ブロ ッ ク決 定手段、  a2) The image data to be encoded is divided into a plurality of block data, and block data constituting the image data to be encoded and block data corresponding to the encoding reference image data. A target block determining means for determining a target block based on the difference evaluation;
a 3 )複数のブロ ッ ク構成データか ら構成さ れる ブロ ッ クデータおよびこれに対応 する 符号を候補データ と して、 複数記憶するブロ ッ ク データ 記憶手段、  a3) Block data storage means for storing a plurality of block data composed of a plurality of block configuration data and a code corresponding thereto as candidate data,
a 4 >前記決定さ れた対象ブ ロ ッ ク につ いて、 前記プロ ッ ク データ記恡手段に 12惊 さ れた侯補データ を用 いて、 符号化する 符号化手段、  a4> coding means for coding the determined target block using the candidate data set in the block data recording means,
a 5 )前記符号化データ を送信する送信手段、  a5) transmitting means for transmitting the encoded data,
a6 )前記送信手段のデータ 転送余裕度 に余裕あ り と判断 し た場合に は、 前記符号 化対象の画像データ の前記対象ブロ ッ ク以外の プロ ッ ク データ をそのプロ ッ ク I D と と も に前記送信手段に与え る追加ブロ ッ ク デー タ生成手段、 を備え、 a6) If it is determined that there is a margin in the data transfer margin of the transmission means, block data other than the target block of the image data to be encoded is also assigned to the block ID. Means for generating additional block data to be provided to the transmitting means, With
a7)前記送倌竽段は、 与え ら れたブロ ッ ク I D と と も に前記追加ブロ ッ ク デ一夕 を送信する、  a7) the transmitting step transmits the additional block data together with a given block ID;
B ) 以下を備えた動画データの復号化装置、  B) a video data decoding device comprising:
bl)伝送されたデータ を受信する受信手段、  bl) receiving means for receiving the transmitted data,
1)2)複数の画素にて構成さ れる一画面分の画像デ一タ を符号化基準画像データ と して記愴する 符号化基準画像データ記憶手段、  1) 2) encoding reference image data storage means for pathologically storing image data for one screen composed of a plurality of pixels as encoding reference image data;
b3)前記受信 したデータ を復号化する復号化手段、  b3) decoding means for decoding the received data,
b4)前記符号化棊準画像データおよび前記復号化されたプロ ッ クデ一夕 に基づき、 前記基準画像データの次の フ レーム の画像データを生成する次フ レーム画像デ一 タ 生成手段、  b4) next frame image data generating means for generating image data of a frame next to the reference image data based on the encoded standard image data and the decoded block data;
b5)前記受信 したデー タ中 に、 前記符号化されていな いブロ ッ クデ一夕およびそ のブロ ッ ク I Dが存在する場合 には、 こ の符号化されていな いブロ ッ クデータを 当該ブロ ッ ク I D の画像データ と し て前記次フ レーム画像データ 生成手段に与え る判断手段。  b5) If the unencoded block data and its block ID are present in the received data, the unencoded block data is deleted. Judgment means given to the next frame image data generation means as the image data of the block ID.
2 3. twenty three.
以下を備えた動画データ の符号化復号化シス テム。  A video data encoding / decoding system comprising:
A ) 以下を備えた動画データ の符号化装置、  A) A video data encoding device comprising:
al)祓数の画素にて構成さ れる一画面分の画像データ を符号化基準画像データ と して記億する 符号化基準画像データ 記憶手段、  al) Encoding reference image data storage means for storing image data for one screen composed of the number of pixels as the encoding reference image data.
a2)与え ら れた符号化対象の画像デー タ を襖数のプロ ッ ク データ に分割 し、 前記 符号化対象の画像データ を構成する ブロ ッ クデータ と、 前記符号化基準画像デ一 夕 の対応ブロ ッ ク デー タ と の差分評価に基づい て、 対象ブロ ッ ク を決定す る対象 ブロ ッ ク 決定手段、  a2) The given image data to be encoded is divided into block data for the number of sliding doors, and the correspondence between the block data constituting the image data to be encoded and the encoding reference image data Target block determining means for determining the target block based on the difference evaluation with the block data;
a3)複数のブロ ッ ク構成データか ら構成さ れる ブロ ッ クデータおよ びこれに対応 する 符号を候補データ と して、 複数記愴する ブ ロ ッ クデ一タ 記惊手段、  a3) Block data recording means for storing a plurality of pathological data, using block data composed of a plurality of block configuration data and codes corresponding thereto as candidate data,
a4)前記決定された対象プ ロ 'ソ ク につ いて、 前記ブロ ッ ク データ記 ¾手段に記憶 された候補データ を用 いて、 符号化する 符号化手段、 a 5 )前記符号化手段が符号化する プロ ッ ク 数が所定数よ り 少ない場合に は、 前記 符号化対象の画像データ の前記対象プロ ッ ク以外のプロ ッ ク デー タ を出力する追 加ブロ ッ ク データ生成手段、 a4) encoding means for encoding the determined target program using the candidate data stored in the block data recording means; a5) If the number of blocks to be encoded by the encoding means is smaller than a predetermined number, an additional step of outputting block data other than the target block of the image data to be encoded is performed. Block data generation means,
B ) 以下を備えた動画データの復号化装置、 B) a video data decoding device comprising:
b l )複数の画素にて構成される一画面分の画像データ を符号化基準画像データ と して記憶する 符号化基準画像データ 記馅手段、  b l) Encoding reference image data recording means for storing one screen of image data composed of a plurality of pixels as encoding reference image data.
b 2 )ブロ ッ ク データ を 符号化 した符号化ブロ ッ クデ一夕およびその ブロ ッ ク I D が与え られる と、 この 符号化プロ ッ クデータ を復号化する復号化手段、  b2) Given an encoded block data obtained by encoding block data and its block ID, decoding means for decoding the encoded block data;
b 3 )前記符号化基準画像データお よび前記復号化されたプロ ッ ク データ に基づき、 前記基準画像データ の次の フ レームの画像データ を生成する次フ レーム画像デ一 夕 生成手段、  b3) a next frame image data generating means for generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
b 4)与え られたデータ 中に、 前記符号化されていない ブロ ッ ク データおよびその プロ ッ ク I D が存在する場合に は、 この符号化されていない ブロ ッ ク データを当 該ブロ ッ ク I D の画像データ と して前記次 フ レーム画像データ生成手段に与える 判断手段。  b 4) If the unencoded block data and its block ID are present in the given data, the unencoded block data is replaced with the block ID. Determining means for providing the next frame image data generating means as the image data of the second frame.
2 4 . 以下を備えた動画データ の符号化方法 : 2 4. Video data encoding method with:
複数の画素にて構成される一画面分の画像データ を符号化基準画像デー タ と し て記憶しておき、  One screen of image data composed of a plurality of pixels is stored as encoding reference image data, and
与え られた符号化対象の画像データ を複数の プロ ッ ク データ に分割 し、 符号化 対象の画像データ を構成する ブ ロ ッ クデータ と、 前記符号化基準画像デー タ の対 応ブロ ッ クデータ との差分評価 に基づいて、 対象ブロ ッ ク を決定 し、  The given encoding target image data is divided into a plurality of block data, and the block data forming the encoding target image data and the corresponding block data of the encoding reference image data. Determine the target block based on the difference evaluation,
複数のブロ ッ ク 構成データか ら構成されるブ α ッ ク データ およびこれに対応す る 符号を候補デ一タ と して複数記慷しておき、  Block data composed of a plurality of block configuration data and a code corresponding to the block data are used as candidate data in a plurality of useful ways.
前記決定さ れた対象ブロ ッ ク につ いて、 前記候補データ を用 いて、 符号化 して、 送信する、  Using the candidate data, encoding and transmitting the determined target block;
前記送信のデータ転送余裕度 に余裕があ る場合に は、 前記符号化対象の画像デ 一夕 の前記対象ブ ロ ッ ク 以外の ブロ ッ ク データ をそのブロ ッ ク I D と と も に送信 する。 If there is a margin in the data transfer margin of the transmission, block data other than the target block of the image data to be encoded is transmitted together with the block ID. .
2 5 . 以下を備えた動画データ の符号化方法 : 2 5. Encoding method for video data with:
複数の画素にて構成される一画面分の画像データ を符号化基準画像デ一夕 と し て記使しておき、  One screen of image data composed of a plurality of pixels is recorded as an encoding reference image data,
与え られた符号化対象の画像データ を複数のブロ ッ クデータ に分割 し、 符号化 対象の画像データ を構成する ブ ロ ッ クデータ と、 前記符号化基準画像データの対 応ブロ ッ ク データ との差分評価 に基づいて、 対象ブロ ッ ク を決定 し、  The given encoding target image data is divided into a plurality of block data, and the difference between the block data constituting the encoding target image data and the corresponding block data of the encoding reference image data. Based on the evaluation, determine the target block,
複数のブロ ッ ク 構成データか ら構成さ れる ブロ ッ クデータ およ びこ れに対応す る 符号を候補データ と して複数記憶してお き、  Block data composed of a plurality of block configuration data and a plurality of codes corresponding to the block data are stored as candidate data.
前記決定さ れた対象ブ 0 ッ ク につ いて、 前記候補データ を用 いて、 符号化する、 符号化する プロ ッ ク 数が所定数よ り 少ない場合には、 前記符号化対象の画像デ —夕 の前記対象ブロ ッ ク以外の ブロ ッ ク データ を出力する。  For the determined target block, using the candidate data, the encoding is performed. If the number of blocks to be encoded is smaller than a predetermined number, the encoding target image data is decoded. The block data other than the target block in the evening is output.
2 6 . 以下を備えた動画データ 復号化の方法 : 2 6. Method of decoding video data with:
複数の画素にて構成される一画面分の画像データ を符号化基準画像デ一 夕 と し て記憶しておき、  Image data for one screen composed of a plurality of pixels is stored as an encoded reference image data, and
前記伝送された符号化データ を受信 し、 これを復号化 し、  Receiving the transmitted encoded data, decoding it,
前記符号化基準画像データお よび前記復号化 されたブロ ッ クデータ に基づき、 前記基準画像データ の次の フ レーム の圃像デー タ を生成する、  Generating field image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
前記受信 したデータ 中 に、 前記符号化されて いな いブロ ッ ク データおよ びその ブロ ッ ク I D が存在する場合に は、 この符号化 されていない ブロ ッ ク デー タ を当 該ブロ ッ ク I D の画像データ と して前記次のフ レームの画像データ を生成する。  If the unencoded block data and its block ID are present in the received data, the unencoded block data is replaced with the block ID. The image data of the next frame is generated as the image data of the next frame.
2 7 . 2 7.
以下を備えた動画データ復号化の方法 :  Video data decryption method with:
複数の画素にて構成される 一画面分の画像データ を符号化基準画像デー タ と し て記憶してお き、  One screen of image data composed of a plurality of pixels is stored as encoding reference image data.
ブロ ッ クデータ を 符号化 した 符号化ブロ ッ ク デー タおよびそのブロ ッ ク I D が 与え ら れる と、 こ の符号化ブロ ッ ク データ を復号化 し、 前記符号化基準画像データおよび前記復号化されたプロ ッ ク データ に基づき、 前記基準画像データ の次の フ レーム の画像データ を生成する、 Given coded block data obtained by coding block data and its block ID, the coded block data is decoded. Generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
与え られたデータ 中 に、 前記符兮化されていない プロ ッ ク デー タおよびそのブ ロ ッ ク I Dが存在する場合には、 こ の符号化さ れていないブロ ッ クデータ を当該 ブロ ッ ク I D の画像データ と して前記次の フ レーム の画像データ を生成する。  If the unencoded block data and its block ID exist in the given data, the unencoded block data is replaced with the block ID. The image data of the next frame is generated as the image data of the next frame.
2 8 . 2 8.
コ ン ピュータ可読の動画再生用のデータ を記憶した記慷媒体であっ て、 前記デ 一夕 は、 以下の符号化データお よび画素デ一夕 を含む も の :  A convenient medium storing data for reproducing a computer-readable moving image, wherein the data includes the following encoded data and pixel data:
1 )各フ レームデータ をブ ロ ッ ク毎に分割 してベク トル量子化を行な っ た符号化 データ で且つ、 基準フ レームに対して動きがあ る ブロ ッ ク をべク トル量子化 して 得 られた符号化データ、  1) Encoded data obtained by dividing each frame data for each block and performing vector quantization, and performing vector quantization on blocks that have motion with respect to the reference frame Coded data obtained by
2) さ ら に、 前記基準フ レ一ム に対 して動きがある領域のブロ ッ ク以外のプロ ッ ク の画素データ。  2) In addition, pixel data of blocks other than blocks in a region where there is motion with respect to the reference frame.
2 9 . 2 9.
請求項 2 8 の記憶媒体であっ て、 前記画素データ には、 各ブロ ッ ク 毎に、 プロ ッ ク番号および前記ブ C1 ッ ク の画素データ をベ ク トル量子化する ため の追加符号 化データが付加さ れている もの。  30. The storage medium according to claim 28, wherein the pixel data includes, for each block, a block number and additional encoded data for vector-quantizing the pixel data of the block C1. Those to which is added.
3 0 . 3 0.
請求項 2 8 または請求項 2 9 の記憶媒体であ っ て、  The storage medium according to claim 28 or claim 29, wherein
前記符号化データ と前記画素データ との総量は各フ レーム ごと に所定の データ 総量である もの。  The total amount of the encoded data and the pixel data is a predetermined total amount of data for each frame.
3 1 . 3 1.
入力装置、 制御装置、 表示装置お よび記憶装置を備えたコ ン ピュータ を以下の 処理を行 う 装置と して機能させ る プロ グラム を記燎させた記憶媒体 :  A storage medium storing a program for causing a computer including an input device, a control device, a display device, and a storage device to function as a device that performs the following processing:
複数の画素にて構成される一画面分の画像データ を符号化基準画像デー タ と し て記憶してお き、 One screen of image data composed of multiple pixels is used as encoding reference image data. And remember
与え られた符号化対象の画像データ を複数の プロ ッ ク デー タ に分割 し、 符号化 対象の画像データ を構成する プロ ッ ク データ と、 前記符号化基準画像データの対 応ブロ ッ ク データ との差分評価に基づいて、 対象ブロ ッ ク を决定 し、  Given image data to be encoded is divided into a plurality of block data, block data constituting the image data to be encoded, and block data corresponding to the encoding reference image data. The target block is determined based on the difference evaluation of
複数のブロ ッ ク構成デー タか ら構成されるブロ ッ クデータおよ びこれに対応す る 符号を候補データ と して複数記憶しておき、  Block data composed of a plurality of block configuration data and a plurality of codes corresponding to the block data are stored as candidate data.
前記決定された対象ブロ ッ ク につ いて、 前記候補データ を用 いて、 符号化 して、 送信する、  Using the candidate data, encode and transmit the determined target block.
前記送信のデ一夕転送余裕度に余裕があ る場合に は、 前記符号化対象の画像デ 一夕 の前記対象ブロ ッ ク以外の ブロ ッ ク データ をそのブロ ッ ク I D と と も に送信 する。  If there is a margin in the transmission overnight of the transmission, the block data other than the target block of the image to be encoded is transmitted together with the block ID. I do.
3 2 . 3 2.
入力装置、 制御装置、 表示装置および記憶装置を備えたコ ンピュータ を以下の 処理を行う装置 と して機能させ る プロ グラムを記憧させた記憶媒体 :  A storage medium that reminds of a program that causes a computer including an input device, a control device, a display device, and a storage device to function as a device that performs the following processing:
複数の画素にて構成される一画面分の画像データ を符号化基準画像データ と し て記憶しておき、 - 与え られた符号化対象の画像データ を複数の プロ ッ クデー タ に分割 し、 符号化 対象の画像データ を構成する ブ ロ ッ ク データ と、 前記符号化基準画像デー タの対 応ブロ ッ クデータ との差分評価 に基づいて、 対象ブロ ッ ク を决定 し、  Image data for one screen composed of a plurality of pixels is stored as encoding reference image data, and-given image data to be encoded is divided into a plurality of block data and encoded. Determining a target block based on a difference evaluation between block data constituting image data to be encoded and corresponding block data of the encoding reference image data;
複数のプロ ッ ク構成データか ら構成さ れる ブ ロ ッ クデータおよびこれに対応す る 符号を候補データ と して襖数記像しておき、  Block data composed of a plurality of block configuration data and a code corresponding to the block data are recorded as candidate data, and the number of sliding doors is recorded.
前記决定さ れた対象ブロ ッ ク につ いて、 前記候補データ を用 いて、 符号化する、 符号化する プロ ッ ク 数が所定数よ り 少ない場合には、 前記符号化対象の画像デ 一夕 の前記対象ブロ ッ ク以外の ブロ ッ クデータ を出力する。  For the determined target block, the number of blocks to be encoded using the candidate data is smaller than a predetermined number. The block data other than the target block is output.
3 3 . 3 3.
入力装置、 制御装置、 表示装置および記憶装置を備えたコ ン ピュータ を以下の 処理を行う 装置と して機能させ る プ α グラムを 記愴させた記憶媒体 :  A storage medium in which a program that causes a computer including an input device, a control device, a display device, and a storage device to function as a device that performs the following processing is stored:
複数の画素 にて構成さ れる一画面分の画像データ を符号化基準画像データ と し て記憶してお き、 One screen of image data composed of a plurality of pixels is defined as encoding reference image data. And remember
前記伝送された 符号化データ を受信 し、 これを復号化 し、  Receiving the transmitted encoded data, decoding it,
前記符号化基準画像データおよび前記復号化されたプロ ッ クデータ に基づき、 前記基準画像データの次の フ レーム の画像データ を生成する、  Generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
前記受信 したデータ 中に、 前記符号化されていな いブロ ッ クデータおよびその ブロ ッ ク I D が存在する場合に は、 こ の符号化されていない ブロ ッ ク デ一夕を当 該ブロ ッ ク I D の画像データ と して前記次のフ レームの面像データ を生成する、  If the unencoded block data and its block ID are present in the received data, the unencoded block data is stored in the received block data. Generating plane image data of the next frame as image data of
3 4 . 3 4.
入力装置、 制御装置、 表示装置および記馇装置を備えたコ ン ピュータ を以下の 処理を行 う 装置 と して機能させ る プロ グラ ムを記憶させた記燎媒体 :  A storage medium storing a program that causes a computer including an input device, a control device, a display device, and a recording device to function as a device that performs the following processing:
複数の画素にて構成される一画面分の画像データ を符号化基準画像デ一夕 と し て記憶しておき、  One screen of image data composed of a plurality of pixels is stored as an encoded reference image data,
ブロ ッ クデータ を符号化 した 符号化ブロ ッ ク データおよびそのブロ ッ ク I が 与え ら れる と、 こ の符号化ブロ ッ ク データ を復号化 し、  Given coded block data obtained by coding block data and its block I, the coded block data is decoded,
前記符号化基準画像データお よび前記復号化されたブロ ッ クデータ に基づき、 前記基準画像データ の次の フ レーム の画像デー タ を生成する、  Generating image data of a frame next to the reference image data based on the encoded reference image data and the decoded block data;
与え られたデータ 中 に、 前記符号化されていないブロ ッ ク データおよびそのブ ロ ッ ク I Dが存在する場合には、 こ の符号化さ れていないプロ ッ クデータ を当該 ブロ ッ ク I D の画像データ と し て前記次の フ レーム の画像デ一タ を生成する、  If the unencoded block data and its block ID exist in the given data, the unencoded block data is converted to the image of the block ID. Generating image data of the next frame as data;
PCT/JP1998/001407 1997-03-28 1998-03-27 Dynamic image data encoder, dynamic image data decoder and method therefor WO1998044741A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU65192/98A AU6519298A (en) 1997-03-28 1998-03-27 Dynamic image data encoder, dynamic image data decoder and method therefor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP7751897A JP2000023168A (en) 1997-03-28 1997-03-28 Moving image data encoder, moving image data decoder and method therefor
JP9/77518 1997-03-28

Publications (1)

Publication Number Publication Date
WO1998044741A1 true WO1998044741A1 (en) 1998-10-08

Family

ID=13636197

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1998/001407 WO1998044741A1 (en) 1997-03-28 1998-03-27 Dynamic image data encoder, dynamic image data decoder and method therefor

Country Status (3)

Country Link
JP (1) JP2000023168A (en)
AU (1) AU6519298A (en)
WO (1) WO1998044741A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109076233A (en) * 2016-04-19 2018-12-21 三菱电机株式会社 Image processing apparatus, image processing method and image processing program

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4985492B2 (en) * 2008-03-13 2012-07-25 日本電気株式会社 Screen data transmitting apparatus and method
JP5110304B2 (en) * 2008-09-01 2012-12-26 日本電気株式会社 Screen data transmitting apparatus, screen data transmitting method, and screen data transmitting program
KR102520957B1 (en) * 2016-04-15 2023-04-12 삼성전자주식회사 Encoding apparatus, decoding apparatus and method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60158787A (en) * 1984-01-30 1985-08-20 Mitsubishi Electric Corp Interframe vector encoder
JPH04181888A (en) * 1990-11-16 1992-06-29 Seiko Epson Corp Moving picture data compressor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60158787A (en) * 1984-01-30 1985-08-20 Mitsubishi Electric Corp Interframe vector encoder
JPH04181888A (en) * 1990-11-16 1992-06-29 Seiko Epson Corp Moving picture data compressor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109076233A (en) * 2016-04-19 2018-12-21 三菱电机株式会社 Image processing apparatus, image processing method and image processing program

Also Published As

Publication number Publication date
AU6519298A (en) 1998-10-22
JP2000023168A (en) 2000-01-21

Similar Documents

Publication Publication Date Title
US5649030A (en) Vector quantization
JP3017380B2 (en) Data compression method and apparatus, and data decompression method and apparatus
US5596659A (en) Preprocessing and postprocessing for vector quantization
KR970011859B1 (en) Encoding method and device for using fuzzy control
JP3280717B2 (en) Video compression encoding and decoding method and apparatus
US9225989B2 (en) Processing of video image
KR100742798B1 (en) Image-data processing apparatus
US6072909A (en) Image coding devise and image decoding devise using with image disassembly
JPH0775106A (en) Adaptive quantization coding device and its method
JP3659157B2 (en) Image compression method for weighting video content
JPH02177766A (en) Hierarchical encoding system for binary image
JP2001500688A (en) Bit allocation method for sequential image compression
WO1998044741A1 (en) Dynamic image data encoder, dynamic image data decoder and method therefor
KR100574732B1 (en) Image coding apparatus, image coding method, image decoding method, image decoding apparatus, image data transmitting method and recording medium
JP2007529123A (en) Video compression system
US20040096198A1 (en) Adaptive digital video recorder and method of controlling the same
KR20070013156A (en) Method for compressing binary image rapidly
JP2003259368A (en) Encoding apparatus, decoding apparatus and method, and computer program
JP2005151312A (en) Image coding and decoding device
JP3075049B2 (en) Image coding device
JP2001169291A (en) Device and method for compressing data, and storage medium
JPH0690443A (en) Inter-frame code encoding device of vector quantization system
JPH0795420A (en) Picture data compressing method
Imai et al. A Simple Image Coding by Projection of Principal Component in Segmented Color Areas
JPH06205396A (en) Picture compression system giving weighting to screen

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE GH GM GW HU ID IL IS JP KE KG KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG US UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

CFP Corrected version of a pamphlet front page

Free format text: TITLE IN JAPANESE LANGUAGE CORRECTED

121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: CA