Image coding apparatus and image decoding apparatus

Abstract: In a high efficiency coding apparatus for performing plural different types of orthogonal transformation, by reordering the signals after orthogonal transformation and transforming into signals of same statistic characteristics, distortion of coding efficiency due to mismatching of the characteristics of coding device is reduced even if the output of the orthogonally transformed signal is coded by one fixed coding device.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high efficiency coding apparatus used for the purpose of lowering the transmission rate or recording rate practically without deteriorating the picture quality of video signal when transmitting or recording the video signal. 2. Description of the Prior Art When coding a video signal, in a still picture, coding within a frame is higher in efficiency than coding within a field, while, in a moving picture, it is known that coding within a field is lower in coding distortion than coding within a frame and is hence enhanced in the coding efficiency. Therefore, to enhance the coding efficiency, two types of orthogonal transformation are required, that is, the orthogonal transformation suited to coding within a frame and the orthogonal transformation suited to coding within a field. In the conventional high efficiency coding apparatus, however, for plural orthogonal transformations, plural orthogonal transforming devices and coding devices corresponding to the plural orthogonal transforming devices were necessary. For example, an orthogonal transforming device for coding within frame and a coding device for coding within frame, an orthogonal transforming device for coding within frame and a coding device for coding within frame are necessary. In particular, the coding device is complicated in processing as compared with the orthogonal transforming device, and hence the hardware scale is increased. US-A-4,849,812 discloses a coding/decoding device in which motion detection is carried out between two fields of a frame, if no motion is detected, intraframe transform is employed and if motion is detected, intrafield transform is employed. The device of this disclosure suffers from the fact that the output from the transform device to a coding device will vary in pattern depending on the coding used and the coding device therefore cannot take into account statistical features of the transformed data. It is hence a primary object of the invention to present a high efficiency coding apparatus for performing an orthogonal transformation adaptively selected from plural orthogonal transformation on a video signal so that lowering of coding efficiency due to mismatching of orthogonal transformation may be less in video signals with different characteristics such as still picture and moving picture, without practically increasing the hardware scale as compared with the conventional high efficiency coding apparatus having one orthogonal transforming device. To achieve the above object, a coding apparatus of the invention comprises a coding apparatus comprising: an orthogonal transforming device for performing, in dependence on image characteristics, one of at least two types of orthogonal transformation on a digital video input signal formed in blocks; and a coding device for coding said transformed signal into an output signal; characterized by a reordering device for reordering the transform coefficients of the transformed signal in order to match the statistical characteristics of the signals transformed using different ones of said orthogonal transformations; and an adapted coding device for coding the output signal of the reordering device by one technique for all of said types of orthogonal transformations. A high efficiency decoding apparatus of the invention comprises a decoding device for decoding a coded input signal, a reordering device for reordering an input signal of the decoding device, and an orthogonal transforming device for performing at least two types of orthogonal transformations on an output signal of the reordering device. The video signal is orthogonally transformed by the orthogonal transforming device, and is coded by the coding device. At least two orthogonal transforming devices execute at least two types of different orthogonal transformations, but it is not always necessary to calculate plural orthogonal transformations at the same time. The output signal from the orthogonal transforming device is reordered in data by the reordering device. The purpose of reordering is to standardize the statistic characteristics of the signal processed by plural types of orthogonal transformations into one type. If there is only one statistic characteristic, distortion of coding efficiency due to mismatching of a coding device does not occur even if there is only one coding device necessary for coding the data. As a result, as compared with the conventional high efficiency coding apparatus composed of one orthogonal transforming device and one coding device, only by a slight increase of the hardware scale, a high efficiency coding apparatus with a high coding efficiency can be composed. The hardware may be further simplified by performing a special orthogonal transformation as plural orthogonal transformations, and such orthogonal transformation is described in detail in the embodiments. Besides, since the coding device of the high efficiency coding apparatus is only one type, the decoding device of the high efficiency decoding apparatus may be also one type, which is enough for decoding the signal coded by the high efficiency coding apparatus. Therefore, the coded input signal is decoded by the decoding device, and is reordered in the manner reverse to the reordering of the data conducted in the high efficiency coding apparatus. The reordered data is orthogonally transformed in the transformation inverse to the orthogonal transformation conducted in the high efficiency coding apparatus. Therefore, the orthogonal transforming device of the high efficiency decoding apparatus can be realized in a small hardware scale equivalent to the orthogonal transforming device of the high efficiency coding apparatus. BRIEF DESCRIPTION OF THE DRAWINGS Fig, 1 is a block diagram of a high efficiency coding apparatus in a first embodiment of the invention; Fig. 2 is an explanatory diagram showing energy distribution of orthogonally transformed signals; Fig. 3 is an explanatory diagram for reordering of the high efficiency coding apparatus of the first embodiment, Fig. 4 is a block diagram of a high efficiencydecoding apparatus in a second embodiment of the invention; Fig. 5 is a block diagram of an orthogonal transforming device which is a part of a high efficiency coding apparatus in a third embodiment of the invention; Fig. 6 is a signal diagram of four-point discrete cosine transformation; Fig. 7 is a signal diagram of eight-point discrete cosine transformation; Fig. 8 is an explanatory diagram of multiplication and butterfly calculation; Fig. 9 is a signal diagram of sum and difference of four-point discrete cosine transformation; Fig. 10 is a block diagram of an orthogonal transforming device which is a part of a high efficiency decoding apparatus in a fourth embodiment of the invention; Fig. 11 is a signal diagram of four-point inverse discrete cosine transformation; Fig. 12 is a signal diagram of eight-point inverse discrete cosine transformation; Fig. 13 is a signal diagram of sum and difference of four-point inverse discrete cosine transformation; Fig. 14 is a reordering diagram of two-dimensionally orthogonally transformed data; Fig. 15 is an explanatory diagram of the concept of frame and field; and Fig. 16 is a two-dimensional blocking and three-dimensional blocking diagram of image. DESCRIPTION OF THE PREFERRED EMBODIMENTS Fig. 1 is a block diagram of a high efficiency coding apparatus in a first embodiment of the invention. In the diagram, numeral 1 denotes an input signal, 2a, 2b are orthogonal transforming devices, 3a, 3b are output signals of orthogonal transforming devices, 4 is a selector 5 is a reordering device, 6 is a reordered output, 7 is a coding device, 8 is a coded output signal, and 9 is a changeover signal. Thus composed embodiment in Fig. 1 is explained below. The input signal 1 is a digital video signal formed in blocks, which are orthogonally transformed by orthogonal transforming devices 2a, 2b. Either one of the output signals 3a, 3b from the orthogonal transforming devices 2a, 2b is selected by the selector 4 according to the changeover signal 9 given from outside, and the reordering device 5 reordered in the order of the data indicated by the changeover signal 9, and delivers as signal 6. The changeover signal 9 is a signal generated by a motion detector or the like outside the orthogonal transforming device. For example, if the orthogonal transforming device 2a is for processing within frame and the orthogonal transforming device 2b is for processing within field, by applying the orthogonal transformation of the orthogonal transforming device 2a to a still picture and the orthogonal transformation of the orthogonal transforming device 2b to a moving picture, the high time axis correlation in the still picture is utilized, and the coding efficiency becomes high. Therefore, when judged to be a still picture by the motion detector, the changeover signal 9 commands the selector 4 to output signal 3a and reorder signal to suit to the signal 3a, and when judged to be a moving picture by the motion detector, the changeover signal 9 commands the selector 4 to output signal 3b and reorder signal to suit to the signal 3b. The signal 6 is coded by a specific coding technique by the coding device 7 to become a coded output signal 8. The reordering device 5 is intended to reorder so as to minimize the lowering of coding efficiency due to mismatching of the statistic characters of the signals 3a and 3b when coding the signal 3a or 3b orthogonally transformed by the orthogonal transforming device 2a or 2b by one coding device 7. Therefore, if the statistic characters of the signals 3a and 3b do not resemble after reordering, coding by the coding device 7 is difficult, and a large coding distortion may be produced, or the compression rate increase significantly, and therefore the reordering by the reordering device 5 is very important. Thus, according to the foregoing embodiment, by reordering the signals orthogonally transformed by the plural orthogonal transforming devices, the'coding efficiency is enhanced even if coded by one coding device. As a practical example of orthogonal transformation, a case of orthogonal transformation of 8 points × 8 points in a block composed of vertical 8 points and horizontal 8 points of signal within frame, and a case of orthogonal transformation of 4 points × 8 points in a block composed of vertical 4 points and horizontal 8 points of signal within field are explained below. An energy distribution of signal of 8 points × 8 points orthogonal transformation in frame to video signal is shown in Fig, 2 (a). The 4 points × 8 points orthogonal transformation in field is shown in Fig, 2 (b), in which a further correlation exists between fields, and it is more suited to high efficiency coding to obtain the sum and difference between fields. The sum and difference between fields obtained in each component of 4 points × 8 points orthogonal transformation in field are shown in Fig. 2 (c). In order to code the data distributed as shown in Fig. 2 (a) and the data distributed as shown in Fig. 2 (c) efficiently by one coding technique, it is necessary that both the statistic characters be similar to each other. Here is explained the technique of reordering the data distributed as shown in Fig. 2 (c) into the data of 8 points x 8 points having an energy distribution as shown in Fig, 2 (a). Supposing the sum component between the fields in Fig, 2 (c) to be q1 [i, j], and the difference component to be q2 [i, j], 1 ≦ i ≦ 4, 1 ≦ j ≦ 8, the reordered component is assumed to be p [i, j], 1 ≦ i ≦ 8, 1 ≦ j ≦ 8. Meanwhile, the smaller one of each subscript of p, q1, q2 is supposed to express the lower frequency, and the larger subscript denotes the higher frequency component. The correspondence between p [i, j] and frequency is shown in Fig, 3 (a). When transformed from q1, q2 into p, the lower the frequency component, the larger is the energy, so as to be close to the distribution in Fig. 2 (a). Assuming a quasi-still picture, the magnitude of the energy of q2 is estimated to be very small as compared with q1. Therefore, as shown in Fig. 3 (b), when q2 is put next to the higher order component of q1, it is supposed to be arranged in the order of magnitude of energy. On the other hand, in a moving picture, the energies of q1 and q2 are supposed to be nearly same in magnitude. Accordingly, as shown in Fig. 3 (c), when components of q1 and q2 are arranged alternately, it is assumed to be arranged in the sequence of energy magnitude. By thus reordering, the components of 8 points × 4 points orthogonal transformation in field may be transformed into the distribution similar to the distribution of the 8 points × 8 points orthogonal transformation in frame in a purely still picture or a moving picture, and when shared by one coding device, increase of coding distortion due to mismatching of the coding characteristics may be reduced. Incidentally, in the reordering of the 8 points × 4 points orthogonal transformation, the reordering is changed between the quasi-still picture and moving picture, but the reordering of the 8 points × 4 points orthogonal transformation may be fixed in either Fig. 3 (b) or Fig, 3 (c), by allowing the little distortion of picture quality of either quasi-still picture or moving picture. Fig. 4 shows a high efficiency decoding apparatus in a second embodiment of the invention. In the diagram, numeral 10 denotes a coded signal, 11 is a decoding device, 12 is a decoded signal, 13 is a reordering device, 14 is a reordered signal, 14 is a selector, 16a, 16b are orthogonal transforming devices, 17 is a orthogonally transformed signal or an output signal, and 18 is a changeover signal. In thus composed high efficiency decoding apparatus in Fig. 4, the operation is explained below. The coded signal 10 is decoded by the decoding device 11 to be a decoded signal 12. The decoded signal 12 is reordered in the data sequence by the reordering device 13, and is orthogonally transformed by either the orthogonal transforming device 16a or 16b selected by the selector 15. The reordering by the reordering device 13 and the changeover by the selector 15 are controlled by the changeover signal 18. This changeover signal 18 corresponds to the changeover signal 9 in Fig, 1, and it issues a command to the reordering device 13 so as to reorder reversely to the reordering by the reordering device 5. It also issues a command to the selector 15 so as to select the orthogonal transformation inverse to the orthogonal transformation in Fig, 1. The signal 17 orthogonally transformed by the selected orthogonal transforming device 16a or 16b becomes an output signal of the high efficiency decoding apparatus. Fig. 5 is a block diagram of an orthogonal transforming device for composing a high efficiency coding apparatus in a third embodiment of the invention. This embodiment is intended to assemble the orthogonal transforming devices 2a and 2b, and the reordering device 5 in the embodiment in Fig. 1, and realize by one orthogonal transforming device. In the diagram, numeral 20 is an input signal, 21 is a reordering device, 22 is a reordered output signal, 23 is a butterfly calculation unit, 24 is a butterfly calculation output signal, 25 is a multiplication & butterfly calculation unit, 26 is a multiplication & butterfly calculation output signal, 27 is a reordering device, 28 is a reordered output signal, 29 is a butterfly calculation unit, 30 is a butterfly claculation output signal, 31 is a multiplication & butterfly calculation unit, 32 is a multiplication & butterfly calculation output, 33 is a reordering device, 34 is a reordered output signal, and 35 is a changeover signal. The signal 35 corresponds to the changeover signal 9 in Fig. 1. In thus composed third embodiment, the operation is explained below. This orthogonal transforming device is intended to transform eight pieces of data by either eight-point discrete cosine transformation, or four-point × two-point discrete cosine transformation. In this case, the four-point × two-point discrete cosine transformation is a two-dimensional discrete cosine transformation for performing four-point discrete cosine transformation and two-point discrete cosine transformation in independent directions. First of all, signal diagrams of four-point discrete cosine transformation and two-point discrete cosine transformation are shown in Fig. 6 and Fig. 7. By the processing of these signal diagrams, from the input signal of X 1 ..., X 4 or X 1 ..., X 8 , the orthogonally transformed signal Z 1 , ..., Z 4 or Z 1 , ..., Z 8 will be obtained. Incidentally, rectangular symbol denotesmultiplication, which is realized in the composition shown in Fig. 8. In Fig, 8, 100a, 100b, 100c, 100d are multipliers, and when the rectangular symbol is i, it means to multiply cos (i·π), sin (i·π), sin (i·π), -cos (i·π), respectively. Besides, 101a, 101b are adders. Usually, two orthogonal transforming devices are necessary for performing both orthogonal transformations of eight-point discrete cosine transformation and four-point × two-point discrete cosine transformation. However, the operation in Fig. 6 is same as 200 of processing in Fig. 7, and it is found possible to compose in the equipment excluding the first butterfly calculation unit 23 and the first multiplication & butterfly calculation unit 25 from the orthogonal transforming device in Fig. 7. Here, in the case of four-point × two-point discrete cosine transformation, the two-point discrete cosine transformation or the calculation of sum and difference of data can be done by the first butterfly operation unit 23 in Fig. 7. From such viewpoint, from the input signal X 1 ,..., X 8 , the signals U 1 , U 2 , U 3 , U 4 and U 5 , U 6 , U 7 , U 8 after four-point x two-point discrete cosine transformation of X 1 +X 2 , X 3 +X 4 , X 5 +X 6 , X 7 +X 8 and X 1 -X 2 , X 3 -X 4 , X 5 -X 6 , X 7 -X 8 may be expressed in the signal diagram in Fig. 9. In Fig. 9, 201 and 202 are the portions for calculating the four-point discrete cosine transformation. The equipment compositions in jig. 7 and Fig. 9 are similar, and from this viewpoint it is the orthogonal transforming device in Fig. 5 that is composed to perfrom the orthogonal transformation in either Fig. 7 or Fig. 9. The operations of the devices in Fig. 5 are indicated by attaching the same numbers in Fig. 7 and Fig. 9. The changeover signal 35 is a signal given from outside, which changes over the eight-point discrete cosine transformation and the four-point × two-point discrete cosine transformation. The reordering device 21 is not necessary in the eight-point discrete cosine transformation in Fig. 7, but is needed in the four-point × two-point discrete cosine transformation in Fig. 8, and it is changed over by the changeover signal 35. The butterfly claculation unit 23 operates commonly in the eight-point discrete cosine transformation and four-point x two-point discrete cosine transformation. The multiplication & butterfly calculation unit 25 is required in part of the calculation in the eight-point discrete cosine transformation, and it is changed over by the changeover signal 35 to perfrom multiplication and butterfly calculation only when necessary. Since the reordering device 25 differs in the reordering sequence between the eight-point discrete cosine transformation and four-point × two-point discrete cosine transformation, it is changed over by the changeover signal 35 to as to reorder in specified order. The butterfly calculation unit 29 operates commonly in the eight-point discrete cosine transformation and four-point × two-point discrete cosine transformation. The multiplication & butterfly calculation unit 31 differs in the multiplier between the eight-point discrete cosine transformation and the four-point × two-point discrete cosine transformation, and it is changed over by the changeover signal 35 so as to multiply by the specified multiplier. Finally, it is reordered by the reordering device 33 to deliver the data in the sequence suited to the next calculation-or in the sequence of the magnitude of the frequency respectively in the eight-point discrete cosine transformation and four-point × two-point discrete cosine transformation, and this rearranging sequence differs between the eight-point discrete cosine transformation and four-point × two-point discrete cosine transformation, and it is selected by the changeover signal 35. Thus, according to this embodiment, since the four-point discrete cosine transformation and the sum and difference between fields may be calculated in the calculation circuit of eight-point discrete cosine transformation, two types of orthogonal transformation of eight-point discrete cosine transformation and four-point x two-point discrete cosine transformation may be realized in the hardware scale corresponding nearly to one circuit of eight-point discrete cosine transformation. Fig. 10 relates to a fourth embodiment, and is a block diagram of an orthogonal transforming device for performing an inverse orthogonal transformation of the orthogonal transformation shown in Fig, 5. In the diagram, numeral 40 denotes an input signal, 41 is a reordering device, 42 is a reordering device output signal, 43 is a multiplication & butterfly calculation unit, 44 is a multiplication & butterfly calculation unit output signal, 45 is a butterfly calculation unit, 46 is a butterfly calculation unit output signal, 47 is a reordering device, 48 is a reordering device output signal, 49 is a multiplication & butterfly calculation unit, 50 is a multiplication & butterfly calculation unit output signal, 51 is a butterfly calculation unit, 52 is a butterfly calculation unit output signal, 53 is a reordering device, 54 is a reordering device output signal, and 55 is a changeover signal. In thus composed embodiment in Fig. 10, the operation is explained below. This orthogonal transforming device is intended to process eight pieces of data in either eight-point inverse discrete cosine transformation or four-point × two-point inverse discrete cosine transformation. Figs. 11, 12 are signal diagrams of four-point inverse discrete cosine transformation and eight-point inverse discrete cosine transformation, respectively. Fig. 11 is an inverse transformation of Fig. 6 and Fig. 12 is an inverse transformation of Fig. 7. However, normalizing constants are omitted. The calculation in Fig. 11 is same as processing 203 in Fig. 12, and therefore by slightly adding to the orthogonal transforming device in Fig, 17, it is known that four-point × two-point inverse discrete cosine transformation can be done. The orthogonal transformation in Fig. 13 is a signal diagram of four-point × two-point inverse discrete cosine transformation. Comparing Fig. 12 and Fig. 13, flows of signal processing are similar, and it is the orthogonal transforming device in Fig. 10 that is designed to calculate both orthogonal transformations by one hardware. Meanwhile, the calculations corresponding to the devices in Fig. 10 are indicated by the same numbers in Fig. 12 and Fig. 13. The signal 55 is a changeover signal for performing either the orthogonal transformation in Fig. 12 or the orthogonal transformation in Fig. 13, and it is given from outside same as the changeover signal 35 in Fig. 5. The input signal 40 is reordered in the data sequence in the reordering device 41. This reordering is different between the orthogonal transformations in Fig. 12 and Fig. 13, it is changed over by the changeover signal 55. The reordered signal 42 is multiplied, added and subtracted in the multiplication & butterfly calculation unit 43. Since the multiplier in this multiplication differs between Fig, 12 and Fig, 13, it is changed over by the changeover signal 55. The signal 44 is subjected to butterfly calculation commonly in Fig, 12 and Fig. 13 in the butterfly calculation unit 45. The signal 46 is reordered as in Fig, 12 or Fig. 13 in the sequence indicated by the changeover signal 55 by the reordering device 47. The multiplication & butterfly calculation unit 49 is required only in the eight-point discrete cosine transformation in Fig, 12, and it is changed over whether to multiply or not by the changeover signal 55. The signal 50 is reordered commonly in Fig. 12 and Fig. 13 by the butterfly calculation unit 51, and the data is reordered as in Fig. 12 or Fig. 13 by the command of the changeover signal 55 in the reordered device 53. Hence, the inverse transformation in Fig. 5 may be also realized by one orthogonal transforming device shown in Fig. 10, and the hardware is outstandingly simplified as compared with the conventional high efficiency coding apparatus requiring plural orthogonal transforming devices. In the third embodiment, sharing of the orthogonal transforming device between eight-point discrete cosine transformation and four-point × two-point discrete cosine transformation was explained, and in the fourth embodiment, sharing of the orthogonal transformation device between the eight-point inverse discrete cosine transformation and the four-point × two-point inverse discrete cosine transformation was explained. This embodiment can be, moreover, easily extended, generally, to an m-point orthogonal transforming device (m being a multiple of 2) containing m/2-point orthogonal transforming device in itself. That is, the m-point orthogonal transforming device requires at least one more adder/substracter than the m/2-point orthogonal transforming device, and by using this adder/subtracter, two-point orthogonal transformation, that is, addition and subtraction of data can be done. Therefore, same as the orthogonal transforming device in the third embodiment or the orthogonal transforming device in the fourth embodiment, the orthogonal transforming device sharing the m-point orthogonal transformation and m/2-point × 2-point orthogonal transformation may be realized in the hardware scale almost same as the m-point orthogonal transforming device. Incidentally, the video signal possesses two time units, that is, frame and field. The relation of the pixel positions of frame and field is shown in Fig. 15. In Fig. 15, the pixels are expressed by plotting the time on the axis of abscissas and the vertical position on the axis of ordinates. The i-th frame (i being an integer) is composed of the i-th odd-number field and the i-th even-number field, and it must be noted that the add-number field and even-number field must be deviated in the vertical pixel position by 1/2 pixel. To compress the video signal efficiently, it is necessary to reorder the pixel data in the sequence of high correlation and transform orthogonally. In the still picture or quasi-still picture small in the time-wise variation of data, it is high in efficient to reorder in the sequence of k 1 , k 2 , k 3 , ..., k m-1 , k m and perform m-point orthogonal transformation in the vertical direction. On the other hand, in the case of moving picture large in time-wise variation of data, since the correlation between pixels in the vertical direction is stronger than the correlation between fields, the coding efficiency may be enhanced by dividing into two sets of k 1 , k 3 , k 5 , ..., k m-1 , and k 2 , k 4 , k 6 , ..., k m to perform m/2-point x 2-point orthogonal transformation in vertical direction m/2 poitns and time-wise direction 2 points. Meanwhile, since the video signal is also strongly correlated in the horizontal direction, as shown in Fig. 16, by dividing n pixels in blocks in the horizontal direction, when the orthogonal transformation of m point × n points and orthogonal transformation of m/2 points × n points × 2 points are changedover between the quasi-still picture and moving picture, the coding efficiency is further improved. In the third and fourth embodiments, it is also possible to apply to sine transformation or Fourier transformation, aside from the discrete cosine transformation. In the foregoing embodiments, meanwhile, the eight-point discrete cosine transformation and four-point discrete cosine transformation were explained, but generally when the calculation algorithm of the N-point orthogonal transformation can be recursively composed from the algorithm of N/2 point orthogonal transformation, the sum and difference calculation of either N-point orthogonal transformation or N/2-point orthogonal transformation may be selectively executed by one orthogonal transformation device in a hardware scale similar to the N-point orthogonal transformation. In the foregoing embodiments, the sequence of the orthogonally transformed data was reordered into the sequence of low frequency by the final reordering device. Usually, however, the video signal is orthogonally transformed two-dimensionally, in the horizontal and vertical directions. In such a case, the orthogonally transformed data can be reordered in the sequence of low two-dimensional frequency. Therefore, instead of one-dimensional transformation in the foregoing embodiments, the orthogonally transformed data may be reordered in the zigzag sequence as shown in Fig, 14 (a) or Fig, 14 (b).

Claims: A coding apparatus comprising: an orthogonal transforming device (2a,2b) for performing, in dependence on image characteristics, one of at least two types of orthogonal transformation on a digital video input signal formed in blocks; and a coding device (7) for coding said transformed signal into an output signal; characterized by a reordering device (5) for reordering the transform coefficients of the transformed signal in order to match the statistical characteristics of the signals transformed using different ones of said orthogonal transformations; and an adapted coding device (7) for coding the output signal of the reordering device by one coding technique for all of said types of orthogonal transformations. A coding apparatus according to claim 1, wherein the reordering device (5) is omitted by performing reordering in a part of the orthogonal transforming device (2a,2b). A coding apparatus according to claim 2, wherein the orthogonal transforming device (2a,2b) orthogonally transforms in two types, that is, an orthogonal transformation for reordering in a sequence of frequency by a two-dimensional orthogonal transformation of vertical m points x horizontal n points on signals in a frame, and an orthogonal transformation for reordering in a sequence of frequency by a three-dimensional orthogonal transformation of vertical (m/2) points x horizontal n points x time on signals in each field at a position corresponding to a signal in the frame. A coding apparatus according to claim 3, wherein the data after the three-dimensional orthogonal transformation of (m/2) points x n points x 2 points on the signals in the field are reordered in a sequence of a sum and a difference of frequency components between fields alternately. A coding apparatus according to claim 3, wherein the data after the three-dimensional orthogonal transformation of (m/2) points x n points x 2 points on the signals in the field are reordered in a sequence of disposing differences of frequency components between fields after all data of sums of the frequency components between fields. A coding apparatus according to claim 3, wherein the orthogonal transforming device comprises a first reordering device (21) for reordering the input signal, a first butterfly calculation device (23) for performing butterfly calculation or addition and substraction of data on an output signal of the first reordering device, a first multiplication and butterfly calculation device (25) for performing multiplication and butterfly calculation on an output signal of the first butterfly calculation device, a second reordering device (27) for reordering an output signal of the first multiplication and butterfly calculation device, a second butterfly calculation device (29) for performing butterfly calculation on an output signal of the second reordering device, a second multiplication and butterfly calculation device (31) for performing multiplication and butterfly calculation on an output signal of the second butterfly calculation device, and a third reordering device (33) for reordering an output signal of the second multiplication and butterfly calculation device, and either eight-point cosine transformation or two-dimensional four-point cosine transformation is performed by changing over reordering sequences of the first, second and third reordering devices, and coefficients of multiplications of the first and second multiplication and butterfly calculation devices by an external changeover signal. A coding apparatus according to claim 6, wherein the orthogonal transforming device performs two types of orthogonal transformations, that is an orthogonal transformation for reordering in a sequence of frequency by a two-dimensional orthogonal transformation of vertical 8 points x horizontal n points on signals in a frame, and an orthogonal transformation for reordering in a sequence of frequency by a three-dimensional orthogonal transformation of vertical 4 points x horizontal n points x time on signals in each field at a position corresponding to a signal in the frame. A coding apparatus according to claim 7, wherein the data after the three-dimensional orthogonal transformation of 4 points x n points x 2 points on the signals in each field are reordered in a sequence of a sum and a difference of frequency components between fields alternately. A coding apparatus according to claim 7, wherein the data after the three-dimensional orthogonal transformation of 4 points x n points x 2 points of the signals in each field are reordered in a sequence of placing differences of frequency components between fields after all data of sums of the frequency components between fields. A decoding apparatus comprising: a decoding device (11) for decoding a coded input signal (10) into a decoded signal (12) an orthogonal transforming device (16a,16b) for performing, in dependence on image characteristics, one of at least two types of orthogonal transformation on a transformed signal (14) characterised by a reordering device (13) for reordering the transform coefficients of the decoded signal in order to match the statistical characteristics of the signals transformed using different ones of said orthogonal transformations; and an adapted decoding device (11) for decoding said coded input signal (10) by one coding technique, for all of said types of orthogonal transformations. A decoding apparatus according to claim 10, wherein the reordering device (13) is omitted by performing the reordering in a part of the orthogonal transforming device (16a,16b). A decoding apparatus according to claim 11, wherein the orthogonal decoding device performs two types of orthogonal transformations, that is, an orthogonal transformation for performing a two-dimensional orthogonal transformation of vertical m points x horizontal n points on signals in a frame, and an orthogonal transformation for performing a three-dimensional orthogonal transformation of vertical (m/2) points x horizontal n points x time on signals in each field. A decoding apparatus according to claim 12, wherein the orthogonal transforming device comprises a first reordering device (41) for reordering the input signal, a first multiplication and butterfly calculation device (43) for performing multiplication and butterfly calculation or addition and substration of data on an output of the first reordering device, a first butterfly calculation device (45) for performing butterfly calculation on an output signal of the first multiplication and butterfly calculation device, a second reordering device (47) for reordering an output signal of the first butterfly calculation device, a second multiplication and butterfly calculation device (49) for performing multiplication and butterfly calculation on an output signal of the second reordering device, a second butterfly calculation device (51) for performing butterfly calculation on an output signal for the second multiplication and butterfly calculation device, and a third reordering device (53) for reordering an output signal of the second butterfly calculation device, and either an eight-point inverse cosine transformation or a two-dimensional four-point inverse cosine transformation is performed by changing over reordering sequences of the first, second and third reordering devices and coefficients of multiplications of the first and second multiplication and butterfly calculation devices by an external changeover signal.

Inventors: JURI TATSURO, KADONO SHINYA, JURI, TATSURO, KADONO, SHINYA
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1991
Main classification: H04N7
IPC codes: H04N7, G06F17