Concealing method of video signal

Abstract: When decomposing a video signal in two pages into blocks, compressing by bit rate reduction, and recording and reproducing or transmitting the compressed signal, a portion corresponding to a first page is concealed by using a signal of a preceding page, or both a signal spatially adjacent to the signal in which an error has been detected and the signal of the preceding page, while a portion corresponding to a second page is concealed by using a signal of a succeeding page or both a signal spatially adjacent to the signal in which an error has been detected and the signal of the succeeding page.

Description: The present invention relates to a method of concealing errors in a video signal when an incorrectable error is detected during recording and reproduction of or transmission of digital video signal. A video signal is generally divided into specific blocks, and is recorded and reproduced using a recording medium or transmitted through a transmission path, so that such a transmission error would occur that can be detected, but cannot be corrected. Supposing that one page of digital video data is composed of K fields (K being an integer), and that the data in two pages are divided to form blocks, a detected error was, hitherto, concealed by replacing with a block in one page before a page including a block containing the detected error. Supposing, in a high efficiency coding, or bit rate reduction, by forming the data in two pages into blocks, that the first page and the second page are combined, and the third page and the fourth page are combined. At the time of reproduction, if an error is detected in a block composed of pixels of the third page and pixels of the fourth page, the pixels are respectively replaced with the pixels at the same positions on the screen of the second page. In a case of a still image, the pixels of the third page may be replaced by the pixels at the same positions of the first page, and the pixels of the fourth page by the pixels at the same positions of the second page. Since the video signal is very high in correlation between pages, it was possible to reproduce a block having a detected error by such concealing. In this constitution, however, when the video signals are processed in two pages, if an error is detected, there exists a portion of no picture change over three pages or four pages. Accordingly, in a video signal with a large motion, it gives rise to a significant degradation of picture quality, and on the moment of changing the scenes, in particular, the previous picture overlays on the new picture. It is hence a primary object of the invention to present a method and an apparatus for concealing video signal to obtain a picture which is less in degradation of picture quality in a simple way. As noted above, various error concealment techniques are already available. Thus, for example, EP-A-0373924 discloses a highly efficient coding apparatus for use in a digital video tape recorder in which the steps of the preamble of claim 1 are carried out. An error concealment circuit is provided, in which error data is interpolated by other proper data having a time-wise and spatial correlation. The error concealment technique described above, could be used, for example. US-A-4716565 discloses various error concealment techniques. In one embodiment described, erroneous pixel data on a horizontal scanning line is replaced with correct pixel data from a previous scanning line. If erroneous data is present in the next scanning line it is replaced with the correct data from the previous line. Another embodiment discloses correcting erroneous data in one field using error free data from the previous field. To achieve the above object, the invention presents a method of concealing errors in a coded digital video signal reproduced from a recording medium or transmitted through a transmission path, said coded digital video signal having been obtained by dividing a digital video signal into a plurality of pages each being composed of K fields of pixel data, where K is an integer, decomposing pixel data in each two pages of said plurality of pages into a plurality of blocks each being composed of a predetermined number of pixel data, and encoding said pixel data in each of said plurality of blocks by bit rate reduction encoding and error correction encoding, the encoded result being said coded digital video signal, said method comprising the steps of: decoding said coded digital video signal to obtain reproduced blocks of pixel data and detecting an error block containing an error among said reproduced blocks; composing said reproduced blocks of pixel data to obtain a plurality of reproduced pages of pixel data; and concealing error pixel data having been contained in said error block in each two reproduced pages from among said plurality of reproduced pages, characterised in that said concealing step conceals said error pixel data in a first page of said two reproduced pages by replacing said error pixel data in said first page with first new pixel data obtained using pixel data in a previous page located one page before said first page and concealing said error pixel data in a second page of said two reproduced pages by replacing said error pixel data in said second page with second new pixel data obtained using pixel data in a succeeding page located one page after said second page. Accordingly, in concealing a block having an error, the signals in a page adjacent in terms of time are used for each page, so that degradation of picture quality is less obvious. For the moving picture, the above method is employed and for the still picture, said concealing step includes concealing said error pixel data in said first page by replacing said error pixel data with pixel data at the same position in a page located two pages before said first page and concealing said error pixel data in said second page by replacing said error pixel data with pixel data at the same position in a page located two pages before said second page. As a result, the degradation of picture quality is much less obvious. On the other hand, the above concealment is realized by first switchover means for receiving page data obtained by reproducing, expanding and composing the block data, a page memory for receiving an output of the first switchover means, second switchover means for receiving an output of the page memory, third switchover means for connecting or disconnecting the output of the first switchover means and an output of the second swtichover means, and means for controlling them only the page memory and the first through third switchover means. According to the invention, error may be concealed in a simple circuit structure, so that the degradation of picture quality may be less obvious, and its practical effect is great. Fig. 1 is a block diagram of recording and reproducing of digital video signal; Fig. 2 is an explanatory diagram of block forming in two pages; Fig. 3 is an explanatory diagram of a first error concealing method of the invention; Fig. 4 is a diagram showing an example of error concealing by the first error concealing method of the invention; Fig. 5 is an explanatory diagram of a third error concealing method of the invention; Fig. 6 is a block diagram of a concealing apparatus in a first embodiment of the invention; Fig. 7 is an operation explanatory diagram of the concealing apparatus of the first embodiment of the invention; Fig. 8 is a block diagram of a concealing apparatus in a second embodiment of the invention; Fig. 9 is a block diagram of a concealing apparatus in a third embodiment of the invention; Fig. 10 is a block diagram of a filter in the third embodiment of the invention; and Fig. 11 is an operation explanatory diagram of the filter in the third embodiment of the invention. Fig. 1 is a block diagram of recording and reproducing of digital video signal. In Fig. 1, numeral 11 is a signal input unit, 12 is an A/D converter, 13 is a decomposing device, 14 is a bit rate reduction encoding device, 15 is a recording signal processor, 16 is a recording and reproducing system, 17 is a reproducing signal processor, 18 is a bit rate reduction decoding device, 19 is a composing device, 20 is a concealing device, 21 is a D/A converter, and 22 is a signal output unit. The video signal fed in the signal input unit 11 is A/D converted in the A/D converter 12, and the page data is decomposed into data blocks in every two pages in the decomposing device 13. One page of video signals is supposed to be composed of K fields (K being an integer). Forming of data blocks is as shown in Fig. 2, in which each page is divided into several rectangles, and four sets of rectangles located at the same positions on the combined two pages, that is, 25a, 25b, 26a, 26b, 27a, 27b, 28a, 28b are formed into one data block. This combination of the rectangles is arbitrary, and only an example is given herein. Or the number of sets of rectangles to form one data block is not specified. For example, one data block may be formed of one set of rectangles 25a and 25b. In the decomposing device 13, the data fed in each line is delivered in the block unit. After compressing in the bit rate reduction encoding device 14, and the processing such as error correction coding and modulation in the recording signal processor 15, the data is recorded in the recording and reproducing system 16. The signal reproduced from the recording and reproducing system 16 is demodulated in the reproducing signal processor 17, and is corrected of error. An error detection signal is added to an error which has been detected but has not been corrected. After expanding in the bit rate reduction decoding device 18, the data block in two pages are restored to the two page data in the composing device 19. Afterwards, in the concealing device 20, the error not corrected by the reproducing signal processor 17 is concealed, and the signal is D/A converted in the D/A converter 21, and is delivered from the signal output unit 22. In this case, if the input and output are both digital, the A/D converter 12 and D/A converter 21 are not necessary. Concealment may be either done alone by the concealing device 20, or by cooperation with the reproducing signal processor 17 or composing device 19. In the bit rate reduction decoding device 18, since each data block has information over two pages (2K fields), it is checked whether the video signal is a moving picture or a still picture in each data block, and if necessary, a motion detection signal is added. If, however, motion detection is incorporated in the bit rate reduction itself, the signal may be used directly. To output the error detection signal or motion detection signal, the signal lines parallel to the data are used, but these may be also multiplexed to the data. When the error detection signal or motion detection signal is delivered through the concealing device 20, the deviation in processing time from the data must be taken into consideration. The constitution described herein is only an example, and similar processing may be done in other constitution, too. The first concealing method of the invention is described below. Concealment is done by the concealing device shown in Fig. 1. Fig. 3 is an explanatory diagram of the first concealing method. In Fig. 3, numeral 31a is a group of pixels of a first page forming a data block in which an error is detected, 31b is a group of pixels of a second page forming the data block with the detected error, 32a is a group of pixels at the same position on the screen one page before the first page, and 32b is a group of pixels at the same position on the screen one page after the second page. Pages 2 and 3 are combined. So the first and second pages correspond to pages 2 and 3, respectively. In the concealing method of this embodiment, the pixels 31a of page 2 forming the data block in which an error was detected are replaced by the pixels 32a of page 1 adjacent in time, and the pixels 31b of page 3 forming the data block in which an error was detected are replaced by the pixels 32 of page 4 adjacent in time. Thus, according to this first concealing method, since a partial picture in a same page continues only for two pages, the motion of the picture may be smooth. However, it has its own problem as shown in Fig. 4. Fig. 4 shows examples of concealment. In the example of Fig. 4 (a), the picture is still consecutively for six pages. If pages 3, 4 are concealed, as shown in Fig. 4 (b), the data of the preceding page is used for the data of page 3, and the data of the succeeding page, for the data of page 4. Thus concealed and obtained pages 3, 4 are as shown in Fig. 4 (c), and the difference from the original video signal is significant, and the concealment is very obvious. The example in Fig. 4 (d) is a moving picture extending over six pages. When concealing pages 3, 4, the data of the preceding page is used for the data of page 3, and the data of the succeeding page for the data of page 4, as shown in Fig. 4 (e). Thus concealed and obtained pages 3, 4 are as shown in Fig. 4 (f). There is no difference between the concealed signal and the original signal. Thus, this embodiment is extremely effective to moving picture, but has a problem in the still picture, and this point is improved in the second concealing method. The second concealing method of the invention is explained. On the basis of the motion detection signal given by the bit rate reduction decoding device 18, still picture and moving picture are distinguished, and in case of a moving picture, it is concealed in the technique of the first concealing method. In case of a still picture, assuming that pages n and n+1 are combined, the first page (page n) is replaced by the data of two pages before (page n-2), and the second page (page n+1) is replaced by the data of two pages (page n-1), thereby concealing. Thus, according to the second concealing method, whether the still picture or the moving picture, it is possible to conceal by hardly degrading the picture quality. The third concealing method of the invention is explained. Fig. 5 is an explanatory diagram of the third concealing method of the invention. In Fig. 5, numeral 41a is a group of pixels of a first page forming a data block in which an error is detected, 41b is a group of pixels of a second page forming the data block with the detected error, 42a is a group of pixels on the screen one page before the first page, 42b is a group of pixels on the screen one page after the second page, 43a is a group of pixels spatially adjacent to the pixels of the first page forming the data block with the detected error, and 43b is a group of pixels spatially adjacent to the pixel of the second page forming the data block with the detected error. Pages 2 and 3 are combined, so that the first and second pages correspond to pages 2 and 3, respectively. In the third concealing method, the pixels 41a of page 2 forming the data block in which the error was detected are replaced by the values determined from the pixels 42a of page 1 adjacent in time and the pixels 43a adjacent in space, and the pixels 41b of page 3 forming the data block with the detected error are replaced by values determined from the pixels 42b of page 4 adjacent in time and the pixels 43b adjacent in space. For calculation of determining the concealing values, interpolation calculation and others may be used. Thus, according to the concealing method of this embodiment, since the same page data is not consecutive, the motion of the picture may be smooth. In all of the first concealing method, second concealing method and third concealing method, supposing one page to be one field, the partial screen continuous because of concealing is two fields long, which is the shortest in time, so that the motion of the picture is as desired. Fig. 6 shows a block diagram of a concealing device in a first embodiment of the invention in the apparatus for recording and reproducing the digital video signal as shown in Fig. 1. This concealing device corresponds to the concealing device 20 shown in Fig. 1. In Fig. 6, numeral 51 denotes a page memory, 52 is a first switch, 53 is a second switch, 54 is a third switch, and 55 is a control signal generator. Fig. 7 shows the operation of the concealing device of this embodiment. In Fig. 7, the control signal generator 55 is omitted, but on the basis of the error detection signal showing the data to be concealed, a signal is generated for performing the following control. The error detection signal is generated by the reproducing signal processor 17 shown in Fig. 1. Suppose there is an error to be concealed in pages 3, 4. Fig. 7 (a) denotes an ordinary state, in which the written signal is delivered from the page memory 51 by one page behind. Fig. 7 (b) is the concealing state by the data of the preceding page, in which the data of page 2 read out from the page memory 51 is fed back to the page memory 51, instead of the data to be concealed in page 3. In Fig. 7 (c), it is not necessary to conceal, and it is an ordinary state. In Fig. 7 (d), there is no data to be replaced with the data to be concealed on page 4, and when the page memory 51 is prohibited of writing. In this state, the first switch 52 and the third switch 54 are not particularly defined in state unless they are turned on simultaneously. In Fig. 7 (e), it is not necessary to conceal, and it is an ordinary state. Fig. 7 (f) is the concealing state by the data of the succeeding page, and instead of the data to be concealed in page 4, the data of page 5 bypassing the page memory 51 is delivered. In Fig. 7 (g), it is not necessary to conceal, and it is an ordinary state. Fig. 7 (h) is an ordianry state, in which the written signal is delivered from the page memory 51 by one page behind. In the sequence of (a) → [(b) or (c)] → [(d) or (e)] → [(f) or (g)] → (h), the state is changed over in every page. In this constitution, by only one page memory, concealing can be effected from either preceding or succeeding page. Meanwhile, the constitution shown in Fig. 6 is only an example, and in other constitution, trick-play processing, composing, or time axis adjustment may be possible, aside from concealing. Fig. 8 is a block diagram of a concealing device of a second embodiment of the invention, in the apparatus for recording and reproducing digital video signal as shown in Fig. 1. In Fig. 8, numeral 61 denotes a two-page memory, 62 is a page memory, 63 is a first switch, 64 is a second switch, 65 is a third switch, and 66 is a control signal generator. This concealing device corresponds to the concealing device 20 in Fig. 1, except that the two-page memory 61 may be shared with the memory necessary in the reproducing signal processor 17 or composing device 19. The operation of the concealing device of this embodiment is as follows. First, assuming that pages n and n+1 are combined, the first page (page n) of the data to be concealed is replaced by the data of two pages before (page n-2), and the second page (page n+1) of the data to be concealed is replaced by the data of two pages before (page n-1), by using the two-page memory 61. On the basis of the motion detection signal, in the control signal generator 66, still picture and moving picture are distinguished, and if judged to be moving picture, it is concealed in the same procedure as in the first embodiment by the page memory 62, first switch 63, second switch 64, and third switch 65. If judged to be a still picture, in the page memory 62, the written signal is delivered by delaying for one page and it is already concealed. This motion detection signal is determined while comparing the data of pages in the bit rate reduction decoding device 18 or composing device 19. If a motion detection signal is used in the bit rate reduction, it may be used. In this constitution, while switching over the concealing method depending on the moving picture and still picture by the page memory alone, concealment may be effected from the preceding page or succeeding page. The constitution shown in Fig. 8 is only an example, and, in other constituion, trick-play processing, composing, or time axis adjustment may be possible, aside from concealing. Fig. 9 is a block diagram of a concealing device in a third embodiment of the invention, in the apparatus for recording and-reproducing digital video signal as shown in Fig. 1. In Fig. 9, numeral 71 denotes a page memory, 72 is a first switch, 73 is a second switch, 74 is a third switch, 75 is control signal generator, and 76 is a filter. This concealing device corresponds to the concealing device 20 in Fig. 1, and the page memory 71, first switch 72, second switch 73, third switch 74, and control signal generator 75 corresponds respectively to the page memory 51, first switch 52, second switch 53, third switch 54, and control signal generator 55 in the block diagram of the first embodiment. The operation of the concealing device of this embodiment is same as in the first embodiment as for the page memory 71, first switch 72, second switch 73, third switch 74 and control signal generator 75. Feeding the output into the filter 76, the discontinuity is concealed on the borderline of the group of pixels replaced by the preceding page or succeeding page and its surrounding pixels. In this constitution, concealing of smooth motion is achieved. The constitution shown in Fig. 9 is only an example, and in other constitution, trick-play processing, composing or time axis adjustment may be possible, aside from concealing. In this embodiment, the filter is placed after execution of the first concealing method, but similar effects may be obtained by placing the filter after executing the second concealing method. An example of the filter 76 used in the concealing device of the third embodiment of the invention is shown in Fig. 10. In Fig. 10, 76a is a vertical filter, 76b is a horizontal filter, 77a, 77b are line memories, 78a, 78b are D-flip-flop (DFF), 79 is a 1/2 multiplier, 80 is a 1/4 multiplier, 81a, 81b are adders, 82 is a vertical filter changeover switch, and 83 is a horizontal filter changeover switch. Fig. 11 is an operation explanatory diagram of the filter 76. In Fig. 11, numeral 91 is a rectangular part of a screen replaced by the preceding page or succeeding page before input into the filter 76, and 92a to 92i are pixels arranged in 3 x 3, and the value of each pixel is supposed to be x 1 to x 9 . In the vertical filter 76a, when the output of the line memory 77a is the pixel 92e, the input of the line memory 77a is the pixel 92h, and the output of the line memory 77b is the pixel 92b. At this time, by the vertical filter changeover switch 82, the value x 5 of the pixel 92e is converted into the calculation result of (x 2 + 2·x 5 + x 8 )/4 by the adder 81a. The pixel of which value is to be changed is only the pixel located at the x-position in Fig. 11(a), that is, the pixel near the upper end and lower end of the rectangular part of screen 91 being replaced. Likewise, in the horizontal filter 76b, when the output of the DFF 78a is the pixel 92e, the input of the DFF 78a is the pixel 92f, and the output of the DFF 78b is the pixel 92d. At this time, in the horizontal filter changeover switch 83, the vlaue x 5 of the pixel 92e is converted into the addition result (x 4 + 2·x 5 + x 6 )/4 by the adder 81b. The pixel of which value is to be changed is only the pixel located at the x-position in Fig. 11 (b), that is, the pixel near the left end and right end of the rectangular part of screen 91 being replaced. The filter 76 shown in Fig. 10 is a two-dimensional filter, but it may be also a one-dimensional filter or three-dimensional filter. The number of taps and coefficient in the vertical filter 76a, and the number of taps are coefficient in the horizontal filter 76b and also arbitrary. The range of the pixels for changeover action of the vertical filter changeover switch 82 and horizontal filter changeover switch 83 is also arbitrary, and not depending on the position of the pixel alone, by comparing, for example, the original value and the filtered value, it is possible to operate adaptively. In Fig. 11, meanwhile, the data range to be replaced is 4 x 4 pixels, but this number is also arbitrary.

