Method for removing a checkerboard-like noise artifact from a captured composite NTSC video frame
Granted 3 Dec 2002 · 2 office actions
Assignee: Xerox
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Steven J. Harrington · Examiner: John Miller · AU 2714 · TC 2700
Life of the application
15 dated eventsAbstract
A method of removing a noise artifact from a video frame captured from a composite NTSC video signal is disclosed. The captured video frame is stored in a first buffer and includes a first plurality of pixels forming a first interlaced video field and a second plurality of pixels forming a second interlaced video field. For each interlaced field, a first pixel element is accessed from the first buffer, it is then determined whether the first pixel element is associated with an artifact in the video frame based on values of a first number of pixel elements including a value of the first pixel element. An adjusted value of the first pixel element is calculated based on values of a second plurality of pixel elements including the value of the first pixel element when the first pixel element is associated with an artifact in the video frame. The adjusted value of the first pixel element is stored in a second buffer when the first pixel element is associated with an artifact in the video frame to generate a filtered video frame. Otherwise, the value of the first pixel element is stored in the second buffer. Thereafter, the filtered video frame can be accessed from the second buffer and then displayed on a progressive monitor, printed on a printer, or inserted into an electronic document, etc.
Description
5 parts›BACKGROUND OF THE INVENTION
The present invention relates to the video processing system art. It finds particular application in conjunction with a method and apparatus for removing a checkerboard-like noise artifact from a captured composite NTSC video frame. However, it should be appreciated that the present invention may also find application in conjunction with other types of video processing systems and applications that input composite NTSC video signals.
The NTSC video standard is used in the United States and Japan. This standard specifies a signal transmission at 525 scanning lines per video frame transmitted at a rate of 30 frames per second. Each video frame consists of two interlaced fields F 1 and F 2 that alternate at 60 times per second. The composite NTSC video signal can be represented as:
u ( x,y,t )= Y ( x,y,t )+ I ( x,y,t ) cos(2 πf s x +Φ) cos[π( f r t−f 1 y )]+ Q ( x,y,t ) sin(2 πf s x +Φ)cos[π( f r t−f 1 y )], Eq. 1
where Y and (I, Q) are the luminance and the chrominance components, respectively; f s is the color subcarrier frequency; and f 1 an f r are the scan line and the frame frequencies, respectively.
Capturing still or freeze-frame pictures from a composite NTSC video signal for viewing on a progressive monitor, printing on a printer, inserting into an electronic document, etc. is a challenging problem in the area of video processing. Artifacts that may go unnoticed when looking at a moving video signal become extremely objectionable when viewing as a still picture.
In particular, when a composite NTSC video signal is captured, such as with a SUN Parallax video capture board, a checkerboard-like noise artifact can be observed on the vertical and diagonal edges in the captured video frame. The checkerboard-like artifact occurs in each of the interlaced fields (F 1 , F 2 ) of the captured video frame. It is suggested that the checkerboard-like noise artifact may be a result of the quadrature demodulation and the corresponding chrominance shifts due to phase detection errors combined with the aliasing caused by the sampling of the color components during the process of A/D conversion.
Accordingly, it has been considered desirable to develop a new and improved method and apparatus for removing checkerboard-like noise artifact from a captured composite NTSC video frame that meets the above-stated needs and overcomes the foregoing difficulties and others while providing better and more advantageous results.
›SUMMARY OF THE INVENTION
In accordance with one aspect of the present invention, a method of removing an artifact from a video frame captured from a moving video signal is disclosed. The video frame includes of a plurality of pixel elements stored in a buffer. The method includes the steps of a) determining whether a first pixel element is associated with an artifact in the video frame; and b) adjusting the first pixel element based on at least a second pixel element if it is determined that the first pixel element is associated with an artifact in the video frame.
In accordance with another aspect of the present invention, a method of processing a video frame captured from a moving video signal is disclosed. The video frame includes a plurality of pixel elements stored in a first buffer. The method includes the steps of a) accessing a first pixel element from the first buffer; b) determining whether the first pixel element is associated with an artifact in the video frame based on values of a first plurality of pixel elements including a value of the first pixel element; c) determining an adjusted value of the first pixel element based on values of a second plurality of pixel elements including the value of the first pixel element when the first pixel element is associated with an artifact in the video frame; d) storing the adjusted value of the first pixel element in a second buffer when the first pixel element is associated with an artifact in the video frame, otherwise storing the value of the first pixel element in the second buffer; and e) repeating steps a)-d) for a plurality of pixel elements associated with the video frame to generate a filtered video frame in the second buffer.
In yet another embodiment of the present invention a method of processing a video frame captured from a moving video signal is disclosed. The video frame includes a first plurality of pixels forming a first interlaced video field and a second plurality of pixels forming a second interlaced video field. The method includes the steps of a) determining whether a first pixel of the first field is associated with an artifact in the video frame; b) adjusting the first pixel of the first field based on at least a second pixel of the first field if it is determined that the first pixel of the first field is associated with an artifact in the video frame; c) determining whether a first pixel of the second field is associated with an artifact in the video frame; and d) adjusting the first pixel of the second field based on at least a second pixel of the second field if it is determined that the first pixel of the second field is associated with an artifact in the video frame.
One advantage of the present invention is the provision of a new method for removing a checkerboard-like noise artifact from a captured composite NTSC video frame without blurring the edges of images within the video frame.
Another advantage of the present invention is the provision of an improved method for removing a checkerboard-like noise artifact from a captured composite NTSC video frame without blurring the edges of images within the video frame.
Yet another advantage of the present invention is the provision of a new apparatus for removing a checkerboard-like noise artifact from a captured composite NTSC video frame without blurring the edges of images within the video frame.
Still another advantage of the present invention is the provision of an improved apparatus for removing a checkerboard-like noise artifact from a captured composite NTSC video frame without blurring the edges of images within the video frame.
Still further advantages of the present invention will become apparent to those of ordinary skill in the art upon reading and understanding the following detailed description of the preferred embodiment.
›BRIEF DESCRIPTION OF THE DRAWINGS
The invention may take form in various components and arrangements of components, and in various steps and arrangements of steps. The drawings are only for purposes of illustrating a preferred embodiment(s) and are not to be construed as limiting the invention.
FIG. 1, is a simplified block diagram of an image processing system that incorporates the features of the present invention therein;
FIG. 2 is a pixelwise illustration of a captured progressive video frame having M number of scan lines divided into two interlaced fields, and N number of pixels per scan line;
FIG. 3A illustrates a checkerboard-like noise artifact occurring in the first interlaced field F 1 of the video frame of FIG. 2; and
FIG. 3B illustrates a checkerboard-like noise artifact occurring in the second interlaced field F 2 of the video frame of FIG. 2 ;
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT(S) · 1 of 2
FIG. 1 shows a simplified block diagram of an image processing system 10 that incorporates the features of the present invention therein. A composite NTSC video signal is broadcast from a transmitter 12 via radio waves, cable, satellite, etc. A receiver 14 demodulates the NTSC video signal. A video capture or frame grabber device 16 , such as a Parallax video capture board, acquires or generates a still or freeze-frame image of the moving NTSC video signal in a conventional manner. As shown in FIG. 2, the captured video frame, comprising the interlaced fields F 1 , and F 2 , can be represented as an array 18 of discrete picture elements or pixels having N number of pixels per M number of raster or scan lines.
The captured video frame or array 18 is stored in a first or input buffer or other storage medium 20 a . As described in detail below, a processor 22 parses the video frame on a pixel-by-pixel basis to detect and filter the checkerboard-like noise artifact. The resulting filtered video frame is then stored or written to an output buffer 20 b . Thereafter, the filtered video frame can be accessed from the output buffer 20 b and then displayed on a progressive monitor 24 , printed on a printer 26 , or inserted into an electronic document, etc.
Referring now to FIGS. 3 a and 3 b , checkerboard-like noise artifacts, such as noise artifact 28 , occur along the vertical and diagonal edges, such as diagonal edge 30 , of an image within both fields F 1 , F 2 of the video frame 18 , as a result of the frame grabbing process. To facilitate describing the present invention, reference will be made only to the first interlaced field F 1 and the checkerboard-like noise artifact 28 occurring along the diagonal edge 30 therein. However, it should be appreciated that the noise, artifact 28 and the edge 30 can also occur in the second interlaced field F 2 , and the present invention is equally effective in eliminating such noise artifacts occurring in either or both fields F 1 , F 2 . Note that the pixels associated with the noise artifact 28 are shaded only to distinguish them from the pixels associated with the edge 30 .
The checkerboard-like noise artifact 28 is characterized by an alternating intensity pattern of light and dark pixels from one scan line to the next scan line along a vertical or diagonal edge within a given field F 1 , F 2 of the video frame. With particular reference to FIGS. 3A and 3B, Y(S, P) is the intensity Y (i.e. the luminance component) of the Pth pixel in the Sth scan line of video frame 18 , where S<=M and P<=N. The intensity of a pixel (S−4, P), located four scan lines above pixel (S, P) in the same video frame 18 (or two scan lines above pixel (S, P) in the same field F 1 ), is nearly the same as the intensity of the pixel (S, P). Likewise the intensity of pixel (S−2, P) is nearly the same as the intensity of pixel (S+2, P). However, the pixels in consecutive scan lines in the field F 1 , such as pixels (S, P) and (S−2, P), have very different intensity values.
The checkerboard-like noise artifact is detected in the video frame 18 by searching for the alternating intensity pattern of light and dark pixels. In particular, the processor 22 can be readily programmed and/or can include the necessary circuitry for accessing the video frame 18 within the buffer 20 a , and for parsing the video frame 18 (e.g. in a pixelwise column-by-column manner) to detect and filter out the checkerboard-like noise artifact according to the following pseudo-code:
If
|Y(S, P)−Y(S−4, P)|<TH 1 ,
and |Y(S+2, P)−Y(S−2, P)|<TH 1 ,
and |Y(S, P)−Y(S−2, P)|>TH 2 ,
Then
Y 1 (S, P)=((Y(S, P)+Y(S−2, P))/2,
Else
Y 1 (S, P)=Y(S, P)
where:
TH 1 and TH 2 are first and second threshold values; Y(S, P) is the intensity Y (i.e. the luminance component) of the Pth pixel in the Sth scan line of the first or second interlaced fields F 1 and F 2 of the video freeze-frame 18 that is stored in buffer 20 a ;
Y(S−2, P) is the intensity Y of the Pth pixel located one scan line (S−2) above pixel (S, P) in the particular interlaced field;
Y(S−4, P) is the intensity Y of the Pth pixel located two scan lines (S−4) above pixel (S, P) in the particular interlaced field;
Y(S+2, P) is the intensity Y of the Pth pixel located one scan line (S+2) above pixel (S, P) in the particular interlaced field; and
Y 1 is the filtered intensity value for the pixel (S, P) being processed.
The filtered intensity value Y 1 for the pixel (S, P) being processed is set equal to the average of the intensity values Y for the pixels (S, P) and (S−2, P) when the checkerboard-like noise artifact is detected. Otherwise, the filtered intensity value Y 1 for the pixel (S, P) being processed is set equal to the original unfiltered intensity value Y. In both cases the resulting intensity value Y 1 is written into the output buffer 20 b so as to pixelwise build a filtered video frame that is then available for subsequent processing (e.g., displayed on a progressive monitor 24 , printed on a printer 26 , or inserted into an electronic document, etc.)
In the embodiment being described, the filtered intensity value Y 1 for the pixel (S, P) being processed is set equal to the average of the intensity values Y for the pixels (S, P) and (S−2, P) when the checkerboard-like noise artifact is detected. However, it is contemplated that the filtered intensity value can be set based on other pixel intensity values and based on other criteria. For example, the filtered intensity value Y 1 for the pixel (S, P) being processed can be set equal to the average of the intensity values Y for the pixels (S, P) and (S+2, P), or to the average of the intensity values Y for the pixels (S, P), (S−2, P), and (S+2, P), if desired.
Assuming grey scale intensity values in the range of 0 to 255, a checkerboard-like noise artifact can be satisfactorily detected by setting the first threshold TH 1 , to a value in the range of about 16 to about 48, and by setting the second threshold TH 2 to a value in the range of about 7 to about 10.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT(S) · 2 of 2
Although the present invention has been described in detail above, various modifications can be implemented without departing from the spirit of the present invention. For example, the image processing system 10 of the present invention can be readily implemented on or as a general purpose computer, a personal computer, a workstation, etc. Further, the image processing system 10 of the present invention can be readily implemented on an ASIC, thereby enabling the placement of the invention in an electronic subsystem, printer, display device, etc.
The present invention has been described with respect to a pixel intensity range of 0 to 255. However, it is contemplated by the present invention that the pixel intensity range can be any suitable range to describe the grey level of the pixel being processed. Furthermore, the present invention is readily applicable to any image processing system, not necessarily a binary output device.
Moreover, the present invention is readily applicable to a monochrome or black/white environment, and to a color environment. That is the term “grey level” has been used interchangeably to describe both black and white and color applications.
Claims as granted
19 claimsLog in to read the claims of this application.
Log in to unlockClassifications
8 codes- G06T11/00
- H04N5/44
- H04N5/21
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock