HIGH EFFICIENCY TECHNIQUE FOR CODING A DIGITAL VIDEO SIGNAL

Abstract: Coding apparatus for coding digital video data in the form of a block data to a compressed video data, comprises first detecting means for detecting a maximum value of the digital video data of plural picture elements in said block, second detecting means for detecting a minimum value of the digital video data of plural picture elements in said block, means for generating a dynamic range information of the block from said maximum and minimum values, means for subtracting said minimum value from each of the digital data to generate modified digital video data, means for encoding said modified digital video data with the fixed digitized bit number less than that of original digital video data, and transmitting means for transmitting the output of said encoding means and an additional code per one block formed of at least two of said maximum value, minimum value, and a signal according to said dynamic range information.

Description: The present invention relates to a highly efficient technique for coding digital video signals and, in particular, to a highly efficient coding apparatus for compressing the data of digital video signals by dividing the data in each picture field into many blocks and processing each block separately. There are several known methods which effectively compress the data of the video signal by either directly reducing the number of bits per picture element, or reducing sampling frequency with each picture frame. One known technique reduces the amount of data to 1/2 its original level by subsampling the image data in each field; that is, alternating picture elements are transmitted for the entire picuture field. At the receiver, the value of each non-transmitted picture element is approximately computed by performing an interpolation using the transmitted picture elements. Thus, the effective sampling frequency is reduced by 50%. Another technique, called DPCM (Differential Pulse Code Modulation), reduces the average number of bits per picture element. This technique takes advantage of the high level of correlation between adjacent picture elements. Basically, since the correlation between picture elements is high, the difference between adjacent picture elements is small. Thus, this difference between adjacent picture elements is transmitted, rather than the actual value of each picture element. A third technique which reduces the average number of bits per picture element also capitalizes on the high level of correlation between adjacent picture elements. The picture is divided into many blocks. In each block, a representative picture element is selected. Then, for each element in the block, a value corresponding to the deviation of this element's value from the representative value is transmitted. The technique which uses sub-sampling (every other picture element is transmitted) is highly susceptible to aliasing because the sampling frequency has been effectively reduced by 50%. In the DPCM method, coding errors tend to have serious consequences for subsequent coding. The method which divides each picture field into many blocks has a serious drawback in that block distortion occurs at the boundary between blocks. It is an object of the present invention to provide a highly efficient coding apparatus which avoids the problems of the foregoing conventional technology, such as the occurrence of aliasing distortion, the propagation of coding error, and the occurrence of block distortion. According to the present invention,(Claim 1), there is provided a coding apparatus for coding digital video data in the form of a block data to a compressed video data, comprising: first detecting means for detecting a maximum value of the digital video data of plural picture elements in said block, second detecting means for detecting a minimum value of the digital video data of plural picture elements in said block, means for generating a dynamic range value of the data in the block by subtracting said minimum value from said maximum value. means for subtracting said minimum value from each of the digital data to generate modified digital video data, means for encoding said modified digital video data using a fixed number of bits, which number is less than that of the original digital video data, so as to output compressed digital video data,and transmitting means for transmitting the output of said encoding means and an additional code per block formed of at least two of said maximum value, said minimum value, and a signal representing said dynamic range value. Thus, in an embodiment of the invention, each picture field is divided into a plurality of blocks. Each block is then processed separately. First, the block's dynamic range (difference between the maximum and minimum picture element levels within the block) and the minimum level are obtained. The block's dynamic range is now divided into equally spaced levels, and each picture element within the block is assigned to the nearest level. These levels are now assigned a digital value. For example, if there were 8 levels, then each level would be represented by a 3-bit number. For transmission, the level assigned to a given picture element is transmitted, rather than the original picture element value. Also, for each block, the block's dynamic range and minimum level are transmitted. With this information, each picture element can be reconstructed at the receiver. Since picture elements of a given picture field are highly correlated both spatially (in the horizontal and vertical directions) and temporally (along the time base), the dynamic range of the picture element data included in a block of one, two, or three dimensions is small in non-moving portions of the picture field. Since the dynamic range is small, then even if the number of new levels used to divided the dynamic range is smaller than the original number of levels in the dynamic range, the digitization distortion will be very small. The present invention also concerns a decoding apparatus for decoding the signals encoded by a coding apparatus in accordance with claim 1. The invention will be further described by way of non-limitative example with reference to the accompanying drawings, in which:- Fig. 1 is a block diagram of an embodiment of the present invention; Fig. 2 is a schematic diagram for explaining a block as a unit which is subjected to a coding process; Fig. 3 is a schematic diagram for explaining a plurality of examples of arrangements of transmission data; Fig. 4 is a schematic diagram for explaining the level distribution of the picture element data in one block; Fig. 5 is a block diagram showing an example of an encoder block; Fig. 6 is a schematic diagram for explaining the encoder block; Fig. 7 is a block diagram showing another example of an encoder block; Fig. 8 is a schematic diagram for explaining another coding method of an encoder block; Fig. 9 is a block diagram showing still another example of an encoder block; Fig. 10 is a schematic diagram for explaining a coding method of the encoder block of Fig. 9; Fig. 11 is a block diagram showing another embodiment of the invention; Fig. 12 is a schematic diagram for explaining a block as a unit which is subjected to a coding process in Fig. 11; Fig. 13 is a block diagram showing an arrangement of the reception side; Fig. 14 is a block diagram of a decoder; Fig. 15 is a block diagram of an example of a decoder block; Fig. 16 is a block diagram of another example of a decoder block; and Fig. 17 is a block diagram of still another example of a decoder block. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will now be described hereinbelow with reference to the drawings. In Fig. 1, a digital video signal of eight bits is inputted in parallel to an input terminal 1. This input digital video signal is supplied to a subtracter 4 through a delay circuit 3. A sampling clock synchronized with the input digital video signal is supplied to an input terminal 2. This sampling clock is supplied as a clock pulse to a counter 9 and registers 10 and 11. The counter 9 is a hexadecimal counter and a block clock signal is generated as an output of this counter for every sixteen picture elements. This block clock is supplied as a pulse for the initialization of registers 10 and 11. The block clock is also supplied as a latch pulse to latches 15 and 16. Registers 10 and 11 can input and output 8-bit parallel data. An output data from register 10 is supplied to one input terminal of a selecting circuit 12. An output data of register 11 is supplied to one input terminal of a selecting circuit 13. The input digital video signal is supplied to the other input terminals of the selecting circuits 12 and 13. The selecting circuit 12 is configured as a digital level comparator for selecting and outputting the larger-level of the two input data. The selecting circuit 13 is configured as a digital level comparator for selecting and outputting the smaller-level of the two input data. The digital output data of the selecting circuit 12 is supplied to one input terminal of a subtracter 14 and to the input terminal of the register 10. A digital output data of the selecting circuit 13 is supplied to the other input terminal of the subtracter 14 and to the input terminal of the register 11. As shown in Fig. 2, in this embodiment, one block consists of sixteen continuous picture element data of the same line. The block clock from the counter 9 is generated at the first position of each block to initialize registers 10 and 11. All the bits of register 10 are initialized to "0". All of the bits of register 11 are initialized to "1". The picture element data at the first position of one block is selected by the selecting circuits 12 and 13 and stored into the registers 10 and 11. The next picture element data is compared with the picture element data stored in the registers 10 and 11 and the data of the larger level is selected and outputted from the selecting circuit 12. The data of the smaller level is selected and outputted from the selecting circuit 13. In a similar manner, all of the picture element data in one block are sequentially compared. Upon completion of this comparison, the Maximum level (MAX) of these 16 picture elements is selected and outputted at the output terminal of the selecting circuit 12. The Minimum level (MIN) of these 16 picture elements is selected and outputted at the output terminal of the selecting circuit 13. The subtracter 14 subtracts the minimum level MIN from the maximum level MAX, so that the dynamic range DR of the block is supplied at an output terminal of the subtracter 14. The dynamic range DR which is outputted from the subtracter 14 is latched in the latch 15. The minimum level MIN which is outputted from the selecting circuit 13 is latched in the latch 16. The dynamic range DR stored in the latch 15 is taken out at an output terminal 6 and also supplied to an encoder block 5. The minimum level MIN stored in the latch 16 is taken out at output terminal 7 and also supplied to the other input terminal of the subtracter 4. The picture element data PD from the delay circuit 3 is supplied to the subtracter 4. Thus, the data DTI from which the minimum level MIN was removed is generated at the output terminal of the subtracter 4. The data DTI is supplied to the encoder block 5. As will be explained hereinafter, encoder block 5 divides the dynamic range DR into sixteen equal levels. The Original data DTI is now assigned to one of these 16 levels (whichever is closest to the original value). This newly assigned value determines to which original DTI data value the picture element belongs. The four-bit DT code corresponding to the appropriate level specified in this manner is taken out at output terminal 8 of the encoder block 5. As described above, the dynamic range DR and the minimum level MIN are obtained as additional data at the output terminals 6 and 7 of the encoder shown in Fig. 1. The compressed code of four bits is obtained at the output terminal 8. One block of the original digital video signal consists of 128 bits (16 x 8 bits). In this embodiment, one block is constituted by 80 bits (= 16 x 4 bits + 16 bits): thus, the number of bits to be transmitted has been reduced. Although not shown, the code DT and the additional data DR and MIN are subjected to an error correction coding process and transmitted (or recorded in a recording medium) as serial data. Fig. 3 shows three examples of formats for the transmission data. Fig. 3A shows the case where 64 bits consisting of the minimum level MIN, dynamic range DR, and DT code are subjected to the coding processes of independent error correction, and the parities of the respective error correction codes are added to those data and the resultant data is transmitted. Fig. 3B shows the case where the minimum level MIN and dynamic range DR are subjected to the coding processes of independent error correction, and the parities of the respective error correction codes are added to them. Fig. 3C shows the case where both of the minimum level MIN and dynamic range DR are subjected to the coding processes of common error correction, and the parity of this error correction code is added to them. It is preferable that the number of digitized bits of the DT code is as small as possible to suppress redundancy. To prevent an increase in quantization distortion, however, it is undesirable to reduce the number of digitized bits excessively. For video signals, the respective picture elements in one block have high correlation, so that the dynamic range DR in the non-moving portion of the picture is not so large, and it is sufficient to set the number of digitized bits to about 128 as the maximum value. As shown in Fig. 4, in the case where the number of digitized bits is eight, total 256 (0 to 255) kinds of levels of the video signal can be presented. However, in the non-motion portion of the picture, excluding the transient portion such as the contour of an object, the distribution of the levels of the picture elements of one block is concentrated in a fairly narrow range as shown in Fig. 4. Therefore, an increase of the digitization distortion can be prevented by setting the number of bits of the DT code to four, as in this embodiment. For example, the number of digitized bits of the dynamic range DR becomes 128 in the worst case. Even in this case, when the number of digitized bits is four, the number of picture element levels within each DT level is 8, so the maximum digitization distortion becomes four. Such a degree of digitization distortion cannot be visually distinguished. Fig. 5 shows one possible configuration of the encoder block 5. To simplify the explanation, the number of digitized bits is set to two instead of four, so the dynamic range is divided into four equal parts rather than sixteen. In Fig. 5, the dynamic range DR is supplied to input terminal 21 and the data DTI from which the minimum level was removed is supplied to input terminal 22. The dynamic range DR is divided by 4 by divider 23 (consisting of a bit shifter to shift the input data by two bits). An output of divider 23 is supplied to multipliers 24 and 25. Multiplier 24 triples the output of divider 23 and supplies this value to one input terminal of level comparator 26. Multiplier 25 doubles the output of divider 23 and supplies this value to one input terminal of level comparator 27. The output of the divider 23 is supplied to one input terminal of level comparator 28. The data DTI from which the minimum level was removed is supplied to the other input terminals of level comparators 26, 27, and 28, respectively. Assuming that respective outputs of the level comparators 26 to 28 are C₁, C₂, and c₃, these outputs change as shown below in accordance with the level of the data DTI. (1) When (3/4).DR ≦αµρ¨ DTI ≦αµρ¨ DR, C₁ = "1", C₂ = "1", C₃ = "1". (2) When (2/4).DR ≦αµρ¨ DTI < (3/4).DR, C₁ = "0", C₂ = "1", C₃ = "1". (3) When (1/4).DR ≦αµρ¨ DTI < (2/4).DR C₁ - "0", C₂ = "0", C₃ = "1". (4) When 0 ≦αµρ¨ DTI < (1/4).DR, C₁ = "0", C₂ = "0", C₃ = "0". The outputs C₁, C₂, and C₃ of level comparators 26 to 28 are supplied to priority encoder 29. The two-bit code DT is obtained at the output terminal 8 of priority encoder 29. The encoder 29 generates a code of (1 1) in case (1), a code of (1 0) in case (2), a code of (0 1) in case (3), and a code of (0 0) in case (4). As shown in Fig. 6, the picture element data PD of one block falls within the dynamic range DR from the minimum level MIN to the maximum level MAX. The divider 23 divides the dynamic range DR into four equal parts. Comparators 26 to 28 determine to which of the 4 levels each data DTI belongs, and the result is converted to a two-bit code corresponding to the level range chosen. Fig. 7 shows an example of another arrangement of the encoder block 5. The dynamic range DR from input terminal 21 is divided by 4 by divider 31. An output signal of divider 31 is supplied as the denominator input to digital divider 30. The data DTI (after the removal of the minimum level) is supplied at input terminal 22 as the numerator input to divider 30. The two-bit code DT is taken at the output of divider 30. The divider 30 generates a two-bit output corresponding to the value of the DT code. Also, although not shown, the encoder block 5 may be realized by a ROM to which total sixteen bits (the digital data DTI after the removal of the minimum level and the dynamic range DR) are supplied as an address. In this embodiment, as is evident from Fig. 6, the dynamic range is divided into equal parts, and the central values L₀ L₁, L₂, and L₃ of each part is used as values upon decoding. This coding/decoding method helps reduce digitization distortion. However, the picture element data having the minimum level MIN and the maximum level MAX exist in each block. Therefore, as shown in Fig. 8, to increase the number of codes having no error, the dynamic range DR is divided into (2 m - 1) equal parts (where m is the number of digitized bits). In this way, the minimum level MIN may be set to the representative level L₀ and the maximum level MAX may be set to the representative level L₃. Fig. 9 shows an arrangement of still another example of encoder block 5. In Fig. 9, the data DTI (after the removal of the minimum level) is supplied to an input terminal 161 and stored into register 162. An output of register 162 is supplied to an input terminal of a bit selecting circuit 163. The dynamic range DR from a latch circuit 15 is supplied to an input terminal 164. The dynamic range DR is supplied to a priority encoder 165. The bit selecting circuit 163 is controlled by an output of three bits of encoder 165. Among eight bits of the data DTI, four bits corresponding to the output of the encoder 165 are selected by the bit selecting circuit 163. The output data of the priority encoder 165 is taken out as a dynamic range data DR₂ which is transmitted to the output terminal 6. The four-bit output data of the bit selecting circuit 163 is taken at the output terminal 8 and transmitted as the code DT. The priority encoder 165 generates the three-bit output (C₂, C₁, C₀) in correspondence to the bit pattern of the high order four bits of the dynamic range DR. In response to the output of the encoder 165, the bit selecting circuit 163 selects four bits (Y₃, Y₂, Y₁, Y₀) from among eight bits (X₇, X₆, ..., X₀) of the data DTI (after the removal of the minimum level) and outputs this four-bit data as the code DT. The relation between the output of the priority encoder 165 corresponding to the high order four bits of the dynamic range DR and the output of four bits of the bit selecting circuit 163 which are selected by an output of the priority encoder 165 is shown in the table below. The magnitude of the dynamic range DR is detected from the high order four bits and the minimum digitization unit is selected on the basis of the magnitude of the dynamic range DR. Three bits (C₂, C₁, C₀) indicative of the digitization unit are transmitted as the dynamic range informaiton DR₂. In Fig. 10, a reference numeral 171 denotes four bits which are selected when the most significant bit MSB of the dynamic range DR is "1". In this case, the minimum digitization unit is 16. Numeral 172 denotes four bits which are selected when the MSB of the dynamic range DR is "0" and the second high order bit is "1". In this case, the minimum digitization unit is 8. Numeral 173 indicates four bits which are selected when the MSB and the second high order bit of the dynamic range DR are "0" and the third high order bit is "1". In this case, the minimum digitization unit is 4. Numeral 174 represents four bits which are selected when the MSB and the second and third high order bits of the dynamic range DR are "0" and the fourth high order bit is "1". In this case, the minimum digitization unit is 2. Numeral 175 indicates four bits which are selected when all of the high order four bits of the dynamic range are "0". In this case, the minimum digitization unit is 1. Another embodiment of the invention, namely, an example whereby the invention is applied to picture elements of a two-dimensional block will now be explained with reference to the drawings. Fig. 11 shows the entire arrangement of an encoder for this embodiment. A digital video signal of the NTSC system in which, for example, one sample is digitized to eight bits, is inputted to an input terminal 101. This digital video signal is supplied to a cascade connection of line delay circuits 102 and 103, and to a cascade connection of five sample delay circuits 111 to 115. A cascade connection of five sample delay circuits 121 to 125 is connected to the connecting point of the line delay circuits 102 and 103. A cascade connection of five sample delay circuits 131 to 135 is connected to the output terminal of line delay circuit 103. Due to the line delay circuits 102 and 103 (each having a delay amount of one line period) and the sample delay circuits 111 to 115, 121 to 125, and 131 to 135 (each having a delay amount equal to the sampling period of the input digital video signal), the picture element data of one block can be simultaneously obtained from output terminals of the respective delay circuits. In Fig. 12, a reference numeral 100 indicates one block, solid lines denote continuous n-th, (n+1)-th, and (n+2)-th lines of the current field, and broken lines represent lines of the other fields. One block consists of three lines. Each line contains six picture elements. When the picture element data of the (n+2)-th line is supplied to the input terminal 101, the picture element data of the (n+1)-th line is generated at an output of the line delay circuit 102, and the picture element data of the n-th line is generated at an output of the line delay circuit 103. Six picture element data from each line are accessed at the input and output terminals of each cascade connection of the sample delay circuits, as well as between each of the delay circuits. Two of the six picture element data of the same line (taken out by the cascade connection of the sample delay circuits 111 to 115) are supplied to each of the three selecting circuits 116, 117, and 118, respectively. Similarly, selecting circuits 126, 127, and 128 are each supplied with two picture element data from sample delay circuits 121 to 125. As well, selecting circuits 136, 137, and 138 are each supplied with two picture element data from sample delay circuits 131 to 135. Each of these selecting circuits is a digital level comparator which is configured to compare the levels of two picture element data inputted, and output the picture element data of larger magnitude at one output terminal and output the picture element data of smaller magnitude at the other output terminal. One output terminal of each of the selecting circuits 116 and 117 is connected to an input terminal of a selecting circuit 141. The other output terminals of the selecting circuits 116 and 117 are connected to an input terminal of a selecting circuit 151. One output terminal of each of the selecting circuits 118 and 126 is connected to an input terminal of a selecting circuit 142 and the other output terminals of the selecting circuits 118 and 126 are connected to an input terminal of a selecting circuit 152. One ouput terminal of each of the selecting circuits 127 and 128 is connected to an input terminal of a selecting circuit 143 and the other output terminals of the selecting circuits 127 and 128 are connected to an input terminal of a selecting circuit 153. One output terminal of each of the selecting circuits 136 and 137 is connected to an input terminal of a selecting circuit 144 and the other output terminals of the selecting circuits 136 and 137 are connected to an input terminal of a selecting circuit 154. Each of the selecting circuits 141 to 144 is a digital level comparator which is configured to compare the levels of two picture element data inputted and selectively output only the picture element data of larger magnitude. Each of the selecting circuits 151 to 154 is a digital level comparator which is configured to compare the levels of two picture element data inputted and selectively output only the picture element data of smaller magnitude. The outputs of the selecting circuits 141 and 142 are supplied to a selecting circuit 145. The outputs of the selecting circuits 143 and 144 are supplied to a selecting circuit 146. The outputs of the selecting circuits 145 and 146 are supplied to a selecting circuit 147. The output of the selecting circuit 147 and the output of the larger level of the selecting circuit 138 are supplied to a selecting circuit 148. The selecting circuits 145 to 148 selectively output the picture element data of larger magnitude similar to the selecting circuits 141 to 144. Therefore, the picture element data of the maximum level MAX among eighteen picture element data in the block 100 is generated at an output terminal of the selecting circuit 148. The outputs of the selecting circuits 151 and 152 are supplied to a selecting circuit 155. The outputs of the selecting circuits 153 and 154 are supplied to a selecting circuit 156. The outputs of the selecting circuits 155 and 156 are supplied to a selecting circuit 157. The output of the selecting circuit 157 and the output of the smaller level of the selecting circuit 138 are supplied to a selecting circuit 158. The selecting circuits 155 to 158 selectively output the picture element data of smaller magnitude, similar to the selecting circuits 151 to 154. Therefore, the picture element data of the minimum level MIN among eighteen picture element data in the block 100 is generated at an output terminal of the selecting circuit 158. The outputs of the selecting circuits 148 and 158 are supplied to subtracter 149. The subtracter 149 subtracts the minimum level MIN from the maximum level MAX, so that the dynamic range DR of eight bits is obtained at an output terminal 106. The minimum level MIN is taken out at an output terminal 107 and supplied to a subtracter 150. The picture element data PD generated at the output of the sample delay circuit 135 is supplied to the subtracter 150 through a delay circuit 104. The delay circuit 104 has a delay amount equal to the time lag which is caused by the detection of the maximum level MAX and minimum level MIN as mentioned above. The picture element data DTI of eight bits from which the minimum level was removed is obtained at the output of the subtracter 150. The dynamic range DR and the picture element data DTI (after the removal of the minimum level) are supplied to an encoder block 105. The encoder block 105 divides the dynamic range DR into equal parts according to the number of digitized bits (four bits in this example), and determines in which one of the divided areas the picture element data DTI (after the removal of the minimum level) is included, and generates the four-bit code DT to specify the decided area at an output terminal 108. The arrangement shown in Fig. 5, 7, or 9 may be used as a practical arrangement of encoder block 5. As described above, the dynamic range DR and minimum level MIN as additional data are obtained at the output terminals 106 and 107 of the encoder shown in Fig. 11. The compressed code of four bits is derived at the output terminal 108. One block of the original digital video signal consists of 144 bits (= 3 x 6 x 8 bits). According to this embodiment, one block consists of 88 bits (= 3 x 6 x 4 bits + 16 bits), so that the number of bits to be transmitted can be reduced by about one half. The code DT which is obtained at the output terminal 108 of the encoder has the same sequence as the input video signal. Therefore, the additional data MIN and DR of each block are generated for every three lines with respect to the line, and for every six samples with regard to the sampling direction. When the transmission data is divided for every predetermined amount of the code DT, an interval including no additional data occurs in the transmission process. Therefore, a buffer memory is connected to the output of the encoder and the additional data DR and MIN and the code DT of one block may be used as a unit of transmission. In this case, the length of the data portion consisting of the coded code DT in Fig. 3 becomes 64 bits (= 4 bits x 16). Fig. 13 shows an arrangement of the reception (or reproduction) side. Reception data from an input terminal 41 is supplied to a data separating circuit 42, by which the DT code and additional codes are separated. The additional codes, namely, the minimum level MIN and dynamic range DR, are supplied to an error correcting circuit 43 to correct any transmission error. An error concealing circuit 44 is connected to the error correcting circuit 43. The error concealing circuit 44 conceals (interpolates) the additional codes which could not be corrected on the basis of an error flag from the error correcting circuit 43. The additional codes which are outputted from the error concealing circuit 44 and the coded code DT, the timing of which was matched by a delay circuit 47, are supplied to a decoder 45. The code DT is decoded by the decoder 45 and the original picture element data PD is taken out at an output terminal 46 of the decoder 45. The decoder 45 decodes the eight-bit picture element data PD from the additional codes DR and MIN, each consisting of eight bits, and from the 4-bit DT code. The decoder 45 is configured as shown in Fig. 14. In Fig. 14, the code DT, dynamic range DR, and minimum level MIN from input terminals 48, 49, and 50 are stored into latches 51, 52, and 53, respectively. The dynamic range DR and minimum level MIN of one block are held in the latches 51 and 52. The code DT from the latch 51 and the dynamic range DR from the latch 52 are supplied to a decoder block 54. The data DTI (after the removal of the minimum level) is decoded by the decoder block 54. The data DTI and the minimum level MIN from the latch 53 are added by an adder 55, so that the picture element data PD is taken out at an output terminal 56 of the adder 55. The decoder block 54 decodes the representative value corresponding to the code DT. Fig. 15 shows an arrangement of one example of the decoder block 54. In the decoder block shown in Fig. 15 and a decoder block shown in Fig. 16 which will be mentioned later, it is assumed that the number of digitized bits of the DT code is two for simplicity of explanation. The decoder block of Fig. 15 has an arrangement corresponding to the encoder block shown in Fig. 5. The dynamic range DR from an input terminal 61 is divided by 4 by a divider 63 (which is comprised of a bit shifter to shift data by two bits) and the resultant data is supplied to multipliers 64 and 65. The multiplier 64 triples the output of the divider 63, and multiplier 65 doubles the output of the divider 63. The outputs of the multipliers 64 and 65, the output of the divider 63, and the code in which eight bits are all "0" are supplied to a selector 66. The selector 66 selects either one of four inputs in correspondence to the code DT from the input terminal 62 and outputs. When the code DT is (0 0), the selector 66 selects the code of zero. When the coded code DT is (0 1), the selector 66 selects the output ( 1 / 4 DR) of the divider 63. When the DT is (1 0), the selector 66 selects the output ( 2 / 4 DR) of the multiplier 65. When the DT is (1 1), the selector 66 selects the output ( 3 / 4 DR) of the multiplier 64. The output of the selector 66 is supplied to an adder 68. The output of the divider 63 is divided by 2 by a divider 67, and the resultant data is supplied to the adder 68. Therefore, the data DTI after the removal of the minimum level is obtained at an output terminal 69 of the adder 68. Fig. 16 shows another example of the decoder block 54. The example shown in Fig. 16 has an arrangement corresponding to the encoder block shown in Fig. 7. In Fig. 16, a digital multiplier 71 multiplies a value of ( 1 / 4 DR) from a divider 70 and the code DT from the input terminal 62. The multiplied output of the multiplier 71 and a data of ( 1 / 2 DR) from a divider 72 are supplied to an adder 73. The data DTI after the removal of the minimum level is taken out at the output terminal 69 of the adder 73. Fig. 17 shows still another example of the decoder block 54 and has an arrangement corresponding to the encoder block shown in Fig. 9. In Fig. 17, the input data DT is supplied to an input terminal 181 and the dynamic range information DR₂ inputted is supplied to an input terminal 182. The minimum level MIN inputted is supplied to an input terminal 183. The data DT is supplied to a selecting circuit 184. The selecting circuit 184 generates an output of eight bits selected on the basis of the dynamic range information DR₂ from among five kinds of eight-bit data in which "0" bits of total four bits were added to the high order side or low order side of the data DT of four bits. The output data of the selecting circuit 184 corresponds to the data DTI after the removal of the minimum level. The output of the selecting circuit 184 is supplied to one input terminal of an udder 185. The minimum level MIN is supplied to the other input terminal of the adder 185. The picture element data PD is taken out at an output terminal 186 of the adder 185. In the above description, three data of the code DT, dynamic range DR, and minimum level MIN are transmitted. However, as the additional codes, the minimum level MIN and maximum level MAX, or the dynamic range DR and minimum level MIN may be transmitted. Further, instead of transmitting the dynamic range DR, the minimum digitization level which is formed by this signal may be transmitted in place of this signal. According to the present invention, the amount of data to be transmitted can be reduced compared with the amount of original data. Thus, the transmission band can be narrowed. In addition, this invention has an advantage such that in the non-moving portion of the picture where the dynamic range of picture element data is small, the original picture element data can be completely recovered from the received data with little or no deterioration of picture quality. Moreover, according to the invention, since the dynamic range is evaluated separately for each block, the reconstructed pictured responds very well to motion in the moving part of the picture such as the edge where the dynamic range is large.

Claims: Coding apparatus for coding digital video data in the form of a block data to a compressed video data, comprising: first detecting means (10,12) for detecting a maximum value (MAX) of the digital video data of plural picture elements in said block, second detecting means (11,13) for detecting a minimum value (MIN) of the digital video data of plural picture elements in said block, means for generating (14) a dynamic range value (DR) of the data in the block by subtracting said minimum value (MIN) from said maximum value (MAX). means (16,4) for subtracting said minimum value (MIN) from each of the digital data to generate modified digital video data (DTI), means (5) for encoding said modified digital video data (DTI) using a fixed number of bits, which number is less than that of the original digital video data, so as to output compressed digital video data (DT),and transmitting means for transmitting the output (DT) of said encoding means (5) and an additional code per block formed of at least two of said maximum value (MAX), said minimum value (MIN), and a signal representing said dynamic range value (DR). Apparatus according to claim 1, wherein said encoding means (8) includes a reference level signal generator (23-25) supplied with said dynamic range value (DR) for generating a number of reference levels representing different fractions of the dynamic range value (DR), comparator means (26,27,28) for comparing said modified digital video data (DTI) and said reference levels; and priority encoding means (29) supplied with the results of comparison by said comparator means (26-28) of the modified digital video data (DTI) with said fractions and for generating as the output of said encoding means a code representing said results and using said fixed number of bits. Apparatus according to claim 1, wherein said encoding means (8) includes level dividing means (31) supplied with said dynamic range value (DR) for level dividing said dynamic range (DR) by the number according to said fixed number, and a digital divider (30) for dividing said modified digital video data (DTI) by the output of said level dividing means (31), the output of said digital divider (30) being the output of said encoding means. Apparatus according to claim 1, wherein said encoding means (8) includes a priority encoding means (165) supplied with said dynamic range value (DR) and for generating an encoded data (DR2) with a smaller number of bits than that of said dynamic range value (DR), and a bit selector (163) supplied with said modified digital video data and for selecting a predetermined number of bits of said modified digital video data, said predetermined number being equal to said fixed number and said predetermined number being controlled by said encoded data (DR2). Apparatus according to claim 4, wherein said priority encoder (165) generates the encoded data representing the most significant bit position of said dynamic range value (DR) which contains a binary "1". Apparatus according to claim 1, wherein said transmitting means includes a parity adding circuit for adding parity data at least to said additional code. Apparatus according to claim 1, wherein said digital video data in each block represents a two dimensional group of picture elements. Apparatus according to claim 1, wherein said digital video data in each block represents a one dimensional group of picture elements. An apparatus for decoding a compressed video data signal transmitted by the transmitting means of a coding apparatus in accordance with claim 1, the apparatus comprising: input means (48,49,50) for receiving said compressed digital video data (DT), and said additional code (MAX, MIN, DR) per block; decoding means (54) responsive to said compressed digital video data (DT) and at least one of said additional codes (MAX, MIN, DR) for creating the said modified digital video data (DTI) as were by the said encoding means (5) of the coding apparatus in accordance with claim 1; adder means (55) for adding one of said additional data to said modified digital video data (DTI) to create picture element data (PD); and output means (56) for outputting said picture element data (PD).

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