An adaptive coding method for interlaced scan digital video sequences

Abstract: The present invention relates to efficient coding of interlaced scan video sequences. Input picture (1) is partitioned into smaller blocks (2) of pixel data where the two fields in each block are examined (3) for correlation. If the difference between the two fields in the block is low (or the correlation is high), the block will be coded (6) with a frame coding method that assumes all lines in the block are progressive scanned, and therefore, with efficient inter-frame motion compensation method and chrominance data intra-frame sub-sampling method designed. On the other hand, if the difference between the two fields in the block is high (or the correlation is low), the block will be coded (5) with a field coding method where more emphasis is made on exploring correlation within each field (intra-field) and correlation of each field and its neighboring fields (inter-field); furthermore, intra-field sub-sampling of the chrominance data is better performed in such block.

Description: BACKGROUND OF THE INVENTION This invention relates to efficient information coding of interlaced scan digital video sequences for digital storage media or transmission media. Standardization efforts of digital coding methods for video signals are actively progressing nowadays. Such standardization efforts include the studies of digital coding of various video signal formats at different bit-rate. In terms of scanning technique which defines how the video sequence is captured by recording devices and refreshed on display devices, video sequence can be classified into two types: progressive scan video sequence, and interlaced scan video sequence. In a progressive scan video sequence, a frame in the sequence is captured and refreshed sequentially line by line from top to bottom of the frame. An interlaced scan video sequence frame consists of two fields, the even field made up of the even lines of the frame and the odd field made up of the odd lines of the frame. Capturing and refreshing are performed first on the even field, sequentially from top to bottom of the field, and followed by the odd field in the same manner. Since a large number of present sources are in the interlaced scan format (e.g. NTSC, PAL), a number of research efforts had been directed to efficient coding of the interlaced scan video sequence. The prior research results can be classified into three categories: frame coding process, field coding process, and interpolated field coding process. In a frame coding process, for example in Kazuto Kamikura and Taikun Li, "Consideration of Bit Allocation and Distribution of Moving Image Coding for Storage Media", DAPA Meeting Report, Fourth Telematic Symposium, Tokyo, February 1991, a video sequence is basically coded frame by frame where the even and odd fields are combined in the interlaced manner (the frames are treated as if they were progressive). Each frame in a frame coding process can be partitioned into blocks of pixel data which are then processed by a block coding method such as Discrete Cosine Transform (DCT) Coding with or without Motion Compensation (MC) as described in MPEG Video Simulation Model Three, International Organization for Standardization, Coded Representation of Picture and Audio Information, 1990, ISO-IEC/JTC1/SC2/WG8 MPEG90/041. If a frame is coded independent of other frames in the sequence and without different treatments to the even field and the odd field, the process is called an intra-frame coding process; if the frame is coded with motion compensation using other frame(s) in the sequence, the process is called an inter-frame coding process. In summary, the frame coding process is a process whereby the video sequence is coded with just an intra-frame coding process, or a combination of intra-frame and inter-frame coding processes. In a field coding process, a video sequence is first splitted into two sequences, the even field sequence and the odd field sequence, where each of the even field and odd field sequence is subjected to the same coding process. (See, for example, paper by Ichiro Andoh, Y. Yamada et al., "Some Considerations and Experiments of Interlaced Moving Image Coding", DAPA Meeting Report, Fourth Telematic Symposium, Tokyo, February 1991.) Motion compensation or motion interpolation in a field coding process can be performed independently on each of the even field sequence and odd field sequence, or inter-dependently on the two sequences as illustrated by the paper of Ichiro Andoh et al. The field coding process, hence, is just an intra-field coding process or a combination of intra-field and inter-field coding processes. As for the interpolated field coding process, only one of the field sequence is coded, and the other field sequence is reproduced by a prediction or interpolation process on the coded field sequence. Examples of this coding process are described in paper by Feng-Ming Wang and Dimitris Anastassiou, "High-Quality Coding of the Even Fields Based on the Odd Fields of the Interlaced Video Sequences, "IEEE Transection on Circuits and Systems, January 1991, and the MPEG Video Simulation Model Three, International Organization for Standardization, Coded Representation of Picture and Audio Information, 1990, ISO-IEC/JTC1/SC2/WG8 MPEG90/041. With objects in the interlaced scan video sequence maintaining stationary, correlation between adjacent pixels on every line and adjacent lines is high which allows popular image compression method such as the conventional Discrete Cosine Transform Coding method to achieve high compression ratio in a frame coding process (taking advantage of the high correlation between the lines) as compared to the field or interpolated field coding process. Inter-frame motion compensation can also be performed in this case with better efficiency. However, if objects in the sequence start to move, the correlation between the fields will drop, and hence the efficiency of the DCT method, for example, will be better if a field coding process is used. Furthermore, when motion compensation is involved in this situation, an inter-field coding process which performs the motion compensation individually on each fields has the advantage of better estimating the motion of the objects in the sequence. It can be seen that in general, the frame coding, field coding, and interpolated field coding process are sub-optimal in terms of efficiency given the fact that movement of objects in a sequence can be very dynamic. The improvement of efficiency of video coding systems is especially important in high bit-rate reduction coding system. In order to take advantage of frame (intra/inter) coding and field (intra/inter) coding process, a method can be deviced to adaptively examine each region of the frame in deciding which of the frame and field coding processes is to be used. In such a way, stationary regions in the frame are coded using a frame coding process efficiently making use of the high spatial correlations in the frame; and regions in the frame corresponding to the moving objects in the sequence are coded using field coding process since better correlation can be found within each fields in these regions. This method can be done by partitioning each frame of an input interlaced scan video signal into smaller blocks of pixel data; determining a difference of pixel values between two fields within each said block; subjecting the said block to a frame coding process if the difference between the two fields within the said block is determined to be low; and otherwise subjecting the said block to a field coding process. By the above-described method, blocks with motion between the fields or less correlated fields can be separated from blocks that are spatially highly correlated between the fields, and field coding process or frame coding process can be optimally applied to achieve best results in the two kinds of blocks mentioned. Such a case in the frame coding process, the said block can be intra-frame coded using conventional block coding techniques such as the DCT method or inter-frame coded using block coding techniques with inter-frame motion compensation. As in the case of field coding process, the two fields in the said block can be separated into sub-blocks and intra-field coded using conventional block coding method, or inter-field coded with inter-field motion compensation. A method of the above discussed type and an apparatus for using the same are disclosed in WO-A-90 15 506, from which the precharacterising portions of appended claims 1 and 10 depart. A further video signal coding method selectively using an intra-frame coding and an inter-frame coding is disclosed in BILDKOMMUNIKATION, W. Schönfelder, Springer Verlag, pages 206 - 209, Berlin, Germany, 1983, section 4 4.5, "Inter-frame-Codierung". BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of the interlaced scan video coding method in connection with one embodiment of the present invention; Figure 2 is a block diagram of the frame coding process and the field coding process illustrating part of the embodiment of the present invention; Figure 3 is a block diagram of the inter-frame motion compensation process illustrating part of the embodiment of the present invention; Figure 4 is a block diagram of the inter-field motion compensation process illustrating part of the embodiment of the present invention; Figure 5 is an explanatory drawing of an example arrangement and relationship of the I-picture, the P-picture, and the B-picture; Figure 6A is an explanatory drawing illustrating an example effect of the frame restructuring process; Figure 6B is an explanatory drawing illustrating an example intra-frame sub-sampling process for the chrominance data; Figure 7A is an explanatory drawing illustrating an example effect of the field restructuring process; Figure 7B is an explanatory drawing illustrating an example intra-field sub-sampling process for the chrominance data; Figure 8 is a block diagram of the block coding process in connection with part of one embodiment of the present invention; Figure 9 is a block diagram of the block decoding process in one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS According to prior art in motion compensation (e.g. the MPEG Video Simulation Model Three, International Organization for Standardization, Coded Representation of Picture and Audio Information, 1990, ISO-IEC/JTC1/SC2/WG8 MPEG90/041), the frames, which can also be referred as pictures, in an interlaced scan video sequence can be classified in three ways: (1) intra-coded frames (or I-frames) - each frame is coded using information only from itself; (2) predictive-coded frames (or P-frames) - each frame is coded using motion compensated prediction from a past I or P-frame; and (3) bidirectionally predictive-coded frames (or B-frames) - each frame is coded using motion compensated prediction from a past and/or future I or P-frame. An example arrangement of the three types of frames in a sequence is shown in Figure 5. The number of P-frames in between the I-frames and the number of B-frames in between the I or P-frames are not necessarily 4 and 2, respectively. Other suitable numbers may be used in coding a sequence; for examples, there can be no B-frame or no B and P-frames at all. Figure 1 is a block diagram of an interlaced scan video signal coding apparatus using the method according to one embodiment of the present invention. An input frame 1 of a sequence is first partitioned into blocks of pixel data by the block partition process 2, and each said block is subjected to an inter-field difference detection process 3 that examinesthe differences between the pixel data from the two fields within the block. According to the present invention said inter-field difference detection process would be to calculate the square error between the even and the odd line pairs of the block luminance area, and compare the calculated result to the square error calculated between the consecutive odd line pairs and the consecutive even line pairs of the same area; if the ratio of the square error between the even and odd line pairs over the square error between the consecutive odd line pairs and even line pairs is greater than a pre-defined threshold value, the said block 4 will be coded by a field coding process 5, and else the said block will be coded by a frame coding process 6. The ratio of the two calculated square errors can also be compared with a multiple of thresholds depending on the block activity to achieve better detection. An example inter-field difference detection process implemented as a 'C' program procedure for a block size of 16 × 16 pixels can be given by: The block size, the threshold values of 12, 18, 30, and the activity values of 8000, 100000 of the above 'C' program example can also be adjusted or expanded to other suitable values if needed. The result 7 of the inter-field difference detection process is coded as side information. An example embodiment of an apparatus performing the frame coding process 6 and the field coding process 5 is illustrated in Figure 2. In the frame coding process, the input block is subjected to an intra-frame coding process which comprises the frame restructuring process 21, the block coding process 22, and the block decoding process 23 if the input frame is an I-frame, or subjected to an inter-frame coding process which comprises the inter-frame motion compensation process 20, the frame restructuring process 21, the block coding process 22, and the block decoding process 23 if the input frame is not an I-frame. Similarly in the field coding process 5, the input block is subjected to an intra-field coding process which comprises the field restructuring process 25, the block coding process 22, and the block decoding process 23 if the input frame is an I-frame, or else subjected to an inter-field coding process which comprises of the inter-field motion compensation process 26, the field restructuring process 25, the block coding process 22, and the block decoding process 23. The frame(s) memory 28 stores reconstructed frames from the results of the block decoding process 23, and it will be used by the inter-frame or inter-field motion compensation process (20, 26) of the input blocks from the frame to be coded. Figure 3 is the apparatus block diagram of one embodiment of the inter-frame motion compensation process. Depending on input frame type, the input block 27 to the inter-frame motion compensation process can be subjected to one of the motion compensation process; the inter-frame motion prediction process if the input frame is a P-frame, or the inter-frame motion interpolation process if the input frame is a B-frame. In the inter-frame motion prediction process, the input block is subjected to an inter-frame forward motion vector detection process 41 to estimate a forward motion vector 44. Conventional block matching techniques may be used in detecting the said motion vector. Forward motion prediction process 42 is then performed with basically obtains a forward motion displaced block from the previously coded frame using the detected forward motion vector. Finally, the result of the forward motion prediction process 42 is compared to the input block 27 in the motion compensation mode selection process 43 to decide which one of the two blocks should be coded since motion compensation may not always be successful especially in regions with very fast changes in the video sequence. If the input block is decided to be coded, the actual value of the input block will be coded; else, the difference of the input block and the forward motion displaced block, i.e. the forward motion compensated block, will be coded. An example procedure in C Language of the motion compensation mode selection process is: The inter-frame motion interpolation process comprises the processes of inter-frame forward motion vector detection 41, inter-frame backward motion vector detection 46, forward motion prediction 42, forward/backward motion interpolation 47, backward motion prediction 48, and the motion interpolation mode selection 49. With reference to the past and future I or P-frame (coded or not coded frames may be used), the inter-frame forward and backward motion vector detection processes estimate a forward motion vector and a backward motion vector by using conventional block matching techniques. With the two estimated motion vectors, the forward motion displaced block and the backward motion displaced block are found by forward and backward motion prediction processes (42 & 48) in the same way mentioned before. The forward/backward motion interpolation process 47 calculates the forward/backward motion interpolated block by averaging the forward and the backward motion displaced block. Weighting or no weighting based on the frame distances may be used when averaging of the forward and backward motion displaced blocks. The above three mentioned motion displaced and interpolated blocks are compared together with the input block 27 at the motion interpolation mode selection process 49 to determine which block is to be coded. One method of determining which block is to be coded is by comparing the mean square errors described in the MPEG Video Simulation Model Three, International Organization for Standardization, Coded Representation of Picture and Audio Information, 1990, ISO-IEC/JTC1/SC2/WG8 MPEG90/041. If the determined block is not the input block, the difference of the determined block and the input block will be coded. Data of the two fields in the input block 29 to the field coding process 5 is generally uncorrelated or contains motion as selected by the inter-field difference detection process 3; therefore, an inter-field motion compensation process 26 which performs independently motion compensation on the data from the two fields is selected. Example embodiment of the inter-field motion compensation process shown in Figure 4 is, however, very similar to the inter-frame motion compensation process (Figure 3) except in the motion vector detection processes and the construction of the motion displaced block. In the inter-field forward/backward motion vector detection process 61 and 62, one motion vector will be estimated for each of the field in the input block 30, and in the forward and backward directions; hence, the forward motion vector 1 and 2, and backward motion vector 1 and 2 are to be estimated. Based on the estimated motion vector 1 and 2, two motion displaced fields of the block are obtained from previous coded pictures to form the motion displaced block and also the motion interpolated block in processes 63, 64, 65. The mode selection processes 43 and 49 are the same processes used in the inter-frame motion compensation process 20. Regarding the coding of the forward motion vector 1 and 2, or backward motion vector 1 and 2, as difference in motion in the two fields within the input block and between previous neighboring coded block is not expected to be high, an efficient way of coding is to delta code the motion vector (forward and/or backward) or one field with reference to the previous coded block, and the delta difference of the motion of the two fields within the input block. The input block 4 or the output of the inter-frame motion compensation process is subjected to the frame restructuring process (numeral 21 of Figure 2) where it is spatially partitioned into smaller sub-blocks suitable for a block coding process for example based on DCT (Discrete Cosine Transformation) method. Figure 6A is an example of a 16 × 16 block of luminance data (Y) partitioned in such a way into 4 smaller 8 × 8 subblocks. The interlaced fields in the frame restructuring process are not separated in order to allow the block coding process to take advantage of the correlation between the fields. The frame restructuring process can further comprise an intra-frame sub-sampling process which reduces the resolution of the chrominance information (Cr/Cb). Referring to Figure 6B, an example of an 8 × 16 chrominance block (co-sited with a 16 × 16 luminance block in a 4:2:2 source) is intra-frame sub-sampled to an 8 × 8 chrominance sub-block by averaging each even and odd line pair of the chrominance block. Such sub-sampling of the chrominance signal done to reduce the amount of information needs to be coded without generating visible differences. The field restructuring process (numeral 25 of Figure 2) accepts result from the inter-field motion compensation process (numeral 26 of Figure 2) or the input block 4. The said process partitions the luminance data (Y) of an input into smaller sub-blocks with the two fields separated. Figure 7A shows such a process of partitioning of a 16 × 16 input luminance block into four 8 × 8 sub-blocks, two of which contain the even field data and the other two contain the odd field data. This is done so that the block coding process (numeral 22 of Figure 2) would take advantage of the higher correlation within the field in each sub-block. The field restructuring process may further comprise an intra-field sub-sampling process which reduces the resolution of the chrominance information (Cr/Cb) in each field. Referring to Figure 7B, an example of an 8 × 16 chrominance block is intra-field sub-sampled to an 8 × 8 chrominance sub-block by separately averaging every two consecutive lines in each field. The averaged lines may be rearranged such that the two fields are separated in the output sub-block. The averaged lines may also be arranged in the interlaced way in the output sub-block, but result in coding efficiency was found not as good as the previous mentioned way. Each sub-block produced by the frame or field restructuring process is subjected to a block coding process (numeral 22 of Figure 2) for data compaction by exploring correlations in the sub-block. An embodiment of the block coding apparatus is shown in Figure 8 which comprises the means of discrete cosine transforming (DCT) 80 of the sub-block into DCT coefficients; quantizing 81 the DCT coefficients based on a rate-controller 84 that monitors the amount of output information 85; zig-zag scanning 82 the quantized DCT coefficients; variable length coding (VLC) 83 of the result of the zig-zag scanning and all necessary side information describing the sub-block to produce the encoded information 85 for digital storage media or transmission media. Example implementation of the block coding process illustrated in Figure 8 can be found in detail in the MPEG Video Simulation Model Three, International Organization for Standardization, Coded Representation of Picture and Audio Information, 1990, ISO-IEC/JTC1/SC2/WG8 MPEG90/041. The block decoding process (numeral 23 of Figure 2) is to decode the output of the block coding process (numeral 22 of Figure 2), and reconstruct the frames. The reconstructed frames by the block decoding process is placed in the frame memory (numeral 28 of Figure 2) for use by the inter-frame/inter-field motion compensation processes (numeral 20 & 26 of Figure 2). Said block decoding process is also used to decode the encoded information from digital storage media or transmission media that is created by said block encoding process and/or said motion compensation process. Figure 9 is an embodiment of the block decoding apparatus, corresponding to the block coding process described in Figure 8, which comprises of the means of demultiplexing/VLC decoding 90 the encoded information to reproduce the zig-zag scanned sub-block and the included side information; inverse zig-zag scanning 91 followed by inverse quentizing 92 of the said sub-block to reproduce the DCT coefficients; inverse DCT 93 of said coefficients; subjecting the result of the inverse DCT to an inverse of the inter-frame or inter-field motion compensation process (Figures 3 & 4) 94 & 95 according to the coded picture type (I, P or B-frame) and the coded result of the inter-field difference detection process (numeral 3 of Figure 1) to reproduce the reconstructed sub-block 96; reversing of the frame/field restructuring process 97 & 98 according to the coded result of the inter-field difference detection process to reproduce the reconstructed block 100 which can then be placed into the frame memory 101 for the inverse motion compensation process 94 or 95 or for display onto a monitor screen. The demultiplexer/VLC decoder and the inverse zig-zag scanner may be omitted if the block decoding process is to be used in conjunction with the block encoding process in the video signal encoder as the input to the inverse quantizer and other side information may be obtained from the corresponding processes in the block coding process directly. As described above, input frame is partitioned into smaller blocks of pixel data where the two fields in each block are examined for correlation. If the difference between the two fields in the block is low (or the correlation is high), the block will be coded with a frame coding process that assumes all lines in the block are progressive scanned, and therefore, with efficient inter-frame motion compensation process and chrominance data intra-frame sub-sampling process designed. On the other hand, if the difference between the two fields in the block is high (or the correlation is low), the block will be coded with a field coding process where more emphasis is made on exploring correlation within each field (intra-field) and correlation of each field and its neighboring fields (inter-field); furthermore, intra-field sub-sampling of the chrominance data is better performed in such block. In general video sequences, the level of correlation within each picture frame differs between regions that contain stationary scene or objects and regions that contain moving scene or objects; therefore, the present invention provides an effect of more efficient or adaptive coding the two types of regions with methods that are more optimal to each type of regions. In a fixed bit-rate video coding system, the present invention provides an effect of better reconstructed picture quality.

Claims: A method of coding an interlaced scan digital video signal comprising the steps of: partitioning each frame of said interlaced scan digital video signal into smaller blocks of pixel data; determining a selected one of a field coding process and a frame coding process according to an inter-field difference and an intra-field difference of pixel values of two fields within each of said blocks of pixel data before subjecting said blocks of pixel data to coding processing; and selectively subjecting each of said blocks of pixel data, according to the result of said determination, to one of a field coding process where at least one of an intra-field correlation or an inter-field correlation is used to achieve information compaction, and a frame coding process where at least one of an intra-frame correlation or an inter-frame correlation is used to achieve information compaction, characterized in that said step of determining a selected one of a field coding process and a frame coding process comprises the steps of: calculating a mean square error between a line pair comprising an even and an adjacent odd line of a respective block of said blocks of pixel data to obtain the inter-field difference; calculating a mean square error between consecutive odd line pairs and consecutive even line pairs of said respective block to obtain the intra-field difference; determining a ratio between said inter-field difference and said intra-field difference to obtain a comparison result, and determining to select the field coding process when said comparison result is greater than a predetermined threshold value and otherwise to select the frame coding process. A method according to claim 1, wherein said frame coding process comprises the steps of: determining whether or not said respective block of said blocks of pixel data needs to be subjected to an inter-frame motion compensation process and generating a first determined result; subjecting said respective block, according to the first determined result, to said inter-frame motion compensation process where an inter-frame correlation is used to reduce an amount of information which needs to be coded in said respective block; subjecting said respective block or a result of the inter-frame motion compensation process, according to the first determined result, to a frame restructuring process so as to spatially partition said respective block or said result into smaller sub-blocks; and subjecting said sub-blocks to a block coding process where information in each sub-block is compressed. A method according to claim 2, wherein said inter-frame motion compensation process comprises the steps of: determining whether to subject said respective block to an inter-frame motion prediction process or to an inter-frame motion interpolation process and generating a second determined result; selectively subjecting said respective block, according to the second determined result, to said inter-frame motion prediction process where a forward motion vector is detected with reference to a previous coded frame, a motion compensation is performed on said respective block using the detected forward motion vector so as to generate a motion compensated block, and the motion compensated block is compared with said respective block; and selectively subjecting said respective block, according to the second determined result, to said inter-frame motion interpolation process where a forward motion vector is detected with reference to a previous coded frame, a backward motion vector is detected with reference to a future coded frame, three motion compensations are performed by respectively using the detected forward motion vector, the detected backward motion vector, and both the detected forward and backward motion vectors, and comparisons are performed between results of the three motion compensations together with said respective block. A method according to claim 2 or 3, wherein the frame restructuring process further comprises a step of subjecting said sub-blocks that contain chrominance information to an intra-frame sub-sampling process to reduce resolution. A method according to any of claims 1 to 4, wherein said field coding process comprises the steps of: determining whether or not said respective block of said blocks of pixel data needs to be subjected to an inter-field motion compensation process and generating a first determined result; subjecting said respective block, according to the first determined result, to said inter-field motion compensation process where an inter-field correlation is used to reduce an amount of information which needs to be coded in said respective block; subjecting said respective block or a result of the inter-field motion compensation process, according to the first determined result, to a field restructuring process where even lines and odd lines of said respective block are separated into smaller sub-blocks; and subjecting said sub-blocks to a block coding process where information in each sub-block is compressed. A method according to claim 5, wherein said inter-field motion compensation process comprises the steps of: determining whether to subject said respective block to an inter-field motion prediction process or to an inter-field motion interpolation process and generating a second determined result; selectively subjecting said respective block, according to the second determined result, to said inter-field motion prediction process where a first forward motion vector is detected with reference to a previous coded field for even lines of said respective block, a second forward motion vector is detected with reference to a previous coded field for odd lines of said respective block, a motion compensation is performed on said respective block using the detected first and second forward motion vectors so as to generate a motion compensated block, and the motion compensated block is compared with said respective block; and selectively subjecting said respective block, according to the second determined result, to said inter-field motion interpolation process where first and second forward motion vectors are detected with reference to previous coded fields for the even and odd lines of said respective block, respectively, first and and second backward motion vectors are detected with reference to future coded fields for the even and odd lines of said respective block, respectively, three motion compensations are performed by respectively using the detected first and second forward motion vectors, the detected first and second backward motion vectors, and the detected first and second forward and backward motion vectors, and comparisons are performed between results of the three motion compensations together with said respective block. A method according to claim 5 or 6, wherein the field restructuring process further comprises a step of subjecting said sub-blocks that contain chrominance information to an intra-field sub-sampling process to reduce resolution. A method according to any of claims 2 to 7, wherein the block coding process comprises the steps of: discrete cosine transforming each of said sub-blocks into DCT coefficients; quantizing the DCT coefficients; zig-zag scanning the quantized DCT coefficients; and variable length coding the result of the zig-zag scanning to produce encoded information. A method according to claim 8, further comprising a block decoding process comprising the steps of: demultiplexing/VLC decoding the encoded information to produce the zig-zag scanned sub-blocks and included side information describing the sub-blocks; inverse zig-zag scanning said sub-blocks, followed by inverse quantizing of said sub-blocks to reproduce the DCT coefficients; inverse DCT processing said coefficients; subjecting a result of the inverse DCT processing to one of inverse inter-frame motion compensation processing and inverse inter-field motion compensation processing according to a coded picture type (I, P or B-picture) of said encoded information and a coded result of the inter-field difference detection process to reproduce the sub-blocks; and inverting the frame or field restructuring process according to the coded result of the inter-field difference detection process to reproduce the respective block. An apparatus for coding an interlaced scan digital video signal comprising: block partitioning means (2) for partitioning each frame of said interlaced scan digital video signal into blocks of pixel data; determining means (3) for determining a selected one of a field coding process and a frame coding process according to an inter-field difference and an intra-field difference of pixel values of two fields within each of said blocks of pixel data before subjecting said blocks of pixel data to coding processing; and means (5, 6) for selectively subjecting each of said blocks of pixel data, according to the field/frame coding determination result, to one of a field coding process where at least one of intra-field correlation or an inter-field correlation is used to achieve information compaction, and a frame coding process where at least one of intra-frame correlation or an inter-frame correlation is used to achieve information compaction, characterized in that said determining means (3) is operated to determine the field/frame coding selection by: calculating a mean square error between a line pair comprising an even and an adjacent odd line of a respective block of said blocks of pixel data to obtain the inter-field difference; calculating a mean square error between consecutive odd line pairs and consecutive even line pairs of said respective block to obtain the intra-field difference; and determining a ratio between said inter-field difference and said intra-field difference to obtain a comparison result, and determining to select the field coding process when said comparison result is greater than a predetermined threshold value and otherwise determining to select the frame coding process.

Inventors: HUI YAU WAI LUCAS, HUI YAU WAI, LUCAS
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1992
Main classification: H04N7
IPC codes: H03M7, H04N7