WO2009154596A1 - Method and system for efficient video processing - Google Patents

Method and system for efficient video processing Download PDF

Info

Publication number
WO2009154596A1
WO2009154596A1 PCT/US2008/007671 US2008007671W WO2009154596A1 WO 2009154596 A1 WO2009154596 A1 WO 2009154596A1 US 2008007671 W US2008007671 W US 2008007671W WO 2009154596 A1 WO2009154596 A1 WO 2009154596A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
pixel
video
value
frames
Prior art date
Application number
PCT/US2008/007671
Other languages
French (fr)
Inventor
Pavel Kisilev
Sagi Schein
Original Assignee
Hewlett-Packard Development Company, L.P.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hewlett-Packard Development Company, L.P. filed Critical Hewlett-Packard Development Company, L.P.
Priority to PCT/US2008/007671 priority Critical patent/WO2009154596A1/en
Priority to US12/999,306 priority patent/US20110091127A1/en
Priority to EP08768642.4A priority patent/EP2294808B1/en
Priority to CN2008801308173A priority patent/CN102132554A/en
Publication of WO2009154596A1 publication Critical patent/WO2009154596A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/21Circuitry for suppressing or minimising disturbance, e.g. moiré or halo
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20004Adaptive image processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20182Noise reduction or smoothing in the temporal domain; Spatio-temporal filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20192Edge enhancement; Edge preservation

