WO1997047140A1 - Device and method for encoding animations data and device and method for decoding animations data - Google Patents

Device and method for encoding animations data and device and method for decoding animations data Download PDF

Info

Publication number
WO1997047140A1
WO1997047140A1 PCT/JP1997/001918 JP9701918W WO9747140A1 WO 1997047140 A1 WO1997047140 A1 WO 1997047140A1 JP 9701918 W JP9701918 W JP 9701918W WO 9747140 A1 WO9747140 A1 WO 9747140A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
block
image data
encoding
encoded
Prior art date
Application number
PCT/JP1997/001918
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 AU29790/97A priority Critical patent/AU2979097A/en
Publication of WO1997047140A1 publication Critical patent/WO1997047140A1/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

Definitions

  • Moving picture data encoding apparatus moving picture decoding apparatus and method thereof
  • the present invention relates to an apparatus for encoding or decoding moving image data, and more particularly, to specifying an encoding target portion.
  • moving image data is data in which still images are arranged in chronological order, basically, moving image data can be displayed by sequentially transferring still image data for each frame.
  • 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 data different from the key frame is transferred.
  • the conventional MC method requires a great deal of computation time to determine which object has moved to where. This is because it takes time to determine which range of image is the one object.
  • a useful means for recording encoded reference image data in which one screen of image data composed of a plurality of pixels is used as encoding reference image data.
  • the given encoding target image data is divided into a plurality of block data, and for each of the divided block data, block data different from the corresponding block data of the encoding reference image data is set as the encoding target block data.
  • the encoding transmission unit comprises: Changing the transmission method of the given image data to be encoded based on the difference evaluation of
  • a moving image data decoding device for receiving encoded data transmitted from the moving image data encoding device and decoding the encoded data
  • 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
  • Image data for one screen composed of a plurality of pixels is kept as a criterion for encoding reference image data, and given image data to be encoded is divided into a plurality of block data, and each divided block is For the data, video data that is coded as block data to be coded, which is different from the block data corresponding to the coded reference image data, and the coded block data of the coded block is transmitted together with its block ID, and is transmitted as moving image data.
  • the encoding method In the encoding method,
  • a difference evaluation between the block data constituting the image data to be encoded and the corresponding block data of the encoding reference image data is calculated, and a given code is given based on the difference evaluation of each block data.
  • a moving image data decoding method for receiving encoded data and decoding the encoded data, wherein an image data for one screen composed of a plurality of pixels is stored as reference image data,
  • Encoding reference image data storage means for storing image data of 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 for each of the divided block data, block data different from the corresponding block data of the encoding reference image data is set as encoding target block data.
  • Encoding means for determining and encoding the ID corresponding to the block ID is set as encoding target block data.
  • the image processing apparatus further includes a difference evaluation operation unit configured to calculate a difference evaluation between the block data configuring the image data to be encoded and the corresponding block data of the encoding reference image data. Determining block data to be encoded based on the difference evaluation;
  • a moving image data decoding device for decoding the encoded data encoded by the moving image data encoding device
  • reference image data storage means for storing image data for one screen composed of a plurality of pixels as reference image data; P 7/01918
  • a next frame image data generation means for generating an image data of a frame next to the reference image data
  • the image data of one screen composed of a plurality of pixels is useful as an encoding reference image data, and the given image data to be encoded is divided into a plurality of block data and divided.
  • the moving image data encoding method for each block data, a block data that is different from the corresponding block data of the encoding reference image data is encoded as the encoding target block data in association with the block ID.
  • a difference evaluation between the block data constituting the image data of the above and the corresponding block data of the coding reference image data is calculated, and the block data to be coded is determined based on the difference evaluation of each block data.
  • a moving image data decoding method for decoding encoded data is a moving image data decoding method for decoding encoded data
  • One screen of image data composed of a plurality of pixels is clerk as coding reference image data
  • coded block data obtained by coding block data and its block ID
  • the coded block data is decoded
  • the encoding reference image data is replaced with the next frame image data.
  • FIG. 1 is a functional block diagram of a moving picture data encoding apparatus 110 according to the present invention.
  • FIG. 2 is a functional block diagram of the encoding means 109a.
  • FIG. 3 is a functional block diagram of the moving picture data decoding device 200 according to the present invention.
  • FIG. 4 is a functional block diagram of the decoding means 206 of FIG.
  • FIG. 5 is a diagram showing an example of a hardware configuration of the moving picture data encoding device 110 and the moving picture data decoding apparatus 200 shown in FIG.
  • FIG. 6 is an overall flowchart of the transmission process.
  • FIG. 7 is an overall flowchart of the transmission process.
  • FIG. 8 is a diagram illustrating an example of moving image data.
  • FIG. 9 is a graph illustrating the moving speed of the object in the moving image data shown in FIG.
  • FIG. 10 is a diagram showing image data to be encoded.
  • FIG. 11 is a diagram illustrating an example of the difference evaluation of each block.
  • FIG. 12 is a flowchart of the first encoding process.
  • FIG. 13 is a diagram showing data of one block of image data to be encoded.
  • FIG. 14 is a diagram showing a data structure in the encoding process.
  • FIG. 15 is a diagram showing a data structure of a codebook used for encoding and decoding.
  • FIGS. 16A to 16E are diagrams for explaining the transition of some blocks of input data and their corresponding comparison buffers.
  • FIG. 17 is a flowchart showing the entire decoding process of the received block data.
  • FIG. 18 is a flowchart showing details of the decoding process.
  • FIG. 19 is a flowchart of the encoding process (second embodiment).
  • FIG. 20 is a flowchart of the decoding process (second embodiment).
  • FIG. 21 is a diagram for explaining an arrangement relationship of index numbers assigned to each block data in the learning process.
  • FIG. 22 is a flowchart of the learning process.
  • FIG. 23 is a diagram showing a Hadamard transform matrix.
  • Video data encoding device 1 1 0
  • Video data decoding device 2 0 0
  • Video data encoding device 1 1) Video data encoding device 1
  • the moving image data encoding device 110 shown in FIG. 1 includes encoding target image data storage means 103, encoding reference image data useful means 105, difference evaluation operation means 107, encoding transmission Means 109, and means for rewriting encoded reference image data 108.
  • the encoding reference image data storage means 105 stores image data for one screen composed of a plurality of pixels as encoding reference image data.
  • the difference evaluation calculating means 107 calculates a difference evaluation between the block data constituting the image data to be encoded and the corresponding block data of the encoded reference image data.
  • the encoding transmission means 109 divides the given image data to be encoded into a plurality of block data, and, for each of the divided block data, a block data different from the corresponding block data of the above-mentioned encoded reference image data.
  • the encoded data is encoded as the encoding target block data, and the encoded encoded block data is transmitted together with the block ID.
  • the coded transmission means 109 changes the transmission method for the given image data to be coded based on the difference evaluation between each block of data, and transmits the coded data. I do.
  • the coding reference image data rewriting means 108 rewrites the block reference of the coding reference screen data with the block data determined as the coding target.
  • the encoding transmission means 109 changes the transmission method according to the evaluation value distribution of each difference evaluation of the block data of the image data for one screen. Changes in the transmission method include changes in pre-transmission processing and transmission conditions.
  • the coded transmission unit 109 detects the transmission state, and changes the transmission method based on the difference evaluation and the detection result.
  • the coded transmission means 109 can change the transmission method by comparing with a preset difference threshold value.
  • the encoding transmission unit 109 extracts transmission target block data from a plurality of encoding target block data regardless of the evaluation value distribution of each difference evaluation of the block data of the image data for one screen. I do.
  • the means for performing the coding process of the coding transmission means 109 (hereinafter referred to as coding means 109a) will be described with reference to FIG.
  • the encoding means 109a stores a plurality of block data composed of a plurality of block data and a plurality of codes corresponding to the data as candidate data. Given, Encoding is performed using the plurality of candidate data.
  • the encoding transmission unit 109 a includes a relative block data storage unit 9, a first conversion unit 3, a relative block data encoding unit 7, and a block characteristic data calculation unit 5.
  • the relative block data useful means 9 uses the relative block data and a code corresponding to the relative block data as candidate data.
  • a plurality of group correspondence tables which are grouped according to the block characteristic data, are used.
  • the first conversion means 3 determines a conversion reference value in the block data based on the block data to be encoded, and expresses each block configuration data constituting the block data as a relative value with respect to the conversion reference value. Is converted to relative block data.
  • the minimum value of each block configuration data configuring the block data to be encoded is determined as the conversion reference value in the block data.
  • the block characteristic data calculating means 5 calculates block characteristic data of the block data based on the distribution characteristic of each block configuration data constituting the block data for the block data to be encoded.
  • the distribution characteristic difference data between the maximum value and the minimum value of each block configuration data configuring the block data to be encoded is referred to as block characteristic data in the block data. Asked.
  • the relative block data encoding means 7 encodes the relative block data using the candidate data stored in the relative block data storage means 9, and stores the relative code data and the conversion criterion. Output the value.
  • the relative block data encoding means 7 based on the block characteristic data, which group of candidate data stored in the relative block data useful means 9 is used as the relative code data. And adopted this group name and intra-group number.
  • Video data decoding device 2 0 0
  • the moving image data decoding device 200 shown in FIG. 3 is a device that receives the encoded data transmitted from the moving image data encoding device 110 and decodes it.
  • Video data recovery The encoding device 200 includes an encoding reference image data storage unit 205, a decoding unit 206, a next frame image data generation unit 207, and an encoding reference image data rewriting unit 209. I have.
  • the coded reference image data storage means 205 stores one screen of image data composed of a plurality of pixels as the coded reference image data.
  • Decoding means 206 given the coded block data obtained by coding the block data and the block ID thereof, decodes the coded block data.
  • the next frame image data generation 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.
  • the encoding reference image data rewriting means 209 rewrites the encoding reference image data in the encoding reference image data storage means to the next frame image data.
  • the conversion reference value is determined for each block for each encoding target block data.
  • one conversion reference value may be determined for each of the predetermined number of blocks. As a result, the amount of data after compression can be reduced. This is particularly effective when the block data is correlated as in image data.
  • the decoding means 206 shown in FIG. 4 is an apparatus for decoding the coded data coded by the coding means 109a shown in FIG.
  • the decoding means 206 receives the relative block data which is obtained by coding the relative block data converted by using the block data conversion reference value composed of a plurality of block configuration data, and the conversion reference value of the block data is If given, decrypt it.
  • the decoding means 206 includes a relative block data recording means 9, a second conversion means 13, and a relative block data decoding means 17.
  • the relative block data useful means 9 stores a plurality of relative block data and codes corresponding thereto as candidate data. In the present embodiment, a group correspondence table, which is grouped according to block characteristic data, is used as candidate data. Multiple useful.
  • the relative block data decoding unit 17 decodes the relative code data using the candidate data stored in the relative block data storage unit. Specifically, when a group name and an intra-group number are given as the relative code data, the group name and the intra-group number determine which candidate data of the group correspondence table is to be used, Decoding is performed in the corresponding relative block overnight.
  • the second conversion means 13 converts the decoded relative block data into relative block data before encoding using the conversion reference value in the block data.
  • a description has been given of a case where a conversion reference value is added for each block for each block data to be coded, but a block before coding is converted using a conversion reference value for each of a predetermined number of blocks. You may make it convert into data.
  • FIG. 5 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.
  • the video data encoding device 21 includes a CPU 23, a memory 27, a hard disk 26, a CRT 30, a FDD 25, a keyboard 28, a transmission control unit 32, and a pass line 29.
  • the CPU 23 controls each unit via a bus line 29 according to a control program stored in the hard disk 26.
  • the control program is read from the flexible disk to which the program is stored via the FDD 25 and installed on the hard disk 26.
  • a hard disk may be installed from a computer-readable pathological medium in which a program such as a CD-ROM or an IC card is physically integrated.
  • a down port may be provided using a communication line.
  • the program useful for the flexible disk is indirectly executed by the computer.
  • the present invention is not limited to this. It may be executed directly from 5.
  • Computer-executable programs include those that can be directly executed by simply installing the software as it is, as well as those that need to be converted to another form (for example, decompress data-compressed programs). Etc.), and those that can be executed in combination with other module parts.
  • the hard disk 26 stores a code book described later.
  • the memory 27 has a comparison buffer 26a, a frame buffer 26b, and a block buffer 27c.
  • the comparison buffer 26a stores an encoded reference image described later.
  • the frame buffer 26 b stores the image data for one screen to be encoded.
  • the block buffer 27c stores encoded block data.
  • the operation result and the like are temporarily stored in the memory 27.
  • CRT30 moving image data before encoding and the like are displayed.
  • the transmission control unit 32 transmits and receives data by wire or wirelessly.
  • the keyboard 28 is an instruction input means for inputting a read instruction or the like.
  • the block buffer 27c stores the received encoded block data.
  • the comparison buffer 26a is unnecessary.
  • the frame buffer 26 b stores the decoded image data for one screen.
  • the frame buffer 26b is sequentially rewritten with the sequentially decoded block data as described later.
  • FIGS. 1-10 A flowchart for determining the block data to be encoded by the moving picture data encoding apparatus 110 will be described with reference to FIGS.
  • the star mark 160 indicates the time t. Between the time t 4, moves in the arrow ⁇ direction by a distance L 1, description will be given of a case where a round mark 1 6 2 is moved by a distance L 2 in the arrow ⁇ in the same time. The relationship between the movement of the star mark 160 and the round mark 16 2 will be described with reference to FIG.
  • the star mark 160 is at time t, as shown by line 72. Moved by a distance L 1 between times t 3 from between the time of the time t 4 is stopped.
  • the circle mark 16 2 indicates that 1 I-
  • the CPU 23 initializes the comparison buffer 27a (step ST101 in FIG. 6), and determines whether or not encoding target image data has been input (step ST103). If the encoding target image data is not input, the process ends.
  • the CPU 23 stores the encoding target image data in the frame buffer 27b of the memory 27 (step ST105).
  • step ST107 the CPU 23 determines whether or not it is the first image (first frame) (step ST107). In this case, since it is the first image, the process proceeds to step ST130 in FIG. 7 to divide the data into block data.
  • image data for one screen is divided into block data constituting 16 pixels of 4 ⁇ 4.
  • step ST131 the block data is encoded (step ST131).
  • encoding is performed for the entire block data. The encoding process will be described with reference to FIG.
  • the CPU 23 initializes the processing target block number h (ST3 in FIG. 12), and among the image data for one screen stored in the frame buffer 26b of the hard disk 26, reads the block data of the hth block. Evening is read from memory 27 (step ST5).
  • A00 (a 00 (0), a 00 (1)
  • the block configuration data aij (0) to aij (15) constituting each block take any value from 0 to 255. That is, the values of the block configuration data a ij (0) to a U (15) are represented by 8 bits.
  • block data A00 of the 00th block is represented by the block configuration data shown in FIG. 14A.
  • the CPU 23 obtains shift block configuration data AO 0 'obtained by subjecting each block configuration data a 00 (0) to a00 (15) of the block data A00 shown in FIG. Two-step ST 1 1).
  • the shift block configuration data A00 ' is represented as shown in Fig. 14B.
  • Each of the groups a00 (15) has a value of 16. For example, if the block configuration data aij (0) is “0 1 00 1 1 1 0”, the shift block configuration data a00 (0 ) ⁇ Gha becomes a 4-bit data of “0 1 00” (quantization).
  • the CPU 23 obtains the maximum value maxAOO 'and the minimum value minA00' among the shift block configuration data a00 (0) through a00 (15) (FIG. 12, step ST13).
  • the maximum value maxAOO 'and the minimum value minA00' are also 4-bit data.
  • the CPU 23 obtains a difference data between the maximum value maxAOO 'and the minimum value minAOO'—evening AOOg (FIG. 12, step ST15).
  • the difference data A00 g is obtained by the following equation.
  • the difference data A 00 g indicates how much the maximum value and the minimum value are different for each block configuration data of the block data A 00. That is, when the difference data AOOg is large, the difference between the maximum value and the minimum value is large, and it can be determined that the block data A00 is an image having an edge. On the other hand, an image having a small difference between the maximum value and the minimum value can be determined to be an image that is not so.
  • the CPU 23 shifts the difference data AOOg by one bit to the right, and shifts the right one bit by one bit.
  • the CPU 23 determines the relative reference value of the block, and subtracts the relative reference value from each of the block configuration data aOO (OK to ai (15)) constituting the shift block data AO0 ', Find block configuration relative data
  • the minimum value minAOO ' is set as the relative reference value.
  • this block configuration relative data is expressed as b00 (0K g ⁇ b00 (15) ⁇ g
  • the block configuration relative data b00 (0) guru ⁇ bOO (15K g is expressed by the following formula. .
  • the maximum value maxAOO ' may be used as the relative reference value. As described above, by using the minimum value or the maximum value as the relative reference value, a later-described calculation of a deviation value becomes easy.
  • the relative reference value is not limited to this, and may be any one of the values in the block configuration data, and may be an arbitrary value.
  • the total shift value TO00 of the index number 00 can be obtained by the following equation.
  • ABS 0 represents an operation for obtaining an absolute value within 0. This is performed up to the index number 255 of the group number “7 J of code book K” shown in FIG.
  • the block configuration relative data B00 is encoded into the group number “7” and the index number “245”. This is called a relative sign.
  • the CPU 23 stores the relative encoded data and the minimum value minAOO 'in the block in the block buffer 27c as compressed data, and ends the encoding of the 00th block (step ST23 in FIG. 12).
  • the block data AO0 is, after all, the group number “7” indicated by the shift difference data A i g ′, the index number “245” of the group and the minimum value m
  • step ST25 in FIG. 12 the CPU 23 determines whether or not encoding has been completed for all blocks, and if not completed, increments the processing target block number h (see FIG. 12).
  • Step ST26) the processing of steps ST5 to ST25 is repeated.
  • step ST25 in FIG. 12 when the encoding is completed for all the blocks, the encoding of the block data is terminated.
  • the CPU 23 compares the image data of the first frame stored in the frame buffer 27 b with a comparison buffer.
  • step ST133 the image data of the first frame is stored in the comparison buffer 27a.
  • the CPU 23 transmits the encoded block data stored in the block buffer 27c together with the corresponding block ID via the transmission control unit 31 (step ST127). Specifically, for each block, the relative sign data and the minimum value are transmitted together with the block ID. In this way, the image data of the first frame is P TJP97 / 01918
  • step ST103 determines whether or not encoding target image data has been input.
  • step ST105 the image data of the frame is usefully stored in the frame buffer 27b.
  • step ST109 the image data stored in the frame buffer 27b is divided into block data (step S109). This division processing is the same as step ST130 in FIG. 7, and thus description thereof is omitted.
  • the CPU 23 initializes the processing target block number h (step ST111 in FIG. 6). Then, the CPU 23 reads the h-th block data, and obtains a difference evaluation between the h-th block data of the comparison buffer 26a and the h-th block data of the frame buffer 26b (step ST113). .
  • the image data of the first frame stored in the comparison buffer 27a corresponding to the 0th block data corresponds to the frame buffer 26b. Calculate difference evaluation with block data.
  • This difference evaluation is performed by comparing the acquaintance 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 used in the comparison buffer 26a is “D 0a”, and the chromaticity of the 0th pixel of the 0th block data stored in the frame buffer 26b is "If D0bj, the absolute value of the difference data for the 0th pixel of the 0th block data is expressed as ABS (DOa-DOb). Note that ABS0 is the absolute value within 0. In the same way, calculate the absolute value of the difference data of the first pixel, calculate it for 16 pixels, and sum up all the values.This total value is the difference evaluation of the block data.
  • step ST115 determines whether or not the calculation of the difference evaluation has been completed for all the block data.
  • the 0th block data —Since the calculation of the evaluation value has been performed only in the evening
  • the processing target block number h is incremented (step ST117), and the processing of step ST113 to step ST115 is repeated.
  • step ST115 determines whether the difference evaluation of all block data has been obtained.
  • the process proceeds to step ST121 in FIG. 7, and the block number to be encoded is determined.
  • block A as shown in Figure 11. . Has a rating of “0”, block A «has a rating of“ 0 ”, block A. If the evaluation of 2 is “10” and the evaluation of block Ao 3 is “20”, the block number to be coded is determined as follows.
  • the CPU 23 sequentially extracts a predetermined number of blocks having a large evaluation value from the block data.
  • 50 blocks are selected from the blocks having the highest evaluation values among all the blocks. If the block number A 03, block number A 13 and block number A 13 shown in FIG. 11 are the largest, and the block number A 12 is the next largest, the block data of 50 Determined as four block data.
  • CPU 23 performs an encoding process on the block data determined to be encoded (step ST123). Such an encoding process is the same as that described in step ST131, and a description thereof will be omitted.
  • the CPU 23 updates the image data stored in the comparison buffer 27a only for the pixels corresponding to the block data determined to be encoded in step ST121 (step ST125). ). In this case, since 50 blocks of the entire block data are to be encoded, only the pixels corresponding to the 50 blocks of the entire block data are image data stored in the comparison buffer 27a. Be updated.
  • the CPU 23 transmits only the encoded block data (step ST127).
  • the coded block data is only the block data to be coded in step ST 121, and therefore, unlike the first frame, the second frame corresponds to a different block. Only pixel data is compressed and transmitted together with its block ID.
  • FIG. 16 shows the time t 3 in FIG. 9 for a part of the block data 71 of the star mark 160 and a part of the block data 73 of the circle mark 16 2 shown in FIG. The transition from immediately before to immediately after is shown.
  • the block de night 71 has eight pixels on the left side as shown in FIG. 16A.
  • eight pixels in the middle two columns of the 16 pixels are darkened. Then, in the next frame, there is no movement (see Fig.
  • the block 71 moves to the right by two pixels for each frame, and stops in the state shown in FIG. 16C.
  • the block 73 moves to the right one for the first time every two frames.
  • the block 71 is selected as the block to be encoded, while the block 73 is selected as the block to be encoded in relation to the corresponding comparison buffer. It will not be selected as a block.
  • the data content of the block 71 changes from the state shown in FIG. 16A as shown in FIG. 16B.
  • the block 71 shown in Fig. 16B differs from the corresponding comparison buffer (see Fig. 16A) in that the density of the eight pixels in the right two columns differs in this case.
  • the difference between the two pixels is the difference evaluation value in block 71.
  • the difference evaluation value is zero (0).
  • block 71 is determined to be a block to be encoded, the contents of the corresponding comparison buffer are also overwritten with the data of block 71 in FIG. 16B, as shown in FIG. 16B. Is made.
  • the difference in the density of eight pixels in the middle two columns is the difference evaluation value and the difference evaluation value.
  • the difference in density between the four pixels in the rightmost column in total is the difference evaluation value.
  • a difference of eight pixels is obtained as an evaluation value.
  • a difference of four pixels in one column on the right side is determined as an evaluation value. Therefore, as described above, if a block having a large evaluation value is selected, the block 73 may be excluded from coding. If excluded, the contents of the corresponding comparison buffer in block 73 will not be rewritten (see Figure 16C).
  • transmission is performed such that the object moves as an image for the first time with a delay of several frames.
  • the difference evaluation value is also zero (0).
  • the block 73 is further moved to the right by one pixel. Also in this case, in the relationship between the contents of the corresponding comparison buffer shown in FIG. 16D and the input data shown in FIG. 16E, a difference of four pixels is the difference evaluation value. As before, the block 73 is selected as a block to be encoded and the contents of the corresponding comparison buffer are rewritten.
  • the block corresponding to the slow-moving object is transmitted as follows.
  • the comparison buffer 26a in the encoded reference image data of the comparison buffer 26a, only the pixels transmitted after being encoded are updated, and all the pixel data of one frame written in the frame buffer 26b is transmitted. It is not done. In other words, the comparison buffer 26a does not preserve the image data of the previous frame, but rather uses the image data that has been transmitted as a result. In this situation, the image data is moving slowly and only slowly.
  • the comparison buffer 26a cannot be replaced with a portion having a low moving speed.
  • the difference evaluation is obtained by comparing the data of the comparison buffer 26a with the data of the frame buffer 26b. As described above, in consideration of the fact that the comparison buffer 26a is not rewritten, even if the moving speed is slow, it may be determined as a block to be encoded.
  • the memory 27 is initialized when the power is on, and the block data can be received (reception standby state).
  • the CPU 23 of the video data decoding device 200 determines whether or not the block data after encoding is stored in the block buffer 27c (step ST144), and ends if it is not stored. I do.
  • the block number h to be processed is initialized (step ST144), and the decoding of the h-th block is performed. (STEP ST149).
  • the CPU 23 reads the compressed data of the h-th block from the hard disk 26 and stores it in the memory 27 (step ST33 in FIG. 18).
  • the compressed data of the 00th block is read.
  • the compressed data of the 00th block includes the group number “7”, the index number “2 4 5” of the group, and the It consists of the small value minAOO '"2".
  • the CPU 23 uses the codebook K stored on the hard disk 26 to decode the compressed data stored in the memory 27.
  • the compressed data of the 00th block is composed of a group number “7”, an index number “245” of the group, and a minimum value min A00 ′ “2”. Therefore, it is decoded into relative block data specified by the group number “7” and the index number “245”.
  • the CPU 23 converts the relative block data using the minimum value minA00 'which is the relative reference value (step ST37 in FIG. 18). More specifically, the minimum value m in ⁇ 'may be added to the relative block configuration data constituting the decoded relative block data.
  • the CPU 23 shifts the relative block configuration data to which the minimum value minAOO 'has been added by 4 bits to the left (step ST38). As a result, the same 8-bit block configuration data as the block data before encoding is obtained, and the decoding of the 00th block is completed.
  • step ST39 in FIG. 18 the CPU 23 determines whether or not decoding has been completed for all blocks. If not, the CPU 23 increments the processing target block number h (step ST40). Steps ST33 to ST38 are returned.
  • step ST39 If decoding has been completed for all blocks in step ST39, the decoding ends.
  • the candidate data useful for the codebook is reduced even if it is reduced.
  • conversion can be performed without significantly reducing accuracy. Therefore, high accuracy and high-speed conversion are possible, and encoding with a high compression ratio is possible.
  • the relative block data Bij whose relative reference value is set to relative 0 is obtained after obtaining the difference data.
  • the difference data may be obtained after obtaining the relative block data Bij.
  • the total of the absolute values of the shift values is obtained, and the one with the minimum total value is selected, but the conventional method, for example, the following equation As in the above, the sum of the distances may be obtained as the sum of the deviation values.
  • a 4-bit shift process or the like is performed, but such a process may not be performed. In addition, it may be shifted by less than 4 bits or 5 bits or more.
  • the CPU 23 updates the data in the frame buffer 27b with the decoded data (step ST151 in FIG. 17).
  • the CPU 23 determines whether or not decoding has been completed for all blocks (step ST153). If not completed, the CPU 23 increments the processing target number h, and proceeds from step ST149 to step ST151. Is repeated.
  • step ST153 the CPU 23 outputs the data of the frame buffer 27b to the CRT 30.
  • step ST151 the frame buffer data is updated.
  • the transmitted coded data was all blocks, so all blocks were updated.
  • the data of the frame buffer corresponding to the block indicated by the block ID is updated (step ST151).
  • the contents of the frame buffer 26b are output to the CRT 30 as they are.
  • moving image data can be displayed by updating only a part different from the previous frame and outputting the updated frame to the CRT 30.
  • the moving image data encoded by the encoding device 110 can be received and reliably decoded.
  • vector quantization is performed by quantization and relativization.
  • vector quantization can be performed by performing relativization and quantization.
  • a left shift operation is performed until the most significant bit of the largest relative block configuration data of the block becomes 1 (hereinafter referred to as a reversible left shift operation). 0 may be added afterwards so that the bit length becomes the same. That is, the shift amount in the reversible left shift operation of each block configuration data is dynamically varied.
  • the CPU 23 obtains difference data E00g between the maximum value maXE00 and the minimum value minE00 (step ST253 in FIG. 19). Specifically, the difference data E 00 g is obtained by the following equation.
  • the CPU 23 performs a shift operation so that the difference data E00g becomes 3-bit data to obtain shift difference data E00g '(step ST255).
  • a group to be encoded by the codebook K shown in FIG. 15 is specified.
  • the CPU 23 determines the relative reference value in the block, and subtracts the relative reference value from each of the block configuration data E00 (0) to E00 (15) constituting the block data E0O, Block configuration relative data is obtained (step ST257).
  • the minimum value minEOO was used as the relative reference value.
  • the maximum value maxEOO may be used as the relative reference value. As described above, by using the minimum value or the maximum value as the relative reference value, it is easy to calculate a shift value described later. Note that the relative reference value is not limited to this, and may be any one of the block configuration data, and may be an arbitrary value.
  • the CPU 23 indicates, for the block configuration data having the maximum value among the block configuration data f 00 (0) to f 00 (15), how many bits from the most significant bit MSB continue to 0.
  • the shiftable bit weight Sf00 is calculated (step ST259).
  • the maximum value of the block configuration data f 00 (0) ⁇ : f 00 (15) is “1 5”, which is expressed in binary notation as “0000 1 1 1 OJ.
  • the shiftable bit amount S f 00 4. Since the maximum value of the shiftable bit amount S f 00 is “7”, it is 3-bit data.
  • the CPU 23 performs a reversible left shift operation on the block configuration data ⁇ 00 (0) to f00 (15) based on the shiftable bit amount S ⁇ 00 (step ST261). For example, since the shiftable bit amount S f00 of the block configuration data f 00 (0) “00001 1 10” is 4, the shift operation is performed to “11 100000”.
  • the CPU 23 encodes the block relative data F00 'specified by the reversible left-shifted block configuration data f00 (0)' to: fOO (15) '(step ST263).
  • the encoding process is the same as in step ST21 in FIG. 12, and a description thereof will not be repeated.
  • the CPU 23 stores the relative code data obtained by the encoding and the minimum value minEOO0 in the block as compressed data on the hard disk 26, and ends the encoding of the 00th block (step ST265).
  • the shift operation to the left is performed until the most significant bit of the largest relative block configuration data of the block becomes 1 (reversible left shift operation). Can be performed. This is because low-frequency components can be removed by relativizing each block configuration data with the minimum value. This can reduce the number of codebooks. Furthermore, the number of codebooks can be reduced due to the dynamically changing reversible left shift operation amount. That is, if the number of codebooks is the same, accuracy can be improved. Next, decoding will be described.
  • the CPU 23 initializes the processing target block number h (step ST271 in FIG. 20), shoots out the compressed data of the h-th block from the hard disk 26, and stores it in the memory 27 (step ST273).
  • the compressed data of the 00th block is read. Compression of block 00
  • the data includes a group number, an index number of the group, a minimum value min E00, and a shiftable bit amount S f00.
  • the CPU 23 decodes the compressed data read into the memory 27 using the codebook stored in the hard disk 26. Specifically, CPU 23 decodes the data into relative block data specified by the group number and the index number (step ST275).
  • the CPU 23 performs a reversible right shift operation using the shiftable bit amount S f00 (step ST277).
  • CPU 23 converts the relative block data using minimum value minEOO, which is a relative reference value (step ST 278). More specifically, the minimum value minE00 is added to the relative block configuration data constituting the decoded relative block data. Thus, decoding of the 00th block is completed.
  • minimum value minEOO which is a relative reference value
  • step ST153 of FIG. 17 the processing of step ST273 to step ST278 is repeated for all blocks until decoding is completed.
  • the bit lengths of the block configuration data f 00 (0) ′ to f 00 (15) ′ subjected to the reversible left shift operation are Does not change. This makes it possible to reduce the effective number of significant digits by the amount of shiftable bits S f ij and to simplify the arithmetic processing.
  • the present invention is not limited to this, and the bit length of the block configuration data ⁇ 00 (0) ′ to f00 (15) ′ may be variable.
  • the shiftable bit amount S f00 of the block number 0 is 4 and the block configuration data f 00 (0) “000001 10” of the block number 0, the reversible shift block shifted left 4 bits
  • the configuration data f 00 (0), is “0
  • the relative reference value is obtained for each block.
  • one relative reference value may be set for a plurality of blocks.
  • the shiftable bit amount S fij is 2 for 3 blocks and the shiftable bit amount S f U is 1 for one block.
  • the block with the shiftable bit amount Sf ij of 5 stores the fact that it is further shifted by 3 bits. Specifically, a flag indicating that such special processing has been performed, its block number, and the number of additional shift bits are recorded. Note that, instead of the number of additional shift bits, the shiftable bit amount Sfij of only that block may be stored. Performing such special processing lowers the compression ratio. Therefore, for example, a threshold value may be determined for the decreasing compression ratio, and the determination may be made based on whether or not the data amount does not exceed the threshold value.
  • the block group for setting the relative reference value of 1 is varied according to the spatial frequency of the image to be encoded (the number of blocks is small when the spatial frequency is high, and the number of blocks is low when the spatial frequency is low). May be increased).
  • each block configuration data e 00 (0) to e 00 (15) shown in FIG. 14D is quantized by a predetermined number (for example, 2 bits), and the obtained shift block configuration data is made relative,
  • a reversible left shift operation may be performed to perform vector quantization.
  • the shift operation is performed by the shiftable bit amount Sfij indicating how many 0 bits are consecutive from the most significant bit MSB.
  • the codebook store block data corresponding to the image data it is desirable that the codebook store block data corresponding to the image data to be compressed.
  • the process of determining codebook candidate data (learning process) will be described.
  • a self-organizing feature map developed by Kohonen (T. ohonenn), which is one of the neural network algorithms, is used.
  • Kohonenn which is one of the neural network algorithms.
  • a codebook (see Fig. 15) as follows.
  • Such creation may be determined, for example, by generating a random number for each block candidate data constituting the block data.
  • the range of random numbers may be determined according to the bit length of the block configuration data stored in the codebook. In this case, in the coat book K (see Fig. 15), since each block configuration data is 4 bits long, random numbers may be generated in the range of 0 to 15.
  • the index number given to each block is specified by ij coordinates in a two-dimensional space as shown in FIG.
  • the CPU 23 reads out the still image data from the hard disk 26, stores it in the memory 27, divides it into blocks of 4 * 4 pixels, and creates block data to be tested. deep.
  • the block data T eOO to be tested is expressed as follows.
  • T e00 (te00 (0), te00 (l), ..., t e00 (15))
  • a 4-bit shift process is performed to the right in order to make the block data T e 00 coincide with the bit length of the block configuration data used in the codebook P (step ST391 of FIG. 22). As a result, the following small shift block data Te00 'is obtained.
  • the CPU 23 encodes the shift block data TeOO 'with the codebook K to be learned and obtains the encoded data ⁇ step ST393).
  • such encoding is determined by obtaining the total deviation TO for each block data of index numbers In00 to Inff and selecting the smallest one.
  • Step ST 395 This is code decoding block data U00.
  • Code decoding block data U00 is represented by the following equation.
  • the CPU 23 determines a block data to be learned (step ST397).
  • block data having an index number whose distance from the block data specified by the coded data is equal to or smaller than a predetermined value is determined as block data to be learned. I did it.
  • index number In 43 shown in FIG. 21 is the block data identified by the encoded data
  • a square Sq with one side centered on the index number In 43, that is, the index number In 43 Are determined within a predetermined distance from.
  • block data located in the square SQ is set as a learning target. That is, 10 block data with index numbers In32, In33, In34, In42, In43> In44, In42, In52, In53, In54 are the block data to be learned. Becomes
  • is an arbitrary value, it is large in the early stage of learning and is reduced as the learning progresses. In other words, as learning progresses, the number of blocks to be learned decreases.
  • CPU 23 performs a learning process on the block data to be learned (step ST 399).
  • the learning process is performed as follows.
  • the first block data to be learned is the block data identified by index number I ⁇ 32. Assuming that this is block data # 32, block data # 32 is expressed as follows.
  • K32 (k32 (0), k32 (l), ..., k32 (15))
  • Each data constituting the block data K32 is 4-bit data.
  • TeOO * (t e00 (0) « ⁇ t ⁇ 00 (1) « ⁇ ⁇ ⁇ , t e00 (15) « 4 ) 71
  • the block data L32 after learning is represented as follows.
  • the block configuration data L32 (0) ′ to L32 (15) ′ forming the block data L32 are obtained as follows.
  • Such processing is performed on the block data specified by other index numbers In33, In34, In42, Iri43, In44, In42, In52, In53, and In54.
  • the block data located in the square SQ converges to certain block data.
  • the coefficient 3 is an arbitrary value, like the coefficient ⁇ , but is large at the beginning of the learning and is reduced as the learning progresses. In other words, as the learning progresses, the error correction value decreases.
  • the learning process using the block configuration data TeOO to be tested ends.
  • the learning process that is, the learning process using another block configuration data of the test object Te OK Te02 ⁇
  • An appropriate codebook can be created from the generated codebook.
  • the number of block data created initially is set to 256 for simplicity of explanation, but in the initial state, it is increased to 512, 1026, etc. Then, the converged block data may be combined into one.
  • the square SQ having one side ⁇ is defined for determining the block data to be explained in the above description, a circle or another polygon may be defined.
  • the index numbers assigned to the respective blocks are determined by ij coordinates in a two-dimensional space as shown in FIG. 21.
  • the present invention is not limited to this. It may be determined as a position in a dimension and further in a multidimensional space. If a three-dimensional space is considered, a region within a predetermined distance from the index number In 43 may be a solid.
  • the data is divided into groups 0 to 7 based on the difference data. Therefore, test target block configuration data having the difference data matching each group may be provided.
  • the learning process in step ST399 of FIG. 22 is performed so that all the block data located in the square SQ are converged.
  • it can also be processed as follows.
  • the area in the square SQ is divided into two areas, an area near the center S Q i and an area far from the center S q o.
  • a process of subtracting the difference between the two block data and the coefficient) 3 from the learning target block data is performed. That is, the block data xy 'after learning is represented as follows.
  • K xy ' Kxy- ⁇ ⁇ (Kxy-T e 00')
  • the block data Kxy 'after learning is expressed as follows.
  • coefficient 3 may be changed for the region of.
  • the Kohonen neural network is used as the learning process for the codebook candidate data. May be adopted. Further, a plurality of learning methods may be combined.
  • the block configuration data may be subjected to Hadamard conversion.
  • the shift block configuration data A00 ′ shown in FIG. 14A may be converted by a Hadamard matrix as shown in FIG. 23 between step ST19 and step ST21 in FIG.
  • the inverse Hadamard transform may be performed between step ST37 and step ST38 in FIG.
  • the Hadamard transform is performed after the relativization process, and then the vector quantization is performed.
  • the obtained block configuration relative data may be subjected to the Hadamard transform between the step ST257 and the step ST259 in FIG.
  • inverse Hadamard transform may be performed between step ST2777 and step ST278 of FIG.
  • the Hadamard transform is not performed before the reversible left shift operation (step ST2661) but is performed after the reversible leftshift operation (between step ST2661 and step ST2663). Is also good.
  • the inverse Hadamard transform may be performed between step ST177 and step ST177 in FIG. 20. Note that in this specification, the Hadamard transform is a fast Hadamard transform. Including conversion. 6.
  • the number of blocks having a high evaluation value is determined as the number of higher-ranked blocks, and coding is performed.
  • a fixed number of blocks of data can always be transmitted as a block to be encoded, so that blocks that can be transmitted per unit time regardless of the size, speed, number of moving objects, etc. Can be kept constant. Therefore, when the transmission speed is limited, only the important data can be transmitted.
  • the evaluation values are sequentially extracted in descending order. Therefore, when the evaluation value as a whole is large and when the evaluation value is small as a whole tendency, even if the blocks have the same evaluation value, some blocks are not transmitted because of relative evaluation. On the other hand, if the whole moves automatically as a whole, it is possible to transmit only the parts that have moved significantly. On the other hand, if the whole does not move much, the fine movement will be transmitted.
  • a block having a difference evaluation value which is more than an absolute value may be transmitted.
  • Replacement paper (Rule 26) Also, instead of limiting the number of blocks to be transmitted, it may be determined that a block having a value of what percentage of the largest differential evaluation block in the frame is transmitted.
  • the 50 blocks are sequentially extracted from the block having the larger difference evaluation value, and the extraction operation is stopped at the 50 blocks. If there are two or more blocks having the 50th difference evaluation value, one of the blocks having the 50th difference evaluation value is extracted while observing the restriction of 50 blocks. What should I do? In this case, for example, one having a smaller block ID may be preferentially extracted. If there are too many blocks having the 50th difference evaluation value, extraction of the block having the 50th difference evaluation value is stopped, and coding is performed on 49 blocks. What should I do? That is, when blocks having the same difference evaluation are over the threshold value, the balance between blocks to be extracted and blocks not to be extracted may be considered.
  • the threshold value may not be a fixed value but may be varied according to the distribution of the difference evaluation value of the block data. For example, for a certain frame, the number of blocks to be transmitted is changed depending on whether there is little movement as a whole compared to the previous frame or when there is considerable movement as a whole. As a result, useless data transfer can be prevented, and transmission more suitable for the characteristics of the image data to be encoded becomes possible.
  • a histogram may be created to easily grasp the distribution state.
  • a histogram may be created based on how many blocks having a difference evaluation value belonging to a certain range. For example, if each pixel has a filter level of 0 to 255 and 1 block is composed of 16 pixels, the range of the difference evaluation value is 0 to 4 0 9 6 (2 5 5 * 1 6) This can be divided into 32 ranges, and the difference evaluation values 0 to 1 27 can be classified into the first range, the difference evaluation values 1 28 to 255 can be classified into the second range, and so on. .
  • the distribution of the difference evaluation value can be obtained.
  • the difference evaluation value of each block is classified according to the range, so that there are many cases where there are a plurality of blocks having the 50th difference evaluation value as the threshold value. Become. However, in this case as well, processing may be performed in the same manner as when there are a plurality of blocks having the same difference evaluation across the threshold value.
  • the transmission state may be detected, and the threshold value may be changed based on the difference evaluation and the detection result. For example, if there are many errors during transmission, the threshold may be increased to reduce the number of blocks to be transmitted. This makes it possible to flexibly cope with a case where the transmission state fluctuates.
  • the transmission condition may be changed.
  • the encoding method can be changed as a change in transmission conditions.
  • a codebook for performing rough coding may be prepared, and coding may be performed at a high compression ratio with reduced accuracy for a portion having a small difference evaluation value.
  • data compression is performed by performing vector quantization using the codebook shown in FIG. 15 and the like, but other DCT (discrete cosine transform) or the like is used. Compression may be performed. That is, any compression method that can perform data compression for each predetermined block can be used.
  • DCT discrete cosine transform
  • one block is composed of 4 ⁇ 4 16 pixels.
  • the present invention is not limited to this, and an arbitrary number of pixels such as 8 ⁇ 8 can be used.
  • the transmission method is changed by extracting transmission target block data from a plurality of block data to be encoded based on the difference evaluation of each block data.
  • the transmission method may be changed by changing the transmission conditions for the block data to be transmitted based on the difference evaluation between the blocks.
  • the block having the larger difference evaluation is used as the block to be encoded.
  • the threshold value may be set so that the operator can freely select it. For example, it may be possible to switch between the case where the precise mode is specified, the case where the speed is prioritized, and the like. That is, in the case of the precision mode, the threshold value may be lowered, and in the case of speed priority, the threshold value may be raised.
  • 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. Alternatively, a difference evaluation may be obtained after the encoding process to determine whether or not to perform transmission.
  • the present invention can be applied as a device for compressing and storing data.
  • the directly encoded block data may be stored in the storage medium instead of being transmitted from the transmission control unit.
  • the video data transmission device and the reception device according to the present invention can transmit and receive video data without significantly deteriorating the accuracy of images and without increasing the data transfer amount. It can be applied to systems and the like.
  • the digital image data has been described as being obtained.
  • digital image data can be obtained, for example, by sampling analog still image data.
  • 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
  • the resolution of the hue signals U and V is set to 1/2 of the luminance signal Y. As a result, the degree of data compression can be further increased.
  • the difference evaluation is obtained by summing the absolute values of the differences between the pixels in the frame buffer corresponding to the comparison buffer.
  • 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.
  • each of the above functions is realized by software using CPU 23.
  • a part or all of them may be realized by a piece of hardware such as a logic circuit.
  • encoding and decoding are performed using a codebook. Therefore, by realizing the encoding and decoding processes using one chip, high-speed and high-precision processing can be achieved simply by embedding the chip in devices that require decompression, such as videophones and digital video devices. High compression is possible.
  • Transmission method Includes all methods of transmitting a plurality of block data that make up one screen. For example, the block data that is to be transmitted and the other block data out of a plurality of block data that make up one screen
  • the transmission conditions such as the transmission order, encoding method, transmission speed, and transmission path of the block data to be transmitted are also included.
  • “Difference evaluation calculation means” means for calculating a difference evaluation in each block, and corresponds to the processing of step ST113 of FIG. 6 of CPU23 in the embodiment.
  • Block configuration data Refers to data configuring block data. In the embodiment, 16 block configuration data is used to represent one block data.
  • “Relative block configuration data” Refers to block configuration data represented by relative values.
  • “Relative block data storage means” In this embodiment, a hard disk 26 useful for the code book K in FIG.
  • Conversion reference value data for converting each block configuration data of the block data to be encoded into a relative block data represented by a relative value. The minimum value of the block configuration data that composes the block data of was adopted.
  • ⁇ Candidate data Consists of block data and the corresponding code You. In the first embodiment, this corresponds to the block configuration data of the codebook K shown in FIG. 15 and the corresponding index numbers.
  • Block characteristic data overnight calculation means Corresponds to the processing of step ST15 and step ST17 in Fig. 12 of CPU23.
  • Codebook K corresponds to grouping according to block characteristic data.
  • Group name j This is a name for specifying which group in the codebook belongs to which relative block data is used for encoding.
  • the name here is a concept that includes IDs including numbers and the like. It is.
  • Group number A name for specifying which relative block data belonging to a certain group in codebook K is used for encoding.
  • the intra-group number is a concept including ID including a name and the like.
  • Difference data Difference data between the maximum value and the minimum value of each block configuration data constituting the block data to be encoded.
  • ⁇ 2nd conversion means ⁇ Corresponds to the processing of step ST37 in FIG. 18 of the CPU 23 in the embodiment.
  • “Relative block data decoding means” Corresponds to the processing in step ST35 in FIG. 18 of the CPU 23 in the embodiment.
  • Orthogonal transform J In the embodiment, the Hadamard transform corresponds, but other orthogonal transforms include, for example, DCT.
  • Inverse orthogonal transformation Performing the inverse processing of the orthogonal transformation.
  • the inverse Hadamard transformation corresponds. :
  • ⁇ Reversible left shift operation This refers to performing a left shift operation on the largest value block configuration data of each block configuration data until the most significant bit becomes 1 for each predetermined block.
  • Figure 19 Step ST 26 1 processing Applicable In the embodiment, for example, Figure 19 Step ST 26 1 processing Applicable.
  • Reversible right shift operation Shifting to the opposite side from the reversible left shift.
  • a difference evaluation between block data constituting the image data to be encoded and corresponding block data of the encoded reference image data is calculated. Then, based on the difference evaluation of each block data, the transmission method of the given encoding target image data is changed and transmitted. Therefore, transmission according to the characteristics of moving image data can be performed.
  • the encoding transmission means may transmit the block data to be transmitted from a plurality of encoding data to be encoded based on the difference evaluation of each block data. Extract. Therefore, some block data can be excluded from transmission targets based on the difference evaluation. As a result, transmission according to the characteristics of moving images can be performed.
  • the encoding reference image data 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 transmission target block data is rewritten is obtained.
  • the encoding transmission means changes transmission conditions for the block data to be transmitted based on the difference evaluation of each block data. This enables transmission according to the characteristics of moving image data.
  • the encoding transmission unit changes the transmission method according to the evaluation value distribution of each difference evaluation of the block data of the image data for one screen. Therefore, transmission according to the characteristics of each screen becomes possible.
  • the encoded transmission unit detects a transmission state, and changes the transmission method based on the difference evaluation and the detection result. Therefore, the transmission method can be changed according to the transmission state.
  • the encoding transmission unit compares the transmission target block data by comparing with a preset difference threshold value.
  • the encoding transmission unit may include a block having a predetermined ratio of blocks irrespective of the evaluation value distribution of each difference evaluation of the block data of the image data for one screen.
  • the transmission target block data is extracted from the data. Therefore, a certain percentage of block data can be transmitted. Thereby, the transmission rate and the like can be kept constant.
  • the encoding transmission unit 1) determines a conversion reference value for each of a predetermined number of blocks for the block data to be encoded, and configures the predetermined number of blocks.
  • First conversion means for converting each block configuration data to be converted into relative block data represented by a relative value with respect to the conversion reference value; and 2) candidate data in which the converted relative block data is stored in advance.
  • a relative block data encoding means for outputting encoded data for each block and outputting the conversion reference value for each predetermined number of blocks.
  • each of the block configuration data is represented by a binary number
  • the relative block decoding processing means further includes: Before coding, for each predetermined block, a shiftable bit amount indicating how many 0s are connected from the most significant bit in the block configuration data having the maximum value among the block configuration data is obtained, A reversible left shift operation is performed on each block configuration data on the basis of the shiftable bit amount for each predetermined block, the encoding is performed, and the shiftable pit amount is output for each predetermined block. Therefore, useful candidate data can be reduced without reducing accuracy.
  • the predetermined number of blocks is one block. Therefore, a relative value can be determined for each block.
  • the first conversion means performs an orthogonal transform when converting the block configuration data into the relative block configuration data. Therefore, more accurate conversion can be performed.
  • the first transforming unit performs the orthogonal transform after performing a relative block de-conversion. Therefore, more accurate conversion can be performed.
  • the first conversion unit converts the block configuration data constituting the block data to be encoded into the relative block data after converting the block data into a relative block data. Perform a shift operation. As described above, the reversibility is shifted leftward after relativization, so that the resolution can be increased.
  • the first conversion unit performs the reversible left shift operation after the orthogonal transformation. In this way, after relativization, reversibility is left-shifted and orthogonally transformed, so that the resolution can be increased.
  • a plurality of relative block data composed of a plurality of block configuration data represented by relative values and a code corresponding to the relative block data are stored as candidate data.
  • a conversion reference value in the block data is determined based on the block data to be converted, and each block configuration data included in the block data is converted into relative block data represented by a relative value to the conversion reference value. .
  • the relative block data is encoded using the candidate data stored in the relative block data storage means, and the relative code data and the conversion reference value are output.
  • the coded block data obtained by coding the block data and its block ID are given, the coded block data is decoded.
  • a frame next to the reference image data is generated based on the reference image data and the decoded block data.
  • the image data of the next frame is generated, and the encoded reference image data is rewritten to the next frame image data. Therefore, it is possible to receive the encoded data transmitted from the moving image data encoding apparatus according to the present invention and decode it.
  • the decoding means stores a plurality of the relative block data and codes corresponding thereto as candidate data, and stores the relative code data.
  • the decoding is performed using the stored candidate data, and the decoded relative block data is converted into the relative block data before encoding based on the conversion reference value in the block data. Therefore, when the relative code data and the conversion reference value are provided, they can be decoded.
  • the difference evaluation between the block data constituting the image data to be encoded and the corresponding block data of the encoding reference image data is performed. Then, block data to be encoded is determined based on the difference evaluation of each block data. Therefore, encoding according to the characteristics of moving image data can be performed.
  • the coded block data obtained by coding the block data and the block ID thereof are given, the coded block data is decoded. Based on the reference image data and the decoded block data, image data of a frame next to the reference image data is generated. Then, the encoding reference image data is rewritten to the next frame image data. Therefore, it is possible to receive the encoded data transmitted from the moving image data encoding device according to the present invention and decode the encoded data.

Abstract

Animation data are transmitted in accordance with their characteristics. An encoded reference picture data storing means (105) stores the picture data of one screen constituted of a plurality of picture elements as encoded reference picture data. A differential evaluation computing means (107) computes the difference evaluation between block data constituting picture data to be encoded and block data corresponding to the encoded reference picture data. An encoding and transmitting means (109) encodes block data which are different from the block data corresponding to the encoded reference picture data as block data to be encoded based on the differential evaluation and transmits the encoded block data together with a block ID by changing a transmitting method.

Description

明細書  Specification
[発明の名称]  [Title of Invention]
動画データ符号化装置、 動画デ一夕復号化装置およびこれらの方法  Moving picture data encoding apparatus, moving picture decoding apparatus and method thereof
[技術分野]  [Technical field]
この発明は、 動画データを符号化または復号化する装置に関し、 特に、 符号化 対象部分の特定に関する。  The present invention relates to an apparatus for encoding or decoding moving image data, and more particularly, to specifying an encoding target portion.
[背景技術]  [Background technology]
動画データは、 静止画を時系列で並べたデータであるので、 基本的には各フレ —ムごとの静止画データを順次転送することにより、 動画データを表示すること ができる。  Since moving image data is data in which still images are arranged in chronological order, basically, moving image data can be displayed by sequentially transferring still image data for each frame.
今日、 動画データの符号化方法として、 M C ( or t i on Compensas i on)法が注 目されている。 M C法とは、 キーフレームについては、 そのまま 1フレーム分送 信し、 次のフレームはそのキーフレームと異なる部分のみをデータ転送するとい う方法である。  Today, attention has been paid to the MC (or ion on Compensation) method as an encoding method for video data. 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 data different from the key frame is transferred.
しかし、 従来の M C法においては、 どの物体がどこに移動したかという判断を するのに多大な演算時間を必要としていた。 なぜなら、 どの範囲の画像が 1の物 体であるかの判断に時間がかかるからである。  However, the conventional MC method requires a great deal of computation time to determine which object has moved to where. This is because it takes time to determine which range of image is the one object.
[発明の開示]  [Disclosure of the Invention]
この発明は、 動面デ一夕の特性に応じた伝送または符号化を可能とする動画デ —タ符号化装置またはその方法を提供することを目的とする。  SUMMARY OF THE INVENTION It is an object of the present invention to provide a moving picture data encoding apparatus or method capable of transmitting or encoding according to the characteristics of moving picture data.
本発明にかかる動画データ符号化装置においては、  In the moving picture data encoding device according to the present invention,
複数の画素にて構成される一画面分の画像データを符号化基準画像データとし て記使する符号化基準画像データ記慷手段、  A useful means for recording encoded reference image data in which one screen of image data composed of a plurality of pixels is used as encoding reference image data.
与えられた符号化対象の画像データを複数のブロックデータに分割し、 分割し た各ブロックデ一夕について、 前記符号化基準画像データの対応プロックデ一夕 と異なるブロックデータを符号化対象ブロックデータとして符号化して、 当該符 号化した符号化後ブロックデータをブロック I Dとともに、 伝送する符号化伝送 手段、  The given encoding target image data is divided into a plurality of block data, and for each of the divided block data, block data different from the corresponding block data of the encoding reference image data is set as the encoding target block data. A coded transmitting means for transmitting the coded block data together with the block ID by coding;
を備えた動画データ符号化装置において、 前記符号化対象の画像データを構成するブロックデータと、 前記符号化基準画 像データの対応ブロックデータとの差分評価を演算する差分評価演算手段を備え、 前記符号化伝送手段は、 前記各ブロックデータの差分評価に基づいて、 与えら れた符号化対象の画像データの伝送方法を変更して伝送すること、 In the moving image data encoding device provided with A differential evaluation operation unit for calculating a difference evaluation between block data constituting the image data to be encoded and corresponding block data of the encoding reference image data, wherein the encoding transmission unit comprises: Changing the transmission method of the given image data to be encoded based on the difference evaluation of
を特徴とする。  It is characterized by.
本発明にかかる動画データ復号化装置においては、  In the moving picture data decoding device according to the present invention,
動画データ符号化装置から伝送された符号化データを受信してこれを復号化す る動画データ復号化装置であって、  A moving image data decoding device for receiving encoded data transmitted from the moving image data encoding device and decoding the encoded data,
A) 複数の画素にて構成される一画面分の画像データを符号化基準画像データ として記億する符号化基準画像データ記慷手段、  A) Convenient means for storing encoded reference image data, which stores image data for one screen composed of multiple pixels as encoded reference image data.
B ) ブロックデータを符号化した符号化後ブロックデータおよびそのブロック I Dが与えられると、 この符号化後ブロックデータを復号化する復号化手段、 B) Given coded block data obtained by coding the block data and its block ID, decoding means for decoding the coded block data;
C ) 前記符号化基準画像デー夕および前記復号化されたブロックデータに基づ き、 前記基準画像データの次のフレームの画像データを生成する次フレーム画像 データ生成手段、 C) 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;
D ) 前記符号化基準画像データ記憶手段の前記符号化基準画像データを、 前記 次フレーム画像データに書換える符号化基準画像データ書換え手段、  D) encoding reference image data rewriting means for rewriting the encoding reference image data of the encoding reference image data storage means to the next frame image data;
を備えたことを特徴とする。  It is characterized by having.
本発明にかかる動画データ符号化方法においては、  In the moving image data encoding method according to the present invention,
複数の画素にて構成される一画面分の画像データを符号化基準画像データとし て記僚しておき、 与えられた符号化対象の画像データを複数のブロックデータに 分割し、 分割した各ブロックデータについて、 前記符号化基準画像データの対応 プロックデータと異なるプロックデータを符号化対象ブ αックデータとして符号 化して、 当該符号化したブロックの符号化後ブロックデータをそのブロック I D とともに、 伝送する動画データ符号化方法において、  Image data for one screen composed of a plurality of pixels is kept as a criterion for encoding reference image data, and given image data to be encoded is divided into a plurality of block data, and each divided block is For the data, video data that is coded as block data to be coded, which is different from the block data corresponding to the coded reference image data, and the coded block data of the coded block is transmitted together with its block ID, and is transmitted as moving image data. In the encoding method,
前記符号化対象の画像データを構成するブロックデータと、 前記符号化基準画 像デ一夕の対応ブロックデータとの差分評価を演算し、 前記各ブロックデータの 差分評価に基づいて、 与えられた符号化対象の画像データの伝送方法を変更して 伝送すること、 を特徴とする。 A difference evaluation between the block data constituting the image data to be encoded and the corresponding block data of the encoding reference image data is calculated, and a given code is given based on the difference evaluation of each block data. To change the transmission method of the image data to be converted, It is characterized by.
本発明にかかる動画データ復号化方法においては、  In the moving picture data decoding method according to the present invention,
符号化データを受信してこれを復号化する動画データ復号化方法であって、 複数の画素にて構成される一画面分の画像デ一夕を基準画像データとして記億 しておき、  A moving image data decoding method for receiving encoded data and decoding the encoded data, wherein an image data for one screen composed of a plurality of pixels is stored as reference image data,
ブロックデータを符号化した符号化後ブロックデータおよびそのブロック I D が与えられると、 この符号化後プロックデ一夕を復号化し、  Given the coded block data obtained by coding the block data and its block ID, the block data after this coding is decoded,
前記基準画像デー夕および前記復号化されたブロックデータに基づき、 前記基 準画像データの次のフレームの画像データを生成するとともに、  Based on the reference image data and the decoded block data, generate image data of a frame next to the reference image data,
前記符号化基準画像データを、 前記次フレーム画像データに書換えること、 を特徴とする。  Rewriting the encoded reference image data with the next frame image data.
本発明にかかる動画データ符号化装置においては、  In the moving picture data encoding device according to the present invention,
複数の画素にて構成される一画面分の画像デ一夕を符号化基準画像データとし て記憶する符号化基準画像デー夕記憶手段、  Encoding reference image data storage means for storing image data of one screen composed of a plurality of pixels as encoding reference image data;
与えられた符号化対象の画像デ一夕を複数のブロックデータに分割し、 分割し た各ブロックデータについて、 前記符号化基準画像データの対応ブロックデータ と異なるブロックデータを、 符号化対象ブロックデータとして決定し、 そのプロ ック I Dと対応させて符号化する符号化手段、  The given encoding target image data is divided into a plurality of block data, and for each of the divided block data, block data different from the corresponding block data of the encoding reference image data is set as encoding target block data. Encoding means for determining and encoding the ID corresponding to the block ID,
を備えた動画データ符号化装置において、  In the moving image data encoding device provided with
前記符号化対象の画像データを構成するブロックデータと、 前記符号化基準画 像データの対応ブロックデータとの差分評価を演算する差分評価演算手段を備え、 前記符号化手段は、 前記各ブロックデータの差分評価に基づいて、 符号化する ブロックデータを决定すること、  The image processing apparatus further includes a difference evaluation operation unit configured to calculate a difference evaluation between the block data configuring the image data to be encoded and the corresponding block data of the encoding reference image data. Determining block data to be encoded based on the difference evaluation;
を特徴とする。  It is characterized by.
本発明にかかる動画デ一夕複号化装置においては、  In the moving picture decoding apparatus according to the present invention,
動画デ一夕符号化装置にて符号化された符号化データを復号化する動画データ 復号化装置であって、  A moving image data decoding device for decoding the encoded data encoded by the moving image data encoding device,
A) 複数の画素にて構成される一画面分の画像データを基準画像デ一夕として 記憶する基準画像データ記憶手段、 P 7/01918 A) reference image data storage means for storing image data for one screen composed of a plurality of pixels as reference image data; P 7/01918
B ) プロックデータを符号化した符号化後プロックデータおよびそのプロック I Dが与えられると、 この符号化後ブロックデータを復号化する復号化手段、B) Given encoded block data obtained by encoding block data and its block ID, decoding means for decoding the encoded block data;
C ) 前記基準画像データおよび前記復号化されたブロックデータに基づき、 前 記基準画像データの次のフレームの画像デ一夕を生成する次フレーム画像デ一夕 生成手段、 C) based on the reference image data and the decoded block data, a next frame image data generation means for generating an image data of a frame next to the reference image data,
D ) 前記符号化基举画像データ記憶手段の前記符号化基準画像データを、 前記 次フレーム画像データに書換える符号化基準画像データ書換え手段、  D) encoding reference image data rewriting means for rewriting the encoding reference image data of the encoding base image data storage means to the next frame image data;
を備えたことを特徴とする。  It is characterized by having.
本発明にかかる動画データ符号化方法においては、  In the moving image data encoding method according to the present invention,
複数の画素にて構成される一画面分の画像データを符号化基準画像デ一夕とし て記慷しておき、 与えられた符号化対象の画像データを複数のブロックデータに 分割し、 分割した各ブロックデータについて、 前記符号化基準画像データの対応 ブロックデータと異なるプロックデ一夕を、 符号化対象プロックデータとしてそ のブロック I Dと対応させて符号化する動画データ符号化方法において、 前記符号化対象の画像データを構成するブロックデ一夕と、 前記符号化基準画 像データの対応ブロックデータとの差分評価を演算し、 前記各ブロックデータの 差分評価に基づいて、 符号化するブロックデータを決定すること、  The image data of one screen composed of a plurality of pixels is useful as an encoding reference image data, and the given image data to be encoded is divided into a plurality of block data and divided. In the moving image data encoding method, for each block data, a block data that is different from the corresponding block data of the encoding reference image data is encoded as the encoding target block data in association with the block ID. A difference evaluation between the block data constituting the image data of the above and the corresponding block data of the coding reference image data is calculated, and the block data to be coded is determined based on the difference evaluation of each block data. thing,
を特徴とする。  It is characterized by.
本発明にかかる動画データ復号化方法においては、  In the moving picture data decoding method according to the present invention,
符号化データを復号化する動画データ復号化方法であって、  A moving image data decoding method for decoding encoded data,
複数の画素にて構成される一画面分の画像データを符号化基準画像データとし て記僚しておき、  One screen of image data composed of a plurality of pixels is clerk as coding reference image data,
ブロックデータを符号化した符号化後ブロックデータおよびそのブロック I D が与えられると、 この符号化後ブロックデ一タを復号化し,  Given coded block data obtained by coding block data and its block ID, the coded block data is decoded, and
前記基準画像デー夕および前記復号化されたブロックデ一夕に基づき、 前記基 準画像データの次のフレームの画像データを生成し、  Based on the reference image data and the decoded block data, generate image data of a frame next to the reference image data,
前記符号化基準画像データを、 前記次フレーム画像データに謇換えること、 を特徴とする。  The encoding reference image data is replaced with the next frame image data.
この発明の特徴、 他の目的、 用途、 効果等は、 実施例および図面を参酌するこ とにより明らかになるであろう。 For the features, other objects, uses, effects, and the like of the present invention, refer to the examples and the drawings. And will become clear.
[図面の簡単な説明]  [Brief description of drawings]
図 1は、 本発明にかかる動画デ一夕符号化装匱 1 1 0の機能ブロック図である。 図 2は、 符合化手段 1 0 9 aの機能ブロック図である。  FIG. 1 is a functional block diagram of a moving picture data encoding apparatus 110 according to the present invention. FIG. 2 is a functional block diagram of the encoding means 109a.
図 3は、 本発明にかかる動画データ復号化装置 2 0 0の機能ブロック図である。 図 4は、 図 3の復号化手段 2 0 6の機能ブロック図である。  FIG. 3 is a functional block diagram of the moving picture data decoding device 200 according to the present invention. FIG. 4 is a functional block diagram of the decoding means 206 of FIG.
図 5は、 図 1に示す動画データ符合化装値 1 1 0、 動画デ一夕復号化装置 2 0 0のハードウェア構成の一例を示す図である。  FIG. 5 is a diagram showing an example of a hardware configuration of the moving picture data encoding device 110 and the moving picture data decoding apparatus 200 shown in FIG.
図 6は、 伝送処理の全体フローチャートである。  FIG. 6 is an overall flowchart of the transmission process.
図 7は、 伝送処理の全体フローチャートである。  FIG. 7 is an overall flowchart of the transmission process.
図 8は、 動画データの一例を示す図である。  FIG. 8 is a diagram illustrating an example of moving image data.
図 9は、 図 8に示す動画データの物体の移動速度を説明するグラフである。 図 1 0は、 符合化対象の画像データを示す図である。  FIG. 9 is a graph illustrating the moving speed of the object in the moving image data shown in FIG. FIG. 10 is a diagram showing image data to be encoded.
図 1 1は、 各ブロックの差分評価の一例を示す図である。  FIG. 11 is a diagram illustrating an example of the difference evaluation of each block.
図 1 2は、 第 1の符合化処理のフローチャートである。  FIG. 12 is a flowchart of the first encoding process.
図 1 3は、 符合化対象の画像データの 1ブロックのデータを示す図である。 図 1 4は、 符合化処理におけるデータ構造を示す図である。  FIG. 13 is a diagram showing data of one block of image data to be encoded. FIG. 14 is a diagram showing a data structure in the encoding process.
図 1 5は、 符合化および復号化に用いるコードブックのデータ構造を示す図で ある。  FIG. 15 is a diagram showing a data structure of a codebook used for encoding and decoding.
図 1 6 A〜Eは、 入力データの一部のブロックとその対応比較バッファの変遷 を説明するための図である。  FIGS. 16A to 16E are diagrams for explaining the transition of some blocks of input data and their corresponding comparison buffers.
図 1 7は、 受信したブロックデータの復号化処理の全体を示すフローチャート である。  FIG. 17 is a flowchart showing the entire decoding process of the received block data.
図 1 8は、 復号化処理における詳細を示すフロ一チャートである。  FIG. 18 is a flowchart showing details of the decoding process.
図 1 9は、 符号化処理のフローチャートである (第 2実施形態) 。  FIG. 19 is a flowchart of the encoding process (second embodiment).
図 2 0は、 復号化処理のフローチャートである (第 2実施形態) 。  FIG. 20 is a flowchart of the decoding process (second embodiment).
図 2 1は、 学習処理における各ブロックデータに付与されるィンデックス番号 の配置関係を説明する為の図である。  FIG. 21 is a diagram for explaining an arrangement relationship of index numbers assigned to each block data in the learning process.
図 2 2は、 学習処理におけるフローチャートである。 図 2 3は、 アダマール変換行列を示す図である。 FIG. 22 is a flowchart of the learning process. FIG. 23 is a diagram showing a Hadamard transform matrix.
[発明を実施する為の最良の形態]  [Best mode for carrying out the invention]
「目次」  "table of contents"
1 . 全体のブロック図  1. Overall block diagram
卜 1)動画データ符号化装饞 1 1 0  1) Video data encoding device 1 1 0
卜卜 1)全体の機能ブロック図  1) Overall function block diagram
卜卜 2)符号化手段 1 0 9 aについて  2) Encoding means 1 0 9 a
卜 2〉動画データ復号化装置 2 0 0  (2) Video data decoding device 2 0 0
1-2-1)全体の機能ブロック図  1-2-1) Overall functional block diagram
卜 2- 2)復号化手段 2 0 6について  (2) 2) About decryption means 206
2 . ハードウェア構成  2. Hardware configuration
3 . フローチャート  3. Flow chart
3 - 1)伝送処理  3-1) Transmission processing
3- 2)受信処理  3- 2) Reception processing
4 . 他のデータ符号化復号化手法  4. Other data encoding and decoding methods
4- 1)第 2の符号化手法  4- 1) Second encoding method
4 -卜 I)機能ブロック図  4-U) Function block diagram
4-卜 2)フローチヤ一ト  4) 2) Flow chart
5 . コードブックの作成について  5. About creating a codebook
6 . その他の実施形態 本発明の一実施形態について、 図面を用いて説明する。  6. Other Embodiments One embodiment of the present invention will be described with reference to the drawings.
1 . 全体のブロック図 1. Overall block diagram
卜 1)動画データ符号化装置 1  1) Video data encoding device 1
卜 1-1)全体の機能ブロック図  1-1) Overall functional block diagram
図 1に示す動画データ符号化装置 1 1 0は、 符号化対象画像デ一夕記憶手段 1 0 3、 符号化基準画像データ記慷手段 1 0 5、 差分評価演算手段 1 0 7、 符号化 伝送手段 1 0 9、 符号化基準画像データ書換え手段 1 0 8を備えている。  The moving image data encoding device 110 shown in FIG. 1 includes encoding target image data storage means 103, encoding reference image data useful means 105, difference evaluation operation means 107, encoding transmission Means 109, and means for rewriting encoded reference image data 108.
符号化対象画像データ記憶手段 1 0 3は、 符号化対象の画像デ一夕を記慷する c 符号化基準画像データ記憶手段 1 0 5は、 複数の画素にて構成される一画面分の 画像データを符号化基準画像データとして記憶する。 Encoding target image data storage means 1 0 3, c to Ki慷images de Isseki encoding target The encoding reference image data storage means 105 stores image data for one screen composed of a plurality of pixels as encoding reference image data.
差分評価演算手段 1 0 7は、 前記符号化対象の画像データを構成するブロック データと、 前記符号化基準画像デ一夕の対応ブロックデ一夕との差分評価を演算 する。  The difference evaluation calculating means 107 calculates a difference evaluation between the block data constituting the image data to be encoded and the corresponding block data of the encoded reference image data.
符号化伝送手段 1 0 9は、 与えられた符号化対象の画像データを複数のブロッ クデータに分割し、 分割した各ブロックデータについて、 前記符号化基準画像デ 一夕の対応ブロックデータと異なるプロックデ一夕を符号化対象ブロックデータ として符号化して、 当該符号化した符号化後ブロックデ一夕をブロック I Dとと もに、 伝送する。 なお、 符号化伝送手段 1 0 9は、 かかる伝送の際、 前記各プロ ックデ一夕の差分評価に基づいて、 与えられた符号化対象の画像デ一夕について、 その伝送方法を変更して伝送する。  The encoding transmission means 109 divides the given image data to be encoded into a plurality of block data, and, for each of the divided block data, a block data different from the corresponding block data of the above-mentioned encoded reference image data. The encoded data is encoded as the encoding target block data, and the encoded encoded block data is transmitted together with the block ID. Note that the coded transmission means 109 changes the transmission method for the given image data to be coded based on the difference evaluation between each block of data, and transmits the coded data. I do.
符号化基準画像データ書換え手段 1 0 8は、 前記符号化基準画面データのブ !□ ックデ一夕を、 前記符号化対象として決定したブロックデータによって書換える。 符号化伝送手段 1 0 9は、 前記一画面分の画像データのブロックデータの各差 分評価の評価値分布に応じて、 前記伝送方法を変更する。 伝送方法の変更として は、 伝送前処理の変更および伝送条件の変更、 いずれをも含む。  The coding reference image data rewriting means 108 rewrites the block reference of the coding reference screen data with the block data determined as the coding target. The encoding transmission means 109 changes the transmission method according to the evaluation value distribution of each difference evaluation of the block data of the image data for one screen. Changes in the transmission method include changes in pre-transmission processing and transmission conditions.
また、 符号化伝送手段 1 0 9は、 伝送状態を検知し、 前記差分評価およびこの 検知結果に基づいて、 前記伝送方法を変更する。  The coded transmission unit 109 detects the transmission state, and changes the transmission method based on the difference evaluation and the detection result.
また、 符号化伝送手段 1 0 9は、 予め設定されている差分しきい値と比較する ことにより、 前記伝送方法を変更することもできる。  Also, the coded transmission means 109 can change the transmission method by comparing with a preset difference threshold value.
また、 符号化伝送手段 1 0 9は、 前記一画面分の画像データのブロックデータ の各差分評価の評価値分布にかかわらず、 符号化対象である複数のブロックデー 夕から伝送対象ブロックデータを抽出する。  Further, the encoding transmission unit 109 extracts transmission target block data from a plurality of encoding target block data regardless of the evaluation value distribution of each difference evaluation of the block data of the image data for one screen. I do.
卜卜 2)符号化手段 1 0 9 aについて  2) Encoding means 1 0 9 a
符号化伝送手段 1 0 9の符号化処理を行なう手段 (以下符号化手段 1 0 9 aと いう) について、 図 2を用いて説明する。 符号化手段 1 0 9 aは、 複数のブロッ ク構成デ一夕から構成されるブロックデ一夕およびこれに対応する符号を、 候補 データとして複数記慷しておき、 符号化対象のブロックデータが与えられると、 前記複数の候補データを用いて、 符号化する。 符号化伝送手段 1 0 9 aは、 相対 ブロックデータ記憶手段 9、 第 1変換手段 3、 相対ブロックデータ符号化手段 7、 およびブロック特性データ演算手段 5を備えている。 The means for performing the coding process of the coding transmission means 109 (hereinafter referred to as coding means 109a) will be described with reference to FIG. The encoding means 109a stores a plurality of block data composed of a plurality of block data and a plurality of codes corresponding to the data as candidate data. Given, Encoding is performed using the plurality of candidate data. The encoding transmission unit 109 a includes a relative block data storage unit 9, a first conversion unit 3, a relative block data encoding unit 7, and a block characteristic data calculation unit 5.
相対ブロックデータ記慷手段 9は、 前記相対ブロックデータおよびこれに対応 する符号を候補データとして、 複数記慷する。 本実施形態においては、 候補デ一 夕として、 ブロック特性データに応じて、 グループ分けしたグループ別対応表を 複数記慷している。  The relative block data useful means 9 uses the relative block data and a code corresponding to the relative block data as candidate data. In the present embodiment, as the candidate data, a plurality of group correspondence tables, which are grouped according to the block characteristic data, are used.
第 1変換手段 3は、 前記符号化対象のプロックデータに基づいて当該ブロック データにおける変換基準値を決定し、 当該ブロックデータを構成する各ブロック 構成データを、 前記変換基準値に対する相対値で表される相対プロックデータに 変換する。 本実施形態においては、 符号化対象のブロックデータを構成する各ブ 口ック構成データの最小値を当該ブロックデータにおける変換基準値として決定 した。  The first conversion means 3 determines a conversion reference value in the block data based on the block data to be encoded, and expresses each block configuration data constituting the block data as a relative value with respect to the conversion reference value. Is converted to relative block data. In the present embodiment, the minimum value of each block configuration data configuring the block data to be encoded is determined as the conversion reference value in the block data.
プロック特性データ演算手段 5は、 前記符号化対象のプロックデ一夕について、 当該ブロックデータを構成する各ブロック構成データの分布特性に基づいて、 当 該ブロックデータにおけるブロック特性データを演算する。 本実施形態において は、 前記分布特性として、 前記符号化対象の当該ブロックデータを構成する各ブ 口ック構成データの最大値および最小値との差分データを、 当該ブロックデ一夕 におけるブロック特性データとして求めた。  The block characteristic data calculating means 5 calculates block characteristic data of the block data based on the distribution characteristic of each block configuration data constituting the block data for the block data to be encoded. In the present embodiment, as the distribution characteristic, difference data between the maximum value and the minimum value of each block configuration data configuring the block data to be encoded is referred to as block characteristic data in the block data. Asked.
相対プロックデ一夕符号化手段 7は、 相対ブロックデ一タ記憶手段 9に記慷さ れた候補データを用いて、 前記相対ブロックデ一夕を符号化し、 この相対符号デ 一夕および前記変換基準値を出力する。 本実施形態においては、 この相対符号デ 一夕として、 前記ブロック特性データに基づいて、 相対ブロックデータ記慷手段 9に記憶された候補デ一夕のうちいずれのグループの候補デ一夕を用いるかを決 定し、 このグループ名およびグループ内番号を採用した。  The relative block data encoding means 7 encodes the relative block data using the candidate data stored in the relative block data storage means 9, and stores the relative code data and the conversion criterion. Output the value. In the present embodiment, based on the block characteristic data, which group of candidate data stored in the relative block data useful means 9 is used as the relative code data. And adopted this group name and intra-group number.
卜 2)動画データ復号化装置 2 0 0  (2) Video data decoding device 2 0 0
卜 2-1 )全体の機能ブロック図  2-1) Overall functional block diagram
図 3に示す動画データ復号化装置 2 0 0は、 動画データ符号化装置 1 1 0から 伝送された符号化データを受信してこれを復号化する装置である。 動画データ復 号化装置 2 0 0は、 符号化基準画像データ記憶手段 2 0 5、 復号化手段 2 0 6、 次フレーム画像データ生成手段 2 0 7、 および符号化基準画像データ書換え手段 2 0 9を備えている。 The moving image data decoding device 200 shown in FIG. 3 is a device that receives the encoded data transmitted from the moving image data encoding device 110 and decodes it. Video data recovery The encoding device 200 includes an encoding reference image data storage unit 205, a decoding unit 206, a next frame image data generation unit 207, and an encoding reference image data rewriting unit 209. I have.
符号化基準画像データ記憶手段 2 0 5は、 複数の画素にて構成される一画面分 の画像デー夕を符号化基準画像デー夕として記慷する。  The coded reference image data storage means 205 stores one screen of image data composed of a plurality of pixels as the coded reference image data.
復号化手段 2 0 6は、 ブロックデ一夕を符号化した符号化後ブロックデータお よびそのブロック I Dが与えられると、 この符号化後ブロックデータを復号化す る。  Decoding means 206, given the coded block data obtained by coding the block data and the block ID thereof, decodes the coded block data.
次フレーム画像データ生成手段 2 0 7は、 前記符号化基準画像データおよび前 記復号化されたブロックデータに基づき、 前記基準画像デ一夕の次のフレームの 画像データを生成する。 符号化基準画像データ書換え手段 2 0 9は、 符号化基準 画像デ一夕記憶手段の前記符号化基準画像データを、 前記次フレーム画像データ に書換える  The next frame image data generation 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. The encoding reference image data rewriting means 209 rewrites the encoding reference image data in the encoding reference image data storage means to the next frame image data.
この実施形態においては、 各符号化対象のブロックデータについて、 ブロック 毎に変換基準値を決定するようにしたが、 当該所定数のプロック毎に 1の変換基 準値を決定してもよい。 これにより、 圧縮後のデータ量を小さくすることができ る。 特に、 画像データの様に各ブロックデ一夕が相関関係ある場合には、 効果が ある。  In this embodiment, the conversion reference value is determined for each block for each encoding target block data. However, one conversion reference value may be determined for each of the predetermined number of blocks. As a result, the amount of data after compression can be reduced. This is particularly effective when the block data is correlated as in image data.
1 -2- 2)復号化手段 2 0 6について  1 -2- 2) Decoding means 206
復号化手段 2 0 6の詳細について、 図 4を用いて説明する。 図 4に示す復号化 手段 2 0 6は、 図 2に示す符号手段 1 0 9 aで符号化された符号データを復号化 する装置である。 復号化手段 2 0 6は複数のブロック構成データから構成される プロックデータの変換基準値を用いて変換された相対プロックデータを符号化し た相対符号デ一夕、 および当該ブロックデータにおける変換基準値が与えられる と、 これを復号化する。 復号化手段 2 0 6は、 相対ブロックデータ記慷手段 9、 第 2変換手段 1 3、 および相対ブロックデータ復号化手段 1 7を備えている。 相対プロックデータ記慷手段 9は、 前記相対プロックデータおよびこれに対応 する符号を候補データとして、 複数記憶する。 本実施形態においては、 候補デー タとして、 ブロック特性データに応じて、 グループ分けしたグループ別対応表を 複数記慷している。 Details of the decoding means 206 will be described with reference to FIG. The decoding means 206 shown in FIG. 4 is an apparatus for decoding the coded data coded by the coding means 109a shown in FIG. The decoding means 206 receives the relative block data which is obtained by coding the relative block data converted by using the block data conversion reference value composed of a plurality of block configuration data, and the conversion reference value of the block data is If given, decrypt it. The decoding means 206 includes a relative block data recording means 9, a second conversion means 13, and a relative block data decoding means 17. The relative block data useful means 9 stores a plurality of relative block data and codes corresponding thereto as candidate data. In the present embodiment, a group correspondence table, which is grouped according to block characteristic data, is used as candidate data. Multiple useful.
相対ブロックデータ復号化手段 17は、 前記相対符号データを、 前記相対プロ ックデータ記慷手段に記憶された候補データを用いて、 復号化する。 具体的には、 前記相対符号デ一夕として、 グループ名およびグループ内番号が与えられると、 このグループ名およびグループ内番号によって、 前記グループ別対応表のいずれ の候補データを用いるかを決定し、 対応する相対ブロックデ一夕に復号化する。 第 2変換手段 13は、 前記復号化された相対ブロックデータを、 当該ブロック デ一夕における変換基準値を用いて、 符号化前の相対ブロックデータに変換する。 本実施形態においては、 各符号化対象のブロックデータについて、 ブロック毎 に変換基準値が付加されている場合について説明したが、 所定数のブロック毎の 変換基準値を用いて、 符号化前のブロックデータに変換する様にしてもよい。  The relative block data decoding unit 17 decodes the relative code data using the candidate data stored in the relative block data storage unit. Specifically, when a group name and an intra-group number are given as the relative code data, the group name and the intra-group number determine which candidate data of the group correspondence table is to be used, Decoding is performed in the corresponding relative block overnight. The second conversion means 13 converts the decoded relative block data into relative block data before encoding using the conversion reference value in the block data. In the present embodiment, a description has been given of a case where a conversion reference value is added for each block for each block data to be coded, but a block before coding is converted using a conversion reference value for each of a predetermined number of blocks. You may make it convert into data.
2. ハードウェア構成  2. Hardware configuration
図 5に、 図 1に示す動画データ符号化装置 1 10を C PUを用いて実現したハ ―ドウエア構成の一例を示す。  FIG. 5 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.
動画データ符号化装置 21は、 CPU23、 メモリ 27、 ハードディスク 26、 CRT 30 , FDD25、 キーボード 28、 伝送制御部 32およびパスライン 2 9を備えている。  The video data encoding device 21 includes a CPU 23, a memory 27, a hard disk 26, a CRT 30, a FDD 25, a keyboard 28, a transmission control unit 32, and a pass line 29.
CPU 23は、 ハードディスク 26に記憶された制御プログラムにしたがいバ スライン 29を介して、 各部を制御する。  The CPU 23 controls each unit via a bus line 29 according to a control program stored in the hard disk 26.
この制御プログラムは、 FDD 25を介して、 プログラムが記慷されたフレキ シプルディスクから読み出されてハードディスク 26にィンストールされたもの である。 なお、 フレキシブルディスク以外に、 CD— ROM, I Cカード等のプ ログラムを実体的に一体化したコンビュ一タ可読の記愴媒体から、 ハードデイス クにインストールさせるようにしてもよい。 さらに、 通信回線を用いてダウン口 ―ドするようにしてもよい。  The control program is read from the flexible disk to which the program is stored via the FDD 25 and installed on the hard disk 26. In addition to the flexible disk, a hard disk may be installed from a computer-readable pathological medium in which a program such as a CD-ROM or an IC card is physically integrated. Further, a down port may be provided using a communication line.
本実施形態においては、 プログラムをフレキシブルディスクからハードディス ク 26にィンストールさせることにより、 フレキシブルディスクに記慷させたプ ログラムを間接的にコンピュータに実行させるようにしている。 しかし、 これに 限定されることなく、 フレキシブルディスクに記惊させたプログラムを FDD 2 5から直接的に実行するようにしてもよい。 なお、 コンピュータによって、 実行 可能なプログラムとしては、 そのままのィンストールするだけで直接実行可能な ものはもちろん、 一旦他の形態等に変換が必要なもの (例えば、 データ圧縮され ているものを、 解凍する等) 、 さらには、 他のモジュール部分と組合して実行可 能なものも含む。 In this embodiment, by installing the program from the flexible disk to the hard disk 26, the program useful for the flexible disk is indirectly executed by the computer. However, the present invention is not limited to this. It may be executed directly from 5. Computer-executable programs include those that can be directly executed by simply installing the software as it is, as well as those that need to be converted to another form (for example, decompress data-compressed programs). Etc.), and those that can be executed in combination with other module parts.
ハードディスク 2 6には後述するコードブックが記憶される。 メモリ 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は、 有線または無線でデータを送受信する。 キーボード 2 8は読 み込み命令等を入力する命令入力手段である。  The hard disk 26 stores a code book described later. The memory 27 has a comparison buffer 26a, a frame buffer 26b, and a block buffer 27c. The comparison buffer 26a stores an encoded reference image described later. The frame buffer 26 b stores the image data for one screen to be encoded. The block buffer 27c stores encoded block data. The operation result and the like are temporarily stored in the memory 27. In CRT30, moving image data before encoding and the like are displayed. The transmission control unit 32 transmits and receives data by wire or wirelessly. The keyboard 28 is an instruction input means for inputting a read instruction or the like.
なお、 動画データ復号化装置 2 0 0のハードウェア構成は、 動画データ符号化 装置 1 1 0とほぼ同様である。 なお、 ブロックバッファ 2 7 cは、 受信した符合 化されたブロックデータが記憶される。 比較バッファ 2 6 aは、 不要である。 フ レームバッファ 2 6 bには、 復号化された 1画面分の画像データが記憶される。 フレームバッファ 2 6 bは、 後述するように順次復号化されたブロックデータに よって順次、 書換えられる。  Note that the hardware configuration of the moving image data decoding device 200 is almost the same as that of the moving image data encoding device 110. The block buffer 27c stores the received encoded block data. The comparison buffer 26a is unnecessary. The frame buffer 26 b stores the decoded image data for one screen. The frame buffer 26b is sequentially rewritten with the sequentially decoded block data as described later.
3 . フローチャート  3. Flow chart
3-1 )伝送処理 3-1) Transmission processing
動画デ一夕符号化装置 1 1 0の符号化対象のブロックデータの決定フローチヤ —卜について図 6、 図 7を用いて説明する。  A flowchart for determining the block data to be encoded by the moving picture data encoding apparatus 110 will be described with reference to FIGS.
なお、 以下では、 図 8に示すように、 星マーク 1 6 0が、 時刻 t。から時刻 t 4 の間に、 矢印 α方向に距離 L 1だけ移動し、 丸マーク 1 6 2が同じ時間にて矢印 αに距離 L 2だけ移動した場合について説明する。 星マーク 1 6 0、 丸マーク 1 6 2の移動の関係について図 9を用いて説明する。 星マーク 1 6 0は、 ライン 7 2で示すように、 時刻 t。から時刻 t 3の間で距離 L 1だけ移動し、 時刻 から 時刻 t 4の間は停止する。 一方、 丸マーク 1 6 2は、 ライン 7 4で示すように、 一 1 I ― In the following, as shown in FIG. 8, the star mark 160 indicates the time t. Between the time t 4, moves in the arrow α direction by a distance L 1, description will be given of a case where a round mark 1 6 2 is moved by a distance L 2 in the arrow α in the same time. The relationship between the movement of the star mark 160 and the round mark 16 2 will be described with reference to FIG. The star mark 160 is at time t, as shown by line 72. Moved by a distance L 1 between times t 3 from between the time of the time t 4 is stopped. On the other hand, the circle mark 16 2 indicates that 1 I-
差替え用紙 (規貝リ 26) 時刻 t。から t4の間に、 距離 L 1と比べて短い距離 L 2だけ移動している。 すな わち、 星マーク 160は丸マーク 162より移動速度が速い。 Replacement paper (26) Time t. Between the t 4, as compared with the distance L 1 has moved a short distance L 2. That is, the star mark 160 moves faster than the round mark 162.
まず、 CPU23は、 比較バッファ 27 aを初期化し (図 6ステップ ST 10 1) 、 符号化対象画像データが入力されたか否かを判断する (ステップ ST 10 3) 。 符号化対象画像データが入力されない場合には、 処理を終了する。  First, the CPU 23 initializes the comparison buffer 27a (step ST101 in FIG. 6), and determines whether or not encoding target image data has been input (step ST103). If the encoding target image data is not input, the process ends.
一方、 伝送制御部 31を介して符号化対象画像データが入力された場合には、 CPU23は、 この符合化対象画像データをメモリ 27のフレームバッファ 27 bに記慷する (ステップ ST 105) 。  On the other hand, when the encoding target image data is input via the transmission control unit 31, the CPU 23 stores the encoding target image data in the frame buffer 27b of the memory 27 (step ST105).
つぎに、 CPU 23は最初の画像 (1フレーム目) であるか否かを判断する (ステップ ST 107) 。 この場合、 最初の画像であるので、 図 7ステップ ST 130に進み、 ブロックデータに分割を行なう。 本実施形態においては、 図 10 に示すように 1画面分の画像データを、 4 <4の16個の画素を構成するブロッ クデータに分割した。  Next, the CPU 23 determines whether or not it is the first image (first frame) (step ST107). In this case, since it is the first image, the process proceeds to step ST130 in FIG. 7 to divide the data into block data. In the present embodiment, as shown in FIG. 10, image data for one screen is divided into block data constituting 16 pixels of 4 <4.
つぎに、 ブロックデータの符号化処理を行なう (ステップ ST 131) 。 この 場合、 最初の画像であるので、 全ブロックデ一夕について、 符号化を行なう。 符 合化処理について図 12を用いて説明する。  Next, the block data is encoded (step ST131). In this case, since this is the first image, encoding is performed for the entire block data. The encoding process will be described with reference to FIG.
まず、 CPU 23は、 処理対象ブロック番号 hを初期化し (図 12ステップ S T 3) 、 ハードディスク 26のフレームバッファ 26 bに記憶されている 1画面 分の画像データのうち、 第 hブロックのブロックデ一夕をメモリ 27から読み出 す (ステップ S T 5) 。  First, the CPU 23 initializes the processing target block number h (ST3 in FIG. 12), and among the image data for one screen stored in the frame buffer 26b of the hard disk 26, reads the block data of the hth block. Evening is read from memory 27 (step ST5).
例えば、 第 ijブロックのブロックデ一夕 Aijを構成するブロック構成データが、 図 13に示すような aij (0)〜 aij (15)である場合、 第 i jブロックのブロック データを、 Aij= (aij(0〉、 a ij (1), · · ·、 aij(15)) で表すと、 第 00ブ ロックのブロックデ一夕 A00は、 これを構成するブロック構成データ a 00(0)〜 a00(15)によって、 以下の様に表される。  For example, if the block configuration data constituting the block data Aij of the ij-th block is aij (0) to aij (15) as shown in FIG. 13, the block data of the ij-th block is represented by Aij = (aij (0>, a ij (1), ..., aij (15)), the block data A00 of the 00th block is composed of the block configuration data a00 (0) to a00 ( According to 15), it is expressed as follows.
A00= ( a 00(0), a 00(1), · ■ ·、 a 00(15))  A00 = (a 00 (0), a 00 (1),
なお、 本実施形態においては、 各ブロックを構成するブロック構成データ aij (0)〜aij(15)は、 0〜 255のいずれかの値をとるものとする。 すなわち、 ブ ロック構成データ a ij (0)〜 a U (15)の値は、 8ビットで表されるが、 ここでは、  In the present embodiment, the block configuration data aij (0) to aij (15) constituting each block take any value from 0 to 255. That is, the values of the block configuration data a ij (0) to a U (15) are represented by 8 bits.
一 I 2 ― 分りやすくする為に、 10進法で表記する。 I 2 ― Notation is given in decimal notation for easy understanding.
ここでは、 第 00ブロックのブロックデータ A00が、 図 14Aに示すブロック構 成データで表されたものとして、 説明する。  Here, the description will be made assuming that the block data A00 of the 00th block is represented by the block configuration data shown in FIG. 14A.
C PU 23は、 図 1 4 Aに示すブロックデータ A00の各ブロック構成データ a 00(0)〜 a00(15)を、 右に 4ビットシフ卜処理したシフトブロック構成データ AO 0' を求める (図 1 2ステップ ST 1 1) 。 この場合は、 シフトブロック構成デ —夕 A00' は、 図 14 Bに示すように表される。  The CPU 23 obtains shift block configuration data AO 0 'obtained by subjecting each block configuration data a 00 (0) to a00 (15) of the block data A00 shown in FIG. Two-step ST 1 1). In this case, the shift block configuration data A00 'is represented as shown in Fig. 14B.
このシフトブロック構成デ一夕 A00' を、 AO0' = (aOO(OKぐ, aOO(l)くぐ • · · · a00(15)«4) と表わす。 この場合、 ブロック構成データ a00(0)〜a00 (15)は、 8ビットデータであったので、 シフトブロック構成データ aOO(OKぐ〜 a00(15)〈ぐは、 4ビッ トデータである。 すなわち、 シフトブロック構成デ一夕 a00(0)〈ぐ〜 a00(15)くぐは、 それぞれ、 1 6段階の値を取る。 例えば、 ブロッ ク構成データ aij (0)力 「0 1 00 1 1 1 0」 である場合、 シフトブロック構成 データ a00(0)〈ぐは、 「0 1 00」 の 4ビットデ一夕となる (量子化) 。 This shift block configuration data A00 'is expressed as AO0' = (aOO (OK, aOO (l)) • ··· a00 (15) « 4 ) In this case, the block configuration data a00 (0) ~ Since a00 (15) is 8-bit data, shift block configuration data aOO (OK to a00 (15) <G is 4-bit data. That is, shift block configuration data a00 (0) < Each of the groups a00 (15) has a value of 16. For example, if the block configuration data aij (0) is “0 1 00 1 1 1 0”, the shift block configuration data a00 (0 ) <Gha becomes a 4-bit data of “0 1 00” (quantization).
つぎに、 CPU23は、 シフトブロック構成デ一夕 a00(0)くぐ〜 a00(15)のう ち、 最大値 ma xAOO' および最小値 m i n A00' を求める (図 1 2ステップ S T 1 3) 。 この場合、 ブロックデ一夕 A00' については、 最大値 ma xAOO' = 1 6、 最小値 m i n A00' = 2が求められ (図 1 4 B参照) 、 メモリ 2 7に記憶 される。 最大値 ma xAOO' および最小値 m i n A00' も 4ビットデータである。 つぎに、 CPU 23は、 最大値 ma xAOO' と最小値 m i nAOO' との差分デ —夕 AOOgを求める (図 1 2ステップ S T 1 5) 。 具体的には、 差分データ A00 gは、 以下の式で求められる。  Next, the CPU 23 obtains the maximum value maxAOO 'and the minimum value minA00' among the shift block configuration data a00 (0) through a00 (15) (FIG. 12, step ST13). In this case, the maximum value maxAOO '= 16 and the minimum value minA00' = 2 are obtained for the block data A00 '(see FIG. 14B) and stored in the memory 27. The maximum value maxAOO 'and the minimum value minA00' are also 4-bit data. Next, the CPU 23 obtains a difference data between the maximum value maxAOO 'and the minimum value minAOO'—evening AOOg (FIG. 12, step ST15). Specifically, the difference data A00 g is obtained by the following equation.
A00g=ma x A00' 一 m i nAOO' = 1 6 - 2= 14  A00g = max x A00 'one min AOO' = 1 6-2 = 14
この差分デ一夕 A 00 gは、 ブロックデータ A 00の各ブロック構成デー夕につい て、 最大値と最小値とがどの程度異なるかを表す。 すなわち、 差分データ AOOg が大きい場合には、 最大値と最小値との差が大きいこととなり、 ブロックデータ A00は、 エッジを有するような画像であると判断できる。 これに対して、 最大値 と最小値との差が小さいものは、 そうではないような画像であると判断できる。 つぎに、 CPU 2 3は、 差分デ一夕 AOOgを右に 1ビットずらし、 右 1ビット 一 13 ―  The difference data A 00 g indicates how much the maximum value and the minimum value are different for each block configuration data of the block data A 00. That is, when the difference data AOOg is large, the difference between the maximum value and the minimum value is large, and it can be determined that the block data A00 is an image having an edge. On the other hand, an image having a small difference between the maximum value and the minimum value can be determined to be an image that is not so. Next, the CPU 23 shifts the difference data AOOg by one bit to the right, and shifts the right one bit by one bit.
差替え用紙 (規則 26) シフト差分データ AOOg' を求める。 差分データ AOOgは、 4ピットで表される ので、 右 1ビットシフト差分データ AOOg ' は、 3ビッ トで表される。 この場合 は、 1ビットシフト差分デ一夕 AOOg ' =7となる。 Replacement form (Rule 26) Find shift difference data AOOg '. Since the difference data AOOg is represented by 4 pits, the right 1-bit shift difference data AOOg 'is represented by 3 bits. In this case, one-bit shift difference AOOg '= 7.
つぎに、 CPU23は、 そのブロックにおける相対基準値を決定し、 シフトブ ロックデータ AO0' を構成する各ブロック構成データ aOO(OKぐ〜 a i (15)くぐ のそれぞれから、 この相対基準値を減算し、 ブロック構成相対デ一夕を求める Next, the CPU 23 determines the relative reference value of the block, and subtracts the relative reference value from each of the block configuration data aOO (OK to ai (15)) constituting the shift block data AO0 ', Find block configuration relative data
(図 12ステップ ST 1 9) 。 本実施形態においては、 最小値 m i nAOO' を相 対基準値とした。 (FIG. 12, step ST 19). In this embodiment, the minimum value minAOO 'is set as the relative reference value.
このブロック構成相対デ一夕を、 b 00 (0Kぐ〜 b 00 (15)〈ぐで表すと、 ブロッ ク構成相対データ b00(0)くぐ〜 bOO(15Kぐは、 以下の式で表される。  If this block configuration relative data is expressed as b00 (0K g ~ b00 (15) <g, the block configuration relative data b00 (0) guru ~ bOO (15K g is expressed by the following formula. .
b00(0)《4= a00(0>〈ぐ一 m i η ΑΟΟ' b00 (0) << 4 = a00 (0> 〈guichi mi η ΑΟΟ '
bOO(l)くぐ = aOO(l)くぐ—m i n ΑΟΟ'  bOO (l) ku = aOO (l) ku—min i ΑΟΟ '
b00(15)«4=a00(15)«4-m i nAOO' b00 (15) « 4 = a00 (15)« 4 -mi nAOO '
なお、 相対基準値として、 最大値 ma xAOO' を用いてもよい。 このように、 最小値または最大値を相対基準値とすることにより、 後述するずれ値の演算が容 易となる。 なお、 相対基準値は、 これに限定されず、 ブロック構成デ一夕のうち、 いずれかの値でもよく、 さらに、 任意の値としてもよい。  Note that the maximum value maxAOO 'may be used as the relative reference value. As described above, by using the minimum value or the maximum value as the relative reference value, a later-described calculation of a deviation value becomes easy. The relative reference value is not limited to this, and may be any one of the values in the block configuration data, and may be an arbitrary value.
このようにして、 シフトブロック構成データ a i (0)〈ぐ〜 a i (15Kぐについ て、 最小値 m i nAOO' を相対 0とする値が求められる。 これをブロック相対デ —夕 B00とすると、 ブロック相対デ一夕 B0Oは、 図 14 Cに示すように表される c In this way, for the shift block configuration data ai (0) <g ~ ai (15K, the minimum value min nOOO 'is set to a relative value of 0. If this is the block relative data- relative de Isseki B0O is, c represented as shown in FIG. 14 C
B00= (b0O(0Kぐ, b00(l〉くぐ, · · · ~, b00(15)くぐ) B00 = (b0O (0K, b00 (l) cug, · · · ~, b00 (15) cug)
つぎに、 ずれ値総計 TOijを求める。 インデックス番号 00のずれ値総計 TO00 は、 以下の式で求めることができる。  Next, the total deviation TOij is calculated. The total shift value TO00 of the index number 00 can be obtained by the following equation.
TO00= {ABS (b00(0Kぐ一 k00(0)) +ABS ( b 00 (1) «4 - k 00 (1) ) + · · - +ABS (b00(15)«4- k00(15)) } TO00 = (ABS (b00 (0K × 1 k00 (0))) + ABS (b 00 (1) « 4 -k 00 (1)) + ...- + ABS (b00 (15)« 4 -k00 (15) )}
なお、 ABS 0 は、 0 内の絶対値を求める演算を表す。 これを、 図 1 5に示すコードブック Kのグループ番号 「7 J のインデックス番 号 255まで実行し、 ずれ値総計 TOが最小値となる相対ブロックデータ Krを 求め、 そのインデックス番号に符合化する。 Note that ABS 0 represents an operation for obtaining an absolute value within 0. This is performed up to the index number 255 of the group number “7 J of code book K” shown in FIG.
例えば、 相対ブロックデータ K245とのずれ値総計 TO 245が、 最小であ る場合には、 ブロック構成相対デ一夕 B00は、 グループ番号 「7」 およびインデ ックス番号 「245」 に符合化される。 これを相対符合デ一夕という。  For example, when the total deviation value TO 245 from the relative block data K245 is the minimum, the block configuration relative data B00 is encoded into the group number “7” and the index number “245”. This is called a relative sign.
つぎに、 CPU 23は、 この相対符合データおよびそのブロックにおける最小 値 mi nAOO' を圧縮後データとしてブロックバッファ 27 cに記憶して、 第 00 ブロックの符合化が終了する (図 12ステップ ST23) 。  Next, the CPU 23 stores the relative encoded data and the minimum value minAOO 'in the block in the block buffer 27c as compressed data, and ends the encoding of the 00th block (step ST23 in FIG. 12).
結局、 ブロックデータ AO0は、 結局、 シフト差分データ A i g' で示されるグ ループ番号 「7」 、 そのグループのインデックス番号 「245」 および最小値 m After all, the block data AO0 is, after all, the group number “7” indicated by the shift difference data A i g ′, the index number “245” of the group and the minimum value m
1 nAOO' 「2J にデータ圧縮されたこととなる。 グループ番号は、 3ビット、 インデックス番号は 8ビット、 最小値は、 4ビットであるので、 計 15ビットの デ一夕に圧縮される。 すなわち、 1ブロックのデータは、 15ビットのデータに 圧縮されたことになる。 1 nAOO '“This means that the data has been compressed to 2J. The group number is 3 bits, the index number is 8 bits, and the minimum value is 4 bits, so the data is compressed to a total of 15 bits. Thus, one block of data is compressed into 15-bit data.
つぎに、 CPU 23は、 図 12ステップ ST 25にて、 全ブロックについて、 符合化が終了したか否か判断し、 終了していない場合には、 処理対象ブロック番 号 hをインクリメントし (図 12ステップ ST 26) 、 ステップ ST 5〜ステツ プ ST 25の処理を繰返す。  Next, in step ST25 in FIG. 12, the CPU 23 determines whether or not encoding has been completed for all blocks, and if not completed, increments the processing target block number h (see FIG. 12). Step ST26), the processing of steps ST5 to ST25 is repeated.
図 12ステップ ST25にて、 全ブロックについて、 符合化が終了した場合に は、 当該ブロックデータの符合化は終了する。  In step ST25 in FIG. 12, when the encoding is completed for all the blocks, the encoding of the block data is terminated.
全てのブロックデータについて、 符合化が終了すると、 CPU23は、 フレー 厶バッファ 27 bに記億されている第 1フレーム目の画像データを比較バッファ When encoding is completed for all block data, the CPU 23 compares the image data of the first frame stored in the frame buffer 27 b with a comparison buffer.
27 aに上書きをする (図 7ステップ ST 133) 。 これにより、 この第 1フレ —ムの画像デ一夕が比較バッファ 27 aに記憶される。 また、 CPU 23は、 ブ ロックバッファ 27 cに記憶した符号化後のブロックデータを、 対応するブロッ ク I Dとともに、 伝送制御部 31 介して送信を行なう (ステップ ST 127) 。 具体的には、 各ブロックについて、 その相対符合データおよび最小値がブロック IDとともに、 送信される。 このようにして第 1フレームの画像データが、 デー P TJP97/01918 27a is overwritten (step ST133 in Fig. 7). As a result, the image data of the first frame is stored in the comparison buffer 27a. Further, the CPU 23 transmits the encoded block data stored in the block buffer 27c together with the corresponding block ID via the transmission control unit 31 (step ST127). Specifically, for each block, the relative sign data and the minimum value are transmitted together with the block ID. In this way, the image data of the first frame is P TJP97 / 01918
タ圧縮された状態で送信される。 Is transmitted in a compressed state.
つぎに第 2フレームの画像データが与えられた場合について説明する。 CPU 23は、 符号化対象画像データが入力されたか否かを判断している (図 6ステツ プ ST 103) 。 第 2フレームの画像デ一夕が入力されると、 当該フレームの画 像データをフレームバッファ 27 bに記慷する (ステップ ST 105) 。 この場 合、 最初の面像ではないので、 ステップ ST 109に進み、 当該フレームバッフ ァ 27 bに記憶されている画像データをブロックデータに分割する (ステップ S 丁 109) 。 かかる分割処理については図 7ステップ S T 1 30と同様であるの で説明は省略する。  Next, a case where the image data of the second frame is provided will be described. The CPU 23 determines whether or not encoding target image data has been input (step ST103 in FIG. 6). When the image data of the second frame is input, the image data of the frame is usefully stored in the frame buffer 27b (step ST105). In this case, since it is not the first plane image, the process proceeds to step ST109, and the image data stored in the frame buffer 27b is divided into block data (step S109). This division processing is the same as step ST130 in FIG. 7, and thus description thereof is omitted.
つぎに、 CPU23は、 処理対象ブロック番号 hを初期化する (図 6ステップ ST 1 1 1) 。 そして、 CPU 23は、 h番目のブロックデータを読み出して、 比較バッファ 26 aの h番目のブロックデータと、 フレ一ムバッファ 26 bの h 番目のブロックデータとの差分評価を求める (ステップ ST 1 13) 。  Next, the CPU 23 initializes the processing target block number h (step ST111 in FIG. 6). Then, the CPU 23 reads the h-th block data, and obtains a difference evaluation between the h-th block data of the comparison buffer 26a and the h-th block data of the frame buffer 26b (step ST113). .
この場合は、 処理対象ブロック番号 h = 0であるので、 0番目のブロックデ一 夕について、 比較バッファ 27 aに記慷されている第 1フレームの画像データの うち、 フレームバッファ 26 bの対応するブロックデータとの差分評価を演算す る。  In this case, since the block number to be processed is h = 0, the image data of the first frame stored in the comparison buffer 27a corresponding to the 0th block data corresponds to the frame buffer 26b. Calculate difference evaluation with block data.
この差分評価は、 各対応画素毎の澳度を比較することによって行なわれる。 具 体的には、 まず、 0番目のブロックデータの第 0画素について、 その差分データ の絶対値を求める。 例えば、 比較バッファ 26 aに記慷された 0番目のブロック データの第 0画素の濃度が 「D 0a」 で、 フレームバッファ 26 bに記憶された 0番目のプロックデータの第 0画素の澳度が 「D0bj である場合には、 0番目 のブロックデータの第 0画素について、 その差分データの絶対値は、 ABS ( DOa-DOb) で表される。 なお、 ABS 0 は、 0 内の絶対値を求める演算を 表す。 同様にして、 つぎの第 1画素の差分データの絶対値を求める。 これを 16 個の画素について求め、 すべてを総計する。 この総計値が当該ブロックデータの 差分評価となる。  This difference evaluation is performed by comparing the acquaintance 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 used in the comparison buffer 26a is “D 0a”, and the chromaticity of the 0th pixel of the 0th block data stored in the frame buffer 26b is "If D0bj, the absolute value of the difference data for the 0th pixel of the 0th block data is expressed as ABS (DOa-DOb). Note that ABS0 is the absolute value within 0. In the same way, calculate the absolute value of the difference data of the first pixel, calculate it for 16 pixels, and sum up all the values.This total value is the difference evaluation of the block data.
つぎに、 CPU23は、 全ブロックデータについて、 差分評価の演算を終了し たか否かを判断する (ステップ ST 1 1 5) 。 この場合は、 0番目のブロックデ —夕についてのみ、 評価値の演算が行なっただけであるので、 処理対象ブロック 番号 hをインクリメントし (ステップ ST 1 1 7) 、 ステップ ST 1 13からス テツプ ST 1 1 5の処理を繰り返す。 ステップ ST 1 1 5にて全ブロックデータ の差分評価が求めたと判断した場合には、 図 7ステップ ST 1 2 1に進み、 符号 化するブロック番号を決定する。 例えば、 図 1 1に示すようにブロック A。。の評 価値が 「0」 、 ブロック A« の評価値が 「0」 、 ブロック A。2の評価が 「1 0」 、 ブロック Ao3の評価が 「20」 · · 'である場合に、 以下のようにして符号化す るブロック番号が決定される。 Next, the CPU 23 determines whether or not the calculation of the difference evaluation has been completed for all the block data (step ST115). In this case, the 0th block data —Since the calculation of the evaluation value has been performed only in the evening, the processing target block number h is incremented (step ST117), and the processing of step ST113 to step ST115 is repeated. If it is determined in step ST115 that the difference evaluation of all block data has been obtained, the process proceeds to step ST121 in FIG. 7, and the block number to be encoded is determined. For example, block A as shown in Figure 11. . Has a rating of “0”, block A «has a rating of“ 0 ”, block A. If the evaluation of 2 is “10” and the evaluation of block Ao 3 is “20”, the block number to be coded is determined as follows.
CPU2 3は、 ブロックデータのうち大きな評価値を有するブロックを、 所定 の数だけ順次抽出する。 この実施形態においては、 全ブロックのうち評価値の大 きなものから 50ブロックを選択するようにした。 図 1 1に示すブロック番号 A 03, ブロック番号 A13、 プロック番号 A 13が一番大きく、 ブロック番号 A12がそ の次に大きい場合には、 符号化するブロックデータの 5 0個のうちの 4個のプロ ックデータとして決定される。 The CPU 23 sequentially extracts a predetermined number of blocks having a large evaluation value from the block data. In this embodiment, 50 blocks are selected from the blocks having the highest evaluation values among all the blocks. If the block number A 03, block number A 13 and block number A 13 shown in FIG. 11 are the largest, and the block number A 12 is the next largest, the block data of 50 Determined as four block data.
CPU 23は、 当該符号化する対象として決定したブロックデ一夕について、 符号化処理を行なう (ステップ ST 123) 。 かかる符号化処理は、 ステップ S T 1 3 1で説明したのと同様であるので説明は省略する。  CPU 23 performs an encoding process on the block data determined to be encoded (step ST123). Such an encoding process is the same as that described in step ST131, and a description thereof will be omitted.
つぎに、 CPU 23は、 ステップ ST 12 1にて符号化対象として決定したブ ロックデータに対応する画素のみ、 比較バッファ 27 aに記憶されている画像デ —夕が更新される (ステップ ST 1 25) 。 この場合、 全ブロックデータのうち 50ブロックデ一夕を符合化対象としてので、 全ブロックデータのうち、 50ブ ロックデータに対応する画素のみ、 比較バッファ 27 aに記憶されている画像デ 一夕が更新される。  Next, the CPU 23 updates the image data stored in the comparison buffer 27a only for the pixels corresponding to the block data determined to be encoded in step ST121 (step ST125). ). In this case, since 50 blocks of the entire block data are to be encoded, only the pixels corresponding to the 50 blocks of the entire block data are image data stored in the comparison buffer 27a. Be updated.
つぎに、 CPU2 3は、 符号化したブロックデ一夕のみ送信する (ステップ S T 127) 。 この場合は、 符号化したブロックデータは、 ステップ ST 1 2 1に て符号化対象となったブロックデータのみであるので、 第 1フレーム目と異なり、 第 2フレームについては異なる部分のブロックに対応する画素デ一夕のみがデー 夕圧縮されて、 そのブロック I Dとともに、 送信されることとなる。  Next, the CPU 23 transmits only the encoded block data (step ST127). In this case, the coded block data is only the block data to be coded in step ST 121, and therefore, unlike the first frame, the second frame corresponds to a different block. Only pixel data is compressed and transmitted together with its block ID.
以下、 第 3フレーム、 第 4フレーム ' · , についても、 同様に、 その時の比較 1 1 The same applies to the third and fourth frames' 1 1
バッファ 2 6 aの画像と異なる部分のブロックに対応する画像データのみが、 デ —タ圧縮されてそのブロック I Dとともに、 送信される。 そして、 つぎのフレー ムのために比較バッファ 2 6 aには伝送されたブロックに属する画素に対応する 画素のみが、 更新されることとなる。 Only the image data corresponding to the block different from the image in the buffer 26a is data-compressed and transmitted together with the block ID. Then, only the pixels corresponding to the pixels belonging to the transmitted block are updated in the comparison buffer 26a for the next frame.
このように、 本実施形態においては、 第 1フレームと異なるブロックデータが すべて送信されるのではなく、 評価値の高いものの一定の範囲のブロックについ てのみ、 データ符号化およびデータ転送が行なわれる。 したがって、 図 8に示す ように、 星マーク 1 6 0が速く移動し、 丸マーク 1 6 2がゆっくりと移動してい るような場合には、 星マーク 1 6 0については、 各フレームにて送信されるのに 対して、 丸マーク 1 6 2については、 ある程度の距離、 動いた場合に、 各ブロッ クデータにおける差分評価値が大きくなつて、 初めてデータが送信されることと なる。 すなわち、 このような動きが遅いものについては、 評価値が小さくなる可 能性が大きいので、 ある程度移動量が大きくなつた場合にのみ、 転送がなされる こととなる。  As described above, in the present embodiment, not all block data different from the first frame is transmitted, but data encoding and data transfer are performed only for blocks having a high evaluation value but within a certain range. Therefore, as shown in Fig. 8, when the star mark 160 moves fast and the circle mark 162 moves slowly, the star mark 160 is transmitted in each frame. On the other hand, when the circle mark 162 moves for a certain distance, the data is transmitted only when the difference evaluation value in each block data becomes large. That is, for such a slow-moving object, there is a high possibility that the evaluation value becomes small, so that the transfer is performed only when the moving amount becomes large to some extent.
具体的に、 図 1 6を用いて説明する。 図 1 6は図 8に示す星マーク 1 6 0の一 部のブロックデ一夕 7 1および丸マ一ク 1 6 2の一部のブロックデータ 7 3に関 して、 図 9における時刻 t 3の直前から直後における変遷を示す。 This will be described specifically with reference to FIG. FIG. 16 shows the time t 3 in FIG. 9 for a part of the block data 71 of the star mark 160 and a part of the block data 73 of the circle mark 16 2 shown in FIG. The transition from immediately before to immediately after is shown.
まず、 図 9における時刻 t 3の直前の星マーク 1 6 0のブロックデータ 7 1に ついて説明する。 この場合、 ブロックデ一夕 7 1は、 図 1 6 Aに示すように左側 8つの画素が澳くなっている。 つぎに、 その次のフレームでは、 右方向に画素 2 つ分移動しているのが分かる。 次のフレームでも同様に右方向に 2画素分移動し ている。 そして、 次のフレームでは、 図 1 6 Dに示すようにその状態で停止して いる。 さらに、 その次のフレームでも、 図 1 6 Eに示すように停止している。 これに対して、 丸マーク 1 6 2の一部のブロック、 ブロック 7 3については、 図 1 6 Aに示すように、 1 6の画素のうち真ん中 2列の 8つの画素が濃くなつて いる。 そして、 次のフレームでは、 なんら移動がなく (図 1 6 B参照) 、 その次 の第 3フレームで右方向に 1画素分移動している (図 1 6 C参照) 。 同様に次の フレームでも、 移動はなく (図 1 6 D参照) 、 その次のフレームでお方向に 1画 素分移動している (図 1 6 E ) 。 First, a description is given to the block data 7 1 star mark 1 6 0 immediately before time t 3 in FIG. In this case, the block de night 71 has eight pixels on the left side as shown in FIG. 16A. Next, in the next frame, you can see that it has moved two pixels to the right. In the next frame as well, it is similarly moved two pixels to the right. Then, in the next frame, it stops in that state as shown in Fig. 16D. Furthermore, it stops at the next frame as shown in Figure 16E. On the other hand, as for some blocks of the circle mark 16 2 and the block 73, as shown in FIG. 16A, eight pixels in the middle two columns of the 16 pixels are darkened. Then, in the next frame, there is no movement (see Fig. 16B), and in the next third frame, it moves rightward by one pixel (see Fig. 16C). Similarly, in the next frame, there is no movement (see Fig. 16D), and in the next frame, it moves one pixel in the direction (Fig. 16E).
― I 8 ― このように、 ブロック 7 1については 1フレーム毎に右に 2画素づっ移動し、 図 1 6 Cに示す状態では停止している。 これに対して、 ブロック 7 3については、 2フレーム毎にはじめて右に 1つ移動している。 このような状況では、 以下に説 明するように、 対応する比較バッファとの関係で、 ブロック 7 1については、 符 号化対象のブロックとして選択されるが、 ブロック 7 3については符号化対象の ブロックとしては選択されないこととなる。 ― I 8 ― Thus, the block 71 moves to the right by two pixels for each frame, and stops in the state shown in FIG. 16C. On the other hand, the block 73 moves to the right one for the first time every two frames. In such a situation, as described below, the block 71 is selected as the block to be encoded, while the block 73 is selected as the block to be encoded in relation to the corresponding comparison buffer. It will not be selected as a block.
まず、 図 1 6 Aに示す状態から、 図 1 6 Bに示すようにブロック 7 1がデータ 内容が変化した場合について考える。 図 1 6 Bに示すブロック 7 1は、 その前の 対応比較バッファ (図 1 6 A参照) と比較すると、 この場合、 右側 2列分の 8つ の画素について、 濃度が異なっており、 その 8つ分の画素の差分が、 ブロック 7 1における差分評価値となる。 これに対して、 ブロック 7 3については、 図 1 6 Bに示すデータと図 1 6 Aに示す対応比較バッファの内容は同じであるので、 差 分評価値がゼロ (0 ) となる。 ここでブロック 7 1については、 符号化するプロ ックとして決定された場合には、 図 1 6 Bに示すように、 対応比較バッファの内 容も図 1 6 Bのブロック 7 1のデータに上書きがなされる。  First, consider the case where the data content of the block 71 changes from the state shown in FIG. 16A as shown in FIG. 16B. The block 71 shown in Fig. 16B differs from the corresponding comparison buffer (see Fig. 16A) in that the density of the eight pixels in the right two columns differs in this case. The difference between the two pixels is the difference evaluation value in block 71. On the other hand, for the block 73, since the data shown in FIG. 16B and the contents of the corresponding comparison buffer shown in FIG. 16A are the same, the difference evaluation value is zero (0). Here, if block 71 is determined to be a block to be encoded, the contents of the corresponding comparison buffer are also overwritten with the data of block 71 in FIG. 16B, as shown in FIG. 16B. Is made.
つぎに図 1 6 Bに示す状態から、 図 1 6 Cに示す状態にデータが変化した場合、 ブロック 7 1については、 同様に真ん中 2列の計 8つの画素の濃度の違いが差分 評価値となる。 一方、 ブロック 7 3については、 右端の 1列計 4個の画素の濃度 の違いが差分評価値となる。 この場合にブロック 7 1については、 同様に、 8画 素分の差が評価値として求められる。 これに対して、 ブロック 7 3については、 右側 1列の 4画素分の差分が評価値として決定される。 従って、 既に説明したよ うに、 評価値の大きなものから選択した場合に、 ブロック 7 3は、 符合化対象か らは除外される場合がある。 除外された場合、 ブロック 7 3の対応比較バッファ の内容は書き変わらないこととなる (図 1 6 C参照) 。  Next, when the data changes from the state shown in Fig. 16B to the state shown in Fig. 16C, similarly for block 71, the difference in the density of eight pixels in the middle two columns is the difference evaluation value and the difference evaluation value. Become. On the other hand, for the block 73, the difference in density between the four pixels in the rightmost column in total is the difference evaluation value. In this case, similarly, for the block 71, a difference of eight pixels is obtained as an evaluation value. On the other hand, for the block 73, a difference of four pixels in one column on the right side is determined as an evaluation value. Therefore, as described above, if a block having a large evaluation value is selected, the block 73 may be excluded from coding. If excluded, the contents of the corresponding comparison buffer in block 73 will not be rewritten (see Figure 16C).
つぎに、 図 1 6 Cに示す状態から、 図 1 6 Dに示す状態に移った場合について 説明する。 この場合、 ブロック 7 1については星マーク 1 6 0は停止しているの で、 図 1 6 Dに示すブロック 7 1と図 1 6 Cに示す対応比較バッファの内容には、 異なる点がない。 したがって、 その差分評価値はゼロ (0 ) となる。 一方、 プロ ック 7 3については、 図 1 6 Dに示す状態と図 1 6 Cに示す状態とでは、 1番右  Next, a case in which the state shown in FIG. 16C is shifted to the state shown in FIG. 16D will be described. In this case, since the star mark 160 is stopped for the block 71, there is no difference between the contents of the block 71 shown in FIG. 16D and the corresponding comparison buffer shown in FIG. 16C. Therefore, the difference evaluation value is zero (0). On the other hand, regarding the block 73, the state shown in FIG. 16D and the state shown in FIG.
一 I 9 ― 側 1列の 4画素分のデ一夕が異なる。 先程は、 ブロック 7 1が 8画素分の差分評 価値をもつ評価値を有していたので、 4画素分の差分については、 しきい値を越 えことなく、 符号化対象のブロックから外された。 しかし、 この状態では、 図 8 に示す星マーク 1 6 0は停止しているので、 差分評価値の小さなブロック 7 3の データであっても、 符号化対象のブロックとして選択される。 これにより、 対応 比較バッファの内容が、 図 1 6 Dに示すように書き換えられる。 I 9- The data for four pixels on one side is different. In the previous section, since block 71 had an evaluation value with a difference value of 8 pixels, the difference of 4 pixels was excluded from the block to be encoded without exceeding the threshold value. Was. However, in this state, the star mark 160 shown in FIG. 8 is stopped, so that even the data of the block 73 having a small difference evaluation value is selected as the encoding target block. As a result, the contents of the corresponding comparison buffer are rewritten as shown in FIG. 16D.
このように変化の遅い物体については何フレーム分か遅れて、 はじめて画像デ 一夕として移動するように伝送が行なわれる。  For such an object that changes slowly, transmission is performed such that the object moves as an image for the first time with a delay of several frames.
つぎに、 図 1 6 Dに示す状態から図 1 6 Eに示す状態に移動した場合、 ブロッ ク 7 1については既に停止しているので、 差分評価値は同様にゼロ ( 0 ) である。 一方、 ブロック 7 3については、 さらに右に 1画素分だけ移動している。 この場 合も、 図 1 6 Dに示す対応比較バッファの内容と図 1 6 Eに示す入力データとの 関係では 4画素分の違いが差分評価値となる。 先程と同様に、 ブロック 7 3につ いては、 符号化対象のブロックとして選択されるとともに、 対応比較バッファの 内容が書き換えられる。  Next, when moving from the state shown in FIG. 16D to the state shown in FIG. 16E, since the block 71 has already stopped, the difference evaluation value is also zero (0). On the other hand, the block 73 is further moved to the right by one pixel. Also in this case, in the relationship between the contents of the corresponding comparison buffer shown in FIG. 16D and the input data shown in FIG. 16E, a difference of four pixels is the difference evaluation value. As before, the block 73 is selected as a block to be encoded and the contents of the corresponding comparison buffer are rewritten.
このように、 速く移動するものについては、 ブロックデータの評価値が大きく なる。 これに対して、 遅く移動するものについては、 何フレーム分かデ一夕が移 動せず、 同じデータが続くので評価値が小さくなる。 従って、 速く動くものと、 ゆっくり動くものが 1つの画面上にある場合には、 速く動くものが停止した場合 に符号化対象のプロックとして送信がなされる。  In this way, for those moving fast, the evaluation value of the block data increases. On the other hand, for those that move slowly, the evaluation value decreases because the data does not move for several frames and the same data continues. Therefore, if a fast-moving object and a slow-moving object are on one screen, when the fast-moving object stops, it is transmitted as a block to be encoded.
なお、 速く動くものと、 ゆっくり動くものが 1つの画面上にあり、 速く動くも のが停止しない場合であっても、 以下の様にして, ゆっくりと移動するものに該 当するプロックが伝送対象となることもある,  Even if the fast-moving and slow-moving objects are on one screen, and the fast-moving one does not stop, the block corresponding to the slow-moving object is transmitted as follows. Sometimes,
本実施形態においては、 比較バッファ 2 6 aの符合化基準画像データは、 符合 化して伝送した画素のみが更新され、 フレームバッファ 2 6 bに記惊された 1フ レーム分の画素データがすべて伝送されるわけではない。 すなわち、 比較バッフ ァ 2 6 aには、 その前のフレームの画像データが記愴されるのではなく、 結果的 に伝送したこととなる画像デー夕が記慷されることとなる, この様な状況におい ては、 移動速度が遅く、 ほんの少しずつしか移動していない画像データであり、  In the present embodiment, in the encoded reference image data of the comparison buffer 26a, only the pixels transmitted after being encoded are updated, and all the pixel data of one frame written in the frame buffer 26b is transmitted. It is not done. In other words, the comparison buffer 26a does not preserve the image data of the previous frame, but rather uses the image data that has been transmitted as a result. In this situation, the image data is moving slowly and only slowly.
— 2 » — 他に移動速度の速い物体が存在する場合であっても、 移動速度の遅い部分につい ては、 比較バッファ 2 6 aが害き換えられないこととなる。 しかし、 前記差分評 価値は、 比較バッファ 2 6 aのデータとフレームバッファ 2 6 bのデータとを比 ベて求められる。 このように、 比較バッファ 2 6 aが書き換えられないこととの 閧係で、 移動速度が遅くても、 符号化対象のブロックとして決定されることもあ る。 — 2 »— Even if there is another object with a high moving speed, the comparison buffer 26a cannot be replaced with a portion having a low moving speed. However, the difference evaluation is obtained by comparing the data of the comparison buffer 26a with the data of the frame buffer 26b. As described above, in consideration of the fact that the comparison buffer 26a is not rewritten, even if the moving speed is slow, it may be determined as a block to be encoded.
これにより、 動画デ一夕のうち、 人間がよく認識する動き、 すなわち、 大きく 速く動く部分について伝送され、 移動の向きが入れ替わり、 いわゆるちらちら動 く物体についてはあまり伝送されないこととなる。 また、 遅く移動するものが速 く移動するものと同じ画面に存在する場合であっても、 ある程度以上動けば、 移 動物体として伝送処理がなされる。  As a result, of the moving image data, the motion that humans recognize well, that is, the part that moves greatly and quickly, is transmitted. In addition, even if a slow moving object is present on the same screen as a fast moving object, if it moves to a certain extent, transmission processing is performed as a moving object.
3-2)受信処理 3-2) Reception processing
つぎに、 動画データ復号装置 2 0 0において、 受信した場合のフローチャート について図 1 7を用いて説明する。 この場合は、 先程の図 8に示す各フレームの データが送られてくるものとする。  Next, a flowchart in the case where the moving image data decoding device 200 receives the data will be described with reference to FIG. In this case, it is assumed that the data of each frame shown in FIG. 8 is sent.
動画データ復号装置 2 0 0は、 電源オン状態にて、 メモリ 2 7は初期化され、 ブロックデータを受信可能状態 (受信待機状態) となる。  In the video data decoding apparatus 200, the memory 27 is initialized when the power is on, and the block data can be received (reception standby state).
動画データ復号装置 2 0 0の C P U 2 3は、 ブロックバッファ 2 7 cに符号化 後ブロックデータが記憶されているか否かを判断し (ステップ S T 1 4 3 ) 、 記 憶されていない場合は終了する。  The CPU 23 of the video data decoding device 200 determines whether or not the block data after encoding is stored in the block buffer 27c (step ST144), and ends if it is not stored. I do.
伝送側から送信された符号化後のブロックデータが、 ブロックバッファ 2 7 c に記慷されている場合には、 処理対象ブロック番号 hを初期化し (ステップ S T 1 4 7〉 、 第 hブロックの復号化を行なう (ステップ S T 1 4 9 ) 。  If the coded block data transmitted from the transmitting side is useful for the block buffer 27c, the block number h to be processed is initialized (step ST144), and the decoding of the h-th block is performed. (STEP ST149).
本実施形態における復号化処理について、 図 1 8を用いて説明する。  The decoding process according to the present embodiment will be described with reference to FIG.
C P U 2 3は、 第 hブロックの圧縮データをハードディスク 2 6から読み出し て、 メモリ 2 7に記慷する (図 1 8ステップ S T 3 3 ) 。 この場合、 処理対象ブ ロック番号 h = 00であるので、 第 00ブロックの圧縮デ一夕が読み出される。 第 00 ブロックの圧縮データは、 動画データ符合化装置 1 1 0の処理にて説明したよう に、 グループ番号 「7」 、 そのグループのインデックス番号 「2 4 5」 および最 小値 m i nAOO' 「2」 から構成されている。 The CPU 23 reads the compressed data of the h-th block from the hard disk 26 and stores it in the memory 27 (step ST33 in FIG. 18). In this case, since the block number to be processed is h = 00, the compressed data of the 00th block is read. As described in the processing of the moving image data encoding device 110, the compressed data of the 00th block includes the group number “7”, the index number “2 4 5” of the group, and the It consists of the small value minAOO '"2".
CPU 23は、 メモリ 27に銃み出した圧縮データを、 ハードディスク 26に 記億されているコードブック Kを用いて復号化する。 この場合、 第 00ブロックの 圧縮データは、 グループ番号 「7」 、 そのグループのインデックス番号 「245」 および最小値 m i n A00' 「2」 から構成されている。 したがって、 グループ番 号 「7」 、 インデックス番号 「245」 で特定される相対ブロックデータに復号 化される。  The CPU 23 uses the codebook K stored on the hard disk 26 to decode the compressed data stored in the memory 27. In this case, the compressed data of the 00th block is composed of a group number “7”, an index number “245” of the group, and a minimum value min A00 ′ “2”. Therefore, it is decoded into relative block data specified by the group number “7” and the index number “245”.
つぎに、 CPU23は、 相対基準値である最小値 m i n A00' を用いて、 前記 相対ブロックデータを変換する (図 18ステップ ST 37) 。 具体的には、 復号 化された相対ブロックデータを構成する相対ブロック構成データに最小値 m i n ΑΟΟ' を加算すればよい。  Next, the CPU 23 converts the relative block data using the minimum value minA00 'which is the relative reference value (step ST37 in FIG. 18). More specifically, the minimum value m in ΑΟΟ 'may be added to the relative block configuration data constituting the decoded relative block data.
つぎに、 CPU23は、 最小値 m i nAOO' を加算した相対ブロック構成デー 夕を、 左に 4ビットシフトする (ステップ ST 38) 。 これにより、 符合化前の ブロックデータと同じ 8ビッ卜のブロック構成データが得られ、 第 00ブロックの 復号化が終了する。  Next, the CPU 23 shifts the relative block configuration data to which the minimum value minAOO 'has been added by 4 bits to the left (step ST38). As a result, the same 8-bit block configuration data as the block data before encoding is obtained, and the decoding of the 00th block is completed.
CPU 23は、 図 18ステップ S T 39にて、 全ブロックについて、 復号化が 終了したか否か判断し、 終了していない場合には、 処理対象ブロック番号 hをィ ンクリメントし (ステップ ST40) 、 図 18ステップ ST 33〜ステップ ST 38の処理を緣返す。  In step ST39 in FIG. 18, the CPU 23 determines whether or not decoding has been completed for all blocks. If not, the CPU 23 increments the processing target block number h (step ST40). Steps ST33 to ST38 are returned.
ステップ ST 39にて、 全ブロックについて、 復号化が終了した場合には、 復 号化は終了する。  If decoding has been completed for all blocks in step ST39, the decoding ends.
このように、 相対基準値からの相対値に変換した後、 前記差分データに応じて グループ化されたコードブックを用いて、 演算することにより、 コードブックに 記慷する候補データを少なくしても、 精度をそれほど落とすことなく変換が可能 となる。 したがって、 精度が髙く、 高速変換が可能であるとともに、 圧縮率の高 い符合化が可能となる。  As described above, after conversion into the relative value from the relative reference value, by using the codebook grouped according to the difference data and performing the calculation, the candidate data useful for the codebook is reduced even if it is reduced. However, conversion can be performed without significantly reducing accuracy. Therefore, high accuracy and high-speed conversion are possible, and encoding with a high compression ratio is possible.
なお、 この実施形態においては、 差分デ一夕を求めてから、 相対基準値を相対 0とする相対ブロックデータ Bijを求めている。 しかしこれに限定されず、 逆に、 相対ブロックデータ Bijを求めてから、 差分データを求めてもよい。 また、 この実施形態においては、 エンコードするに当たって、 ずれ値の絶対値 の総計を求めて、 かかる総計値が最小となるものを、 選択するようにしたが、 従 来の方法、 例えば、 以下の式のように、 ずれ値の総計として、 距離の総計を求め るようにしてもよい。 In this embodiment, the relative block data Bij whose relative reference value is set to relative 0 is obtained after obtaining the difference data. However, the present invention is not limited to this. Conversely, the difference data may be obtained after obtaining the relative block data Bij. In addition, in this embodiment, when encoding, the total of the absolute values of the shift values is obtained, and the one with the minimum total value is selected, but the conventional method, for example, the following equation As in the above, the sum of the distances may be obtained as the sum of the deviation values.
TO00= { (b00(0)くぐ— k00(0)) 2+ ( b 00 (1) «4 - k 00 (I) ) 2+ · · ·TO00 = {(b00 (0) ku— k00 (0)) 2 + (b 00 (1) « 4 -k 00 (I)) 2 +
(b00(15)«4-k00(15)) " 1 2 (b00 (15) « 4 -k00 (15))" 1 2
なお、 この実施形態においては、 4ビットシフト処理等を行なっているが、 か かる処理を行なわないようにしてもよい。 また、 4ビット未満または 5ビット以 上シフトする様にしてもよい。  In this embodiment, a 4-bit shift process or the like is performed, but such a process may not be performed. In addition, it may be shifted by less than 4 bits or 5 bits or more.
つぎに、 CPU 23は、 フレームバッファ 27 bのデータを、 復号化されたデ —夕で更新を行なう (図 17ステップ ST 151) 。 CPU 23は、 すべてのブ ロックについて復号化が終了したか否かを判断し (ステップ ST 153) 、 終了 していない場合には、 処理対象番号 hをインクリメントし、 ステップ ST 149 からステップ S T 1 51の処理を繰り返す。  Next, the CPU 23 updates the data in the frame buffer 27b with the decoded data (step ST151 in FIG. 17). The CPU 23 determines whether or not decoding has been completed for all blocks (step ST153). If not completed, the CPU 23 increments the processing target number h, and proceeds from step ST149 to step ST151. Is repeated.
ステップ ST 153にてすべてのブロックについて、 復号化が終了した場合に は、 CPU 23は、 フレームバッファ 27 bのデータを CRT 30へ出力する When decoding has been completed for all blocks in step ST153, the CPU 23 outputs the data of the frame buffer 27b to the CRT 30.
(図 1 7ステップ ST 157) 。 このようにして第 1番目のフレームについては、 すべてのブロックのデータが圧縮して送信されているので、 これの復号化が行な われ、 フレームバッファに復号化されたデータが記憶され、 これが CRT30へ 出力される。 (Figure 17 ST 157). In this way, for the first frame, since the data of all the blocks has been compressed and transmitted, the data is decoded, and the decoded data is stored in the frame buffer. Output to
つぎに、 第 2にフレームについて説明する。 第 2フレーム以下については、 第 1フレームと異なるブロックであり、 かつ差分評価の高いブロックだけが送信さ れている。 したがって、 当該フレームの 1つ前のフレームの画像と合成する必要 がある。 かかる合成は、 以下の様にして行なわれる。 ブロックバッファ 27じに 記憧したデータを、 既に説明した復号化手法により、 復号化する。 そして、 図 1 7ステップ ST 151にて説明したようにして、 フレームバッファのデ一夕を更 新する。 なお、 第 1フレームにおいては、 送信された符号化データが全ブロック であったので、 全てのブロックについて更新がなされた。 しかし、 以下のフレー ムでは前のフレームと異なるブロックであり、 かつ差分評価の高いブロックだけ が送信されているので、 そのブロック I Dで示すブロックに対応するフレームバ ッファのデータだけが更新される (ステップ ST151) 。 そして、 更新されな い部分については、 フレームバッファ 26 bの内容がそのまま C RT 30へ出力 される。 Next, the frame will be described second. For the second and subsequent frames, only blocks that are different from the first frame and that have a high difference evaluation are transmitted. Therefore, it is necessary to combine with the image of the frame immediately before the frame. This synthesis is performed as follows. The data stored in the block buffer 27 is decoded by the decoding method described above. Then, as described in FIG. 17, step ST151, the frame buffer data is updated. In the first frame, the transmitted coded data was all blocks, so all blocks were updated. However, in the following frames, only the blocks that are different from the previous frame and have a high difference evaluation Is transmitted, only the data of the frame buffer corresponding to the block indicated by the block ID is updated (step ST151). For the portion that is not updated, the contents of the frame buffer 26b are output to the CRT 30 as they are.
このように、 以下のフレームでは、 前のフレームと異なる部分だけを更新して、 当該フレームとして、 CRT 30に出力することにより、 動画データを表示する ことができる。 これにより、 符号化装置 1 10で符号化された動画データを受信 して確実に復号化することができる。  As described above, in the following frames, moving image data can be displayed by updating only a part different from the previous frame and outputting the updated frame to the CRT 30. Thereby, the moving image data encoded by the encoding device 110 can be received and reliably decoded.
[B:第 2の実施形態]  [B: Second Embodiment]
前記第 1実施形態では、 量子化して相対化してベクトル量子化している。 しか し、 これに限定されず、 相対化して量子化してベクトル量子化することもできる。 さらに、 相対化してから、 そのブロックの最大の相対ブロック構成デ一夕の最 上位ビットが 1となるまで左シフト演算を行ない (以下、 可逆性左シフト演算と いう) さらに、 可逆性左シフト演算後も岗じビット長となるようにその後に 0を 付加するようにしてもよい。 すなわち、 各ブロック構成データの可逆性左シフト 演算におけるシフト量を動的に変動させるのである。  In the first embodiment, vector quantization is performed by quantization and relativization. However, the present invention is not limited to this, and vector quantization can be performed by performing relativization and quantization. Further, after relativization, a left shift operation is performed until the most significant bit of the largest relative block configuration data of the block becomes 1 (hereinafter referred to as a reversible left shift operation). 0 may be added afterwards so that the bit length becomes the same. That is, the shift amount in the reversible left shift operation of each block configuration data is dynamically varied.
この場合の処理を図 19を用いて説明する。 この場合、 図 14Dに示すブロッ クデータ E00の各ブロック構成デ一夕 e 00 (0)〜 e 00 (15〉が与えられたものとす る。  The processing in this case will be described with reference to FIG. In this case, it is assumed that each block configuration data e 00 (0) to e 00 (15>) of the block data E00 shown in FIG. 14D is given.
CPU 23は、 ブロック構成データ e 00(0) ~e 00 (15)のうち、 最大値 m a x E00および最小値 m i n E00を求める (図 19ステップ S T 251 ) „ この場合、 ブロックデータ Ε0Οについては、 最大値 ma χΕ00=48、 最小値 m i nE00 = 29が求められ (図 14参照) 、 メモリ 27に記憶される。  The CPU 23 obtains the maximum value max E00 and the minimum value min E00 from the block configuration data e 00 (0) to e 00 (15) (FIG. 19, step ST 251). In this case, the block data {0} The value maχΕ00 = 48 and the minimum value minE00 = 29 are obtained (see FIG. 14) and stored in the memory 27.
つぎに、 CPU 23は、 最大値 m a X E00と最小値 m i n E00との差分データ E00gを求める (図 19ステップ ST 253) 。 具体的には、 差分データ E 00 g は、 以下の式で求められる。  Next, the CPU 23 obtains difference data E00g between the maximum value maXE00 and the minimum value minE00 (step ST253 in FIG. 19). Specifically, the difference data E 00 g is obtained by the following equation.
E00g =m a x E00-m i n E00= 44 - 29= 15  E00g = m a x E00-min i E00 = 44-29 = 15
つぎに、 CPU23は、 差分データ E00gを 3ビットデータとなるように、 シ フト演算を行ない、 シフト差分データ E00g' を求める (ステップ ST255) 。 これにより、 上記実施形態と同様に、 図 1 5に示すコードブック Kによって符号 化する際のグループが特定される。 Next, the CPU 23 performs a shift operation so that the difference data E00g becomes 3-bit data to obtain shift difference data E00g '(step ST255). As a result, similarly to the above embodiment, a group to be encoded by the codebook K shown in FIG. 15 is specified.
つぎに、 CPU2 3は、 そのブロックにおける相対基準値を決定し、 ブロック デ一夕 E0Oを構成する各プロック構成データ E00(0)〜E00(15)のそれぞれから、 この相対基準値を減算し、 ブロック構成相対データを求める (ステップ ST25 7) 。 本実施形態においては、 最小値 m i nEOOを相対基準値とした。  Next, the CPU 23 determines the relative reference value in the block, and subtracts the relative reference value from each of the block configuration data E00 (0) to E00 (15) constituting the block data E0O, Block configuration relative data is obtained (step ST257). In the present embodiment, the minimum value minEOO was used as the relative reference value.
このブロック構成相対データを、 ί 00(0)〜: f 00 (15)で表すと、 ブロック構成 相対データ f 00(0)〜 f 00(15)は、 以下の式で表される。  If this block configuration relative data is represented by ί00 (0)-: f00 (15), the block configuration relative data f00 (0) -f00 (15) is represented by the following equation.
f 00(0) = E00(0)-ni i nEOO  f 00 (0) = E00 (0) -ni i nEOO
f 00(l) = E00(l)-m i nEOO  f 00 (l) = E00 (l) -m i nEOO
f 00(15) = E00(15)-m i n E0O f 00 (15) = E00 (15) -min i E0O
なお、 相対基準値として、 最大値 ma xEOOを用いてもよい。 このように、 最 小値または最大値を相対基準値とすることにより、 後述するずれ値の演算が容易 となる。 なお、 相対基準値は、 これに限定されず、 ブロック構成データのうち、 いずれかの値でもよく、 さらに、 任意の値としてもよい。  Note that the maximum value maxEOO may be used as the relative reference value. As described above, by using the minimum value or the maximum value as the relative reference value, it is easy to calculate a shift value described later. Note that the relative reference value is not limited to this, and may be any one of the block configuration data, and may be an arbitrary value.
このようにして、 ブロック構成デ一夕 EOO(0)〜E00(15〉について、 最小値 m i nEOOを相対 0とする値が求められる。 これをブロック相対データ F 00とする と、 プロック相対データ F00は、 図 14 Eに示すように表される。  In this way, for the block configuration data EOO (0) to E00 (15>), a value is obtained in which the minimum value minEOO is set to relative 0. If this is set as the block relative data F00, the block relative data F00 Is represented as shown in Figure 14E.
F00= ( f 00(0), f 00(1), · · ·〜, f 00(15))  F00 = (f 00 (0), f 00 (1), ····, f 00 (15))
つぎに、 CPU 2 3は、 ブロック構成データ f 00(0)〜: f 00 (15)のうち最大値 であるブロック構成データについて、 最上位ビット MS Bから 0が何ビット連続 しているかを示すシフト可能ビット重 S f 00を演算する (ステップ ST 259) 。 この場合であれば、 ブロック構成データ f 00(0)〜: f 00(15)のうち最大値は 「1 5」 であり、 これを 2進法表記すると 「0000 1 1 1 OJ であるので、 シフト 可能ビット量 S f 00=4が得られる。 このシフト可能ビット量 S f 00の最大値は 「7」 であるので、 3ビットデータである。 CPU 23は、 シフト可能ビット量 S ί 00に基づいて、 ブロック構成データ ί 00(0)~ f 00(15)を可逆性左シフト演算する (ステップ ST 26 1) 。 例えば、 ブロック構成データ f 00(0) 「00001 1 10」 のシフト可能ビット量 S f 00 は 4であるので、 「 11 100000」 にシフト演算される。 Next, the CPU 23 indicates, for the block configuration data having the maximum value among the block configuration data f 00 (0) to f 00 (15), how many bits from the most significant bit MSB continue to 0. The shiftable bit weight Sf00 is calculated (step ST259). In this case, the maximum value of the block configuration data f 00 (0) ~: f 00 (15) is “1 5”, which is expressed in binary notation as “0000 1 1 1 OJ. The shiftable bit amount S f 00 = 4. Since the maximum value of the shiftable bit amount S f 00 is “7”, it is 3-bit data. The CPU 23 performs a reversible left shift operation on the block configuration data ί00 (0) to f00 (15) based on the shiftable bit amount Sί00 (step ST261). For example, since the shiftable bit amount S f00 of the block configuration data f 00 (0) “00001 1 10” is 4, the shift operation is performed to “11 100000”.
CPU 23は、 可逆性左シフト演算したブロック構成データ f 00(0)' 〜: f OO (15)' で特定されるブロック相対デ一夕 F00' をエンコードする (ステップ ST 263) 。 エンコード処理は、 図 12ステップ ST21と同様であるので説明は 省略する。  The CPU 23 encodes the block relative data F00 'specified by the reversible left-shifted block configuration data f00 (0)' to: fOO (15) '(step ST263). The encoding process is the same as in step ST21 in FIG. 12, and a description thereof will not be repeated.
CPU23は、 エンコードによって得られた相対符号デ一夕およびそのブロッ クにおける最小値 m i n EO0を圧縮後データとしてハードディスク 26に記憶し て、 第 00ブロックの符号化が終了する (ステップ ST 265) 。  The CPU 23 stores the relative code data obtained by the encoding and the minimum value minEOO0 in the block as compressed data on the hard disk 26, and ends the encoding of the 00th block (step ST265).
これにより、 ブロックデータ E0Oは、 シフト差分データ EOOg ' で示されるグ ループ番号、 そのグループのインデックス番号、 最小値 m i nEOOおよびシフト 可能ビット量 S f 00にデータ圧縮されたこととなる。 グループ番号は 3ビッ ト、 インデックス番号は 8ビット、 最小値は 5ビット、 シフト可能ビット SS f 00は 3ビットであるので、 1ブロックのデータ (8ビット * 16 = 256ピット) は 19ビットのデ一夕に圧縮される。  As a result, the block data E0O is data-compressed into the group number indicated by the shift difference data EOOg ', the index number of the group, the minimum value minEOO, and the shiftable bit amount Sf00. Since the group number is 3 bits, the index number is 8 bits, the minimum value is 5 bits, and the shiftable bit SSf00 is 3 bits, 1 block of data (8 bits * 16 = 256 pits) is 19 bits. Compressed overnight.
このように、 相対化してから、 そのブロックの最大の相対ブロック構成データ の最上位ビットが 1となるまで左へシフト演算を行なうこと (可逆性左シフト演 算) により、 より再現性の高い圧縮を行なうことができる。 なぜなら、 各ブロッ ク構成データを最小値によって相対化することにより、 低周波成分を除去できる。 これにより、 コードブックの数を減らすことができる。 さらに、 動的に変動する 可逆性左シフト演算量によって、 コードブックの数を減らすことができる。 すな わち、 コードブックの数が同じであれば、 精度を高めることができるからである。 つぎに復号化について説明する。  In this way, after relativization, the shift operation to the left is performed until the most significant bit of the largest relative block configuration data of the block becomes 1 (reversible left shift operation). Can be performed. This is because low-frequency components can be removed by relativizing each block configuration data with the minimum value. This can reduce the number of codebooks. Furthermore, the number of codebooks can be reduced due to the dynamically changing reversible left shift operation amount. That is, if the number of codebooks is the same, accuracy can be improved. Next, decoding will be described.
CPU 23は、 処理対象ブロック番号 hを初期化し (図 20ステップ ST27 1) 、 第 hブロックの圧縮データをハードディスク 26から銃み出して、 メモリ 27に記憶する (ステップ ST 273) 。 この場合、 処理対象ブロック番号 h== 00であるので、 第 00ブロックの圧縮データが読み出される。 第 00ブロックの圧縮 データは、 既に説明したように、 グループ番号、 そのグループのインデックス番 号、 最小値 m i n E00およびシフト可能ビット量 S f 00から構成されている。 つぎに、 CPU 23は、 メモリ 27に読み出した圧縮データを、 ハードデイス ク 26に記憶されているコードブックを用いて復号化する。 具体的には、 CPU 23は、 グループ番号およびインデックス番号で特定される相対ブロックデータ に復号化する (ステップ ST275) 。 The CPU 23 initializes the processing target block number h (step ST271 in FIG. 20), shoots out the compressed data of the h-th block from the hard disk 26, and stores it in the memory 27 (step ST273). In this case, since the processing target block number h == 00, the compressed data of the 00th block is read. Compression of block 00 As described above, the data includes a group number, an index number of the group, a minimum value min E00, and a shiftable bit amount S f00. Next, the CPU 23 decodes the compressed data read into the memory 27 using the codebook stored in the hard disk 26. Specifically, CPU 23 decodes the data into relative block data specified by the group number and the index number (step ST275).
つぎに、 CPU 23は、 シフト可能ビット量 S f 00を用いて可逆性右シフト演 算を行なう (ステップ ST277) 。 例えば、 ブロック構成データ f 00(0)' 「1 1 10 O 000J は 「0000 1 1 10」 となる。  Next, the CPU 23 performs a reversible right shift operation using the shiftable bit amount S f00 (step ST277). For example, the block configuration data f 00 (0) ′ “1 1 10 O 000J becomes“ 0000 1 1 10 ”.
CPU 23は、 相対基準値である最小値 m i nEOOを用いて、 この相対ブロッ クデータを変換する (ステップ ST 278) 。 具体的には、 復号化された相対ブ ロックデータを構成する相対プロック構成データに最小値 m i n E00を加算する。 これにより、 第 00ブロックの復号化が終了する。  CPU 23 converts the relative block data using minimum value minEOO, which is a relative reference value (step ST 278). More specifically, the minimum value minE00 is added to the relative block configuration data constituting the decoded relative block data. Thus, decoding of the 00th block is completed.
その後の処理は、 図 17のステップ S T 153と同様に、 全ブロックについて、 復合化が終了するまで、 ステップ ST 273〜ステップ ST 278の処理を繰返 す。  In the subsequent processing, as in step ST153 of FIG. 17, the processing of step ST273 to step ST278 is repeated for all blocks until decoding is completed.
この実施形態においては、 シフト可能ビット量 S f ijのビット長が可変であつ ても、 可逆性左シフト演算したブロック構成データ f 00(0)' 〜 f 00(15)' のビ ット長は変化しない。 これにより、 シフト可能ビット量 S f ijの分だけ実質的な 有効桁数を減らしつつ、 かつ演算処理を簡易とすることができる。 しかし、 これ に限定されず、 ブロック構成データ ί 00(0)' 〜 f 00(15)' のビット長を可変に してもよい。 例えば、 ブロック番号 0のシフト可能ビット量 S f 00が 4で、 かつ、 ブロック番号 0のブロック構成データ f 00(0) 「000001 10」 である場合 には、 可逆性左 4ビットシフトしたシフトブロック構成データ f 00(0), は 「0 In this embodiment, even if the bit length of the shiftable bit amount S f ij is variable, the bit lengths of the block configuration data f 00 (0) ′ to f 00 (15) ′ subjected to the reversible left shift operation are Does not change. This makes it possible to reduce the effective number of significant digits by the amount of shiftable bits S f ij and to simplify the arithmetic processing. However, the present invention is not limited to this, and the bit length of the block configuration data {00 (0) ′ to f00 (15) ′ may be variable. For example, if the shiftable bit amount S f00 of the block number 0 is 4 and the block configuration data f 00 (0) “000001 10” of the block number 0, the reversible shift block shifted left 4 bits The configuration data f 00 (0), is “0
1 100000 j ではなく、 ro i i oj となる。 1 ro i i oj instead of 100000 j.
上記第 1および第 2実施形態においては、 1ブロックごとに相対基準値を求め るようにしているが、 複数のブロックで 1の相対基準値を設定するようにしても よい。 これにより、 複数ブロックにて同じ相対基準値を用いることができるので, その分だけ圧縮率を高くすることができる。 例えば 2 * 2 = 4ブロックで、 1つ の相対基準値を設定すればよい。 In the first and second embodiments, the relative reference value is obtained for each block. However, one relative reference value may be set for a plurality of blocks. As a result, the same relative reference value can be used in a plurality of blocks, so that the compression ratio can be increased accordingly. For example, 2 * 2 = 4 blocks, one May be set.
また、 このように、 複数ブロックで共通の相対基準値を設定した場合には、 以 下の様にすることにより、 より正確な符号化をすることができる。  Further, when a common relative reference value is set in a plurality of blocks as described above, more accurate encoding can be performed by performing the following.
例えば、 4ブロックで 1の相対基準値を設定した場合に、 3つのブロックにつ いては、 シフト可能ビット量 S f i jが 2であり、 1つのブロックについては、 シ フト可能ビット量 S f Uが 5であったとする。 この場合、 シフト可能ビット量 S f i jが 5のブロックだけは、 さらに 3ビットシフトしたことを記憶するようにす る。 具体的には、 この様な特殊な処理を行なったというフラグと、 そのブロック 番号と追加シフトビット数を記億する。 なお、 追加シフトビット数ではなく、 そ のブロックだけのシフト可能ビット量 S f i jを記億するようにしてもよい。 このような特殊処理を行なうことにより、 圧縮率が低下する。 したがって、 例 えば、 低下する圧縮率についてしきい値を決定しておき、 デ一タ量がしきい値を 越えないか否かで決定するようにすればよい。  For example, if a relative reference value of 1 is set for 4 blocks, the shiftable bit amount S fij is 2 for 3 blocks and the shiftable bit amount S f U is 1 for one block. Suppose it was 5. In this case, only the block with the shiftable bit amount Sf ij of 5 stores the fact that it is further shifted by 3 bits. Specifically, a flag indicating that such special processing has been performed, its block number, and the number of additional shift bits are recorded. Note that, instead of the number of additional shift bits, the shiftable bit amount Sfij of only that block may be stored. Performing such special processing lowers the compression ratio. Therefore, for example, a threshold value may be determined for the decreasing compression ratio, and the determination may be made based on whether or not the data amount does not exceed the threshold value.
なお、 かかる 1の相対基準値を設定するブロック群を符号化対象の画像の空間 周波数に応じて、 変動させる (空間周波数が高い場合は、 ブロック数を少なく、 空間周波数が低い場合は、 ブロック数を多くする) ようにしてもよい。  Note that the block group for setting the relative reference value of 1 is varied according to the spatial frequency of the image to be encoded (the number of blocks is small when the spatial frequency is high, and the number of blocks is low when the spatial frequency is low). May be increased).
また、 上記第 1および第 2実施形態を組合わせることもできる。 例えば、 図 1 4 Dに示す各ブロック構成データ e 00 (0)〜 e 00 (15)について、 予め決められた 数 (例えば 2ビット) だけ量子化し、 得られたシフトブロック構成データを相対 化し、 可逆性左シフト演算を行ない、 ベクトル量子化をするようにしてもよい。 可逆性左シフト演算については、 既に説明したように、 最上位ビット M S Bから 0が何ビット連続しているかを示すシフト可能ビット量 S f i jだけ、 シフト演算 を行なう。  Further, the first and second embodiments can be combined. For example, each block configuration data e 00 (0) to e 00 (15) shown in FIG. 14D is quantized by a predetermined number (for example, 2 bits), and the obtained shift block configuration data is made relative, A reversible left shift operation may be performed to perform vector quantization. Regarding the reversible left shift operation, as described above, the shift operation is performed by the shiftable bit amount Sfij indicating how many 0 bits are consecutive from the most significant bit MSB.
5 . コードブックの作成について  5. About creating a codebook
上記実施形態においては、 コードブックには、 圧縮対象の画像デ一夕に応じた ブロックデータを記憶することが望ましい。 以下に、 コードブックの候補データ の決定処理 (学習処理) について説明する。  In the above embodiment, it is desirable that the codebook store block data corresponding to the image data to be compressed. In the following, the process of determining codebook candidate data (learning process) will be described.
本実施形態においては、 ニューラルネットワークのアルゴリズムの 1つである コホ一ネン (T . o h o n e n n ) によって開発された自己組織化特徴写像の アルゴリズムを用いて、 以下の様にして、 コードブック (図 1 5参照) の作成 を処理を行なった。 In the present embodiment, a self-organizing feature map developed by Kohonen (T. ohonenn), which is one of the neural network algorithms, is used. Using the algorithm, we created a codebook (see Fig. 15) as follows.
まず、 00〜if (0〜255) までの計 256個のブロックデ一夕を作成してお く。 かかる作成は、 例えば、 ブロックデータを構成する各ブロック候補データに ついて、 乱数を発生させて、 決定すればよい。 なお、 乱数の範囲は、 コードブッ クに記憶されているブロック構成データのビット長に応じて決定すればよい。 こ の場合、 コートブック K (図 1 5参照) において、 各ブロック構成データは 4ビ ットデ一夕であるので、 0〜1 5までの範囲で乱数を発生させればよい。  First, create a total of 256 blocks from 00 to if (0 to 255). Such creation may be determined, for example, by generating a random number for each block candidate data constituting the block data. Note that the range of random numbers may be determined according to the bit length of the block configuration data stored in the codebook. In this case, in the coat book K (see Fig. 15), since each block configuration data is 4 bits long, random numbers may be generated in the range of 0 to 15.
なお、 前記各ブロックデ一夕に付与されるインデックス番号は、 図 21に示す ように、 2次元空間における i j座標で特定されるものとする。 この場合、 コー ドブック Pには、 256個のブロックデータが存在するので、 インデックス番号 I nは i = 0〜 16, 〗 ==0〜 16の 2次元座標で特定できる。 例えば、 ィンデ ックス番号 I n02という様に、 表される。  It is assumed that the index number given to each block is specified by ij coordinates in a two-dimensional space as shown in FIG. In this case, since 256 blocks of data exist in the codebook P, the index number In can be specified by the two-dimensional coordinates of i = 0 to 16,〗 == 0 to 16. For example, it is expressed as an index number In02.
また、 CPU 23は、 ハードディスク 26から、 静止画データを読み出し、 メ モリ 27に記憶するとともに、 これを 4 * 4画素で構成されるブロックに分割す して、 テスト対象のブロックデータを作成しておく。 この場合、 テスト対象のブ ロックデータ T eOOは、 以下の様に表される。  Also, the CPU 23 reads out the still image data from the hard disk 26, stores it in the memory 27, divides it into blocks of 4 * 4 pixels, and creates block data to be tested. deep. In this case, the block data T eOO to be tested is expressed as follows.
T e00= ( te00(0)、 te00(l)、 · · · 、 t e00(15))  T e00 = (te00 (0), te00 (l), ..., t e00 (15))
このブロックデ一夕 T e 00をコードブック Pに記慷されているブロック構成デ —夕のビット長と一致させる為に、 右に 4ビットシフト処理を行なう (図 22ス テツブ ST 39 1) 。 これにより、 以下の搽なシフトブロックデータ T e 00' が 得られる。  A 4-bit shift process is performed to the right in order to make the block data T e 00 coincide with the bit length of the block configuration data used in the codebook P (step ST391 of FIG. 22). As a result, the following small shift block data Te00 'is obtained.
TeOO' = ( t e00(0)«\ t e00(l)«\ · · ·、 t e00(15)«4) TeOO '= (t e00 (0) «\ t e00 (l)« \ · ·, t e00 (15) « 4 )
つぎに、 CPU23は、 シフトブロックデ一夕 TeOO' を学習対象のコードブ ック Kで、 符号化し、 符号化デ一夕を得る 〈ステップ ST 393) 。 かかる符号 化は、 第 1の実施形態と同様に、 インデックス番号 I n00〜 I n ffのそれぞれの ブロックデータについて、 ずれ総計 TOを求め、 これが一番小さいものを選択す ることにより決定される。  Next, the CPU 23 encodes the shift block data TeOO 'with the codebook K to be learned and obtains the encoded data <step ST393). As in the first embodiment, such encoding is determined by obtaining the total deviation TO for each block data of index numbers In00 to Inff and selecting the smallest one.
つぎに、 得られた符号化データを同じコードブック Kを用いて、 デコードする / 1 Next, the obtained encoded data is decoded using the same codebook K. / 1
(ステップ ST 395) 。 これを符号復合ブロックデータ U00とする。 符号復合 ブロックデータ U00は以下の式で表される。 (Step ST 395). This is code decoding block data U00. Code decoding block data U00 is represented by the following equation.
U00= (u00(0), uOO(l), · · ·〜, u00(15))  U00 = (u00 (0), uOO (l), · · · ~, u00 (15))
つぎに、 CPU23は、 学習対象となるブロックデ一夕を決定する (ステップ ST 397) 。 本実施形態においては、 以下に説明するように、 前記符号化デー 夕で特定されるブロックデ—夕との距離が、 所定値以下のィンデックス番号のブ ロックデータを学習対象のブロックデータとして決定するようにした。  Next, the CPU 23 determines a block data to be learned (step ST397). In the present embodiment, as described below, block data having an index number whose distance from the block data specified by the coded data is equal to or smaller than a predetermined value is determined as block data to be learned. I did it.
図 2 1に示すインデックス番号 I n 43が前記符号化データで特定されるブロッ クデ一夕であった場合、 インデックス番号 I n43を中心とする一辺ひの正方形 S q、 すなわち、 インデックス番号 I n43から所定距離内にある領域を決定する。 そして、 この正方形 S Q内に位置するブロックデータを学習対象とする。 すなわ ち、 インデックス番号 I n32、 I n33、 I n34, I n42、 I n43> I n44、 I n 42、 I n52、 I n53、 I n 54の 10個のブロックデータが、 学習対象のブロック データとなる。  If the index number In 43 shown in FIG. 21 is the block data identified by the encoded data, a square Sq with one side centered on the index number In 43, that is, the index number In 43 Are determined within a predetermined distance from. Then, block data located in the square SQ is set as a learning target. That is, 10 block data with index numbers In32, In33, In34, In42, In43> In44, In42, In52, In53, In54 are the block data to be learned. Becomes
かかる αの値は、 任意の値とするが、 学習の初期では大きく、 学習が進むにつ れて小さくさせていく。 すなわち、 学習が進むにつれて学習対象のブロックデ一 夕が少なくなつていく。  Although the value of α is an arbitrary value, it is large in the early stage of learning and is reduced as the learning progresses. In other words, as learning progresses, the number of blocks to be learned decreases.
つぎに、 CPU23は、 学習対象のブロックデータについて、 学習処理を行な う (ステップ ST 399) 。 本実施形態においては、 以下のようにして、 学習処 理を行なった。  Next, CPU 23 performs a learning process on the block data to be learned (step ST 399). In the present embodiment, the learning process is performed as follows.
まず、 1つめの学習対象のブロックデータについて、 学習処理を行なう。 この 場合、 1つめの学習対象のブロックデータは、 インデックス番号 I η32で特定さ れるブロックデ一夕である。 これをブロックデータ Κ32とすると、 ブロックデー 夕 Κ32は以下の様に表される。  First, a learning process is performed on the first block data to be learned. In this case, the first block data to be learned is the block data identified by index number I η32. Assuming that this is block data # 32, block data # 32 is expressed as follows.
K32= (k32(0)、 k32(l), · · ·、 k32(15))  K32 = (k32 (0), k32 (l), ..., k32 (15))
なお、 ブロックデータ K32を構成する各データは、 4ビットデータである。 一方、 テスト対象のブロックデータ T eOOを 4ピットデ一夕に変換したシフトブ Dックデ一夕 T eOO' は、 Each data constituting the block data K32 is 4-bit data. On the other hand, the shift block T eOO 'which converted the test target block data T eOO
TeOO* = ( t e00(0)«\ t ε00(1)«\ · · ·、 t e00(15)«4) 71 TeOO * = (t e00 (0) «\ t ε00 (1)« \ · ·, t e00 (15) « 4 ) 71
で表される。 It is represented by
この両ブロックデ一夕の差に係数 3を乗算したものを、 学習対象のブロックデ —夕から減算する。 すなわち、 学習後のブロックデータ L32は、 以下の様に表さ れる。  The difference between the two blocks is multiplied by a factor of 3 and subtracted from the block to be learned. That is, the block data L32 after learning is represented as follows.
L32=K32-/3■ (K32— TeOO' )  L32 = K32- / 3 ■ (K32—TeOO ')
(ここで、 0く く 1とする)  (Where 0 is 1)
すなわち、 That is,
L32= ( 1 - /3) -K32- j3 -TeOO'  L32 = (1-/ 3) -K32- j3 -TeOO '
具体的には、 ブロックデータ L32を構成するブロック構成データ L32(0)' 〜 L32(15) ' は、 以下のようにして求められる。  Specifically, the block configuration data L32 (0) ′ to L32 (15) ′ forming the block data L32 are obtained as follows.
L32(0)' =(1 -J3)- 32(0)- J3 - t e 00(0)〈ぐ  L32 (0) '= (1 -J3)-32 (0)-J3-t e 00 (0)
L32(l)' =(1 -β)·Κ32(1)- /3- t eO0(l)«"  L32 (l) '= (1 -β) · Κ32 (1)-/ 3- t eO0 (l) «"
L32(15) ' =(1 - j3)-K32(15)-0 · t e L32 (15) '= (1-j3) -K32 (15) -0
このような処理を他のインデックス番号 I n33、 I n34、 I n42、 I ri43、 I n44、 I n42、 I n52、 I n53、 I n54で特定されるブロックデータについて行 なう。  Such processing is performed on the block data specified by other index numbers In33, In34, In42, Iri43, In44, In42, In52, In53, and In54.
なお、 この場合、 前記正方形 S Q内に位置するブロックデータのうち、 テスト 対象のブロックデータ T eOOと、 誤差が多いブロックデ一夕ほど、 前記学習処理 における減算値が大きくなり、 誤差が少ないブロックデータほど、 前記学習処理 における減算値が小さくなる。 これにより、 前記正方形 S Q内に位置するブロッ クデータは、 あるブロックデータに収束していくこととなる。  In this case, among the block data located in the square SQ, the block data T eOO to be tested and the block data having a larger error have a larger subtraction value in the learning process, and the block data having a smaller error have a larger error. The smaller the subtraction value in the learning process, the smaller the value. As a result, the block data located in the square SQ converges to certain block data.
また、 係数 3については、 係数 αと同様に、 任意の値とするが、 学習の初期で は大きく、 学習が進むにつれて小さくさせていく。 すなわち、 学習が進むにつれ て、 誤差修正値が小さくなつていく。  The coefficient 3 is an arbitrary value, like the coefficient α, but is large at the beginning of the learning and is reduced as the learning progresses. In other words, as the learning progresses, the error correction value decreases.
このようにして、 テスト対象のブロック構成データ T eOOによる学習処理が終 了する。 かかる学習処理、 すなわち、 別のテスト対象のブロック構成データ Te OK Te02♦ · ·による学習処理を繰返して実行することにより、 最初に乱数を 発生させた作成したコードブックから適切なコードブックを作成することができ る。 Thus, the learning process using the block configuration data TeOO to be tested ends. The learning process, that is, the learning process using another block configuration data of the test object Te OK Te02 ♦ An appropriate codebook can be created from the generated codebook.
なお、 上記説明では、 説明を簡略化する為に初期に作成するブロックデータの 数を 2 5 6個としたが、 初期状態では、 5 1 2個、 1 0 2 6個等、 多くしておい て、 収束したブロックデータを 1つにまとめるようにしてもよい。  In the above explanation, the number of block data created initially is set to 256 for simplicity of explanation, but in the initial state, it is increased to 512, 1026, etc. Then, the converged block data may be combined into one.
また、 上記説明学習対象のブロックデ一夕を決定するのに、 一辺 αの正方形 S Qを定義したが、 これ以外に円、 その他の多角形を定義するようにしてもよい。 また、 上記説明では、 前記各ブロックデ一夕に付与されるインデックス番号は、 図 2 1に示すように、 2次元空間における i j座標で決定するようにしたが、 こ れに限定されず、 3次元、 さらに多次元空間における位置として決定するように してもよい。 もし、 3次元空間を考える場合には、 インデックス番号 I n 43から 所定距離内にある領域は立体とすればよい。  In addition, although the square SQ having one side α is defined for determining the block data to be explained in the above description, a circle or another polygon may be defined. In the above description, the index numbers assigned to the respective blocks are determined by ij coordinates in a two-dimensional space as shown in FIG. 21. However, the present invention is not limited to this. It may be determined as a position in a dimension and further in a multidimensional space. If a three-dimensional space is considered, a region within a predetermined distance from the index number In 43 may be a solid.
また、 第一実施形態においては、 前記差分デ一夕に基づいて、 グループ 0〜 7 に区分されている。 したがって、 各グループごとに合致する差分デ一夕を有する テス卜対象ブロック構成データを与えるようにすればよい。  In the first embodiment, the data is divided into groups 0 to 7 based on the difference data. Therefore, test target block configuration data having the difference data matching each group may be provided.
なお、 上記実施形態においては、 図 2 2ステップ S T 3 9 9における学習処理 について、 正方形 S Q内に位置するブロックデータをすベて、 収束させるように 処理した。 しかし、 以下の様に処理することもできる。  In the above embodiment, the learning process in step ST399 of FIG. 22 is performed so that all the block data located in the square SQ are converged. However, it can also be processed as follows.
正方形 S Q内の領域を 2つに分けて、 中心に近い領域 S Q i と中心から遠い領 域 S q oの 2つの領域に分ける。 中心に近い領域 S q iに属するブロックデータ については、 前記両ブロックデータの差に係数 )3を乗算したものを、 学習対象の ブロックデータから減算する処理を行なう。 すなわち、 学習後のブロックデータ xy ' は、 以下の様に表される。  The area in the square SQ is divided into two areas, an area near the center S Q i and an area far from the center S q o. For the block data belonging to the region S qi near the center, a process of subtracting the difference between the two block data and the coefficient) 3 from the learning target block data is performed. That is, the block data xy 'after learning is represented as follows.
K xy ' = Kxy - β · ( Kxy - T e 00 ' )  K xy '= Kxy-β · (Kxy-T e 00')
(ここで、 0 < < 1とする)  (Where 0 <<1)
これに対して、 中心から遠い領域 S q oに属するブロックデ一夕については、 前記両ブロックデータの差に係数 βを乗算したものを、 学習対象のブロックデー 夕に加算する処理を行なう。 すなわち、 学習後のブロックデータ Kxy ' は、 以下 の様に表される。  On the other hand, for the block data belonging to the region Sqo far from the center, a process of multiplying the difference between the two block data by a coefficient β and adding the result to the block data to be learned is performed. That is, the block data Kxy 'after learning is expressed as follows.
— 3 2 —  — 3 2 —
差替 え 用紙(規則 26) . Kxy' =Kxy+ /3 - (Kxy-T eOO' ) Replacement form (Rule 26) . Kxy '= Kxy + / 3-(Kxy-T eOO')
(ここで、 0<j3<lとする)  (Where 0 <j3 <l)
このような処理を行なうことにより、 中心に近いものは収束させ、 中心からは なれているものについては、 遠ざける処理ができる。 これにより、 より早く収束 させることができる。  By performing such processing, it is possible to converge those near the center and to move away from those far from the center. Thereby, convergence can be achieved faster.
なお、 中心に近いものは収束させ、 中心からはなれているものについては、 遠 ざける処理であればどのようなものであってもよく、 減算処理と加算処理にわけ のではなく、 分割した複数の領域について、 係数 )3の値を変更するようにしても よい。  In addition, those that are close to the center are converged, and those that are far from the center are not limited to subtraction processing and addition processing. The value of coefficient) 3 may be changed for the region of.
なお、 本実施形態においては、 コードブックの候補データの学習処理として、 コホーネンのニューラルネットヮ一クを用いたが、 マルコフチェ一ンァルゴリズ ム等の他のニューラルネットワーク、 さらに、 GA (Genetic Algorithms), 他 の学習方式を採用してもよい。 さらに、 複数の学習方式を組合わせるようにして もよい。  In the present embodiment, the Kohonen neural network is used as the learning process for the codebook candidate data. May be adopted. Further, a plurality of learning methods may be combined.
[D:アダマール変換について]  [D: About Hadamard transform]
なお、 上記各実施形態においては、 ブロック構成データをアダマール (Had ama r d) 変換を行なうようにしてもよい。 例えば、 第 1実施形態では、 図 1 2ステップ ST 19とステップ ST 21の間にて、 図 14 Aに示すシフトブロッ ク構成データ A00' を、 図 23に示すようなアダマール行列によって変換すれば よい。 この場合、 復号化処理において、 図 18ステップ ST37とステップ ST 38の間で、 逆アダマール変換するようにすればよい。  In each of the above embodiments, the block configuration data may be subjected to Hadamard conversion. For example, in the first embodiment, the shift block configuration data A00 ′ shown in FIG. 14A may be converted by a Hadamard matrix as shown in FIG. 23 between step ST19 and step ST21 in FIG. In this case, in the decoding process, the inverse Hadamard transform may be performed between step ST37 and step ST38 in FIG.
このように、 ベクトル量子化する前に、 アダマール変換を行なうことにより、 より精度の高い変換を行なうことができる。 これは、 アダマール変換によって、 各ブロックにおける直流成分を集中させることができるからである。 なお、 ァダ マール変換以外の直交変換、 例えば DC T等を用いてもよい。  As described above, by performing the Hadamard transform before the vector quantization, a more accurate transform can be performed. This is because the DC component in each block can be concentrated by the Hadamard transform. Note that an orthogonal transform other than the Hadamard transform, such as DCT, may be used.
また、 相対化処理後、 アダマール変換を行なうことにより、 演算量は殆ど増え ず、 分解能を高めることができる。 これは、 低周波成分が相対化処理によって、 ほぼなくなってしまい、 高周波成分の分解能を高くすることができるからである c このように、 アダマール変換は、 ブロック構成データの低周波成分を取り除いて から行なうことが望ましい。 Also, by performing Hadamard transformation after the relativization processing, the amount of calculation hardly increases, and the resolution can be increased. This is because the low-frequency component relative treatment, will almost gone, c thus that is because it is possible to increase the resolution of the high-frequency components, Hadamard transform, removes the low-frequency components of a block configuration data It is desirable to perform from.
このように、 第 1実施形態においては、 相対化処理後、 アダマール変換し、 そ の後、 ベクトル量子化を行なっている。  As described above, in the first embodiment, the Hadamard transform is performed after the relativization process, and then the vector quantization is performed.
また、 第 2実施形態にでは、 図 1 9ステップ S T 2 5 7とステップ S T 2 5 9 の間に、 得られたブロック構成相対デ一夕をアダマール変換するようにすればよ い。 この場合、 復号化処理において、 図 2 0ステップ S T 2 7 7とステップ S T 2 7 8の間で、 逆アダマール変換するようにすればよい。  In the second embodiment, the obtained block configuration relative data may be subjected to the Hadamard transform between the step ST257 and the step ST259 in FIG. In this case, in the decoding process, inverse Hadamard transform may be performed between step ST2777 and step ST278 of FIG.
なお、 アダマール変換は、 可逆性左シフト演算 (ステップ S T 2 6 1 ) 前でな く、 可逆性左シフト演算終了後 (ステップ S T 2 6 1とステップ S T 2 6 3の間) に行なうようにしてもよい。 この場合、 復号化処理において、 図 2 0ステップ S T 1 7 5とステップ S T 1 7 7の間で、 逆アダマール変換するようにすればよレ^ なお、 本明細書において、 アダマール変換には高速アダマール変換を含む。 6 . その他の実施形態  It should be noted that the Hadamard transform is not performed before the reversible left shift operation (step ST2661) but is performed after the reversible leftshift operation (between step ST2661 and step ST2663). Is also good. In this case, in the decoding process, the inverse Hadamard transform may be performed between step ST177 and step ST177 in FIG. 20. Note that in this specification, the Hadamard transform is a fast Hadamard transform. Including conversion. 6. Other embodiments
なお、 本実施形態においては評価値の高いブロックを上位何個、 と決定して、 符号化を行なうようにした。 これによつて、 常に一定の数のブロック数のデータ を符号化対象ブロックとして送信することができるので、 移動物体の大きさ、 速 さ、 その数等に関係なく、 単位時間当たりに送信できるブロックの数を一定に保 つことができる。 従って伝送速度が限られているような場合については重要なデ 一夕部分のみを送信することもできる。  In the present embodiment, the number of blocks having a high evaluation value is determined as the number of higher-ranked blocks, and coding is performed. As a result, a fixed number of blocks of data can always be transmitted as a block to be encoded, so that blocks that can be transmitted per unit time regardless of the size, speed, number of moving objects, etc. Can be kept constant. Therefore, when the transmission speed is limited, only the important data can be transmitted.
なお、 この実施形態においては、 評価値を高いものから順次抽出するようにし ている。 従って、 全体としての評価値が大きい場合と、 全体の傾向として評価値 が小さい場合には、 同じ評価値を持つブロックであっても、 相対評価となるので 送信されないブロックが発生する。 逆に自動的に全体として大きく移動したよう な場合については、 その中でも特に、 大きく動いた部分のみ送信することができ る。 一方全体としてあまり動かなくなった場合には、 その細かな移動を送信され ることとなる。  In this embodiment, the evaluation values are sequentially extracted in descending order. Therefore, when the evaluation value as a whole is large and when the evaluation value is small as a whole tendency, even if the blocks have the same evaluation value, some blocks are not transmitted because of relative evaluation. On the other hand, if the whole moves automatically as a whole, it is possible to transmit only the parts that have moved significantly. On the other hand, if the whole does not move much, the fine movement will be transmitted.
なお、 相対的な評価値で符号化するブロックを決定するのではなく、 絶対値と していくら以上の差分評価値を有するプロックについて、 これを送信するように してもよい。  Instead of determining a block to be coded by a relative evaluation value, a block having a difference evaluation value which is more than an absolute value may be transmitted.
— 3 4 —  — 3 4 —
差替 え 用 紙 (規則 26) また、 伝送するブロック数で限定するのではなく、 当該フレームにおける、 一 番大きな差分評価のプロックの何%の値を持つプロックまで送信するというよう に決定するようにしてもよい。 Replacement paper (Rule 26) Also, instead of limiting the number of blocks to be transmitted, it may be determined that a block having a value of what percentage of the largest differential evaluation block in the frame is transmitted.
なお、 本実施形態においては、 5 0個のブロックについて、 差分評価値の大き なブロックから順次抽出して、 5 0個で抽出作業を中止するようにしている。 も し、 5 0番目の差分評価値を有するブロックが 2以上ある場合には、 5 0個とい う制限を遵守して、 当該 5 0番目の差分評価値を有するブロックのうち、 いずれ かを抽出するようにすればよい。 この場合、 例えば、 ブロック I Dの小さいもの を優先的に抽出するようにしてもよい。 また、 5 0番目の差分評価値を有するブ ロックが非常にたくさんある場合は、 当該 5 0番目の差分評価値を有するプロッ クの抽出を中止し、 4 9個のブロックについて符号化を行なうようにすればよい。 すなわち、 同じ差分評価を有するブロックが前記しきい値にまたがる場合には、 そのうち抽出するブロックと抽出されないブロックとのバランスを考えるように すればよい。  In the present embodiment, the 50 blocks are sequentially extracted from the block having the larger difference evaluation value, and the extraction operation is stopped at the 50 blocks. If there are two or more blocks having the 50th difference evaluation value, one of the blocks having the 50th difference evaluation value is extracted while observing the restriction of 50 blocks. What should I do? In this case, for example, one having a smaller block ID may be preferentially extracted. If there are too many blocks having the 50th difference evaluation value, extraction of the block having the 50th difference evaluation value is stopped, and coding is performed on 49 blocks. What should I do? That is, when blocks having the same difference evaluation are over the threshold value, the balance between blocks to be extracted and blocks not to be extracted may be considered.
また、 上記しきい値については、 固定値ではなく、 ブロックデータの差分評価 値の分布に応じて変動できるようにしてもよい。 例えば、 あるフレームについて は、 その前のフレームと比べて、 全体として移動があまり無いような場合と、 全 体としてかなり移動がある場合とで、 伝送対象のブロック数を変更する。 これに より、 無駄なデータ転送を防止し、 符号化する画像データの特性により対応した 伝送が可能となる。  Further, the threshold value may not be a fixed value but may be varied according to the distribution of the difference evaluation value of the block data. For example, for a certain frame, the number of blocks to be transmitted is changed depending on whether there is little movement as a whole compared to the previous frame or when there is considerable movement as a whole. As a result, useless data transfer can be prevented, and transmission more suitable for the characteristics of the image data to be encoded becomes possible.
このように、 各ブロックの差分評価値の分布に応じて変動させる場合には、 分 布状態を簡易に把握する為に、 ヒストグラムを作成すればよい。 この場合、 ある 範囲に属する差分評価値を有するブロックがいくつ存在するかで、 ヒストグラム を作成すればよい。 例えば、 各画素の漉度が 0〜2 5 5段階有り、 1のブロック が 1 6画素から構成されている場合、 差分評価値の範囲としては、 0〜4 0 9 6 ( 2 5 5 * 1 6 ) となる。 これを、 3 2の範囲に分けて、 差分評価値 0〜 1 2 7 を第 1範囲、 差分評価値 1 2 8〜2 5 5を第 2範囲、 · · · というように、 分類 すればよい。 かかるヒストグラムの分布を解析することにより, 差分評価値の分 布を得ることができる。 なお、 かかるヒストグラムを作成した場合には、 各ブロックの差分評価値を範 囲で分類しているので、 しきい値である 5 0個めの差分評価値を有するブロック が複数存在する場合が多くなる。 しかし、 この場合も、 前記しきい値にまたがる 同じ差分評価を有するブロックが複数ある場合と同様に処理すればよい。 As described above, in the case where the distribution is varied according to the distribution of the difference evaluation value of each block, a histogram may be created to easily grasp the distribution state. In this case, a histogram may be created based on how many blocks having a difference evaluation value belonging to a certain range. For example, if each pixel has a filter level of 0 to 255 and 1 block is composed of 16 pixels, the range of the difference evaluation value is 0 to 4 0 9 6 (2 5 5 * 1 6) This can be divided into 32 ranges, and the difference evaluation values 0 to 1 27 can be classified into the first range, the difference evaluation values 1 28 to 255 can be classified into the second range, and so on. . By analyzing the distribution of the histogram, the distribution of the difference evaluation value can be obtained. When such a histogram is created, the difference evaluation value of each block is classified according to the range, so that there are many cases where there are a plurality of blocks having the 50th difference evaluation value as the threshold value. Become. However, in this case as well, processing may be performed in the same manner as when there are a plurality of blocks having the same difference evaluation across the threshold value.
また、 伝送状態を検知し、 差分評価及びこの検知結果に基づいて、 しきい値を 変動させるようにしてもよい。 例えば、 送信中に、 エラーが多いような場合につ いては、 送信するブロック数を減らすために、 しきい値を上げればよい。 これに より、 伝送状態が変動したような場合についても、 これに柔軟に対応することが できる。  Alternatively, the transmission state may be detected, and the threshold value may be changed based on the difference evaluation and the detection result. For example, if there are many errors during transmission, the threshold may be increased to reduce the number of blocks to be transmitted. This makes it possible to flexibly cope with a case where the transmission state fluctuates.
また、 伝送路を複数使用可能な場合には、 全体として大きく動いているような 場合には、 複数用いて、 あまり動いていない場合には、 1つだけ使用するように、 伝送路の数を変更することにより、 伝送条件を変更してもよい。  Also, if multiple transmission lines are available, use multiple transmission lines if they are moving significantly as a whole, and use only one transmission line if they are not moving very much. By changing, the transmission condition may be changed.
また、 伝送条件の変更として、 符号化方法を変更することもできる。 例えば、 荒い符号化をするコードブックを用意しておき、 差分評価値が小さな部分につい ては、 精度は落ちるが圧縮率の高い符号化を行なうようにしてもよい。  Also, the encoding method can be changed as a change in transmission conditions. For example, a codebook for performing rough coding may be prepared, and coding may be performed at a high compression ratio with reduced accuracy for a portion having a small difference evaluation value.
なお、 本実施形態においては、 図 1 5等に示すコードブックを用いて、 べクト ル量子化を実行して、 データの圧縮を行なったが、 その他の D C T (離散コサイ ン変換) 等を用いて圧縮を行なうようにしてもよい。 すなわち、 所定のブロック 毎にデー夕圧縮が行なうことができる圧縮方法であれば、 どのような方法にも採 用することができる。  In this embodiment, data compression is performed by performing vector quantization using the codebook shown in FIG. 15 and the like, but other DCT (discrete cosine transform) or the like is used. Compression may be performed. That is, any compression method that can perform data compression for each predetermined block can be used.
また、 この実施形態においては、 1ブロックを 4 X 4の 1 6画素から構成した が、 これに限定されることなく、 例えば 8 X 8等、 任意の画素数とすることがで さる。  Further, in this 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 can be used.
なお、 上記実施形態では、 各ブロックデータの差分評価に基づいて、 符号化対 象である複数のブロックデータから伝送対象ブロックデータを抽出することによ り、 前記伝送方法を変更した。 しかしこれ以外に、 伝送対象ブロックデータにつ いて前記各プロックデ一夕の差分評価に基づいて伝送条件を変更することにより, 前記伝送方法を変更するようにしてもよい。  In the above embodiment, the transmission method is changed by extracting transmission target block data from a plurality of block data to be encoded based on the difference evaluation of each block data. However, besides this, the transmission method may be changed by changing the transmission conditions for the block data to be transmitted based on the difference evaluation between the blocks.
また、 上記実施形態においては、 差分評価の大きいものを符号化対象のブロッ  Also, in the above embodiment, the block having the larger difference evaluation is used as the block to be encoded.
— 3 6 —  — 3 6 —
差替え用紙 (規則 26) クとして決定するようにしている。 しかし、 その送信順序についてさらに大きな ものから送るようにしてもよい。 これにより、 重要なデータについては、 必ず送 信することができる。 したがって、 例えば、 送信中にバンド幅が変化した場合Replacement form (Rule 26) To be decided as However, the order of transmission may be larger. As a result, important data can always be transmitted. So, for example, if the bandwidth changes during transmission
(狭くなつた場合) 、 また、 受信側が、 マルチタスク処理を行なっている場合に、 さほど重要でない (差分評価が小さい) ブロックについては、 結果的に無視され ても、 それほど問題が生じない。 なお、 逆に、 バンド幅が広くなつた場合には、 差分評価の小さなプロックをも送信するようにすればよい。 Also, if the receiving side is performing multitask processing, less important blocks (small differential evaluation) will not cause much problem even if they are ignored as a result. Conversely, if the bandwidth becomes wide, a block with a small difference evaluation may be transmitted.
また、 上記しきい値については、 これをォペレ一夕が自由に選択できるように しておいてもよい。 例えば、 精密モード指定の場合、 又は速度優先の場合等を切 替えられるようにしておいてもよい。 すなわち精密モードの場合には、 そのしき い値を低く、 速度優先の場合にはそのしきい値を上げるようにすればよい。  The threshold value may be set so that the operator can freely select it. For example, it may be possible to switch between the case where the precise mode is specified, the case where the speed is prioritized, and the like. That is, in the case of the precision mode, the threshold value may be lowered, and in the case of speed priority, the threshold value may be raised.
また、 上記実施形態においては、 伝送対象とするものをすベて符号化して、 伝 送するようにしている。 すなわち伝送化しないものについては符号化を行なわな いようにしている。 しかし、 すべて符号化を行なった後、 評価値の大きなものの み、 伝送対象とするようにしてもよい。 また、 符号化処理後に差分評価を求めて 伝送対象とするか否かを決定するようにしてもよい。  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. Alternatively, a difference evaluation may be obtained after the encoding process to determine whether or not to perform transmission.
なお、 上記実施形態においては、 データを伝送するものとして説明したが、 記 憶媒体に記憶する場合に、 デー夕を圧縮して記憶させる装置として適応すること もできる。 この場合は、 伝送制御部から伝送するのではなく、 直接符号化したブ ロックデータを記憶媒体に記憶するようにすればよい。  In the above embodiment, the description has been made assuming that data is transmitted. However, when the data is stored in a storage medium, the present invention can be applied as a device for compressing and storing data. In this case, the directly encoded block data may be stored in the storage medium instead of being transmitted from the transmission control unit.
本発明にかかる動画データ伝送装置、 受信装置は、 画像の正確性をそれほど損 うことなく、 かつデータ転送量を増やすことなく、 動画デ一夕を送受信できるの で、 例えば、 テレビ電話、 テレビ会議システム等に適用することができる。  The video data transmission device and the reception device according to the present invention can transmit and receive video data without significantly deteriorating the accuracy of images and without increasing the data transfer amount. It can be applied to systems and the like.
なお、 上記各実施形態においては、 ディジタル画像データが得られているもの として説明したが、 かかるディジタル画像デ一夕については、 例えば、 アナログ 静止画像データを標本化することにより、 得られる。  In the above embodiments, the digital image data has been described as being obtained. However, such digital image data can be obtained, for example, by sampling analog still image data.
また、 このディジタル画像データがカラ一画像である場合には、 Y U V信号 (輝度信号 Yおよび色相信号 U V ) それぞれについて、 前記と同様の処理をすれ ばよい。  When the digital image data is a single 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).
一 3 7 ―  1 3 7 ―
差替え用紙 (規則 26) なお、 Y U V信号ではなく、 R G B (赤、 緑、 青) 信号または、 Y I Q (輝度 信号 Yおよび色相信号 I Q ) などでもよい。 Replacement form (Rule 26) 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 the present embodiment, the resolution of the hue signals U and V is set to 1/2 of the luminance signal Y. As a result, the degree of data compression can be further increased.
上記各実施形態においては、 圧縮したデータを伝送する場合について説明した が、 そのまま、 データ蓄積する場合にももちろん適用できる。  In each of the above embodiments, a case where compressed data is transmitted has been described. However, the present invention can be applied to a case where data is stored as it is.
なお、 前記実施形態では、 1つの画素でも最大とか、 最小のものがあると差分 データ A i j gの値が大きくなる。 すなわち、 ごみ等のエラーがあった場合には、 本来とは別のコードブックを用いて圧縮を行なうおそれがある。 したがって、 か かる問題を解決する為に、 たとえば、 差分データ A i j g =最大値—最小値ではな く、 差分データ A i j gを、 (値が大きな画素の数画素分の平均値) から (値が小 さな画素の数画素分の平均値) を減算することによって求めるようにしてもよレ^ なお、 前記第 1実施形態においては、 差分デ一夕 A i j gの値に応じて 8グル一 プに分額したが、 グループ数については、 これにより多くまたは少なくするよう にしてもよい。  In the embodiment, the value of the difference data Aijg increases if one pixel has the maximum value or the minimum value. That is, when there is an error such as dust, there is a possibility that compression is performed using a codebook different from the original one. Therefore, in order to solve such a problem, for example, instead of the difference data A ijg = maximum value−minimum value, the difference data A ijg is calculated from (an average value of several pixels having large values) Alternatively, it may be obtained by subtracting the average value of several small pixels). In the first embodiment, in the first embodiment, 8 groups are set according to the value of the difference ijg. However, the number of groups may be increased or decreased.
また、 上記実施形態においては、 差分評価は、 比較バッファと対応するフレー ムバッファの各画素の差分の絶対値を合計することにより、 求めた。 しかし、 こ れに限定されず、 差分がある総画素数をそのブロックにおける差分評価として演 算するようにしてもよい。  In the above embodiment, the difference evaluation is obtained by summing the absolute values of the differences between the pixels in 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.
また、 上記各実施形態においては、 前記各機能を実現する為に、 C P U 2 3を 用い、 ソフトウェアによってこれを実現している。 しかし、 その一部もしくは全 てを、 ロジック回路等の八一ドウエアによって実現してもよい。 特に、 上記本実 施形態においては、 コードブックによって、 符合化及び復号化する。 したがって、 この、 符合化及び復号化処理を、 1のチップによって実現することにより、 デ一 夕圧縮が必要な機器、 例えば、 テレビ電話、 デジタルビデオ等の機器にチップを 埋め込むだけで、 高速かつ精度の高いデ一夕圧縮が可能となる。  In each of the above embodiments, each of the above functions is realized by software using CPU 23. However, a part or all of them may be realized by a piece of hardware such as a logic circuit. In particular, in the present embodiment, encoding and decoding are performed using a codebook. Therefore, by realizing the encoding and decoding processes using one chip, high-speed and high-precision processing can be achieved simply by embedding the chip in devices that require decompression, such as videophones and digital video devices. High compression is possible.
上記においては、 本発明を好ましい実施形態として説明したが、 各用語は、 限 一 3 8 ―  In the above, the present invention has been described as a preferred embodiment.
差替 え 用紙(規則 26) 定のために用いたのではなく、 説明のために用いたものであって、 本発明の範囲 および精神を逸脱することなく、 添付のクレームの範囲において、 変更すること ができるものである。 Replacement form (Rule 26) It has been used for purposes of explanation, not for clarity, and may be modified within the scope of the appended claims without departing from the scope and spirit of the invention.
[ F :用語の定義]  [F: Definition of terms]
以下に本明細書で用いる用語の意義および実施形態との関係について説明する。 Hereinafter, the meaning of terms used in the present specification and the relationship with the embodiments will be described.
「伝送方法」 : 1画面を構成する複数のブロックデータの伝送のやり方を全て 含み、 例えば、 1画面を構成す 複数のブロックデータのうち伝送対象とするブ ロックデ一夕とそれ以外のブロックデータとを区別することはもちろん、 伝送対 象のブロックデータについて、 その伝送順序、 符号化方法、 伝送速度、 伝送する 伝送路等の伝送条件をも含む。 "Transmission method": Includes all methods of transmitting a plurality of block data that make up one screen. For example, the block data that is to be transmitted and the other block data out of a plurality of block data that make up one screen Of course, the transmission conditions such as the transmission order, encoding method, transmission speed, and transmission path of the block data to be transmitted are also included.
「符号化基準画像デ一夕記憶手段」 :実施形態においては、 図 5に示す比較バ ッファ 2 7 aが該当する。  "Encoding reference image data overnight storage means": In the embodiment, the comparison buffer 27a shown in FIG. 5 corresponds to this.
「符号化伝送手段」 :実施形態においては、 C P U 2 3の図 6ステップ S T 1 0 9、 図 7ステップ S T 1 2 3、 ステップ S T 1 2 7の処理が該当する。  "Encoding transmission means": In the embodiment, the processing of CPU23 in FIG. 6 step ST109, FIG. 7 step ST123, step ST127 is applicable.
「差分評価演算手段」 :各ブロックにおける差分評価を演算する手段であり、 実施形態においては、 C P U 2 3の図 6ステップ S T 1 1 3の処理に該当する。  "Difference evaluation calculation means": means for calculating a difference evaluation in each block, and corresponds to the processing of step ST113 of FIG. 6 of CPU23 in the embodiment.
Γ符号化基準画像データ書換え手段」 :実施形態においては、 C P U 2 3の図 7ステップ S T 1 2 5の処理に該当する。  << Encoding reference image data rewriting means >>: In the embodiment, this corresponds to the processing of step ST125 of FIG.
Γブロック構成データ」 :ブロックデータを構成するデータをいい、 実施形態 においては、 1 6のブロック構成データによって、 1のブロックデ一夕を表すよ うにした。  “Block configuration data”: Refers to data configuring block data. In the embodiment, 16 block configuration data is used to represent one block data.
「相対ブロック構成データ」 :相対値で表されたブロック構成データをいう。 「相対ブロックデータ記憶手段」 :本実施形態においては、 図 1 5のコードブ ック Kを記慷したハードディスク 2 6が該当する。  “Relative block configuration data”: Refers to block configuration data represented by relative values. "Relative block data storage means": In this embodiment, a hard disk 26 useful for the code book K in FIG.
「変換基準値」 :符号化対象のブロックデータの各ブロック構成データを、 相 対値で表される相対ブロックデ一夕に変換するためのデータであり、 実施形態に おいては、 符号化対象のブロックデータを構成するブロック構成データの最小値 を採用した。  “Conversion reference value”: data for converting each block configuration data of the block data to be encoded into a relative block data represented by a relative value. The minimum value of the block configuration data that composes the block data of was adopted.
Γ候補データ」 : ブロックデータおよびこれに対応する符号から構成されてい る。 第 1実施形態においては、 図 1 5に示すコードブック Kのブロック構成デ一 夕および対応するィンデックス番号に該当する。 ΓCandidate data ”: Consists of block data and the corresponding code You. In the first embodiment, this corresponds to the block configuration data of the codebook K shown in FIG. 15 and the corresponding index numbers.
「第 1変換手段」 : CPU23の図 1 2ステップ ST 1 9の処理に該当する。 「相対ブロックデータ符号化手段」 : CPU 23の図 1 2ステップ ST 21の 処理に該当する。  "First conversion means": Corresponds to the processing in step ST19 of FIG. 12 of the CPU23. "Relative block data encoding means": Corresponds to the processing of ST21 in Fig. 12 of CPU23.
「ブロック特性デ一夕演算手段」 : C PU23の図 1 2ステップ ST 1 5、 ス テツプ ST 17の処理に該当する。  "Block characteristic data overnight calculation means": Corresponds to the processing of step ST15 and step ST17 in Fig. 12 of CPU23.
「グループ別対応表」 :ブロック特性データに応じて、 グループ分けされてお り、 コードブック Kが該当する。  “Correspondence table by group”: Codebook K corresponds to grouping according to block characteristic data.
「グループ名 j : コードブック の、 どのグループに属する相対ブロックデ一 夕をエンコードに用いるかを特定する為の名称である。 なお、 ここでいう名称と は、 番号等を含む I Dをも含む概念である。  "Group name j: This is a name for specifying which group in the codebook belongs to which relative block data is used for encoding. The name here is a concept that includes IDs including numbers and the like. It is.
「グループ内番号」 : コードブック Kの、 あるグループに属するどの相対ブロ ックデ一夕をエンコードに用いるかを特定する為の名称である。 なお、 ここでい うグループ内番号とは、 名称等を含む I Dをも含む概念である。  “Group number”: A name for specifying which relative block data belonging to a certain group in codebook K is used for encoding. Here, the intra-group number is a concept including ID including a name and the like.
「差分デ一夕」 :前記符号化対象の当該ブロックデータを構成する各ブロック 構成データの最大値と最小値との差分デ一夕であり、 実施形態では、 最大値 ma X Ai j ' 一最小値 m i nAij' で求められる。  “Difference data”: Difference data between the maximum value and the minimum value of each block configuration data constituting the block data to be encoded. In the embodiment, the maximum value ma X Ai j 'one minimum It is determined by the value minAij '.
Γ第 2変換手段」 :実施形態における CPU 23の図 18ステップ S T 37の 処理に該当する。  {2nd conversion means}: Corresponds to the processing of step ST37 in FIG. 18 of the CPU 23 in the embodiment.
Γ相対ブロックデータ復号化手段」 :実施形態における C PU 23の図 18ス テツプ ST35の処理に該当する。  “Relative block data decoding means”: Corresponds to the processing in step ST35 in FIG. 18 of the CPU 23 in the embodiment.
「直交変換 J :実施形態では、 アダマール変換が該当するが、 他の直交変換例え ば、 DCTも含む。  "Orthogonal transform J: In the embodiment, the Hadamard transform corresponds, but other orthogonal transforms include, for example, DCT.
「逆直交変換」 :直交変換の逆の処理行なうことをいい、 実施形態では、 逆ァダ マール変換が該当する。 :  "Inverse orthogonal transformation": Performing the inverse processing of the orthogonal transformation. In the embodiment, the inverse Hadamard transformation corresponds. :
Γ可逆性左シフト演算」 :所定ブロック毎に、 各ブロック構成データのうち最大 値のブロック構成データについて最上位ビットが 1となるまで左へシフト演算を 行なうことをいい、 実施形態では、 例えば、 図 19ステップ ST 26 1の処理が 該当する。 ΓReversible left shift operation ”: This refers to performing a left shift operation on the largest value block configuration data of each block configuration data until the most significant bit becomes 1 for each predetermined block. In the embodiment, for example, Figure 19 Step ST 26 1 processing Applicable.
「可逆性右シフト演算」 :可逆性左シフトとは逆側にシフトすることをいい、 実 施形態では、 例えば図 2 0ステップ S T 2 7 7の処理が該当する。  “Reversible right shift operation”: Shifting to the opposite side from the reversible left shift. In the embodiment, for example, the process of step ST277 in FIG.
本発明にかかる動面データ符号化装置またはその方法においては, 前記符号化 対象の画像デ一夕を構成するブロックデータと、 前記符号化基準画像デー夕の対 応ブロックデータとの差分評価を演算し、 前記各ブロックデータの差分評価に基 づいて、 与えられた符号化対象の画像データの伝送方法を変更して伝送する。 し たがって、 動画データの特性に応じた伝送ができる。  In the moving surface data encoding apparatus or method according to the present invention, a difference evaluation between block data constituting the image data to be encoded and corresponding block data of the encoded reference image data is calculated. Then, based on the difference evaluation of each block data, the transmission method of the given encoding target image data is changed and transmitted. Therefore, transmission according to the characteristics of moving image data can be performed.
本発明にかかる動画デ一夕符号化装置においては、 前記符号化伝送手段は、 前 記各プロックデ一夕の差分評価に基づいて、 符号化対象である複数のプロックデ —夕から伝送対象ブロックデータを抽出する。 したがって、 差分評価に基づいて 一部のブロックデータを伝送対象から除外することができる。 これにより、 動画 デ一夕の特性に応じた伝送が可能となる。  In the moving picture data encoding apparatus according to the present invention, the encoding transmission means may transmit the block data to be transmitted from a plurality of encoding data to be encoded based on the difference evaluation of each block data. Extract. Therefore, some block data can be excluded from transmission targets based on the difference evaluation. As a result, transmission according to the characteristics of moving images can be performed.
本発明にかかる動画データ符号化装置においては、 前記符号化基準画像データ 書換え手段は、 前記符号化基準画面デ一夕のブロックデータを、 前記伝送対象ブ ロックデータを用いて書換える。 したがって、 前記伝送対象ブロックデータに対 応する部分を書換えた符号化基準画像データが得られる。  In the moving picture data encoding device according to the present invention, the encoding reference image data 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 transmission target block data is rewritten is obtained.
本発明にかかる動画デ一夕符号化装置においては、 前記符号化伝送手段は、 伝 送対象プロックデータについて前記各ブロックデ一夕の差分評価に基づいて伝送 条件を変更する。 これにより、 動画データの特性に応じた伝送が可能となる。 本発明にかかる動画データ符号化装置においては、 前記符号化伝送手段は、 前 記一画面分の画像データのプロックデータの各差分評価の評価値分布に応じて、 前記伝送方法を変更する。 したがって、 各画面ごとの特性に応じた伝送が可能と なる。  In the moving picture data encoding apparatus according to the present invention, the encoding transmission means changes transmission conditions for the block data to be transmitted based on the difference evaluation of each block data. This enables transmission according to the characteristics of moving image data. In the moving picture data encoding device according to the present invention, the encoding transmission unit changes the transmission method according to the evaluation value distribution of each difference evaluation of the block data of the image data for one screen. Therefore, transmission according to the characteristics of each screen becomes possible.
本発明にかかる動画データ符号化装置においては、 前記符号化伝送手段は、 伝 送状態を検知し、 前記差分評価およびこの検知結果に基づいて、 前記伝送方法を 変更する。 したがって、 伝送状態に応じて、 伝送方法を変更することができる。 本発明にかかる動画データ符号化装置においては、 前記符号化伝送手段は、 予 め設定されている差分しきい値と比較することにより、 前記伝送対象プロックデ In the moving picture data encoding device according to the present invention, the encoded transmission unit detects a transmission state, and changes the transmission method based on the difference evaluation and the detection result. Therefore, the transmission method can be changed according to the transmission state. In the moving picture data encoding device according to the present invention, the encoding transmission unit compares the transmission target block data by comparing with a preset difference threshold value.
— 4 I — 0 T/JP 7 1 — 4 I — 0 T / JP 7 1
一夕を抽出する。 したがって、 前記差分しきい値を越える差分評価を有するプロ ックを伝送対象として決定することができる。 これにより、 変動が大きなブロッ クデータだけ伝送することができる。 Extract the evening. Therefore, a block having a difference evaluation exceeding the difference threshold can be determined as a transmission target. As a result, only block data having large fluctuations can be transmitted.
本発明にかかる動画データ符号化装置においては、 前記符号化伝送手段は、 前 記一画面分の画像データのブロックデータの各差分評価の評価値分布にかかわら ず、 予め設定されている割合のブロックデータについて前記伝送対象ブロックデ 一夕を抽出する。 したがって、 一定の割合のブロックデータを伝送することがで きる。 これにより、 伝送レート等を一定に保つことができる。  In the moving image data encoding apparatus according to the present invention, the encoding transmission unit may include a block having a predetermined ratio of blocks irrespective of the evaluation value distribution of each difference evaluation of the block data of the image data for one screen. The transmission target block data is extracted from the data. Therefore, a certain percentage of block data can be transmitted. Thereby, the transmission rate and the like can be kept constant.
本発明にかかる動画データ符号化装置においては、 前記符号化伝送手段は、 1) 前記符号化対象のブロックデータについて、 所定数のプロック毎に変換基準値を 決定し、 当該所定数のブロックを構成する各ブロック構成デ一夕を、 前記変換基 準値に対する相対値で表される相対プロックデータに変換する第 1変換手段およ び 2)前記変換後の相対ブロックデータを予め記憶された候補デー夕によって符号 化し、 各ブロックごとに符号化データを出力するとともに、 所定数のブロック毎 に前記変換基準値を出力する相対ブロックデ一夕符号化手段を備えている。 この ように、 前記所定数のブロック毎に前記相対基準値を用いて、 前記相対ブロック データに変換して、 符号化することにより、 記憶する候補データを滅らしても、 精度の高い圧縮が可能となる。 また、 記憶する候補データを減らせることにより、 高速符号化も可能となる。  In the moving picture data encoding device according to the present invention, the encoding transmission unit: 1) determines a conversion reference value for each of a predetermined number of blocks for the block data to be encoded, and configures the predetermined number of blocks. First conversion means for converting each block configuration data to be converted into relative block data represented by a relative value with respect to the conversion reference value; and 2) candidate data in which the converted relative block data is stored in advance. And a relative block data encoding means for outputting encoded data for each block and outputting the conversion reference value for each predetermined number of blocks. As described above, by converting the data into the relative block data using the relative reference value for each of the predetermined number of blocks and encoding the data, high-precision compression is possible even if the stored candidate data is lost. Becomes Also, by reducing the number of candidate data to be stored, high-speed encoding becomes possible.
本発明にかかる動画デ一夕符号化装置においては、 前記各ブロック構成データ は 2進数で表記されており、 前記相対ブロックデ一夕符号化手段は、 さらに、 前 記各ブロックデ一夕毎の符号化を行なう前に、 所定ブロック毎に、 各ブロック構 成データのうち最大値のプロック構成データについて最上位ビットから 0が何ビ ット連統しているかを示すシフト可能ビット量を求め、 所定ブロック毎に前記シ フト可能ビット量に基づいて各ブロック構成データを可逆性左シフ卜演算し、 前 記符号化を行ない、 所定ブロック毎にシフト可能ピット量を出力する。 したがつ て、 精度を落とすことなく記慷する候補データを減らすことができる。  In the moving picture decoding apparatus according to the present invention, each of the block configuration data is represented by a binary number, and the relative block decoding processing means further includes: Before coding, for each predetermined block, a shiftable bit amount indicating how many 0s are connected from the most significant bit in the block configuration data having the maximum value among the block configuration data is obtained, A reversible left shift operation is performed on each block configuration data on the basis of the shiftable bit amount for each predetermined block, the encoding is performed, and the shiftable pit amount is output for each predetermined block. Therefore, useful candidate data can be reduced without reducing accuracy.
本発明にかかる動画データ符号化装置においては、 前記所定ブロック数は 1ブ ロックである。 したがって、 各ブロック毎に相対値を決定することができる。 本発明にかかる動画データ符号化装置においては、 前記第 1変換手段は、 前記 プロック構成デ一夕を前記相対プロック構成デ一夕に変換する際に直交変換を行 なう。 したがって、 より精度の高い変換を行なうことができる。 In the moving picture data encoding device according to the present invention, the predetermined number of blocks is one block. Therefore, a relative value can be determined for each block. In the moving picture data encoding device according to the present invention, the first conversion means performs an orthogonal transform when converting the block configuration data into the relative block configuration data. Therefore, more accurate conversion can be performed.
本発明にかかる動画データ符号化装置においては、 前記第 1変換手段は、 相対 ブロックデ一夕に変換した後、 前記直交変換を行なう。 したがって、 より精度の 高い変換を行なうことができる。  In the moving picture data encoding device according to the present invention, the first transforming unit performs the orthogonal transform after performing a relative block de-conversion. Therefore, more accurate conversion can be performed.
本発明にかかる動画データ符号化装置においては、 前記第 1変換手段は、 相対 プロックデ一夕に変換した後、 前記符号化対象のプロックデータを構成する各ブ ロック構成データを、 前記可逆性左ビットシフト演算する。 このように、 相対化 した後、 可逆性左シフトすることにより、 分解能を高めることができる。  In the moving picture data encoding device according to the present invention, the first conversion unit converts the block configuration data constituting the block data to be encoded into the relative block data after converting the block data into a relative block data. Perform a shift operation. As described above, the reversibility is shifted leftward after relativization, so that the resolution can be increased.
本発明にかかる動画デ一夕符号化装置においては、 前記第 1変換手段は、 前記 直交変換後、 前記可逆性左シフト演算する。 このように、 相対化した後、 可逆性 左シフトし、 直交変換することにより、 分解能を高めることができる。  In the moving picture decoding apparatus according to the present invention, the first conversion unit performs the reversible left shift operation after the orthogonal transformation. In this way, after relativization, reversibility is left-shifted and orthogonally transformed, so that the resolution can be increased.
本発明にかかる動画データ符号化装置においては、 相対値で表される複数のブ ロック構成データから構成される相対ブロックデータおよびこれに対応する符号 を候補データとして、 複数記憶しておき、 前記符号化対象のブロックデータに基 づいて当該ブロックデータにおける変換基準値を決定し、 当該ブロックデータを 構成する各ブロック構成データを、 前記変換基準値に対する相対値で表される相 対ブロックデータに変換する。 そして、 前記相対ブロックデータ記憶手段に記憶 された候補データを用いて、 前記相対ブロックデータを符号化し、 この相対符号 デ一夕および前記変換基準値を出力する。  In the moving picture data encoding device according to the present invention, a plurality of relative block data composed of a plurality of block configuration data represented by relative values and a code corresponding to the relative block data are stored as candidate data. A conversion reference value in the block data is determined based on the block data to be converted, and each block configuration data included in the block data is converted into relative block data represented by a relative value to the conversion reference value. . Then, the relative block data is encoded using the candidate data stored in the relative block data storage means, and the relative code data and the conversion reference value are output.
このように、 前記相対基準値を用いて、 前記相対ブロックデータに変換して、 符号化することにより、 記憶する候補データを減らしても、 精度の高い圧縮が可 能となる。 また、 記愴する候補データを減らせることにより、 高速符号化も可能 となる。  As described above, by converting to the relative block data using the relative reference value and encoding the data, highly accurate compression can be performed even if the number of candidate data to be stored is reduced. Also, by reducing the number of pathological candidate data, high-speed encoding becomes possible.
本発明にかかる動画データ復号化装匱、 動画データ復号化方法においては、 ブ ロックデータを符号化した符号化後ブロックデータおよびそのブロック I Dが与 えられると、 この符号化後ブロックデータを復号化し、 前記基準画像データおよ び前記復号化されたブロックデ一夕に基づき、 前記基準画像デ一夕の次のフレー ムの画像データを生成するとともに、 前記符号化基準画像データを、 前記次フレ ーム画像データに書換える。 したがって、 本発明にかかる動画デ一夕符号化装置 から伝送された符号化デ一夕を受信して、 これを復号化することができる。 本発明にかかる動画デ一夕複号化装置においては、 前記復号化手段は、 前記相 対ブロックデータおよびこれに対応する符号を候補データとして、 複数記憶して おき、 前記相対符号デ一夕を、 前記記憶された候補データを用いて、 復号化する とともに、 当該ブロックデータにおける変換基準値に基づいて、 前記復号化され た相対ブロックデータを、 符号化前の相対ブロックデータに変換する。 したがつ て、 前記相対符号データおよび前記変換基準値が与えられると、 これを復号化す ることができる。 In the moving picture data decoding apparatus and the moving picture data decoding method according to the present invention, when the coded block data obtained by coding the block data and its block ID are given, the coded block data is decoded. A frame next to the reference image data is generated based on the reference image data and the decoded block data. The image data of the next frame is generated, and the encoded reference image data is rewritten to the next frame image data. Therefore, it is possible to receive the encoded data transmitted from the moving image data encoding apparatus according to the present invention and decode it. In the moving picture decoding apparatus according to the present invention, the decoding means stores a plurality of the relative block data and codes corresponding thereto as candidate data, and stores the relative code data. The decoding is performed using the stored candidate data, and the decoded relative block data is converted into the relative block data before encoding based on the conversion reference value in the block data. Therefore, when the relative code data and the conversion reference value are provided, they can be decoded.
本発明にかかる動画デ一夕符号化装置またはその復号化方法においては、 前記 符号化対象の画像データを構成するブロックデータと、 前記符号化基準画像デー 夕の対応プロックデ一夕との差分評価を演算して、 前記各プロックデータの差分 評価に基づいて、 符号化するブロックデータを決定する。 したがって、 動画デー 夕の特性に応じた符号化ができる。  In the moving image decoding apparatus or the decoding method according to the present invention, the difference evaluation between the block data constituting the image data to be encoded and the corresponding block data of the encoding reference image data is performed. Then, block data to be encoded is determined based on the difference evaluation of each block data. Therefore, encoding according to the characteristics of moving image data can be performed.
本発明にかかる動画データ復号化装置またはその復号化方法においては、 プロ ックデ一夕を符号化した符号化後ブロックデータおよびそのブロック I Dが与え られると、 この符号化後ブロックデータを復号化し、 前記基準画像デ一夕および 前記復号化されたプロックデ一夕に基づき、 前記基準画像デ一夕の次のフレーム の画像データを生成する。 そして、 前記符号化基準画像データを、 前記次フレー ム画像データに書換える。 したがって、 本発明にかかる動画データ符号化装置か ら伝送された符号化データを受信して、 これを復号化することができる。  In the moving picture data decoding device or the decoding method thereof according to the present invention, when the coded block data obtained by coding the block data and the block ID thereof are given, the coded block data is decoded. Based on the reference image data and the decoded block data, image data of a frame next to the reference image data is generated. Then, the encoding reference image data is rewritten to the next frame image data. Therefore, it is possible to receive the encoded data transmitted from the moving image data encoding device according to the present invention and decode the encoded data.
4 4 4 4
差替え用紙 (規貝 IJ26)  Replacement paper (Kaikai IJ26)

Claims

請求の範囲 複数の画素にて構成される一画面分の画像デ一夕を符号化基準画像データとし て記憶する符号化基準画像データ記憶手段、  Claims: Encoded reference image data storage means for storing one screen of image data composed of a plurality of pixels as encoded reference image data,
与えられた符号化対象の画像データを複数のブロックデータに分割し、 分割し た各ブロックデータについて、 前記符号化基準画像デ一夕の対応ブロックデータ と異なるブロックデ一夕を符号化対象ブロックデータとして符号化して、 当該符 号化した符号化後ブロックデータをプロック I Dとともに、 伝送する符号化伝送 手段、  Given image data to be encoded is divided into a plurality of block data, and for each of the divided block data, a block data different from the corresponding block data of the encoding reference image data is encoded. Encoding transmission means for transmitting the encoded block data together with the block ID,
を備えた動画データ符号化装置において、  In the moving image data encoding device provided with
前記符号化対象の画像データを構成するブロックデータと、 前記符号化基準画 像データの対応ブロックデータとの差分評価を演算する差分評価演算手段を備え、 前記符号化伝送手段は、 前記各ブロックデータの差分評価に基づいて、 与えら れた符号化対象の画像デ一夕の伝送方法を変更して伝送すること、  A differential evaluation operation unit for calculating a difference evaluation between block data constituting the image data to be encoded and corresponding block data of the encoding reference image data, wherein the encoding transmission unit comprises: Changing the transmission method of the given image data to be encoded based on the difference evaluation of
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
2 . 2.
請求項 1の動画データ符号化装置において、  The moving image data encoding device according to claim 1,
前記符号化伝送手段は、 前記各ブロックデータの差分評価に基づいて、 符号化 対象である複数のブロックデータから伝送対象ブロックデ一夕を抽出することに より、 前記伝送方法を変更すること、  The encoding transmission unit changes the transmission method by extracting a transmission target block data from a plurality of block data to be encoded based on the difference evaluation of each block data,
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
3 . 3.
請求項 2の動画データ符号化装置において、  The moving picture data encoding device according to claim 2,
前記符号化基準画面デ一夕のブロックデ一夕を、 前記伝送対象プロックデータ を用いて書換える符号化基準画像データ書換え手段を備えたこと、  An encoding reference image data rewriting unit that rewrites the block reference image of the encoding reference screen data using the transmission target block data.
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
5 ― Five -
4 . Four .
請求項 1の動画データ符号化装置において、  The moving image data encoding device according to claim 1,
前記符号化伝送手段は、 伝送対象プロックデータについて前記各ブロックデー 夕の差分評価に基づいて伝送条件を変更することにより、 前記伝送方法を変更す ること、  The encoding transmission means changes the transmission method by changing transmission conditions for the block data to be transmitted based on the difference evaluation of each block data;
を特徵とする動面デ一夕符号化装置。  A moving image decoding apparatus characterized in that:
5 . Five .
請求項 1の動画デ一夕符号化装置において、  The moving picture data encoding apparatus according to claim 1,
前記符号化伝送手段は、 前記一画面分の画像データのブロックデータの各差分 評価の評価値分布に応じて、 前記伝送方法を変更すること、  The encoding transmission unit changes the transmission method according to an evaluation value distribution of each difference evaluation of block data of the image data for one screen,
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
6 . 6.
請求項 1の動画データ符号化装置において、  The moving image data encoding device according to claim 1,
前記符号化伝送手段は、 伝送状態を検知し、 前記差分評価およびこの検知結果 に基づいて、 前記伝送方法を変更すること、  The encoded transmission unit detects a transmission state, and changes the transmission method based on the difference evaluation and the detection result;
を特徴とする動画データ符号化装懂。  A moving picture data encoding device characterized by the following.
7 . 7.
請求項 2の動画データ符号化装置において、  The moving picture data encoding device according to claim 2,
前記符号化伝送手段は、 予め設定されている差分しきい値と比較することによ り、 前記伝送対象ブロックデータを抽出すること、  The encoded transmission unit extracts the transmission target block data by comparing with a preset difference threshold value;
を特徴とする動画データ符号化装僮。  A moving picture data encoding device characterized by the following.
8 . 8.
請求項 4の動画データ符号化装置において、  The moving picture data encoding device according to claim 4,
前記符号化伝送手段は、 予め設定されている差分しきい値と比較することによ り、 前記伝送条件を変更すること、 を特徵とする動画データ符号化装置。 The encoded transmission unit changes the transmission condition by comparing with a preset difference threshold value; Moving image data encoding apparatus.
9 . 9.
請求項 2の動画データ符号化装置において、  The moving picture data encoding device according to claim 2,
前記符号化伝送手段は、 前記一画面分の画像データのブロックデータの各差分 評価の評価値分布にかかわらず、 予め設定されている割合のブロックデータにつ いて前記伝送対象プロックデ一夕を抽出すること、  The encoding transmission means extracts the transmission target block data for a predetermined percentage of block data regardless of the evaluation value distribution of each difference evaluation of the block data of the image data for one screen. thing,
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
1 0 . Ten .
請求項 4の動画データ符号化装置において、  The moving picture data encoding device according to claim 4,
前記符号化伝送手段は、 前記一画面分の画像データのブロックデ一夕の各差分 評価の評価値分布にかかわらず、 予め設定されている割合のプロックデータにつ いて前記伝送条件を変更すること、  The coded transmission means changes the transmission condition for a preset ratio of block data regardless of the evaluation value distribution of each difference evaluation of the block data of the image data for one screen. ,
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
請求項 1〜 1 0のいずれかの動画データ符号化装置において、 In the moving image data encoding device according to any one of claims 1 to 10,
前記符号化伝送手段は、 以下の手段 1)〜2)を備えていること、  The coded transmission means includes the following means 1) to 2),
1 )前記符号化対象のブロックデ一夕について、 所定数のブロック毎に変換基準 値を決定し、 当該所定数のブロックを構成する各ブロック構成デ一夕を、 前記変 換基準値に対する相対値で表される相対プロックデータに変換する第 1変換手段、 1) For the block data to be encoded, a conversion reference value is determined for each of a predetermined number of blocks, and each block configuration data constituting the predetermined number of blocks is determined as a relative value with respect to the conversion reference value. First conversion means for converting to relative block data represented by
2)前記変換後の相対ブロックデータを予め記憶された候補データによって符号 化し、 各ブロックごとに符号化データを出力するとともに、 所定数のブロック毎 に前記変換基準値を出力する相対ブロックデ一夕符号化手段、 2) The relative block data after the conversion is coded by candidate data stored in advance, and coded data is output for each block, and the conversion reference value is output for each predetermined number of blocks. Encoding means,
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
1 2 . 1 2.
請求項 1 1の動画データ符号化装置において、 前記各ブロック構成データは 2進数で表記されており、 The moving image data encoding device according to claim 11, Each of the block configuration data is represented by a binary number,
前記相対ブロックデータ符号化手段は、 さらに、 前記各ブロックデータ毎の符 号化を行なう前に、 所定ブロック毎に、 各ブロック構成データのうち最大値のブ ロック構成デ一夕について最上位ビッ 卜から 0が何ビット連続しているかを示す シフト可能ビット量を求め、 所定ブロック毎に前記シフト可能ビッ ト量に基づい て各ブロック構成デ一夕を可逆性左シフ ト演算し、 前記符号化を行ない、 所定ブ ロック毎にシフト可能ビッ卜量を出力すること、  The relative block data encoding means may further include, before performing the encoding for each block data, for each predetermined block, the most significant bit in the block configuration data having the maximum value among the block configuration data. , A shiftable bit amount indicating how many bits are consecutive from 0 is calculated, a reversible left shift operation is performed on each block configuration data based on the shiftable bit amount for each predetermined block, and the encoding is performed. Output the amount of shiftable bits for each predetermined block,
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
1 3 . 13 .
請求項 1 2の動画データ符号化装置において、  The moving image data encoding device according to claim 12,
前記所定プロック数は 1プロックであること、  The predetermined number of blocks is one block,
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
1 4 . 14 .
請求項 1 1〜請求項 1 3のいずれかの動画デ一夕符号化装置において、 前記第 1変換手段は、 前記プロック構成データを前記相対プロック構成データ に変換する際に直交変換を行なうこと、  The moving image decoding apparatus according to any one of claims 11 to 13, wherein the first conversion unit performs orthogonal transformation when converting the block configuration data into the relative block configuration data.
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
1 5 . 1 5.
請求項 1 4の動画データ符号化装置において、  The moving image data encoding device according to claim 14,
前記第 1変換手段は、 相対ブロックデータに変換した後、 前記直交変換を行な うこと、  The first converting means performs the orthogonal transform after converting the data into relative block data;
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
1 6 . 1 6.
請求項 1 5の動画データ符号化装置において、  The moving image data encoding device according to claim 15,
前記第 1変換手段は、 相対ブロックデータに変換した後、 前記符号化対象のブ  The first converting means converts the block to be encoded into
— 8 —  — 8 —
差替 え 用紙 (規則 26) ロックデータを構成する各ブロック構成データを、 前記可逆性左ビットシフト演 算すること、 Replacement form (Rule 26) Subjecting each block configuration data constituting the lock data to the reversible left bit shift operation,
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
1 7 . 1 7.
請求項 1 5の動画データ符号化装置において、  The moving image data encoding device according to claim 15,
前記第 1変換手段は、 前記直交変換後、 前記可逆性左シフト演算すること、 を特徵とする動画データ符号化装置。  The moving image data encoding device, characterized in that the first transforming unit performs the reversible left shift operation after the orthogonal transform.
1 8 . 1 8.
動画データ符号化装置から伝送された符号化データを受信してこれを復号化す る動画データ復号化装置であって、  A moving image data decoding device for receiving encoded data transmitted from the moving image data encoding device and decoding the encoded data,
A) 複数の画素にて構成される一画面分の画像データを符号化基準画像データ として記憶する符号化基準画像データ記憶手段、  A) encoding reference image data storage means for storing one screen of image data composed of a plurality of pixels as encoding reference image data;
B ) ブロックデ一夕を符号化した符号化後ブロックデータおよびそのブロック I Dが与えられると、 この符号化後ブロックデータを復号化する復号化手段、 B) Given encoded block data obtained by encoding the block data and its block ID, decoding means for decoding the encoded block data;
C ) 前記符号化基準画像データおよび前記復号化されたブロックデータに基づ き、 前記基準画像データの次のフレームの画像データを生成する次フレーム画像 データ生成手段、 C) 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;
D ) 前記符号化基準画像データ記慷手段の前記符号化基準画像データを、 前記 次フレーム画像データに書換える符号化基準画像データ書換え手段、  D) encoding reference image data rewriting means for rewriting the encoding reference image data of the encoding reference image data useful means to the next frame image data;
を備えたことを特徴とする動画データ復号化装置。  A moving image data decoding device comprising:
1 9 . 1 9.
請求項 1 8の動画データ復号化装置において、  The moving picture data decoding device according to claim 18,
前記復号化手段は、 複数のブロック構成データから構成されるブロックデータ の変換基準値を用いて変換された相対ブロックデータを符号化した相対符号デー 夕、 および当該ブロックデータにおける変換基準値が与えられると、 以下の手段 1)〜3)によりこれを復号化すること、 G前記相対プロックデータおよびこれに対応する符号を候補データとして、 複数記憶する相対ブロックデータ記憶手段、 The decoding means is provided with relative code data obtained by encoding relative block data converted using a conversion reference value of block data composed of a plurality of block configuration data, and a conversion reference value in the block data. And decoding it by the following means 1) to 3), G relative block data storage means for storing a plurality of relative block data and a code corresponding thereto as candidate data,
2)前記相対符号データを、 前記相対ブロックデータ記惊手段に記憶された 候補データを用いて、 復号化する相対ブロックデータ復号化手段、  2) relative block data decoding means for decoding the relative code data using candidate data stored in the relative block data recording means,
3)前記復号化された相対ブロックデータを、 当該ブロックデータにおける 変換基準値を用いて、 符号化前の相対プロックデータに変換する第 2変換手段、 を特徵とする動画データ復号化装置,  3) second conversion means for converting the decoded relative block data into relative block data before encoding by using a conversion reference value in the block data;
2 0 . 2 0.
複数の画素にて構成される一画面分の画像データを符号化基準画像データとし て記像しておき、 与えられた符号化対象の画像デ一夕を複数のブロックデ一夕に 分割し、 分割した各ブロックデータについて、 前記符号化基準画像データの対応 ブロックデータと異なるブロックデータを符号化対象ブロックデータとして符号 化して、 当該符号化したブロックの符号化後ブロックデータをそのブロック I D とともに、 伝送する動画データ符号化方法において、  Image data of one screen composed of a plurality of pixels is recorded as encoding reference image data, and a given image data to be encoded is divided into a plurality of block data, For each of the divided block data, block data different from the corresponding block data of the coding reference image data is coded as block data to be coded, and the coded block data of the coded block is transmitted together with its block ID. Moving image data encoding method,
前記符号化対象の画像データを構成するプロックデータと、 前記符号化基準画 像データの対応ブロックデータとの差分評価を演算し、 前記各ブロックデータの 差分評価に基づいて、 与えられた符号化対象の画像データの伝送方法を変更して 伝送すること、  The difference evaluation between the block data constituting the image data to be encoded and the corresponding block data of the encoding reference image data is calculated, and based on the difference evaluation of each block data, the given encoding target is calculated. Changing the transmission method of the image data of
を特徴とする動画データ符号化方法。  A moving image data encoding method characterized by the following.
2 1 . twenty one .
符号化データを受信してこれを復号化する動画データ復号化方法であって、 複数の画素にて構成される一画面分の画像デ一夕を基準画像デ一夕として記憶 しておき、  A moving image data decoding method for receiving encoded data and decoding the encoded data, wherein an image data for one screen composed of a plurality of pixels is stored as a reference image data,
ブロックデータを符号化した符号化後ブロックデ一夕およびそのブロック I D が与えられると、 この符号化後ブロックデータを復号化し、  Given an encoded block data that encodes block data and its block ID, the encoded block data is decoded,
前記基準画像デー夕および前記復号化されたブロックデータに基づき、 前記基 準画像デ一夕の次のフレームの画像データを生成するとともに、 前記符号化基準画像データを、 前記次フレーム画像データに書換えること、 を特徴とする動画データ復号化方法。 Based on the reference image data and the decoded block data, generate image data of a frame next to the reference image data, Rewriting the coded reference image data with the next frame image data.
2 2 . twenty two .
複数の画素にて構成される一画面分の画像データを符号化基準画像データとし て記憶する符号化基準画像データ記憶手段、  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と対応させて符号化する符号化手段、  The given encoding target image data is divided into a plurality of block data, and for each divided block data, a block data different from the corresponding block data of the encoding reference image data is encoded. Encoding means for determining as block data to be encoded, and encoding the block data corresponding to the block ID;
を備えた動画データ符号化装置において、  In the moving image data encoding device provided with
前記符号化対象の画像データを構成するブロックデータと、 前記符号化基準画 像データの対応ブロックデータとの差分評価を演算する差分評価演算手段を備え、 前記符号化手段は、 前記各ブロックデータの差分評価に基づいて、 符号化する プロックデ一夕を決定すること、  The image processing apparatus further includes a difference evaluation operation unit configured to calculate a difference evaluation between the block data configuring the image data to be encoded and the corresponding block data of the encoding reference image data. Determining the block to be encoded based on the difference evaluation;
を特徴とする動画データ符号化装置。  A moving image data encoding device characterized by the following.
2 3 . twenty three .
動画データ符号化装置にて符号化された符号化デ一夕を復号化する動画デ一夕 復号化装置であって、  A moving picture data decoding apparatus for decoding the coded data encoded by the moving picture data coding apparatus,
A) 複数の画素にて構成される一画面分の画像データを基準画像データとして 記億する基準画像デー夕記憶手段、  A) reference image data storage means for storing one screen of image data composed of a plurality of pixels as reference image data;
B ) ブロックデータを符号化した符号化後プロックデータおよびそのブロック I Dが与えられると、 この符号化後プロックデ一夕を復号化する復号化手段、 B) Decoding means for decoding the block data after the block data after the block data is encoded and the block ID thereof are given;
C ) 前記基準画像データおよび前記復号化されたブロックデ一夕に基づき、 前 記基準画像デ一夕の次のフレームの画像データを生成する次フレーム画像デ一夕 生成手段、 C) based on the reference image data and the decoded block data, a next frame image data generation means for generating image data of a frame next to the reference image data,
D ) 前記符号化基準画像データ記憶手段の前記符号化基準画像データを、 前記 次フレーム画像データに書換える符号化基準画像データ書換え手段、  D) encoding reference image data rewriting means for rewriting the encoding reference image data of the encoding reference image data storage means to the next frame image data;
— 5 I — 差替え用紙 (規則 26) を備えたことを特徴とする動画デ一夕復号化装置。 — 5 I — Replacement Form (Rule 26) A moving picture data overnight decoding device comprising:
2 4 . twenty four .
複数の画素にて構成される一画面分の画像データを符号化基準画像データとし て記憶しておき、 与えられた符号化対象の画像データを複数のブロックデータに 分割し、 分割した各ブロックデ一夕について、 前記符号化基準画像データの対応 ブロックデ一夕と異なるブロックデータを、 符号化対象ブロックデータとしてそ のブロック I Dと対応させて符号化する動画データ符号化方法において、 前記符号化対象の画像デー夕を構成するブロックデータと、 前記符号化基準画 像デー夕の対応ブロックデ一夕との差分評価を演算し、 前記各ブロックデ一夕の 差分評価に基づいて、 符号化するブロックデータを決定すること、  One screen of image data 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 each of the divided block data is encoded. In the moving image data encoding method, the block data different from the block data corresponding to the encoding reference image data is encoded as the encoding target block data in association with the block ID. Calculates the difference evaluation between the block data constituting the image data and the corresponding block data of the coding reference image data, and based on the difference evaluation of each block data, the block to be coded. Determining data,
を特徴とする動画デ一夕符号化方法。  A moving picture data encoding method characterized by the following.
2 5 . twenty five .
符号化デー夕を復号化する動画デー夕復号化方法であつて、  A moving image data decoding method for decoding encoded data,
複数の画素にて構成される一画面分の画像データを符号化基準画像データとし て記憶しておき、  One screen of image data composed of a plurality of pixels is stored as encoding reference image data,
ブロックデー夕を符号化した符号化後ブロックデータおよびそのブロック I D が与えられると、 この符号化後ブロックデ一夕を復号化し、  Given encoded block data obtained by encoding block data and its block ID, the encoded block data is decoded,
前記基準画像デー夕および前記復号化されたブロックデータに基づき、 前記基 準画像デ一夕の次のフレームの画像データを生成し、  Based on the reference image data and the decoded block data, generate image data of a frame next to the reference image data,
前記符号化基準画像データを、 前記次フレーム画像データに書換えること、 を特徴とする動画データ復号化方法。  Rewriting the coded reference image data with the next frame image data.
2 6 . 2 6.
コンピュータが実行可能なプログラムを記憶したコンピュータ可読の記憶媒体 であって、 前記プログラムは、 請求項 1ないし請求項 2 5のいずれかの装置又は 方法を実現するものであること、  A computer-readable storage medium storing a computer-executable program, wherein the program implements the device or method according to any one of claims 1 to 25.
を特徴とする記憶媒体。  A storage medium characterized by the above-mentioned.
差替 え 用紙(規則 26) Replacement form (Rule 26)
PCT/JP1997/001918 1996-06-07 1997-06-05 Device and method for encoding animations data and device and method for decoding animations data WO1997047140A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU29790/97A AU2979097A (en) 1996-06-07 1997-06-05 Device and method for encoding animations data and device and method for decoding animations data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP14585696 1996-06-07
JP8/145856 1996-06-07

