Title of Invention

"A METHOD FOR SIMULATING FILM GRAIN PATTERNS IN THE FREQUENCY DOMAIN"

Abstract Film grain patterns can be modeled in the frequency domain by estimating the cut frequencies that define a 2D band-pass filter. The film grain parameters can be conveyed in accordance with the ITU-T H.264 | MPEG-4 AVC standard in an SEI message allowing film grain reinsertion at a decoder.
Full Text TECHNICAL FIELD
This invention relates to a technique for modeling film grain patterns in the frequency domain.
BACKGROUND ART
Motion picture film typically contains signal-dependent noise, often referred to as film grain, resulting from the process of exposure and development of the photographic film. Such noise yields a characteristic quasi-random pattern or texture, caused by the physical granularity of the photographic emulsion. Alternatively, signal-dependent noise can occur as result of subsequent editing of the images. The grain pattern can be simulated for video compression purposes.
The ITU-T H.264 1MPEG-4 AVC video compression standard has accepted in its Fidelity Range Extensions Amendment the inclusion of a film grain SEI (Supplemental Enhancement Information) message. The film grain SEI message conveys a series of parameters allowing film grain simulation at the receiver. For the ITU-T H.264 I MPEG-4 AVC compression standard, parameters in the SEI message can be specified according to two different models: the auto-regressive model and the frequency-filtering model. Both models allow characterizing the film grain pattern (size and shape), intensity and color correlation through different sets of parameters for different intensity levels. In particular, the frequency-filtering model characterizes the film grain pattern by specifying a set of cut frequencies that


define a 2D band-pass filter in the frequency domain. Note that ITU-T H.2641MPEG-4 AVC only standardizes the syntax necessary to transmit the cut frequencies but does not provide a method for computing them for a video sequence with film grain.
Thus, there exists a need for a technique allowing the automatic modeling of the film grain pattern in the frequency domain as specified by the frequency-filtering model in ITU-T H.264 I MPEG-4 AVC compression standard. Results for this technique could be used either for automatic film grain modeling applications or as the initialization step for a film grain assisted-modeling process.
BRIEF SUMMARY OF THE INVENTION
Briefly, in accordance with a preferred embodiment, there is provided a method for modeling (i.e., characterizing) film grain patterns in the frequency domain. The method comprises the steps of (1) transforming an set of homogeneous film grain samples received as an input to the process to the frequency domain, thereby yielding a set of transform coefficients having a particular pattern; (2) analyzing the pattern created by the transformed coefficients; and (3) estimating the cut frequencies of a 2D frequency filter that can effectively simulate the pattern of transform coefficients by filtering random noise. The cut frequencies established by this method can be conveyed in an SEI message in accordance with the ITU-T H.2641 MPEG-4 AVC standard allowing film grain simulation and reinsertion at a decoder.
BRIEF DESCRIPTION OF THE DRAWINGS
FIGURE 1 depicts in flow chart form the steps of a method for characterizing film grain patterns in accordance with the present principles; and
FIGURE 2 depicts in flow chart form a variation of film grain characterization method of FIG. 1.


DETAILED DESCRIPTION
FIGURE 1 depicts in flow chart form the steps of a method in accordance with present principles for modeling a film grain pattern in the frequency domain upon receipt of a series of film grain samples representing a homogeneous film grain pattern. As discussed in greater detail hereinafter, the method of the present principles parameterizes the pattern of the input samples by analyzing the size and shape of the structures forming the grain. Because grain can form differently depending on film exposure, homogeneous film grain samples are typically those associated with similar-luminance values measured on the film image. Film grain samples at the input of the process could be any group (or groups) of neighboring pixels that retains information about the film grain size and shape. In the illustrated embodiment, we will assume for simplicity that the film grain samples are arranged in square blocks of NxN pixels with a particular transform implementation based on a DCT of squared blocks of NxN pixels, although other transforms, such as a Fast Fourier Transform work equally as well.
The method of the present principles assumes that modeling of the film grain present in Igrain[x, y, c] occurs in accordance with the relationship:
(Equation Removed)
where G[ x, y, c] represents the simulated grain at pixel coordinates (x, y) for color component c. G[ x, y, c ] is computed as:
(Equation Removed)
where the parameter p is the standard deviation of the random noise and the parameter u models the cross-color correlation among different color components. More particularly, the term Q[ c ] comprises a two-dimensional random field generated by filtering blocks b of N x M random values, which have been generated with a normalized Gaussian distribution N(0,1). In a particular embodiment, the band-pass filtering of blocks b can be performed in the frequency domain by the following three steps:

Step 1: Transform
B = DCT_N x M( b)
Step 2: Frequency filtering
for( y=0; y for( x= 0; x HIGH_HF II y > HIGH_VF) B[x,y] = 0;
where LOW_HF and LOW_VF are the low Horizontal and Vertical cut frequencies, respectively, and HIGH_HF and HIGH_VF are the high Horizontal and Vertical cut frequencies, respectively. The cut frequencies define the boundaries between preserved and filtered coefficients when a film grain image is mapped in the frequency domain and serve to characterize the size of the grain.
Step 3: Inverse Transform
(Equation Removed)
Finally, Q[ c ] is formed by combining the filtered blocks b' into a composite image. Low pass filtering of the block transitions will reduce possible "blockiness." Although M and N could take any value, in practice squared blocks of 16x16, 8x8 or 4x4 pixels work best. Note also that other transforms, such as the Fast Fourier Transform (FFT), could replace the DCT process in Steps 1 and 3.
By these principles, modeling the film grain patterns is equivalent to extracting the cut frequencies LOWJHF, LOW_VF, HIGH_HF and HIGH_VF that characterize the band-pass filter in the frequency domain.

The method of the present principles commences upon execution of step 101, in which each block of NxN pixels undergoes a Discrete Cosine Transform, with subsequent storage of the resulting arrays of NxN coefficients during step 102. During step 103, a check occurs to decide whether a need exists for more blocks with film gra in samples in order to obtain more coefficients for storage. Ordinarily, all blocks of film grain samples available at the input undergo a transform. However, to reduce memory requirements or computational load, processing could stop after a certain number of blocks have undergone a transform. Following storage of a sufficient number of transformed blocks, step 104 occurs, whereupon a mean block (Bmean) is computed by averaging the coefficients from all the stored blocks. Assuming K as the number of stored blocks, the averaging process for the coefficient at position [x,y] can be formulated as follows:
(Equation Removed)
Next, steps 105 and 106 occur typically in parallel. During step 105, a horizontal mean vector BH is computed by averaging the N frequency coefficients of each row of Bmean in accordance with the relationship:
(Equation Removed)
In a particular embodiment, it is possible to avoid the influence of the DC coefficient on the average of the first row with the relationship:
(Equation Removed)
During step 106, the vertical mean vector is computed by averaging the N frequency coefficients of each column of Bmean in accordance with the relationship:


(Equation Removed)
In a particular embodiment, it is possible to avoid the influence of the DC coefficient on the average of the first column with the relationship:
(Equation Removed)
From the frequency vectors, selection of the horizontal and vertical cut frequencies occurs during steps 107 and 108, respectively, to estimate the film grain size. As seen in FIG. 1, steps 107 and 108 typically occur in parallel. Horizontal cut-frequency selection during step 107 occurs in the following manner. First, the components in the horizontal mean vector undergo low-pass filtering to avoid spurious peaks. In the illustrated embodiment, such low pass filtering of the horizontal mean vector occurs by convolving the mean vector with a filter of impulse response h[n] in accordance with the relationship;
(Equation Removed)
For example, a 3-tap linear filter with coefficients w0, w1, and w2 could be applied to each coefficient in accordance with the relationship:
(Equation Removed)
Observe that in order to apply the filtering on the edges of the mean vector B it is necessary to pad the original mean vector so that the samples for n N-l are defined.
Next, the mean value of B'H is computed by averaging its components in accordance with the relationship:


(Equation Removed)
Thereafter, the vector B'H is represented as a curve, and its intersection points with the average value B'H are computed. If a single intersection point is found, the index n of the closest component in B'H is chosen as the value of the horizontal high cut frequency; the horizontal low cut frequency is assumed to be 0. If two intersection points are found, the indexes of the closest components are found for each one. The lowest value will correspond to the low horizontal cut frequency whereas the highest value will correspond to the high horizontal cut frequency. If more than two intersection points are found, no spatial correlation is detected. The horizontal low cut frequency is assumed to be 0, and the horizontal high cut frequency is assumed to be N-l, indicating to the film grain simulation function that no frequency filtering is required to imitate the original grain.
The same procedure described for selecting the horizontal cut frequency occurs during step 108 to select the vertical cut frequency using the vertical frequency vector By. At the completion of steps 107 and 108, the method of FIG. 1 yields four cut frequencies (LOW_HF, HIGH_HF, LOW_VF, HIGH_VF) that characterize both the size and the elongation of the grain. Elongated grain occurs when LOW_HF ≠ LOW_VF and/or HIGH_HF ≠ HIGH_VF.
FIGURE 2 illustrates an alternative grain modeling method, where it is possible to constrain the grain to circular shapes. This implies that the horizontal and vertical cut frequencies remain the same. The method of FIG. 2 contains many steps in common with the method of FIG. 1. Therefore, like reference numerals have been used in FIG. 2 as in FIG. 1 to describe like steps. The method of FIG. 2 differs from that of FIG. 1 in that, the vertical and horizontal frequency vectors (BH and Bv) are averaged during step 109 of FIG. 2 to create single frequency vector (B). Then, the same procedure is performed during steps 107 and 108 in FIG. 2 to estimate low and high cut frequencies as is performed during steps 107 and 108 of FIG. 1..
The foregoing describes a technique for modeling a film grain pattern in the frequency domain.









We Claim:
1. A method for simulating film grain patterns, comprising the steps of:
receiving by a receiver, a set of film grain samples;
performing a transform on the set of film grain samples, comprises of at least one group of neighboring pixels that retains information about film grain shape and size, to the frequency domain;
storing in a memory, each set of coefficients resulting from such transform, the coefficients forming a pattern;
processing by a processor, the pattern created by the transform coefficient; and
estimating the cut frequencies of a 2D band-pass filter that can stimulate the pattern of transform coefficients by filtering random noise in a frequency domain.
2. The method as claimed in claim 1, wherein the estimating step comprises the step of filtering random noise in a frequency domain.
3. The method as claimed in claim 1, comprising the step of transmitting by a transmitter, at least one cut frequency as Supplemental Information.
4. The method as claimed in claim 1, wherein the film grain samples are processed in blocks of NxN pixels.
5. The method as claimed in claim 4, wherein the step of processing the pattern created by the transform coefficients comprises the steps of:
computing a mean block of NxN transform coefficients by averaging the transform coefficients from all the stored blocks following a transformation of each N x N pixel block;
defining horizontal and vertical mean vectors of N components each by averaging the mean block of NxN coefficients along rows and columns, respectively;
representing the horizontal and vertical mean vectors as separate curves; and
establishing horizontal and vertical cut frequencies from the curves represented by the horizontal and vertical mean vectors, respectively.
6. The method as claimed in claim 5, comprising the step of low pass filtering at least one mean vector.
7. The method as claimed in claim 6, wherein one of the horizontal and vertical cut frequencies is established from an intersection point in the curve representing a corresponding one of the mean horizontal and vertical vectors, respectively.
8. The method as claimed in claim 5, wherein each of a low and a high horizontal and vertical cut frequencies is established from a first and second intersection points in the curve representing the mean horizontal and vertical vectors,
respectively.
9 The method as claimed in claim 6, wherein the step of processing the pattern
created by the transform coefficients comprises the steps of:
computing a mean block of NxN transform coefficients by averaging the transform coefficients from all the stored blocks following a transformation of each pixel block;
defining horizontal and vertical mean vectors of N components each by averaging the mean block of NxN transform coefficients along rows and columns, respectively;
averaging the horizontal and vertical mean vectors into a single mean vector;
representing the mean vectors as a curve; and
establishing horizontal and vertical cut frequencies from the curve represented by the mean vector.
10 The method as claimed in claim 9, comprising the step of low pass filtering
the mean vector.
11. The method as claimed in claim 9, wherein one of a horizontal and vertical cut
frequencies is established from an intersection point in the curve representing a
corresponding one of the mean horizontal and vertical vectors respectively.
12. The method as claimed in claim 10, wherein each of a low and a high
horizontal and vertical cut frequencies is established from a first and second
intersection points in the curve representing the mean horizontal and vertical vectors
respectively.

Documents:

1492-DELNP-2006-Abstract-(06-09-2010).pdf

1492-delnp-2006-abstract.pdf

1492-delnp-2006-assignment.pdf

1492-DELNP-2006-Claims-(01-02-2010).pdf

1492-DELNP-2006-Claims-(06-09-2010).pdf

1492-delnp-2006-claims.pdf

1492-delnp-2006-correspondence-1.pdf

1492-DELNP-2006-Correspondence-Others (01-02-2010).pdf

1492-DELNP-2006-Correspondence-Others-(06-09-2010).pdf

1492-delnp-2006-correspondence-others.pdf

1492-DELNP-2006-Description (Complete)-(01-02-2010).pdf

1492-delnp-2006-description (complete).pdf

1492-delnp-2006-drawings.pdf

1492-DELNP-2006-Form-1-(06-09-2010).pdf

1492-delnp-2006-form-1.pdf

1492-delnp-2006-form-18.pdf

1492-DELNP-2006-Form-2-(06-09-2010).pdf

1492-delnp-2006-form-2.pdf

1492-DELNP-2006-Form-26-(01-2-2010).pdf

1492-delnp-2006-form-26.pdf

1492-DELNP-2006-Form-3-(01-02-2010).pdf

1492-delnp-2006-form-3.pdf

1492-delnp-2006-form-5.pdf

1492-DELNP-2006-GPA-(06-09-2010).pdf

1492-delnp-2006-pct-101.pdf

1492-delnp-2006-pct-210.pdf

1492-delnp-2006-pct-220.pdf

1492-delnp-2006-pct-237.pdf

1492-delnp-2006-pct-304.pdf

1492-delnp-2006-pct-409.pdf

1492-delnp-2006-pct-416.pdf

abstract.jpg


Patent Number 243275
Indian Patent Application Number 1492/DELNP/2006
PG Journal Number 41/2010
Publication Date 08-Oct-2010
Grant Date 30-Sep-2010
Date of Filing 21-Mar-2006
Name of Patentee THOMSON LICENSING, a limited company organized under the laws of France and having its registered office at 46, Quai A. Le Gallo, F-92100 Boulogne-Billancourt, France
Applicant Address 46, QUAI A. LE GALLO, F-92100 BOULOGNE-BILLANCOURT, FRANCE,
Inventors:
# Inventor's Name Inventor's Address
1 GOMILA, CRISTINA 25C CHESTNUT COURT, PRINCETON, NJ 08540(US)
2 LLACH, JOAN 25C CHESTNUT COURT, PRINCETON, NJ 08540 (US)
PCT International Classification Number G06T 5/10
PCT International Application Number PCT/US2004/010789
PCT International Filing date 2004-04-07
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 60/498,945 2003-08-29 U.S.A.