US 4567518 A Abstract An error protection code which acts on subpictures for the transmission of television picture information. First the picture is subpicture-wise transformed (124) by means of transformation functions, for example, Hadamard functions. Of the coefficients thus formed, a number of most significant coefficient bits which are associated with low frequency transformation functions are protected against a bit error (126). Moreover, a comparatively small number of coefficient bits within said number are protected against an additional bit error.
Claims(5) 1. In a system receiving encoded data for reconstructing a television picture constituted by a plurality of subpictures, said encoded data comprising subpicture data transformed by transformation functions each having a series of a coefficient bits including a most significant bit, said transformation functions having associated frequencies including a lowest frequency, said series of coefficients being encoded in subsets of k bits of said a coefficient bits into code words comprising larger groups of n bits by a predetermined code having a first minimum Hamming distance of four for allowing at least single error correction, double error detection within said k bits, said code further having a second minimum Hamming distance of five for allowing double error correction within an error protected subset of at least two of said k bits, and wherein said k bits contain at least one bit constituting said most significant bit of said coefficient associated with said transformation function having said lowest frequency, decoding apparatus comprising
means for receiving each of said code words and generating a syndrome word indicative of errors therein on a first output and a plurality of the most significant code bits of said code word on a second output; error indication means having an input connected to said first output and a first error indication output for furnishing a plurality of primary error indication bits indicative of errors detected in a corresponding plurality of said most significant code bits; logic means having a first input connected to said first error indication output and a second input connected to said second output of said receiving and generating means for adding said primary error indication bits to said most significant code bits thereby creating a plurality of repaired code bits; and means connected to said logic means for generating reconstructed data words in response to said repaired code bits. 2. A system as set forth in claim 1, wherein said error indication means further has a second error indication output for furnishing a multiplicity of secondary error indication bits;
wherein a number of said reconstructed data words include ambiguously defined data bits; further comprising estimating circuit means connected to said reconstructed data words generating means and said error indication means for generating final data words in response to said reconstructed data words under the control of said secondary error indication bits. 3. A system as set forth in claim 2, wherein said error indication means comprises memory means having storage locations addressable by said syndrome words and furnishing said primary and secondary error indication bits from so-addressed storage locations.
4. A system as set forth in claim 2, wherein said logic means comprises a plurality of exclusive OR gates.
5. A system as set forth in claim 2, further comprising display means for displaying said television picture in response to said final data words.
Description This is a continuation of application Ser. No. 451,685, filed Dec. 20, 1982. 1. Field of the Invention The invention relates to a system for receiving and decoding television picture information transmitted as a first series of coefficients of a second series of transformation functions into which the television picture information is transformed subpicture-wise, the transmitting system comprising a picture converting device which comprises a transformation device for the subpicture-wise transformation of the television picture for application to a transmission. Specifically it relates to decoder apparatus for reconstructing, from the subpicture-wise organized first series of coefficients, the television picture information organized in television lines and in pixels within a television line for the purpose of display. The transmission medium may be a communications channel, for example, a bundle of telephone lines, or a storage medium, for example, a magnetic tape within a video cassette recorder (VCR). A system for performing such transformation is disclosed in an article by H. Bacchi et al, Real-time orthogonal transformation of colour-television pictures, Philips Technical Review, Volume 38, 1978/79, pages 119-130. Such encoding serves to limit the redundancy of the picture information so that the bit rate on a transport medium, or the number of bits to be stored on a storage medium may be, for example, a factor four smaller without the subjective display quality being substantially reduced. For the transformation functions use is preferably made of Hotelling, Fourier, Hadamard and Haar functions; in the following example only Hadamard functions and matrices are considered, because they allow for simpler arithmetical operations. The reduction of the redundancy leads to a higher susceptibility to errors. Certain errors are subjectively experienced as being hardly annoying and other errors as very annoying. It is the object of the invention to enable correction in the coefficients pertaining to a single subpicture of at least one bit error in a first number of important coefficient bits, and at least one further bit error in a selection of very important coefficient bits from said first number, without utilizing excessive redundancy and hence without substantial addition of equipment. The object in accordance with the invention is achieved in that in the transmitter the transformation device comprises an encoder having a redundancy generator for the redundant encoding of the coefficients bits pertaining to a single subpicture to be block-wise supplied to the transmission medium, notably of a first number of coefficient bits thereof which are associated with at least one lowest frequency transformation function of the second series as most significant bits of the associated coefficient(s), in order to obtain a second number of code bits of an error correction code which has been increased by a second number of redundancy bits and which has a first minimum Hamming distance which equals at least four, a second minimum Hamming distance thus being formed for a third, smaller predetermined number within said first predetermined number of coefficient bits, said second minimum Hamming distance being at least one higher than the first minimum Hamming distance, the decoder includes a syndrome generator and a corrector in order to render, from a fourth number of code bits which equals the sum of the first and the second number of bits, at least one bit error in said first number of coefficient bits blockwise correctable and also at least one further bit error in said third number of coefficient bits. As is known, one bit error can be corrected in the case of a minimum Hamming distance of four and, in conjunction therewith, two bit errors can be detected. Coefficient bits are to be understood to mean herein bits which form the binary coded coefficients of the transformation bits. Data bits are to be understood to mean herein the bits which are applied to the encoder of the error correction code in order to be encoded. Code bits are to be understood to mean herein the bits which form the output result of the encoder or the information supplied for the decoder. The bits which results from the analog-to-digital conversion of the picture information before it is applied to the transformation device will not be considered, and the bits which are formed after the implementation of the error correction code in order to adapt the signal to be transmitted to the specific properties of the transmission medium (modulation bits) will not be considered either. In a particular embodiment of a system of the kind described in the preamble, it is proposed to activate the encoder selectively, under the control of subpicturewise received television picture information, to operate in one of a fifth number of transformation modes, a unique set of numbers of coefficient bits being added to the relevant elements of the second series of transformation functions in each transformation mode, a signalling bit group also being applied to the transmission medium in order to indicate the transformation mode thus activated. This is described in the prior unpublished Netherlands Patent Application 8003873 (PHN 9789) which corresponds to the U.S. patent application Ser. No. 278,235 in the name of Applicant which is incorporated herein by way of reference. The earlier system has a normal mode in which information is transported only as a small number of bits, for example, as a 0 bit or a 1 bit. In occasional cases this is not sufficient and for one (or some) blocks a change-over is made to an auxiliary mode. For some transformation functions the number of coefficient bits is then increased at the expense of other transformation functions. It is attractive to include the signalling bit group, together with the first number of coefficient bits, in the error correction code so that the selection of the incident modes is protected. In a further particular embodiment of a system of the kind described in the preamble it is proposed, for use with colour television picture information which is sampled in the converter with a sample frequency fs which equals twice the colour subcarrier frequency fsc at instants which coincide with the phase positions ±π/4+Mπ, in which M=0, 1, 2, . . . , of the colour information signal u(t) in the line signal, that the transformation functions are Hadamard functions. This is described in the prior unpublished Netherlands Patent Application 8004521 (PHN 9804) and the corresponding U.S. patent application Ser. No. 288,231 in the name of Applicant which is incorporated herein by way of reference. According to the earlier system, the colour difference signal is embodied in only a very small number of coefficients, for example, in only two coefficients. In that case it is attractive to include the most significant coefficient bit of each of the two transformation functions representing the colour difference information in the error correction code. Preferably, the third number of coefficient bits consists of the most significant coefficient bits of the transformation function which indicates the mean luminance of the relevant subpicture. It has been found that the protection of these most significant bits offers a good subjective result. The number of bit errors to be corrected preferably equals the number of bits forming the third number of coefficient bits. The invention also relates to a picture converting device for use in a system of the described kind in which the encoder forms a non-systematic code. It has been found that, contrary to many other cases, the non-systematic code then offers an attractive compromise between means and results. Preferably, the number of data bits protected by the error correction code amounts to six and said second number preferably also amounts to six. This results in a simple implementation with usually adequate correction possibilities. The invention also relates to a display apparatus for use in a system of the described kind in which the decoder forms a feasible series of data bits on the basis of at least one series of a the fourth number of code bits which has been found to be incorrect but not correctable. Sometimes the correction is then correctly performed but sometimes also incorrectly. However, it has been found that in many cases the third number of coefficient bits can still be correctly recovered. The invention also relates to a decoder for use in a system or a display apparatus of the described which is constructed as a switching module. It may be a single integrated circuit or, for example, a module consisting of several integrated circuits. The invention will be described in detail hereinafter with reference to some Figures. FIG. 1 diagrammatically shows a system in which the invention can be incorporated, FIG. 2 shows, as background information, some possibilities for the coding of a subpicture by means of Hadamard functions, FIG. 3 shows more relevant information for a subpicture consisting of 4×4 pixels, FIG. 4 shows some configurations of subpictures comprising 4×4 pixels, FIG. 5 shows five possibilities for the numbers of coefficient bits to be added to the relevant elements of the series of transformation functions, FIG. 6 shows the generator matrix of a specimen code, FIG. 7 shows the set of code words formed for this code, FIG. 8 shows an encoder for this code, FIG. 9 shows the parity check matrix for the specimen code, FIG. 10 shows a table with the syndrome words which can be formed, FIG. 11 shows a block diagram of a decoder for the speciment code, FIG. 12 shows a detail of the decoder, FIG. 13 shows a table with syndrome words and associated error indication bits, FIG. 14 shows a detail of the decoder, FIG. 15 shows a table with feasible (n, k) code, and FIG. 16 shows the generator matrix of a (12, 4) code. FIG. 17 shows the relationship between code bits and (guessed) data bits for the FIGS. 6, 9. FIG. 1 diagrammatically shows a system in which the invention can be incorporated. Element 120 is a camera tube. The signal which is scanned line-wise is converted into a digital representation in element 122. Transformation device 146 first of all comprises a Hadamard transformation device 124 and an encoder 126 for an error correction code as will be described hereinafter. Block 128 represents an interleaving device for spreading over a larger time interval faults cause by burst errors. Block 130 represents a modulator for converting the series of code bits received into channel symbols: this series is thus adapted to the properties of the transmission medium. For example, given lower limits are implemented as regards the length of intervals without transitions (run length limitation). Line 144 represents the transmission medium which may be a storage medium or, for example, a communication channel. The elements 120 to 130 may together form part of a picture converting device, for example, a camera. Block 132 represents a demodulator for recovering the code bits from the series of channel symbols regenerated. Element 134 represents the opposite member of the block 128 and serves for de-interleaving . Element 136 represents the decoder for reconstructing or choosing the data bits from the code bits. Element 138 forms the opposite member of the block 124 for cancelling the Hadamard transformation and for recovering a binary coded amplitude signal per pixel. Element 140 represents a digital-to-analog converter. Element 142 represents the display element which is in this case constructed as a cathode ray tube. The elements 132 to 142 may form part of a display apparatus. For background information FIG. 2 shows some possibilities for the encoding of a subpicture by means of so-called Hadamard functions. The first eight Hadamard functions are shown over a unit time interval at the left of the Figure with bivalent amplitude (0, 1). This row of functions can be indefinitely continued. It can be demonstrated that an arbitrary function can be approximated with any desired accuracy over the unit interval by means of a series of Hadamard functions with adapted amplitude. The same is applicable to a two-dimensional subpicture, four of which are denoted by the reference numerals 20, 22, 24, 26, with bivalent density (white and shaded). Block 20 has an intensity which varies in the horizontal direction according to the function 38 and in the vertical direction according to the function 30: code 3830. The other blocks have the following codes 22: 4034; 24: 3236; 26: 4242. In the approximation of an arbitrary monochrome intensity distribution in the subpicture, the coefficients of the higher order Hadamard functions are almost always relatively small. Such a code can also be used for a polychrome picture (generally trichrome in the case of television pictures). In addition to the luminance signal two colour difference signals are applicable (for red and for blue). The variation of these colour difference signals can also be approximated by means of a series of Hadamard functions with suitable coefficients. As a continuation FIG. 3 shows the sixteen feasible Hadamard functions for approximating a subpicture comprising 4×4 pixels. It is to be noted that this can also be done with subpictures which are not square. However, hereinafter only subpictures comprising 4×4 pixels will be considered. Generally, the number of picture lines and the number of pixels per picture line preferably equals a power of the number two. The number of feasible Hadamard functions for a one-dimensional interval of p pixels (or lines) equals p. FIG. 4 shows four feasible dispositions of a subpicture of 4×4 pixels, a shift of one half pixel period being allowed between the pixels of two successive picture lines. FIG. 4, example 44, shows an attractive configuration of a subpicture for a PAL system and identical configurations of the subpictures; it has been found that the colour difference signals are then embodied in the functions C6 and C7 of FIG. 3 (FIG. 3 does not shown the shift of the picture lines; furthermore, the subpicture concerns only a single frame). FIG. 4, block 46, shows an attractive configuration of a subpicture for an NTSC system and identical configurations of the subpictures; it has been found that the colour difference signals are then embodied in the functions C5 and C7 of FIG. 4. By combinations of the subpictures shown in FIG. 4 and possibly of their mirror images, a picture can be divided in many ways; within one picture, subpictures of mutually different configuration may also occur. For further details, reference is made to the cited Netherlands Patent Application No. 8004521. The information of each subpicture is transformed by means of the set of Hadamard functions which is symbolized in FIG. 3, the coefficients being represented by a bit group. FIG. 5 shows five examples for the assignment of a given number of bits to each of these coefficients. The digits in the column 62 correspond to the order of the Hadamard function in FIG. 2. The total number of bits in each column (being the sum of the numbers in the column) always equals 38 in FIG. 5. This means that the same total dynamics can be realized for the luminance of a subpicture, because each Hadamard function has the same mean value, that is to say half the luminance "white" in FIG. 3. The combination of column 60 of FIG. 5 and the subpicture configuration 44 shown in FIG. 4 represents an attractive realization for a PAL system in which the colour difference signals are embodied in the coefficients of the Hadamard functions C6 and C7 of FIG. 3. The five columns shown in FIG. 5 represent the numbers of transformation modes in which the picture can be represented. Notably the first four columns represent many selectable cases. Column 52 represents a "normal" situation with an "average" picture, and the other columns represent cases in which a coefficient which is normally small is "large" in a special case. Such a coefficient can then be represented by a larger number of bits so that it is emphasized. Column 54 emphasizes C5, C9, C13 Column 56 emphasizes C5, C9, C13, Column 58 emphasizes C5, C6, C13, C9, the emphasis being at the expense of mainly C0. It is to be noted that such different transformation modes can also be realized when the combination of the column 60 represents the normal mode. The selection from the four (or possibly another number) transformation modes is signalled by a signalling bit group (of two bits in the case of realization according to the columns 52 . . . 58 of FIG. 5). The subpicture of 16 pixels is thus coded by 40 data bits, 38 of which are coefficient bits; this means 21/2 bit per pixel. Other adaptive transformation methods are also known per se. In the embodiment in accordance with the invention, six of said 40 data bits which represent the relevant subpicture information are protected by a nonsystematic (n,k)=(12, 6) code, which means that six redundancy bits are added thereto without it being possible to reconstruct any of the six protected data bits from one relevant code bit (in the non-disturbed condition of the code bits). As regards the first four columns of FIG. 5, these six data bits may represent the four most significant bits of the coefficient C0 plus the two bits of the signalling bit group. Alternatively, in the columns 54, 56 and 58, the three most significant bits of C0 plus the most significant bit of C8 may be selected. In column 60 of FIG. 5, the six protected bits may be the four most significant bits of the coefficient of the transformation function C0 and the most significant bits of the functions C6, C7 which represent the colour difference signals. FIG. 6 shows the generator matrix of the speciment code used and FIG. 7 shows the table with the 12-bit code words thus formed (column 64) on the basis of the relevant data words (column 66). Column 68 states the weight of the associated code word, i.e. the number of code bits having the value "1". Ignoring the code word which consists entirely of "0" bits, the minimum weight of a code word equals four. This means that the minimum Hamming distance of the code also equals four, so that at all times one error bit can be corrected in a code word and two error bits can be detected. FIG. 8 shows an encoder for implementing the generator matrix of FIG. 6. The six data bits arrive in parallel on the inputs 72; the twelve code bits are also outputted in parallel on the outputs 74. The matrix is implemented by means of EXCLUSIVE-OR elements such as the element 70. It is alternatively possible to perform the coding operation by means of a read-only memory which comprises (at least) six inputs and twelve outputs. The interleaving, modulation and parallel/series conversion mechanisms have been omitted in this Figure. When a code word is received which comprises two incorrect bits, it can be detected as being an incorrect code word. In that case there are a number of code words which are situated from the relevant code at a Hamming distance which equals two. For the decoding of this incorrect code word it is not relevant to determine the correct code word from the feasible choices. However, it is important that the most likely correct data word is selected in the case of an incorrect code word. It appears that the table of FIG. 7 can be divided into four subtables. All data words of each subtable have the same value for the two extreme left (most significant) bits. Each code word of a subtable then has a Hamming distance of at least 5 from each code word of each other subtables. For the code word which consists entirely of zeros, this can be verified most easily. Consequently, the two most significant data bits are protected by a code which corrects two bit errors. It also appears that when two bit errors occur in a code word, one in an even position and one in an odd position, correction is also feasible. This appears from the fact that there is no code word having the weight "4" with a "1" in an even bit position as well as in an odd bit position. FIG. 9 shows the parity check matrix [H] of the specimen code which satisfies [G]·[H]=0. Multiplication of a twelve-bit word by the parity check matrix [H] produces a six-bit syndrome word. If the twelve-bit word is an error-free code word, the syndrome word consists exclusively of "0" bits. FIG. 10 shows a table with the syndrome words. The first two columns state the digital and the binary representation of the syndrome words. The further column states the order of incorrect code bits (0-11) causing the relevant syndrome word. If there are several possibilities, they are separated by a semicolon. For all feasible 2 (a) a single incorrect code bit in a code word is always corrected because a unique syndrome word is associated therewith, (b) two incorrect code bits in a code word are also always corrected if they do not both belong to the even code bits of the code word or both to the odd code bits of the code word, (c) when two code bits of the code word are incorrect, both bits having an even or an odd order number, the two most significant data bits are correct or will be properly corrected. In the case of eight different results for the syndrome word (sixteen feasible error patterns in the code word), one data bit must be guessed. In the case of six other different results for the syndrome word (fourteen feasible error patterns in a code word), two data bits must be guessed. In the case of one different result for the syndrome word (several feasible error patterns), the entire data word must be guessed because in that case at least three code bits are incorrect. FIG. 11 shows a block diagram of a decoder for use with the described code. The correct or incorrect twelve-bit code words C arrive on input 76. Element 78 is the syndrome generator which generates a six-bit syndrome word on output 80 by means of the parity check matrix [H], and which conducts the six most significant code bits on output 82. Element 84 is a read-only memory which is addressed by the six syndrome bits; a synchronizing clock system has been omitted for the sake of simplicity. The read-only memory 84 outputs nine error indication bits: six on output 86 and three further error indication bits on output 88. The first six error indication bits e 0: after the operation by means of the six first error indication bits, no further modification of the data content of the six most significant code bits is required. 1: (in this case no correction has been performed in element 87): the entire data word must be guessed because there are more than two incorrect code bits. 2: in addition to the correction performed by the first group of error indication bits, the data bits m 3: in addition to the correction performed by the first group of error indication bits, the data bit m 4: the correction by the first group of error indication bits has not taken place, data bit m 5: the correction by the first group of error indication bits need not be performed, data bit m 6: the data bits m 7: the data bits m The connections 76, 80, 82 and 86 of the circuit shown in FIG. 12 have already been mentioned. The logic operations are again performed by means of EXCLUSIVE-OR-elements. Connection 92 represents the output of the multiple EXCLUSIVE-OR element 87 of FIG. 11. In block 90 of FIG. 11, a provisional six-bit data word is reconstructed from the first six code bits thus provisionally corrected, the reconstructed data word being presented on output 94. The latter connection is also shown in FIG. 12, together with the internal construction of the element 90. The latter can be constructed in the described manner by means of only four exclusive-OR-elements and by cross-wiring in order to modify the sequence of some code bits. In block element 96, the data bits which are not unambiguously defined are guessed under the control of the three last error indication bits. The decoding of the error indication bits is shown in FIG. 14. The circuit shown in FIG. 14 comprises two inverters, such as the element 98, a logic OR-gate 102, and five logic AND-gates such as the element 100. On the outputs 102 . . . 110 the signals necessitating the guessing operation successively appear for the data bits m a. guessing implies: assuming to be zero: the output signal of FIG. 14 is bit-wise combined with the associated data bits in an OR-function. b. analogously, guessing may imply: assuming to be "1". c. guessing implies that the treatment depends on the data content, for example, the value for the preceding subpicture is substituted. Typical properties of the transmission may also be taken into account, for example, the fact that an error from 0 to 1 is more probable than vice versa, or the effect of neighbouring bits may be considered. This is not elaborated herein. FIG. 15 shows a table for feasible (n, k) codes. The first column states the length of a code word, i.e. the value of n. The second column states the length of a data word, i.e. the value of k. The third column shows the relevant minimum Hamming distance for each of the data bit. Therefore, for a (11, 4) code the two most significant bits are protected against two incorrect code bits, while an additional incorrect bit can be detected. The protection for the other two data bits is less. For some cases more possibilities exist, for example, for the (11, 2) code. Sometimes more than two protection levels are feasible, for example, in the (12, 4) code. The generator matrix of the latter code is shown in FIG. 16. The code already described with reference to the FIGS. 6, 9 represents a special case of a class of [n, k]=[4n, 2n] codes with n≧3 and Hamming distances for the relevant data bits of (n+2, n+2, 4, 4, . . . ) where the differences between the Hamming distances are attractive. A very favourable generator matrix for such a code is given by: ##EQU1## Therein, e Assume that there are two bit errors in the word received (the guesses for m -1 error in the even positions exactly one of the guesses (1), (2) and (3) 1 error in the odd positions is wrong and exactly one of the guesses (4) and (5); therefore the majority is right. -2 errors in the even positions exactly two of the guesses (1), (2) and (3) are wrong or none of the guesses is wrong; therefore, the majority is right. -2 errors in the odd positions one or two of the guesses (4) and (5) are wrong; therefore, the majority is right. Thus, m Patent Citations
Referenced by
Classifications
Legal Events
Rotate |