Publications (1)

Publication Number Publication Date
WO1997047140A1 true WO1997047140A1 (en) 1997-12-11

Family

ID=15394672

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1997/001918 WO1997047140A1 (en) 1996-06-07 1997-06-05 Device and method for encoding animations data and device and method for decoding animations data

Country Status (2)

Country Link
AU (1) AU2979097A (en)
WO (1) WO1997047140A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100423581C (en) * 2002-12-30 2008-10-01 Nxp股份有限公司 Coding/decoding method and its device for dynamic image

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61201522A (en) * 1985-03-05 1986-09-06 Mitsubishi Electric Corp Vector quantizing coder
JPS62164392A (en) * 1986-01-14 1987-07-21 Mitsubishi Electric Corp Encoding device for inter-frame adaptive vector quantization
JPS63227218A (en) * 1987-03-17 1988-09-21 Fujitsu Ltd Adaptive vector quantization system
JPH0366226A (en) * 1989-08-05 1991-03-20 Matsushita Electric Ind Co Ltd Encoder and decoder
JPH04181888A (en) * 1990-11-16 1992-06-29 Seiko Epson Corp Moving picture data compressor
JPH07231444A (en) * 1994-02-18 1995-08-29 Fujitsu Ltd Encoder/decorder and encoding and decoding method
JPH07288474A (en) * 1994-04-20 1995-10-31 Matsushita Electric Ind Co Ltd Vector quantization coding/decoding device
JPH0854900A (en) * 1994-08-09 1996-02-27 Yamaha Corp Coding/encoding system by vector quantization

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61201522A (en) * 1985-03-05 1986-09-06 Mitsubishi Electric Corp Vector quantizing coder
JPS62164392A (en) * 1986-01-14 1987-07-21 Mitsubishi Electric Corp Encoding device for inter-frame adaptive vector quantization
JPS63227218A (en) * 1987-03-17 1988-09-21 Fujitsu Ltd Adaptive vector quantization system
JPH0366226A (en) * 1989-08-05 1991-03-20 Matsushita Electric Ind Co Ltd Encoder and decoder
JPH04181888A (en) * 1990-11-16 1992-06-29 Seiko Epson Corp Moving picture data compressor
JPH07231444A (en) * 1994-02-18 1995-08-29 Fujitsu Ltd Encoder/decorder and encoding and decoding method
JPH07288474A (en) * 1994-04-20 1995-10-31 Matsushita Electric Ind Co Ltd Vector quantization coding/decoding device
JPH0854900A (en) * 1994-08-09 1996-02-27 Yamaha Corp Coding/encoding system by vector quantization

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100423581C (en) * 2002-12-30 2008-10-01 Nxp股份有限公司 Coding/decoding method and its device for dynamic image

Also Published As

Publication number Publication date
AU2979097A (en) 1998-01-05

Similar Documents

Publication Publication Date Title
JP4698739B2 (en) Image compression for computer graphics
JP5623565B2 (en) Apparatus and method for encoding and calculating a discrete cosine transform using a butterfly processor
Lin et al. Reversible data hiding for VQ-compressed images based on search-order coding and state-codebook mapping
US7860328B2 (en) Compression processing apparatus and compression processing method
US4910608A (en) Imagery data compression mechanism employing adaptive vector quantizer
Chang et al. Lossless recovery of a VQ index table with embedded secret data
CN110445949B (en) Histogram shift-based AMBTC domain reversible information hiding method
US6614939B1 (en) Image compression apparatus and decoding apparatus suited to lossless image compression
CN111464717B (en) Reversible information hiding method with contrast ratio pull-up by utilizing histogram translation
WO1997047140A1 (en) Device and method for encoding animations data and device and method for decoding animations data
JP2000114974A (en) Encoding device
US7450769B2 (en) Image processing method for facilitating data transmission
JP2005533419A (en) Video image data compression and decompression method
Zheng et al. An adjustable RDH method for AMBTC-compressed images using unilateral pixel value modification strategy
JP3781012B2 (en) Image data compression method, image data expansion method, and image data expansion circuit
Sheu et al. A lossless index coding algorithm and VLSI design for vector quantization
JPH09247466A (en) Encoding device
Lu et al. Effective Dual-images based Reversible Information Hiding Scheme based on Complexity Analysis and Thresholds Controlling
WO1997039531A1 (en) Encoder, decoder, encoding method and decoding method
CN117440154B (en) Depth map sequence compression method considering floating point digital splitting
JPH04326667A (en) Compression and expansion device for picture data
Uma et al. Reversible data hiding technique using AMBTC based bitmap manipulation
JPH07249995A (en) Data encoding device
Manohar et al. A centroid based vector quantization reversible data hiding technique
JP3265928B2 (en) Fractal image compression device

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 HU 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 TJ TM TR TT UA UG US UZ VN YU AM AZ BY KG KZ MD RU TJ TM

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH KE LS MW SD SZ UG AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
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