Noise reduction in frame transmitted video signals

Abstract: A method for reducing noise in a reference frame of video information by determining the mean absolute difference, MAD o , between each block in the reference frame and identically located blocks in adjacent frames. If MAD o is < A, the block in an adjacent frame is held for averaging with the block in the reference frame, but if MAD o for the block is > A, a search is made for a block in the adjacent frame that matches the block in the reference frame. This is labelled MAD min . If MAD o for the block in the adjacent frame is < BMAD min , the matching block is not used in the average. If MAD o is not < BMAD min , the matching block can be used in the average, but preferably this is not done if MAD min exceeds a value C. The values of A, B and C are determined by experience for the block size used.

Description: BACKGROUND OF THE INVENTION In systems designed for the digital transmission of images with as few bits as possible, noise from cameras and other sources not only degrades the image but also increases the number of bits required. Such systems generally operate by transmitting only the differences between successive frames, and since noise is usually random in nature, it adds to the difference. US-A-4,729,021 discloses a coding technique for digital television signals or the like, wherein a digital video signal is input into a block formation circuit and then supplied to a movement discriminating circuit. If there is no movement in the block the block is supplied to a frame average producing circuit, which calculates average values of the picture elements. In case the block has a movement the data is supplied to a means that does not build average values and outputs a larger number of bits than in the case of a still block. The thus encoded data can be decoded in an analogous way thereby supplying the data to one of two branches depending upon whether a still block or a block having movement is to be decoded. In case of a still block there is an average value producing circuit supplied, which functions to prevent the occurrence of jerkiness (unnutural movement) in the reproduced image. An approach to noise reduction is the use of a frame averaging temporal pre-filter. In its simplest form, N adjacent frames of an image sequence are averaged together to form a frame in which the signal to noise ratio S/N is increased. This is due to the fact that noise is randomly distributed so that its average will be less than peak values whereas the average of a repetitious signal has the same values as the signal. Let f j be the input frames and f and i be the frame averaged noise reduced frame, and ( n 1 , n 2 ) be the position within the block. Then, Usually k = ( N - 1)/2 but all that is necessary is that k ∈ [ O, N ]. If the input image sequence is static, i.e., has no motion, then this method results in the best possible noise reduction. Assuming zero-mean, stationary, white Gaussian noise, with N frames averaged together, a reduction in naise variance by a factor of N is achieved, see "Two Dimensional Signal and Image Processing" by . Lim, (Prentice Hall, 1990, pp. 568-574.) specifically pages 568-9. If, however, the image is moving, applying simple frame averaging blurs the moving objects so as to reduce the image resolution. The use of motion compensation with frame averaging can solve the problem of blurring. When motion compensation is used, N -1 motion compensated estimates of to reference frame under consideration are formed when N adjacent frames are to be used in the average. Then, these estimates, rather than the input frames, as in simple frame averaging, are averaged with the reference frame to form the noise reduced frame. If we let f j be the input frames, and f and i be the motion compensated frame averaged noise reduced frames and g j,i be the motion compensated prediction of f and i using f j , then, The motion compensated estimate can be formed by using block matching. The frames are divided into identical blocks. For each block in frame i , the closest matching block in each frame j is found. A common criterion to use in judging the closest match between two blocks is the mean absolute difference, MAD . Each block in the frame i is included in the average. Moving objects in successive frames are well matched by this process so that the image resolution is retained. The best matches are achieved when small blocks are used. When, however, block matching is applied to a block that has little signal component and much noise, the matching block found matches the noise rather than the signal so that when frame averaging is performed, little noise reduction is achieved. Using large blocks makes it less likely that noise will be matched, but there may be poorer performance in signal matching. Thus, it is difficult to select an optimal block size. BRIEF DESCRIPTION OF THE INVENTION In accordance with this invention, and as defined in claim 1, noise reduction is achieved by adaptively switching on a block by block basis between simple frame averaging and motion compensated frame averaging. When objects within a block are not moving, frame averaging is used, and when the objects are moving, motion compensated frame averaging is used. In motion compensated frame averaging, the blocks of a reference frame are averaged with their matching blocks in other frames. One way of determining whether or not there is motion is to derive the mean absolute difference, MAD o , between each block in the reference frame for which noise is to be reduced and identically located blocks in other frames. If the objects in the block under consideration are not moving, MAD o has a very low value so that there is no need to use motion compensation. If, however, MAD o for a block in another frame is greater than some given value A, motion compensation should be considered. In motion compensation, a displacement block is found in another frame having the best match with the block in the reference frame. This block may be the one having a minimum absolute difference, MAD min , with the block in the reference frame. It has been observed that if a block contains only noise, MAD o and MAD min will be close in value and both will be relatively small, but if a block contains a moving object, MAD o will be very high and MAD min will be significantly lower but higher than in the noise only case. Thus, if the ratio of MAD o to MAD min is greater than some predetermined value B, the matching block in the other frame may be averaged with the block in the reference frame. This procedure permits the use of smaller blocks so that there is less blurring because if the block in the reference frame is mostly noise and is matched with a block having noise, the matching block is not used. In accordance with an aspect of this invention, a block having a value of MAD min that is greater than some empirically determined value, C, is considered to be caused by a poor motion-estimate such as due to a change in scene so that it is not included in the average. Where ( n 1 , n 2 ) is the position within the motion block of size ( N 1 , N 2 ) and d 1 , d 2 are the displacements, and the f i 's are the input frames, In some cases, the criterion used for block matching may be the minimum value of the Mean Square Error (MSE), wherein, In accordance with a further aspect of the invention, the blocks from different frames could be averaged directly or they could be weighted e.g. blocks from frames that are farther from the reference frame could be given less weight. This can be expressed by the following equations: For simple (non-displaced) weighted frame averaging For motion compensated weighted frame averaging where For the case of direct averaging, the weights a j = 1. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram illustrating frame averaging of the prior art; Fig. 2 is a block diagram illustrating motion compensated frame averaging of the prior art; Fig. 3 is a block diagram illustrating the use of noise reduction means in a system where signal compression is used; Fig. 4 is a graph illustrating operative factors of the invention; and Figs. 5 and 6 are respective portions of a flow chart illustrating the method used by the invention in reducing noise. DETAILED DESCRIPTION OF THE INVENTION Fig. 1 illustrates the operation of the prior art method of reducing noise by averaging three consecutive frames so that N = 3 in equation 1. Frames f 1 , f 2 and f 3 are applied to a summer 2, and its output is divided by three in a divider 4 so as to produce a noise reduced frame f and 2 for a reference frame f 2 . The next sequence of three frames, f 2 , f 3 and f 4 produces a noise reduced frame f and 3 for a reference frame f 3 in a similar manner by summing the frames in a summer 6 and dividing the output of the summer by 3 in a divider 8. This requires the storage in memory of two frames and a summation of their pixels and the pixels of a current frame as they arrive. If there is no motion, this is the most effective method of noise reduction, but any moving object will be blurred. In the prior art illustrated in Fig. 2, blurring is reduced by using motion compensation. The frame f 1 , the reference frame, f 2 , and the frame f 3 are divided into identical blocks of pixels e.g. having eight pixels on a side so that each block contains sixty-four pixels. As a block of the frame f 2 is addressed, a motion compensation means 10 searches in an area of f 1 surrounding that position of that block for a matching block. This may be done by finding the mean absolute difference between each pixel in a block of f 1 that is within the search area and the corresponding pixels in the addressed block of f 2 and determining the mean value, MAD , of these differences. The block in the search area of f 1 having the least difference, MAD min , is found by a selection means 12 and supplied to a summer 14. The blocks in the reference frame f 2 for which a match was sought are selected by a means 16 and supplied to the summer 14. A motion compensation means 18 and a selection means 20 find a block in f 3 having the least MAD min with respect to the selected block in f 2 and supply it to the summer 14. Means 22 divides the output of the summer 14 by three so as to produce the block that is to be used in the noise reduced frame f and 2 for the frame f 2 . This procedure is used for all the blocks in f 2 . Fig. 3 illustrates that the noise reducing means 24, whether it be constructed in accordance with the prior art or in accordance with this invention, be inserted ahead of means 26 for compressing the number of bits required for transmission. Fig. 4 is a graphical representation of the relationships between MAD o and MAD min as well as values of MAD o and MAD min that are considered in determining whether an identically located block in another frame, a displaced or matching block from that frame or no block from that frame should be used in deriving an average value to be used for a block in the reference frame. MAD o is the mean of the absolute differences between pixels in the block in a reference frame for which noise is to be reduced and the pixels in a block having the same position in another frame, and MAD min is the mean of the absolute differences between the pixels in a block of a reference frame and the pixels of matching block in another frame. The matching block is the one having the minimum value of mean absolute difference, MAD , which is MAD min . From Fig. 4 it can be seen that MAD min is never less than MAD o . The reason for this is that if the block having the same position as the block for which a match is sought has the minimum value of MAD , it would be the matching block. Note' that if MAD o is less than an empirically determined value of A or if the ratio of MAD o to MAD min is not greater than an empirically determined value of B, a matching or displaced block is not used in the average. Finally, in a preferred method, a matching block is not used if MAD min is greater than some empirically determined value C. The values of A, B and C may vary with the number of pixels in a block, but for a block that is four pixels wide and two pixels high, values of A=80, B=2 have been found to yield good results. The reasons for using values like A, B, and C are as follows. If MAD o is not greater than A, it is assumed that the objects in the block are not moving. Therefore, the non displaced block should be used rather than the displaced block. If the ratio of MAD o / MAD min is less than B, it is considered that the differences between the blocks are due to noise so that the non displaced block is used. If MAD min for a block exceeds C, it is probably because of a scene change or for a block on the edge of a frame when a camera is panned and not due to motion so that it should not be used in the average. The flow charts of Figs. 5 and 6 illustrate a method for carrying out the invention. In the flow chart of Fig. 5, a block 28 indicates that received frames of data are delayed by one frame, and a block 30 determines whether or not the number of frames to be considered in the average have been received. Thus, if N = 3, three frames would have to be available before the block 30 gave a YES answer. A block 32 then picks one of the frames that are available, and if it chances to be the reference frame, block 34, i.e., the frame for which noise is to be reduced, then all blocks for that frame are held for averaging, block 36, as no calculations are required. If the frame picked is other than the reference frame, a block 38 selects a block in the reference frame and MAD o is calculated for a non-displaced block in the selected frame, and if MAD o is < A, the non-displaced block is held for averaging, block 44 of Fig. 6. If MAD o is not < A, block 42, the procedure goes by way of a line 45 to a block 46 of Fig. 6 where a matching block is found in the frame to be averaged, block 46 of Fig. 6, for the block in the reference frame. Since the value of MAD for the matching block had to be determined in finding that it is a match, its MAD is retained as MAD min . A block 48 then determines if MAD o for the selected block in the reference frame is < BMAD min for the matching block and if it is, the non-displaced block is held for averaging, block 44. On the other hand, if MAD o for a block in the reference frame is not < BMAD min , it is a candidate for being used in the averaging process, but before this is done in a preferred form of the invention, a block 50 determines whether MAD min is > C. If so, the block is probably the result of a change in scene or on the edge of a frame when a camera is being panned so that it should not be used in the average as indicated by a block 52. But, if MAD min for the matching block is not > C, block 50, a block 54 holds the matching displaced block for averaging. If this aspect of the invention is not used, the blocks 50 and 52 can be omitted so that the procedure goes from the NO output of the block 48 to the input of the block 54. A block 56 then determines whether there are any more blocks in the frame to be processed. If so, the process loops via line 57 back to the block 38 of Fig. 5, and another block in the reference frame is processed as just described. But if all blocks in a framed to be averaged have been processed, a block 58 determines whether there are any more frames to be processed. If, for example, N = 3 and only two frames have been processed, the procedure loops back via a line 59 to the block 32 for the selection of another frame. If no more frames are needed for the average, the averages of the blocks held for averaging are obtained, block 60, and the procedure loops back to the block 28 via a line 61 so that the entire procedure is repeated to find the averages for blocks in the next reference frame. The block 60 can operate as a temporal filter with equal weights as in equations 1 and 2 or with unequal weights as in equations 7 and 8. One of the advantages of the procedure set forth in the flow chart of Figs. 5 and 6 is that the matching process of the block 46 does not have to be carried out for blocks in the reference frame for which the block 48 determines that MAD o < BMAD min .

Claims: A method for reducing the noise in video signals of sequential frames comprising: a) respectively averaging the pixel signals of blocks of a reference frame with the pixel signals of corresponding blocks in another frame when there is no motion between the blocks; characterized in that b) the pixel signals of blocks of the reference frame are respectively averaged with the pixel signals of their respective matching blocks of said another frame when there is motion between the blocks. A method as set forth in claim 1 wherein the detection of motion is based on the values of a mean absolute difference (MAD 0 ) between each block of the reference frame and identically located blocks in other frames and a minimum absolute difference (MAD min ) of a displacement block in another frame having the best match with a block in the reference frame. A method as set forth in claim 2 wherein motion between corresponding blocks of two frames is considered to exist when the mean absolute difference (MAD 0 ) is greater than a first predetermined threshold value (A) and when the ratio of the mean absolute difference (MAD 0 ) to the minimum absolute difference (MAD min ) is greater than a second predetermined threshold value (B). A method as set forth in any of the preceding claims wherein the matching block is excluded from the averaging when the minimum absolute difference (MAD min ) is greater than a third threshold value (C). The method as set forth in any of the preceding claims wherein each of said blocks has dimensions of four pixels by two pixels and the first threshold value (A) is 80 and the second threshold value (B) is 2. A method as set forth in any of the preceding claims wherein said averaging is accomplished giving all blocks equal weight. A method as set forth in any of the preceding claims 1 through 5 wherein said averaging step is accomplished by weighted averaging so that blocks from frames that are displaced farther in time from the reference frame are given less weight. A method as set forth in any of the preceding claims, comprising: selecting out of a number of frames a reference frame in which noise is to be reduced; deriving the value of the mean absolute difference (MAD 0 ) for each of a plurality of blocks of pixels in said reference frame with respect to corresponding blocks in at least one other frame; for each of the blocks in a reference frame having a value of the mean absolute difference (MAD 0 ) greater than the predetermined first threshold value (A) deriving the value of the minimum absolute difference (MAD min ) of a matching block in at least one other frame; averaging the blocks of the reference frame with corresponding blocks of at least one other frame when, the value of their mean absolute difference (MAD 0 ) is less than the first predetermined threshold value (A), or the ratio of the values of the mean absolute difference (MAD 0 ) to the minimum absolute difference (MAD min ) is less than the predetermined second threshold value (B); and averaging the blocks of the reference frame with their matching blocks in at least one other frame when, the value of the mean absolute difference (MAD 0 ) is greater than the predetermined first threshold value (A) and the ratio of the values of the mean absolute difference (MAD 0 ) to the minimum absolute difference (MAD min ) of a matching block is greater than the second predetermined threshold value (B). A method as set forth in claim 8 further comprising: exluding the matching block from the averaging if its, value of the minimum absolute difference (MAD min ) is greater than a predetermined third value (C). A method as set forth in any of the preceding claims, comprising: selecting out of a number of frames a reference frame in which noise is to be reduced; sequentially addressing blocks in said reference frame; holding blocks in said reference frame for averaging; determining the value of the mean absolute difference (MAD 0 ) for blocks in said reference frame; holding corresponding blocks in at least one other frame for averaging with the blocks in the reference frame for which the value of the related mean absolute difference (MAD 0 ) is less than the first predetermined threshold value (A); finding matching blocks in said at least one other frame for blocks in said reference frame for which the value of the mean absolute difference (MAD 0 ) is greater than the predetermined first threshold value (A); providing the values of the minimum absolute difference (MAD min ) for said matching blocks; holding said matching blocks for averaging with the block in the reference frame for which they are a match if the ratio of the value of the minimum absolute difference (MAD min ) to the value of the mean absolute difference (MAD 0 ) for the block in the reference frame for which they are a match is greater than the second predetermined threshold value (B); and averaging the blocks held for averaging with the block from the reference frame.

Inventors: BOYCE JILL M, BOYCE, JILL M.
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1992
Main classification: H04N5
IPC codes: H04N7, H04N5, G06T5