HIGH EFFICIENCY TECHNIQUE FOR CODING A DIGITAL VIDEO SIGNAL

Abstract: High efficiency apparatus for coding digital video data in which the number of bits per picture element in the video data such as a digital video signal or the like is compressed. The video data of a television picture plane is divided into a number of three-dimensional blocks, i.e., spatial blocks. The picture element data in the block can be coded by the reduced number of bits by the bit compression by performing the coding process adapted to the narrowed dynamic range on the basis of the correlation among the picture elements in each block. The transmission data of the number of bits reduced as compared with the number of bits of the original data can be formed. By coding only the necessary frame by discriminating the movement of the image in the block, the redundancy in the direction of time can be removed.

Description: The present invention relates to a high efficiency coding technique and, more particularly, to a high efficiency coding apparatus for compressing the number of bits per picture element of video data such as a digital television signal or the like. As methods of coding a television signal, there are several known methods of reducing the average number of bits per picture element or lowering the sampling frequency in order to narrow the transmission band. As the coding methods of lowering the sampling frequency, there is proposed the method whereby the video data is thinned out into 1/2 by subsampling and the subsampling point and the flag indicative of the position of the subsampling point which is used upon interpolation (namely, representing which data at the sampling point in the vertical or horizontal direction of the interpolation points is used) are transmitted. A DPCM (differential PCM) method is known as one of the coding methods of reducing the average number of bits per picture element. In the DPCM method, an attention is paid to that there is a high correlation among the picture elements of the video signal and the difference between the adjacent picture elements is small, and this difference signal is digitized and transmitted. As another coding method of reducing the average number of bits per picture element, there is known the method whereby a picture plane of one field is divided into small blocks, and the deviation between the level of the picture element at the representative point in one block and the level distribution of the data in this block is transmitted for every block. According to the coding method of reducing the sampling frequency by subsampling, the sampling frequency is reduced by 50%, so that there is the fear of occurrence of aliasing distortion. The DPCM method has the problem such that the coding error is propagated to the subsequent coding process. The method of coding on a block unit basis has the drawback such that a block distortion occurs at the boundary between blocks. The "IEEE International Symposium on Circuits and Systems Proceedings", Chicago, 27th-29th April 1981, vol.1, pages 92-96, IEEE, New York, US discloses a method of coding and transmitting digital television signals by which the change of successive values of the picture is matched to a preset pattern, a code representing the selected pattern then being transmitted together with data indicating the maximum and minimum values of the digital television signal in a block. Although the above technique relates to the reversible coding and has the advantage such that the reproduced picture quality hardly deteriorates, it has the disavantages such that the compression rate is not so high and there is the possibility of occurrence of errors in the actual transmission. EP-A-0185533 and EP-A-0186444 are earlier applications of the applicant. They disclose high­ efficiency encoding techniques. They are only relevant from the point of view of Article 54(3). The present invention intends to provide a high efficiency coding apparatus which can eliminate the problems of occurrence of aliasing distortion, propagation of error, occurrence of block distortion, and the like in the foregoing conventional techniques. Accordingly, it is an object of the present invention to provide a high efficiency coding apparatus which can eliminate the problems of the foregoing conventional techniques, such as the occurrence of aliasing distortion, the propagation of coding error, and the occurrence of block distortion. Another object of the invention is to provide a high efficiency coding apparatus in which the compression rate of the data is relatively high with a high fidelity. Further, another object of the invention is to provide a decoding apparatus in which the reproduced picture based on the decoded data is free from jerkiness. According to an aspect of the present invention, there is provided a high efficiency coding apparatus for coding digital video data in a block format allowing compression of the video data, each block data including digital video data representing a three dimensional group of picture elements, said coding apparatus comprising first detecting means for detecting a maximum value of the digital video data of said three dimensional group of picture elements in said block; second detecting means for detecting a minimum value of the digital video data of said three dimensional group of picture elements in said block; means for generating dynamic range information of the block by obtaining the difference between said maximum and minimum values; means for generating modified digital video data for each said block as the difference between each of the digital video data and said minimum value for said respective block; movement discriminating means for discriminating the existence of the movement in each block and generating discriminating code indicating the existence or absence of such movement; means for digitising said modified digital data to reduce the digitised bit number of said modified digital data whenever said discriminating code indicates the absence of such movement; and transmitting means for transmitting as the output of said coding apparatus, the output of said digitising means and an additional code per block, such additional code comprising said discriminating code and at least two of said maximum value, said minimum value, and a signal representing said dynamic range information. According to another aspect of the present invention, there is provided a decoding apparatus for decoding data transmitted by a coding apparatus for coding digital video data in a block format allowing compression of the video data representing a three dimensional group of picture elements and having first detecting means for detecting a maximum value of the digital video data of said picture elements in said block, second detecting means for detecting a minimum value of the digital video data of said picture elements in said block, means for generating dynamic range information of the block by subtracting said maximum value from said minimum value, means for generating modified digital video data for each said block as the difference between each of the digital video data and said minimum value for said respective block, movement discriminating means for discriminating the existence or absence of such movement, and generating a corresponding discrimination code, means for digitising said modified digital data to reduce the digitised bit number of said modified digital data in dependence on said discriminating code indicating the lack of such movement, and transmitting means for transmitting the output of said digitising means and an additional code per block formed of said discriminating code an at least two of said maximum value, minimum value, and a signal representing said dynamic range information, said decoding apparatus comprising: separating means for separating said discriminating code from said transmitted data; means for regenerating said minimum value from said additional code; decoding means supplied with said discriminating code and said encoded data for decoding the encoded data to generate said modified data; and adder means for adding the minimum value to each of the modified data from said decoding means. It will be appreciated that the terms "maximum" and "minimum" as used in the present description and claims are interchangeable and used simply to indicate the two extreme values of the range of data values. The above and other objects and features of the present invention will become apparent from the following detailed description and the appended claims with reference to the accompanying drawings. Figure 1 is a block diagram of an embodiment of the present invention; figure 2 is a schematic diagram for explaining a block as a unit which is subjected to a coding process; Figures 3 and 4 are a diagram showing an example of an arrangement of a block formation circuit and a schematic diagram for explaining this circuit; Figure 5 is a block diagram of an example of a movement discriminating circuit; Fig. 6 is a block diagram of an example of an encoder block; Fig. 7 is a block diagram of an example of a digitizing circuit; Figs. 8 and 9 are schematic diagrams for explaining examples of digitization; Fig. 10 is a block diagram showing an arrangement of a reception side; Fig. 11 is a block diagram of another embodiment of the invention; Fig. 12 is a block diagram showing an arrangement of a reception side; Fig. 13 is a schematic diagram for explaining the encoding and decoding operations; Fig. 14 is a schematic diagram for explaining the decoding operation; and Fig. 15 is a schematic diagram for explaining another example of the encoding and decoding operations. An embodiment of the present invention will be described in detail hereinbelow with reference to the drawings. Fig. 1 shows an overall arrangement of a transmission side (recording side) according to the invention. A digital video signal of the NTSC system in which, for example, one sample is digitized into eight bits is input to an input terminal 1. The digital video signal is supplied to a block formation circuit 2. The input digital video signal is converted by the block formation circuit 2 into the continuous signal for every block as a unit to be coded. The output signal of the block formation circuit 2 is supplied to a movement discriminating circuit 3. The movement discriminating circuit 3 generates a discriminating code SJ of two bits indicative of the state of movement in a three-dimensional block (in this example, 6 lines × 6 picture elements × 3 frames) by mutually checking the signals among the frames. The digital video signal which needs to be coded is generated from the movement discriminating circuit 3 and supplied to an encoder block 4. The encoder block 4 performs the coding process adapted to the dynamic range for every block. Namely, in the encoder block 4, the maximum level MAX, minimum level MIN, and dynamic range DR of each block are calculated. A digitization width ▵ of four bits is determined by dividing the dynamic range DR by the number of steps corresponding to the number of digitised bits and at the same time, the representative minimum level L₀ of eight bits is detected. The digitisation width Δ and the picture element data DTI after the minimum level was removed are digitised. In which region among the divided regions the picture element data DTI after the removal of the minimum level is included is detected and the four-bit coding code DT which specifies the detected region is formed by digitisation as explained below in connection with figure 7. In this embodiment, the discriminating code SJ, digitization width Δ, representative minimum level L₀, and coding code DT are transmitted. These data are supplied to a frame formation circuit 5 and converted into the transmission data. The transmission data may have such a format that each of the data portions consisting of the discriminating code SJ, representative minimum level L₀, digitization width Δ, and coding code DT is subjected to the independent coding process of the error correction code and a parity of each error correction code is added to each data portion. The transmission data having the above format can be used. On the other hand, each of the discriminating code SJ, digitization width Δ, and representative minimum level L₀ other than the coding code DT can be also subjected to the independent coding process of the error correction code. Further, all of the discriminating code SJ, digitization width Δ, and representative minimum level L₀ may be also subjected to the common coding process of the error correction code and the parity may be also added. The transmission data is taken out at an output terminal 6 of the frame formation circuit 5. Although not shown, the transmission data from the frame formation circuit 5 is transmitted (or recorded in a recording medium) as the serial data. A block as a unit to be coded will now be described with reference to Fig. 2. In Fig. 2, reference numeral 7 denotes one block consisting of two-dimensional (hereinafter, simply referred to as 2D) regions 7A, 7B, and 7C each of which belongs to corresponding one of three frames. Solid lines indicate lines of odd-number fields and broken lines represent lines of even-number fields. Each of the regions 7A, 7B, and 7C is constituted by 36 picture elements (6 lines × 6 picture elements), in which six picture elements are included in each of six lines of each frame. Therefore, one block consists of 108 (6 × 6 × 3) picture elements. This block is represented in the original digital video signal by 864 bits (108 × 8 bits). When all frames of one block are coded, for example, fixed four bits and an additional code, being representative of codes such as error check codes and parity bits, are added to one picture element, one block is constituted by 446 bits (= 6 × 6 × 3 × 4 bits + 14 bits). Therefore, the number of bits to be transmitted can be compressed. As the number of digitized bits of the coding code DT is small, the redundancy can be more and more suppressed. However, to prevent an increase in digitization distortion, it is undesirable to reduce the number of digitized bits to an extremely small number. When the number of digitized bits is eight, the video signal can have 256 (0 to 255) kinds of levels. However, in the stationary portion excluding the unstationary portion such as an outline or the like of an object, the level distribution of the picture elements of one block is concentrated within a fairly narrow level range. In the case of the video signal, since there is the correlation among the picture elements in one three-dimensional (hereinafter, simply referred to as 3D) block, the dynamic range DR in the stationary portion is not so wide. It is sufficient to consider that the maximum value is about 128. Therefore, even if the number of digitized bits of the coding code is set to four as previously mentioned above, an increase in digitization distortion can be prevented. Namely, in the worst case, the dynamic range DR is 128. Even in this case, when the number of digitized bits is four, the divisional level unit is 8 and the digitization distortion is 4. The digitization distortion of such a value cannot be visually discriminated. On the contrary, although the change width is widened in the unstationary portion, with the present embodiment, since the dynamic range DR is adaptively determined, for example by averaging successive values, deterioration of response in the transient portion does not occur. Fig. 3 shows an example of an arrangement of the block formation circuit 2. Frame memories 8A and 8B are cascade connected to the input terminal 1. The picture element data of the current frame F₃ and the picture element data of the preceding two frames F₂ and F₁ of the current field which are respectively taken out of the frame memories 8A and 8B are supplied to a scan converter 9. The picture element data in the corresponding 2D regions 7A, 7B, and 7C among three frames is sequentially obtained at an output terminal 10 of the scan converter 9. Namely, as shown in Fig. 4, the picture element data in the corresponding regions 7A, 7B, and 7C among the three continuous frames F₁ to F₃ is sequentially output in accordance with the order indicated by numerals. In each region, the data is output in accordance with the scanning order. Fig. 5 shows an example of the movement discriminating circuit 3. In Fig. 5, reference numerals 11, 12, and 13 denote input terminals to which the video data of three frames F₁, F₂, and F₃ in one block is supplied, respectively. This input data is formed by converting the output data of the block formation circuit 2 into the parallel data for every block. The video data of each frame, threshold value data Tf from a terminal 14, and a reset pulse PR from a terminal 15 are supplied to movement detecting circuits 16, 17, and 18, respectively. The movement detecting circuit 16 detects the movement of the image between the region 7A of the frame F₁ and the region 7B of the frame F₂. The movement detecting circuit 17 detects the movement of the image between the region 7A of the frame F₁ and the region 7C of the frame F₃. The movement detecting circuit 18 detects the movement of the image between the region 7B of the frame F₂ and the region 7C of the frame F₃. The movement detecting circuits 16 to 18 are similarly constituted except the input video data. Therefore, in Fig. 5, a practical arrangement regarding the movement detecting circuit 16 is shown. The one-bit output signals of the movement detecting circuits 16 to 18 are supplied to an ROM (Read Only Memory) 19. The two-bit discriminating signal SJ which was read out of the ROM 19 is taken out at an output terminal 20. The movement detecting circuit 16 comprises a subtracter 21, an absolute value producing circuit 22, a comparator 23, and a deciding circuit 24. The absolute value of the level difference (frame difference) of the picture elements existing at the corresponding positions between the regions 7A and 7B is produced by the subtracter 21 and absolute value producing circuit 22. The absolute value of the frame difference is compared with the threshold value data Tf by the comparator 23. The binary comparison output corresponding to the level difference between the absolute value of the frame difference and the threshold value data Tf is supplied to the deciding circuit 24. When the absolute values of the frame differences with respect to all of the picture elements included in the regions 7A and 7B of the frames F₁ and F₂ are below the threshold value data Tf, the deciding circuit 24 determines that there is no change between the regions 7A and 7B, namely, these regions are the still portions. The reset pulse PR for every block is supplied to the deciding circuit 24. The one-bit output from the deciding circuit 24 is supplied to the ROM 19. In a manner similar to the above, the change between the regions 7A and 7C is also detected by the movement detecting circuit 17, and the change between the regions 7B and 7C is detected by the movement detecting circuit 18. The ROM 19 generates the two-bit discriminating code SJ from the respective output signals of the movement detecting circuits 16 to 18. The discriminating code SJ is defined as follows. Symbols A, B, and C denote the contents of the images. When (SJ = 00), the images in the regions in the block of the frames F₁, F₂, and F₃ are the same. Therefore, for example, only the coding code DT in the region 7B of the frame F2 in one block is coded. The average value of the data in the regions 7A to 7C may be also transmitted. When (SJ = 01) or (SJ = 10), one of the same images in two regions can be omitted without transmitting it. The average value of the data in the regions which have been determined to have the same image may be also transmitted. When (SJ = 11), the coding codes of all picture elements in one block need to be transmitted. The picture elements of the frame which don't need to be transmitted are removed by a gate circuit and the like on the basis of the discriminating code SJ, or an average value producing circuit is made operative by the discriminating code SJ. Therefore, in the encoder block 4, a predetermined coding process is performed in accordance with the content of the discriminating code SJ. The discriminating code SJ is supplied to the encoder block 4, thereby instructing which frame in one block should be removed or which coding process should be executed. As described above, by checking the presence or absence of the still portion for every block, the transmission of the coding codes concerned with the still portions which occupy a large ratio in the image can be made unnecessary. Thus, the compression rate of data can be fairly raised. Fig. 6 shows an arrangement of an example of the encoder block 4. The video data in the region which needs to be coded is sequentially supplied from the movement discriminating circuit 3 to an input terminal 31 for every block as mentioned before. The picture element data from the input terminal 31 is supplied to a delay circuit 32 and selecting circuits 33 and 34. The selecting circuit 33 selects and outputs the data having the larger level between the picture element data of the input digital video signal and the output data of a latch 35. The selecting circuit 34 selects and outputs the data having the smaller level between the picture element data of the input digital video signal and the output data of a latch 36. The output data of the selecting circuit 33 is supplied to a subtracter 37 and latched into the latch 35. The output data of the selecting circuit 34 is supplied to the subtracter 37 and a latch 39 and latched into the latch 36. A latch pulse is supplied from a control unit 40 to the latches 35 and 36. A sampling clock synchronized with the input digital video signal and timing signals such as a sync signal and the like are supplied from a terminal 41 to the control unit 40. The discriminating code SJ is supplied from an input terminal 42 to the control unit 40. The control unit 40 supplies a latch pulse to the latches 35, 36, 38, and 39 at desired timings. The contents of the latches 35 and 36 are initialized at the beginning of each block. The data of all "0" is initialized into the latch 35. The data of all "1" is initialized into the latch 36. The data having the maximum level in the picture element data in the same block which is sequentially supplied is stored into the latch 35. The data having the minimum level in the picture element data in the same block which is sequentially supplied is stored into the latch 36. After the detection of the maximum and minimum levels was finished with respect to one block, the maximum level in this block is output from the selecting circuit 33. On the contrary, the minimum level in this block is output from the selecting circuit 34. After completion of the detection with regard to one block, the latches 35 and 36 are again initialized. The subtracter 37 obtains dynamic range DR of each block by subtracting the minimum level MIN from the selecting circuit 34 from the maximum level MAX from the selecting circuit 33. The dynamic range DR is output from the subtracter 37. The dynamic range DR and the minimum level MIN are latched into the latches 38 and 39 by the latch pulse from the control unit 40, respectively. The dynamic range DR stored in the latch 38 is supplied to an ROM 43. The ROM 43 divides the dynamic range DR in accordance with the number of bits of the coding code, thereby generating the digitization width ▵ . Namely, the address of eight bits is supplied to the ROM 43. The digitization width Δ (four bits) which is derived by dividing the 8-bit address into 1/16 and rounding the resultant value to the nearest whole number is read out of the ROM 43. The digitization width Δ is taken out at an output terminal 47 and supplied to a digitizing circuit 50. The minimum level MIN stored in the latch 39 is supplied to an adder 46 and to one input terminal of a subtracter 51. An input digital video signal PD derived through a delay circuit 32 is supplied to the other input terminal of the subtracter 51. Therefore, the data DTI after the minimum level was removed is output from the subtracter 51 and supplied to the digitizing circuit 50. The digitizing circuit 50 has such a constitution as mentioned hereinafter. The coding code DT of four bits is taken out at an output terminal 48. The data of 1/2 of the digitization width Δ is supplied to the other input terminal of the adder 46 through a 1/2 multiplier 45. The representative minimum level L₀ which is output from the adder 46 is taken out at an output terminal 49. In the foregoing example, the digitization width Δ, representative minimum level L₀, and discriminating code SJ have been transmitted as the additional codes together with the coding code DT. However, the invention is not limited to these codes, but the dynamic range information DR, minimum level MIN, and discriminating code SJ may be also transmitted. In this case, sixteen bits (8 bits + 8 bits) are needed as the additional bits. Fig. 7 shows an arrangement of an example of the ROM 43 and digitizing circuit 50 mentioned above. For simplicity of explanation, the number of digitized bits is set to two bits instead of four bits and the dynamic range is divided into four. In Fig. 7, the signal indicative of the dynamic range DR is supplied to an input terminal 52. The data DTI after the minimum level was removed is supplied to an input terminal 53. The level of the dynamic range DR is reduced into 1/4 by the ROM 43 and the digitization width ▵ is read out of the ROM 43. The output of the ROM 43 is supplied to multipliers 54 and 55. This output is tripled by the multiplier 54. The output of the multiplier 54 is supplied to one input terminal of a level comparator 56. The output from the ROM 43 is doubled by the multiplier 55. The output of the multiplier 55 is supplied to one input terminal of a level comparator 57. The output of the ROM 43 is also supplied to one input terminal of a level comparator 58. The data DTI after the minimum level was removed is supplied to the other input terminals of the level comparators 56, 57, and 58, respectively. Assuming that the outputs of the level comparators 56, 57, and 58 are C₁, C₂, and C₃, respectively, the outputs C₁ to C₃ change as follows in accordance with the level of the data DTI. The outputs C₁ to C₃ of the level comparators 56, 57, and 58 are supplied to a priority encoder 59. The two-bit coding code DT is derived at the output terminal 48 by the priority encoder 59. The priority encoder 59 generates the coding code of (11) in the above case (1); the coding code of (10) in the above case (2); the coding code of (01) in the above case (3); and the coding code of (00) in the above case (4), respectively. As shown in Fig. 8, the picture element data PD including the minimum level MIN in one block belongs to the level within the dynamic range DR from the minimum level MIN to the maximum level MAX. The ROM 43 outputs the digitization width ▵ which is derived by dividing the dynamic range DR into four equal parts. To which level range divided the data DTI after the minimum level was removed belongs is determined by the level comparators 56, 57, and 58 and converted into the two-bit coding code DT corresponding to this level range. The representative minimum level L₀ is calculated by adding (1/2) ▵ to the minimum level MIN. The digitization width ▵, representative minimum level L₀, and coding code DT are transmitted. In this embodiment, as will be obvious from Fig. 8, the dynamic range DR is divided into equal parts by the digitization width ▵ and the center values L₀, L₁, L₂, and L₃ of each region are used as the values upon decoding. The above-described coding method can reduce the digitization distortion. On the other hand, two picture element data having the minimum level MIN and the maximum level MAX certainly exist in one block. Therefore, to increase the number of coding codes having no error, as shown in Fig. 9, it is sufficient to divide the dynamic range DR into (2 m -1) parts (where, m denotes the number of digitized bits), to set the minimum level MIN into the representative minimum level L₀, and to set the maximum level MAX into the representative maximum level L₃. In the case of performing the digitization shown in Fig. 9, the minimum level MIN is directly output as the representative minimum level L₀ and the ROM 43 performs the division of (1/15). The digitizing circuit 50 is not limited to the constitution shown in Fig. 7 but may be also constituted in a manner such that a digital divider is used and the digitization width ▵ is supplied as the input data of denominator to the digital divider and the data DTI after removal of the minimum level is supplied as the input data of numerator to the digital divider. This digital divider generates the two-bit output corresponding to the value of which the fractions below the decimal point were omitted as the coding code. Fig. 10 shows an arrangement on the reception (or reproducing) side. The reception data from an input terminal 61 is supplied to a frame separation circuit 62. The frame separation circuit 62 separates the input reception data into the coding code DT, additional codes ▵ and L₀, and discriminating code SJ and also performs the error correcting process. The coding code DT and additional codes of four bits are supplied to a decoder block 63. The decoder block 63 executes the process opposite to that in the encoder block 4 on the transmission side. Namely, the eight-bit data DTI after the minimum level was removed is formed. The data DTI and the eight-bit representative minimum level L₀ are added, so that the original picture element data PDI is decoded. The output data PDI of the decoder block 63 is supplied to a block separation circuit 64. The block separation circuit 64 converts the decoded data according to the order of the block into the data based on the order similar to the scanning order of the video signal in a manner opposite to the block formation circuit 2 on the transmission side. The original video signal is decoded and output to an output terminal 65 of the block separation circuit 64. In the decoder block 63, the picture element data in the omitted region is added using the discriminating code SJ. When (SJ = 00), the same picture elements as those in one decoded region, e.g., region 7B are inserted as the picture elements in the regions 7A and 7B, respectively. When (SJ = 01) or (SJ = 10), the picture elements in one decoded region are inserted as the picture elements in the other omitted region. In the above description, three of the coding code DT, digitisation width Δ, and representative minimum level L₀ have been transmitted. However, in place of the digitisation width Δ, the dynamic range DR may be also transmitted as the additional code. Either one of the digitisation width Δ and the dynamic range DR and the representative maximum level may be also transmitted. Similarly, there may be transmitted the coding code DT and an additional code per block formed of said discriminating code SJ and at least two of the maximum value and the minimum value and a signal based on the dynamic range information in the block. On the other hand, the data in one block can be also simultaneously taken out by a combination circuit consisting of a frame memory, a line delay circuit, and a sample delay circuit. Further, the movement discriminating circuit 3 may be also arranged between the encoder block 4 and the frame formation circuit 5. In this case, the movement discriminating circuit 3 discriminates the presence or absence of the still portion by use of the result of the discrimination regarding the coincidence or dissonance of the coding code of four bits. One-bit code can be also used as the discriminating code SJ. For example, when the discriminating code SJ is "0", the presence of the still portion is decided. When the discriminating code SJ is "1", the absence of the still portion is determined. With reference to Fig. 11, an explanation will now be made with regard to the example in which when the data of the continuous frames in the same block is determined to be identical by the movement discriminating circuit 3, the average value of the data of the frames is transmitted instead of transmitting the data of the first frame. In this example, a three-dimensional (3D) block consisting of (6 lines × 6 picture elements × 2 frames) will be considered. Therefore, the code of one bit indicative of the presence or absence of the movement may be used as the discriminating code SJ. According to the embodiment, an amount of data to be transmitted can be sufficiently reduced as compared with the original data and the transmission band can be narrowed. The embodiment has the advantages such that in the stationary portion in which the change width of picture element data is small, the original picture element data can be almost completely reconstituted from the reception data and the picture quality hardly deteriorates. Further, in this embodiment, since the dynamic range is determined in correspondence to each block, a good response is derived in the transient portion such as an edge or the like in which the change width is large. In addition, the data can be compressed on a three-dimensional unit basis. Another embodiment of the invention will now be described. Fig. 11 is a block diagram showing another embodiment. In Fig. 11, a digital video signal is input from an input terminal 101 to a block formation circuit 102. The input digital video signal from the block formation circuit 102 is supplied to a movement discriminating circuit 103 and AND gates 104 and 108. The discriminating code SJ from the movement discriminating circuit 103 is supplied to the other input terminal of the AND gate 104, while the inverted signal of the discriminating code SJ is supplied to the other input terminal of the AND gate 108. The picture element data of the still block is separated by the AND gate 104 and supplied to a frame average producing circuit 105. The frame average producing circuit 105 calculates the average value of one of 36 picture elements at an arbitrary position in one region and one of 36 picture elements at the same position as the former one in another region, in which these two regions constitute the block. In this manner, the frame average producing circuit 105 similarly calculates total 36 average values with respect to every 36 picture elements in those two regions and outputs these 36 average values in place of the picture element data of the block. Therefore, the output signal of the circuit 105 has a constitution of a 2D block in which the average values are arranged at (6 lines × 6 picture elements). The output signal of the circuit 105 is supplied to a two-dimensional (2D) encoder 106. The AND gate 108 separates the video data of the block having the movement of image and supplies this picture element data to a three-dimensional (3D) encoder 109. In the 2D-encoder 106 and 3D-encoder 109, which together perform a function similar to that of the encoder 4 above, the coding process in which the number of bits can be changed in according with the dynamic range for every block is performed as will be explained hereinafter. The dynamic range DR and the minimum level MIN of the block and the code signal DT of 0 to 5 bits are derived from the encoders 106 and 109. The output signals of the 2D and 3D encoders 106 and 109 are supplied to frame formation circuits 107 and 110, respectively. In this embodiment, the discriminating code SJ, code signal DT, dynamic range DR, and minimum level MIN are transmitted and converted into the transmission data by the frame formation circuits 107 and 110. The output signals of the frame formation circuits 107 and 110 are supplied to an OR gate 112 and the transmission data is taken out at an output terminal 113. Although not shown, this transmission data is transmitted or recorded in the recording medium as the serial data. Numeral 111 denotes a delay circuit. Fig. 12 shows an arrangement of the reception side corresponding to the transmission side shown in Fig. 11. In Fig. 12, the reception data from an input terminal 121 is supplied to a discrimination code separating circuit 122, by which the discriminating code SJ is separated. The additional data and code signal other than the discriminating code SJ are supplied to AND gates 123 and 128. The discriminating code SJ is supplied as another input signal to the AND gate 123. The inverted signal of the discriminating code SJ is supplied as another input signal to the AND gate 128. The AND gate 123 separates the code signal and additional data of the average value information of the still block. This average value information is supplied to a frame separation circuit 124. The code signal and additional data of the block having the movement which are separated by the AND gate 128 are supplied to a frame separation circuit 129. The code signal DT and the additional codes DR and MIN are separated by the frame separation circuits 124 and 129 and at the same time, the error correcting process is executed. The code signal DT and additional codes are supplied to a two-dimensional (2D) decoder 125 and a three-dimensional (3D) decoder 130, respectively. The decoders 125 and 130 execute the processes opposite to those by the encoders 106 and 109 on the transmission side. Namely, the eight-bit data DTI after the minimum level was removed is reconstituted as the representative level. This data DTI and the eight-bit minimum level MIN are added and the original picture element data is reconstituted. In the 2D-decoder 125, the decoded output in the omitted region is formed. The output signal of the 2D-decoder 125 is supplied to one input terminal a of a switching circuit 126 and to an average value producing circuit 127. The output signal of the average value producing circuit 127 is supplied to the other input terminal b of the switching circuit 126. the output signal of the switching circuit 126 is supplied to an OR gate 131. The output signal of the 3D-decoder 130 is supplied to the other input terminal of the OR gate 131. The output signal of the OR gate 131 is supplied to a block separation circuit 135 and a delay circuit 134 (having a delay amount of Td). The output signal of the delay circuit 134 is supplied to the average value producing circuit 127. The switching circuit 126, average value producing circuit 127, and delay circuit 134 which are arranged between the output signal of the 2D-decoder 125 and the OR gate 131 function to prevent the occurrence of jerkiness (unnatural movement) in the reproduced image. A signal to control the switching circuit 126 is generated from a control pulse generator 133. The discriminating code SJ is supplied to the generator 133. Numeral 132 denotes a delay circuit. The block separation circuit 135 converts the decoded data according to the order in the block into the data based on the order similar to the scanning order of the video signal in a manner opposite to the process by the block formation circuit 102 on the transmission side. The original digital video signal is taken out at an output terminal 136 of the block separation circuit 135. The operation to prevent the jerkiness in the constitutions on the transmission and reception sides shown in Figs. 11 and 12 will now be described hereinbelow with reference to Figs. 13 and 14. Fig. 13 shows examples of the encoding and decoding operations in this embodiment. A₁ and A₂ denote regions which belong to two frames which are continuous with regard to the time, respectively. One block is constituted by both regions A₁ and A₂. Similarly, one block is constituted by a pair of regions A₃ and A₄, and one block is also constituted by a pair of regions A₅ and A₆, respectively. When the block consisting of the regions A₁ and A₂ is the movement block, all of the picture elements included in the regions A₁ and A₂ are coded by the 3D encoder 109 in accordance with the dynamic range. When the block consisting of the regions A₃ and A₄ is the still block, the average value (A₃ + A₄)/2 between the frames which is output from the frame average producing circuit 105 is coded by the 2D-encoder 106 in accordance with the dynamic range. Similarly, when the block consisting of the regions A₅ and A₆ is the still block, the average value (A₅ + A₆)/2 between the frames which is output from the circuit 105 is coded by the 2D-encoder 106 in accordance with the dynamic range. Therefore, with regard to the still block, the picture element data in two regions is reduced to the average value of the number equal to the picture element data in one region. On the reception side, with respect to the block having the movement, the decoding operation is performed by the 3D-decoder 130, so that the picture element data of the block consisting of the regions A₁ and A₂ is reproduced. On the contrary, with regard to the still block, the average value (A₃ + A₄)/2 between the frames is decoded and at the same time, this average value is set to the data in each region of two continuous frames. In the simple OR output between two decoded outputs of the 2D-decoder 125 and 3D-decoder 130 obtained as mentioned above, the movement of the object in the image is discontinuous between the region of the data of the frame average value and the preceding region in another block, so that the unnatural movement (i.e., jerkiness) occurs. In the example of Fig. 13, the smoothing process is performed to prevent the jerkiness when shifting from the preceding block regarding the time to the region of the frame average value in the still block. Namely, as shown in Fig. 13, when shifting from the region A₂ in the preceding block to the region (A₃ + A₄)/2 of the frame average value, the average value (2A₂ + A₃ + A₄)/4 between the data of the region of the frame average value and the data in the region in the preceding block is used in place of the data of (A₃ + A₄)/2. Similarly, the data of (A₃ + A₄ + A₅ + A₆)/4 is used in place of the data (A₅ + A₆)/2 in the next block locating at the boundary with the preceding block. Between the continuous different blocks with respect to the time, the image in which the video data in the preceding and current blocks mixedly exists is generated by the foregoing smoothing process, so that the jerkiness is reduced. The operation to reduce the jerkiness in the constitution on the reception side shown in Fig. 12 will now be described with reference to Fig. 14. Fig. 14, A, shows the received discriminating code SJ. The discriminating code SJ varies synchronously with the change in the block on the reception side. Fig. 14, B, shows the decoded data which is produced by the 2D-decoder 125. Fig. 14, C, denotes the decoded data which is formed by the 3D-decoder 130. Similarly to Fig. 13, only the processes in the regions A₁ to A₆ are shown in Fig. 14. The regions A₁ to A₆ belong to three time-continuous frames. In the control pulse generator 133 (refer to Fig. 12), the control pulse which becomes a high level in correspondence to the beginning region in the still block as shown in Fig. 14, E, is formed from the discriminating signal SJ (Fig. 14, A) and the timing signal whose high or low level alternately changes synchronously with the reproduced data in two regions constituting one block as shown in Fig. 14, D. The switching circuit 126 is controlled by this control pulse. When the control pulse is at a low level, the switching circuit 126 selects the decoded output of the 2D-decoder 125 which is supplied to the input terminal a. On the contrary, when the control pulse is at a high level, the switching circuit 126 selects the output signal of the average value producing circuit 127 which is supplied to the input terminal b. On the other hand, the delay amount Td of the delay circuit 134 is set to (Td = 7 Ta) assuming that the period of one region is Ta. Therefore, as shown in Fig. 14, F, the output signal of which the output signal of the OR gate 131 was delayed is generated from the delay circuit 134 and supplied to the average value producing circuit 127. The switching circuit 126 is controlled by the control pulse from the control pulse generator 133 and the decoded output which was subjected to the smoothing process when shifting to the still block is derived from the OR gate 131 as shown in Fig. 14, G. Although the smoothing processes have been executed among all of the blocks in the foregoing embodiment, in particular, the jerkiness causes a problem in the case where, for example, a special block consisting of the first and second frames is the still block and the corresponding block consisting of the subsequent third and fourth frames is also the still block. Therefore, for example, as shown in Fig. 15, in the case where the block consisting of the regions A₁ and A₂ is the animation block (i.e., movement block) and the block consisting of A₃ and A₄ of the next two frames is the still block, the output of the region A₃ is not subjected to the smoothing process. Further, when the block consisting of the next regions A₅ and A₆ is the still block, the average value is calculated from the data in the block consisting of A₃ and A₄ and the data in the block consisting of A₅ and A₆ by the smoothing process, and this average value may be used in place of the output in the region A₅. Namely, only when the target block is determined to be the still block by the discriminating code SJ and the time-preceding corresponding block is the still block, the data in a desired region of the beginning frame or field in the relevant block may be also obtained by calculating the average value together with the data in the region of the last frame or field in the preceding block.