Definitions

  • the present invention is related to image processing and, in particular, to an efficient video-processing method and system for applying various processing operations to frames of a video stream, including denoising, sharpening, enhancing, and deblurring a stream of video images.
  • Image processing is currently an important field of technology to which significant research and development efforts are applied.
  • video-image capture, transfer, and display devices including hand-held video cameras, video-conferencing systems, cell phones, and video-distribution channels, including real-time transmission of video images over the Internet
  • processing of video images is becoming an increasingly important field for research and development and provides an increasingly large market for video-processing systems.
  • Video processing can be carried out, following video acquisition and prior to video distribution, by computationally expensive techniques.
  • video processing needs to be carried out quickly and efficiently, such as in real-time video-processing systems.
  • Video conferencing is one example of an application in which real-time video processing can provide enormous benefits.
  • Video-conferencing-equipment manufacturers and vendors have determined that the effectiveness of video conferencing can depend greatly on the quality of video images delivered to video- conference participants.
  • Video quality can be achieved by employing complex and expensive cameras, high-end display systems, significant amounts of dedicated computational hardware, and wide-bandwidth communications channels.
  • Unfortunately the market for such expensive, high-end video-conferencing systems is relatively small compared to the potential market for lower-cost video-conferencing systems.
  • Embodiments of the present invention are directed to efficient video processing methods and systems for computationally efficient denoising, sharpening, contrast enhancement, deblurring, and other spatial and temporal processing of a stream of video frames.
  • Embodiments of the present invention separate statistics- related calculations, including estimation of pixel-value-associated variances, standard deviations, noise thresholds, and signal-contrast thresholds, carried out on only a small percentage of video frames selected at a fixed or variable interval from the video stream, from various spatial and temporal processing steps carried out on each frame of the video stream.
  • the statistics-related calculations are carried out by the general processor or processors of a computer system, while the frame-by-frame spatial and temporal processing is carried out by one or more specialized graphics processors within the computer system.
  • Figure 1 illustrates a two-dimensional image signal.
  • Figure 2 shows the two-dimensional image of Figure 1 with numerical pixel values.
  • Figures 3 A-E illustrate simple examples of various types of image and video-frame processing carried out by method and system embodiments of the present invention.
  • Figure 4 provides a high-level, block-diagram-like representation of a simple computer system.
  • Figure 5 illustrates the concept of a neighborhood within an image.
  • Figures 6A-B illustrate various types of traversals of an image employed in neighborhood-based operations.
  • FIG. 7 illustrates the basic problem addressed by method and system embodiments of the present invention.
  • Figure 8 illustrates a real-time high-quality video-processing system that represents one embodiment of the present invention.
  • Figures 9-1 1 illustrate operation of the noise-and-contrast module of a real-time video-processing system that represents one embodiment of the present invention.
  • Figure 12 illustrates addition of two images ⁇ and B.
  • Figure 13 illustrates one type of scaling operation, referred to as "downscaling.”
  • Figure 14 illustrates one embodiment of the D operation.
  • Figure 15 illustrates computation of the weights included in a weight mask W.
  • Figure 16 illustrates a portion of a Gaussian pyramid obtained by applying the D operation twice to an intermediate-scale image.
  • Figure 17 illustrates one embodiment of the U operation.
  • Figure 18 illustrates one embodiment of a robust-filtering operation used in embodiments of the present invention.
  • Figure 19 illustrates the filter operation f s (ij) carried out on each pixel Y(ij) of an original image Y as part of the robust-filter operation, described above with reference to Figure 18, used in embodiments of the present invention.
  • Figure 20 illustrates the general form of the non-linear function used in the filter operation f s (ij), used in embodiments of the present invention.
  • Figure 21 illustrates the function ⁇ s , used in embodiments of the present invention.
  • Figure 22 shows a number of illustration conventions used in Figure 15.
  • Figure 23 illustrates one multi-scale robust sharpening and contrast- enhancing method that is employed by the multi-scale denoising, sharpening, and contrast-enhancement module in various embodiments of the present invention.
  • Figures 24-25 illustrate the computation carried out for each pixel in a currently analyzed frame by the motion-detection module of a real-time video- processing system that represents one embodiment of the present invention.
  • Figures 26-29 illustrate operation of the adaptive-temporal-processing module of a real-time video-processing system that represents one embodiment of the present invention.
  • Figure 30 shows a high-level control-flow diagram for embodiments of the real-time video-processing method of the present invention.
  • Figure 31 provides a control-flow diagram of the noise-and-contrast module of a real-time video-processing system that represents one embodiment of the present invention.
  • Figure 32 provides a control-flow diagram of the motion-detection module of a real-time video-processing system that represents an embodiment of the present invention.
  • Figure 33 provides a control-flow diagram for the adaptive-temporal- processing module of a video-processing system that represents one embodiment of the present invention.
  • Embodiments of the present invention are directed to computationally- efficient real-time video processing.
  • Figure 1 illustrates a two-dimensional image signal.
  • the two-dimensional image signal can be considered to be a two- dimensional matrix 101 containing R rows, with indices 0, 1, . . . , r- ⁇ , and C columns, with indices 0, 1, . . . , c-1.
  • a single upper-case letter, such as the letter 'T is used to present an entire image.
  • Each element, or cell, within the two- dimensional image Y shown in Figure 1 is referred to as a "pixel" and is referred to by a pair or coordinates, one specifying a row and the other specifying a column in which the pixel is contained.
  • cell 103 in image Y is represented as 7(1,2).
  • Figure 2 shows the two-dimensional image of Figure 1 with numerical pixel values.
  • each pixel is associated with a numerical value.
  • the pixel 7(2,8) 202 is shown, in Figure 2, having the value "97.”
  • each pixel may be associated with a single, grayscale value, often ranging from 0, representing black, to 255, representing white.
  • each pixel may be associated with multiple numeric values, such as a luminance value and two chrominance values, or, alternatively, three RBG values.
  • image-enhancement techniques may be applied separately to partial images, each representing a set of one type of pixel value selected from each pixel.
  • image-enhancement techniques may be applied to a computed, single-valued-pixel image in which a computed value is generated for each pixel by a mathematical operation on the multiple values associated with the pixel in the original image.
  • image-enhancement techniques may be primarily applied to only the luminance partial image.
  • images are considered to be single-valued, as, for example, grayscale values associated with pixels in a black-and- white photograph.
  • the disclosed methods of the present invention may be straightforwardly applied to images and signals with multi-valued pixels, either by separately applying the methods to one or more partial images or by combining the multiple values associated with each pixel mathematically to compute a single value associated with each pixel, and applying the methods of the present invention to the set of computed pixel values.
  • images are considered to be two-dimensional arrays of pixel values, images may be stored and transmitted as sequential lists of numeric values, as compressed sequences of values, or in other ways. The following discussion assumes that, however images are stored and transmitted, the images can be thought of as two-dimensional matrices of pixel values that can be transformed by various types of operations on two-dimensional matrices.
  • a video stream consists of a time-ordered series of video images, referred to below as "frames,” each generally separated, in time, from a preceding and following frame by some fixed time interval, such as — seconds.
  • Various video- processing methods may be applied to isolated frames, and others may be applied to sequential, time-ordered subsets of frames.
  • FIGS 3A-E illustrate simple examples of various types of video- frame processing carried out by method and system embodiments of the present invention.
  • two very small regions of digital images are shown, one image prior to application of an illustrated processing technique, and the other image following application of the illustrated processing technique, to illustrate various types of processing techniques.
  • One processing technique, shown in Figure 3A is referred to as "denoising.”
  • Denoising refers to a process by which a noisy image 302 is processed in order to substitute context-appropriate grayscale values for pixels with grayscale values inferred to have been altered or distorted by noise introduced during capture, storage, transmission, or prior processing of the digital image.
  • the resulting denoised image 304 ideally appears to be noise free.
  • a denoising process may identify pixels, such as pixel 306 in the noisy image shown in Figure 3A, with grayscale ' values that significantly depart from surrounding pixels, and replace those pixel values with more appropriate pixel values consonant with surrounding pixel values 308. In certain cases, large pixel values are substituted for smaller pixel values, and, in other cases, smaller pixel values are substituted for larger pixel values. Denoising processes seek to identify and remove noise-introduced artifacts within digital images without removing or altering image features, particularly smaller, high-resolution features and detail that can be easily mistaken for noise by many denoising algorithms.
  • contrast enhancement is to improve the contrast within a digital image.
  • the grayscale values of the background pixels such as background pixel 312
  • Contrast enhancement techniques seek to improve image contrast by, for example, more widely separating the grayscale values of background pixels from the letter-O-shaped feature pixels, as in the enhanced digital image 316.
  • the background pixels have grayscale values of 255
  • the letter-O-shaped feature pixels have grayscale values of 0.
  • Contrast enhancement seeks to provide greater contrast between different image features and between image features and background within an image, while avoiding introduction of spurious artifacts.
  • the image-processing technique referred to as “sharpening,” illustrated in Fixture 3C, seeks to enhance, or sharpen, boundaries between features and between features and background within an image. For example, in the unsharpened image 320 in Figure 3C, a darker region 322 of the image adjoins a lighter region 324 along a vertical line 326 within the image.
  • One type of sharpening process may enhance or exaggerate the boundary between the darker and lighter regions, as shown in the enhanced image 328, by introducing a lighter column of pixels 330 at the edge of the lighter region 324 and a darker column of pixels 332 at the edge of the darker region 322.
  • Sharpening techniques may additionally straighten linear boundaries and make curved boundaries more continuous.
  • Denoising, contrast enhancement, and sharpening, discussed above with reference to Figures 3A-C, are generally spatial-processing techniques that can be separately applied to each frame of a video stream.
  • FIG. 3D illustrates motion-induced blurring of a digital image.
  • the still image 340 includes a letter-O-shaped feature 342.
  • motion-induced blurring of the feature may occur in a motion-blurred image 344.
  • Motion-induced blurring generally similarly affects many adjacent pixels within pixel neighborhoods of an image.
  • the letter-O-shaped feature 342 has been diagonally smeared downward, and to the left, producing two additional letter-O-shaped artifacts 346 and 348. All of the darker pixels within pixel neighborhoods including the letter-O-shaped feature show similar, diagonally translated, artifact pixels. While noise often appears to be randomly distributed throughout an image, motion-induced blurring is, by contrast, quite non-random.
  • the processing technique referred to as "deblurring” seeks to identify motion-induced artifacts in a blurred image 350 and remove the artifacts systematically to produce a deblurred image 352.
  • FIG. 4 provides a high-level, block-diagram-like representation of a simple computer system.
  • the computer system includes one or more central processing units (“CPUs”) 402, system memory 404, an internal disk 406, a graphics- rendering device 408 that includes one or more graphics processing units ("GPUs”), a memory bridge 424, and an I/O bridge 432 interconnected by a processor system bus 422, memory bus 426, advanced graphics port ("AGP") bus 428, an internal host- bridge bus 430, and a dedicated storage-device communications link, such as a SATA link.
  • the I/O bridge 432 serves to interconnect additional devices to the memory bridge 424, and therefore to the memory 404 and CPU 402.
  • the I/O bridge 432 and memory bridge 424 together compose a host bridge 420.
  • the I/O bridge includes PCIe ports and a multi-lane interconnection to a PCIe switch 436 which serves as a crossbar-like switch for establishing point-to-point interconnection between the I/O bridge and the various PCIe end points 410-415.
  • a computer system such as that shown in Figure 4, is an exemplary platform for a real-time video-processing system representing an embodiment of the present invention.
  • Figure 5 illustrates the concept of a neighborhood within an image. Many image-processing techniques are based on the mathematical concept of a pixel neighborhood.
  • a portion of a large image is shown as a grid 502. Within the illustrated portion of the image, a small square region 504 is shaded, and the central pixel of the shaded region additionally crosshatched 506. For many operations, a square region with sides having an odd number of pixels provides a convenient neighborhood for calculation. In many cases, the square region 504 is considered to be the neighborhood of the central pixel 506.
  • the central pixel 506 has indices (//). This neighborhood may be referred to as n(ij). The indices of all of the pixels within the neighborhood are shown in the inset 508.
  • Neighborhoods may have different types of shapes, including diamond shapes, approximately disk-like shapes, and other shapes.
  • the number of pixels in a neighborhood is generally represented by the letter "K."
  • the central pixel value is considered to be one of K pixels within the neighborhood, hi other cases, the central pixel value is not employed in a particular neighborhood-based process, and therefore the constant K may not include the central pixel.
  • K may be considered to have the value 8 for neighborhood 508 in Figure 5
  • K may be considered to have the value 9 for neighborhood 508 in Figure 5.
  • the term "window” may also be used to describe a pixel neighborhood.
  • Figures 6A-B illustrate various types of traversals of an image employed in neighborhood-based operations.
  • a neighborhood-based calculation is carried out for each pixel in the image.
  • the neighborhood can be envisioned as a window that slides along a traversal path within the image, stopping at each position along the traversal path, with a different central pixel at each position along the traversal path.
  • Figure 6A illustrates one possible traversal path, in which rows are traversed in order, with the pixels in each row traversed in a direction opposite from the traversal of the preceding and subsequent rows.
  • a diagonal traversal may be carried out, as shown in Figure 6B.
  • modified neighborhoods may be employed in order to carry out neighborhood- based computations for pixels close to edges or corners.
  • Convolution operations in which a small mask of values multiplies a corresponding neighborhood about each pixel to generate each pixel value of an image produced by convolution
  • filter operations in which computations are made based on the pixel values for each neighborhood along traversal path, such as those shown in Figures 6A-B, are both examples of neighborhood-based operations.
  • Figure 7 illustrates the basic problem addressed by method and system embodiments of the present invention.
  • a stream of video images comprising a video signal 702 is input to a real-time video-processing system 704, which needs to, in real time, carry out spatial operations, including denoising, sharpening, and contrast enhancement, on each frame as well as to carry out temporal processing, including deblurring, on time-ordered subsets of the video stream in order to produce a processed video stream 706.
  • Even a relatively low-resolution video stream in which each frame has a size of 720 x 480 pixels and adjacent frames are separated by a time interval of — seconds, comprises over 10,000,000 pixels that must be processed each second by the video-processing system 704.
  • FIG. 8 illustrates a real-time high-quality video-processing system that represents one embodiment of the present invention.
  • the video stream is represented by a sequence of frames, including frame 802.
  • the real-time video-processing system that represents one embodiment of the present invention includes a noise-and-contrast module 804 executed by one or more CPUs of an underlying computer system or work station, and three modules 806, 808, and 810 that are executed by one or more special graphical processing units ("GPUs") within the computer system or work station.
  • the three modules executed by the one or more GPUs include: (1) a multi-scale denoising, sharpening, and contrast-enhancement module 806; (2) a motion-detection component 808; and (3) an adaptive-temporal- processing module 810.
  • the noise-and-contrast module 804 operates on only a few, selected frames, for example frames 812 and 813 in Figure 8, that occur at either a fixed or variable time or frame interval within the video stream.
  • the noise-and-contrast module produces results that are often relatively constant over reasonably large stretches of frames.
  • the calculations performed by the noise-and-contrast module are generally less well-suited for execution on the one or more GPUs of an underlying computer system or device. These calculations involve specialized, complex, sequentially programmed routines that do not generally access memory in regular or predictable patterns, such as storing entire two-dimensional arrays.
  • the calculations are difficult and impractical to decompose into smaller tasks that can be executed in parallel, and generally do not make use of the specialized, image-based vector and matrix primitives provided by GPUs. There is, in other words, relatively low opportunity, in these calculations, for effectively taking advantage of the parallel, dedicated-primitive-based interface provided by a GPU.
  • the three modules that execute on the one or more GPUs operate on each frame of the video stream.
  • the calculations carried out on the one or more GPUs by the multi-scale denoising, sharpening, and contrast-enhancement module, the motion-detection component, and the adaptive-temporal-processing module are image-based calculations that are suited for parallel vector and matrix operations, as well as high-bandwidth and highly regular memory-access operations, for which GPUs are designed.
  • the over-all processing bandwidth of the computer system is best exploited, in a parallel fashion, and those calculations are distributed among the CPUs and GPUs so take advantage of the different capabilities of, and interfaces to, the CPUs and GPUs.
  • the three modules are discrete, and operate on video frames in assembly- line fashion. In alternative embodiments, all three modules may be implemented together as a single module.
  • the noise-and-contrast module is one embodiment of a measurement module that carries out statistical analysis of selected video frames in order to provide parameter values for subsequent spatial and temporal processing.
  • the multi-scale denoising, sharpening, and contrast-enhancement module, motion-detection component, and adaptive-temporal-processing module together comprise one embodiment of a processing module that operates on each video frame to produce a corresponding processed video frame by various methods, including removing noise, enhancing contrast, sharpening features, and deblurring video frames.
  • the noise-and-contrast module 804 produces results, namely grayscale-value-associated estimated noise-related variances or standard deviations and signal-contrast-related variances that are input to both the multi-scale denoising, sharpening, and contrast-enhancement module 806 and the motion-detection module 808.
  • the motion-detection module 808 produces values that are input to the adaptive-temporal-processing module 810.
  • the noise-and- contrast module 804 and the motion-detection module 808 do not alter video frames, but the multi-scale denoising, sharpening, and contrast-enhancement module 806 and the adaptive-temporal-processing module 810 both alter the content of each video frame in the video stream.
  • the multi-scale denoising, sharpening, and contrast- enhancement module 806 carries out spatial processing of video frames, as discussed with respect to Figures 3A-C, and the adaptive-temporal-processing module 810 carries out temporal processing, including deblurring, as discussed above with reference to Figures 3D-E.
  • the enhanced frames output by the adaptive-temporal- processing module can then be transmitted, stored, and rendered for display by various types of systems that include or interface with the real-time video-processing systems of the present invention.
  • Figures 9-1 1 illustrate operation of the noise-and-contrast module of a real-time video-processing system that represents one embodiment of the present invention.
  • the noise-and-contrast module (804 in Figure 8) represents, as discussed above, an embodiment of a measurement module.
  • the noise-and-contrast module is shown to operate on a selected video frame 902 in order to produce a number of statistical functions related to the video frame.
  • the video frame is partitioned into small blocks of pixels.
  • 8 x 8 blocks of pixels are employed, the 8 x 8 blocks fully tiling the video frame.
  • differently sized blocks may be employed, and a smaller number of blocks than a tiling set may be used to compute the statistical functions.
  • An average grayscale value, or pixel value, for each block is computed as:
  • / is the average pixel value for a block containing K pixels; and l k is the pixel value for the A;" 1 pixel.
  • the blocks are then partitioned according to average pixel value.
  • partitions are created for each of the 256 grayscale values 904, shown, for illustration purposes, as linked lists of blocks, such as linked list 906, each referenced from an array of the 256 possible pixel values.
  • Inset 908 illustrates that each block of each partition, such as block 910 in the partition associated with pixel value "255,", is, in the described embodiment, an 8 x 8 block of pixels, and that the average grayscale value computed for the block indexes the partition in which the block is included. Note that it may be the case that certain, particular pixel values, such as the pixel value "3" 912, have empty partitions, when no 8 x 8 block within the frame has an average pixel value equal to the particular pixel values.
  • Figure 10 illustrates processing each partition of 8 x 8 blocks by the noise-and-contrast module, according to one embodiment of the present invention.
  • a single partition represented as a list of 8 x 8 blocks, such as 8 x 8 block 1002, are associated with some particular grayscale value L 1004.
  • all of the 8 x 8 blocks in the partition associated with grayscale value L have an average pixel value of L.
  • the sample variance s 2 is computed for each 8 x 8 block, and the 8 x 8 blocks are ordered in ascending s 2 order 1006.
  • the sample variance is computed as:
  • a next step 1008 F statistics or ANOVA statistics are computed for the 8 x 8 blocks in order to remove from the partition any blocks with outlying s 2 values.
  • a number of the initial blocks in the ordered list, having lowest sample variance, are employed to compute an estimated variance ⁇ 2 from a number 7 ⁇ of low-sample- variance blocks, as follows:
  • T 1 is a number of low-sample-variance blocks
  • s, 2 is the sample variance of a block of AT elements
  • C 7 ⁇ .,, ⁇ iller is a where a t is a tabulated t' H order statistic from a standard normally distributed population of size T 1 .
  • the number of low-sample-variance blocks, Ti, used to compute the estimated variance ⁇ ] may be a fixed number, or may vary depending on partition size and other considerations, in alternative embodiments of the present invention.
  • the calculation is not performed.
  • Blocks with low sample variance have a high probability of being featureless, and therefore the estimated variance ⁇ 2 is a reflection of the noise level within a partition of blocks.
  • a weighted average of the estimated variances for all the blocks, &l is computed as follows:
  • This average estimated variance, for all 8 x 8 blocks in the partition, is related to signal contrast within the blocks of the partition.
  • the noise-and-contrast module may determine, for each partition, the low-sample- variance-block variance, , the related standard deviation, ⁇ n , and the weighted- average estimated variance, ⁇ , for those partitions with a sufficient number of blocks to compute these values.
  • the set of each of these statistics, collected for all of the partitions, represents, in the case of each statistic, an incomplete, discrete statistical function of the statistic with respect to pixel value.
  • Figure 11 illustrates conversion of an incomplete discrete function of a statistic with respect to pixel value into a statistical function.
  • each of the statistics ⁇ ], ⁇ n and is computed, for those partitions with a sufficient number of blocks to compute reasonable statistical values, by the noise- and-contrast module.
  • an incomplete, discrete function 1102 is obtained.
  • the incomplete, discrete function generally includes a number of undefined range values, such as undefined range values 1104, for those pixel values associated with no partition or with partitions with an insufficient number of blocks to compute the statistic.
  • the incomplete, discrete function 1102 can be converted into a smoothed, complete statistical function 1106.
  • the complete statistical function 1106 is shown as a continuous function, in Figure 11, although the interpolated and smoothed function is generally a discrete function, represented in table or vector form.
  • the multi-scale denoising, sharpening, and contrast-enhancement module uses two noise thresholds, for each grayscale level, including a lower threshold related to the estimated standard deviation: where m is a constant; and L is a pixel value.
  • skewness of a sample distribution q may be computed from n samples for which the values x are measured as follows:
  • the skewness q may be computed for each partition, thus representing yet an additional statistical function q(L), or may be computed over the entire frame.
  • the multi-scale denoising, sharpening, and contrast-enhancement module is described.
  • a number of different types of operations carried out on two-dimensional images are described. These operations range from simple numeric operations, including addition and subtraction, to convolution, scaling, and robust filtering.
  • a final subsection discusses a multi-scale denoising, sharpening, and contrast-enhancement method carried out by the multi-scale denoising, sharpening, and contrast-enhancement module according to embodiments of the present invention..
  • Figure 12 illustrates addition of two images A and B.
  • addition of image ⁇ 1202 and image .B 1204 produces a result image A+B 1206.
  • Addition of images is carried out, as indicated in Figure 12, by separate addition of each pair of corresponding pixel values of the addend images.
  • pixel value 1208 of the result image 1206 is computed by adding the corresponding pixel values 1210 and 1212 of addend images A and B.
  • the pixel value 1214 in the resultant image 1206 is computed by adding the corresponding pixel values 1216 and 1218 of the addend images A and B.
  • an image B can be subtracted from an image A to produce a resultant image A - B.
  • each pixel value of B is subtracted from the corresponding pixel value of A to produce the corresponding pixel value of A - B.
  • Images may also be pixel-by-pixel multiplied and divided.
  • Figure 13 illustrates one type of scaling operation, referred to as "down scaling.”
  • a first, original image Y 1302 may be downscaled to produce a smaller, resultant image Y' 1304.
  • every other pixel value shown in original image Y in Figure 13 as crosshatched pixels, is selected and combined together with the same respective positions in order to form the smaller, resultant image Y' 1304.
  • the downscaled image Y' is an
  • ⁇ R ( ⁇ -Rmod 2) 1 x ⁇ C (l- C mod 2) 1 image The downscaling shown in Figure 13 decreases each dimension of the original two-dimensional matrix by an approximate factor of Vi, thereby creating a resultant, downsized image Y' having 1 A of the number of pixels as the original image Y.
  • the reverse operation in which a smaller image is expanded to produce a larger image, is referred to as upscaling. In the reverse operation, values need to be supplied for 3 A of the pixels in the resultant, larger image that are not specified by corresponding values in the smaller image.
  • Various methods can be used to generate these values, including computing an average of neighboring pixel values, or by other techniques.
  • the illustrated downscaling is a Vz x Vi downscaling.
  • images can be downscaled by arbitrary factors, but, for convenience, the downscaling factors generally select, from the input image, evenly spaced pixels with respect to each dimension, without leaving larger or unequally-sized boundary regions.
  • Images may also be downscaled and upscaled by various non-linear operations, in alternative types of downscaling and upscaling techniques.
  • Figure 14 illustrates one embodiment of the D operation.
  • the D operation is a logical combination of two simple operations. An original two- dimensional image, or signal, Y 1402 is first convolved with a weight mask W 1404 to produce a filtered, resultant image Y * 1406. This intermediate-result matrix ⁇ is then downscaled by a Vi x Vi downscale operation 1408 to produce a final resultant image r 1410.
  • Figure 15 illustrates computation of the weights included in the weight mask W.
  • the one-dimensional weight mask 1502 is symmetric about the central element, with index 0, containing the value a.
  • the two- dimensional weight mask W(m,m) can be generated by a matrix-multiplication-like operation in which a row vector W(m) is multiplied by a column vector W(m) to generate the two-dimensional weight matrix W 1504.
  • each pixel of the resultant image Y' is produced, via the one-dimensional mask 1502, by a linear combination of five pixels in the original image Y, pixels 1510-1514 in the case of resultant-image pixel 1508.
  • lines are drawn, for a number of pixels within a row 1516 of the resultant image Y' , connecting the pixels with the corresponding pixels in a row 1518 of the original image Y that contribute values to each of the pixels in the resultant image Y' .
  • original-image pixel values 1510 and 1514 are both multiplied by value c
  • original-image pixel values 1511 and 1513 are both multiplied by the value b
  • the pixel value 1512 of the original image Y is multiplied by the value a in the masking operation that produces the pixel value 1508 of the resultant image Y' .
  • every other pixel in the original image Y serves as the central pixel in a masking operation to produce corresponding pixel value in Y' .
  • original-image pixel 1512 is the central pixel of a mask operation leading to resultant-image Y' pixel value 1508.
  • original-image-pixel 1512 also contributes to resultant-image- pixel values 1520 and 1522, in each case multiplied by value c.
  • pixel 1512 of the original image represents a first type of original-image pixel that is used in three different individual mask operations to contribute to the values of three different resultant-image pixels, once multiplied by the value a and twice multiplied by the value c.
  • the neighboring original-image pixels 1511 and 1513 each represent a second type of original-image pixel that is used only twice in masking operations to contribute to the values of two resultant-image pixels, in both cases multiplied by the value b. As shown in Figure 15, these two different types of pixels alternate along the illustrated dimension of the original image.
  • weights are normalized in each dimension:
  • a second constraint is that each pixel of the original image contributes 1 A of its value to the resultant image, or:
  • Vy(u), ⁇ W(m,m)Y(i,j) ⁇ (Y ⁇ i,j)) where the sum is over all pixels of Y' to which original-image pixel Y(Jj) contributes.
  • a final constraint is that, in each dimension, the weight mask is symmetric, or:
  • the weight matrix W is an approximate Gaussian filter. In other words, a is significantly greater than b, and b, in turn, is somewhat greater than c. In the one-dimensional case, the weight values approximately correspond to a Gaussian, bell-shaped curve. In the two-dimensional case, the values of the weight matrix approximately correspond to a two-dimensional, rounded Gaussian peak. In one embodiment of the present invention, the 5 x 5 weight mask W shown in Figure 15 is used in the D operation, as well as in a corresponding U operation, discussed below. In alternative embodiments, weight masks with larger or smaller dimensions may be employed, with different weights that approximate different, alternative types of curves.
  • Figure 16 illustrates a portion of a Gaussian pyramid obtained by applying the D operation twice to an intermediate-scale image.
  • a first D operation D n 1603 is applied to an intermediate-scale image 1602 to produce a smaller, lower- resolution image 1604 at scale n+1.
  • a second D operation £> formulate + / 1605, is applied to this lower-resolution image 1604 produces a still lower-resolution image 1606 at scale n + 2.
  • FIG. 17 illustrates one embodiment of the U operation. As shown in Figure 17, the U operation transforms a lower- resolution, smaller image, G 0+1 1702, at scale n+ ⁇ to a larger, higher-resolution image, G" 1704, at scale n.
  • the [/ operation is shown 1706 in the one-dimensional case as essentially the reverse of the D operation discussed above (1506 in Figure 15).
  • the value of every other pixel, such as pixel 1710, is contributed to by the values of three pixels in the lower-resolution, smaller image 1712, while the values of adjacent pixels, such as pixels 1714 and 1716, are contributed to by the values of only two pixels within the lower-resolution image 1712.
  • the U operation can be expressed as: where only integral values of and are used.
  • Robust filtering is a rather complex operation performed on an original image Y to produce a resultant image ⁇ where:
  • the robust-filtering operation is a neighborhood-based operation, with a 3 x 3 neighborhood 1802, or window, of the original image Y 1804 considered for each non-boundary pixel within the original image Y in order to generate the corresponding pixel values of the resultant image Y 1806.
  • Figure 19 illustrates the filter operation f s ⁇ ij) carried out on each pixel Y ⁇ ij) of an original image Y as part of the robust-filter operation, described above with reference to Figure 18, used in embodiments of the present invention.
  • Figure 19 shows a window W 5 1902 where the s refers to a particular scale at which the robust- filtering operation is undertaken. Robust-filtering operations may be different at each of the different scales at which they are undertaken during image enhancement.
  • the window W 5 is a small, 3 x 3 neighborhood of an image Y 1 at scale s.
  • the window is centered at the Y s pixel YJiJ) 1904.
  • a differently sized region of the image may be used as a window, and a different number of differences is generated during each window- based operation.
  • Each of the differences d n where n e ⁇ 1,2,...,8 ⁇ , are used as an index into a lookup table 1908, with corresponding values in the lookup table representing a function ⁇ s applied to each of the different differences.
  • the lookup table is a discrete representation of a non-linear function.
  • Figure 20 illustrates the general form of the non-linear function used in the filter operation f s (i,j), used in embodiments of the present invention.
  • the function ⁇ s computes a value ⁇ s ( A), plotted with respect to the vertical axis 2004, for each different possible ⁇ in the domain, plotted with respect to the horizontal axis 2002.
  • the function ⁇ s returns a value somewhat greater than the corresponding ⁇ value.
  • ⁇ s (A) is an amplified value corresponding to an input ⁇ value, as represented by the curved segment 2014 of the function ⁇ s shown in Figure 20.
  • the function ⁇ s (A) reaches a maximum value ⁇ max 2015, and for all ⁇ values greater than T, function ⁇ s ( ⁇ ) returns the maximum value ⁇ m ⁇ X .
  • this portion of the graph of ⁇ s may be a straight line with a positive slope greater than 1.0, and in other embodiments, may have other, different forms. In general, whether linear or non-linear, this central portion of the graph of ⁇ s is non-decreasing over / ⁇ ⁇ ⁇ T .
  • the final, computed filter value d for pixel Y s (iJ) is then the sum of the eight values ⁇ (dj computed by applying the function ⁇ s , described with reference to Figure 20, where the d n values are the eight difference values computed by subtracting each of the neighboring pixel values from the central pixel value, as shown in Figure 19:
  • a final operation is performed on the filter value f s (i J), computation of which is discussed above with reference to Figures 19-20.
  • This operation, represented as function ⁇ is used to remove any new local maxima and minima introduced by robust filtering.
  • Figure 21 illustrates the function ⁇ s , used in embodiments of the present invention.
  • the domain of the function represented by the horizontal axis 2102, comprises the values f s (i,j) computed, as discussed above, with reference to Figures 19-20.
  • the function ⁇ s computes corresponding values ⁇ s(fs(ij)) > represented by the vertical axis 2104 in Figure 21.
  • ⁇ s (fs(ij)) returns f s (ij), as indicated by the straight line segment 2109 with slope 1 in the graph of function ⁇ s .
  • ⁇ mm (ij) 2106 the function ⁇ s multiplies an input value f JlJ J) by a value q greater than 1.0, and uses the minimum of the result of this multiplication or ⁇ m ⁇ n (ij) for the value returned ⁇ s , as represented by the initial segment 21 12 with slope q followed by the flat segment 21 14 with slope 0.
  • ⁇ s q amplifies very low f s (ij) values and decreases very large f JlJ J) values.
  • each pixel of the robustly filtered image Y 1006 in Figure 18 is computed by the robust-filter operation as: for the 3 x 3 window discussed above and illustrated in Figure 19.
  • the filter operation can be expressed as:
  • the window used in the f s (ij) component operation involves neighboring pixels to pixel Y(iJ) at the same scale as which robust filtering is being applied
  • the window may include neighboring pixels to pixel Y(iJ) at higher-resolution, lower-resolution scales, or both higher-resolution and lower-resolution scales, or that neighbor the closest, interpolated pixel corresponding to pixel Y(iJ).
  • Many different non-linear and linear functions may be employed in addition to, or instead of one or both of ⁇ and ⁇ in alternative embodiments.
  • Figure 22 shows a number of illustration conventions used in Figure 23.
  • the first symbol 2202 represents the robust-filtering operation, discussed above with reference to Figures 10-21.
  • the second symbol 2204 represents the D operation, discussed above with reference to Figures 22-23.
  • the third symbol 2206 represents the U operation, discussed above with reference to Figure 17.
  • the fourth symbol 2208 represents addition of two images or signals, as discussed above with reference to Figure 12.
  • the final symbol 2210 represents subtraction of one image from another, also discussed above with reference to Figure 12.
  • the R, D, and U symbols are subscripted by a scale s.
  • the various R, D, and U operations may be, in various embodiments of the present invention, scale dependent, with different R, D, and U used at different scales. As discussed above, there are many alternative R, D, and [/operation embodiments.
  • Figure 23 illustrates one multi-scale robust sharpening and contrast- enhancing method that is employed by the multi-scale denoising, sharpening, and contrast-enhancement module in various embodiments of the present invention.
  • Input to the method is represented by arrow 2302.
  • Output of the sharpened input image is represented by arrow 2304.
  • Each level of Figure 23, corresponding to horizontal lines 2305-2309 that each represents a correction signal, corresponds to a different scale at which robust filtering is carried out according to the described embodiment of the present invention.
  • the input image 2302 is first subject to robust filtering 2310 and the output from robust filtering is then subject to the D operation 2312 to produce both input to the second robust filter 2314 as well as input to 2316 a subsequent image subtraction operation 2318 that produces a correction signal.
  • a series of U operations 2320-2323 are performed to produce a final [/-operation output 2324 which is added to the first robust-filter output 2305 to produce the final, sharpened output image 2304.
  • a correction signal is produced, at each scale, by a subtraction operation, such as subtraction operation 2318.
  • the correction signal 2306 is added 2330 to output from an upscale operation 2322 carried out on an intermediate output 2332 from a lower- resolution scale, and the sum of the intermediate output signal and the correction signal comprise the output signal 2334 at the given scale that is input to a next upscale operation 2323.
  • the input image at a particular scale is subtracted from the robust-filtering output at that scale to produce input to a U operation that generates one input to the U operation of a lower-numbered scale.
  • the output from robust filtering at the intermediate level minus the input from that level is added, by an image-addition operation, such as image-addition operation 2326, to output from the U operation of a preceding level, such as output 2328, and the image sum is then input to the U operation of the next, higher-level resolution or lower- numbered scale.
  • the image is robustly filtered, in order to sharpen and enhance the image, and then downscaled and, optionally, smoothed, by a D operation, to produce the input for the next lowest- resolution level of processing.
  • the differences between output of the robust filter and the input to the robust filter are used, in addition to output of a lower-resolution-level U operation, as input to a U operation at that level to generate output to the next higher-resolution level.
  • motion detection involves analysis of some subsequence of time-ordered frames within a video stream, since motion in a video stream is related to changes in pixel values over time. Analysis of motion in a video stream may involve quite complex and computationally expensive analysis. A real- time video-processing system cannot afford the time to carry out many of these types of analyses. Instead, relatively simple and computationally tractable procedures are employed, in various embodiments of the present invention.
  • the motion-detection module of a real-time video-processing system that represents one embodiment of the present invention compares each frame in a video steam with the preceding frame in order to compute a factor ⁇ t ⁇ for each pixel in the frame that is reflective of the probability that the value of each pixel (//) in the frame reflects motion, either of a camera recording the video stream or of an object whose image is being recorded. The more likely that the value of a pixel (ij) reflects motion, the greater the value of ⁇ , j .
  • ⁇ factors range in value from 0.0 to 1.0.
  • Figures 24-25 illustrate the computation carried out for each pixel in a currently analyzed frame by the motion-detection module of a real-time video- processing system that represents one embodiment of the present invention.
  • motion detection carried out by the motion-detection module is a neighborhood-based computation, with the motion factor ⁇ t ] computed for each pixel (ij) in a currently considered frame based on comparing a neighborhood n ⁇ ij,t) 2402 about a pixel (ij) 2404 within a currently considered frame I(t) 2406 with a corresponding neighborhood n(ij,t- ⁇ ) 2408 about the same pixel (ij) 2410 in the preceding frame /(M) 2412.
  • the multi-scale denoising, sharpening, and contrast- enhancement module (806 in Figure 8) should, in general, have removed noise up to the high noise threshold q ⁇ n (L) for a pixel (ij), where L is the average pixel value in the neighborhood of pixel (ij). Thus, any remaining noise should be greater than q ⁇ n (L) .
  • a high-threshold signal contrast within the neighborhood is given by aC(L), where a as a constant. In other words, the signal contrast is related to the weighted-average variance &l for all blocks in a partition associated with the average pixel value L.
  • the motion-detection module computes the difference between each pixel in the neighborhood of pixel (ij), n(ij,t), in the currently considered image I(i) and the corresponding pixel in the neighborhood n(ij,t- ⁇ ) of the preceding frame /(/-1) where, in Figure 25, each double-headed arrow, such as double-headed arrow 2502, represents a subtraction operation between the values of the pixels, such as pixels 2504 and 2506, joined by the double-headed arrow.
  • Z 1 and/ 2 are functions that compute the probability of a pixel-value difference being greater than the statistical-parameter-based thresholds q ⁇ (L) and aC (L).
  • the probability of differences between corresponding pixels in a neighborhood having a cumulative value greater than a noise threshold is multiplicative, while, in the case of motion, the probabilities of differences between corresponding pixel values of the two neighborhoods having a cumulative value greater than a contrast-dependent threshold is additive, since influences to pixel values by motion are non-random.
  • motion affects all of the pixels in a neighborhood similarly, in a concerted fashion, while noise, by contrast, tends to be randomly distributed within the neighborhood.
  • the functions f ⁇ and / 2 can have various forms. In general, a probability density function is assumed or computed for the difference values, with/i and fi thus computing a probability by definite integration of the underlying probability density functions.
  • the functions/i and/ 2 can be expressed as either closed-form analytical functions or as tables indexed by difference value.
  • the value of ⁇ for each pixel, ⁇ f ⁇ is then proportional to the ratio of the probability that the pixel value is influenced by noise to the probability that the pixel value is influenced by motion: noise. , motion, ,
  • CO 1 j values for each pixel (ij) in a frame are then reported by the motion- detection module to the adaptive, temporal processing module (810 in Figure 8).
  • FIGS 26-29 illustrate operation of the adaptive-temporal-processing module of a real-time video-processing system that represents one embodiment of the present invention.
  • the adaptive-temporal-processing module (810 in Figure 8) can be thought of as employing, as shown in Figure 26, two frame-related buffers, or data structures: (1) I x 2602, the currently considered frame that has been spatially processed by the multi-scaled denoising, sharpening, and contrast enhancement module, and that has been processed by the motion-detection module in order to compute the ⁇ t y factors for each pixel (/j) in the image; and (2) the history frame H 2604, that represents a sum, from a last-generated enhanced frame extending back in time over previously generated enhanced frames produced as output by the adaptive- temporal-processing module.
  • the history frame H can be considered to be a sum:
  • E 1 is the enhanced frame corresponding to the video frame at time t in the video steam; and /( ) is a function that returns a value for each pixel in an enhanced frame.
  • Figure 27 illustrates how the current-frame buffer I x and the history buffer H are employed by the adaptive-temporal-processing module to produce an enhanced frames E x corresponding to each frame I x output from the other modules of the real-time video-processing system.
  • the frames output by the preceding modules of the real-time video-processing system such as frame 2702, are labeled I x , I x + ⁇ , . . . , /,+3, where I x represents the current frame, I x + ⁇ represents the next frame following the current frame, in time order, and I x . ⁇ represents the preceding frame, in time, from the current frame.
  • the motion- detection module carries out a motion-detection operation 2704 on the frame preceding the current frame 2706 and the current frame 2702 to produce the above- discussed factors, (O 1 ⁇ , for each pixel (ij) in the current frame I x 2702.
  • the adaptive- temporal-processing module uses these factors, ⁇ l ⁇ , the current frame 2702, and the history frame 2708 to carry out a motion-induced-artifact-amelioration operation 2710 to produce the enhanced frame 2712 corresponding to the current frame 2702.
  • the enhanced frames are output 2714 as a stream of processed video frames corresponding to the stream of video frames input to the real-time video-processing system.
  • enhanced frame E x 2712 produced for a currently considered frame I x 2702 is then copied into the H-frame buffer 2716 for use in the next motion-affect- amelioration operation carried out by the adaptive-temporal-processing module on the next frame I x+ ⁇ 2718.
  • the process is therefore recursive, with the ⁇ -frame buffer containing pixel values that potentially reflect the pixel values in all previously generated enhanced frames, although, in general, the depth of recursion is usually practically limited to several tens of frames, when no motion-induced artifacts are present, and to only a few frames when motion-induced artifacts are detected.
  • Figure 28 shows that the motion-induced-artifact-amelioration operation, employed in various embodiments of the present invention, is a neighborhood-based operation carried out on each pixel of the currently considered frame I x 2804 according to a frame-traversal path 2802 identically followed in the currently considered frame I x and in the history frame H 2806. As discussed, many different traversal paths are possible.
  • Figure 29 illustrates the neighborhood-based operation carried out by the adaptive-temporal-processing module on a given pixel (ij) of a currently considered frame I x .
  • the value of the pixel (/,/) 2902 in the enhanced frame E x 2904 corresponding to the currently considered frame I x 2906, Ey, is equal to the factor ⁇ t j , computed from the neighborhood n(ij,i) 2907, times the pixel value of pixel (ij) 2908 in the currently considered frame I x plus X-(O 1 1 times the corresponding value of pixel (ij) 2910 in the history frame 2912.
  • the value of the pixel (ij) in the H frame contributes most of the value for the pixel in the enhanced frame.
  • the value for pixel (ij) in the current frame I x contributes most of the value to the corresponding pixel of the enhanced frame.
  • the multi-scale denoising, sharpening, and contrast-enhancement module, motion-detection module, and adaptive-temporal- processing module may be implemented together as one embodiment of a processing module, or implemented in various combinations that together comprise a processing module.
  • a processing module uses statistics computed by the measurement module, one embodiment of which is the above-discussed noise-and-contrast module, in order to carry out spatial and temporal processing of each frame in a video stream.
  • Figures 30-33 provide control-flow diagrams for the real-time video-processing method of the present invention carried out by real-time video- processing systems that represent embodiments of the present invention.
  • Figure 30 shows a high-level control-flow diagram for embodiments of the real-time video- processing method of the present invention.
  • step 3002 reception of a stream of video frames is initialized, the H-frame buffer (2604 in Figure 26) is initialized to be the first frame of the video stream, local variable n, which store the current frame number, is set to 0, and local variable "interval,” which represents the interval between noise-and-contrast-module processing of frames, is set to an initial value, such as 20 or 30.
  • the frames of the input video stream are processed.
  • the noise-and-contrast module (804 in Figure 8) in step 3006 to produce the above-discussed statistical functions ⁇ n (L) and C(L), as well as an over-all estimate of the skew of pixel-value distributions q or a statistical function q(L), as discussed above with reference to Figures 9-11.
  • Each frame is then processed by the multi-scale sharpening, enhancing, and denoising module (806 in Figure 8) in step 3007, the motion-detection module (808 in Figure 8), in step 3008, and the adaptive-temporal-processing module (810 in Figure 8), in step 3009, prior to output of the enhanced frame in step 3010 and incrementing of the frame number n.
  • Figure 30 thus illustrates, in control-flow- diagram form, the overall real-time video-processing system shown in Figure 8.
  • Figure 31 provides a control-flow diagram of the noise-and-contrast module of a real-time video-processing system that represents one embodiment of the present invention.
  • a next frame is received, in step 3102, and the received frame is partitioned into blocks.
  • the ⁇ or-loop of steps 3104-3106 an average pixel value and sample variance is computed for each block.
  • the blocks are partitioned by average pixel value, and each partition of blocks is ordered by sample variance, as illustrated in Figure 9.
  • the various statistical parameters are estimated for each partition.
  • step 3112 the statistical functions ⁇ n (L) and C(L) are obtained by interpolation and smoothing of the pixel-value-associated statistical values computed in the ⁇ or-loop of steps 3108- 3111, and a skew value q is computed for the pixel-value distributions of each partition.
  • Figure 32 provides a control-flow diagram of the motion-detection module of a real-time video-processing system that represents an embodiment of the present invention.
  • step 3202 the next frame is received.
  • the ⁇ ( ⁇ / factor is computed, by neighborhood-based computation, for each pixel of the received frame.
  • the local variable "interval" may be adjusted downward, in step 3207, so that the motion can be better tracked by the noise-and-contrast module (804 in Figure 8).
  • the local variable "interval" provides feedback from the motion-detection module to the noise-and-contrast module.
  • Figure 33 provides a control-flow diagram for the adaptive- temporal-processing module of a video-processing system that represents one embodiment of the present invention.
  • a next frame is received, in step 3302, and a buffer for the enhanced frame E x produced from the currently considered frame I x is initialized.
  • pixel values for the enhanced frame E tJ are computed for each pixel (JJ) by the method discussed above with reference to Figures 26-29.
  • step 3308 the newly produced enhanced frame E x is stored into the H-frame buffer for subsequent temporal processing operations.
  • the video frames input to a real-time video-processing system that represents an embodiment of the present invention are generally transmitted through an electronic communications medium and stored in memory buffers, and the corresponding enhanced video frames output by the real-time video-processing system are output to memory, to an electronic communications medium, or rendered for display by a digital-video-stream rendering system or device for display to one or more users of the digital-video-stream rendering system or device.
  • the real-time video-processing system stores input video frames in memory, and processes video frames by accessing, operating, and storing the values of frame pixels in memory.
  • a real-time video-processing system may be implemented in software, hardware, firmware, or some combination of software, hardware, and firmware for execution within a variety of different computer and device platforms.
  • the real-time video-processing method of the present invention can be implemented in a large number of different ways by varying various implementation parameters, including modular organization, programming language, data structures, control structures, and other such parameters. Larger or smaller neighborhoods may be used in the neighborhood-based operations, and various techniques may be used to avoid recomputation of values for adjoining neighborhoods.
  • the real-time video-processing system may be implemented as a set of instructions stored on one or more computer readable media that are executed by one or more CPUs and/or GPUs within a computer system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

Embodiments of the present invention are directed to efficient video processing methods and systems for computationally efficient denoising, sharpening, contrast enhancement, deblurring, and other spatial and temporal processing of a stream of video frames. Embodiments of the present invention separate statistics-related calculations, including estimation of pixel-value-associated variances, standard deviations, noise thresholds, and signal-contrast thresholds, carried out on only a small percentage of video frames selected at a fixed or variable interval from the video stream, from various spatial and temporal processing steps carried out on each frame of the video stream. In certain embodiments of the present invention, the statistics-related calculations are carried out by the general processor or processors of a computer system, while the frame-by-frame spatial and temporal processing is carried out by one or more specialized graphics processors within the computer system.

Description

METHOD AlNfD SYSTEM FOR EFFICIENT VIDEO PROCESSING
TECHNICAL FIELD
The present invention is related to image processing and, in particular, to an efficient video-processing method and system for applying various processing operations to frames of a video stream, including denoising, sharpening, enhancing, and deblurring a stream of video images.
BACKGROUND OF THE INVENTION Image processing is currently an important field of technology to which significant research and development efforts are applied. With the increase in availability, and decrease in cost, of various types of video-image capture, transfer, and display devices, including hand-held video cameras, video-conferencing systems, cell phones, and video-distribution channels, including real-time transmission of video images over the Internet, processing of video images is becoming an increasingly important field for research and development and provides an increasingly large market for video-processing systems.
In many applications, video processing can be carried out, following video acquisition and prior to video distribution, by computationally expensive techniques. However, in many current and emerging applications, video processing needs to be carried out quickly and efficiently, such as in real-time video-processing systems. Video conferencing is one example of an application in which real-time video processing can provide enormous benefits. Video-conferencing-equipment manufacturers and vendors have determined that the effectiveness of video conferencing can depend greatly on the quality of video images delivered to video- conference participants. Video quality can be achieved by employing complex and expensive cameras, high-end display systems, significant amounts of dedicated computational hardware, and wide-bandwidth communications channels. Unfortunately, the market for such expensive, high-end video-conferencing systems is relatively small compared to the potential market for lower-cost video-conferencing systems. Researchers and developers, manufacturers and vendors of video conferencing equipment and other systems that need real-time video processing and users of video-conferencing equipment and other such video-based systems have all recognized the need for lower-cost video-based systems in which video-processing components can be used to computationally offset decreases in video-image quality that results from using less-expensive cameras, communications channels, and dedicated hardware.
SUMMARY OF THE INVENTION
Embodiments of the present invention are directed to efficient video processing methods and systems for computationally efficient denoising, sharpening, contrast enhancement, deblurring, and other spatial and temporal processing of a stream of video frames. Embodiments of the present invention separate statistics- related calculations, including estimation of pixel-value-associated variances, standard deviations, noise thresholds, and signal-contrast thresholds, carried out on only a small percentage of video frames selected at a fixed or variable interval from the video stream, from various spatial and temporal processing steps carried out on each frame of the video stream. In certain embodiments of the present invention, the statistics-related calculations are carried out by the general processor or processors of a computer system, while the frame-by-frame spatial and temporal processing is carried out by one or more specialized graphics processors within the computer system.
BRIEF DESCRIPTION OF THE DRAWINGS
Figure 1 illustrates a two-dimensional image signal. Figure 2 shows the two-dimensional image of Figure 1 with numerical pixel values.
Figures 3 A-E illustrate simple examples of various types of image and video-frame processing carried out by method and system embodiments of the present invention. Figure 4 provides a high-level, block-diagram-like representation of a simple computer system. Figure 5 illustrates the concept of a neighborhood within an image.
Figures 6A-B illustrate various types of traversals of an image employed in neighborhood-based operations.
Figure 7 illustrates the basic problem addressed by method and system embodiments of the present invention.
Figure 8 illustrates a real-time high-quality video-processing system that represents one embodiment of the present invention.
Figures 9-1 1 illustrate operation of the noise-and-contrast module of a real-time video-processing system that represents one embodiment of the present invention.
Figure 12 illustrates addition of two images Λ and B.
Figure 13 illustrates one type of scaling operation, referred to as "downscaling."
Figure 14 illustrates one embodiment of the D operation. Figure 15 illustrates computation of the weights included in a weight mask W.
Figure 16 illustrates a portion of a Gaussian pyramid obtained by applying the D operation twice to an intermediate-scale image.
Figure 17 illustrates one embodiment of the U operation. Figure 18 illustrates one embodiment of a robust-filtering operation used in embodiments of the present invention.
Figure 19 illustrates the filter operation fs(ij) carried out on each pixel Y(ij) of an original image Y as part of the robust-filter operation, described above with reference to Figure 18, used in embodiments of the present invention. Figure 20 illustrates the general form of the non-linear function used in the filter operation fs(ij), used in embodiments of the present invention.
Figure 21 illustrates the function ψs, used in embodiments of the present invention.
Figure 22 shows a number of illustration conventions used in Figure 15. Figure 23 illustrates one multi-scale robust sharpening and contrast- enhancing method that is employed by the multi-scale denoising, sharpening, and contrast-enhancement module in various embodiments of the present invention.
Figures 24-25 illustrate the computation carried out for each pixel in a currently analyzed frame by the motion-detection module of a real-time video- processing system that represents one embodiment of the present invention.
Figures 26-29 illustrate operation of the adaptive-temporal-processing module of a real-time video-processing system that represents one embodiment of the present invention. Figure 30 shows a high-level control-flow diagram for embodiments of the real-time video-processing method of the present invention.
Figure 31 provides a control-flow diagram of the noise-and-contrast module of a real-time video-processing system that represents one embodiment of the present invention. Figure 32 provides a control-flow diagram of the motion-detection module of a real-time video-processing system that represents an embodiment of the present invention.
Figure 33 provides a control-flow diagram for the adaptive-temporal- processing module of a video-processing system that represents one embodiment of the present invention.
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention are directed to computationally- efficient real-time video processing. First, a general overview of digital images and digital-image processing is provided, as context for subsequent description of embodiments of the present invention. Then, an overview of a computationally efficient real-time video-processing system that represents one embodiment of the present invention is provided. Components of that system are subsequently discussed, in greater detail. Finally, control-flow diagrams are provided for a video- image processing method that represents one embodiment of the present invention. Image-Processing Background
Figure 1 illustrates a two-dimensional image signal. As shown in Figure 1, the two-dimensional image signal can be considered to be a two- dimensional matrix 101 containing R rows, with indices 0, 1, . . . , r-\, and C columns, with indices 0, 1, . . . , c-1. In general, a single upper-case letter, such as the letter 'T," is used to present an entire image. Each element, or cell, within the two- dimensional image Y shown in Figure 1 is referred to as a "pixel" and is referred to by a pair or coordinates, one specifying a row and the other specifying a column in which the pixel is contained. For example, cell 103 in image Y is represented as 7(1,2).
Figure 2 shows the two-dimensional image of Figure 1 with numerical pixel values. In Figure 2, each pixel is associated with a numerical value. For example, the pixel 7(2,8) 202 is shown, in Figure 2, having the value "97." In certain cases, particularly black-and-white photographs, each pixel may be associated with a single, grayscale value, often ranging from 0, representing black, to 255, representing white. For color photographs, each pixel may be associated with multiple numeric values, such as a luminance value and two chrominance values, or, alternatively, three RBG values. In cases in which pixels are associated with more than one value, image-enhancement techniques may be applied separately to partial images, each representing a set of one type of pixel value selected from each pixel. Alternatively, image-enhancement techniques may be applied to a computed, single-valued-pixel image in which a computed value is generated for each pixel by a mathematical operation on the multiple values associated with the pixel in the original image. Alternatively, image-enhancement techniques may be primarily applied to only the luminance partial image. In the following discussion, images are considered to be single-valued, as, for example, grayscale values associated with pixels in a black-and- white photograph. However, the disclosed methods of the present invention may be straightforwardly applied to images and signals with multi-valued pixels, either by separately applying the methods to one or more partial images or by combining the multiple values associated with each pixel mathematically to compute a single value associated with each pixel, and applying the methods of the present invention to the set of computed pixel values. It should be noted that, although images are considered to be two-dimensional arrays of pixel values, images may be stored and transmitted as sequential lists of numeric values, as compressed sequences of values, or in other ways. The following discussion assumes that, however images are stored and transmitted, the images can be thought of as two-dimensional matrices of pixel values that can be transformed by various types of operations on two-dimensional matrices.
A video stream consists of a time-ordered series of video images, referred to below as "frames," each generally separated, in time, from a preceding and following frame by some fixed time interval, such as — seconds. Various video- processing methods may be applied to isolated frames, and others may be applied to sequential, time-ordered subsets of frames.
Figures 3A-E illustrate simple examples of various types of video- frame processing carried out by method and system embodiments of the present invention. In each of Figures 3A-E, two very small regions of digital images are shown, one image prior to application of an illustrated processing technique, and the other image following application of the illustrated processing technique, to illustrate various types of processing techniques. One processing technique, shown in Figure 3A, is referred to as "denoising." Denoising refers to a process by which a noisy image 302 is processed in order to substitute context-appropriate grayscale values for pixels with grayscale values inferred to have been altered or distorted by noise introduced during capture, storage, transmission, or prior processing of the digital image. The resulting denoised image 304 ideally appears to be noise free. A denoising process may identify pixels, such as pixel 306 in the noisy image shown in Figure 3A, with grayscale' values that significantly depart from surrounding pixels, and replace those pixel values with more appropriate pixel values consonant with surrounding pixel values 308. In certain cases, large pixel values are substituted for smaller pixel values, and, in other cases, smaller pixel values are substituted for larger pixel values. Denoising processes seek to identify and remove noise-introduced artifacts within digital images without removing or altering image features, particularly smaller, high-resolution features and detail that can be easily mistaken for noise by many denoising algorithms.
The goal of contrast enhancement, as illustrated in Figure 3B, is to improve the contrast within a digital image. For example, in the low-contrast digital image 310 in Figure 3B, the grayscale values of the background pixels, such as background pixel 312, do not differ greatly from the pixel values of the letter-O- shaped feature 314. Contrast enhancement techniques seek to improve image contrast by, for example, more widely separating the grayscale values of background pixels from the letter-O-shaped feature pixels, as in the enhanced digital image 316. In the enhanced digital image, for example, the background pixels have grayscale values of 255, while the letter-O-shaped feature pixels have grayscale values of 0. Contrast enhancement seeks to provide greater contrast between different image features and between image features and background within an image, while avoiding introduction of spurious artifacts. The image-processing technique referred to as "sharpening," illustrated in Fixture 3C, seeks to enhance, or sharpen, boundaries between features and between features and background within an image. For example, in the unsharpened image 320 in Figure 3C, a darker region 322 of the image adjoins a lighter region 324 along a vertical line 326 within the image. One type of sharpening process may enhance or exaggerate the boundary between the darker and lighter regions, as shown in the enhanced image 328, by introducing a lighter column of pixels 330 at the edge of the lighter region 324 and a darker column of pixels 332 at the edge of the darker region 322. Sharpening techniques may additionally straighten linear boundaries and make curved boundaries more continuous. Denoising, contrast enhancement, and sharpening, discussed above with reference to Figures 3A-C, are generally spatial-processing techniques that can be separately applied to each frame of a video stream. In additional to spatial- processing techniques, various temporal-processing techniques may be applied to multiple, sequential, time-ordered frames within a video stream in order to ameliorate motion-induced effects and artifacts, including blurring due to camera motion or object motion against a stationary background. Figure 3D illustrates motion-induced blurring of a digital image. The still image 340 includes a letter-O-shaped feature 342. When camera motion occurs during image capture, motion-induced blurring of the feature may occur in a motion-blurred image 344. Motion-induced blurring generally similarly affects many adjacent pixels within pixel neighborhoods of an image. For example, in the motion-blurred image 344, the letter-O-shaped feature 342 has been diagonally smeared downward, and to the left, producing two additional letter-O-shaped artifacts 346 and 348. All of the darker pixels within pixel neighborhoods including the letter-O-shaped feature show similar, diagonally translated, artifact pixels. While noise often appears to be randomly distributed throughout an image, motion-induced blurring is, by contrast, quite non-random. As shown in Figure 3E, the processing technique referred to as "deblurring" seeks to identify motion-induced artifacts in a blurred image 350 and remove the artifacts systematically to produce a deblurred image 352.
Figure 4 provides a high-level, block-diagram-like representation of a simple computer system. The computer system includes one or more central processing units ("CPUs") 402, system memory 404, an internal disk 406, a graphics- rendering device 408 that includes one or more graphics processing units ("GPUs"), a memory bridge 424, and an I/O bridge 432 interconnected by a processor system bus 422, memory bus 426, advanced graphics port ("AGP") bus 428, an internal host- bridge bus 430, and a dedicated storage-device communications link, such as a SATA link. The I/O bridge 432 serves to interconnect additional devices to the memory bridge 424, and therefore to the memory 404 and CPU 402. The I/O bridge 432 and memory bridge 424 together compose a host bridge 420. The I/O bridge includes PCIe ports and a multi-lane interconnection to a PCIe switch 436 which serves as a crossbar-like switch for establishing point-to-point interconnection between the I/O bridge and the various PCIe end points 410-415. A computer system, such as that shown in Figure 4, is an exemplary platform for a real-time video-processing system representing an embodiment of the present invention.
Figure 5 illustrates the concept of a neighborhood within an image. Many image-processing techniques are based on the mathematical concept of a pixel neighborhood. In Figure 5, a portion of a large image is shown as a grid 502. Within the illustrated portion of the image, a small square region 504 is shaded, and the central pixel of the shaded region additionally crosshatched 506. For many operations, a square region with sides having an odd number of pixels provides a convenient neighborhood for calculation. In many cases, the square region 504 is considered to be the neighborhood of the central pixel 506. In Figure 5, the central pixel 506 has indices (//). This neighborhood may be referred to as n(ij). The indices of all of the pixels within the neighborhood are shown in the inset 508. Neighborhoods may have different types of shapes, including diamond shapes, approximately disk-like shapes, and other shapes. In the following discussion, the number of pixels in a neighborhood is generally represented by the letter "K." For some operations, the central pixel value is considered to be one of K pixels within the neighborhood, hi other cases, the central pixel value is not employed in a particular neighborhood-based process, and therefore the constant K may not include the central pixel. For example, for those operations that do not use the central-pixel value, K may be considered to have the value 8 for neighborhood 508 in Figure 5, and, for those operation that do use the central-pixel value, K may be considered to have the value 9 for neighborhood 508 in Figure 5. The term "window" may also be used to describe a pixel neighborhood.
Figures 6A-B illustrate various types of traversals of an image employed in neighborhood-based operations. Often, a neighborhood-based calculation is carried out for each pixel in the image. Thus, the neighborhood can be envisioned as a window that slides along a traversal path within the image, stopping at each position along the traversal path, with a different central pixel at each position along the traversal path. Figure 6A illustrates one possible traversal path, in which rows are traversed in order, with the pixels in each row traversed in a direction opposite from the traversal of the preceding and subsequent rows. Alternatively, a diagonal traversal may be carried out, as shown in Figure 6B. For pixels close to edges, modified neighborhoods may be employed in order to carry out neighborhood- based computations for pixels close to edges or corners. Convolution operations, in which a small mask of values multiplies a corresponding neighborhood about each pixel to generate each pixel value of an image produced by convolution, and filter operations, in which computations are made based on the pixel values for each neighborhood along traversal path, such as those shown in Figures 6A-B, are both examples of neighborhood-based operations.
Overview of Embodiments of the Present Invention
Figure 7 illustrates the basic problem addressed by method and system embodiments of the present invention. As shown in Figure 7, a stream of video images comprising a video signal 702 is input to a real-time video-processing system 704, which needs to, in real time, carry out spatial operations, including denoising, sharpening, and contrast enhancement, on each frame as well as to carry out temporal processing, including deblurring, on time-ordered subsets of the video stream in order to produce a processed video stream 706. Even a relatively low-resolution video stream, in which each frame has a size of 720 x 480 pixels and adjacent frames are separated by a time interval of — seconds, comprises over 10,000,000 pixels that must be processed each second by the video-processing system 704. However, various different spatial and temporal processing techniques may require each pixel to be accessed multiple times, and may require transfer of pixel values among various different buffers and data structures, further compounding the rather large computational overhead of a real-time video-processing system. For many currently available personal computers and workstations, the processing bandwidth available in the one or more central processing units ("CPUs") within the personal computer or workstation is insufficient to carry out the high-quality, multi-step processing needed to produce high-quality video by inexpensive video-conferencing systems and other types of video-processing-based systems. Figure 8 illustrates a real-time high-quality video-processing system that represents one embodiment of the present invention. In Figure 8, the video stream is represented by a sequence of frames, including frame 802. The real-time video-processing system that represents one embodiment of the present invention includes a noise-and-contrast module 804 executed by one or more CPUs of an underlying computer system or work station, and three modules 806, 808, and 810 that are executed by one or more special graphical processing units ("GPUs") within the computer system or work station. The three modules executed by the one or more GPUs include: (1) a multi-scale denoising, sharpening, and contrast-enhancement module 806; (2) a motion-detection component 808; and (3) an adaptive-temporal- processing module 810. As shown in Figure 8, the noise-and-contrast module 804 operates on only a few, selected frames, for example frames 812 and 813 in Figure 8, that occur at either a fixed or variable time or frame interval within the video stream. The noise-and-contrast module produces results that are often relatively constant over reasonably large stretches of frames. Moreover, the calculations performed by the noise-and-contrast module are generally less well-suited for execution on the one or more GPUs of an underlying computer system or device. These calculations involve specialized, complex, sequentially programmed routines that do not generally access memory in regular or predictable patterns, such as storing entire two-dimensional arrays. Moreover, the calculations are difficult and impractical to decompose into smaller tasks that can be executed in parallel, and generally do not make use of the specialized, image-based vector and matrix primitives provided by GPUs. There is, in other words, relatively low opportunity, in these calculations, for effectively taking advantage of the parallel, dedicated-primitive-based interface provided by a GPU. The three modules that execute on the one or more GPUs operate on each frame of the video stream. In contrast to the calculations performed by the noise-and-contrast module on the one or more CPUs, the calculations carried out on the one or more GPUs by the multi-scale denoising, sharpening, and contrast-enhancement module, the motion-detection component, and the adaptive-temporal-processing module are image-based calculations that are suited for parallel vector and matrix operations, as well as high-bandwidth and highly regular memory-access operations, for which GPUs are designed. By carrying out the sequential computations of the noise-and- contrast module on the one or more CPUs, and carrying out the image-based, parallelizable operations of the multi-scale denoising, sharpening, and contrast- enhancement module, the motion-detection component, and the adaptive-temporal- processing module on the one or more GPUs, the over-all processing bandwidth of the computer system is best exploited, in a parallel fashion, and those calculations are distributed among the CPUs and GPUs so take advantage of the different capabilities of, and interfaces to, the CPUs and GPUs. In one embodiment of the present invention, the three modules are discrete, and operate on video frames in assembly- line fashion. In alternative embodiments, all three modules may be implemented together as a single module.
The noise-and-contrast module is one embodiment of a measurement module that carries out statistical analysis of selected video frames in order to provide parameter values for subsequent spatial and temporal processing. The multi-scale denoising, sharpening, and contrast-enhancement module, motion-detection component, and adaptive-temporal-processing module together comprise one embodiment of a processing module that operates on each video frame to produce a corresponding processed video frame by various methods, including removing noise, enhancing contrast, sharpening features, and deblurring video frames.
As shown in Figure 8, the noise-and-contrast module 804 produces results, namely grayscale-value-associated estimated noise-related variances or standard deviations and signal-contrast-related variances that are input to both the multi-scale denoising, sharpening, and contrast-enhancement module 806 and the motion-detection module 808. The motion-detection module 808 produces values that are input to the adaptive-temporal-processing module 810. The noise-and- contrast module 804 and the motion-detection module 808 do not alter video frames, but the multi-scale denoising, sharpening, and contrast-enhancement module 806 and the adaptive-temporal-processing module 810 both alter the content of each video frame in the video stream. The multi-scale denoising, sharpening, and contrast- enhancement module 806 carries out spatial processing of video frames, as discussed with respect to Figures 3A-C, and the adaptive-temporal-processing module 810 carries out temporal processing, including deblurring, as discussed above with reference to Figures 3D-E. The enhanced frames output by the adaptive-temporal- processing module can then be transmitted, stored, and rendered for display by various types of systems that include or interface with the real-time video-processing systems of the present invention. Noise-and-Contrast Module
Figures 9-1 1 illustrate operation of the noise-and-contrast module of a real-time video-processing system that represents one embodiment of the present invention. The noise-and-contrast module (804 in Figure 8) represents, as discussed above, an embodiment of a measurement module. Beginning with Figure 9, the noise-and-contrast module is shown to operate on a selected video frame 902 in order to produce a number of statistical functions related to the video frame. First, the video frame is partitioned into small blocks of pixels. In certain embodiments of the present invention, 8 x 8 blocks of pixels are employed, the 8 x 8 blocks fully tiling the video frame. In alternative embodiments, differently sized blocks may be employed, and a smaller number of blocks than a tiling set may be used to compute the statistical functions. An average grayscale value, or pixel value, for each block is computed as:
K
Σ'.
K where
/ is the average pixel value for a block containing K pixels; and lk is the pixel value for the A;"1 pixel.
The blocks are then partitioned according to average pixel value. In Figure 9, partitions are created for each of the 256 grayscale values 904, shown, for illustration purposes, as linked lists of blocks, such as linked list 906, each referenced from an array of the 256 possible pixel values. Inset 908 illustrates that each block of each partition, such as block 910 in the partition associated with pixel value "255,", is, in the described embodiment, an 8 x 8 block of pixels, and that the average grayscale value computed for the block indexes the partition in which the block is included. Note that it may be the case that certain, particular pixel values, such as the pixel value "3" 912, have empty partitions, when no 8 x 8 block within the frame has an average pixel value equal to the particular pixel values.
Figure 10 illustrates processing each partition of 8 x 8 blocks by the noise-and-contrast module, according to one embodiment of the present invention. In Figure 10, a single partition, represented as a list of 8 x 8 blocks, such as 8 x 8 block 1002, are associated with some particular grayscale value L 1004. As discussed above, all of the 8 x 8 blocks in the partition associated with grayscale value L have an average pixel value of L. In a first step of partition processing, the sample variance s2 is computed for each 8 x 8 block, and the 8 x 8 blocks are ordered in ascending s2 order 1006. The sample variance is computed as:
1
In a next step 1008, F statistics or ANOVA statistics are computed for the 8 x 8 blocks in order to remove from the partition any blocks with outlying s2 values. Next, a number of the initial blocks in the ordered list, having lowest sample variance, are employed to compute an estimated variance σ2 from a number 7} of low-sample- variance blocks, as follows:
T, ά2 =c, κ -ys; 2
where
T1 is a number of low-sample-variance blocks; s,2 is the sample variance of a block of AT elements; and
C7 τ.,,κ „ is a
Figure imgf000016_0001
where at is a tabulated t'H order statistic from a standard normally distributed population of size T1.
The number of low-sample-variance blocks, Ti, used to compute the estimated variance σ] may be a fixed number, or may vary depending on partition size and other considerations, in alternative embodiments of the present invention. For partitions with an insufficient number of blocks to compute σ2 , due to Ti being too small for meaningful a, statistics, the calculation is not performed. Blocks with low sample variance have a high probability of being featureless, and therefore the estimated variance σ2 is a reflection of the noise level within a partition of blocks. Next, a weighted average of the estimated variances for all the blocks, &l, is computed as follows:
-2 1 V Λ 2 σ» = 1 ~2 (=1_-W«σ'. where w, is a weight for sample /.
This average estimated variance, for all 8 x 8 blocks in the partition, is related to signal contrast within the blocks of the partition.
As a result of the above-described processing of each partition, the noise-and-contrast module may determine, for each partition, the low-sample- variance-block variance,
Figure imgf000017_0001
, the related standard deviation, σn , and the weighted- average estimated variance,^, for those partitions with a sufficient number of blocks to compute these values. The set of each of these statistics, collected for all of the partitions, represents, in the case of each statistic, an incomplete, discrete statistical function of the statistic with respect to pixel value.
Figure 11 illustrates conversion of an incomplete discrete function of a statistic with respect to pixel value into a statistical function. As discussed above, each of the statistics σ], σn, and
Figure imgf000017_0002
is computed, for those partitions with a sufficient number of blocks to compute reasonable statistical values, by the noise- and-contrast module. For each of these statistics, an incomplete, discrete function 1102 is obtained. The incomplete, discrete function generally includes a number of undefined range values, such as undefined range values 1104, for those pixel values associated with no partition or with partitions with an insufficient number of blocks to compute the statistic. Using any of various, well-known interpolation and smoothing procedures, the incomplete, discrete function 1102 can be converted into a smoothed, complete statistical function 1106. The complete statistical function 1106 is shown as a continuous function, in Figure 11, although the interpolated and smoothed function is generally a discrete function, represented in table or vector form. Thus, as a result of processing of a frame, as discussed above with reference to Figures 9-11, the noise-and-contrast module produces either or both of the functions σn 2 (L) and σn (L) as well as the function σw 2 (L) = C(L) .
These statistical functions are employed subsequently by the remaining modules of a real-time video-processing system that represents one embodiment of the present invention in order to compute noise threshold values and contrast threshold values used in subsequent calculations. For example, the multi-scale denoising, sharpening, and contrast-enhancement module (806 in Figure 8) uses two noise thresholds, for each grayscale level, including a lower threshold related to the estimated standard deviation:
Figure imgf000018_0001
where m is a constant; and L is a pixel value.
and an upper threshold:
T11 = PqOn (L) where p is a constant; and q = skewness of the sample distribution.
Note that the skewness of a sample distribution q may be computed from n samples for which the values x are measured as follows:
Figure imgf000018_0002
The skewness q may be computed for each partition, thus representing yet an additional statistical function q(L), or may be computed over the entire frame. Multi-Scale Denoising, Sharpening, and Contrast-Enhancement Module
Next, the multi-scale denoising, sharpening, and contrast-enhancement module is described. In the following subsections, a number of different types of operations carried out on two-dimensional images are described. These operations range from simple numeric operations, including addition and subtraction, to convolution, scaling, and robust filtering. Following a description of each of the different types of operations, in separate subsections, a final subsection discusses a multi-scale denoising, sharpening, and contrast-enhancement method carried out by the multi-scale denoising, sharpening, and contrast-enhancement module according to embodiments of the present invention..
Figure 12 illustrates addition of two images A and B. As shown in Figure 12, addition of image Λ 1202 and image .B 1204 produces a result image A+B 1206. Addition of images is carried out, as indicated in Figure 12, by separate addition of each pair of corresponding pixel values of the addend images. For example, as shown in Figure 12, pixel value 1208 of the result image 1206 is computed by adding the corresponding pixel values 1210 and 1212 of addend images A and B. Similarly, the pixel value 1214 in the resultant image 1206 is computed by adding the corresponding pixel values 1216 and 1218 of the addend images A and B. Similar to addition of images, an image B can be subtracted from an image A to produce a resultant image A - B. For subtraction, each pixel value of B is subtracted from the corresponding pixel value of A to produce the corresponding pixel value of A - B. Images may also be pixel-by-pixel multiplied and divided.
Figure 13 illustrates one type of scaling operation, referred to as "down scaling." As shown in Figure 13, a first, original image Y 1302 may be downscaled to produce a smaller, resultant image Y' 1304. In one approach to downscaling, every other pixel value, shown in original image Y in Figure 13 as crosshatched pixels, is selected and combined together with the same respective positions in order to form the smaller, resultant image Y' 1304. As shown in Figure 13, when the original image Y is a R x C matrix, then the downscaled image Y' is an
ΪR (\ -Rmod 2) 1 x \C (l- C mod 2) 1 image. The downscaling shown in Figure 13 decreases each dimension of the original two-dimensional matrix by an approximate factor of Vi, thereby creating a resultant, downsized image Y' having 1A of the number of pixels as the original image Y. The reverse operation, in which a smaller image is expanded to produce a larger image, is referred to as upscaling. In the reverse operation, values need to be supplied for 3A of the pixels in the resultant, larger image that are not specified by corresponding values in the smaller image. Various methods can be used to generate these values, including computing an average of neighboring pixel values, or by other techniques. In Figure 13, the illustrated downscaling is a Vz x Vi downscaling. In general, images can be downscaled by arbitrary factors, but, for convenience, the downscaling factors generally select, from the input image, evenly spaced pixels with respect to each dimension, without leaving larger or unequally-sized boundary regions. Images may also be downscaled and upscaled by various non-linear operations, in alternative types of downscaling and upscaling techniques. Figure 14 illustrates one embodiment of the D operation. The D operation is a logical combination of two simple operations. An original two- dimensional image, or signal, Y 1402 is first convolved with a weight mask W 1404 to produce a filtered, resultant image Y* 1406. This intermediate-result matrix Ϋ is then downscaled by a Vi x Vi downscale operation 1408 to produce a final resultant image r 1410.
Figure 15 illustrates computation of the weights included in the weight mask W. A one-dimensional mask W(m) 1502, where m = 5, is shown in Figure 15 to include three numeric values a, b, and c. The one-dimensional weight mask 1502 is symmetric about the central element, with index 0, containing the value a. The two- dimensional weight mask W(m,m) can be generated by a matrix-multiplication-like operation in which a row vector W(m) is multiplied by a column vector W(m) to generate the two-dimensional weight matrix W 1504. Considering the D operation, discussed with reference to Figure 14, in a one-dimensional case 1506, each pixel of the resultant image Y' , such as pixel 1508, is produced, via the one-dimensional mask 1502, by a linear combination of five pixels in the original image Y, pixels 1510-1514 in the case of resultant-image pixel 1508. In Figure 15, lines are drawn, for a number of pixels within a row 1516 of the resultant image Y' , connecting the pixels with the corresponding pixels in a row 1518 of the original image Y that contribute values to each of the pixels in the resultant image Y' . Using the one- dimensional mask 1502, it is apparent that original-image pixel values 1510 and 1514 are both multiplied by value c, original-image pixel values 1511 and 1513 are both multiplied by the value b, and the pixel value 1512 of the original image Y is multiplied by the value a in the masking operation that produces the pixel value 1508 of the resultant image Y' . Because of the downscale-operation-component of the operation D, every other pixel in the original image Y serves as the central pixel in a masking operation to produce corresponding pixel value in Y' . Thus, original-image pixel 1512 is the central pixel of a mask operation leading to resultant-image Y' pixel value 1508. However, original-image-pixel 1512 also contributes to resultant-image- pixel values 1520 and 1522, in each case multiplied by value c. Thus, pixel 1512 of the original image represents a first type of original-image pixel that is used in three different individual mask operations to contribute to the values of three different resultant-image pixels, once multiplied by the value a and twice multiplied by the value c. However, the neighboring original-image pixels 1511 and 1513 each represent a second type of original-image pixel that is used only twice in masking operations to contribute to the values of two resultant-image pixels, in both cases multiplied by the value b. As shown in Figure 15, these two different types of pixels alternate along the illustrated dimension of the original image.
As shown in Figure 15, there are three constraints applied to the weight values within the weight matrix W. First, the weights are normalized in each dimension:
w(m) = 1 ra=-2
A second constraint is that each pixel of the original image contributes 1A of its value to the resultant image, or:
Vy(u), ∑W(m,m)Y(i,j) = \(Y{i,j)) where the sum is over all pixels of Y' to which original-image pixel Y(Jj) contributes. A final constraint is that, in each dimension, the weight mask is symmetric, or:
W(x) = W(-x) Applying these constraints, a one-dimensional weight matrix W(m) with m=5 that meets these constraints 1530 includes the following values expressed numerically in terms of the value a: a = a
„ = i 4 a c = — 2 where the value a is selectable, as a parameter, from values greater than 0 and less than 1.
The weight matrix W is an approximate Gaussian filter. In other words, a is significantly greater than b, and b, in turn, is somewhat greater than c. In the one-dimensional case, the weight values approximately correspond to a Gaussian, bell-shaped curve. In the two-dimensional case, the values of the weight matrix approximately correspond to a two-dimensional, rounded Gaussian peak. In one embodiment of the present invention, the 5 x 5 weight mask W shown in Figure 15 is used in the D operation, as well as in a corresponding U operation, discussed below. In alternative embodiments, weight masks with larger or smaller dimensions may be employed, with different weights that approximate different, alternative types of curves.
Convolution of a Gaussian weight mask with an image produces a smoothed image. Extreme pixel values in an original image are altered to better correspond with the values of their neighbors. A smoothing filter thus tends to remove noise and high-contrast artifacts. The D operations, described above with reference to Figures 14 and
15, can be successively applied to an original image to produce a succession of resultant images with successively increasing scales, or decreasing resolutions. Figure 16 illustrates a portion of a Gaussian pyramid obtained by applying the D operation twice to an intermediate-scale image. In Figure 16, a first D operation, Dn 1603, is applied to an intermediate-scale image 1602 to produce a smaller, lower- resolution image 1604 at scale n+1. A second D operation, £>„+/ 1605, is applied to this lower-resolution image 1604 produces a still lower-resolution image 1606 at scale n + 2.
Alternative D operations that comprise only linear downscaling by sub-sampling may be used, rather than the above-described /^-operation embodiment. In yet additional, alternative D operations, a non-linear operation may be employed. The U operation is complementary to, or opposite from, the D operation described in the previous subsection. Figure 17 illustrates one embodiment of the U operation. As shown in Figure 17, the U operation transforms a lower- resolution, smaller image, G0+1 1702, at scale n+\ to a larger, higher-resolution image, G" 1704, at scale n. The [/ operation is shown 1706 in the one-dimensional case as essentially the reverse of the D operation discussed above (1506 in Figure 15). In the resultant, larger image, one row or column 1708 of which is shown in Figure 17, the value of every other pixel, such as pixel 1710, is contributed to by the values of three pixels in the lower-resolution, smaller image 1712, while the values of adjacent pixels, such as pixels 1714 and 1716, are contributed to by the values of only two pixels within the lower-resolution image 1712. The U operation can be expressed as:
Figure imgf000023_0001
where only integral values of and are used.
Alternative U operations that comprise only linear upscaling by sub- sampling with linear or non-linear interpolation may be used, rather than the above- described [/-operation embodiment. In yet additional, alternative U operations, a non-linear operation may be employed.
Robust filtering is a rather complex operation performed on an original image Y to produce a resultant image Ϋ where:
Ϋ = Ψ(Y) While the phrase "robust filtering" accurately describes certain multi-scale spatial- processing techniques employed by the multi-scale denoising, sharpening, and contrast-enhancement module, other alternative implementations of what is referred to as "robust filtering" may not be, strictly speaking, filtering operations, but may instead involve non-filter operations. Nonetheless, the phrase "robust filtering" is employed, in the following discussion, to mean the collection of filtering, enhanced filtering, and non-filtering methods that can be employed at similar positions within the subsequently described multi-scale robust filtering and contrast enhancement methods and systems that represent embodiments of the present invention. Figure 18 illustrates one embodiment of a robust-filtering operation used in embodiments of the present invention. As shown in Figure 18, the robust-filtering operation is a neighborhood-based operation, with a 3 x 3 neighborhood 1802, or window, of the original image Y 1804 considered for each non-boundary pixel within the original image Y in order to generate the corresponding pixel values of the resultant image Y 1806.
Figure 19 illustrates the filter operation fs{ij) carried out on each pixel Y{ij) of an original image Y as part of the robust-filter operation, described above with reference to Figure 18, used in embodiments of the present invention. Figure 19 shows a window W5 1902 where the s refers to a particular scale at which the robust- filtering operation is undertaken. Robust-filtering operations may be different at each of the different scales at which they are undertaken during image enhancement. Again, the window W5 is a small, 3 x 3 neighborhood of an image Y1 at scale s. The window is centered at the Ys pixel YJiJ) 1904. In order to compute the filtering operation fs(ij), differences are computed by subtracting each non-central pixel value within the window W3 from the central pixel value within the window W5, as indicated by eight arrows, including arrow 1906, in Figure 19. This operation produces the following eight computed difference values: dl = Y(i,j)-Y(i-lJ-\) d2 = Y(i,j)-Y(i-\,j)
Figure imgf000025_0001
d4 = Y(i,j)-Y(i,j + ϊ) d5 = Y(i,j)-Y{i + l,j + l) d6 = Y{i,j)-Y(i + l,j) dy = Y(i,j)-Y{i + l,j-\) d, = Y(i,j)-Y(i,j-l)
In alternative embodiments, a differently sized region of the image may be used as a window, and a different number of differences is generated during each window- based operation. Each of the differences dn, where n e {1,2,...,8} , are used as an index into a lookup table 1908, with corresponding values in the lookup table representing a function φs applied to each of the different differences. The lookup table is a discrete representation of a non-linear function. Figure 20 illustrates the general form of the non-linear function used in the filter operation fs(i,j), used in embodiments of the present invention. As shown in Figure 20, the function φs computes a value φs( A), plotted with respect to the vertical axis 2004, for each different possible Δ in the domain, plotted with respect to the horizontal axis 2002. Below a first threshold / 2006, the function φs returns a value of 0, as represented by the horizontal segment 2008 of function φs from the origin 2010 to the first threshold Δ = t (2006). Between the first threshold Δ = t (2006) and a second threshold Δ = T (2012), the function φs returns a value somewhat greater than the corresponding Δ value. In other words, between A = t and Δ = T, φs(A) is an amplified value corresponding to an input Δ value, as represented by the curved segment 2014 of the function φs shown in Figure 20. At the second threshold Δ = T (2012), the function φs(A) reaches a maximum value φmax 2015, and for all Δ values greater than T, function φs( Δ) returns the maximum value φmΑX. Various different functions φs may be employed in different embodiments of the present invention. In the embodiment shown in Figure 20, φs is an s-curve-like non-linear function between thresholds Δ = t and A = T. In alternative embodiments, this portion of the graph of φs may be a straight line with a positive slope greater than 1.0, and in other embodiments, may have other, different forms. In general, whether linear or non-linear, this central portion of the graph of φs is non-decreasing over / < Δ < T .
The final, computed filter value d for pixel Ys(iJ) is then the sum of the eight values φ(dj computed by applying the function φs, described with reference to Figure 20, where the dn values are the eight difference values computed by subtracting each of the neighboring pixel values from the central pixel value, as shown in Figure 19:
Figure imgf000026_0001
A final operation is performed on the filter value fs(i J), computation of which is discussed above with reference to Figures 19-20. This operation, represented as function ψ, is used to remove any new local maxima and minima introduced by robust filtering. Figure 21 illustrates the function ψs, used in embodiments of the present invention. The domain of the function, represented by the horizontal axis 2102, comprises the values fs(i,j) computed, as discussed above, with reference to Figures 19-20. The function ψs computes corresponding values ψs(fs(ij))> represented by the vertical axis 2104 in Figure 21. Between a lower threshold φmm(i,j) 2106 and an upper threshold φmsJJJ) 2108, ψs(fs(ij)) returns fs(ij), as indicated by the straight line segment 2109 with slope 1 in the graph of function φs. Below the first threshold, φmm(ij) 2106, the function ψs multiplies an input value f JlJ J) by a value q greater than 1.0, and uses the minimum of the result of this multiplication or φm\n(ij) for the value returned ψs, as represented by the initial segment 21 12 with slope q followed by the flat segment 21 14 with slope 0. Above the threshold ψmaJJJ), an input value fs{ij) is divided by the factor q, and the greater of ^max('j) or — — — is returned as the value ψs(fs(ij)), as illustrated by the initial q flat segment 21 16 and following straight-line segment 21 18 with slope — . Thus, ψs q amplifies very low fs(ij) values and decreases very large f JlJ J) values. The lower threshold
Figure imgf000026_0002
is the least pixel value within the window Ws about pixel YJlJJ), and the threshold φmax(ij) is the greatest pixel value within the window W3 about pixel Ys(JJ)- Thus each pixel of the robustly filtered image Y 1006 in Figure 18 is computed by the robust-filter operation as:
Figure imgf000027_0001
for the 3 x 3 window discussed above and illustrated in Figure 19. Alternatively, the filter operation can be expressed as:
Figure imgf000027_0002
Many different, alternative robust-filter operations are possible. For example, while the window used in the fs(ij) component operation, discussed above, involves neighboring pixels to pixel Y(iJ) at the same scale as which robust filtering is being applied, in alternative robust-filtering embodiments, the window may include neighboring pixels to pixel Y(iJ) at higher-resolution, lower-resolution scales, or both higher-resolution and lower-resolution scales, or that neighbor the closest, interpolated pixel corresponding to pixel Y(iJ). Many different non-linear and linear functions may be employed in addition to, or instead of one or both of ψ and φ in alternative embodiments.
Figure 22 shows a number of illustration conventions used in Figure 23. The first symbol 2202 represents the robust-filtering operation, discussed above with reference to Figures 10-21. The second symbol 2204 represents the D operation, discussed above with reference to Figures 22-23. The third symbol 2206 represents the U operation, discussed above with reference to Figure 17. The fourth symbol 2208 represents addition of two images or signals, as discussed above with reference to Figure 12. The final symbol 2210 represents subtraction of one image from another, also discussed above with reference to Figure 12. Note that the R, D, and U symbols are subscripted by a scale s. The various R, D, and U operations may be, in various embodiments of the present invention, scale dependent, with different R, D, and U used at different scales. As discussed above, there are many alternative R, D, and [/operation embodiments.
Figure 23 illustrates one multi-scale robust sharpening and contrast- enhancing method that is employed by the multi-scale denoising, sharpening, and contrast-enhancement module in various embodiments of the present invention. Input to the method is represented by arrow 2302. Output of the sharpened input image is represented by arrow 2304. Each level of Figure 23, corresponding to horizontal lines 2305-2309 that each represents a correction signal, corresponds to a different scale at which robust filtering is carried out according to the described embodiment of the present invention. Thus, scale s = 0 corresponds to horizontal line 2305 in Figure 23, scale s = 1 corresponds to horizontal line 2306 in Figure 23, etc. The input image 2302 is first subject to robust filtering 2310 and the output from robust filtering is then subject to the D operation 2312 to produce both input to the second robust filter 2314 as well as input to 2316 a subsequent image subtraction operation 2318 that produces a correction signal.
In Figure 23, robust filtering is carried out at five different scales, or resolutions. In general, the number of scales, resolutions, or, equivalently, levels is a selectable parameter, within constraints arising from the image and window sizes, computational-efficiency constraints, and other considerations. The values representing scales increase with decreasing resolution, according to the labeling conventions used in Figure 23. At each scale, the input image at that scale is first robustly filtered, and then subject to the D operation to produce input to the next highest scale, or, equivalently, to the next lowest resolution. Following robust filtering and D operations performed at the five different scales, a series of U operations 2320-2323 are performed to produce a final [/-operation output 2324 which is added to the first robust-filter output 2305 to produce the final, sharpened output image 2304. A correction signal is produced, at each scale, by a subtraction operation, such as subtraction operation 2318. At a given scale (e.g. the scale corresponding to line 2306), the correction signal 2306 is added 2330 to output from an upscale operation 2322 carried out on an intermediate output 2332 from a lower- resolution scale, and the sum of the intermediate output signal and the correction signal comprise the output signal 2334 at the given scale that is input to a next upscale operation 2323.
In general, the input image at a particular scale is subtracted from the robust-filtering output at that scale to produce input to a U operation that generates one input to the U operation of a lower-numbered scale. At intermediate levels, the output from robust filtering at the intermediate level minus the input from that level is added, by an image-addition operation, such as image-addition operation 2326, to output from the U operation of a preceding level, such as output 2328, and the image sum is then input to the U operation of the next, higher-level resolution or lower- numbered scale. Thus, according to the present invention, at each level, the image is robustly filtered, in order to sharpen and enhance the image, and then downscaled and, optionally, smoothed, by a D operation, to produce the input for the next lowest- resolution level of processing. The differences between output of the robust filter and the input to the robust filter are used, in addition to output of a lower-resolution-level U operation, as input to a U operation at that level to generate output to the next higher-resolution level.
Motion-Detection Module Next, operation of the motion-detection module (808 in Figure 8) is described. As discussed above, motion detection involves analysis of some subsequence of time-ordered frames within a video stream, since motion in a video stream is related to changes in pixel values over time. Analysis of motion in a video stream may involve quite complex and computationally expensive analysis. A real- time video-processing system cannot afford the time to carry out many of these types of analyses. Instead, relatively simple and computationally tractable procedures are employed, in various embodiments of the present invention. The motion-detection module of a real-time video-processing system that represents one embodiment of the present invention compares each frame in a video steam with the preceding frame in order to compute a factor ωt } for each pixel in the frame that is reflective of the probability that the value of each pixel (//) in the frame reflects motion, either of a camera recording the video stream or of an object whose image is being recorded. The more likely that the value of a pixel (ij) reflects motion, the greater the value of ω, j . In one embodiment of the present invention, ω factors range in value from 0.0 to 1.0. Figures 24-25 illustrate the computation carried out for each pixel in a currently analyzed frame by the motion-detection module of a real-time video- processing system that represents one embodiment of the present invention. As shown in Figure 24, motion detection carried out by the motion-detection module is a neighborhood-based computation, with the motion factor ωt ] computed for each pixel (ij) in a currently considered frame based on comparing a neighborhood n{ij,t) 2402 about a pixel (ij) 2404 within a currently considered frame I(t) 2406 with a corresponding neighborhood n(ij,t-\) 2408 about the same pixel (ij) 2410 in the preceding frame /(M) 2412. The multi-scale denoising, sharpening, and contrast- enhancement module (806 in Figure 8) should, in general, have removed noise up to the high noise threshold qσn (L) for a pixel (ij), where L is the average pixel value in the neighborhood of pixel (ij). Thus, any remaining noise should be greater than q σn (L) . A high-threshold signal contrast within the neighborhood is given by aC(L), where a as a constant. In other words, the signal contrast is related to the weighted-average variance &l for all blocks in a partition associated with the average pixel value L. The motion-detection module, as shown in Figure 25, computes the difference between each pixel in the neighborhood of pixel (ij), n(ij,t), in the currently considered image I(i) and the corresponding pixel in the neighborhood n(ij,t-\) of the preceding frame /(/-1) where, in Figure 25, each double-headed arrow, such as double-headed arrow 2502, represents a subtraction operation between the values of the pixels, such as pixels 2504 and 2506, joined by the double-headed arrow. The differences between all pixels in neighborhood n(ij,i) and corresponding pixels in neighborhood n(ij,t-\) are computed, as shown in Figure 25, and then used to compute the probability that the central pixel (ij) has a value influenced by noise, Pmιseι and the probability that the value of pixel (ij) is influenced by motion, Pmoum . In one embodiment of the present invention, these probabilities are computed as follows:
Figure imgf000031_0001
where
Z1 and/2 are functions that compute the probability of a pixel-value difference being greater than the statistical-parameter-based thresholds qσ (L) and aC (L).
Note that, as noise is generally modeled as randomly distributed, the probability of differences between corresponding pixels in a neighborhood having a cumulative value greater than a noise threshold is multiplicative, while, in the case of motion, the probabilities of differences between corresponding pixel values of the two neighborhoods having a cumulative value greater than a contrast-dependent threshold is additive, since influences to pixel values by motion are non-random. In other words, motion affects all of the pixels in a neighborhood similarly, in a concerted fashion, while noise, by contrast, tends to be randomly distributed within the neighborhood. The functions f\ and /2 can have various forms. In general, a probability density function is assumed or computed for the difference values, with/i and fi thus computing a probability by definite integration of the underlying probability density functions. In many cases, the functions/i and/2 can be expressed as either closed-form analytical functions or as tables indexed by difference value. The value of ω for each pixel, ωf } , is then proportional to the ratio of the probability that the pixel value is influenced by noise to the probability that the pixel value is influenced by motion: noise. , motion, ,
The CO1 j values for each pixel (ij) in a frame are then reported by the motion- detection module to the adaptive, temporal processing module (810 in Figure 8). Adaptive-Temporal-Processing Module
Figures 26-29 illustrate operation of the adaptive-temporal-processing module of a real-time video-processing system that represents one embodiment of the present invention. The adaptive-temporal-processing module (810 in Figure 8) can be thought of as employing, as shown in Figure 26, two frame-related buffers, or data structures: (1) Ix 2602, the currently considered frame that has been spatially processed by the multi-scaled denoising, sharpening, and contrast enhancement module, and that has been processed by the motion-detection module in order to compute the ωt y factors for each pixel (/j) in the image; and (2) the history frame H 2604, that represents a sum, from a last-generated enhanced frame extending back in time over previously generated enhanced frames produced as output by the adaptive- temporal-processing module. In other words, the history frame H can be considered to be a sum:
H= t f{E,) where
E1 is the enhanced frame corresponding to the video frame at time t in the video steam; and /( ) is a function that returns a value for each pixel in an enhanced frame.
Figure 27 illustrates how the current-frame buffer Ix and the history buffer H are employed by the adaptive-temporal-processing module to produce an enhanced frames Ex corresponding to each frame Ix output from the other modules of the real-time video-processing system. In Figure 27, the frames output by the preceding modules of the real-time video-processing system, such as frame 2702, are labeled Ix, Ix+\, . . . , /,+3, where Ix represents the current frame, Ix+\ represents the next frame following the current frame, in time order, and Ix.\ represents the preceding frame, in time, from the current frame. As discussed above, the motion- detection module carries out a motion-detection operation 2704 on the frame preceding the current frame 2706 and the current frame 2702 to produce the above- discussed factors, (O1 } , for each pixel (ij) in the current frame Ix 2702. The adaptive- temporal-processing module then uses these factors, ωl } , the current frame 2702, and the history frame 2708 to carry out a motion-induced-artifact-amelioration operation 2710 to produce the enhanced frame 2712 corresponding to the current frame 2702. The enhanced frames are output 2714 as a stream of processed video frames corresponding to the stream of video frames input to the real-time video-processing system. Note that enhanced frame Ex 2712 produced for a currently considered frame Ix 2702 is then copied into the H-frame buffer 2716 for use in the next motion-affect- amelioration operation carried out by the adaptive-temporal-processing module on the next frame Ix+ \ 2718. The process is therefore recursive, with the Η-frame buffer containing pixel values that potentially reflect the pixel values in all previously generated enhanced frames, although, in general, the depth of recursion is usually practically limited to several tens of frames, when no motion-induced artifacts are present, and to only a few frames when motion-induced artifacts are detected.
Figure 28 shows that the motion-induced-artifact-amelioration operation, employed in various embodiments of the present invention, is a neighborhood-based operation carried out on each pixel of the currently considered frame Ix 2804 according to a frame-traversal path 2802 identically followed in the currently considered frame Ix and in the history frame H 2806. As discussed, many different traversal paths are possible. Figure 29 illustrates the neighborhood-based operation carried out by the adaptive-temporal-processing module on a given pixel (ij) of a currently considered frame Ix. The value of the pixel (/,/) 2902 in the enhanced frame Ex 2904 corresponding to the currently considered frame Ix 2906, Ey, is equal to the factor ωt j , computed from the neighborhood n(ij,i) 2907, times the pixel value of pixel (ij) 2908 in the currently considered frame Ix plus X-(O1 1 times the corresponding value of pixel (ij) 2910 in the history frame 2912. In other words:
Thus, when a pixel value of pixel (ij) is not likely to have been influenced by motion, the value of the pixel (ij) in the H frame contributes most of the value for the pixel in the enhanced frame. However, when the value of pixel (ij) in the currently considered image Ix appears to have been strongly influenced by motion, the value for pixel (ij) in the current frame Ix contributes most of the value to the corresponding pixel of the enhanced frame. This method averages pixel values over a subset of time-ordered frames extending back in time from the current frame, when little or no motion is present, and beginning to a new subset of time-ordered frames, by truncating the recursion, when motion is detected.
As discussed above, the multi-scale denoising, sharpening, and contrast-enhancement module, motion-detection module, and adaptive-temporal- processing module may be implemented together as one embodiment of a processing module, or implemented in various combinations that together comprise a processing module. A processing module uses statistics computed by the measurement module, one embodiment of which is the above-discussed noise-and-contrast module, in order to carry out spatial and temporal processing of each frame in a video stream.
Control-Flow-Diagram Description Finally, Figures 30-33 provide control-flow diagrams for the real-time video-processing method of the present invention carried out by real-time video- processing systems that represent embodiments of the present invention. Figure 30 shows a high-level control-flow diagram for embodiments of the real-time video- processing method of the present invention. In step 3002, reception of a stream of video frames is initialized, the H-frame buffer (2604 in Figure 26) is initialized to be the first frame of the video stream, local variable n, which store the current frame number, is set to 0, and local variable "interval," which represents the interval between noise-and-contrast-module processing of frames, is set to an initial value, such as 20 or 30. Next, in the yόr-loop of steps 3004-3011, the frames of the input video stream are processed. When the remainder of division of the number n of the currently considered frame by the local variable "interval" is 0, as determined in step 3005, then the currently considered frame is processed by the noise-and-contrast module (804 in Figure 8) in step 3006 to produce the above-discussed statistical functions σn(L) and C(L), as well as an over-all estimate of the skew of pixel-value distributions q or a statistical function q(L), as discussed above with reference to Figures 9-11. Each frame is then processed by the multi-scale sharpening, enhancing, and denoising module (806 in Figure 8) in step 3007, the motion-detection module (808 in Figure 8), in step 3008, and the adaptive-temporal-processing module (810 in Figure 8), in step 3009, prior to output of the enhanced frame in step 3010 and incrementing of the frame number n. Figure 30 thus illustrates, in control-flow- diagram form, the overall real-time video-processing system shown in Figure 8.
Figure 31 provides a control-flow diagram of the noise-and-contrast module of a real-time video-processing system that represents one embodiment of the present invention. A next frame is received, in step 3102, and the received frame is partitioned into blocks. Then, in the^or-loop of steps 3104-3106, an average pixel value and sample variance is computed for each block. In step 3107, the blocks are partitioned by average pixel value, and each partition of blocks is ordered by sample variance, as illustrated in Figure 9. Then, in the ^/or-loop of steps 3108-3111, the various statistical parameters are estimated for each partition. Finally, in step 3112, the statistical functions σn(L) and C(L) are obtained by interpolation and smoothing of the pixel-value-associated statistical values computed in the^or-loop of steps 3108- 3111, and a skew value q is computed for the pixel-value distributions of each partition.
Figure 32 provides a control-flow diagram of the motion-detection module of a real-time video-processing system that represents an embodiment of the present invention. In step 3202, the next frame is received. In the^or-loop of steps 3204-3215, the ω(ι/ factor is computed, by neighborhood-based computation, for each pixel of the received frame. When the probability of motion greatly exceeds the probability of noise, as determined in step 3206, then the local variable "interval" may be adjusted downward, in step 3207, so that the motion can be better tracked by the noise-and-contrast module (804 in Figure 8). Thus, the local variable "interval" provides feedback from the motion-detection module to the noise-and-contrast module. Similarly, when the probability of noise greatly exceeds the probability of motion, as determined in step 3210, then the local variable "interval" may be increased, in step 3211, so that unnecessary computational overhead is not incurred by the noise-and-contrast module. Finally, Figure 33 provides a control-flow diagram for the adaptive- temporal-processing module of a video-processing system that represents one embodiment of the present invention. A next frame is received, in step 3302, and a buffer for the enhanced frame Ex produced from the currently considered frame Ix is initialized. Then, in the^br-loop of steps 3304-3306, pixel values for the enhanced frame EtJ are computed for each pixel (JJ) by the method discussed above with reference to Figures 26-29. Finally, in step 3308, the newly produced enhanced frame Ex is stored into the H-frame buffer for subsequent temporal processing operations.
The video frames input to a real-time video-processing system that represents an embodiment of the present invention are generally transmitted through an electronic communications medium and stored in memory buffers, and the corresponding enhanced video frames output by the real-time video-processing system are output to memory, to an electronic communications medium, or rendered for display by a digital-video-stream rendering system or device for display to one or more users of the digital-video-stream rendering system or device. The real-time video-processing system stores input video frames in memory, and processes video frames by accessing, operating, and storing the values of frame pixels in memory.
Although the present invention has been described in terms of particular embodiments, it is not intended that the invention be limited to these embodiments. Modifications within the spirit of the invention will be apparent to those skilled in the art. For example, a real-time video-processing system may be implemented in software, hardware, firmware, or some combination of software, hardware, and firmware for execution within a variety of different computer and device platforms. The real-time video-processing method of the present invention can be implemented in a large number of different ways by varying various implementation parameters, including modular organization, programming language, data structures, control structures, and other such parameters. Larger or smaller neighborhoods may be used in the neighborhood-based operations, and various techniques may be used to avoid recomputation of values for adjoining neighborhoods. As discussed above, all of the GPU-executed modules may be combined together, combined in two modules, or, alternatively, may be carried out in some larger number of modules. Many of the variables discussed above, including neighborhood size, threshold-determining constants, various other constants, intervals, and other such parameters may be varied for different applications or may vary during video processing, according to the content of video frames. The real-time video-processing system may be implemented as a set of instructions stored on one or more computer readable media that are executed by one or more CPUs and/or GPUs within a computer system.
The foregoing description, for purposes of explanation, used specific nomenclature to provide a thorough understanding of the invention. However, it will be apparent to one skilled in the art that the specific details are not required in order to practice the invention. The foregoing descriptions of specific embodiments of the present invention are presented for purpose of illustration and description. They are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments are shown and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents:

Claims

1. A video-processing system that receives an input stream of video frames and outputs a stream of enhanced frames for storage, transmission, and/or rendering for display, the realtime video-processing system comprising: an measurement module, executed on one or more central processing units of a computer system, that generates, from selected frames of the input stream of video frames, one or more functions of statistics with respect to pixel value; and a processing module, executing on one or more graphical processor units of a computer system, that employ the one or more functions of statistics with respect to pixel value, generated by the measurement module, to process each frame of the input stream of video frames, including denoising, sharpening, contrast enhancing, and deblurring each frame, in order to output the stream of enhanced frames.
2. The video-processing system of claim 1 wherein the measurement module selects frames from which to generate the one or more functions of statistics with respect to pixel value by one of: selecting each frame that occurs within the input stream of video frames at a fixed frame interval; selecting each frame that occurs within the input stream of video frames at a fixed time interval; selecting each frame that occurs within the input stream of video frames at a variable frame interval; and selecting each frame that occurs within the input stream of video frames at a variable time interval.
3. The video-processing system of claim 1 wherein the measurement module generates, from selected frames of the input stream of video frames, one or more functions of statistics with respect to pixel value by: generating blocks of pixels from the frame; computing an average pixel value and estimated sample variance for each block; partitioning the blocks into partitions, each partition associated with a different average pixel value; for each partition, removing outlier blocks based on estimated sample variances to produce a block partition without outlier blocks, computing a noise-related estimated variance and/or standard deviation from a number of blocks of the block partition without outlier blocks, the number of blocks having lowest estimated sample variances among the blocks of the block partition without outlier blocks, and computing a contrast-related variance from the blocks of the block partition without outlier blocks; computing a function of noise-related variance with respect to pixel value and/or a function of noise-related standard deviation with respect to pixel value; and computing a function of contrast-related variance with respect to pixel value.
4. The video-processing system of claim 1 wherein the processing module includes a multi-scale denoising, sharpening, and contrast-enhancement module that denoises, sharpens, and enhances the contrast of each input frame to generate a corresponding spatially-processed frame by: at each of one or more currently considered scales of resolution greater than a lowest resolution scale, downscaling either the input frame or an intermediate frame derived from the input frame to produce an intermediate frame for input to a next-lower resolution scale, upscaling an intermediate frame received from a lower-resolution scale to produce an intermediate frame for output to a next-higher-resolution scale, and robustly filtering at least one of the input frame or intermediate frames, using the function of noise-related variance with respect to pixel value or the function of noise- related standard deviation with respect to pixel value to compute noise-related thresholds.
5. The video-processing system of claim 4 wherein the processing module includes a motion-detection module and an adaptive-temporal-processing module.
6. The video-processing system of claim 5 wherein the motion-detection module generates a factor ω, } for each pixel in each spatially-processed frame generated by the multi- scale denoising, sharpening, and contrast-enhancement module by: in a neighborhood-based operation, considering each pixel (//) in the spatially- processed frame occurring at time / in the stream of video frames within neighborhood n(ij,t) by computing a magnitude of the difference between each pixel k in the neighborhood n(ij,t), n(ij,ήk, and a corresponding pixel k in the neighborhood n(ij,t-l)k of the spatially-processed frame occurring at time t-1 in the stream of video frames and immediately preceding the spatially-processed frame occurring at time t in the stream of video frames, computing, from the computed magnitudes between the corresponding pixels in neighborhood n(ij,t) and neighborhood n{ij,t-l), a probability that the value of pixel (//) is influenced by noise,
Figure imgf000040_0001
and a probability that the value of pixel (ij) is influenced by motion, Pmotιon, and p computing ωt } as proportional to the ratio "°'se
7. The video-processing system of claim 6 wherein the motion-detection module computes Pnoxse and PmoUOn as:
Figure imgf000040_0002
where
_/! and/2 are functions that compute the probability of a pixel-value difference being greater than the statistical-parameter-based thresholds qσ (L) and aC (L).
8. The video-processing system of claim 5 wherein the adaptive-temporal-processing module maintains a history frame H that represents a recursively generated history of previous enhanced frames output by the adaptive-temporal-processing module, the history frame defined as:
H= ± f{E,) where
E1 is the enhanced frame corresponding to the video frame at time / in the video steam; and /( ) is a function that returns a value for each pixel in an enhanced frame.
9. The video-processing system of claim 8 wherein the adaptive-temporal-processing module carries out temporal processing on each spatially-processed frame to produce a corresponding enhanced frame by: for each pixel (//) in the spatially processed frame, computing the value of the corresponding enhanced-frame pixel E1 j as
Figure imgf000041_0001
10. The video-processing system of claim 9 wherein, following computing a next enhanced frame Et corresponding to a spatially-processed frame occurring at time t in the input stream of video frames, the video-processing system replaces the current history frame H by the next enhanced frame Et.
11. The video-processing system of claim 5 wherein the motion-detection module generates a factor ωt } for each pixel in each spatially-processed frame generated by the multi- scale denoising, sharpening, and contrast-enhancement module by: in a neighborhood-based operation, considering each pixel (//) in the spatially- processed frame occurring at time / in the stream of video frames within neighborhood n{ij,t) by computing a magnitude of the difference between each pixel k in the neighborhood n(ij,t), n{ij,i)k, and a corresponding pixel k in the history H(ij,t-l)k calculated at time t-1 in the stream of video frames and immediately preceding the spatially-processed frame occurring at time / in the stream of video frames, computing, from the computed magnitudes between the corresponding pixels in neighborhood n(ij,t) and history H(iJ,t-l), a probability that the value of pixel (//) is influenced by noise, Pnoise, and a probability that the value of pixel (//) is influenced by motion, Pmotion, and p computing ω, } as proportional to the ratio """' . motion
12. The video-processing system of claim 11 wherein the motion-detection module computes Pnoise and Pmotion as:
Figure imgf000042_0001
pn,ol,on,J = ∑ k=\ f2 {(»(u,t)k -H(i>J><-ι)k)>aC(L)) where
/J and/2 are functions that compute the probability of a pixel-value difference being greater than the statistical-parameter-based thresholds qσ (L) and aC (L).
13. The video-processing system of claim 10 wherein the motion-detection module and the adaptive-temporal-processing module are one of: separate modules; and functionality within a single temporal-processing module.
14. The video-processing system of claim 10 wherein the multi-scale denoising, sharpening, and contrast-enhancement module is one of: a separate module; functionality within a single processing module.
15. 1. A method for enhancing an input stream of video frames, the method comprising: on one or more central-processing units of a computer system, generating, from selected frames of the input stream of video frames, one or more functions of statistics with respect to pixel value; and on one or more graphical processor units of the computer system, employing the one or more functions of statistics with respect to pixel value to process each frame of the input stream of video frames, including denoising, sharpening, contrast enhancing, and deblurring each frame, in order to output a stream of enhanced frames for storage, transmission, and/or rendering for display.
PCT/US2008/007671 2008-06-20 2008-06-20 Method and system for efficient video processing WO2009154596A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/US2008/007671 WO2009154596A1 (en) 2008-06-20 2008-06-20 Method and system for efficient video processing
US12/999,306 US20110091127A1 (en) 2008-06-20 2008-06-20 Method and system for efficient video processing
EP08768642.4A EP2294808B1 (en) 2008-06-20 2008-06-20 Method and system for efficient video processing
CN2008801308173A CN102132554A (en) 2008-06-20 2008-06-20 Method and system for efficient video processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/US2008/007671 WO2009154596A1 (en) 2008-06-20 2008-06-20 Method and system for efficient video processing

Publications (1)

Publication Number Publication Date
WO2009154596A1 true WO2009154596A1 (en) 2009-12-23

Family

ID=41434322

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2008/007671 WO2009154596A1 (en) 2008-06-20 2008-06-20 Method and system for efficient video processing

Country Status (4)

Country Link
US (1) US20110091127A1 (en)
EP (1) EP2294808B1 (en)
CN (1) CN102132554A (en)
WO (1) WO2009154596A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012100795A1 (en) * 2011-01-29 2012-08-02 Volkswagen Aktiengesellschaft Method for the operator control of a matrix touchscreen
US20220103785A1 (en) * 2020-04-24 2022-03-31 Meta Platforms, Inc. Dynamically modifying live video streams for participant devices in digital video rooms

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103632352B (en) * 2013-11-01 2017-04-26 华为技术有限公司 Method for time domain noise reduction of noise image and related device
CN103763460B (en) * 2014-01-20 2017-04-12 深圳市爱协生科技有限公司 Image sharpening method
US9697595B2 (en) 2014-11-26 2017-07-04 Adobe Systems Incorporated Content aware fill based on similar images
WO2016165112A1 (en) * 2015-04-16 2016-10-20 中国科学院自动化研究所 Video denoising system having contrast adaptation
WO2017015649A1 (en) * 2015-07-23 2017-01-26 Mireplica Technology, Llc Performance enhancement for two-dimensional array processor
CN105472205B (en) * 2015-11-18 2020-01-24 腾讯科技(深圳)有限公司 Real-time video noise reduction method and device in encoding process
CN105654436B (en) * 2015-12-24 2018-10-23 广东迅通科技股份有限公司 A kind of backlight image enhancing denoising method based on prospect background separation
US9641818B1 (en) * 2016-04-01 2017-05-02 Adobe Systems Incorporated Kinetic object removal from camera preview image
US10003758B2 (en) 2016-05-02 2018-06-19 Microsoft Technology Licensing, Llc Defective pixel value correction for digital raw image frames
CN107645621A (en) * 2016-07-20 2018-01-30 阿里巴巴集团控股有限公司 A kind of method and apparatus of Video processing
US11210769B2 (en) * 2019-05-03 2021-12-28 Amazon Technologies, Inc. Video enhancement using a recurrent image date of a neural network
US11216917B2 (en) * 2019-05-03 2022-01-04 Amazon Technologies, Inc. Video enhancement using a neural network
US11017506B2 (en) 2019-05-03 2021-05-25 Amazon Technologies, Inc. Video enhancement using a generator with filters of generative adversarial network
US11270415B2 (en) 2019-08-22 2022-03-08 Adobe Inc. Image inpainting with geometric and photometric transformations
CN111310591A (en) * 2020-01-20 2020-06-19 复旦大学 Multi-type sample data making device and method
CN113365101B (en) * 2020-03-05 2023-06-30 腾讯科技(深圳)有限公司 Method for multitasking video and related equipment
US11508143B2 (en) * 2020-04-03 2022-11-22 Disney Enterprises, Inc. Automated salience assessment of pixel anomalies
CN113706393A (en) * 2020-05-20 2021-11-26 武汉Tcl集团工业研究院有限公司 Video enhancement method, device, equipment and storage medium
US20230051066A1 (en) * 2021-07-27 2023-02-16 Lemon Inc. Partitioning Information In Neural Network-Based Video Coding
US11580623B1 (en) * 2022-03-10 2023-02-14 Freedom Scientific, Inc. High efficiency dynamic contrast processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010112745A (en) * 2000-06-15 2001-12-22 권수식 Manufacturing Method of Cold Rolled Steel Sheet having Good Degreasing Property for Automobile Use
KR20050013245A (en) * 2002-06-26 2005-02-03 코닌클리케 필립스 일렉트로닉스 엔.브이. An objective method and system for estimating perceived image and video sharpness
KR20070036433A (en) * 2005-09-29 2007-04-03 엘지전자 주식회사 Apparatus for removing image noise
KR20070040026A (en) * 2005-10-11 2007-04-16 (주) 넥스트칩 A method for removing noise in image using statistical information and a system thereof

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6285710B1 (en) * 1993-10-13 2001-09-04 Thomson Licensing S.A. Noise estimation and reduction apparatus for video signal processing
KR0181030B1 (en) * 1995-03-28 1999-05-01 배순훈 Apparatus for transmitting bitplane compressed by means of binary image
KR0181048B1 (en) * 1995-03-28 1999-05-01 배순훈 Apparatus for transmitting bitplane compressed by means of triangle block
US5949918A (en) * 1997-05-21 1999-09-07 Sarnoff Corporation Method and apparatus for performing image enhancement
US6141459A (en) * 1997-09-24 2000-10-31 Sarnoff Corporation Method and apparatus for processing image pyramid borders
US6650779B2 (en) * 1999-03-26 2003-11-18 Georgia Tech Research Corp. Method and apparatus for analyzing an image to detect and identify patterns
CA2309002A1 (en) * 2000-05-23 2001-11-23 Jonathan Martin Shekter Digital film grain reduction
ATE541065T1 (en) * 2004-03-12 2012-01-15 Univ Utrecht Holding Bv METHOD FOR PRODUCING THIN FILM AND DEVICES
KR20050095269A (en) * 2004-03-25 2005-09-29 평성인 Prefabricated Jjimjilbang using natural plants and far infrared rays
US20050225570A1 (en) * 2004-04-08 2005-10-13 Collins David C Generating and displaying spatially offset sub-frames
US7397964B2 (en) * 2004-06-24 2008-07-08 Apple Inc. Gaussian blur approximation suitable for GPU
US20060110128A1 (en) * 2004-11-24 2006-05-25 Dunton Randy R Image-keyed index for video program stored in personal video recorder
US7643699B2 (en) * 2005-07-05 2010-01-05 Hewlett-Packard Development Company, L.P. Image processing based on local noise statistics
US7519235B1 (en) * 2005-10-24 2009-04-14 Adobe Systems Incorporated Using nonlinear filtering while resizing an image to preserve sharp image detail
US7587099B2 (en) * 2006-01-27 2009-09-08 Microsoft Corporation Region-based image denoising
US20070257934A1 (en) * 2006-05-08 2007-11-08 David Doermann System and method for efficient enhancement to enable computer vision on mobile devices
US8818109B2 (en) * 2006-07-04 2014-08-26 Hewlett-Packard Development Company, L.P. Context-aware image processing
WO2008010375A1 (en) * 2006-07-20 2008-01-24 Hitachi Medical Corporation Ultrasonographic device
CN101170642B (en) * 2006-10-26 2010-08-18 深圳Tcl工业研究院有限公司 A dynamically video image processing method
CN100454972C (en) * 2006-12-28 2009-01-21 上海广电(集团)有限公司中央研究院 3D noise reduction method for video image
US8433155B2 (en) * 2006-12-28 2013-04-30 Texas Instruments Incorporated Gaussian noise rejection with directional variance capabilities for use in image processing
US7961972B2 (en) * 2007-05-01 2011-06-14 Intel Corporation Method and apparatus for short range motion adaptive noise reduction
US20090034870A1 (en) * 2007-07-31 2009-02-05 Renato Keshet Unified spatial image processing
US8417050B2 (en) * 2007-07-31 2013-04-09 Hewlett-Packard Development Company, L.P. Multi-scale robust sharpening and contrast enhancement
US8204291B2 (en) * 2007-10-15 2012-06-19 General Electric Company Method and system for identifying defects in a radiographic image of a scanned object

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010112745A (en) * 2000-06-15 2001-12-22 권수식 Manufacturing Method of Cold Rolled Steel Sheet having Good Degreasing Property for Automobile Use
KR20050013245A (en) * 2002-06-26 2005-02-03 코닌클리케 필립스 일렉트로닉스 엔.브이. An objective method and system for estimating perceived image and video sharpness
KR20070036433A (en) * 2005-09-29 2007-04-03 엘지전자 주식회사 Apparatus for removing image noise
KR20070040026A (en) * 2005-10-11 2007-04-16 (주) 넥스트칩 A method for removing noise in image using statistical information and a system thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2294808A4 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012100795A1 (en) * 2011-01-29 2012-08-02 Volkswagen Aktiengesellschaft Method for the operator control of a matrix touchscreen
CN103329083A (en) * 2011-01-29 2013-09-25 大众汽车有限公司 Method for the operator control of a matrix touchscreen
US9069428B2 (en) 2011-01-29 2015-06-30 Volkswagen Ag Method for the operator control of a matrix touchscreen
US20220103785A1 (en) * 2020-04-24 2022-03-31 Meta Platforms, Inc. Dynamically modifying live video streams for participant devices in digital video rooms
US11647156B2 (en) 2020-04-24 2023-05-09 Meta Platforms, Inc. Dynamically modifying live video streams for participant devices in digital video rooms
US11647155B2 (en) 2020-04-24 2023-05-09 Meta Platforms, Inc. Dynamically modifying live video streams for participant devices in digital video rooms

Also Published As

Publication number Publication date
EP2294808A4 (en) 2011-11-16
EP2294808B1 (en) 2013-05-01
US20110091127A1 (en) 2011-04-21
EP2294808A1 (en) 2011-03-16
CN102132554A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
EP2294808B1 (en) Method and system for efficient video processing
US8917948B2 (en) High-quality denoising of an image sequence
CN111275626B (en) Video deblurring method, device and equipment based on ambiguity
US8144253B2 (en) Multi-frame approach for image upscaling
Russell et al. Exploiting the sparse derivative prior for super-resolution and image demosaicing
US9615039B2 (en) Systems and methods for reducing noise in video streams
EP2489007B1 (en) Image deblurring using a spatial image prior
US8330827B2 (en) Increasing image resolution using combined differential image
EP2164040B1 (en) System and method for high quality image and video upscaling
US8457429B2 (en) Method and system for enhancing image signals and other signals to increase perception of depth
JPH06245113A (en) Equipment for improving picture still more by removing noise and other artifact
Xu et al. Attentive deep network for blind motion deblurring on dynamic scenes
US8731318B2 (en) Unified spatial image processing
Dong et al. Multi-scale residual low-pass filter network for image deblurring
Choi et al. Sharpness enhancement and super-resolution of around-view monitor images
Cao et al. Single image motion deblurring with reduced ringing effects using variational Bayesian estimation
US20090034870A1 (en) Unified spatial image processing
US7742660B2 (en) Scale-space self-similarity image processing
Ollion et al. Joint self-supervised blind denoising and noise estimation
Alshammri et al. Three-dimensional video super-resolution reconstruction scheme based on histogram matching and recursive Bayesian algorithms
Shen et al. Modified laplacian filter and intensity correction technique for image resolution enhancement
Gan Low complexity image/video super resolution using edge and nonlocal self-similarity constraint
Sarmadi et al. A new approach in single Image Super Resolution
Hu et al. Learning to predict decomposed dynamic filters for single image motion deblurring
Kim et al. Resolution enhancement of ROI from surveillance video using Bernstein interpolation

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200880130817.3

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08768642

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 12999306

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2008768642

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE