The present invention is directed to a method and system for noise reduction of an interlaced video signal. In accordance with the invention, an input video stream comprising a plurality of interlaced video fields is processed to remove noise and de-interlace the video stream to product a plurality of video frames. The input video stream can be an analog or digital video signal that is received from a video source or a digital video signal retrieved from a memory device, such as a random access memory (RAM) or a read only memory (ROM, CD-ROM, DVD, etc). The method according to the invention includes applying a temporal noise reduction filter to the input fields to produce a stream of clean (noise reduced) output fields and then using clean output fields to produce a stream of clean output deinterlaced video frames. In accordance with the invention, the temporal noise reduction filter can use a motion-compensated field derived from a past clean frame that has been motion compensated to the current field position in a process that removes or reduces temporal noise in an input field. More accurate noise reduction can be accomplished by using an immediately prior clean frame as the basis for noise reduction although frames corresponding to other prior frame positions (e.g. n−2 and prior) can be used.
The TNR filter 210 can remove random noise from the video signal. The TNR filter 210 takes advantage of the inherent property of random noise in the video signal, that the noise will not be the same from field to field or frame to frame and that it will change over time. By blending adjacent fields in the video signal to each other, the TNR filter 210 can reduce random noise.
According to the present invention, the TNR filter 210 input signal input field IFieldn(x,y) consists of a stream of interlaced fields, where n indicates the number or sequence of the field. The stream of interlaced fields can be received in a video signal from a video source or received from a memory device, such as a random access memory (RAM), a read only memory (ROM, CD-ROM, DVD-ROM), or an optical or magnet memory device. The TNR filter 210 can remove or reduce the noise from these fields by blending the current noisy field with the past clean field. This operation resembles the IIR (infinite impulse response) filter in the temporal domain. The TNR filter 210 can remove the noise from the input fields by using motion-compensated fields. The motion-compensated fields used by the TNR 210 can be generated by the MEMC module 230 from the immediately prior (n−1) clean frame. The immediately prior clean frame can be the frame produced from the deinterlacer 220 using the immediately prior (n−1) clean field in the sequence of fields relative to the current field (n).
According to the present invention, the TNR 210 can reduce the noise in the noisy field by blending the noisy field with a cleaned field generated from an immediately prior (n−1) clean frame. In one example, the blending coefficient can be equal to 1, so that the nature of the signal remains unchanged. In one embodiment, the output of the TNR filter 210 is a clean interlaced field. Alternatively, the TNR filter 210 can reduce the noise in the current input field using other known techniques for removing random noise based on prior field or frame information.
The MEMC module 230 can determine the motion vectors for the present field and apply those motion vectors to a prior field or frame in order to produce a motion compensated field or frame.
In one embodiment of the present invention, the MEMC module 230 can provide the motion vector information, and use this information to adjust the position of the objects in the prior clean frame to the corresponding position in the current noisy field. The output of the MEMC module 230 can be a motion compensated field adjusted using the motion vectors determined from the present field (n) and the frame produced from the immediately prior field (n−1) in the sequence of fields.
The deinterlacer 220 can process the interlaced video signal which is made up of a sequence of fields and convert this signal into a deinterlaced video signal which is made up of a sequence of frames. Interlaced video signals are made up of odd and even fields that can only provide half of the data of a complete frame. Various deinterlacing techniques can be used to produce the full frame from the odd and even fields. These interlacing techniques can include weaving, blending, selective blending, half sizing, and link doubling.
As shown in
One of the advantages of present invention is that because a full frame can provide better vertical resolution than a field (which only contains half the frame information), the motion compensation processing is improved.
In accordance with the invention, the MEMC 230 can use a frame that is closer in time or sequence to the present field to generate the motion compensated field. This can provide more accurate motion estimation and compensation than a frame or a field that more distant in the past or sequence of fields. This approach also can reduce the processing latency and therefore provide more accurate motion estimation and motion compensation.
In accordance with the invention, when the TNR filter 210 is processing field n, the reference frame can be determined from frame n−1. The shorter time between the field positions of the input field and the reference frame can improve the quality of the motion estimation and motion compensation processing.
In one embodiment, the de-interlacer can duplicate the previous field for use in generating the output frame. The duplication of previous field could also duplicate the noise. In an alternative embodiment, the same architecture of MEMC 230 can be used to determine the reference frame from frame n−2 when the TNR filter 210 is processing field n.
According to the invention, the MEMC module 230 determines the location of the block 310 in the reference frame 300. The reference frame 300 contains the pixel information corresponding to the top fields 301 (shown by the dotted lines) and to the bottom fields 302 (shown by the solid lines). The location of the corresponding matching block in the reference frame 300 is illustrated as top matching block 320 and bottom matching block 350. The MEMC module 230 further determines the motion vector that represents the motion from the position of the top matching block 320 in the reference frame 300 to the position of the top field block 310 in the noisy top field and the position of the bottom matching block 350 in the reference frame 300 to the position of the bottom field block 340 in the noisy bottom field. This vector can be determined using a SAD (sum of absolute differences) algorithm or a phase correlation block matching algorithm. Since the reference frame 300 contains the full frame information, the block comparison algorithm can match the top field block 310 or the bottom field block 340 (which contains only top field or bottom field information) to the full frame which contains the information for both field polarities and produce improved motion vectors that have improved resolution in the vertical direction.
Other embodiments are within the scope and spirit of the invention. For example, due to the nature of software, functions described above can be implemented using software, hardware, firmware, hardwiring, or combinations of any of these. Features implementing functions may also be physically located at various positions, including being distributed such that portions of functions are implemented at different physical locations.
Further, while the description above refers to the invention, the description may include more than one invention.
This application claims any and all benefits as provided by law of U.S. Provisional Application No. 60/824,191 filed Aug. 31, 2006 which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
60824191 | Aug 2006 | US |