Claims: 1. A high efficiency coding apparatus for coding digital video data in a block format allowing compression of the video data, each block data including digital video data representing a three dimensional group of picture elements, said codin apparatus comprising first detecting means (33) for detecting a maximum value of the digital video data of said three dimensional group of picture elements in said block; second detecting means (34) for detecting a minimum value of the digital video data of said three dimensional group of picture elements in said block; means (37, 38) for generating dynamic range information (DR) of the block by obtaining the difference between said maximum and minimum values; means (51) for generating modified digital video data for each said block as the difference between each of the digital video data and said minimum value for said respective block; movement discriminating means (3) for discriminating the existence of the movement in each block and generating a discriminating code (SJ) indicating the existence or absence of such movement; means (43, 50) for digitising said modified digital data to reduce the digitised bit number of said modified digital data whenever said discriminating code indicates the absence of such movement; and transmitting means for transmitting as the output of said coding apparatusn, the output (DT) of said digitising means and an additional code per block, such additional code comprising said discriminating code (SJ) and at least two of said maximum value, said minimum value, and a signal representing said dynamic range information 2. A high efficiency coding apparatus according to claim 1, wherein said digitising means (43, 50) is arranged to encode the modified digital data on one video frame when said discriminating code indicates that no movement exists in said block. 3. A high efficiency coding apparatus according to claim 1 or 2, wherein said digitising means (43, 50) includes averaging means for averaging the digital data of plural video frames and the output of said averaging means being encoded when said discriminating code indicates that no movement exists among said plural video frames. 4. A high efficiency coding apparatus according to claim 1, 2 or 3 wherein said movement discriminating means (3) includes: comparator means (21) for providing an output resulting from a comparison of digital data of a picture element in a first video frame with digital data of a corresponding picture element in a second video frame; absolute value generating means (22) which is, in use, supplied with the output of said comparator means (21) and generates an absolute value for said output; comparator means (23) for comparing the output of said absolute value generating means (22) with a reference value. and discriminating means (24) for determining whether there is movement in successive blocks. 5. A decoding apparatus for decoding data transmitted by a coding apparatus for coding digital video data in a block format allowing compression of the video data representing a three dimensional group of picture elements and having first detecting means (33) for detecting a maximum value of the digital video data of said picture elements in said block, second detecting means (34) for detecting a minimum value of the digital video data of said picture elements in said block, means (37, 38) for generating dynamic range information (DR) of the block by subtracting said maximum value from said minimum value, means (51) for generating modified digital video data for each said block as the difference between each of the digital video data and said minimum value for said respective block, movement discriminating means (3) for discriminating the existence or absence of such movement and generating a corresponding discrimination code (SJ), means (43, 50) for digitising said modified digital data to reduce the digitised bit number of said modified digital data in dependence on said discriminating code indicating the lack of such movement, and transmitting means for transmitting the output (DT) of said digitising means and an additional code per block formed of said discriminating code an at least two of said maximum value, minimum value, and a signal representing dynamic range information, said decoding apparatus comprising: separating means (62) for separating said discriminating code from said transmitted data; means for regenerating said minimum value from said additional code; decoding means (63) supplied with said discriminating code and said encoded data for decoding the encoded data to generate said modified data; and adder means for adding the minimum value to each of the modified data from said decoding means. 6. A decoding apparatus according to claim 5, wherein said decoding means includes: first and second gate means (123, 128) to which, in use said transmitted data is supplied and to which said discriminating code is also supplied as a control signal to selectively transfer said data, depending on the value of said discriminating code (SJ) to first and second decoders (125, 130), respectively, connected to said first and second gate means (123, 128), respectively; and combining means (131) for logically OR-ing the outputs of said first and second decoders to form decoded data. 7. A decoding apparatus according to claim 6, wherein said first decoder (125) is arranged so as to generate the same decoded data for the corresponding picture elements in plural video fields. 8. A decoding apparatus according to claim 7, wherein said first decoder includes an averaging circuit (127) connected to said first decoder (125) and to the output of said combining means (131) which in use is made operative while the digital video data of picture elements in the beginning field of the block is generated for averaging the digital video data of picture elements in the beginning field of the block and digital video data of the corresponding picture elements in the preceding field to said be inning field of the block.

Inventors: KONDO, TETSUJIRO
Applicants: SONY CORPORATION
Application year: 1986
Main classification: H04N7
IPC codes: H04N7, H03M7