Claims: A method of concealing errors in a coded digital video signal reproduced from a recording medium or transmitted through a transmission path, said coded digital video signal having been obtained by dividing a digital video signal into a plurality of pages each being composed of K fields of pixel data, where K is an integer, decomposing pixel data in each two pages of said plurality of pages into a plurality of blocks each being composed of a predetermined number of pixel data, and encoding said pixel data in each of said plurality of blocks by bit rate reduction encoding and error correction encoding, the encoded result being said coded digital video signal, said method comprising the steps of: decoding said coded digital video signal to obtain reproduced blocks of pixel data and detecting an error block containing an error among said reproduced blocks; composing said reproduced blocks of pixel data to obtain a plurality of reproduced pages of pixel data; and concealing error pixel data having been contained in said error block in each two reproduced pages from among said plurality of reproduced pages, characterised in that said concealing step conceals said error pixel data in a first page of said two reproduced pages by replacing said error pixel data in said first page with first new pixel data obtained using pixel data in a previous page located one page before said first page and concealing said error pixel data in a second page of said two reproduced pages by replacing said error pixel data in said second page with second new pixel data obtained using pixel data in a succeeding page located one page after said second page. A method according to claim 1, wherein said concealing step includes obtaining the first new pixel data used to replace said error pixel data in said first page by using said pixel data in said previous page and pixel data spatially adjacent to said error pixel data in said first page, and obtaining said second new pixel data used to replace said error pixel data in said second page by using said pixel data in said succeeding page and pixel data spatially adjacent to said error pixel data in said second page. A method according to claim 1, wherein said concealing step includes obtaining as the first new pixel data used to replace said error pixel data in said first page pixel data located at the same position in said previous page, and obtaining as the second new pixel data used to replace said error pixel data in said second page pixel data located at the same position in said succeeding page. A method of concealing errors in a coded digital video signal reproduced from a recording medium or transmitted through a transmission path, said coded digital video signal having been obtained by dividing a digital video signal into a plurality of pages each being composed of K fields of pixel data, where K is an integer, decomposing pixel data in each two pages of said plurality of pages into a plurality of blocks each being composed of a predetermined number of pixel data, and encoding said pixel data in each of said plurality of blocks by bit rate reduction encoding and error correction encoding, the encoded result being said coded digital video signal, said method comprising the steps of: decoding said coded digital video signal to obtain reproduced blocks of pixel data and detecting an error block containing an error among said reproduced blocks; composing said reproduced blocks of pixel data to obtain a plurality of reproduced pages of pixel data; and concealing error pixel data having been contained in said error block in each two reproduced pages, characterised in that said method further comprises the steps of detecting whether a picture formed by each two reproduced pages of said plurality of reproduced pages is a moving picture or a still picture, and said concealing step conceals error pixel data having been contained in said error block in each two reproduced pages depending on a detection result of said detecting step, wherein, when said picture is detected as a moving picture, said concealing step includes concealing said error pixel data in a first page of said two reproduced pages by replacing said error pixel data in said first page with first new pixel data obtained using pixel data in a previous page located one page before said first page and concealing said error pixel data in a second page of said two reproduced pages by replacing said error pixel data in said second page with second new pixel data obtained using pixel data in a succeeding page located one page after said second page, and wherein, when said picture is detected as a still picture, said concealing step includes concealing said error pixel data in said first page by replacing said error pixel data with pixel data at the same position in a page located two pages before said first page and concealing said error pixel data in said second page by replacing said error pixel data with pixel data at the same position in a page located two pages before said second page. A method according to claim 4, wherein, said picture is detected as a moving picture, said concealing step includes obtaining said first new pixel data used to replace said error pixel data in said first page by using said pixel data in said previous page and pixel data spatially adjacent to said error pixel data in said first page, and obtaining said second new pixel data used to replace said error pixel data in said second page by using said pixel data in said succeeding page and pixel data spatially adjacent to said error pixel data in said second page. A method according to claim 4, wherein, when said picture is detected as a moving picture, said concealing step includes obtaining as the first new pixel data used to replace said error pixel data in said first page pixel data located at the same position in said previous page, and obtaining as the second new pixel data used to replace said error pixel data in said second page pixel data located at the same position in said succeeding page. A method according to any of claims 1 through 6, wherein each of said pages is composed of one field of pixel data.

Inventors: JURI TATSURO, MATSUMI CHIYOKO, JURI, TATSURO, MATSUMI, CHIYOKO
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1991
Main classification: H04N5
IPC codes: H04N7, H04N11, H03M13, H04N1, H04N5